/* site.css — Velvet Fig: the sections.
   ---------------------------------------------------------------------------
   Signature: the shelf label. Every section opens with small caps and a brass
   hairline running out beside it — the apothecary label the room was built out
   of, since the bar is a former pharmacy and the cabinets are the originals.
   Candlelight (a warm cream card) is spent once a page, on the reviews, so the
   one thing worth reading on a dark page glows. There is nothing to fill in
   here and nothing to book — the site is copy and photographs.
   Rhythm: photograph → plum plate → ruled rail → plum → candlelit stage →
   plum → deep plum with the closing line.
   --------------------------------------------------------------------------- */

/* ================================================================== 1 · hero */

.hero__shot { position: relative; }
.hero__shot img { width: 100%; height: clamp(260px, 40vw, 520px); object-fit: cover; object-position: 50% 58%; }
/* Fades the photograph into the plate below so the join is a dissolve rather
   than a cut. Functional, not decoration — it is the only gradient here. */
.hero__shot::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 42%;
  background: linear-gradient(to bottom, rgba(55, 16, 58, 0), var(--plum));
  pointer-events: none;
}
.hero__plate { padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4rem); }
.hero__plate h1 { max-width: 15ch; margin-bottom: var(--sp-3); }
.hero__plate h1 em { color: var(--brass); }
.hero__lede { font-size: var(--fs-1); line-height: 1.55; color: var(--muted); max-width: 40ch; }
.hero__note { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--muted); }
.hero__note a { color: var(--brass); text-decoration: none; border-bottom: 1px solid currentColor; }

/* ================================================================== 2 · the ruled rail */

.rail { border-block: 1px solid var(--hair-brass); background: var(--plum-3); }
.rail__grid { display: grid; grid-template-columns: 1fr 1fr; }
.rail__item { padding: clamp(1.3rem, 3vw, 1.9rem) clamp(1rem, 2.4vw, 1.6rem); border-left: 1px solid var(--hair-soft); }
.rail__item:nth-child(odd) { border-left: 0; padding-left: 0; }
.rail__item:nth-child(n + 3) { border-top: 1px solid var(--hair-soft); }
.rail__v {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.85rem); line-height: 1.1;
  letter-spacing: -0.012em; color: var(--brass); margin-bottom: var(--sp-2);
}
.rail__k {
  display: block; font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted);
}
@media (min-width: 880px) {
  .rail__grid { grid-template-columns: repeat(4, 1fr); }
  /* :nth-child(odd) is (0,2,0); a bare `.rail__item` here would lose to it. */
  .rail__item, .rail__item:nth-child(odd) { border-left: 1px solid var(--hair-soft); padding-left: clamp(1rem, 2.4vw, 1.6rem); }
  .rail__item:first-child { border-left: 0; padding-left: 0; }
  .rail__item:nth-child(n + 3) { border-top: 0; }
}

/* ================================================================== 3 · the price card */

.plist { border: 1px solid var(--hair-brass); border-radius: var(--r-lg); background: var(--plum-2); }
.plist > li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.1rem, 2.6vw, 1.6rem) clamp(1.1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--hair-soft);
}
.plist > li:last-child { border-bottom: 0; }
.plist h3 { grid-column: 1; grid-row: 1; margin: 0 0 0.35rem; font-size: clamp(1.15rem, 1.02rem + 0.55vw, 1.5rem); }
.plist__price {
  grid-column: 2; grid-row: 1; align-self: start; text-align: right;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-price);
  line-height: 1.1; color: var(--brass); white-space: nowrap;
}
.plist__price--quote { font-style: italic; font-size: 1.05rem; }
.plist p { grid-column: 1 / -1; grid-row: 2; margin: 0; color: var(--muted); font-size: var(--fs-sm); max-width: 58ch; }
@media (min-width: 620px) { .plist p { grid-column: 1; } }

.listnote {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--muted); max-width: 62ch;
}
.listnote svg { flex: none; margin-top: 0.2rem; color: var(--brass); }
.listnote a { color: var(--brass); text-decoration: none; border-bottom: 1px solid currentColor; }

/* ================================================================== 4 · candlelit stage */

.stage { position: relative; display: grid; align-items: center; min-height: clamp(400px, 56vw, 600px); overflow: hidden; }
.stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.stage::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(38, 10, 41, 0.74), rgba(38, 10, 41, 0.12) 62%);
}
.stage__inner { position: relative; z-index: 2; display: flex; padding-block: clamp(2rem, 5vw, 4rem); }
.stage__inner--end { justify-content: flex-end; }
@media (max-width: 700px) { .stage__inner--end { justify-content: flex-start; } }

.card-candle {
  background: var(--candle); color: var(--candle-ink);
  max-width: 34rem; padding: clamp(1.4rem, 3.5vw, 2.4rem);
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.card-candle .label span { color: var(--brass-ink); }
.card-candle .label::after { background: rgba(138, 90, 24, 0.4); }
.card-candle .lead, .card-candle .muted { color: var(--candle-muted); }
.card-candle h2 { color: var(--candle-ink); }

.quotes { display: grid; gap: var(--sp-4); }
.quotes blockquote + blockquote { border-top: 1px solid var(--hair-candle); padding-top: var(--sp-4); }
.quotes blockquote p {
  font-family: var(--font-display); font-size: var(--fs-quote); line-height: 1.28;
  color: var(--candle-ink); margin: 0 0 var(--sp-2); max-width: 24ch;
}
.quotes cite {
  font-style: normal; font-family: var(--font-body); font-size: var(--fs-xs);
  font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--candle-muted);
}

/* A photograph run to both edges of the screen. On a phone these are what stop a
   section of prose running for two screens without a picture. */
.band { margin: 0; }
.band img { width: 100%; height: clamp(240px, 32vw, 420px); object-fit: cover; display: block; }

/* ================================================================== 5 · a breath */

.breath img { width: 100%; height: clamp(220px, 32vw, 440px); object-fit: cover; }

/* where two sections meet with no picture between them, the two full paddings
   stack into a dead run of colour — trim the upper one back. */
.section--trim-b { padding-bottom: calc(var(--section-y) * 0.42); }

/* ================================================================== 6 · said plainly */

.marks { display: grid; gap: var(--sp-4); }
@media (min-width: 820px) { .marks { grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 4vw, 3rem); } }
/* Same specificity, declared after: three columns inside half a split would be
   too narrow to read. */
@media (min-width: 820px) { .marks--stacked { grid-template-columns: 1fr; gap: var(--sp-4); } }
.marks > div { border-top: 1px solid var(--hair-brass); padding-top: var(--sp-3); }
.marks p { font-family: var(--font-display); font-size: clamp(1.15rem, 1.02rem + 0.6vw, 1.5rem); line-height: 1.25; margin: 0 0 var(--sp-2); }
.marks span { display: block; color: var(--muted); font-size: var(--fs-sm); }

/* ================================================================== 6a · numbered steps */

.steps { display: grid; gap: var(--sp-5); counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 4.5vw, 3.25rem); } }
/* Same specificity as the rule above and declared after it: steps sitting in one
   half of a split would be too narrow to read across three columns. */
@media (min-width: 860px) { .steps--stacked { grid-template-columns: 1fr; gap: var(--sp-4); } }
.steps > li { counter-increment: s; padding-top: var(--sp-3); border-top: 1px solid var(--hair-brass); }
.steps > li::before {
  content: counter(s, decimal-leading-zero); display: block;
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1;
  color: var(--brass); margin-bottom: var(--sp-2);
}
.steps h3 { font-size: clamp(1.12rem, 1.02rem + 0.4vw, 1.35rem); margin: 0 0 var(--sp-2); }
.steps p { margin: 0; color: var(--muted); font-size: var(--fs-sm); max-width: 44ch; }

/* ================================================================== 6b · questions */

.faq { border-top: 1px solid var(--hair-brass); max-width: 56rem; }
.faq details { border-bottom: 1px solid var(--hair-soft); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4);
  padding: clamp(1rem, 2.4vw, 1.4rem) 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.08rem, 1rem + 0.45vw, 1.35rem); line-height: 1.25; color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-family: var(--font-body); font-weight: 400;
  font-size: 1.4rem; line-height: 1; color: var(--brass);
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brass); }
.faq details > p { margin: 0 0 clamp(1rem, 2.4vw, 1.4rem); color: var(--muted); max-width: 64ch; }
.faq a { color: var(--brass); text-decoration: none; border-bottom: 1px solid currentColor; }

/* ================================================================== 7 · the other pages */

.doors { display: grid; gap: var(--sp-4); }
@media (min-width: 780px) { .doors { grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 4vw, 3rem); } }
.door {
  display: block; text-decoration: none; color: inherit;
  border-top: 1px solid var(--hair-brass); padding-top: var(--sp-3);
  transition: border-color var(--dur) var(--ease);
}
.door:hover { border-top-color: var(--brass-lift); }
.door h3 { margin: 0 0 0.4rem; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem); }
.door p { color: var(--muted); margin: 0 0 var(--sp-3); font-size: var(--fs-sm); max-width: 40ch; }
.door__go { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--brass); }
.door:hover .arw { transform: translateX(3px); }

/* ================================================================== 8 · subpages */

.plate { border-bottom: 1px solid var(--hair-brass); padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(2.25rem, 4.5vw, 3.5rem); }
.plate h1 { max-width: 16ch; margin-bottom: var(--sp-3); }
.plate h1 em { color: var(--brass); }
.plate .lead { max-width: 46ch; margin-bottom: 0; }

.storycopy p { font-size: 1.06rem; }
.storycopy p + p { margin-top: var(--sp-3); }
.pullnote { margin-top: var(--sp-4); padding-left: var(--sp-3); border-left: 2px solid var(--brass); }
.pullnote p { font-family: var(--font-display); font-style: italic; font-size: var(--fs-2); line-height: 1.3; color: var(--ink); margin: 0; max-width: 26ch; }

.shelf figcaption { margin-top: 0.8rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }

/* ================================================================== 9 · closing */

.closing__line {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 3rem); line-height: 1.16;
  letter-spacing: -0.016em; color: var(--ink); margin: 0; max-width: 22ch;
}
.closing__sub {
  margin-top: var(--sp-4); padding-top: var(--sp-3);
  border-top: 1px solid var(--hair-brass);
  font-size: var(--fs-sm); letter-spacing: 0.02em; color: var(--muted); max-width: 46ch;
}

/* ---------- Duna Marketing sample-site bar ---------- */
/* Frosted glass: the page shows through a dark-grey translucent bar, so it belongs to every
   palette while still reading as a control. The whole bar is one link back to dunamarketing.com.
   rgba(25,28,35,.72) composited over even a pure-white page keeps white text at 6.7:1; the
   backdrop blur is decoration on top of that, never load-bearing. On phones the site's own
   .cta-bar lifts above it. */
:root { --duna-h: 54px; }
.duna-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  box-sizing: border-box; min-height: var(--duna-h);
  /* Three columns so the button stays optically centred no matter how wide the copyright is. */
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.75rem;
  padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(25, 28, 35, 0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #FFFFFF; text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  font-family: var(--font-body); font-size: 0.92rem; line-height: 1.3; text-align: center;
  cursor: pointer; transition: background 0.15s ease;
}
/* No colour here: `.duna-bar a` (0,1,1) would outrank .duna-bar__btn--text (0,1,0) and paint
   the text button white on white. The button classes own their colours. */
.duna-bar a { text-decoration: none; }
.duna-bar__copy {
  justify-self: start; font-size: 0.76rem; letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);   /* 5.42:1 on the bar over even a white page */
  white-space: nowrap;
}
.duna-bar__note {
  grid-column: 3; justify-self: end; font-size: 0.76rem; letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);   /* same 5.42:1 as the copyright */
  white-space: nowrap;
}
/* Two buttons now, side by side and optically centred in the middle column. */
.duna-bar__actions { grid-column: 2; justify-self: center; display: inline-flex; align-items: center; gap: 0.5rem; }
.duna-bar__btn {
  /* Own dark fill over the bar's glass: transparent let each site's palette bleed through and
     muddied the white text. Black at 45% takes it from 6.7:1 to 12.7:1 in the worst case
     (a pure-white page behind the bar) while staying translucent. */
  display: inline-block; background: rgba(0, 0, 0, 0.45); color: #FFFFFF;
  border: 1.5px solid #FFFFFF; border-radius: 4px;
  padding: 0.45rem 1.1rem; font-weight: 700; font-size: 0.9rem; white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.duna-bar__btn:hover, .duna-bar__btn:focus-visible { background: #FFFFFF; color: #14171E; }
/* "Text me" is the offer on this bar, so it leads: white fill and dark label, the reverse of the
   home button, and it inverts on hover the same way. */
.duna-bar__btn--text { margin-left: 0.6rem; background: #C8102E; color: #FFFFFF; border-color: #C8102E;
  border-radius: 10px; box-shadow: 0 4px 14px rgba(200, 16, 46, 0.32);
  display: inline-flex; align-items: center; gap: 0.45rem; }
.duna-bar__btn--text svg { width: 15px; height: 15px; flex: none; }
.duna-bar__btn--call { margin-left: 0.6rem; background: #003087; color: #FFFFFF; border-color: #003087;
  border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 48, 135, 0.34);
  display: inline-flex; align-items: center; gap: 0.45rem; }
.duna-bar__btn--call:hover, .duna-bar__btn--call:focus-visible { background: #001D52; border-color: #001D52;
  color: #FFFFFF; box-shadow: 0 6px 18px rgba(0, 48, 135, 0.44); }
.duna-bar__btn--call svg { width: 15px; height: 15px; flex: none; }
.duna-bar__btn--text:hover, .duna-bar__btn--text:focus-visible { background: #A50D25; border-color: #A50D25;
  color: #FFFFFF; box-shadow: 0 6px 18px rgba(200, 16, 46, 0.42); }
/* Mobile: the button is the only thing that matters — drop the copyright and the tagline so
   the bar is one unambiguous tap target. */
@media (max-width: 720px) {
  /* Phones (all ad traffic): two full-width, full-label text and call buttons on one row.
     --duna-h tracks the taller bar so pages keep clearing it. */
  :root { --duna-h: 66px; }
  .duna-bar__copy, .duna-bar__note, .duna-bar .long { display: none; }
  .duna-bar { grid-template-columns: 1fr; gap: 0; padding: 0.4rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom)); }
  .duna-bar__actions { grid-column: 1 / -1; justify-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 0.5rem; }
  .duna-bar__btn { grid-column: 1 / -1; justify-self: center; background: none; border: 0; padding: 0.1rem 0 0.15rem;
    font-size: 0.74rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; opacity: 0.9; }
  .duna-bar__btn--text, .duna-bar__btn--call { grid-column: auto; justify-self: stretch; justify-content: center; text-align: center;
    margin-left: 0; min-height: 46px; padding: 0.4rem 0.45rem; font-size: 0.82rem; font-weight: 700; line-height: 1.15;
    white-space: normal; text-decoration: none; opacity: 1; border-radius: 10px; }
  .duna-bar__btn--text { background: #C8102E; border: 1.5px solid #C8102E; }
  .duna-bar__btn--call { background: #003087; border: 1.5px solid #003087; }
  .duna-bar__btn--text .long, .duna-bar__btn--call .long { display: inline; }
  .duna-bar__btn--text svg, .duna-bar__btn--call svg { width: 16px; height: 16px; }
}

body { padding-bottom: calc(var(--duna-h) + env(safe-area-inset-bottom)); }
/* Mobile: the button is the only thing that matters — drop the copyright and the tagline so
   the bar is one unambiguous tap target. 720px is the same breakpoint at which each site's
   own .cta-bar appears, so 'mobile' means one thing across the whole bar. */

@media (max-width: 720px) {
  .cta-bar { bottom: calc(var(--duna-h) + env(safe-area-inset-bottom)); }
  body.has-cta-bar { padding-bottom: calc(84px + var(--duna-h)); }
}

/* Uniform legal block shared by every Duna sample site. */
.site-footer .duna-legal { grid-column: 1 / -1; margin-top: 0.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line, rgba(127, 127, 127, 0.35)); font-size: 0.85rem; line-height: 1.55; }
.site-footer .duna-legal p { margin: 0 0 0.3rem; max-width: none; }
.site-footer .duna-legal p:last-child { margin-bottom: 0; }
