
:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: rgba(17,17,17,0.70);
  --hairline: rgba(17,17,17,0.12);
  --accent: #111111;
  --max: 1040px;
  --pad: clamp(18px,4vw,40px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-family: 'Julius Sans One', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

nav a, .text-link {
  color: var(--text);
  text-decoration: none;
  opacity: 0.82;
}

nav a:hover, .text-link:hover {
  opacity: 1;
  text-decoration: underline;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px,7vw,78px) var(--pad);
}

h1 {
  font-family: 'Julius Sans One', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(30px,5vw,56px);
  line-height: 1.08;
  margin: 0 0 20px;
}

h2 {
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.lede {
  font-size: clamp(17px,2vw,21px);
  line-height: 1.65;
  max-width: 72ch;
  color: var(--muted);
  margin: 0 0 42px;
}

.prose { max-width: 74ch; }

.prose p {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(17,17,17,0.86);
  margin: 0 0 22px;
}

/* Home */
.hero-home {
  min-height: calc(100svh - 55px);
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(rgba(0,0,0,0.50), rgba(0,0,0,0.50)),
    url('hearth_bg.jpg') center / cover no-repeat;
  color: #fff;
}

.hero-home .inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px,9vw,110px) var(--pad);
}

.hero-home h1 {
  font-size: clamp(38px,7vw,76px);
  max-width: 14ch;
}

.hero-home p {
  font-size: clamp(17px,2vw,22px);
  line-height: 1.65;
  max-width: 58ch;
  margin: 0 0 24px;
}

.hero-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-links a {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 14px;
}

/* Wine pages */
.two-col {
  display: grid;
  grid-template-columns: minmax(180px,260px) 1fr;
  gap: clamp(34px,7vw,82px);
  align-items: start;
}

.wine-head { margin-bottom: 34px; }

.wine-title {
  font-family: 'Julius Sans One', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(20px,2.2vw,30px);
  margin: 0;
}

.wine-subtitle {
  font-family: 'Julius Sans One', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(12px,1.4vw,16px);
  margin: 10px 0 0;
}

.label img {
  width: 100%;
  height: auto;
  display: block;
}

.section { margin: 0 0 26px; }

.section p, .meta {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(17,17,17,0.86);
}

.section p { margin: 0; }
.meta { margin-top: 10px; }
.meta b { font-weight: 600; }

.wine-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.wine-card {
  background: #fff;
  padding: 28px;
  text-decoration: none;
  color: var(--text);
  min-height: 180px;
}

.wine-card:hover { background: #fafafa; }

.wine-card .year {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.wine-card h2 {
  font-family: 'Julius Sans One', sans-serif;
  font-size: 22px;
  margin: 12px 0 8px;
}

.wine-card p {
  line-height: 1.6;
  color: var(--muted);
}

/* Vineyard page */
.vineyard-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(24px,6vw,70px);
  padding: 34px 0;
  border-top: 1px solid var(--hairline);
}

.vineyard-section h2 {
  font-family: 'Julius Sans One', sans-serif;
  font-size: 19px;
  line-height: 1.4;
}

.vineyard-section p {
  margin: 0 0 14px;
  line-height: 1.8;
  color: rgba(17,17,17,0.84);
}

/* Join form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full { grid-column: 1 / -1; }

label {
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  padding: 13px 12px;
  border: 1px solid rgba(17,17,17,0.25);
  background: #fff;
  font: inherit;
  border-radius: 0;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px 18px;
}

.check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.check input {
  width: auto;
  margin-top: 3px;
}

.check label {
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

button {
  padding: 13px 18px;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  font: 600 13px Inter, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}

button:hover {
  background: #fff;
  color: #111;
}

/* Footer */
footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 40px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

footer a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.78;
}

footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-copy, .note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

/* Age gate */
.age-gate[hidden] { display: none; }

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.62);
  display: grid;
  place-items: center;
  padding: 22px;
}

.age-dialog {
  width: min(92vw,520px);
  background: #fff;
  padding: clamp(30px,6vw,54px);
  text-align: center;
  box-shadow: 0 18px 70px rgba(0,0,0,0.22);
}

.age-dialog h2 {
  font-family: 'Julius Sans One', sans-serif;
  font-size: clamp(24px,4vw,36px);
  letter-spacing: 0.16em;
  margin: 0 0 18px;
}

.age-dialog p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 24px;
}

.age-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.age-actions button, .age-actions a {
  min-width: 150px;
  padding: 13px 18px;
  border: 1px solid #111;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font: 600 13px Inter, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.age-actions button { background: #111; color: #fff; }
.age-actions a { background: #fff; color: #111; }

/* Privacy / policy */
.privacy-at-collection {
  padding-top: 16px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

.privacy-at-collection a { color: var(--text); }

.policy { max-width: 800px; }
.policy h2 { margin-top: 34px; }

.policy p, .policy li {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(17,17,17,0.84);
}

.policy ul { padding-left: 20px; }

.exit {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
}

/* Mobile */
@media (max-width: 760px) {
  .two-col, .vineyard-section { grid-template-columns: 1fr; }
  .two-col .label { max-width: 220px; }
  .wine-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .checks { grid-template-columns: 1fr; }
  .header-inner { align-items: flex-start; flex-direction: column; }
}

/* Vineyard page — inline editorial photographs */
.vineyard-copy::after {
  content: "";
  display: table;
  clear: both;
}

.vineyard-photo {
  width: min(44%, 320px);
  height: 220px;
  margin: 4px 0 22px 30px;
  overflow: hidden;
}

.vineyard-photo-right {
  float: right;
}

.vineyard-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width:680px) {
  .vineyard-photo,
  .vineyard-photo-right {
    float: none;
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 3 / 2;
    margin: 6px 0 24px;
  }
}

/* Preserve the vineyard at Helena Vista; crop excess sky first. */
.helena-vista-photo img {
  object-position: center bottom;
}

/* Our Story — inline editorial photograph */
.story-photo-inline {
  float: right;
  width: min(42%, 340px);
  margin: 6px 0 24px 32px;
}

.story-photo-inline img {
  width: 100%;
  height: auto;
  display: block;
}

/* Clear the float at the end of the story text */
.prose::after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 680px) {
  .story-photo-inline {
    float: none;
    width: 100%;
    max-width: 420px;
    margin: 28px 0;
  }
}


/* Mobile vineyard image sizing — final override */
@media (max-width: 680px) {
  .vineyard-section .vineyard-photo,
  .vineyard-section .vineyard-photo.vineyard-photo-right {
    float: right;
    width: 42%;
    max-width: 180px;
    height: auto;
    aspect-ratio: 3 / 2;
    margin: 4px 0 16px 18px;
  }

  .vineyard-section .vineyard-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .vineyard-section .helena-vista-photo img {
    object-position: center bottom;
  }
}

@media (max-width: 420px) {
  .vineyard-section .vineyard-photo,
  .vineyard-section .vineyard-photo.vineyard-photo-right {
    width: 44%;
    max-width: 150px;
    margin-left: 14px;
  }
}

/* Vineyard mobile hard-fix */
@media screen and (max-width: 680px) {
  .vineyard-section .vineyard-copy .vineyard-photo {
    float: right !important;
    width: 150px !important;
    max-width: 38vw !important;
    height: 112px !important;
    aspect-ratio: auto !important;
    margin: 3px 0 14px 16px !important;
    overflow: hidden !important;
  }

  .vineyard-section .vineyard-copy .vineyard-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .vineyard-section .vineyard-copy .helena-vista-photo img {
    object-position: center bottom !important;
  }
}

@media screen and (max-width: 400px) {
  .vineyard-section .vineyard-copy .vineyard-photo {
    width: 125px !important;
    max-width: 36vw !important;
    height: 94px !important;
    margin-left: 12px !important;
  }
}

.wine-price{margin-top:12px;font-family:'Julius Sans One',sans-serif;font-size:16px;letter-spacing:.08em;text-transform:uppercase;}
