/* Thesis: the working event book of a well-run wine estate. */
:root {
  /* Ink */ --ink: #173629; --ink-soft: #355248; --ink-mute: #53645a; --ink-deep: #10291f;
  /* Accent */ --accent: #b68a45; --accent-deep: #80602e; --accent-wash: #efe6d5;
  /* Paper */ --paper: #f5f1ea; --paper-2: #e8e2d8; --paper-hi: #fffcf5;
  /* Lines */ --hair-dark: #17362940; --hair-light: #f5f1ea40;
  /* On dark */ --on-dark: #f5f1ea; --on-dark-soft: #e2e2d3; --on-dark-mute: #bccbc1;
  /* Type */ --display: 'Newsreader', Georgia, serif; --sans: 'Public Sans', Arial, sans-serif;
  /* Rhythm */ --shell: 1304px; --gutter: 112px; --section-y: clamp(80px, 9vw, 144px); --header-h: 104px;
  /* Motion */ --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.shell { width: min(var(--shell), calc(100% - var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 16px; transform: translateY(-180%); background: var(--paper-hi); padding: 12px 20px; z-index: 100; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 6px; }
::selection { color: var(--ink-deep); background: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.06; letter-spacing: -.02em; }
h2 { font-size: clamp(42px, 4.5vw, 67px); }
em { font-weight: 400; }
p + p { margin-top: 22px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 26px; border: 1px solid var(--accent); background: var(--accent); color: var(--ink-deep); padding: 17px 22px; font-size: 14px; font-weight: 500; line-height: 1.4; transition: background .2s, border-color .2s; }
.button:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--paper-hi); }
.button span { font-size: 23px; line-height: 1; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.shot .reveal { opacity: 1; transform: none; transition: none; }
/* ================= MASTHEAD ================= */
.masthead { position: sticky; top: 0; z-index: 20; background: var(--paper); transition: box-shadow .25s; }
.masthead.is-scrolled { box-shadow: 0 1px 0 var(--hair-dark); }
.masthead-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--hair-dark); }
.brand img { width: 181px; height: auto; }
.masthead nav { display: flex; gap: 38px; align-items: center; font-size: 14px; }
.masthead nav a { padding-block: 12px; }
.masthead nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.masthead nav a:last-child { border-bottom: 1px solid var(--ink); padding-block: 8px; }
.masthead nav span { margin-left: 20px; }
.menu-toggle { display: none; }
/* ================= HERO / EVENT FOLIO ================= */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 8%; padding-block: 68px 83px; }
/* Full-bleed backdrop: vineyard photo under a paper wash (heaviest behind the headline), plus a fine grain. */
.hero::before, .hero::after { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none; }
.hero::before { background: linear-gradient(180deg, var(--paper) 0%, #f5f1ea00 16%, #f5f1ea00 78%, var(--paper) 100%), linear-gradient(90deg, #f5f1eaf2 0%, #f5f1eae6 42%, #f5f1eab8 100%), url(assets/winery_hero.webp) center 62% / cover no-repeat; }
.hero::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .21 0 0 0 0 .16 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: .22; }
h1 { font-size: clamp(70px, 7.55vw, 112px); line-height: 1; letter-spacing: -.03em; }
h1 em { color: var(--accent-deep); }
.hero-intro { margin-top: 32px; max-width: 600px; }
.hero-intro p { font-size: 17px; line-height: 1.7; }
.hero .button { margin-top: 28px; }
.folio { position: relative; padding-top: 70px; transform: rotate(1.5deg); }
.js .folio.is-in { transform: rotate(1.5deg); }
.folio-stacked { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; padding: 9px 16px; font-size: 11px; color: var(--ink-mute); background: var(--paper-2); border: 1px solid #cac3b7; }
.folio-stacked-2 { top: 0; transform: rotate(-2deg); left: 22px; right: 4px; box-shadow: 0 10px 24px -18px #10291f59; }
.folio-stacked-1 { top: 36px; transform: rotate(.8deg); background: #efeae1; left: 8px; right: 14px; box-shadow: 0 10px 24px -18px #10291f59; }
.folio-stacked span:first-child { color: var(--ink); }
.folio-sheet { position: relative; padding: 22px 22px 18px; background: var(--paper-2); border: 1px solid #cac3b7; box-shadow: 0 28px 50px -34px #10291f80; }
.folio-heading { display: flex; gap: 12px; align-items: center; padding-bottom: 20px; font-size: 15px; }
.folio-heading img { width: 29px; height: 29px; }
.folio-page { position: relative; padding: 22px 26px; }
.folio-inquiry { background: var(--paper-hi); margin-right: 27px; padding-top: 30px; }
.folio-page h2 { font-size: clamp(28px, 2.6vw, 39px); letter-spacing: -.025em; }
.folio-page p { font-size: 13px; line-height: 1.65; margin-top: 12px; }
.folio-tab { position: absolute; top: 0; right: 0; font-size: 12px; padding: 5px 11px; background: var(--ink); color: var(--on-dark); }
.folio-line { display: flex; justify-content: space-between; align-items: center; font-size: 11px; margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--hair-dark); }
.folio-line span:last-child { font-size: 20px; }
.folio-planning { margin: -2px 0 0 28px; background: #ddd5c7; padding-top: 32px; }
.folio-planning .folio-tab { background: var(--accent); color: var(--ink-deep); }
.folio-arrow { position: absolute; right: 27px; bottom: 13px; font-size: 26px; }
.folio-day { background: var(--ink); color: var(--on-dark); margin: -1px 14px 0 0; padding-top: 39px; }
.folio-day .folio-tab { background: var(--ink-deep); }
.folio-day h2 { font-style: italic; }
.folio-day p { color: var(--on-dark-soft); margin-top: 7px; }
.folio figcaption { font-size: 11px; margin-top: 14px; color: var(--ink-soft); }
/* ================= WHY OAKLANE ================= */
.about { background: var(--ink); color: var(--on-dark); padding-block: var(--section-y); }
.about-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12%; align-items: center; }
.about h2 { font-size: clamp(45px, 5vw, 72px); }
.about h2 em { color: var(--on-dark-mute); }
.about-copy { max-width: 465px; color: var(--on-dark-soft); }
.about-copy .lead { font-size: 23px; color: var(--on-dark); line-height: 1.45; letter-spacing: -.02em; }
/* ================= ONE BEO, TWO VIEWS ================= */
.approach { padding-block: var(--section-y); }
.approach-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.approach-heading > p { max-width: 225px; color: var(--ink-soft); padding-bottom: 5px; }
.split { display: grid; grid-template-columns: 1fr 1.55fr 1fr; gap: 48px; align-items: start; margin-top: 70px; }
.stage { display: block; font-size: 14px; color: var(--accent-deep); margin-bottom: 24px; }
.split-side { padding-top: 22px; border-top: 3px solid var(--accent); }
.split-boh { border-top-color: var(--ink); }
.split-boh .stage { color: var(--ink-soft); }
.split h3 { font-size: clamp(30px, 2.6vw, 40px); }
.split-side > p { margin-top: 22px; color: var(--ink-soft); }
.split-side > .split-key { font-size: 13px; color: var(--ink-mute); padding-top: 14px; border-top: 1px solid var(--hair-dark); }
.beo-views { display: none; }
.js .beo-views { display: flex; margin-bottom: 16px; }
.beo-views button { flex: 1; height: 40px; border: 1px solid var(--hair-dark); background: transparent; color: var(--ink-soft); font-size: 13px; padding: 0 10px; transition: background .2s, color .2s, border-color .2s; }
.beo-views button:hover { background: var(--paper-2); }
.beo-view-sales { border-left: 3px solid var(--accent); }
.beo-view-boh { margin-left: -1px; border-right: 3px solid var(--ink); }
.beo-views button[aria-pressed="true"] { position: relative; z-index: 1; background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.beo-views .beo-view-sales[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink-deep); }
.beo-sheet { background: var(--paper-hi); border: 1px solid #cac3b7; padding: 24px 28px 10px; box-shadow: 0 18px 40px -28px #10291f59; }
.beo-head { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.beo-title { font-family: var(--display); font-size: 30px; line-height: 1.1; letter-spacing: -.015em; margin-top: 18px; }
.beo-date { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.beo-rows { list-style: none; margin: 16px 0 0; padding: 0; }
.beo-rows li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 9px 0; border-top: 1px solid var(--hair-dark); font-size: 13.5px; line-height: 1.5; transition: opacity .25s; }
.beo-rows li > span:first-child { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); padding-top: 2px; }
.beo-rows li[data-for~="sales"]::before, .beo-rows li[data-for~="boh"]::after { content: ""; position: absolute; top: 7px; bottom: 7px; width: 4px; }
.beo-rows li[data-for~="sales"]::before { left: -28px; background: var(--accent); }
.beo-rows li[data-for~="boh"]::after { right: -28px; background: var(--ink); }
.beo-sheet[data-view="sales"] li:not([data-for~="sales"]), .beo-sheet[data-view="boh"] li:not([data-for~="boh"]) { opacity: .22; }
/* Detail cards: each team's extra detail slides out from its rows into the space below that team's column copy. */
.beo-more { position: absolute; top: 2px; z-index: 2; width: calc(64.5% + 36px); display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; font-size: 13px; line-height: 1.45; opacity: 0; visibility: hidden; transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
.beo-more b { font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
.beo-more::after { content: ""; position: absolute; top: 20px; width: 48px; height: 1px; }
.beo-more-sales { right: calc(100% + 76px); transform: translateX(24px); background: var(--accent-wash); color: var(--ink); border-left: 3px solid var(--accent); }
.beo-more-sales b { color: var(--accent-deep); }
.beo-more-sales::after { left: 100%; background: var(--accent); }
.beo-more-boh { left: calc(100% + 76px); transform: translateX(-24px); background: var(--ink); color: var(--on-dark); border-right: 3px solid var(--accent); }
.beo-more-boh b { color: var(--on-dark-mute); }
.beo-more-boh::after { right: 100%; background: var(--ink); }
.beo-sheet[data-view="sales"] .beo-more-sales, .beo-sheet[data-view="boh"] .beo-more-boh { opacity: 1; visibility: visible; transform: none; }
.beo-key { display: flex; gap: 18px; margin-top: 16px; font-size: 13px; }
.beo-caption { font-size: 13px; color: var(--ink-mute); margin-top: 6px; }
.beo-legend { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); }
.beo-legend::before { content: ""; width: 4px; height: 14px; background: var(--accent); }
.beo-legend-boh::before { background: var(--ink); }
/* ================= PURPOSE ================= */
.statement { background: linear-gradient(90deg, #10291ff7 0%, #10291feb 55%, #10291ff2 100%), url(assets/event_bkg.webp) center 40% / cover no-repeat, var(--ink-deep); color: var(--on-dark); padding-block: 96px 104px; }
.statement-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; }
.statement-line { font-family: var(--display); font-size: clamp(42px, 4vw, 58px); line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.statement em { color: var(--on-dark-mute); }
.swaps-head, .swaps dl > div { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.swaps-head { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-mute); padding-bottom: 12px; }
.swaps-head span:last-child { color: var(--accent); }
.swaps dl { margin: 0; }
.swaps dl > div { padding: 15px 0; border-top: 1px solid var(--hair-light); font-size: 15px; line-height: 1.5; }
.swaps dt { color: var(--on-dark-mute); }
.swaps dd { position: relative; margin: 0; color: var(--on-dark); }
.swaps dd::before { content: "→"; position: absolute; left: -22px; color: var(--accent); }
/* ================= DEMO REQUEST ================= */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 11%; padding-block: var(--section-y); align-items: start; }
.contact h2 { max-width: 490px; }
.contact-copy > p { margin-top: 32px; max-width: 375px; color: var(--ink-soft); }
.email-link { display: inline-block; margin-top: 28px; border-bottom: 1px solid var(--accent); color: var(--accent-deep); }
.demo-form { border-top: 2px solid var(--ink); padding-top: 28px; }
.demo-form h3 { font-family: var(--sans); font-size: 24px; letter-spacing: -.025em; }
.form-note { font-size: 12px; color: var(--ink-mute); line-height: 1.6; margin-top: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-top: 25px; }
label { display: block; font-size: 14px; margin-bottom: 8px; }
label span { color: var(--ink-mute); font-size: 12px; }
input, textarea { width: 100%; min-width: 0; border: 1px solid #8b9587; border-radius: 0; padding: 12px; color: var(--ink); background: transparent; font-size: 16px; }
textarea { resize: vertical; min-height: 112px; }
textarea::placeholder { color: var(--ink-mute); font-size: 14px; }
input:focus, textarea:focus { background: var(--paper-hi); }
.demo-form .button { width: 100%; margin-top: 24px; }
.form-status { font-size: 14px; }
.form-status:empty { display: none; }
/* ================= FOOTER ================= */
.footer { background: var(--ink); color: var(--on-dark); }
.footer-inner { min-height: 142px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer img { width: 162px; height: auto; }
.footer p { font-size: 14px; color: var(--on-dark-soft); }
.footer small { font-size: 12px; color: var(--on-dark-mute); }
.footer :focus-visible { outline-color: var(--on-dark); }
/* ================= NOT FOUND ================= */
.error-page { min-height: 100vh; display: flex; flex-direction: column; }
.error-header { display: flex; justify-content: space-between; align-items: center; padding-block: 25px; }
.error-header img { width: 180px; height: auto; }
.error-main { flex: 1; padding-block: 80px; }
.error-main h1 { font-size: clamp(48px, 6vw, 90px); margin-block: 25px; }
.error-main .button { margin-top: 28px; }
.error-footer { padding-block: 30px; }
/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  :root { --gutter: 64px; --header-h: 88px; }
  .masthead nav { gap: 22px; font-size: 13px; }
  .hero { gap: 5%; padding-top: 50px; }
  h1 { font-size: clamp(60px, 8vw, 80px); }
  .hero-intro p { font-size: 16px; }
  .folio { padding-top: 66px; }
  .folio-sheet { padding: 16px 14px 14px; }
  .folio-page { padding-inline: 18px; }
  .folio-inquiry { margin-right: 12px; }
  .folio-planning { margin-left: 12px; }
  .folio-line { font-size: 10px; }
  .about-inner { gap: 7%; }
  .split { grid-template-columns: 1fr 1fr; grid-template-areas: "beo beo" "sales boh"; gap: 44px 40px; }
  .split .beo { grid-area: beo; max-width: 640px; width: 100%; justify-self: center; }
  .split-sales { grid-area: sales; }
  .split-boh { grid-area: boh; }
  .beo-more { position: static; grid-column: 1 / -1; width: auto; display: none; margin-top: 6px; transform: none; }
  .beo-more::after { display: none; }
  .beo-sheet[data-view="sales"] .beo-more-sales, .beo-sheet[data-view="boh"] .beo-more-boh { display: flex; }
  .contact { gap: 7%; }
  .statement-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 680px) {
  :root { --gutter: 40px; --header-h: 80px; --section-y: 72px; }
  .brand img { width: 159px; }
  .masthead-inner { flex-wrap: wrap; height: auto; min-height: var(--header-h); }
  .masthead nav { width: 100%; flex-wrap: wrap; gap: 12px 22px; padding-bottom: 15px; }
  .js .menu-toggle { display: flex; gap: 15px; align-items: center; border: 0; background: transparent; padding: 12px 0 12px 12px; color: var(--ink); font-size: 14px; }
  .menu-toggle span { font-size: 23px; }
  .js .masthead nav { display: none; }
  .js .masthead nav.is-open { display: flex; position: fixed; inset: var(--header-h) 0 0; width: 100%; background: var(--paper); padding: 40px 25px; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 22px; font-size: 23px; overflow-y: auto; }
  body.menu-open { overflow: hidden; }
  .hero { grid-template-columns: 1fr; gap: 52px; padding-block: 40px 65px; }
  h1 { font-size: clamp(66px, 16vw, 105px); }
  .hero-intro { margin-top: 26px; max-width: 410px; }
  .hero .button { margin-top: 23px; }
  .folio { width: 94%; max-width: 430px; margin-inline: auto; padding-top: 64px; }
  .folio-stacked { font-size: 10px; }
  .folio-page { padding-inline: 23px; }
  .folio-page h2 { font-size: 36px; }
  .folio-inquiry { margin-right: 25px; }
  .folio-planning { margin-left: 25px; }
  .folio-line { font-size: 11px; }
  .about-inner, .contact { grid-template-columns: 1fr; gap: 38px; }
  .about h2 { font-size: 49px; }
  .about-copy .lead { font-size: 21px; }
  .approach-heading { display: block; }
  .approach-heading > p { margin-top: 24px; max-width: 280px; }
  .split { grid-template-columns: 1fr; grid-template-areas: "beo" "sales" "boh"; margin-top: 40px; }
  .beo-sheet { padding: 20px 18px 8px; }
  .beo-rows li { grid-template-columns: 1fr; gap: 2px; }
  .beo-rows li[data-for~="sales"]::before { left: -18px; }
  .beo-rows li[data-for~="boh"]::after { right: -18px; }
  .beo-views button { font-size: 12px; padding-inline: 6px; }
  .split h3 { font-size: 34px; }
  .stage { margin-bottom: 18px; }
  .statement { padding-block: 65px; }
  .statement-inner { grid-template-columns: 1fr; gap: 40px; }
  .statement-line { font-size: clamp(38px, 9vw, 58px); }
  .swaps-head { display: none; }
  .swaps dl > div { grid-template-columns: 1fr; gap: 4px; }
  .swaps dd { padding-left: 22px; }
  .swaps dd::before { left: 0; }
  .contact h2 { font-size: 49px; }
  .contact-copy > p { margin-top: 26px; }
  .footer-inner { align-items: start; flex-direction: column; padding-block: 35px; gap: 17px; }
  .error-main { padding-block: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .folio.is-in { transform: rotate(1.5deg); }
  .button, .masthead { transition: none; }
}
