/* adammills.uk design system
   Warm paper background, ink text, clay accent, moss for the closing band.
   Fraunces (display serif) + Manrope (body). Mobile first, no framework. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("fonts/fraunces-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("fonts/fraunces-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/manrope-normal-latin.woff2") format("woff2"); }

:root {
  --paper: #f7f2ea;
  --paper-2: #efe6d8;
  --card: #fffdf9;
  --ink: #1d1a17;
  --ink-2: #4b453e;
  --muted: #7c7369;
  --line: #dfd3c2;
  --line-soft: #ebe2d4;
  --clay: #c4532b;
  --clay-dark: #9f3f1d;
  --clay-soft: #f4dccf;
  --moss: #2f4f43;
  --moss-dark: #243b32;
  --sand: #e8d8bd;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1140px;
  --gutter: 24px;
  --radius: 20px;
  --shadow: 0 18px 40px -24px rgba(29, 26, 23, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--clay); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s ease; }
a:hover { color: var(--clay-dark); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.12; letter-spacing: -0.012em; margin: 0 0 .5em; color: var(--ink); font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 400; line-height: 1.04; letter-spacing: -0.02em; font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
p:empty { display: none; }
em, i { font-style: italic; }
strong { font-weight: 700; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 780px; }
.wrap--mid { max-width: 920px; }

/* ---------- type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--clay); border-radius: 2px; }
.lead { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 640px; }
.muted { color: var(--muted); }
.serif-em em { font-style: italic; color: var(--clay); font-weight: 400; }
.small { font-size: 14.5px; }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 15.5px; line-height: 1; text-decoration: none; border: 1.5px solid transparent; transition: transform .2s var(--ease), background .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }
.btn--clay { background: var(--clay); color: #fff; border-color: var(--clay); }
.btn--clay:hover { background: var(--clay-dark); border-color: var(--clay-dark); color: #fff; }
.btn--ink { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ink:hover { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--moss-dark); border-color: var(--paper); }
.btn--paper:hover { background: #fff; color: var(--moss-dark); }
.btn--outline-paper { background: transparent; color: var(--paper); border-color: rgba(247, 242, 234, .6); }
.btn--outline-paper:hover { border-color: var(--paper); color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--clay); }
.link-arrow:hover svg { transform: translateX(4px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line-soft); }
.chip--clay { background: var(--clay-soft); color: var(--clay-dark); border-color: transparent; }
.chip--moss { background: #dde7e1; color: var(--moss-dark); border-color: transparent; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(247, 242, 234, .86); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line-soft); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--ink); }
.brand__name { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; font-variation-settings: "opsz" 48; white-space: nowrap; }
.brand__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); transform: translateY(-2px); }
.brand__role { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 599px) { .top .brand__role { display: none; } }
.nav { display: none; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-block; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink-2); transition: background .15s ease, color .15s ease; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--clay); }
.nav .nav__cta a { background: var(--ink); color: var(--paper); margin-left: 6px; }
.nav .nav__cta a:hover { background: var(--clay); color: #fff; }
.top__toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; }
.top__toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s ease; }
.top--open .top__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top--open .top__toggle span:nth-child(2) { opacity: 0; }
.top--open .top__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.top--open .nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.top--open .nav ul { flex-direction: column; gap: 0; padding: 12px var(--gutter) 20px; }
.top--open .nav a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--line-soft); border-radius: 0; font-size: 18px; }
.top--open .nav .nav__cta a { margin: 14px 0 0; text-align: center; border-radius: 999px; border-bottom: 0; }
@media (min-width: 900px) {
  .nav { display: block; }
  .top__toggle { display: none; }
}

/* ---------- hero (home) ---------- */
.hero { padding: 56px 0 40px; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { max-width: 12ch; }
.hero .lead { margin-top: 22px; }
.hero__figure { position: relative; width: 100%; max-width: 460px; margin: 0 auto; }
.arch { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 999px 999px 32px 32px; background: linear-gradient(180deg, var(--sand) 0%, #e2cfae 100%); overflow: hidden; }
.arch::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 60% at 50% 100%, rgba(196, 83, 43, .18), transparent 60%); pointer-events: none; }
.arch img { position: absolute; left: 50%; bottom: 0; width: 108%; max-width: none; transform: translateX(-50%); }
.badge { position: absolute; left: -12px; bottom: 26px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); font-size: 14px; }
.badge strong { display: block; font-family: var(--display); font-size: 22px; line-height: 1; font-weight: 600; }
.badge span { color: var(--muted); }
.badge__pin { width: 34px; height: 34px; border-radius: 50%; background: var(--clay-soft); display: grid; place-items: center; color: var(--clay); }
.badge__pin svg { width: 18px; height: 18px; }
@media (min-width: 860px) {
  .hero { padding: 72px 0 56px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero__figure { margin: 0 0 0 auto; }
}

/* ---------- facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 40px; }
.facts li { list-style: none; padding: 22px 18px; border-bottom: 1px solid var(--line-soft); }
.facts li:nth-child(odd) { border-right: 1px solid var(--line-soft); }
.facts strong { display: block; font-family: var(--display); font-size: 36px; font-weight: 500; line-height: 1; color: var(--ink); margin-bottom: 6px; }
.facts span { font-size: 14px; color: var(--muted); font-weight: 600; }
.facts { padding: 0; margin-left: 0; }
@media (min-width: 720px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li { border-bottom: 0; border-right: 1px solid var(--line-soft); }
  .facts li:last-child { border-right: 0; }
}

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--tint { background: var(--paper-2); }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head h2 { margin-bottom: 14px; }
.section__head p { color: var(--ink-2); font-size: 18px; margin: 0; }
.section__head--split { display: grid; gap: 16px; max-width: none; }
@media (min-width: 860px) {
  .section { padding: 104px 0; }
  .section__head--split { grid-template-columns: 1fr 1fr; align-items: end; }
  .section__head--split p { margin-bottom: 6px; }
}
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- tiles (sectors) ---------- */
.tiles { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.tile { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 24px 24px; transition: transform .25s var(--ease), border-color .2s ease; }
.tile:hover { transform: translateY(-3px); border-color: var(--line); }
.tile__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--clay-soft); color: var(--clay); display: grid; place-items: center; margin-bottom: 18px; }
.tile__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-size: 21px; margin-bottom: 4px; }
.tile__sub { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.tile p { font-size: 15.5px; color: var(--ink-2); margin-bottom: 14px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles--4 { grid-template-columns: repeat(4, 1fr); } .tiles--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- services grid ---------- */
.svcs { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; counter-reset: svc; }
.svc { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 26px 24px; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); transition: transform .25s var(--ease), border-color .2s ease, box-shadow .25s ease; }
.svc:hover { transform: translateY(-3px); border-color: var(--clay); box-shadow: var(--shadow); }
.svc__num { font-family: var(--display); font-style: italic; font-size: 34px; font-weight: 400; color: var(--clay); line-height: 1; padding-top: 4px; min-width: 44px; }
.svc h3 { font-size: 22px; margin-bottom: 8px; }
.svc h3 a { color: inherit; text-decoration: none; }
.svc h3 a::after { content: ""; position: absolute; inset: 0; }
.svc p { font-size: 15.5px; color: var(--ink-2); margin-bottom: 12px; }
.svc__more { font-size: 14px; font-weight: 700; color: var(--clay); display: inline-flex; align-items: center; gap: 6px; }
.svc__more svg { width: 14px; height: 14px; }
@media (min-width: 760px) { .svcs { grid-template-columns: repeat(2, 1fr); } }

/* ---------- about band (home) ---------- */
.aboutband { display: grid; gap: 36px; align-items: center; }
.aboutband__photo { position: relative; width: min(100%, 360px); margin: 0 auto; }
.aboutband__photo img { border-radius: 50%; border: 8px solid var(--card); box-shadow: var(--shadow); }
.aboutband__photo::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px dashed var(--clay); opacity: .5; }
.aboutband blockquote { margin: 0; font-family: var(--display); font-size: clamp(24px, 3vw, 34px); font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; }
.aboutband blockquote em { color: var(--clay); }
.aboutband .sig { width: 120px; margin-top: 22px; opacity: .85; }
.aboutband p { color: var(--ink-2); }
@media (min-width: 860px) { .aboutband { grid-template-columns: 360px 1fr; gap: 64px; } .aboutband__photo { margin: 0; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.quote { position: relative; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px 26px 24px; }
.quote::before { content: "\201C"; position: absolute; top: 10px; right: 20px; font-family: var(--display); font-size: 84px; line-height: 1; color: var(--clay-soft); }
.quote p { font-size: 16.5px; color: var(--ink-2); margin-bottom: 20px; position: relative; }
.quote footer { display: flex; align-items: center; gap: 12px; }
.quote img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote strong { display: block; font-size: 14.5px; }
.quote span { font-size: 13.5px; color: var(--muted); }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(2, 1fr); } }

/* ---------- article rows ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.row__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.row h3 { font-size: 22px; margin: 4px 0 6px; }
.row h3 a { color: inherit; text-decoration: none; }
.row h3 a:hover { color: var(--clay); }
.row p { font-size: 15.5px; color: var(--ink-2); margin: 0; }
.row__sub { font-style: italic; color: var(--ink-2); margin: -4px 0 8px !important; }
@media (min-width: 760px) { .row { grid-template-columns: 200px 1fr; gap: 24px; } .row__meta { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* ---------- call to action band ---------- */
.cta { background: var(--moss); color: var(--paper); padding: 80px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(247, 242, 234, .12), transparent 65%); }
.cta .eyebrow { color: #c9d9cf; }
.cta .eyebrow::before { background: #c9d9cf; }
.cta h2 { color: #fff; max-width: 16ch; }
.cta p { color: rgba(247, 242, 234, .82); max-width: 560px; font-size: 18px; }
.cta a:not(.btn) { color: #fff; }
@media (min-width: 860px) { .cta { padding: 104px 0; } .cta__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; } .cta__grid .actions { justify-content: flex-end; margin-top: 0; } }

/* ---------- footer ---------- */
.foot { background: var(--paper-2); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 15px; }
.foot__grid { display: grid; gap: 32px; }
.foot__brand .brand__name { font-size: 28px; }
.foot__blurb { color: var(--ink-2); max-width: 300px; margin: 12px 0 16px; }
.foot h4 { font-family: var(--body); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--clay); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); transition: background .15s ease, color .15s ease, border-color .15s ease; }
.social a:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.foot__bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot__bottom button { background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.foot__bottom .sep { margin: 0 8px; opacity: .5; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }

/* ---------- inner page head ---------- */
.crumbs { font-size: 13.5px; color: var(--muted); margin: 0 0 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--clay); }
.crumbs span { margin: 0 8px; opacity: .6; }
.page-head { padding: 48px 0 40px; }
.page-head h1 { max-width: 18ch; }
.page-head .lead { margin-top: 18px; max-width: 700px; }
.page-head--grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 860px) { .page-head { padding: 72px 0 56px; } .page-head--grid { grid-template-columns: 1fr auto; } }
.bignum { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(96px, 16vw, 180px); line-height: .8; color: var(--clay-soft); user-select: none; }

/* ---------- numbered list (service covers) ---------- */
.numbered { display: grid; gap: 4px 40px; list-style: none; margin: 0; padding: 0; counter-reset: n; }
.numbered li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.numbered li::before { counter-increment: n; content: counter(n, decimal-leading-zero) "."; font-family: var(--display); font-style: italic; font-size: 22px; color: var(--clay); line-height: 1.2; }
.numbered h3 { font-size: 20px; margin-bottom: 6px; }
.numbered p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
@media (min-width: 760px) { .numbered { grid-template-columns: repeat(2, 1fr); } }

/* ---------- steps ---------- */
.steps { display: grid; gap: 22px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { padding-top: 18px; border-top: 2px solid var(--ink); }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; font-family: var(--display); font-style: italic; font-size: 20px; color: var(--clay); margin-bottom: 10px; }
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--ink-2); margin: 0; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- two columns (context) ---------- */
.cols { display: grid; gap: 40px; }
@media (min-width: 860px) { .cols { grid-template-columns: 1fr 1fr; gap: 64px; } }
.sectors { list-style: none; margin: 0; padding: 0; }
.sectors li { padding: 16px 0 16px 22px; border-top: 1px solid var(--line); position: relative; }
.sectors li::before { content: ""; position: absolute; left: 0; top: 26px; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); }
.sectors strong { display: block; font-family: var(--display); font-size: 19px; font-weight: 500; margin-bottom: 4px; }
.sectors span { font-size: 15px; color: var(--ink-2); }
.proof { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.proof a { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; background: var(--card); border: 1px solid var(--line-soft); border-left: 4px solid var(--clay); border-radius: 14px; text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), border-color .2s ease; }
.proof a:hover { transform: translateX(4px); border-color: var(--clay); }
.proof strong { display: block; font-family: var(--display); font-size: 18px; font-weight: 500; }
.proof span { font-size: 14px; color: var(--ink-2); }
.proof svg { width: 18px; height: 18px; color: var(--clay); }
.reading { list-style: none; margin: 0; padding: 0; }
.reading li { padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 15.5px; }
.reading a { color: var(--ink); text-decoration: none; }
.reading a:hover { color: var(--clay); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pills a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px; transition: border-color .15s ease, background .15s ease; }
.pills a:hover { border-color: var(--clay); background: var(--clay-soft); }
.pills small { font-family: var(--display); font-style: italic; color: var(--clay); font-size: 14px; }

/* ---------- experience cases ---------- */
.group-head { display: grid; gap: 12px; margin-bottom: 28px; }
.group-head h2 { margin: 0; }
.group-head p { color: var(--ink-2); margin: 0; max-width: 520px; }
@media (min-width: 860px) { .group-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.cases { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.case { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 26px; display: grid; gap: 18px; scroll-margin-top: 90px; }
.case__aside { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.case__num { font-family: var(--display); font-style: italic; font-size: 28px; color: var(--clay); line-height: 1; margin-right: 6px; }
.case h3 { font-size: 24px; margin: 0 0 8px; }
.case__lead { font-size: 17px; color: var(--ink); font-weight: 600; }
.case p { font-size: 15.5px; color: var(--ink-2); }
.outcome { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; padding: 14px 16px; background: var(--paper); border-radius: 12px; font-size: 15px; }
.outcome svg { width: 22px; height: 22px; color: var(--moss); }
.outcome p { margin: 0; color: var(--ink); }
@media (min-width: 860px) { .case { grid-template-columns: 220px 1fr; gap: 32px; } .case__aside { flex-direction: column; align-items: flex-start; } }
.approach { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.approach li { padding: 22px 24px; background: var(--card); border-radius: 16px; border: 1px solid var(--line-soft); }
.approach h3 { font-size: 20px; margin-bottom: 6px; }
.approach p { margin: 0; font-size: 15px; color: var(--ink-2); }
@media (min-width: 760px) { .approach { grid-template-columns: repeat(3, 1fr); } }

/* ---------- projects ---------- */
.projects { display: grid; gap: 22px; list-style: none; margin: 0; padding: 0; }
.project { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.project__shot { aspect-ratio: 1200 / 759; background: var(--paper-2); border-bottom: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.project__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.project:hover .project__shot img { transform: scale(1.03); }
.project__ph { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--muted); font-family: var(--display); font-size: 26px; }
.project__ph small { display: block; font-family: var(--body); font-size: 13px; margin-top: 6px; }
.project__body { padding: 24px 24px 26px; display: grid; gap: 10px; }
.project__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.project__host { font-size: 13px; color: var(--muted); font-weight: 700; }
.project h2 { font-size: 26px; margin: 0; }
.project h2 a { color: inherit; text-decoration: none; }
.project h2 a:hover { color: var(--clay); }
.project__lead { font-weight: 600; margin: 0; }
.project p { font-size: 15.5px; color: var(--ink-2); margin: 0; }
.project__did { font-size: 14px; color: var(--muted); }
.project__did strong { color: var(--ink); }
@media (min-width: 760px) { .projects { grid-template-columns: repeat(2, 1fr); } }

/* ---------- articles index ---------- */
.featured { display: grid; gap: 22px; background: var(--card); border: 1px solid var(--line-soft); border-radius: 24px; padding: 32px 28px; margin-bottom: 56px; }
.featured h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 8px 0 12px; }
.featured h2 a { color: inherit; text-decoration: none; }
.featured h2 a:hover { color: var(--clay); }
.featured__why { font-family: var(--display); font-style: italic; font-size: 18px; color: var(--ink-2); }
.featured p { color: var(--ink-2); font-size: 16px; }
@media (min-width: 860px) { .featured { grid-template-columns: 260px 1fr; gap: 40px; padding: 40px; } }
.topics { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; }
.topics a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; }
.topics a:hover { border-color: var(--clay); color: var(--clay); }
.topics small { background: var(--clay-soft); color: var(--clay-dark); padding: 1px 8px; border-radius: 999px; font-size: 12px; }

/* ---------- article page ---------- */
.article-head { padding: 48px 0 32px; }
.article-head h1 { max-width: 22ch; font-size: clamp(34px, 5vw, 56px); }
.article-head .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--muted); font-weight: 600; margin-top: 18px; }
.article-head .meta a { color: var(--ink); text-decoration: none; }
.prose { font-size: 17.5px; line-height: 1.75; }
.prose > * + * { margin-top: 1.15em; }
.prose h2, .prose .blk-heading { font-size: clamp(24px, 3vw, 32px); margin-top: 2em; }
.prose h3 { font-size: 22px; margin-top: 1.6em; }
.prose p { margin: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--clay); }
.prose blockquote { margin: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--clay); font-family: var(--display); font-size: 21px; color: var(--ink-2); }
.prose figure { margin: 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose img { border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.prose tbody th { font-weight: 700; }
.prose .blk-table { overflow-x: auto; }
.prose code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--ink); color: var(--paper); padding: 18px 20px; border-radius: 14px; overflow-x: auto; }
.prose pre code { background: none; color: inherit; padding: 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.prose iframe { border-radius: 14px; }
.prose > div[style*="padding-top: 56.25%"] { border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 700; }
.share a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.share a:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
.share svg { width: 16px; height: 16px; fill: currentColor; }
.author { display: flex; gap: 18px; align-items: center; margin-top: 40px; padding: 22px 24px; background: var(--card); border: 1px solid var(--line-soft); border-radius: 18px; }
.author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.author strong { font-family: var(--display); font-size: 19px; font-weight: 500; display: block; }
.author p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }
.related { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.related li { background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; padding: 20px; }
.related small { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); font-weight: 800; margin-bottom: 8px; }
.related h3 { font-size: 19px; margin-bottom: 8px; }
.related h3 a { color: inherit; text-decoration: none; }
.related h3 a:hover { color: var(--clay); }
.related p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; }
.pager a { text-decoration: none; color: var(--ink); font-weight: 700; max-width: 48%; }
.pager a:hover { color: var(--clay); }
.pager small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }

/* ---------- about page ---------- */
.about-intro { display: grid; gap: 36px; align-items: start; }
.about-intro__photo img { border-radius: 24px 24px 120px 24px; }
.about-intro__text p { font-size: 17.5px; color: var(--ink-2); }
.about-intro__text p:first-child { font-size: 20px; color: var(--ink); }
@media (min-width: 860px) { .about-intro { grid-template-columns: 380px 1fr; gap: 64px; } .about-intro__photo { position: sticky; top: 96px; } }
.habits { display: grid; gap: 22px; list-style: none; margin: 0; padding: 0; counter-reset: h; }
.habits li { padding: 24px; background: var(--card); border: 1px solid var(--line-soft); border-radius: 18px; }
.habits li::before { counter-increment: h; content: "0" counter(h); font-family: var(--display); font-style: italic; color: var(--clay); font-size: 20px; display: block; margin-bottom: 10px; }
.habits h3 { font-size: 20px; margin-bottom: 6px; }
.habits p { margin: 0; font-size: 15px; color: var(--ink-2); }
@media (min-width: 720px) { .habits { grid-template-columns: repeat(2, 1fr); } }
.pullquote { display: grid; gap: 28px; align-items: center; }
.pullquote img { width: min(100%, 300px); border-radius: 50%; margin: 0 auto; filter: grayscale(1); }
.pullquote blockquote { margin: 0; font-family: var(--display); font-size: clamp(24px, 3vw, 34px); line-height: 1.25; font-weight: 400; }
.pullquote blockquote em { color: var(--clay); }
@media (min-width: 860px) { .pullquote { grid-template-columns: 300px 1fr; gap: 56px; } .pullquote img { margin: 0; } }

/* ---------- contact ---------- */
.contact { display: grid; gap: 40px; }
.contact dl { margin: 0; display: grid; gap: 0; }
.contact dt { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 20px; }
.contact dd { margin: 6px 0 20px; font-size: 20px; font-family: var(--display); font-weight: 500; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.contact dd a { color: var(--ink); text-decoration: none; }
.contact dd a:hover { color: var(--clay); }
.contact dd small { display: block; font-family: var(--body); font-size: 15px; font-weight: 400; color: var(--ink-2); margin-top: 4px; }
.card { background: var(--card); border: 1px solid var(--line-soft); border-radius: 24px; padding: 30px 28px; }
.card h2 { font-size: 28px; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15.5px; }
.ticks svg { width: 20px; height: 20px; color: var(--moss); margin-top: 3px; }
@media (min-width: 860px) { .contact { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- privacy / plain page ---------- */
.plain { font-size: 16.5px; }
.plain h2 { font-size: 26px; margin-top: 1.8em; }
.plain table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.plain th, .plain td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.plain thead th { border-bottom: 2px solid var(--ink); }
.plain code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.plain button.consent-open { background: none; border: 0; padding: 0; font: inherit; color: var(--clay); text-decoration: underline; cursor: pointer; }

/* ---------- consent banner ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: 0 24px 50px -20px rgba(29, 26, 23, .45); font-size: 14.5px; }
.consent h2 { font-size: 18px; margin-bottom: 6px; }
.consent p { margin: 0 0 12px; color: var(--ink-2); }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent__btn { padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); }
.consent__btn--reject { background: transparent; color: var(--ink); }
.consent__status { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
@media (min-width: 600px) { .consent { left: 24px; right: auto; bottom: 24px; } }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 60px 0; }
.nf .bignum { color: var(--clay-soft); }
