/* The Brand Ladders, design-180: the Portland mode.
   White page, near-black ink, one light serif set very large, sentence case, hairlines and round ends.
   Loud by scale, never by weight or colour. */
:root {
  --bg: #ffffff;
  --bg-alt: #f3f3f0;
  --ink: #141414;
  --soft: #595954;
  --hair: rgba(20, 20, 20, .16);
  --font: Fraunces, "Iowan Old Style", Georgia, serif;
  --gutter: clamp(1rem, 4.5vw, 3.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 360 1.125rem/1.6 var(--font); font-optical-sizing: auto; font-variation-settings: "SOFT" 50; }
h1, h2, h3 { margin: 0 0 .45em; font-weight: 300; line-height: 1; letter-spacing: -.02em; overflow-wrap: break-word; text-wrap: balance; font-variation-settings: "SOFT" 100, "opsz" 144; }
h1 { font-size: clamp(3.1rem, 10.5vw, 10.5rem); line-height: .96; }
h2 { font-size: clamp(2.3rem, 5.6vw, 5.4rem); }
h3 { font-size: clamp(1.45rem, 2.3vw, 1.9rem); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; font-variation-settings: "SOFT" 100, "opsz" 48; }
em { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
p { margin: 0 0 1em; max-width: 60ch; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.container { width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--bg); padding: .7rem 1rem; border-radius: 99px; }
.skip-link:focus { top: 1rem; }
.section { padding: clamp(5rem, 12vw, 10rem) 0; }
.section.tight { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.footnote, .aside { font-size: .95rem; color: var(--soft); }
.aside { font-style: italic; }
.text-link { display: inline-block; margin-top: 1.75rem; font-style: italic; }

/* Buttons: soft pills */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .8rem 1.6rem; border: 1px solid var(--ink); border-radius: 99px; font: 450 1.05rem/1.1 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.button.primary, .button.light { background: var(--ink); color: var(--bg); }
.button.primary:hover, .button.light:hover { background: transparent; color: var(--ink); }
.button.secondary, .button.outline-light { background: transparent; color: var(--ink); }
.button.secondary:hover, .button.outline-light:hover { background: var(--ink); color: var(--bg); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; border-bottom: 1px solid var(--hair); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo-mark { width: 15px; height: 38px; flex: none; margin-right: .2rem; }
.logo-mark path, .drawn-ladder path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* With JS, the hero ladder itself travels into the header: the header's copy just marks the spot. */
.ladder-travel .header .logo-mark { visibility: hidden; }
.ladder-travel .drawn-ladder { position: fixed; left: 0; top: 0; z-index: 60; transform-origin: 50% 0; }
.ladder-travel:has(#navigation.open) .drawn-ladder { z-index: 40; }
.ladder-travel:has(#navigation.open) .header .logo-mark { visibility: visible; }
.logo-text { font-size: 1.3rem; font-weight: 400; letter-spacing: -.01em; white-space: nowrap; }
.logo-text em { font-weight: 300; }
#navigation { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.4rem; }
#navigation a { padding: .5rem 0; text-decoration: none; }
#navigation a:hover, #navigation a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; }
#navigation .nav-cta { padding: .55rem 1.2rem; border: 1px solid var(--ink); border-radius: 99px; }
#navigation .nav-cta:hover, #navigation .nav-cta[aria-current="page"] { background: var(--ink); color: var(--bg); text-decoration: none; }
.menu-toggle { display: none; min-height: 44px; padding: .5rem 1.2rem; border: 1px solid var(--ink); border-radius: 99px; background: transparent; font: 450 1rem var(--font); color: var(--ink); cursor: pointer; }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav-wrap { position: relative; }
  #navigation { display: none; position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.5rem; background: var(--bg); border-bottom: 1px solid var(--hair); }
  #navigation.open { display: flex; }
  #navigation a { padding: .85rem 0; font-size: 2rem; font-weight: 300; border-bottom: 1px solid var(--hair); }
  #navigation .nav-cta { margin-top: 1.25rem; padding: .9rem 1rem; text-align: center; font-size: 1.15rem; font-weight: 450; }
}
@media (max-width: 380px) { .logo-text { font-size: 1.1rem; } .menu-toggle { padding: .4rem .9rem; } }

/* Hero: one sentence, very large, and a ladder drawn by hand */
.hero { padding: clamp(3.5rem, 9vw, 8rem) 0 clamp(4rem, 9vw, 8rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(6rem, 13vw, 12rem); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: end; }
.hero h1 { margin: 0; max-width: 12ch; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 34rem) auto; gap: 1.5rem 3rem; align-items: end; justify-content: space-between; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.hero-foot p { font-size: clamp(1.15rem, 1.6vw, 1.35rem); margin: 0; }
.ladder-slot { display: block; aspect-ratio: 100 / 260; }
.drawn-ladder { display: block; width: 100%; height: auto; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .drawn-ladder path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s cubic-bezier(.6, .1, .3, 1) forwards; }
  .drawn-ladder path:nth-child(2) { animation-delay: .25s; }
  .drawn-ladder path:nth-child(n+3) { animation-duration: .5s; }
  .drawn-ladder path:nth-child(3) { animation-delay: .9s; } .drawn-ladder path:nth-child(4) { animation-delay: 1.05s; } .drawn-ladder path:nth-child(5) { animation-delay: 1.2s; }
  .drawn-ladder path:nth-child(6) { animation-delay: 1.35s; } .drawn-ladder path:nth-child(7) { animation-delay: 1.5s; } .drawn-ladder path:nth-child(8) { animation-delay: 1.65s; }
  /* Drop the dash pattern once drawn: it breaks into dots when the ladder shrinks into the header. */
  @keyframes draw { 99.9% { stroke-dasharray: 1; stroke-dashoffset: 0; } to { stroke-dasharray: none; stroke-dashoffset: 0; } }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: max(3.1rem, 15vw); }
  .ladder-slot { order: -1; width: 4.5rem; }
  .hero-foot { grid-template-columns: 1fr; }
}

/* Page heads */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 1.5rem; font-size: .95rem; color: var(--soft); }
.page-hero { padding-block: clamp(2.5rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem); }
.page-hero h1 { font-size: clamp(3rem, 8.5vw, 8rem); max-width: 14ch; }
.page-hero > p, .lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
.split-head { display: grid; grid-template-columns: 5fr 7fr; gap: 1.5rem 5rem; align-items: start; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.split-head > p { font-size: 1.2rem; margin-top: .6rem; color: var(--soft); }
.split-head:only-child { margin-bottom: 0; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } }

/* Manifesto: the argument set as one big paragraph */
.manifesto h2 { max-width: 16ch; }
.manifesto-body { columns: 2 22rem; column-gap: 4rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.manifesto-body p { font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.5; break-inside: avoid; }

/* Services: a sentence, not a grid */
.run-in { font-size: clamp(2rem, 4.6vw, 4.4rem); font-weight: 300; line-height: 1.12; letter-spacing: -.02em; max-width: none; font-variation-settings: "SOFT" 100, "opsz" 144; }
.run-in + .run-in { margin-top: clamp(1.5rem, 4vw, 3rem); }
.run-in .lead { font-style: italic; color: var(--soft); }
.run-in a { text-decoration-thickness: 1px; text-underline-offset: .12em; text-decoration-color: var(--hair); transition: text-decoration-color .2s; }
.run-in a:hover { text-decoration-color: var(--ink); }
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.index a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: .25rem 2rem; align-items: baseline; padding: 1.3rem 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.index strong { font-weight: 300; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.05; letter-spacing: -.015em; font-variation-settings: "SOFT" 100, "opsz" 144; }
.index span { color: var(--soft); }
.index a:hover strong { font-style: italic; }
.index-groups { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.index-groups h3, .group-title { font-size: 1.1rem; font-style: italic; font-weight: 400; color: var(--soft); letter-spacing: 0; margin: 0 0 1rem; }
@media (max-width: 640px) { .index a { grid-template-columns: 1fr; } }

/* Restaurant band: a quiet grey panel, same ink */
.poster { background: var(--bg-alt); padding: clamp(5rem, 12vw, 10rem) 0; }
.poster h2 { font-size: clamp(2.8rem, 8vw, 8rem); max-width: 13ch; }
.poster-body { display: grid; grid-template-columns: minmax(0, 36rem) auto; gap: 2rem 4rem; align-items: end; justify-content: space-between; margin-top: clamp(1.5rem, 4vw, 3rem); }
.poster p { font-size: 1.2rem; }
@media (max-width: 860px) { .poster-body { grid-template-columns: 1fr; } }

/* The climb: a numbered list of italic rungs */
.ladder { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.ladder li { display: grid; grid-template-columns: clamp(3.5rem, 9vw, 8rem) minmax(0, 4fr) minmax(0, 6fr); gap: .25rem 2rem; align-items: baseline; padding: clamp(1.25rem, 3vw, 2rem) 0; border-bottom: 1px solid var(--hair); }
.rung { font-style: italic; font-weight: 200; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.ladder h3 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 300; }
.ladder p { margin: 0; color: var(--soft); }
@media (max-width: 760px) { .ladder li { grid-template-columns: 3.25rem 1fr; } .ladder p { grid-column: 2; } }

/* Promises */
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 0 5rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.promises > div { padding: 1.75rem 0; border-top: 1px solid var(--hair); }
.promises h3 { margin-bottom: .5rem; }
.promises p { color: var(--soft); margin: 0; }
@media (max-width: 760px) { .promises { grid-template-columns: 1fr; } }

/* Who we work with: one sentence, set big */
.who { padding: clamp(4rem, 10vw, 8rem) 0; border-block: 1px solid var(--hair); }
.who p { max-width: 30ch; margin: 0; font-size: clamp(1.8rem, 4.2vw, 4rem); line-height: 1.12; font-weight: 300; letter-spacing: -.015em; font-variation-settings: "SOFT" 100, "opsz" 144; }
.who strong { font-weight: 300; font-style: italic; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 2rem 5rem; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
details { border-bottom: 1px solid var(--hair); }
details:first-child { border-top: 1px solid var(--hair); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; font-size: 1.35rem; line-height: 1.25; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary .icon { transition: transform .25s; }
details[open] summary .icon { transform: rotate(45deg); }
details p { color: var(--soft); }

/* Closing band */
.contact-band { background: var(--bg-alt); padding: clamp(5rem, 12vw, 10rem) 0; }
.contact-band h2 { font-size: clamp(3rem, 8vw, 7.5rem); max-width: 12ch; }
.contact-band .band-body { display: grid; grid-template-columns: minmax(0, 34rem) auto; gap: 2rem 4rem; align-items: end; justify-content: space-between; }
.contact-band p { color: var(--soft); font-size: 1.2rem; margin: 0; }
.band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.band-phone { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
@media (max-width: 860px) { .contact-band .band-body { grid-template-columns: 1fr; } }

/* Service pages */
.service-hero-grid { display: grid; grid-template-columns: 8fr 4fr; gap: 2.5rem 5rem; align-items: end; padding-block: clamp(2.5rem, 7vw, 6rem); }
.service-hero-grid h1 { font-size: clamp(2.8rem, 7.5vw, 7rem); }
.kicker { font-style: italic; font-size: 1.2rem; color: var(--soft); margin-bottom: 1.25rem; }
.lede { margin-bottom: 2rem; }
.fit { padding-left: 1.5rem; border-left: 1px solid var(--ink); }
.fit h2 { font-size: 1.9rem; font-style: italic; }
.fit a { display: inline-flex; gap: .5rem; align-items: center; text-decoration: none; }
@media (max-width: 860px) { .service-hero-grid { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); counter-reset: tick; }
.ticks li { display: grid; grid-template-columns: 2.5rem 1fr; padding: 1.1rem 0; border-bottom: 1px solid var(--hair); font-size: 1.2rem; counter-increment: tick; }
.ticks li::before { content: counter(tick); font-style: italic; color: var(--soft); }
.band { background: var(--bg-alt); }
.band .footnote { margin-top: 1.5rem; }
.related { padding-bottom: clamp(4rem, 8vw, 7rem); }
.related h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-style: italic; }

/* Forms: underlined fields, no boxes */
.contact-grid, .calc-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 2.5rem 5rem; align-items: start; }
.calc-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .contact-grid, .calc-grid { grid-template-columns: 1fr; } }
.contact-method { display: flex; gap: 1rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--hair); text-decoration: none; min-width: 0; }
.contact-method:first-child { border-top: 1px solid var(--hair); }
.contact-method .icon { width: 24px; height: 24px; }
.contact-method small { display: block; font-size: .95rem; font-style: italic; color: var(--soft); }
.contact-method strong { font-size: 1.5rem; font-weight: 300; }
.contact-method > span { min-width: 0; }
.email-link { overflow-wrap: anywhere; }
.contact-details .button { margin-top: 1.75rem; }
.card-form h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
label { display: block; margin: 1.5rem 0 .25rem; font-style: italic; }
label span { color: var(--soft); }
input, select, textarea { width: 100%; min-height: 50px; padding: .6rem 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font: inherit; font-size: 1.25rem; color: var(--ink); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 8px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
select option { color: #111; }
textarea { resize: vertical; }
::placeholder { color: var(--soft); opacity: 1; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 4px; }
.form-note { font-size: .95rem; color: var(--soft); margin-top: 1.5rem; }
#form-status { margin-top: 1rem; font-style: italic; }
.calc-result { background: var(--bg-alt); color: var(--ink); padding: clamp(1.5rem, 4vw, 3rem); border-radius: 28px; }
.calc-big { display: grid; margin-bottom: 1.5rem; }
.calc-big span { font-style: italic; }
.calc-big strong { font-size: clamp(4rem, 10vw, 7rem); font-weight: 200; line-height: 1; letter-spacing: -.03em; font-variation-settings: "SOFT" 100, "opsz" 144; }
.calc-big strong.negative { color: #b3261e; font-style: italic; }
.calc-result dl { margin: 0 0 1.25rem; }
.calc-result dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--hair); }
.calc-result dd { margin: 0; white-space: nowrap; }
.calc-result .footnote { color: var(--soft); }

/* Prose */
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
.prose h2 { font-size: 2.1rem; margin-top: 2.5rem; }

/* Footer */
footer { background: var(--bg-alt); color: var(--soft); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
footer .brand { color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-grid p { margin-top: 1rem; max-width: 24rem; font-style: italic; }
.footer-grid h2 { font-size: 1.3rem; font-style: italic; font-weight: 400; color: var(--ink); margin-bottom: 1rem; }
.footer-grid > div:not(:first-child) a { display: block; padding: .3rem 0; text-decoration: none; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1.5rem 0; border-top: 1px solid var(--hair); font-size: .95rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
.mobile-contact { display: none; }

/* Phones */
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .section { padding: 4rem 0; }
  .actions .button, .band-actions .button, .lede + .button { flex: 1 1 100%; width: 100%; }
  .who p { font-size: 1.75rem; }
  .run-in { font-size: 2rem; }
  .mobile-contact { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; inset: auto 0 0; z-index: 40; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--hair); }
  .mobile-contact a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; border: 1px solid var(--ink); border-radius: 99px; text-decoration: none; }
  .mobile-contact a + a { background: var(--ink); color: var(--bg); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
