/* 02 Editorial / Magazine layout, shown for Atelier Wren Interiors (sample business).
   White paper, ink, one cobalt accent. Bodoni Moda for the nameplate, headlines, drop cap and pull quotes;
   Newsreader for reading text and italic captions. Everything is square: a printed page has no rounded corners. */

/* Shared token layer (Linnet Studio library). Presets in AUDIT section 7 override these values. */
:root {
  --c-bg: #ffffff;            /* page background, text on cobalt and on ink */
  --c-surface: #f3f4f7;       /* process sidebar and form note: a cool grey that sits next to the cobalt */
  --c-ink: #12131a;           /* text, every rule, monogram block (18.5:1 on white) */
  --c-muted: #55565f;         /* captions, service descriptions (7.3:1 on white) */
  --c-line: #d4d6dd;          /* decorative hairlines only */
  --c-line-strong: var(--c-ink); /* rules that carry the layout, field borders (18.5:1) */
  --c-accent: #1f3bcb;        /* cobalt: buttons, drop cap, kicker, step numerals, quote mark, consultation card (8.3:1 on white) */
  --c-on-accent: #ffffff;     /* text on cobalt (8.3:1) */
  --c-accent-2: #a12a1c;      /* status only (unused in the demo), 7.5:1 on white */
  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;   /* nameplate, headlines, numerals, pull quotes */
  --f-body: "Newsreader", Georgia, "Times New Roman", serif;          /* reading text, deks, captions, buttons */
  --f-mono: ui-monospace, "SF Mono", Menlo, monospace;                /* unused in the demo */
  --r-sm: 0px;                /* buttons and fields */
  --r-lg: 0px;                /* photos and the consultation card */
  --r-pill: 0px;              /* the magazine has no pills */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 48px; --s-5: 72px; --s-6: 120px;

  /* Theme names map to the shared layer */
  --paper: var(--c-bg);
  --ink: var(--c-ink);
  --muted: var(--c-muted);
  --accent: var(--c-accent);
  --on-accent: var(--c-on-accent);
  --display: var(--f-display);
  --text: var(--f-body);
  --radius: var(--r-lg);
  --s1: var(--s-1); --s2: var(--s-2); --s3: var(--s-3); --s4: var(--s-4); --s5: var(--s-5); --s6: var(--s-6);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --bar-h: 0px;               /* height of the phone action bar */

  /* Page frame: margin, column gap, space between sections */
  --pad: 20px;
  --gap: 16px;
  --sec: 48px;
}
@media (max-width: 759.98px) {
  :root { --bar-h: calc(60px + env(safe-area-inset-bottom)); }
}
@media (min-width: 760px) { :root { --pad: 32px; --gap: 24px; --sec: 72px; } }
@media (min-width: 1080px) { :root { --pad: 48px; --gap: 32px; --sec: 112px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-bottom: calc(var(--bar-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar-h);
}
@media (min-width: 1080px) { body { font-size: 1.1875rem; line-height: 1.6; } }
img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }
h1, h2, h3, p, ul, ol, figure, blockquote, address { margin: 0; padding: 0; }
address { font-style: normal; }
h1, h2, h3 { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .16em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: var(--pad); top: -100px; z-index: 30; background: var(--ink); color: var(--paper); padding: 12px 16px; }
.skip:focus { top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { display: none; }
.i { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
.wrap { max-width: 1340px; margin-inline: auto; padding-inline: var(--pad); }

/* Touch polish: no grey tap flash, no double-tap delay, a short press on everything pressable */
a, button, summary, label, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.btn, .action-bar a { transition: transform 120ms var(--ease-out); }
.btn:active, .action-bar a:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .btn, .action-bar a { transition: none; } }

figcaption { font-size: .9375rem; line-height: 1.45; color: var(--muted); font-style: italic; margin-top: 10px; }
figcaption b { font-style: normal; font-weight: 600; color: var(--ink); }
.label { font-family: var(--display); font-style: italic; font-size: 1.1875rem; color: var(--accent); margin-bottom: 10px; }
.dek { font-size: 1.25rem; line-height: 1.42; font-style: italic; }
@media (min-width: 1080px) { .dek { font-size: 1.5rem; line-height: 1.4; } }

/* Buttons and the call link */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  background: var(--accent); color: var(--on-accent);
  border: 2px solid var(--accent); border-radius: var(--r-sm);
  font: inherit; font-weight: 600; font-size: 1.0625rem; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.1875rem; }
.btn-sm { min-height: 30px; padding: 0 16px; font-size: .9375rem; }
.btn:focus-visible { outline-color: var(--ink); }
.call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; text-underline-offset: .22em; }

/* Demo bar: one line */
.demo { background: var(--ink); color: var(--paper); font-size: .8125rem; font-style: italic; line-height: 1.3; padding: 7px 8px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Masthead: folio line, then the nameplate with the section links either side of it.
   Phones stack it (nameplate above, links in one row below); from 760px it is one compact band. */
.folio { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 32px; font-size: .875rem; border-bottom: 1px solid var(--ink); }
.folio p { margin: 0; }
.folio-l { display: flex; justify-content: space-between; gap: 20px; flex: 1; font-style: italic; }
.folio-act { display: none; }
.folio a { text-decoration: none; }
.folio-tel { font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.navrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--ink); }
.nav-l, .nav-r { display: contents; }
.navrow a { min-height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 1.0625rem; }
.navrow .nameplate a { min-height: 0; min-width: 0; display: inline-block; font-size: inherit; box-shadow: none !important; }
.nameplate {
  flex: 0 0 100%; order: -1;
  font-family: var(--display);
  font-weight: 500;
  font-size: min(calc((100vw - var(--pad) * 2) / 5.75), 13.6rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-align: center;
  white-space: nowrap;
  padding: .04em 0 .1em;
  border-bottom: 3px solid var(--ink);
}
.nameplate a { color: var(--ink); }
.nameplate .w { margin-right: -.045em; }
.services h2 .w { margin-right: -.05em; }
@media (min-width: 760px) {
  .folio { min-height: 36px; }
  .folio-l { flex: none; justify-content: flex-start; gap: 24px; }
  .folio-act { display: flex; align-items: center; gap: 24px; }
  .navrow { display: grid; grid-template-columns: 1fr auto 1fr; border-top: 3px solid var(--ink); }
  .nav-l, .nav-r { display: flex; gap: 28px; }
  .nav-r { justify-self: end; }
  .navrow a { justify-content: flex-start; }
  /* A confident nameplate: as big as the band allows between the section links (42px at 760, 8rem from 1360) */
  .nameplate { order: 0; flex: none; font-size: clamp(2.6rem, 14.5vw - 4.4rem, 8rem); line-height: 1; padding: .04em 0 .06em; border-bottom: 0; }
}
.mast .btn { box-shadow: none !important; }

/* Load moment: the nameplate is inked in from left to right, once */
@media (prefers-reduced-motion: no-preference) {
  .nameplate a { animation: ink 1.1s cubic-bezier(.6, 0, .2, 1) .15s both; }
  @keyframes ink { from { clip-path: inset(-25% 100% -25% -5%); } to { clip-path: inset(-25% -5% -25% -5%); } }
}

/* Opener: kicker, headline, standfirst and the booking action, beside one big photo */
.opener { display: grid; gap: 0; padding-top: 24px; }
.opener-text { display: contents; }
.opener h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.25rem, 16vw, 6.5rem);
  line-height: .96;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.opener .label { order: 1; }
.opener h1 { order: 2; }
.opener .dek { order: 3; }
.hero-act { order: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; margin-top: 22px; }
.hero-act .btn { flex: 1 1 100%; }
.hero-act .call { margin-inline: auto; }
.opener-img { order: 5; margin: 24px calc(var(--pad) * -1) 0; }
.opener-img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 62% 50%; }
.opener-img figcaption { padding-inline: var(--pad); }
.factbox { order: 6; margin-top: 26px; border-top: 3px solid var(--ink); }
.rates li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--ink); }
.rates b { font-family: var(--display); font-size: 1.5rem; font-weight: 600; margin-right: 4px; font-variant-numeric: lining-nums; }
.rates small { font-size: .9375rem; color: var(--muted); font-style: italic; text-align: right; }
.creds { display: flex; flex-wrap: wrap; gap: 2px 22px; padding-top: 12px; font-size: .9375rem; line-height: 1.4; font-weight: 600; }
.creds li { padding-block: 2px; }
@media (min-width: 760px) {
  .hero-act .btn { flex: none; }
  .hero-act .call { margin-inline: 0; }
  .opener-img { margin-inline: 0; }
  .opener-img figcaption { padding-inline: 0; }
  .opener-img img { aspect-ratio: 16 / 10; }
}
@media (min-width: 1080px) {
  .opener { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-top: 36px; }
  .opener-text { display: flex; flex-direction: column; grid-column: 7 / 13; grid-row: 1; padding-top: 4px; }
  .opener .opener-text > * { order: 0; }
  .opener h1 { font-size: clamp(4.5rem, 8vw, 7.5rem); }
  .opener .dek { max-width: 24em; }
  .hero-act { margin: 28px 0 32px; }
  .opener-img { grid-column: 1 / 7; grid-row: 1; margin: 0; display: flex; flex-direction: column; }
  .opener-img img { flex: 1 1 0; min-height: 420px; aspect-ratio: auto; }
  .factbox { margin-top: auto; }
}

/* The studio story: multi-column text, drop cap, pull quote, and the rest behind a disclosure */
.studio, .services, .spread, .work, .process { padding-top: var(--sec); }
.studio { display: grid; gap: var(--s3); }
.spread-head h2, .services h2, .work h2, .studio h2, .sb-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 9vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.story p { margin-bottom: 1em; hyphens: auto; -webkit-hyphens: auto; }
.story > p:last-child { margin-bottom: 0; }
.studio > .story > p:first-child::first-line { font-variant-caps: small-caps; letter-spacing: .03em; }
.studio > .story > p:first-child::first-letter {
  font-family: var(--display);
  font-weight: 500;
  color: var(--accent);
  float: left;
  font-size: 4.6em;
  line-height: .8;
  padding: .07em .08em 0 0;
}
@supports (initial-letter: 4) or (-webkit-initial-letter: 4) {
  .studio > .story > p:first-child::first-letter { float: none; font-size: inherit; line-height: inherit; padding: 0; -webkit-initial-letter: 4; initial-letter: 4; margin-right: .12em; }
}
.pull { padding: 18px 12px 16px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-align: center; }
.pull p { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(1.9rem, 7.5vw, 2.6rem); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 10px; }
.pull footer { font-size: .9375rem; color: var(--muted); font-style: italic; }
.more summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; cursor: pointer;
  border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink);
  font-family: var(--display); font-style: italic; font-size: 1.375rem;
}
.more summary::-webkit-details-marker { display: none; }
.more summary .i { width: 1.1em; height: 1.1em; color: var(--accent); transition: transform 180ms var(--ease-out); }
.more[open] summary .i { transform: rotate(45deg); }
.more[open] summary { border-bottom-color: transparent; }
.more .story-more { padding-top: 14px; }
@media (prefers-reduced-motion: reduce) { .more summary .i { transition: none; } }
@media (min-width: 760px) {
  .story { column-count: 2; column-gap: 40px; column-rule: 1px solid var(--ink); text-align: justify; }
}
@media (min-width: 1080px) {
  .studio { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: start; }
  .studio h2 { grid-column: 1 / 5; grid-row: 1; }
  .studio > .story { grid-column: 5 / 13; grid-row: 1; }
  .studio > .pull { grid-column: 1 / 5; grid-row: 2; }
  .studio > .more { grid-column: 5 / 13; grid-row: 2; }
  .pull p { font-size: 2.5rem; }
}

/* Services, set like a buying guide */
.services { display: grid; gap: var(--s3); }
.svc-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 45%; }
.svc-list { display: grid; gap: 0 var(--gap); }
.svc-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s2); row-gap: 2px; align-items: baseline; border-top: 1px solid var(--ink); padding: 12px 0 16px; }
.svc-list h3 { font-family: var(--display); font-weight: 500; font-size: 1.5rem; line-height: 1.15; letter-spacing: -.01em; }
.svc-list p { grid-column: 1 / -1; color: var(--muted); }
.svc-list .price { grid-column: 2; grid-row: 1; color: var(--ink); font-family: var(--display); font-style: italic; font-size: 1.1875rem; text-align: right; font-variant-numeric: lining-nums tabular-nums; }
@media (min-width: 1080px) {
  .services { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-items: start; }
  .services h2 { grid-column: 6 / 13; grid-row: 1; }
  .svc-img { grid-column: 1 / 6; grid-row: 1 / 3; }
  .svc-img img { aspect-ratio: 4 / 5; }
  .svc-list { grid-column: 6 / 13; grid-row: 2; }
  .svc-list h3 { font-size: 1.75rem; }
  .svc-list li { padding: 16px 0 20px; }
}

/* Swipe rails on phones (the next photo peeks in), real spreads from 760px */
.sp-figs, .collage {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; column-gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad);
}
.sp-figs::-webkit-scrollbar, .collage::-webkit-scrollbar { display: none; }
.sp-figs > figure, .collage > figure { scroll-snap-align: start; }
.sp-figs:focus-visible, .collage:focus-visible { outline-offset: -3px; }
.sp-figs img, .collage img { width: 100%; object-fit: cover; }
.sp-main img { aspect-ratio: 3 / 2; }
.sp-detail img { aspect-ratio: 3 / 2; }
.c-a img { aspect-ratio: 4 / 3; }
.c-b img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
.c-c img { aspect-ratio: 4 / 3; object-position: 50% 60%; }

/* Project spread */
.spread { display: grid; gap: var(--s3); }
.spread-head .dek { margin-top: 14px; }
@media (min-width: 760px) {
  .sp-figs, .collage { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; row-gap: var(--s3); }
  .sp-figs { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: end; }
  .sp-main img { aspect-ratio: 4 / 3; }
  .sp-detail img { aspect-ratio: 4 / 5; }
  .c-a { grid-column: 1 / -1; }
  .c-a img { aspect-ratio: 16 / 9; }
}
@media (min-width: 1080px) {
  .spread { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: start; }
  .spread-head { grid-column: 1 / 5; grid-row: 1; }
  .sp-figs { display: contents; }
  .sp-main { grid-column: 5 / 13; grid-row: 1 / 3; }
  .sp-detail { grid-column: 1 / 5; grid-row: 2; align-self: end; }
  .sp-main img { aspect-ratio: 3 / 2; }
  .sp-detail img { aspect-ratio: 3 / 2; }
}

/* Recent rooms collage */
.work { display: grid; gap: var(--s3); }
@media (min-width: 1080px) {
  .collage { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--s3); align-items: start; }
  .c-a { grid-column: 1 / 9; grid-row: 1 / 3; }
  .c-b { grid-column: 9 / 13; grid-row: 1; }
  .c-c { grid-column: 9 / 13; grid-row: 2; }
  .c-a img { aspect-ratio: 3 / 2; }
  .c-b img, .c-c img { aspect-ratio: 16 / 10; }
}

/* Process sidebar */
.sidebar { background: var(--c-surface); border: 1px solid var(--ink); border-top: 10px solid var(--accent); padding: 22px 18px 8px; }
.sb-head { display: grid; gap: 12px; margin-bottom: 18px; }
.sb-head p { max-width: 34em; }
.steps { counter-reset: step; display: grid; gap: 0 var(--gap); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 12px; border-top: 1px solid var(--c-line); padding: 12px 0 14px; }
.steps li::before {
  content: counter(step);
  grid-row: 1 / span 2;
  font-family: var(--display);
  font-weight: 500;
  font-size: 2.9rem;
  line-height: .85;
  color: var(--accent);
  font-variant-numeric: lining-nums;
}
.steps h3 { font-family: var(--text); font-weight: 600; font-size: 1.125rem; line-height: 1.25; margin-bottom: 4px; }
.steps p { font-size: 1rem; line-height: 1.5; }
/* Phones: the sidebar bleeds to the screen edges (no inset frame), the numeral sits on the heading's line and the
   text runs the full column */
@media (max-width: 759.98px) {
  .sidebar { margin-inline: calc(-1 * var(--pad)); border-inline: 0; padding: 24px var(--pad) 8px; }
  .steps li { grid-template-columns: 1.75rem minmax(0, 1fr); column-gap: 10px; align-items: baseline; }
  .steps li::before { grid-row: auto; font-size: 2.25rem; }
  .steps p { grid-column: 1 / -1; }
}
@media (min-width: 760px) {
  .sidebar { padding: 32px 32px 16px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .sidebar { padding: 40px 44px 24px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .sb-head { grid-column: 1 / 5; align-content: start; }
  .steps { grid-column: 5 / 13; }
  .steps li { grid-template-columns: 3.4rem 1fr; }
  .steps li::before { font-size: 3.6rem; }
}

/* Reviews: the big quote and the letters */
.reviews { padding-top: var(--sec); }
.bigquote { position: relative; padding-top: 84px; border-top: 3px solid var(--ink); }
.bigquote::before {
  content: "\201C"; content: "\201C" / "";
  position: absolute; top: 4px; left: -4px;
  font-family: var(--display);
  font-size: 9rem; line-height: 1;
  color: var(--accent);
}
.bigquote blockquote p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.6rem, 12vw, 8rem);
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.bigquote figcaption { font-size: 1rem; max-width: 34em; margin-top: 22px; }
.sample { display: block; font-style: normal; font-size: .8125rem; color: var(--muted); margin-top: 4px; }
.letters { display: grid; gap: 0 var(--gap); margin-top: 36px; }
.letters figure { border-top: 1px solid var(--ink); padding: 16px 0 22px; display: flex; flex-direction: column; }
.letters blockquote p { font-size: 1.125rem; line-height: 1.5; }
.letters figcaption { margin-top: auto; padding-top: 10px; }
@media (min-width: 760px) {
  .letters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .rev { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .bigquote { grid-column: 1 / 9; padding: 40px 0 0 15%; }
  .bigquote::before { font-size: 16rem; top: 0; left: 0; line-height: .9; }
  .bigquote figcaption { font-size: 1.0625rem; }
  .letters { grid-column: 9 / 13; grid-template-columns: 1fr; margin-top: 0; border-top: 3px solid var(--ink); }
  .letters figure:first-child { border-top: 0; }
  .letters blockquote p { font-size: 1.1875rem; }
}

/* Consultation card with the reply form */
.consult { background: var(--accent); color: var(--on-accent); margin-top: var(--sec); border-radius: var(--radius); }
.con-in { display: grid; gap: 28px; padding-block: 40px 44px; }
.consult h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 12vw, 6rem); line-height: .95; letter-spacing: -.025em; }
.con-lede { margin-top: 16px; font-size: 1.125rem; max-width: 30em; }
.con-details { display: grid; gap: 20px; }
.con-contact { display: grid; gap: 2px; border-top: 1px solid var(--on-accent); padding-top: 16px; }
.con-phone { min-height: 44px; font-size: clamp(2.4rem, 11vw, 3.75rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; text-decoration-thickness: 2px; font-variant-numeric: lining-nums; justify-self: start; }
.con-mail { font-size: 1.1875rem; justify-self: start; min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.con-visit, .con-hours { border-top: 1px solid var(--on-accent); padding-top: 14px; }
.con-visit a { display: inline-block; padding-block: 4px; }
.consult h3 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.25rem; margin-bottom: 4px; }
.consult :focus-visible { outline-color: var(--on-accent); }

.reply { display: grid; gap: 14px; align-content: start; background: var(--paper); color: var(--ink); padding: 26px 20px 24px; outline: 1px dashed var(--ink); outline-offset: -9px; }
.reply h3 { font-size: 1.5rem; color: var(--ink); margin: 0; }
.field { display: grid; gap: 6px; }
.field label { font-size: 1rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0 14px;
  font: inherit; font-size: 1.0625rem; color: var(--ink); background-color: var(--paper);
  border: 1px solid var(--ink); border-radius: var(--r-sm);
  -webkit-appearance: none; appearance: none;
}
.field textarea { padding: 12px 14px; min-height: 88px; resize: vertical; line-height: 1.4; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-size: 7px 7px; background-position: calc(100% - 22px) 50%, calc(100% - 15px) 50%; background-repeat: no-repeat; padding-right: 44px; }
.reply :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.reply .btn { width: 100%; margin-top: 4px; }
.reply .btn:focus-visible { outline-color: var(--ink); }
.sent { display: none; background: var(--c-surface); border-left: 4px solid var(--accent); padding: 12px 14px; font-weight: 600; }
.sent:target { display: block; }
@media (min-width: 760px) {
  .consult h2 { font-size: clamp(2.8rem, 6.2vw, 4rem); }
  .con-phone { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
  .con-in { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "main form" "details form"; column-gap: var(--gap); align-items: start; }
  .con-main { grid-area: main; }
  .reply { grid-area: form; padding: 32px 28px 28px; }
  .con-details { grid-area: details; }
}
@media (min-width: 1080px) {
  .con-in { grid-template-columns: repeat(12, minmax(0, 1fr)); padding-block: 80px 88px; }
  .con-main { grid-column: 1 / 7; }
  .con-details { grid-column: 1 / 7; }
  .reply { grid-column: 8 / 13; }
  .consult h2 { font-size: clamp(4rem, 6.4vw, 6.25rem); }
  .con-lede { font-size: 1.25rem; }
}

/* Colophon */
.colophon { font-size: 1rem; line-height: 1.5; }
.col-in { display: grid; gap: 28px; padding-block: 44px 32px; }
.colophon h2 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.25rem; margin-bottom: 6px; }
.colophon p + h2, .colophon address + h2 { margin-top: 14px; }
.c-brand .mono { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; background: var(--ink); color: var(--paper); font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.375rem; letter-spacing: -.02em; line-height: 1; }
.c-team li { padding: 2px 0; }
.c-team i { color: var(--muted); }
.colophon p a { display: inline-flex; align-items: center; min-height: 44px; }
.colophon address a { display: inline-block; padding-block: 6px; }
.hours { font-variant-numeric: tabular-nums; }
.c-note { font-size: .875rem; color: var(--muted); border-top: 1px solid var(--ink); padding-top: 14px; }
@media (min-width: 760px) {
  .col-in { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
  .c-note { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
  .col-in { grid-template-columns: repeat(12, minmax(0, 1fr)); padding-top: 64px; }
  .c-brand { grid-column: 1 / 4; }
  .c-team { grid-column: 4 / 7; }
  .c-contact { grid-column: 7 / 10; }
  .c-area { grid-column: 10 / 13; }
}

/* Phone action bar (C1): Call, Directions and Book stay in reach below 760px */
.action-bar { display: none; }
@media (max-width: 759.98px) {
  .action-bar {
    position: fixed; inset: auto 0 0 0; z-index: 20;
    display: grid; grid-template-columns: 1fr 1.2fr 1.75fr;
    background: var(--paper); border-top: 3px solid var(--ink);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 57px; padding: 0 6px;
    color: var(--ink); font-size: 1rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  }
  .action-bar a + a { border-left: 1px solid var(--ink); }
  .action-bar .ab-main { background: var(--accent); color: var(--on-accent); border-left: 0; }
  .action-bar :focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; }
  .action-bar .ab-main:focus-visible { outline-color: var(--paper); }
}
@media (max-width: 374px) { .action-bar a { font-size: .9375rem; gap: 5px; } }

/* Hover only where a real pointer can hover */
@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--accent); }
  .navrow a:hover, .folio-tel:hover, .call:hover { text-decoration: underline; }
  .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
  .more summary:hover { background: var(--c-surface); }
  .consult a:hover { color: var(--on-accent); text-decoration-thickness: 3px; }
  .nameplate a:hover { color: var(--ink); }
}
