/* ==========================================================
   F.P. Celeste Mixology
   ========================================================== */

:root {
  --black: #0E0D0C;
  --charcoal: #1A1816;
  --charcoal-2: #221F1C;
  --walnut: #3B2A1E;
  --walnut-dark: #2A1E15;
  --brass: #B08D57;
  --brass-light: #C9A66E;
  --bone: #E9E4DA;
  --muted: #9A9288;
  --line: rgba(176, 141, 87, 0.28);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1200px;
  --gutter: 20px;
  --section-y: 72px;
  --header-h: 72px;
}

@media (min-width: 960px) {
  :root { --gutter: 40px; --section-y: 120px; --header-h: 84px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, iframe { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0.005em;
}

p { margin: 0 0 1em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brass); color: var(--black); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow { max-width: calc(820px + var(--gutter) * 2); }

.label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 34px;
  border: 1px solid var(--brass);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn-brass { background: var(--brass); color: var(--black); }
.btn-brass:hover { background: var(--brass-light); border-color: var(--brass-light); }
.btn-small { padding: 11px 20px; font-size: 12px; }

.text-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bone);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: border-color .25s ease, color .25s ease;
}
.text-link:hover { color: var(--brass-light); border-color: var(--brass); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
html:not(.js) .site-header { position: relative; height: auto; background: var(--charcoal); border-bottom-color: var(--line); }
html:not(.js) .header-inner { flex-wrap: wrap; gap: 12px 24px; padding-block: 18px; }
html:not(.js) .site-nav { flex-wrap: wrap; gap: 12px 28px; }
html:not(.js) .hero { padding-top: 60px; }
.site-header.is-solid {
  background: rgba(26, 24, 22, 0.97);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.wordmark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--bone);
  white-space: nowrap;
}
.wordmark span {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-left: 6px;
  vertical-align: middle;
}

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a:not(.btn) {
  font-size: 13px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--bone); transition: color .2s ease;
}
.site-nav a:not(.btn):hover { color: var(--brass-light); }

.menu-toggle {
  display: none;
  background: none; border: 0; padding: 12px 4px; cursor: pointer;
}
.menu-bar { display: block; width: 26px; height: 1px; background: var(--bone); margin: 7px 0; transition: transform .3s ease; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 959px) {
  .js .menu-toggle { display: block; }
  .js .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--charcoal);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 28px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .js .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .js .site-nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid rgba(233,228,218,.08); }
  .js .site-nav .btn { margin-top: 20px; padding: 16px; }
  .site-header.menu-open { background: var(--charcoal); }
}

/* ---------- Placeholders ---------- */
.placeholder {
  position: relative;
  width: 100%;
  background:
    radial-gradient(ellipse at 30% 35%, rgba(176,141,87,.14), transparent 60%),
    linear-gradient(160deg, #23201D 0%, #141210 100%);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.placeholder.wood {
  background:
    repeating-linear-gradient(92deg, rgba(0,0,0,.18) 0 2px, transparent 2px 9px),
    radial-gradient(ellipse at 70% 30%, rgba(201,166,110,.16), transparent 60%),
    linear-gradient(170deg, var(--walnut) 0%, var(--walnut-dark) 55%, #160F0A 100%);
}
.placeholder-note {
  display: block;
  padding: 16px 18px;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: rgba(233,228,218,.62);
  text-align: left;
}
.placeholder > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-1x1 { aspect-ratio: 1 / 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 clamp(64px, 10vh, 120px);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media .placeholder { width: 100%; height: 100%; object-fit: cover; }
.placeholder-hero {
  align-items: flex-start; justify-content: flex-end;
  background:
    radial-gradient(ellipse 40% 50% at 72% 45%, rgba(201,166,110,.22), transparent 70%),
    radial-gradient(ellipse 25% 30% at 70% 40%, rgba(233,228,218,.07), transparent 70%),
    repeating-linear-gradient(91deg, rgba(0,0,0,.2) 0 2px, transparent 2px 11px) bottom / 100% 34% no-repeat,
    linear-gradient(180deg, #171412 0%, #0E0D0C 62%, var(--walnut-dark) 66%, #1A120C 100%);
}
.placeholder-hero .placeholder-note { padding-top: calc(var(--header-h) + 16px); padding-right: var(--gutter); max-width: 320px; text-align: right; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,13,12,.88) 0%, rgba(14,13,12,.55) 55%, rgba(14,13,12,.15) 100%),
    linear-gradient(0deg, rgba(14,13,12,.9) 0%, transparent 45%);
}
.hero-content { max-width: calc(var(--max) + var(--gutter) * 2); }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 80px);
  font-weight: 400;
  max-width: 17ch;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(233,228,218,.86);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 36px; }

/* ---------- Standards banner ---------- */
.standards {
  background: var(--charcoal);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.standards-grid { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 36px; }
@media (min-width: 960px) {
  .standards-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .standard + .standard { border-left: 1px solid var(--line); padding-left: 36px; }
  .standard { padding-right: 24px; }
}
.standard { display: flex; gap: 18px; align-items: flex-start; }
.icon {
  flex: none; width: 28px; height: 28px; margin-top: 2px;
  fill: none; stroke: var(--brass); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
}
.standard-title {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 6px; line-height: 1.4;
}
.standard p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section + .section::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--max), calc(100% - var(--gutter) * 2)); height: 1px; background: var(--line);
}
.section-head { max-width: 820px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-title { font-size: clamp(30px, 4vw, 48px); font-weight: 400; }
.section-sub { color: rgba(233,228,218,.8); margin-top: 20px; font-size: 17px; }

/* ---------- Problem ---------- */
.problem {
  background:
    linear-gradient(180deg, rgba(14,13,12,.94), rgba(14,13,12,.97)),
    repeating-linear-gradient(91deg, rgba(59,42,30,.55) 0 3px, rgba(42,30,21,.35) 3px 14px, rgba(59,42,30,.4) 14px 17px, transparent 17px 26px),
    var(--walnut-dark);
}
.split { display: grid; gap: 64px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split-col .placeholder { margin-bottom: 36px; }
.split-col h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 20px; }
.split-col p { color: rgba(233,228,218,.84); }

.steps { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.steps li {
  display: flex; gap: 20px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.steps span { font-family: var(--serif); font-size: 20px; color: var(--brass); min-width: 28px; }

/* ---------- Services ---------- */
.cards { display: grid; gap: 24px; }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--charcoal);
  border-top: 3px solid var(--walnut);
  padding: 40px 32px 36px;
  display: flex; flex-direction: column;
}
.card-feature { border-top-color: var(--brass); background: linear-gradient(180deg, #221D18, var(--charcoal) 40%); }
.card-num { font-family: var(--serif); font-size: 18px; color: var(--brass); margin-bottom: 12px; letter-spacing: .1em; }
.card h3 { font-size: 28px; margin-bottom: 12px; min-height: 2.3em; }
.card-lede { font-style: italic; font-family: var(--serif); font-size: 18px; color: var(--muted); margin-bottom: 24px; }
.checklist { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.checklist li {
  position: relative; padding: 10px 0 10px 28px;
  border-bottom: 1px solid rgba(233,228,218,.07);
  font-size: 15px;
}
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 18px;
  width: 10px; height: 5px;
  border-left: 1px solid var(--brass); border-bottom: 1px solid var(--brass);
  transform: rotate(-45deg);
}
.card .text-link { align-self: flex-start; }
.services-note { margin: 40px 0 0; color: var(--muted); font-size: 15px; text-align: center; }

/* ---------- Portfolio (masonry) ---------- */
.masonry { columns: 1; column-gap: 16px; }
@media (min-width: 640px) and (max-width: 959px) {
  /* Two even columns at tablet width; the odd last tile spans both so no gap is left. */
  .masonry { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .masonry .tile { margin: 0; }
  .masonry .tile .placeholder { aspect-ratio: 4 / 3; }
  .masonry .tile:last-child { grid-column: 1 / -1; }
  .masonry .tile:last-child .placeholder { aspect-ratio: 16 / 7; }
}
@media (min-width: 960px) { .masonry { columns: 3; } }
.tile {
  display: block; width: 100%;
  break-inside: avoid; margin: 0 0 16px;
  padding: 0; border: 0; background: none; cursor: zoom-in;
  text-align: left; color: inherit; font: inherit;
  overflow: hidden;
}
.tile .placeholder, .tile img { transition: transform .8s ease, filter .4s ease; }
.tile:hover .placeholder, .tile:hover img { transform: scale(1.025); filter: brightness(1.12); }

/* ---------- Reviews ---------- */
.reviews { background: var(--charcoal); }
.review-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review {
  margin: 0; padding: 36px 32px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between;
}
.review blockquote {
  margin: 0 0 28px;
  font-family: var(--serif); font-size: 20px; line-height: 1.5; font-weight: 400;
}
.review figcaption { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.review figcaption strong { color: var(--brass); font-weight: 500; margin-right: 10px; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; content: "+" / ""; flex: none;
  font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--brass);
  transition: transform .3s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: rgba(233,228,218,.82); margin: -6px 0 28px; max-width: 680px; }
.faq-list details a { color: var(--brass-light); }

/* ---------- Form ---------- */
.inquire { background: linear-gradient(180deg, var(--black), var(--charcoal)); }
.inquiry-form { display: grid; gap: 24px 24px; }
@media (min-width: 640px) { .inquiry-form { grid-template-columns: 1fr 1fr; } }
.field-full { grid-column: 1 / -1; }
.field label {
  display: block; margin-bottom: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bone);
}
.req { color: var(--brass); }
.field input, .field textarea {
  width: 100%;
  background: rgba(233,228,218,.03);
  border: 1px solid #7A7369; /* 3:1+ against the page and the field fill (WCAG 1.4.11) */
  border-radius: 0;
  color: var(--bone);
  font: inherit; font-weight: 400; font-size: 16px;
  padding: 15px 16px;
  transition: border-color .2s ease, background-color .2s ease;
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brass); background: rgba(233,228,218,.05); }
.field.has-error input, .field.has-error textarea { border-color: #C46A5A; }
.field-error { display: block; margin-top: 8px; font-size: 13px; color: #E08B7B; }
.form-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.form-hint { margin: 0; font-size: 13px; color: var(--muted); }
.form-error { color: #E08B7B; margin: 0; }
.service-selected {
  margin: 0; padding: 14px 18px;
  border-left: 2px solid var(--brass);
  background: rgba(176,141,87,.07);
  font-size: 14px;
}
.form-success { padding: 56px 32px; border: 1px solid var(--line); text-align: center; }
.form-success h3 { font-size: 36px; margin-bottom: 10px; }
.form-success p { margin: 0; color: rgba(233,228,218,.84); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); border-top: 1px solid var(--line); padding-top: 72px; }
.footer-grid { display: grid; gap: 48px; padding-bottom: 56px; }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1fr 1.3fr 1fr; gap: 56px; } }
.wordmark-footer { font-size: 26px; margin-bottom: 24px; }
.footer-title {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 20px;
}
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 4px 0; color: var(--muted); }
.contact-list a { color: var(--bone); text-decoration: none; border-bottom: 1px solid transparent; }
.contact-list a:hover { border-color: var(--brass); }
.map-wrap { aspect-ratio: 16 / 10; border: 1px solid var(--line); overflow: hidden; background: var(--black); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.85); }
.cities { font-size: 13px; color: var(--muted); margin: 16px 0 0; line-height: 1.8; }
.ig-handle { display: inline-block; margin-bottom: 16px; text-decoration: none; color: var(--bone); }
.ig-handle:hover { color: var(--brass-light); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ig-grid .placeholder { aspect-ratio: 1 / 1; }
.footer-bottom {
  border-top: 1px solid rgba(233,228,218,.08);
  padding-top: 24px; padding-bottom: 32px;
  font-size: 12px; letter-spacing: .1em; color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8,7,6,.96);
  display: flex; align-items: center; justify-content: center;
  padding: 64px 52px;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; width: min(900px, 100%); }
.lb-stage .placeholder { max-height: 72vh; }
.lb-stage img { max-height: 72vh; margin: 0 auto; }
.lb-caption { margin-top: 16px; font-size: 14px; color: var(--muted); text-align: center; }
.lightbox button {
  position: absolute; z-index: 2; background: none; border: 0; color: var(--bone);
  font-size: 40px; font-weight: 200; line-height: 1; cursor: pointer; padding: 12px 16px;
}
.lightbox button:hover { color: var(--brass-light); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal ---------- */
.reveal { transition: opacity 1s ease, transform 1s ease; }
.reveal.pending { opacity: 0; transform: translateY(18px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.pending { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }
}

/* ---------- Additions ---------- */
.nowrap { white-space: nowrap; }

.video-toggle {
  position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: 24px;
  background: rgba(14,13,12,.6); color: var(--bone);
  border: 1px solid var(--line); padding: 8px 14px; cursor: pointer;
  font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
}
.video-toggle:hover { border-color: var(--brass); color: var(--brass-light); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--brass); }
.check label { font-size: 14px; color: rgba(233,228,218,.84); cursor: pointer; }

.privacy-line { margin: 0; font-size: 13px; color: var(--muted); }
.privacy-line a, .footer-bottom a { color: var(--bone); }
.privacy-line a:hover, .footer-bottom a:hover { color: var(--brass-light); }

@media print {
  .reveal, .reveal.pending { opacity: 1 !important; transform: none !important; transition: none !important; }
  .site-header { position: static; }
  .hero-media, .hero-overlay, .lightbox, .video-toggle, .map-wrap { display: none !important; }
}

/* ---------- Secondary pages (privacy, 404) ---------- */
.sub-header { position: sticky; top: 0; }
.sub-page { min-height: 60vh; }
.sub-page h1 { margin-bottom: 12px; }
.sub-page h2 { font-size: 26px; margin: 40px 0 12px; }
.sub-page p { color: rgba(233,228,218,.86); max-width: 65ch; }
.sub-page a:not(.btn):not(.text-link) { color: var(--brass-light); }
.sub-meta { color: var(--muted) !important; font-size: 14px; }
.sub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; margin-top: 32px; }
@media (max-width: 479px) { .sub-header .btn { display: none; } }
