/* Typefaces: self-hosted, SIL Open Font License (see fonts/). No third-party requests. */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Brand palette, matched to the Capability Brief and the woven-diamond mark */
  --navy: #1C2B44;
  --navy-deep: #142035;
  --cream: #F2EFE8;
  --paper: #FAF8F4;
  --stone: #E8E2D6;
  --gold: #B08A3E;          /* rules, marks, accents on light grounds */
  --gold-text: #7E5F28;     /* gold for small text on light grounds (AA contrast) */
  --gold-light: #C9A86A;    /* gold on navy */
  --ink: #1C2B44;
  --muted: #4E5768;
  --rule: #D6CEBF;

  --page: var(--paper);
  --hero: var(--cream);
  --panel: var(--stone);
  --text: var(--ink);
  --text-soft: var(--muted);
  --accent-text: var(--gold-text);
  --band: var(--navy);
  --band-text: #F4F1EA;
  --band-soft: #C3C9D3;
  --band-rule: #34445F;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4.5vw, 3.25rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #131F33;
    --hero: #18263C;
    --panel: #1A2940;
    --text: #F1ECE2;
    --text-soft: #BAC1CC;
    --accent-text: #C9A86A;
    --gold: #C9A86A;
    --rule: #2F3F58;
    --band: #0E1828;
    --navy-deep: #0B1322;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--page); color: var(--text);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
p { margin: 0 0 1.1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--band-text); padding: .75rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; color: inherit; }
.label-heading { font-size: clamp(1.75rem, 2.6vw, 2.15rem); line-height: 1.15; letter-spacing: -.005em; text-wrap: balance; }
.kicker {
  font-family: var(--sans); font-weight: 600; font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent-text); margin: 0;
}
.lede { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.5; }
.soft { color: var(--text-soft); }

/* ---------- Header ---------- */
.site-header { background: var(--hero); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.25rem; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.brand-mark { width: 2.75rem; height: 2.75rem; flex-shrink: 0; --mark-a: var(--text); --mark-b: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.wordmark { font-family: var(--serif); font-weight: 500; font-size: 1.28rem; letter-spacing: .16em; color: var(--text); white-space: nowrap; }
.descriptor { font-size: .68rem; font-weight: 500; letter-spacing: .04em; color: var(--text-soft); margin-top: .25rem; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--text); padding: .3rem 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--gold); }
.nav .nav-cta { background: var(--navy); color: var(--band-text); padding: .7rem 1.15rem; border: 1px solid var(--navy); }
.nav .nav-cta:hover { background: transparent; color: var(--text); border-bottom-color: var(--navy); }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); color: var(--text); font: inherit; font-size: .88rem; font-weight: 500; padding: .5rem .95rem; cursor: pointer; }

@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--hero); border-bottom: 1px solid var(--rule); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .25rem var(--gutter) 1.5rem; }
  .nav li { border-top: 1px solid var(--rule); }
  .nav li:first-child { border-top: 0; }
  .nav a { display: block; padding: .95rem 0; font-size: 1rem; }
  .nav .nav-cta { margin-top: .75rem; text-align: center; }
}
@media (max-width: 520px) {
  .site-header .wrap { min-height: 4.5rem; }
  .brand { gap: .65rem; }
  .brand-mark { width: 2.2rem; height: 2.2rem; }
  .wordmark { font-size: .98rem; letter-spacing: .11em; }
  .descriptor { font-size: .62rem; letter-spacing: .02em; line-height: 1.35; }
}
@media (max-width: 640px) {
  .pipe { display: none; }
  .descriptor .seg, .hero .kicker .seg { display: block; }
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-block; text-decoration: none; font-family: var(--sans); font-weight: 600; font-size: .92rem;
  letter-spacing: .02em; padding: .95rem 1.6rem; border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--navy); color: var(--band-text); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-secondary { color: var(--text); border-color: var(--text); }
.btn-secondary:hover { background: var(--text); color: var(--page); }
@media (prefers-color-scheme: dark) {
  .btn-primary { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); }
  .btn-primary:hover { background: var(--band-text); border-color: var(--band-text); }
  .nav .nav-cta { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); }
}
.text-link { font-weight: 600; font-size: .95rem; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: .1rem; }
.text-link:hover { color: var(--accent-text); }

/* ---------- Layout ---------- */
.section { padding: var(--section) 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 3.6fr) minmax(0, 8.4fr); gap: 3.5rem; }
}
.split-head .soft { margin-top: 1.1rem; max-width: 20rem; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero { background: var(--hero); padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero h1 { font-size: clamp(2.75rem, 6vw, 5.1rem); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
.br-wide { display: none; }
@media (min-width: 900px) { .hero h1 { text-wrap: wrap; } .br-wide { display: inline; } }
.hero-rule { width: 5rem; height: 3px; background: var(--gold); border: 0; margin: 2.25rem 0 1.4rem; }
.hero .kicker { line-height: 1.8; }
.hero .lede { max-width: 40rem; margin: 2.5rem 0 2.5rem; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Moments ---------- */
.moments-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 3rem; }
@media (min-width: 700px) { .moments-grid { grid-template-columns: 1fr 1fr; } }
.moment { border-top: 2px solid var(--gold); padding: 1.35rem 0 2.25rem; }
.moment h3 { font-size: 1.55rem; line-height: 1.2; margin-bottom: .6rem; }
.moment p { margin: 0; color: var(--text-soft); font-size: 1rem; }
.moment-cta { border-top: 1px solid var(--rule); padding: 1.35rem 0 2.25rem; }
.moment-cta p { font-size: 1rem; margin-bottom: 1rem; }

/* ---------- Practices ---------- */
.practices { border-top: 1px solid var(--rule); }
.practices-intro { font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 1.9vw, 1.45rem); line-height: 1.5; color: var(--text); max-width: 40rem; margin: 0; }
.practices .practice-grid { margin-top: clamp(2.5rem, 5vw, 4rem); }
.practice-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
@media (min-width: 900px) {
  .practice-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .practice:first-child { padding-right: 4rem; }
  .practice:last-child { padding-left: 4rem; border-left: 1px solid var(--rule); }
}
@media (max-width: 899px) { .practice { border-top: 2px solid var(--gold); padding-top: 1.75rem; } }
.practice h3 { font-size: clamp(1.75rem, 2.4vw, 2.05rem); line-height: 1.15; font-weight: 600; }
.practice-for { font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.45; margin: .9rem 0 1.2rem; }
.practice-covers { color: var(--text-soft); font-size: .97rem; }
.starts { margin: 1.75rem 0 0; padding: 0; list-style: none; }
.starts .kicker { margin-bottom: .9rem; }
.start { border-top: 1px solid var(--rule); padding: .95rem 0; }
.start strong { display: block; font-weight: 600; font-size: .98rem; }
.start span { display: block; font-size: .92rem; color: var(--text-soft); margin-top: .15rem; }
.practice-note { font-size: .92rem; color: var(--text-soft); margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule); }
.practices-foot { font-size: .9rem; color: var(--text-soft); margin: 2.75rem 0 0; }

/* ---------- Point of view ---------- */
.pov { background: var(--band); color: var(--band-text); }
.pov blockquote { margin: 0; border-left: 3px solid var(--gold-light); padding-left: clamp(1.25rem, 3vw, 2rem); }
.pov blockquote p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.3; margin: 0; max-width: 32ch; }
.pov .after { color: var(--band-soft); margin: 1.6rem 0 0; font-size: 1.02rem; max-width: 36rem; }

/* ---------- Approach ---------- */
.approach-lead { max-width: 38rem; margin-bottom: 1.5rem; }
.prose { max-width: 40rem; }
.prose p { color: var(--text-soft); }
.standard { margin: 2rem 0 2.25rem; }
.standard div { display: grid; grid-template-columns: minmax(0, 1fr); gap: .3rem; padding: 1.2rem 0; border-top: 1px solid var(--rule); }
.standard div:first-child { border-top: 2px solid var(--gold); }
.standard div:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 700px) { .standard div { grid-template-columns: 13rem minmax(0, 1fr); gap: 2rem; } }
.standard dt { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.3; }
.standard dd { margin: 0; color: var(--text-soft); font-size: 1rem; }

/* ---------- Founder ---------- */
.founder { background: var(--panel); }
.portrait { margin: 2rem 0 0; max-width: 17rem; border-top: 2px solid var(--gold); padding-top: 1rem; }
.portrait img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--page); }
.founder-name { font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1.15; margin-bottom: .35rem; }
.founder-title { margin: 0 0 1.75rem; }
.founder h4 { font-family: var(--sans); font-weight: 600; font-size: 1rem; margin: 2rem 0 .75rem; }
.career-note { font-size: .92rem; color: var(--text-soft); border-left: 3px solid var(--gold); padding-left: 1rem; margin: 1.25rem 0 0; }
.credentials { border-top: 1px solid var(--rule); margin-top: 2rem; padding-top: 1.25rem; font-size: .95rem; color: var(--text-soft); }
.credentials p { margin: 0; }

/* ---------- Enquiry ---------- */
.enquire { background: var(--band); color: var(--band-text); }
.enquire .split-head p { color: var(--band-soft); max-width: 22rem; font-size: 1rem; margin-top: 1.1rem; }
.enquire a { color: var(--band-text); }
.enquire-lead { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.5; max-width: 38rem; margin-bottom: 1.5rem; }
.enquire-points { list-style: none; margin: 0 0 2.25rem; padding: 0; max-width: 38rem; border-top: 2px solid var(--gold-light); }
.enquire-points li { border-bottom: 1px solid var(--band-rule); padding: .8rem 0; color: var(--band-soft); font-size: .98rem; }
.enquire-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.enquire-actions .email { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold-light); padding-bottom: .1rem; }
.btn-light { background: var(--gold-light); color: var(--navy); border-color: var(--gold-light); }
.btn-light:hover { background: var(--band-text); border-color: var(--band-text); }
.enquire .btn-light { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--band-soft); padding: 3.75rem 0 2.25rem; font-size: .9rem; }
.site-footer .wordmark { color: var(--band-text); font-size: 1.15rem; }
.site-footer .brand-mark { --mark-a: var(--band-text); --mark-b: var(--gold-light); width: 2.4rem; height: 2.4rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-desc { margin: 1.1rem 0 0; font-size: .82rem; letter-spacing: .03em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--band-text); }
.legal { border-top: 1px solid #26354E; margin-top: 2.75rem; padding-top: 1.5rem; font-size: .8rem; }

/* ---------- Selected work: homepage preview ---------- */
.work-preview { border-top: 1px solid var(--rule); }
.preview-list { margin: 2rem 0 2.25rem; }
.preview-item { border-top: 1px solid var(--rule); padding: 1.25rem 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: .3rem; }
.preview-item:first-child { border-top: 2px solid var(--gold); }
.preview-item:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 700px) { .preview-item { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; align-items: baseline; } }
.preview-item h3 { font-size: 1.4rem; line-height: 1.25; }
.preview-item p { margin: 0; color: var(--text-soft); font-size: .98rem; }

/* ---------- Inner pages ---------- */
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.page-hero { background: var(--hero); padding: clamp(3.75rem, 8vw, 6rem) 0 clamp(3.25rem, 6vw, 4.5rem); }
.page-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); line-height: 1.05; letter-spacing: -.01em; }
.page-hero .hero-rule { margin: 1.75rem 0 1.5rem; }
.page-hero .lede { max-width: 42rem; margin: 0; }
.draft-note { border: 1px dashed var(--gold); background: var(--page); color: var(--text); font-size: .9rem; padding: .9rem 1.1rem; margin: 0 0 2.25rem; max-width: 42rem; }
.draft-note strong { color: var(--accent-text); font-weight: 600; }

.work-entry { padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--rule); }
.work-entry:first-of-type { border-top: 0; }
.work-entry .kicker { margin-bottom: .9rem; }
.work-name { font-size: clamp(1.85rem, 2.9vw, 2.35rem); line-height: 1.12; text-wrap: balance; }
.work-body h3 { font-family: var(--sans); font-weight: 600; font-size: .98rem; margin: 1.75rem 0 .5rem; }
.work-body h3:first-child { margin-top: 0; }
.work-body p { color: var(--text-soft); max-width: 40rem; }
.work-summary { font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 1.9vw, 1.45rem); line-height: 1.5; color: var(--text) !important; }
.deliverables { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2.5rem; max-width: 44rem; }
@media (min-width: 700px) { .deliverables { grid-template-columns: 1fr 1fr; } }
.deliverables li { border-top: 1px solid var(--rule); padding: .7rem 0; font-size: .95rem; }
.work-links { margin: 1.25rem 0 0; font-size: .92rem; }
.work-links a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: .05rem; color: var(--text); }
.work-links a:hover { color: var(--accent-text); }

.work-note { background: var(--panel); }
.work-note .prose p { color: var(--text-soft); }
.cta-band { background: var(--band); color: var(--band-text); }
.cta-band .split-head p { color: var(--band-soft); }
.cta-band p { color: var(--band-soft); max-width: 36rem; }

/* ---------- Mobile refinements (desktop unaffected) ---------- */
@media (max-width: 640px) {
  :root { --gutter: 1.25rem; --section: 3.5rem; }
  .site-header .wrap { min-height: 4rem; gap: .75rem; }
  .brand { gap: .6rem; min-width: 0; flex: 1 1 auto; }
  .brand-mark { width: 2.1rem; height: 2.1rem; }
  .brand-text { min-width: 0; }
  .wordmark { font-size: .95rem; letter-spacing: .1em; }
  .descriptor { font-size: .6rem; letter-spacing: .01em; line-height: 1.35; }
  .nav-toggle { flex-shrink: 0; min-height: 2.75rem; padding: .4rem .8rem; }
  .nav a { min-height: 2.75rem; }

  .hero { padding: 2.5rem 0 3rem; }
  .hero h1 { font-size: clamp(2.15rem, 9.6vw, 2.6rem); line-height: 1.08; }
  .hero-rule { margin: 1.4rem 0 1rem; }
  .hero .kicker { font-size: .68rem; letter-spacing: .14em; }
  .hero .lede { font-size: 1.18rem; line-height: 1.5; margin: 1.4rem 0 1.75rem; }
  .hero-actions { gap: .75rem; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }

  .split { gap: 1.5rem; }
  .split-head .soft { margin-top: .75rem; }
  .moment { padding: 1.1rem 0 1.6rem; }
  .practices .practice-grid { margin-top: 2rem; gap: 2.5rem; }
  .starts { margin-top: 1.25rem; }
  .standard { margin: 1.5rem 0 1.75rem; }
  .portrait { margin-top: 1.25rem; }
  .btn { min-height: 2.75rem; }
  .text-link { display: inline-block; padding: .55rem 0 .15rem; }
  .site-footer { padding: 3rem 0 2rem; }
  .site-footer li { margin-bottom: 0; }
  .site-footer li a { display: inline-block; padding: .55rem 0; }
  .enquire-actions .email { display: inline-block; padding: .55rem 0 .15rem; word-break: break-all; }
  .work-links a { display: inline-block; padding: .45rem 0 .1rem; }
  .page-hero { padding: 2.25rem 0 2.75rem; }
  .page-hero h1 { font-size: clamp(2.15rem, 9.6vw, 2.6rem); line-height: 1.08; }
  .page-hero .hero-rule { margin: 1.25rem 0 1rem; }
  .draft-note { margin-bottom: 1.5rem; }
  .work-entry { padding: 2.75rem 0; }
}
@media (max-width: 374px) {
  :root { --gutter: 1rem; }
  .brand { gap: .5rem; }
  .brand-mark { width: 1.85rem; height: 1.85rem; }
  .wordmark { font-size: .84rem; letter-spacing: .07em; }
  .descriptor { font-size: .56rem; }
  .nav-toggle { padding: .4rem .65rem; font-size: .84rem; }
  .hero h1 { font-size: 2.05rem; }
}
