:root {
  --ground:        #F2F3EF;
  --surface:       #FFFFFF;
  --surface-2:     #E7EAE3;
  --ink:           #16232A;
  --ink-2:         #46565C;
  --ink-3:         #6E7C80;
  --rule:          #D3D8CF;
  --rule-soft:     #E2E6DE;
  --accent:        #35637F;
  --accent-soft:   #DCE6EC;
  --bronze:        #8C5F2E;
  --band-deep:     #16232A;
  --band-deep-ink: #E8EDE7;
  --band-deep-dim: #9FB0B2;
  --band-deep-rule:#31424A;

  --serif: "Palatino Linotype", "Iowan Old Style", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --sans:  "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --measure: 34rem;
  --page: 68rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground:        #10191D;
    --surface:       #17232A;
    --surface-2:     #1D2B31;
    --ink:           #E7EDE9;
    --ink-2:         #A9B8BC;
    --ink-3:         #84969B;
    --rule:          #2C3C43;
    --rule-soft:     #22323A;
    --accent:        #8CBBD6;
    --accent-soft:   #1E323D;
    --bronze:        #D2A268;
    --band-deep:     #0B1215;
    --band-deep-ink: #DDE5E3;
    --band-deep-dim: #8B9EA1;
    --band-deep-rule:#22323A;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: var(--accent); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: 1.5rem; }
.prose { max-width: var(--measure); display: flex; flex-direction: column; gap: 1rem; }
.label {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* --- the turn: a hairline with a small rotated square, echoing the logo mark --- */
.turn { display: flex; align-items: center; gap: 0.75rem; }
.turn::before {
  content: "";
  width: 7px; height: 7px;
  flex: none;
  background: var(--bronze);
  transform: rotate(45deg);
}
.turn::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--rule);
}

/* ---------------- hero ---------------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--rule); }
.hero .wrap { padding-block: clamp(2.5rem, 6.5vw, 4.5rem); display: grid; gap: 2.5rem; }
@media (min-width: 60rem) {
  .hero .wrap { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 4rem; }
}

/* Title first, logo to its right. The eyebrow sits ABOVE this row on purpose: inside it,
   align-items:center would centre the logo against (eyebrow + title) and read as too high. */
.eyebrow { margin-bottom: 0.55rem; }
.lockup { display: flex; align-items: center; gap: clamp(0.35rem, 1vw, 0.9rem); margin-bottom: 1.25rem; }
.lockup img { width: clamp(84px, 14.5vw, 142px); height: auto; flex: none; }
.lockup h1 {
  font-size: clamp(2.1rem, 6vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  /* hug the text: as a flex item the box was ~80px wider than the longest line,
     and that dead space read as a gap before the logo */
  width: min-content;
}
.lockup .label { margin-bottom: 0.5rem; }

.hero .standfirst { font-size: 1.1875rem; color: var(--ink-2); max-width: 30rem; }
.hero-photo { border: 1px solid var(--rule); }

.callcard {
  margin-top: 2rem;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--bronze);
  background: var(--ground);
  padding: 1.25rem 1.4rem;
  max-width: 27rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.callcard .num {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4.2vw, 2.25rem);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.callcard .num:hover { color: var(--accent); }
.callcard .alt {
  font-size: 0.8125rem;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.55rem;
}
.callcard .alt a { color: var(--ink-3); }
.callcard .alt a:hover { color: var(--accent); }
.callcard .sub { font-size: 0.9375rem; color: var(--ink-2); }
.callcard .es { font-size: 0.9375rem; color: var(--bronze); font-weight: 600; margin-top: 0.35rem; }

/* ---------------- bands ---------------- */
section.band { border-bottom: 1px solid var(--rule); }
section.band > .wrap { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.band-paper   { background: var(--ground); }
.band-surface { background: var(--surface); }
.band-sage    { background: var(--surface-2); }

.sechead { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.sechead h2 { font-size: clamp(1.6rem, 3.2vw, 2.125rem); line-height: 1.15; }

/* story */
.story { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .story { grid-template-columns: 1fr 21rem; gap: 4rem; align-items: start; } }
blockquote.pull {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3125rem;
  line-height: 1.5;
  color: var(--ink);
  border-left: 2px solid var(--bronze);
  padding-left: 1.25rem;
}
blockquote.pull cite {
  display: block;
  margin-top: 0.65rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.portrait { border: 1px solid var(--rule); margin: 0; }
.portrait figcaption { font-size: 0.8125rem; color: var(--ink-3); padding: 0.6rem 0.75rem; background: var(--surface); }

/* services */
.services { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .services { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.svc { display: flex; flex-direction: column; gap: 0.9rem; }
.svc h3 { font-size: 1.1875rem; }
.svc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.svc li { font-size: 0.9375rem; color: var(--ink-2); padding-left: 1rem; position: relative; line-height: 1.55; }
.svc li::before {
  content: "";
  position: absolute; left: 0; top: 0.6em;
  width: 5px; height: 1px;
  background: var(--bronze);
}

/* credentials */
.creds { display: grid; gap: 0 2.5rem; margin: 0; padding: 0; }
@media (min-width: 44rem) { .creds { grid-template-columns: 1fr 1fr; } }
.creds div {
  display: flex; gap: 0.85rem; align-items: baseline;
  padding-block: 0.85rem;
  border-top: 1px solid var(--rule-soft);
  font-size: 0.9375rem;
}
.creds div b { font-family: var(--serif); font-weight: 600; font-size: 1rem; flex: none; }
.creds div span { color: var(--ink-2); }

/* visit */
.visit { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .visit { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
table.hours { border-collapse: collapse; width: 100%; max-width: 22rem; font-size: 0.9375rem; }
table.hours th, table.hours td { text-align: left; padding: 0.5rem 0; border-bottom: 1px solid var(--rule-soft); }
table.hours th { font-weight: 600; font-family: var(--sans); color: var(--ink); width: 6.5rem; }
table.hours td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
table.hours tr.closed td { color: var(--ink-3); }
.addr { font-style: normal; font-size: 1.0625rem; line-height: 1.65; }

/* ---------------- footer ---------------- */
footer.sitefoot { background: var(--band-deep); color: var(--band-deep-ink); }
footer.sitefoot .wrap { padding-block: 3rem 2.5rem; display: grid; gap: 2rem; }
@media (min-width: 52rem) { footer.sitefoot .wrap { grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; } }
footer.sitefoot h4 { font-size: 1.25rem; margin-bottom: 0.6rem; }
footer.sitefoot a { color: var(--band-deep-ink); }
footer.sitefoot .dim { color: var(--band-deep-dim); font-size: 0.9375rem; }
footer.sitefoot .footlinks { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9375rem; align-items: flex-start; }
.pagejump {
  border-top: 1px solid var(--band-deep-rule);
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  font-size: 0.9375rem;
}
.smallprint {
  border-top: 1px solid var(--band-deep-rule);
}
.smallprint .wrap {
  padding-block: 1.5rem 2.5rem;
  display: block;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--band-deep-dim);
  max-width: var(--page);
}
.smallprint p + p { margin-top: 0.75rem; }

/* ---------------- legal page ---------------- */
.legal-head { background: var(--surface); border-bottom: 1px solid var(--rule); }
.legal-head .wrap { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.legal-head .lockup { margin-bottom: 1.75rem; }
.legal-head .lockup img { width: clamp(66px, 9.5vw, 92px); }
.legal-head .brand-sub { font-family: var(--serif); font-size: 1.375rem; line-height: 1.2; }
.legal-head h1 { font-size: clamp(1.85rem, 4.2vw, 2.625rem); line-height: 1.1; margin-bottom: 0.9rem; }
.legal-head p { color: var(--ink-2); max-width: var(--measure); }
.legal-head .updated { font-size: 0.875rem; color: var(--ink-3); margin-top: 1rem; font-variant-numeric: tabular-nums; }

.legal-body .wrap { padding-block: 2.5rem 4rem; display: grid; gap: 2.5rem; }
@media (min-width: 58rem) {
  .legal-body .wrap { grid-template-columns: 14rem 1fr; gap: 4rem; align-items: start; }
  .toc { position: sticky; top: 1.5rem; }
}
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; counter-reset: toc; }
.toc li { counter-increment: toc; font-size: 0.875rem; line-height: 1.45; }
.toc a { text-decoration: none; color: var(--ink-2); display: flex; gap: 0.6rem; }
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--bronze);
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  padding-top: 0.15em;
  flex: none;
}
.toc a:hover { color: var(--accent); }

.clauses { display: flex; flex-direction: column; gap: 2.75rem; max-width: 42rem; counter-reset: clause; }
.clause { display: flex; flex-direction: column; gap: 0.9rem; scroll-margin-top: 1.5rem; counter-increment: clause; }
.clause > h2 {
  font-size: 1.375rem;
  line-height: 1.25;
  display: flex; gap: 0.75rem; align-items: baseline;
}
.clause > h2::before {
  content: counter(clause, decimal-leading-zero);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--bronze);
  flex: none;
}
.clause h3 { font-size: 1.0625rem; margin-top: 0.5rem; }
.clause p, .clause li { font-size: 0.9375rem; line-height: 1.75; color: var(--ink-2); }
.clause ul, .clause ol.plain { margin: 0; padding-left: 1.15rem; display: flex; flex-direction: column; gap: 0.45rem; }
.clause strong { color: var(--ink); }

.callout {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 1.1rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.callout p, .callout li { color: var(--ink); }
.callout .label { color: var(--accent); }

.notice {
  border: 1px solid var(--rule);
  background: var(--surface);
  padding: 1.1rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.notice p { color: var(--ink); font-size: 0.9375rem; }
.notice .es { color: var(--ink-2); font-style: italic; }

dl.terms { margin: 0; display: flex; flex-direction: column; gap: 0.85rem; }
dl.terms > div { display: grid; gap: 0.2rem; }
@media (min-width: 34rem) { dl.terms > div { grid-template-columns: 8.5rem 1fr; gap: 0 1.25rem; } }
dl.terms dt { font-weight: 600; font-size: 0.875rem; color: var(--ink); }
dl.terms dd { margin: 0; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.7; }

.kbd {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.875em;
  background: var(--surface-2);
  border: 1px solid var(--rule);
  padding: 0.05em 0.4em;
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
