@font-face{font-family:'Young Serif';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/young-serif-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Figtree';font-style:normal;font-weight:300 900;font-display:swap;src:url(/fonts/figtree-latin-wght-normal.woff2) format('woff2')}
@font-face{font-family:'Figtree';font-style:italic;font-weight:300 900;font-display:swap;src:url(/fonts/figtree-latin-wght-italic.woff2) format('woff2')}
/* Thala: Look 1 layout, T5 type (Young Serif + Figtree), palette P2 (tracing paper and ink).
   Change the look from the tokens at the top; everything below reads them. */

:root {
  --bg: #eceee8;          /* tracing paper */
  --ink: #1d2f4e;         /* ink */
  --soft: #44536b;        /* pencil: secondary text */
  --accent: #a8411a;      /* rust */
  --panel: #f5f6f1;
  --line: #c3ccc8;
  --photo: #d3dad6;
  --foot: #16243d;
  --on-foot: #e3e7e1;
  --foot-soft: #a9b4c2;
  --foot-line: #33445f;

  --serif: 'Young Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 5.5vw, 80px);
  --max: 1280px;
  --space: clamp(64px, 9vw, 104px);   /* between sections */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--soft); }
.accent { color: var(--accent); }

.skip-link { position: absolute; left: 12px; top: -48px; padding: 10px 14px; background: var(--ink); color: var(--bg); z-index: 10; }
.skip-link:focus { top: 12px; color: var(--bg); }

/* ---------- type ---------- */

.display-1, .display-page, .display-2, .display-3, .display-4, .brand, .site-footer__name {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
}
.display-1 { font-size: clamp(2.55rem, 1.2rem + 5.4vw, 5.375rem); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; max-width: 1090px; }
.display-page { font-size: clamp(2.3rem, 1.2rem + 4.2vw, 4.75rem); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; max-width: 1040px; }
.display-2 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.5rem); line-height: 1.06; }
.display-3 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1.1; text-wrap: balance; }
.display-4 { font-size: clamp(1.5rem, 1.25rem + 0.7vw, 2.125rem); line-height: 1.12; text-wrap: balance; }

.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
  line-height: 1.4;
}
.label--accent { color: var(--accent); }
.label--spacer { color: transparent; }

.lede { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.4375rem); line-height: 1.55; }
.text-link { font-weight: 600; color: var(--accent); }
.text-link--small { font-size: 15px; }

.prose { display: flex; flex-direction: column; gap: 1em; }
.prose p { line-height: 1.7; }
.prose a { color: var(--accent); }
.prose--large { font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem); }
.stress { font-style: italic; font-size: 1.15em; line-height: 1; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: none;
  background: var(--ink);
  color: var(--bg);
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--accent); color: var(--bg); }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}
.tag--dashed { border-style: dashed; border-color: var(--soft); color: var(--soft); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 13px; }

/* ---------- masthead ---------- */

.masthead { padding-top: clamp(18px, 3vw, 44px); display: flex; flex-direction: column; gap: 12px; }
.masthead__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { font-size: clamp(27px, 2.4vw, 34px); text-decoration: none; }
.nav { display: flex; gap: 40px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.nav a { text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a[aria-current='page'] { color: var(--accent); border-bottom-color: var(--accent); }
.rule-double { height: 3px; border-top: 1px solid var(--ink); border-bottom: 2px solid var(--ink); }
.masthead__meta { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--soft); }
.masthead__work { text-decoration-color: var(--line); }
.masthead__work:hover, .masthead__work[aria-current='page'] { color: var(--accent); text-decoration-color: currentColor; }

.menu { position: relative; display: none; }
.menu summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.nav--menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 5;
  flex-direction: column;
  gap: 0;
  min-width: 220px;
  padding: 8px 18px;
  background: var(--panel);
  border: 1px solid var(--ink);
}
.nav--menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
.nav--menu a:last-child { border-bottom: none; }

@media (max-width: 760px) {
  .nav--wide { display: none; }
  .menu { display: block; }
  .masthead__meta { flex-direction: column; gap: 2px; font-size: 13px; }
  .masthead__work { order: 2; }
}

/* ---------- home ---------- */

.hero { padding-top: clamp(40px, 7vw, 84px); display: flex; flex-direction: column; gap: clamp(28px, 4vw, 52px); }
.hero__grid { display: grid; gap: 40px; }
.hero__lede { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero__made { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding-top: 12px; border-top: 1px solid var(--ink); }
.hero__made .leaders { align-self: stretch; }
.hero__now { margin-top: 14px; font-size: 15px; line-height: 1.55; }
.hero__now .label { margin-right: 6px; }

.leaders li { display: flex; align-items: baseline; gap: 8px; min-height: 44px; padding-block: 4px; }
.leaders li > a:first-child { text-decoration-color: var(--line); }
.leaders li > a:first-child:hover { text-decoration-color: currentColor; }
.leaders__dots { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--soft); }
.leaders__status { font-size: 15px; color: var(--soft); white-space: nowrap; }
a.leaders__status { color: var(--accent); text-decoration: none; }
a.leaders__status:hover { text-decoration: underline; }

.services { margin-top: var(--space); display: grid; gap: 40px; }
.services > * { display: flex; flex-direction: column; gap: 12px; }
.services__item { padding-top: 28px; border-top: 1px solid var(--ink); }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .hero__lede { grid-column: span 6; }
  .hero__made { grid-column: 8 / span 5; }
  .leaders li { min-height: 34px; }
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
    padding-top: 30px;
    /* a rule across the content width only, not the gutters */
    background: linear-gradient(var(--ink), var(--ink)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  }
  .services__item { padding-top: 0; border-top: none; max-width: 34em; }
}
@media (max-width: 899px) {
  .label--spacer { display: none; }
}

/* ---------- contact ---------- */

.contact { margin-top: var(--space); display: flex; flex-direction: column; gap: 40px; }
.contact__head { display: flex; flex-direction: column; gap: 12px; }
.contact__grid { display: grid; gap: 40px; align-items: start; }
.contact__next { display: flex; flex-direction: column; gap: 22px; padding-top: 18px; border-top: 1px solid var(--ink); }
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 20px; }
.steps li { counter-increment: step; display: flex; gap: 18px; line-height: 1.55; }
.steps li::before { content: counter(step); flex: none; font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--accent); }

.form { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 32px); background: var(--panel); border: 1px solid var(--line); }
.form__row { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--soft);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}
.field textarea { min-height: 120px; resize: vertical; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; justify-content: flex-end; }
.contact__email { padding-top: 18px; border-top: 1px solid var(--line); font-size: 19px; }
.contact__email a { color: var(--accent); font-weight: 600; }
.contact__head .lede { max-width: 34em; }
.writing__also { color: var(--soft); }
.writing__also a { color: inherit; text-decoration-color: var(--line); }
.writing__also a:hover { color: var(--ink); text-decoration-color: currentColor; }

@media (min-width: 900px) {
  .contact__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .contact__next { grid-column: span 5; }
  .form { grid-column: 7 / span 6; }
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- inner pages ---------- */

.page-head { padding-top: clamp(40px, 6vw, 76px); display: flex; flex-direction: column; gap: 22px; }
.page-head .lede { max-width: 780px; }
.page-head--simple { min-height: 50vh; }
.page-head--simple .prose { max-width: 720px; }

.closing {
  margin-top: var(--space);
  padding-block: 40px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px 32px;
}
.closing__text { font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); line-height: 1.2; max-width: 820px; text-wrap: balance; }

/* ---------- work with us ---------- */

.terms { margin-top: clamp(40px, 5vw, 56px); display: grid; gap: 0 24px; border-top: 2px solid var(--ink); }
.terms__item { display: flex; flex-direction: column; gap: 6px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.terms dt { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.terms dd { font-size: 16px; line-height: 1.55; }
.terms dd a, .area a, .apply a { color: var(--accent); }
.area__likely { display: flex; flex-direction: column; gap: 10px; }
.area__list { display: flex; flex-direction: column; gap: 8px; }
.area__list li { position: relative; padding-left: 22px; line-height: 1.6; }
.area__list li::before { content: '–'; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.area__note { padding: 14px 16px; background: var(--panel); border-left: 2px solid var(--accent); font-size: 16px; line-height: 1.55; }
.area__send { padding-top: 14px; border-top: 1px solid var(--line); line-height: 1.6; }
.area__send .label { margin-right: 6px; }
.apply__note { padding-top: 16px; border-top: 1px solid var(--line); color: var(--soft); font-size: 16px; }
.apply__send { display: flex; flex-direction: column; gap: 20px; padding-top: 18px; border-top: 1px solid var(--ink); }
.apply__email { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.15; overflow-wrap: anywhere; }
.apply__small { display: flex; flex-direction: column; gap: 10px; color: var(--soft); font-size: 15px; line-height: 1.55; max-width: 36em; }
.apply__reviewed { font-size: 14px; }
.people__note { color: var(--soft); }
.people__note a { color: var(--accent); font-weight: 600; }

@media (min-width: 700px) {
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .terms { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .apply__send { grid-column: 7 / span 6; }
}

/* ---------- where we stand ---------- */

.principles { margin-top: clamp(56px, 7vw, 88px); }
.principles > .label { padding-bottom: 14px; }
.principle { display: grid; grid-template-columns: 48px 1fr; gap: 8px 20px; align-items: baseline; padding-block: 26px; border-top: 1px solid var(--line); }
.principle:first-child { border-top-color: var(--ink); }
.principle:last-child { border-bottom: 1px solid var(--ink); }
.principle__n { grid-row: span 2; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--accent); }
.principle p { font-size: 18px; }

.note { margin-top: var(--space); display: grid; gap: 28px; }
.note__side { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.note__body { display: flex; flex-direction: column; gap: 40px; }
.note__writing { display: flex; flex-direction: column; gap: 12px; }

.writing__list li { border-top: 1px solid var(--line); }
.writing__list li:first-child { border-top-color: var(--ink); }
.writing__list li:last-child { border-bottom: 1px solid var(--line); }
.writing__item { display: grid; gap: 4px 20px; padding-block: 14px; text-decoration: none; font-size: 16px; line-height: 1.55; }
.writing__name { font-family: var(--serif); font-size: 21px; line-height: 1.3; }

.people { margin-top: var(--space); display: flex; flex-direction: column; gap: 28px; }
#people-heading { scroll-margin-top: 24px; }
.person__photo--empty { display: flex; align-items: center; justify-content: center; color: var(--soft); font-family: var(--serif); }
.role { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.person .person__links { color: var(--soft); font-size: 15px; }

.people__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.people__controls { display: flex; gap: 12px; }
.people__controls[hidden] { display: none; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.icon-button--solid { background: var(--ink); color: var(--bg); }
.icon-button:disabled { opacity: 0.35; cursor: default; }
/* One card and a hint of the next on a phone; two and a hint of a third from 700px. */
.people__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  column-gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 10px;
}
.people__track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.person { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.4vw, 28px); background: var(--panel); border: 1px solid var(--line); }
.person__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--photo); }
.person__photo--empty span { font-size: 26px; }
.person__name { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; margin-top: 4px; }
.person p { font-size: 16px; }
/* Cards in a row share a height; each line sits centred in the space under the role. */
.person__line { margin-block: auto; }

.how { margin-top: var(--space); display: flex; flex-direction: column; gap: 22px; }
.how__list { display: grid; gap: 0 48px; border-top: 2px solid var(--ink); }
.how__list li { padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.55; }
.how__list strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.25; }

.clients { margin-top: var(--space); display: grid; gap: 32px; align-items: start; }
.clients__main { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; border-top: 1px solid var(--ink); }
.clients__main .lede { max-width: 34em; }
.clients__not { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--ink); }
.clients__not-line { font-family: var(--serif); font-size: 22px; line-height: 1.3; }

@media (min-width: 700px) {
  .people__track { grid-auto-columns: calc((100% - 48px) / 2.3); }
}

@media (min-width: 900px) {
  .principle { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .principle__n { grid-column: span 1; grid-row: auto; }
  .principle h3 { grid-column: span 5; }
  .principle p { grid-column: span 6; }
  .note { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .note__side { grid-column: span 4; }
  .note__body { grid-column: 6 / span 7; }
  .writing__item { grid-template-columns: 200px 1fr; }
  .how__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .clients__main { grid-column: span 7; }
  .clients__not { grid-column: 9 / span 4; }
}

/* ---------- what we do ---------- */

.offer { margin-top: clamp(56px, 7vw, 80px); display: grid; gap: 40px; }
.offer__item { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 2px solid var(--ink); }
.offer__text { font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem); }

.cases { display: flex; flex-direction: column; }
.case { margin-top: clamp(56px, 7vw, 80px); padding-top: 26px; border-top: 2px solid var(--ink); scroll-margin-top: 24px; }
.case__grid { display: grid; gap: 28px; }
.case__head, .case__side, .case__main { display: flex; flex-direction: column; gap: 16px; }
.case__head { gap: 10px; }
.case__main { gap: 18px; }
.case__kicker-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); text-wrap: balance; }
.pill { padding: 3px 10px; border: 1px solid var(--ink); border-radius: 999px; font-size: 12px; font-weight: 600; }
.case__title { font-family: var(--serif); font-size: 22px; }
.case__standfirst { font-size: clamp(1.1875rem, 1.05rem + 0.45vw, 1.3125rem); line-height: 1.5; color: var(--soft); }
.case__main .prose { font-size: 17px; }
.case__links { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 6px; font-size: 16px; }

.facts { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.facts__row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); padding-top: 2px; }
.facts dd { font-size: 15px; line-height: 1.5; }

.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__value { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--accent); }
.stat__label { font-size: 15px; line-height: 1.45; max-width: 30ch; }

.case__figure { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.case__figure img { width: 100%; height: auto; border: 1px solid var(--line); }
.case__figure figcaption { font-size: 14px; line-height: 1.45; color: var(--soft); }
.placeholder { display: flex; align-items: flex-end; min-height: 200px; margin-top: 8px; padding: 14px 16px; background: var(--photo); color: var(--ink); font-size: 13px; }

@media (min-width: 900px) {
  .offer { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  /* the head and facts share the left column; the 1fr row stops a gap opening under the head */
  .case__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: 24px; row-gap: 24px; align-items: start; }
  .case__head { grid-column: 1 / span 4; grid-row: 1; }
  .case__side { grid-column: 1 / span 4; grid-row: 2; }
  .case__main { grid-column: 6 / span 7; grid-row: 1 / span 2; }
}

/* ---------- footer ---------- */

.site-footer { margin-top: var(--space); padding-block: 48px 40px; background: var(--foot); color: var(--on-foot); font-size: 14px; line-height: 1.6; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .label, .site-footer .muted { color: var(--foot-soft); }
.site-footer__grid { display: grid; gap: 28px; }
.site-footer__brand, .site-footer__col { display: flex; flex-direction: column; gap: 4px; }
.site-footer__name { font-size: 30px; line-height: 1.1; margin-bottom: 4px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--foot-line); font-size: 13px; color: var(--foot-soft); }
.site-footer__base a { color: var(--foot-soft); }
.site-footer__more { margin-top: 8px; font-weight: 600; }

@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 2fr; gap: 32px; }
}

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