/* Little Rock Winemaking — demo. Palette: grey, white, black, beige. */
:root {
  --white: #ffffff;
  --paper: #f4efe6;
  --sand: #e6dccb;
  --stone: #9a958d;
  --slate: #4a4844;
  --ink: #141414;
  --serif: "Libre Caslon Text", Georgia, serif;
  --sans: "Hanken Grotesk", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: 1228px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(42px, 7vw, 92px); letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 3.8vw, 46px); }
h3 { font-size: 24px; }
em { font-style: italic; }
section { padding: 120px 0; scroll-margin-top: 76px; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.head p:not(.eyebrow) { color: var(--slate); max-width: 46ch; }
.head h2 { margin-top: 14px; }

/* ---------- header ---------- */
header { position: fixed; inset: 0 0 auto; z-index: 20; color: var(--white);
         border-bottom: 1px solid rgba(255,255,255,.3); transition: background .3s, color .3s, border-color .3s; }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.05; }
.logo b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.logo small { display: block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .75; }
.logo .dark { display: none; }
header nav { display: flex; gap: 28px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
header nav a { text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
header nav a:hover { background-size: 100% 1px; }
header.solid { background: rgba(255,255,255,.78); color: var(--ink); border-bottom-color: rgba(20,20,20,.15);
               -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
header.solid .logo .light { display: none; }
header.solid .logo .dark { display: block; }
.menu-btn { display: none; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: var(--white); display: flex; align-items: flex-end; overflow: hidden; background: var(--slate); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,20,20,.5), rgba(20,20,20,0) 24%), linear-gradient(to top, rgba(20,20,20,.72), rgba(20,20,20,0) 58%); }
.hero-text { position: relative; z-index: 1; width: 100%; padding-bottom: 80px; }
.hero .eyebrow { color: var(--sand); }
.hero h1 { margin-top: 18px; max-width: 12ch; }
.hero .lede { max-width: 44ch; margin-top: 22px; font-size: 19px; color: var(--paper); }
.scroll { position: absolute; z-index: 1; right: 24px; bottom: 32px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--paper); }
.scroll span { display: inline-block; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }

/* ---------- intro ---------- */
.intro .wrap { display: grid; grid-template-columns: 480px 1fr; gap: 96px; align-items: center; }
.intro figure { position: relative; }
.intro figure::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--stone); z-index: -1; }
.intro .text p { font-family: var(--serif); font-size: 21px; line-height: 1.6; }
.intro .text p + p { margin-top: 22px; color: var(--slate); font-size: 18px; }
.intro .text .eyebrow { font-family: var(--sans); font-size: 12px; margin-bottom: 26px; color: var(--slate); }

/* ---------- services ---------- */
.services { background: var(--white); border-top: 1px solid var(--ink); }
.svc { display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: start; }
.svc-list { list-style: none; border-top: 1px solid var(--ink); counter-reset: s; }
.svc-item { border-bottom: 1px solid var(--sand); position: relative; }
.svc-item::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--ink); transition: width .6s var(--ease); }
.svc-item.active::before { width: 100%; }
.svc-row { width: 100%; text-align: left; display: grid; grid-template-columns: 56px 1fr 28px; gap: 12px; align-items: baseline; padding: 22px 0; }
.svc-row .n { font-family: var(--serif); color: var(--stone); font-size: 15px; transition: color .3s; }
.svc-row .t { font-family: var(--serif); font-size: 23px; line-height: 1.25; transition: transform .45s var(--ease); }
.svc-row .stage { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.svc-row .pm { justify-self: end; width: 14px; height: 14px; position: relative; align-self: center; }
.svc-row .pm::before, .svc-row .pm::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.svc-row .pm::after { transform: rotate(90deg); }
.svc-item.open .pm::after { transform: rotate(0); }
.svc-item.active .n { color: var(--ink); }
.svc-item.active .t { transform: translateX(8px); }
.svc-short { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.svc-short > p { overflow: hidden; padding-left: 68px; color: var(--slate); font-size: 15px; max-width: 58ch; }
.svc-item.active .svc-short, .svc-item.open .svc-short { grid-template-rows: 1fr; }
.svc-item.active .svc-short > p, .svc-item.open .svc-short > p { padding-bottom: 18px; }
.svc-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.svc-more > div { overflow: hidden; padding-left: 68px; }
.svc-more p { font-size: 15.5px; color: var(--ink); max-width: 62ch; }
.svc-more p + p { margin-top: 12px; }
.svc-item.open .svc-more { grid-template-rows: 1fr; }
.svc-item.open .svc-more > div { padding-bottom: 28px; }
.svc-hint { margin-top: 18px; font-size: 13px; color: var(--stone); }

.svc-media { position: sticky; top: 112px; }
.svc-frame { position: relative; width: 480px; height: 600px; overflow: hidden; background: var(--sand); }
.svc-frame img { position: absolute; inset: 0; width: 480px; height: 600px; opacity: 0; clip-path: inset(0 0 100% 0);
                 transition: opacity .5s, clip-path .8s var(--ease); }
.svc-frame img.on { opacity: 1; clip-path: inset(0 0 0 0); }
.svc-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ink); }
.svc-cap .count { font-family: var(--serif); font-size: 15px; white-space: nowrap; }
.svc-cap .stage { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); }

/* ---------- name band ---------- */
.rock { position: relative; color: var(--paper); text-align: center; padding: 150px 0; overflow: hidden; background: var(--ink); }
.rock picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: grayscale(1); }
.rock .wrap { position: relative; }
.rock .eyebrow { color: var(--sand); }
.rock .big { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 58px); line-height: 1.25; max-width: 22ch; margin: 26px auto; }
.rock .gr { font-style: italic; color: var(--sand); }

/* ---------- vineyards ---------- */
.vy { display: flex; gap: 8px; height: 560px; }
.vy-panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--slate); color: var(--white);
            transition: flex-grow .7s var(--ease); text-align: left; }
.vy-panel.open { flex-grow: 3; }
.vy-panel img { position: absolute; top: 0; left: 50%; width: 580px; max-width: none; height: 560px; transform: translateX(-50%); }
.vy-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,20,.78), rgba(20,20,20,.05) 55%); transition: background .5s; }
.vy-panel:not(.open)::after { background: rgba(20,20,20,.45); }
.vy-label { position: absolute; z-index: 1; left: 22px; bottom: 26px; writing-mode: vertical-rl; transform: rotate(180deg);
            font-family: var(--serif); font-size: 22px; white-space: nowrap; transition: opacity .3s; }
.vy-panel.open .vy-label { opacity: 0; }
.vy-cap { position: absolute; z-index: 1; left: 32px; right: 32px; bottom: 30px; opacity: 0; transform: translateY(14px);
          transition: opacity .4s .15s, transform .6s .15s var(--ease); width: 500px; max-width: calc(100% - 64px); }
.vy-panel.open .vy-cap { opacity: 1; transform: none; }
.vy-cap .eyebrow { color: var(--sand); }
.vy-cap h3 { font-size: 34px; margin: 8px 0 8px; }
.vy-cap p { font-size: 15px; color: var(--paper); max-width: 40ch; }
.vy-note { margin-top: 18px; font-size: 13px; color: var(--slate); }

/* ---------- about ---------- */
.about { background: var(--sand); }
.about figure img { width: 1180px; height: 640px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 56px; }
.person h3 { font-size: 32px; }
.person .role { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); margin: 6px 0 20px; }
.person p { font-size: 16px; }
.person p + p { margin-top: 14px; }
.person details { margin-top: 14px; }
.person summary { list-style: none; cursor: pointer; display: inline-block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.person summary::-webkit-details-marker { display: none; }
.person details[open] summary { margin-bottom: 14px; }
.person details[open] summary .open-t, .person details:not([open]) summary .close-t { display: none; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-bottom: 30px; }
.filters button { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0; color: var(--stone); border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.filters button sup { font-size: 10px; letter-spacing: 0; margin-left: 3px; }
.filters button[aria-pressed="true"], .filters button:hover { color: var(--ink); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(4, 280px); grid-auto-rows: 280px; gap: 20px; grid-auto-flow: dense; justify-content: center; }
.tile { position: relative; overflow: hidden; background: var(--sand); padding: 0; transition: opacity .4s, filter .4s; }
.tile.L { grid-column: span 2; } .tile.T { grid-row: span 2; } .tile.B { grid-column: span 2; grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile.hide { display: none; }
.tile.fade-in { animation: tileIn .6s var(--ease) both; }
@keyframes tileIn { from { opacity: 0; transform: translateY(12px); } }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: var(--white); text-align: left;
  font-family: var(--serif); font-size: 15px; background: linear-gradient(to top, rgba(20,20,20,.7), rgba(20,20,20,0));
  transform: translateY(100%); transition: transform .45s var(--ease); }
.tile:hover figcaption, .tile:focus-visible figcaption { transform: none; }
@media (hover: hover) { .grid:hover .tile:not(:hover) { opacity: .5; filter: grayscale(.8); } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 50; background: var(--ink); color: var(--paper); display: none;
      grid-template-rows: 1fr auto; align-items: center; justify-items: center; padding: 56px 72px 24px; }
.lb.on { display: grid; }
.lb img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; }
.lb .bar { display: flex; justify-content: space-between; gap: 24px; width: 100%; max-width: 1180px; padding-top: 18px; font-size: 14px; }
.lb .cap { font-family: var(--serif); font-size: 17px; }
.lb .cnt { color: var(--stone); letter-spacing: .1em; }
.lb button { position: absolute; color: var(--paper); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 12px; }
.lb .x { top: 12px; right: 16px; }
.lb .prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- contact ---------- */
.contact { border-top: 1px solid var(--ink); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact h2 { margin-top: 14px; }
.contact .lines { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.55; }
.contact .lines a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.contact .lines a:hover { background-size: 0 1px; transition: background-size .35s var(--ease); }
.contact p.small { margin-top: 20px; color: var(--slate); font-size: 15px; max-width: 42ch; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: var(--stone); padding: 72px 0 32px; font-size: 13px; }
footer a { color: var(--paper); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .logo { color: var(--paper); }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--slate); }
.foot-line { margin-top: 18px; max-width: 320px; font-family: var(--serif); font-size: 15px; }
.foot-nav { display: flex; flex-direction: column; gap: 8px; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.foot-contact { line-height: 1.9; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 12px; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 1227px) {
  .grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; }
  .tile.P { aspect-ratio: 1; } .tile.L { aspect-ratio: 2.07; } .tile.T { aspect-ratio: .483; } .tile.B { aspect-ratio: 1; }
  .about figure img { width: 100%; height: auto; }
}
@media (max-width: 1100px) {
  .svc { grid-template-columns: 1fr 380px; gap: 40px; }
  .svc-frame, .svc-frame img { width: 380px; height: 475px; }
  .intro .wrap { grid-template-columns: 380px 1fr; gap: 64px; }
}
@media (max-width: 860px) {
  section { padding: 76px 0; }
  .wrap { padding: 0 16px; }
  .menu-btn { display: block; }
  .scroll { display: none; }
  .hero-text { padding-bottom: 56px; }
  header nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--ink); padding: 8px 16px 16px; }
  header nav a { padding: 12px 0; border-bottom: 1px solid var(--sand); }
  header.menu nav { display: flex; }
  header.menu { background: var(--paper); color: var(--ink); }
  header.menu .logo .light { display: none; } header.menu .logo .dark { display: block; }
  .head, .intro .wrap, .people, .contact .wrap { grid-template-columns: 1fr; gap: 28px; }
  .intro figure { max-width: 480px; }
  .intro figure::before { inset: 14px -14px -14px 14px; }
  .svc { grid-template-columns: 1fr; }
  .svc-media { display: none; }
  .svc-short, .svc-item.active .svc-short { grid-template-rows: 1fr; }
  .svc-short > p { padding-bottom: 18px; }
  .svc-short > p, .svc-more > div { padding-left: 0; }
  .svc-row { grid-template-columns: 40px 1fr 20px; }
  .svc-item.active .t { transform: none; }
  .vy { flex-direction: column; height: auto; }
  .vy-panel, .vy-panel.open { flex: none; height: 300px; }
  .vy-panel img { width: 100%; height: 100%; object-fit: cover; }
  .vy-panel::after { background: linear-gradient(to top, rgba(20,20,20,.78), rgba(20,20,20,.05) 60%) !important; }
  .vy-label { display: none; }
  .vy-cap { opacity: 1; transform: none; left: 20px; bottom: 20px; max-width: calc(100% - 40px); }
  .vy-cap h3 { font-size: 26px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile.T { aspect-ratio: .49; }
  .tile figcaption { transform: none; font-size: 13px; padding: 24px 10px 8px; }
  .foot-top { grid-template-columns: 1fr; }
  .lb { padding: 56px 8px 16px; }
  .lb .prev, .lb .next { top: auto; bottom: 8px; transform: none; }
  .lb .bar { padding: 14px 70px 0; flex-direction: column; gap: 4px; text-align: center; }
  .rock { padding: 100px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
