/* The public site at quercus.au: black and white, silver rules, hard edges, Inter. */
:root {
  --s-black: #000;
  --s-ink: #111;
  --s-white: #fff;
  --s-silver: #b9b9b9;
  --s-silver-dark: #8a8a8a;
  --s-rule: #d6d6d6;
  --s-rule-dark: #2a2a2a;
  --s-body: #2b2b2b;
  --s-max: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.site {
  margin: 0;
  font-family: "Inter Variable", "Segoe UI", Arial, sans-serif;
  color: var(--s-ink);
  background: var(--s-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.site a { color: inherit; }
:where(.site p) { margin: 0; text-wrap: pretty; }
:where(.site h1, .site h2, .site h3) { margin: 0; text-wrap: balance; letter-spacing: -0.03em; font-weight: 500; }

.site-bar { text-align: center; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.4rem 1rem; }
.site-bar-dev { background: #3b2364; color: #fff; }

.site-head {
  max-width: var(--s-max); margin: 0 auto; padding: 1.4rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.site-wordmark { font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; text-decoration: none; font-size: 0.9rem; }
.site-nav { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; font-size: 0.9rem; }
.site-nav a { text-decoration: none; color: var(--s-silver-dark); }
.site-nav a:hover { color: var(--s-ink); }
.site-nav .site-cta { color: var(--s-white); background: var(--s-black); padding: 0.55rem 1rem; }
.site-nav .site-cta:hover { color: var(--s-white); background: #333; }

.site-main { display: block; }
.hero, .band { max-width: var(--s-max); margin: 0 auto; padding: 6rem 1rem 5rem; }
.hero { padding-top: 6rem; padding-bottom: 5rem; }
.hero.short { padding-bottom: 6rem; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 6.2rem); font-weight: 300; letter-spacing: -0.045em; line-height: 0.98; max-width: 14ch; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--s-silver-dark); font-weight: 500; margin-bottom: 1.6rem; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 300; color: var(--s-body); max-width: 60ch; margin-top: 2.2rem; line-height: 1.6; }
.hero-actions { margin-top: 3rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.site .btn-site {
  display: inline-block; padding: 0.85rem 1.4rem; background: var(--s-black); color: var(--s-white);
  text-decoration: none; font-weight: 500; border: 1px solid var(--s-black); font-size: 0.95rem; cursor: pointer;
  font-family: inherit;
}
.site .btn-site:hover { background: #222; color: var(--s-white); }
.site .btn-site.ghost { background: transparent; color: var(--s-ink); border-color: var(--s-silver); }
.site .btn-site.ghost:hover { border-color: var(--s-ink); background: transparent; }

.band { border-top: 1px solid var(--s-rule); }
.band h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; }
.band.dark { max-width: none; background: var(--s-black); color: var(--s-white); border-top: 0; padding-left: 0; padding-right: 0; }
.band.dark > * { max-width: var(--s-max); margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
.band.dark .lede { color: var(--s-silver); }
.band.dark .eyebrow { color: var(--s-silver); }
.band.dark .cell { border-top-color: var(--s-rule-dark); }
.band.dark .cell p { color: var(--s-silver); }

.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 3.4rem 3rem; margin-top: 4.5rem; }
.cell { border-top: 1px solid var(--s-rule); padding-top: 1.5rem; }
.idx { font-size: 0.75rem; letter-spacing: 0.12em; color: var(--s-silver-dark); font-weight: 500; margin-bottom: 1rem; }
.cell h3 { font-size: 1.35rem; margin-bottom: 0.9rem; letter-spacing: -0.02em; }
.cell p { font-size: 0.98rem; color: var(--s-body); font-weight: 300; line-height: 1.6; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3.2rem 3rem; margin-top: 4.5rem; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border: 1px solid var(--s-silver); }
.shots figcaption { margin-top: 1.1rem; line-height: 1.6; font-size: 0.9rem; color: var(--s-silver-dark); }
.shots figcaption b { color: var(--s-ink); font-weight: 500; }
.fine { margin-top: 2.6rem; font-size: 0.85rem; color: var(--s-silver-dark); }

.eoi { margin-top: 3.2rem; max-width: 760px; display: flex; flex-direction: column; gap: 1.5rem; }
.eoi .row.two { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 640px) { .eoi .row.two { grid-template-columns: 1fr 1fr; } }
.eoi label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; font-weight: 500; }
.eoi .req { font-weight: 400; color: var(--s-silver-dark); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; margin-left: 0.4rem; }
.eoi input, .eoi select, .eoi textarea {
  font: inherit; font-weight: 400; padding: 0.7rem 0.8rem; border: 1px solid var(--s-silver); border-radius: 0; background: var(--s-white); color: var(--s-ink); width: 100%;
}
.eoi input:focus, .eoi select:focus, .eoi textarea:focus { outline: 2px solid var(--s-black); outline-offset: 0; border-color: var(--s-black); }
.eoi .err { color: #9b1c1c; font-weight: 400; }
.form-error { margin-top: 1.2rem; padding: 0.8rem 1rem; border: 1px solid #9b1c1c; color: #9b1c1c; max-width: 760px; }
.eoi .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.site-foot {
  border-top: 1px solid var(--s-rule); max-width: var(--s-max); margin: 0 auto; padding: 2rem 1rem 3rem;
  display: flex; gap: 1rem 2rem; flex-wrap: wrap; justify-content: space-between; font-size: 0.85rem; color: var(--s-silver-dark);
}

/* The feature slider: one statement and one screen at a time */
.slider-band { background: var(--s-black); color: var(--s-white); padding: 5rem 1rem; }
.slider { max-width: var(--s-max); margin: 0 auto; outline: none; }
.slider:focus-visible { outline: 2px solid var(--s-silver); outline-offset: 12px; }
.slide { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .slide { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.slide[hidden] { display: none; }
.slide-text .eyebrow { color: var(--s-silver); }
.slide-text h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.1; font-weight: 400; letter-spacing: -0.03em; }
.slide-text p:not(.eyebrow) { margin-top: 1.6rem; color: var(--s-silver); font-weight: 300; font-size: 1.05rem; line-height: 1.65; max-width: 48ch; }
.slide-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--s-rule-dark); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: 3rem; }
.slider-arrow { background: transparent; color: var(--s-silver); border: 1px solid var(--s-rule-dark); width: 2.6rem; height: 2.6rem; font: inherit; font-size: 1rem; cursor: pointer; }
.slider-arrow:hover { color: var(--s-white); border-color: var(--s-silver); }
.slider-dots { display: flex; gap: 0.6rem; }
.slider-dot { width: 0.6rem; height: 0.6rem; padding: 0; border: 0; background: var(--s-rule-dark); cursor: pointer; }
.slider-dot[aria-current="true"] { background: var(--s-white); }

/* Why switch: one reason at a time, stepped with the arrows, nothing moves on its own */
.why-switch { padding-top: 5rem; padding-bottom: 5rem; }
.why-slides { margin-top: 1rem; min-height: 15rem; }
.why-slide[hidden] { display: none; }
.why-slide h2 { font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.04; font-weight: 300; letter-spacing: -0.035em; max-width: 18ch; }
.why-slide p:not(.idx) { margin-top: 1.6rem; color: var(--s-silver); font-weight: 300; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; max-width: 58ch; }
.why-switch .slider-controls { justify-content: flex-start; }
@media (min-width: 900px) { .why-slides { min-height: 17rem; } }

/* The dark front: full bleed, a faint silver glow, the strip of what it works with */
.hero.dark {
  max-width: none; padding: 0; background: var(--s-black); color: var(--s-white);
  background-image: radial-gradient(ellipse 70% 60% at 85% 10%, rgba(185, 185, 185, 0.22), transparent 60%),
                    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(185, 185, 185, 0.10), transparent 60%);
}
.hero.dark .hero-inner { max-width: var(--s-max); margin: 0 auto; padding: 7rem 1rem 5rem; }
.hero.dark .eyebrow { color: var(--s-silver); }
.hero.dark h1 { max-width: 16ch; }
.hero.dark h1 .thin { color: var(--s-silver); font-weight: 200; }
.hero.dark .lede { color: var(--s-silver); max-width: 66ch; }
.site .btn-site.light { background: var(--s-white); color: var(--s-black); border-color: var(--s-white); }
.site .btn-site.light:hover { background: #e6e6e6; color: var(--s-black); }
.site .btn-site.ghost-light { background: transparent; color: var(--s-white); border-color: var(--s-rule-dark); }
.site .btn-site.ghost-light:hover { border-color: var(--s-silver); background: transparent; color: var(--s-white); }
.strip {
  list-style: none; margin: 0; padding: 1.3rem 1rem; border-top: 1px solid var(--s-rule-dark);
  display: flex; flex-wrap: wrap; gap: 0.6rem 2.6rem; justify-content: center;
  font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--s-silver-dark);
}
.strip li { white-space: nowrap; }

/* Intelligence: three cells with a lead word instead of a number */
.band.intel h2 { max-width: 18ch; }
.intel-cells .idx { color: var(--s-ink); letter-spacing: 0.2em; }
.intel-cells .cell { border-top: 2px solid var(--s-black); }

/* A quiet entrance for the front, respecting reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: rise 0.7s ease-out both; }
  .hero-inner > :nth-child(2) { animation-delay: 0.08s; }
  .hero-inner > :nth-child(3) { animation-delay: 0.16s; }
  .hero-inner > :nth-child(4) { animation-delay: 0.24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Feature rows: one statement beside one screen, alternating sides (17 Oct 2026) */
.band.feature { display: grid; grid-template-columns: 1fr; gap: 2.6rem; align-items: center; padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 900px) {
  .band.feature { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .band.feature.flip .feature-text { order: 2; }
  .band.feature.flip .feature-shot { order: 1; }
}
.feature-text h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.1; }
.feature-text > p:not(.eyebrow) { margin-top: 1.5rem; color: var(--s-body); font-weight: 300; font-size: 1.05rem; line-height: 1.65; max-width: 52ch; }
.ticks { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.7rem; max-width: 52ch; }
.ticks li { position: relative; padding-left: 1.5rem; font-size: 0.95rem; color: var(--s-body); line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.8rem; height: 1px; background: var(--s-ink); }
.feature-shot { margin: 0; }
.feature-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--s-silver); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35); }
.feature-shot figcaption { margin-top: 0.9rem; font-size: 0.85rem; color: var(--s-silver-dark); }

/* Three phones in a dark band */
.phones-band h2 { max-width: 18ch; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3.5rem; align-items: start; }
.phones img { display: block; width: 100%; height: auto; border: 1px solid var(--s-rule-dark); border-radius: 1.4rem; background: #000; }
@media (max-width: 640px) { .phones { grid-template-columns: 1fr 1fr; } .phones img:last-child { display: none; } }

/* Everything it does: three plain columns */
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 3rem; margin-top: 4rem; }
.columns h3 { font-size: 1.1rem; letter-spacing: 0.02em; margin-bottom: 1rem; border-top: 2px solid var(--s-black); padding-top: 1rem; }
.plainlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.plainlist li { font-size: 0.95rem; color: var(--s-body); font-weight: 300; line-height: 1.5; padding-left: 1rem; position: relative; }
.plainlist li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 0.4rem; height: 1px; background: var(--s-silver-dark); }

/* The required mark sits beside the label, not under it */
.eoi .lab { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.eoi .lab .req { margin-left: 0; }

/* Who made this */
.band.about h2 { max-width: 24ch; font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.about-text { margin-top: 1.8rem; max-width: 66ch; display: grid; gap: 1rem; }
.about-text p { font-size: 0.95rem; font-weight: 300; color: var(--s-body); line-height: 1.6; }

/* Every screen enlarges: a quiet cursor on the thumbnail, a dark dialog full size */
.zoom { display: block; cursor: zoom-in; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; color: var(--s-white); }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.92); }
.lightbox figure { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 3.5rem 4.5rem; box-sizing: border-box; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); width: auto; height: auto; border: 1px solid var(--s-rule-dark); background: #fff; }
.lightbox figcaption { font-size: 0.9rem; color: var(--s-silver); text-align: center; max-width: 70ch; }
.lightbox-close, .lightbox-arrow { position: fixed; background: transparent; color: var(--s-silver); border: 1px solid var(--s-rule-dark); width: 2.8rem; height: 2.8rem; font: inherit; font-size: 1.2rem; cursor: pointer; z-index: 1; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-arrow { top: 50%; transform: translateY(-50%); }
.lightbox-arrow.prev { left: 1rem; }
.lightbox-arrow.next { right: 1rem; }
.lightbox-close:hover, .lightbox-arrow:hover { color: var(--s-white); border-color: var(--s-silver); }
@media (max-width: 640px) { .lightbox figure { padding: 3.5rem 1rem 4rem; } .lightbox-arrow { top: auto; bottom: 1rem; transform: none; } }


/* Four doors (decision 112): the home page asks what brought the visitor, and each door
   is a page about what matters to them */
.doors { max-width: var(--s-max); margin: 0 auto; padding: 0 1rem 4.5rem; }
.doors-ask { font-size: 0.78rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--s-silver); font-weight: 500; margin-bottom: 1.2rem; }
.door-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--s-rule-dark); border: 1px solid var(--s-rule-dark); }
@media (min-width: 640px) { .door-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .door-grid { grid-template-columns: repeat(4, 1fr); } }
.site .door-card { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.6rem 1.4rem 1.4rem; background: var(--s-black); color: var(--s-white); text-decoration: none; min-height: 11rem; transition: background 0.15s; }
.site .door-card:hover, .site .door-card:focus-visible { background: #1a1a1a; }
.site .door-card:focus-visible { outline: 2px solid var(--s-silver); outline-offset: -2px; }
.door-q { font-size: 1.45rem; font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; }
.door-line { font-size: 0.95rem; color: var(--s-silver); font-weight: 300; line-height: 1.5; flex: 1; }
.door-go { font-size: 0.85rem; letter-spacing: 0.02em; }
/* The home front is tighter, so the four doors are in view on a laptop without scrolling */
.hero.dark.home-hero .hero-inner { padding-top: 4.5rem; padding-bottom: 2.5rem; }
.hero.dark.home-hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
.hero.dark.home-hero .lede { margin-top: 1.6rem; }
@media (min-width: 640px) { .door-grid.three { grid-template-columns: repeat(3, 1fr); } }

/* The strip of the other doors, on a light band */
.band.also { padding-top: 4rem; padding-bottom: 4rem; }
.band.also .door-grid { background: var(--s-rule); border-color: var(--s-rule); }
.site .band.also .door-card { background: var(--s-white); color: var(--s-ink); min-height: 9rem; }
.site .band.also .door-card:hover { background: #f4f4f4; }
.band.also .door-line { color: var(--s-silver-dark); }

/* A door's own front: smaller than the home page's, the same dark */
.hero.dark.door-hero .hero-inner { padding-top: 5.5rem; padding-bottom: 4.5rem; }
.hero.dark.door-hero h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.04; max-width: 18ch; }

/* What matters: the visitor's own questions, answered */
.band.matters .cell h3 { font-size: 1.45rem; font-weight: 400; line-height: 1.2; }
.band.extras h2 { max-width: 20ch; }
.band.extras .idx { letter-spacing: 0.2em; text-transform: uppercase; }
.feature-more { margin-top: 1.4rem; font-size: 0.95rem; }
.band-note { max-width: var(--s-max); margin: 0 auto; padding: 0 1rem 3rem; font-size: 0.85rem; color: var(--s-silver-dark); }

/* The customer quote, hidden until it has words (the preview draws a dashed slot) */
.quote-fig { margin: 0; max-width: 54rem; }
.quote-fig blockquote { margin: 0; }
.quote-fig blockquote p { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 300; line-height: 1.35; letter-spacing: -0.02em; }
.quote-fig blockquote p::before { content: "\201C"; }
.quote-fig blockquote p::after { content: "\201D"; }
.quote-fig figcaption { margin-top: 1.4rem; font-size: 0.9rem; color: var(--s-silver-dark); }
.quote-fig figcaption b { color: var(--s-ink); font-weight: 500; }
.band.quote-preview .quote-fig { border: 1px dashed var(--s-silver); padding: 2rem; }

/* The form asks what matters first */
.eoi fieldset.interests { border: 0; margin: 0; padding: 0; min-width: 0; }
.eoi legend { font-size: 0.9rem; font-weight: 500; padding: 0; margin-bottom: 0.8rem; }
.eoi legend .hint { display: block; font-weight: 400; color: var(--s-silver-dark); font-size: 0.85rem; margin-top: 0.2rem; }
.interest-grid { display: grid; grid-template-columns: 1fr; gap: 0.6rem 1.2rem; }
@media (min-width: 640px) { .interest-grid { grid-template-columns: 1fr 1fr; } }
.eoi label.check { flex-direction: row; align-items: center; gap: 0.75rem; font-weight: 400; border: 1px solid var(--s-silver); padding: 0.8rem 0.9rem; cursor: pointer; }
.eoi label.check input { width: auto; margin: 0; accent-color: var(--s-black); }
.eoi label.check:has(input:checked) { border-color: var(--s-black); background: #f4f4f4; }
.anchor-alias { position: relative; top: -1rem; }

/* How a distillery starts: numbered steps */
.steps { list-style: none; counter-reset: step; margin: 3.5rem 0 0; padding: 0; max-width: 60rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; border-top: 1px solid var(--s-rule); padding: 1.6rem 0; }
.steps li::before { content: "0" counter(step); font-size: 0.8rem; letter-spacing: 0.12em; color: var(--s-silver-dark); padding-top: 0.4rem; }
.steps h3 { font-size: 1.3rem; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.steps p { color: var(--s-body); font-weight: 300; line-height: 1.6; }

.site-nav a[aria-current="page"] { color: var(--s-ink); }
