/* OFF DUTY Marketing — site styles
   Palette and type follow the OFF DUTY brand: sage-khaki, black, warm off-white, white;
   a high-contrast display serif with a spaced geometric sans. */

:root {
  --sage: #B1B09E;
  --ink: #111111;
  --paper: #F7F6F2;
  --white: #FFFFFF;

  --ink-2: #1C1C1B;          /* tone step on black fields */
  --paper-2: #EDEBE4;        /* tone step on paper */
  --muted: #4A4A44;          /* secondary text on light grounds */
  --muted-dark: #C9C8BA;     /* secondary text on black */

  --serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* five type steps */
  --t-giant: clamp(150px, 23vw, 420px);
  --t-1: clamp(2.125rem, 5.4vw, 5.75rem);
  --t-2: clamp(1.5rem, 2.4vw, 2.25rem);
  --t-body: 1.125rem;
  --t-small: 0.9375rem;

  --m: clamp(20px, 2.4vw, 36px);       /* page margin */
  --gap: clamp(16px, 2vw, 32px);
  --section: clamp(96px, 12vw, 200px);

  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sage); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--sage); }

.h-display, h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.0;
  text-wrap: balance;
}
.h1 { font-size: var(--t-1); }
.h2 { font-size: var(--t-2); line-height: 1.12; letter-spacing: -0.015em; }
.small { font-size: var(--t-small); }
.lead { font-size: var(--t-2); font-family: var(--serif); line-height: 1.25; letter-spacing: -0.01em; max-width: 28ch; text-wrap: pretty; }
.prose { max-width: 62ch; }
.prose p + p { margin-top: 1em; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: var(--m); top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 12px 18px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 52px; padding: 14px 26px;
  background: var(--ink); color: var(--white);
  font-family: var(--sans); font-weight: 600; font-size: var(--t-small);
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  border: 0; border-radius: 0; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--sage); color: var(--ink); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sage { background: var(--sage); color: var(--ink); }
.btn--sage:hover { background: var(--white); }
.btn--quiet { background: var(--white); color: var(--ink); }
.btn--quiet:hover { background: var(--ink); color: var(--white); }
.btn .arrow { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }

.text-link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: .28em; transition: text-underline-offset .2s var(--ease), color .2s;
}
.text-link:hover { text-underline-offset: .42em; }

/* ---------- wordmark ---------- */
.wordmark {
  display: inline-flex; flex-direction: column; align-items: center;
  text-decoration: none; color: inherit; line-height: 1;
}
.wordmark .wm-name {
  font-family: var(--serif); font-weight: 500; font-size: 27px;
  letter-spacing: -0.03em; line-height: .86; text-align: center;
}
.wordmark .wm-sub {
  font-family: var(--sans); font-size: 13px; letter-spacing: .32em;
  margin-top: 5px; padding-left: .32em; text-transform: uppercase; font-weight: 500;
}

/* ---------- top bar ---------- */
.bar {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: var(--gap);
  padding: 22px var(--m);
}
.bar nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.bar nav a:not(.btn) {
  font-size: var(--t-small); font-weight: 500; text-decoration: none;
  position: relative; padding-bottom: 4px;
}
.bar nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease);
}
.bar nav a:not(.btn):hover::after, .bar nav a[aria-current="page"]::after { transform: scaleX(1); }
.bar .btn { min-height: 44px; padding: 10px 20px; }
.menu-toggle {
  display: none; background: none; border: 0; padding: 10px 0; cursor: pointer;
  font-weight: 600; font-size: var(--t-small); letter-spacing: .04em; text-transform: uppercase;
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .bar nav ul {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 16px var(--m) 28px; background: var(--ink); color: var(--white);
  }
  .bar nav ul.open { display: flex; }
  .bar nav ul a:not(.btn) { font-family: var(--serif); font-size: 32px; padding: 4px 0; }
  .bar nav ul .btn { margin-top: 14px; background: var(--sage); color: var(--ink); }
}

/* ---------- home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--sage); color: var(--ink);
  min-height: 100svh; display: flex; flex-direction: column;
}
.home .bar { position: absolute; top: 0; left: 0; right: 0; }
.home .bar nav ul:not(.open) .btn:hover { background: var(--white); color: var(--ink); }
.hero-body {
  padding: calc(clamp(28px, 5vh, 72px) + 96px) var(--m) 0;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 28px;
  position: relative; z-index: 2;
}
.hero h1 { grid-column: 1 / -1; font-size: clamp(1.75rem, 6.6vw, 7.25rem); }
.hero-sub { grid-column: 1 / span 5; font-size: clamp(1.125rem, 1.45vw, 1.375rem); line-height: 1.5; max-width: 38ch; }
.hero-actions { grid-column: 7 / span 6; align-self: end; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.hero-word {
  margin-top: auto; padding-top: clamp(56px, 8vh, 96px); position: relative; z-index: 1;
  font-family: var(--serif); font-weight: 500; font-size: var(--t-giant);
  line-height: .78; letter-spacing: -0.045em; white-space: nowrap;
  margin-left: -4.5vw; margin-bottom: -0.06em;
  transform-origin: 30% 100%;
  user-select: none; pointer-events: none;
}
@media (max-width: 860px) {
  .hero h1, .hero-sub, .hero-actions { grid-column: 1 / -1; }
  .hero-actions { justify-content: flex-start; }
  .hero { min-height: 0; }
  .hero-word { font-size: 24vw; margin-left: -3vw; padding-top: 72px; }
  .hero h1 { font-size: 7.4vw; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 9vw, 150px) var(--m) clamp(56px, 7vw, 110px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 32px; }
.page-hero h1 { grid-column: 1 / -1; font-size: var(--t-1); }
.page-hero .lead { grid-column: 7 / span 6; max-width: 40ch; }
@media (max-width: 860px) { .page-hero h1, .page-hero .lead { grid-column: 1 / -1; } .page-hero h1 { font-size: 8vw; } .page-hero .lead { font-size: 1.25rem; } }

/* ---------- staircase statement ---------- */
.stair {
  background: var(--ink); color: var(--white);
  min-height: 100svh; padding: var(--section) var(--m) 48px;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  align-content: center; position: relative;
}
.stair-text {
  grid-column: 1 / span 9;
  font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.04; letter-spacing: -0.025em;
}
.stair-text h2 { font: inherit; letter-spacing: inherit; }
.stair-text span { display: block; white-space: nowrap; }
.stair-text h2:nth-child(1) span:nth-child(2) { padding-left: 7vw; }
.stair-text h2:nth-child(2) { color: var(--sage); margin-top: .25em; }
.stair-text h2:nth-child(2) span:nth-child(1) { padding-left: 14vw; }
.stair-text h2:nth-child(2) span:nth-child(2) { padding-left: 21vw; }
.stair-photos { grid-column: 10 / span 3; display: grid; gap: 16px; align-self: start; }
.stair-photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.stair-note { grid-column: 1 / span 5; margin-top: 72px; font-size: var(--t-small); color: var(--muted-dark); max-width: 44ch; }
@media (max-width: 860px) {
  .stair { min-height: 0; }
  .stair-text { grid-column: 1 / -1; font-size: 7vw; }
  .stair-text h2:nth-child(1) span:nth-child(2) { padding-left: 4vw; }
  .stair-text h2:nth-child(2) span:nth-child(1) { padding-left: 0; }
  .stair-text h2:nth-child(2) span:nth-child(2) { padding-left: 8vw; }
  .stair-photos { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .stair-note { grid-column: 1 / -1; margin-top: 32px; }
}

/* ---------- split: statement cell + dark rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split-cell {
  background: var(--paper-2); padding: clamp(48px, 6vw, 96px) var(--m);
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 90svh;
}
.zig { font-size: clamp(2.25rem, 4.2vw, 4.25rem); line-height: 1.02; }
.zig span { display: block; }
.zig span:nth-child(2) { text-align: right; }
.split-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.split-foot p { max-width: 36ch; }
.rows { background: var(--ink); color: var(--white); display: grid; }
.row {
  display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 20px;
  padding: 32px var(--m) 32px 28px; align-items: start;
}
.row:nth-child(even) { background: var(--ink-2); }
.row h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.1; letter-spacing: -0.015em; }
.row p { font-size: 1rem; line-height: 1.5; }
.row ul { font-size: var(--t-small); color: var(--muted-dark); line-height: 1.6; }
a.row { text-decoration: none; transition: background-color .25s var(--ease); }
a.row:hover { background: #262624; }
a.row:hover h3 { color: var(--sage); }
@media (max-width: 1100px) { .row { grid-template-columns: 1fr 1fr; } .row ul { grid-column: 1 / -1; } }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-cell { min-height: 70svh; }
  .zig { font-size: 8.4vw; }
  .row { grid-template-columns: 1fr; gap: 10px; padding: 28px var(--m); }
  .row ul { display: inline; }
  .row ul li { display: inline; }
  .row ul li:not(:last-child)::after { content: ", "; }
}

/* ---------- connected lines (live goal picker) ---------- */
.connect { padding: var(--section) var(--m); background: var(--paper); }
.connect-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 20px; margin-bottom: clamp(56px, 6vw, 96px); }
.connect-head h2 { grid-column: 1 / span 7; font-size: var(--t-1); }
.picker { grid-column: 8 / span 5; align-self: end; border: 0; margin: 0; padding: 0; }
.picker legend { font-weight: 600; margin-bottom: 14px; padding: 0; }
.picker-options { display: flex; flex-wrap: wrap; gap: 8px; }
.picker label {
  position: relative; cursor: pointer;
  display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px;
  background: var(--paper-2); font-weight: 500; font-size: var(--t-small);
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.picker label:hover { background: var(--sage); }
.picker label:active { transform: scale(.98); }
.picker input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.picker label:has(input:checked) { background: var(--ink); color: var(--white); }
.picker label:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.picker-result { grid-column: 8 / span 5; min-height: 3.2em; font-size: 1rem; }
.picker-result a { font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 44px; }
.step { grid-column: var(--start) / -1; transition: opacity .3s var(--ease); }
.step h3 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 3.6vw, 3.5rem);
  line-height: 1.02; letter-spacing: -0.025em; display: inline;
  padding: 0 .12em; margin-left: -.12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.step p { margin-top: 12px; max-width: 40ch; font-size: 1.0625rem; color: var(--muted); }
.steps.is-filtered .step:not(.is-on) h3 { color: var(--muted); }
.steps .step.is-on h3 { background: var(--sage); }
.step:nth-child(1) { --start: 1; } .step:nth-child(2) { --start: 2; } .step:nth-child(3) { --start: 3; }
.step:nth-child(4) { --start: 4; } .step:nth-child(5) { --start: 5; } .step:nth-child(6) { --start: 6; }
.step:nth-child(7) { --start: 7; }
@media (max-width: 860px) {
  .connect-head h2, .picker, .picker-result { grid-column: 1 / -1; }
  .steps { display: block; }
  .step { padding-left: calc((var(--start) - 1) * 3.4vw); margin-bottom: 36px; }
  .step h3 { font-size: 8vw; }
  .step p { font-size: 1rem; }
}

/* ---------- full-bleed photograph ---------- */
.photo-band { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.photo-pair { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; overflow: hidden; }
.photo-pair img {
  width: 100%; height: min(92svh, 56vw); object-fit: cover; filter: grayscale(1) contrast(1.05);
  transform-origin: 50% 60%;
}
.photo-band figcaption {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: 28px var(--m) 36px; background: var(--ink);
}
.photo-band figcaption p:first-child { grid-column: 1 / span 6; font-family: var(--serif); font-size: var(--t-2); line-height: 1.15; }
.photo-band figcaption p:last-child { grid-column: 9 / span 4; font-size: var(--t-small); color: var(--muted-dark); align-self: end; }
@media (max-width: 860px) {
  .photo-pair { grid-template-columns: 1fr; }
  .photo-pair img { height: 56svh; }
  .photo-pair img:last-child { height: 44svh; }
  .photo-band figcaption p:first-child, .photo-band figcaption p:last-child { grid-column: 1 / -1; }
  .photo-band figcaption p:last-child { margin-top: 12px; }
}

/* ---------- spine index ---------- */
.shelf-wrap { padding: var(--section) var(--m) clamp(64px, 7vw, 120px); }
.shelf-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 40px; margin-bottom: 36px; }
.shelf-head h2 { font-size: var(--t-1); }
.shelf-head p { max-width: 46ch; }
.shelf { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.spine {
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  height: clamp(380px, 38vw, 560px); padding: 26px 10px 22px;
  text-decoration: none; color: var(--ink); background: var(--c, var(--paper-2));
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .3s var(--ease);
}
.spine:nth-child(4n+1) { --c: var(--sage); }
.spine:nth-child(4n+2) { --c: var(--white); }
.spine:nth-child(4n+3) { --c: var(--paper-2); }
.spine:nth-child(4n+4) { --c: var(--ink); color: var(--white); }
.spine-name {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--serif); font-size: clamp(1.625rem, 2.6vw, 2.5rem); line-height: 1; letter-spacing: -0.02em;
  white-space: nowrap;
}
.spine-meta { font-size: var(--t-small); font-weight: 600; text-align: center; }
.shelf:hover .spine:not(:hover), .shelf:focus-within .spine:not(:focus-visible) { background: var(--paper-2); color: var(--muted); }
.spine:hover, .spine:focus-visible { background: var(--ink) !important; color: var(--white) !important; transform: translateY(-8px); }
.shelf-foot { margin-top: 36px; display: flex; justify-content: flex-end; }
@media (max-width: 860px) {
  .shelf { display: flex; flex-wrap: wrap; gap: 10px; }
  .spine { height: auto; flex-direction: row; gap: 12px; padding: 12px 16px; }
  .spine-name { writing-mode: horizontal-tb; transform: none; font-size: 22px; }
  .shelf-foot { justify-content: flex-start; }
}

/* ---------- about: two columns, highlighted ---------- */
.story { padding: var(--section) var(--m); background: var(--white); }
.story-text {
  columns: 2; column-gap: 40px;
  font-size: clamp(1.25rem, 2vw, 1.875rem); line-height: 1.24; letter-spacing: -0.005em;
  text-align: justify; hyphens: auto; color: var(--ink);
}
.story-text p + p { margin-top: .8em; }
.mark {
  background: var(--sage); padding: 0 .1em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.mark--ink { background: var(--ink); color: var(--white); }
.mark--paper { background: var(--paper-2); }
.story-text .mark-link { background: var(--ink); color: var(--white); text-decoration: none; padding: 0 .12em; transition: background-color .2s, color .2s; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.story-text .mark-link:hover { background: var(--sage); color: var(--ink); }
@media (max-width: 860px) {
  .story-text { columns: 1; text-align: left; font-size: 1.25rem; line-height: 1.3; }
}

/* ---------- CTA band ---------- */
.cta-band {
  display: block; position: relative; overflow: hidden; text-decoration: none;
  background: var(--sage); color: var(--ink);
  min-height: 62svh; padding: 28px var(--m) 24px;
  transition: background-color .2s, color .2s;
}
.cta-band:hover, .cta-band:focus-visible { background: var(--ink); color: var(--sage); }
.cta-top { display: flex; justify-content: space-between; gap: 24px; }
.cta-top .cta-copy { max-width: 46ch; }
.cta-top h2 { font-size: var(--t-2); line-height: 1.1; margin-bottom: 14px; }
.cta-arrow { width: 48px; height: 48px; flex: none; transition: transform .3s var(--ease); }
.cta-band:hover .cta-arrow { transform: translate(6px, -6px); }
.cta-word {
  position: absolute; left: var(--m); bottom: 18px;
  font-family: var(--serif); font-weight: 500; font-size: clamp(64px, 17vw, 300px);
  line-height: .8; letter-spacing: -0.045em; white-space: nowrap;
}
@media (max-width: 860px) {
  .cta-band { min-height: 52svh; }
  .cta-arrow { width: 32px; height: 32px; }
  .cta-word { font-size: 22vw; }
}

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--white); padding: 40px var(--m) 28px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 24px; font-size: var(--t-small); }
.foot-top > :nth-child(1) { grid-column: 1 / span 4; max-width: 34ch; }
.foot-top > :nth-child(2) { grid-column: 5 / span 3; }
.foot-top > :nth-child(3) { grid-column: 8 / span 3; }
.foot-top > :nth-child(4) { grid-column: 11 / span 2; justify-self: end; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--sage); }
.foot-top ul li + li { margin-top: 6px; }
.foot-word {
  margin: clamp(80px, 12vw, 200px) 0 18px -0.6vw;
  font-family: var(--serif); font-weight: 500; font-size: 21.4vw;
  line-height: .78; letter-spacing: -0.05em; white-space: nowrap; color: var(--sage);
  transform-origin: 0 100%;
}
.foot-meta { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 20px; font-size: 14px; color: var(--muted-dark); padding-top: 18px; }
.foot-meta > :last-child { text-align: right; }
.foot-meta button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: .2em; }
.credits a { text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 860px) {
  .foot-top > * { grid-column: 1 / -1 !important; justify-self: start !important; }
  .foot-meta { grid-template-columns: 1fr; font-size: 13px; }
  .foot-meta > :last-child { text-align: left; }
}

/* ---------- inner page blocks ---------- */
.section { padding: var(--section) var(--m); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--white); }
.section--sage { background: var(--sage); }
.col-l { grid-column: 1 / span 7; }
.col-r { grid-column: 8 / span 5; align-self: end; }
@media (max-width: 860px) { .col-l, .col-r { grid-column: 1 / -1; } .h1.col-l { font-size: 8vw; } }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: clamp(48px, 6vw, 96px); }
.photo-row figure { overflow: hidden; }
.photo-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform .6s var(--ease); }
.photo-row figure:hover img { transform: scale(1.03); }
.photo-row figcaption { font-size: var(--t-small); color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) { .photo-row { grid-template-columns: 1fr; } }
.grid12 { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 32px; }

/* founders */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.founder:nth-child(2) { margin-top: clamp(0px, 10vw, 160px); }
.founder-photo {
  aspect-ratio: 4 / 5; background: var(--sage); display: flex; align-items: flex-end;
  padding: 24px; position: relative; overflow: hidden;
}
.founder-photo span {
  position: absolute; right: -0.04em; top: -0.12em; font-family: var(--serif);
  font-size: clamp(160px, 22vw, 360px); line-height: 1; letter-spacing: -0.05em; color: var(--paper);
}
.founder-photo p { position: relative; font-size: var(--t-small); font-weight: 500; max-width: 26ch; }
.founder h2 { font-size: var(--t-1); }
.founder .role { margin: 8px 0 24px; font-weight: 600; }
.founder .bio { margin-top: 18px; max-width: 46ch; color: var(--muted); }
@media (max-width: 860px) { .founders { grid-template-columns: 1fr; gap: 72px; } .founder:nth-child(2) { margin-top: 0; } }

/* principles */
.principles li { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding: 44px 0; }
.principles li:nth-child(even) { background: var(--ink-2); margin: 0 calc(var(--m) * -1); padding-left: var(--m); padding-right: var(--m); }
.principles h3 { grid-column: 1 / span 7; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.4vw, 4.25rem); line-height: 1; letter-spacing: -0.025em; }
.principles p { grid-column: 9 / span 4; align-self: end; color: var(--muted-dark); }
@media (max-width: 860px) { .principles h3, .principles p { grid-column: 1 / -1; } .principles p { margin-top: 14px; } }

/* place */
.place { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 32px; align-items: end; }
.place figure { grid-column: 1 / span 7; }
.place img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.place figcaption { font-size: var(--t-small); color: var(--muted); margin-top: 10px; }
.place-text { grid-column: 9 / span 4; }
.place-text h2 { font-size: var(--t-2); margin-bottom: 20px; line-height: 1.1; }
@media (max-width: 860px) { .place figure, .place-text { grid-column: 1 / -1; } }

/* services page */
.svc-nav { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }
.svc-nav a { padding: 10px 16px; background: var(--paper-2); text-decoration: none; font-size: var(--t-small); font-weight: 500; transition: background-color .2s; }
.svc-nav a:hover { background: var(--sage); }
.svc { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 28px; padding: clamp(64px, 7vw, 112px) var(--m); scroll-margin-top: 20px; }
.svc:nth-of-type(odd) { background: var(--white); }
.svc-title { grid-column: 1 / span 5; }
.svc-title h2 { font-size: clamp(2.25rem, 4.4vw, 4.5rem); }
.svc-title .value { margin-top: 20px; font-family: var(--serif); font-size: var(--t-2); line-height: 1.2; max-width: 22ch; }
.svc-body { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 32px var(--gap); align-content: start; }
.svc-body h3 { font-family: var(--sans); font-size: 1.125rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; margin-bottom: 8px; }
.svc-body ul li { padding: 3px 0; }
.svc-body .svc-wide { grid-column: 1 / -1; }
.svc-visual { margin-top: clamp(32px, 4vw, 56px); }
.svc-visual > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.svc-visual figcaption { font-size: var(--t-small); color: var(--muted); margin-top: 10px; }
.svc-visual .mock { padding: clamp(16px, 2vw, 28px); }
.svc:nth-of-type(odd) .svc-visual .mock:not(.mock--sage) { background: var(--paper-2); }
.svc-body .svc-wide p + p { margin-top: .8em; }
.svc--alt .svc-title { grid-column: 8 / span 5; order: 2; }
.svc--alt .svc-body { grid-column: 1 / span 6; order: 1; }
@media (max-width: 860px) {
  .svc-title, .svc-body, .svc--alt .svc-title, .svc--alt .svc-body { grid-column: 1 / -1; order: 0; }
  .svc-body { grid-template-columns: 1fr; }
}

/* work page */
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--m) 40px; }
.filters button {
  min-height: 46px; padding: 10px 18px; border: 0; background: var(--paper-2); cursor: pointer;
  font-weight: 500; font-size: var(--t-small); transition: background-color .2s, color .2s, transform .15s;
}
.filters button:hover { background: var(--sage); }
.filters button:active { transform: scale(.98); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.work-note { margin: 0 var(--m) 32px; max-width: 56ch; color: var(--muted); }
.project { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 28px; padding: clamp(56px, 6vw, 96px) var(--m); }
.project:nth-of-type(even) { background: var(--white); }
.project[hidden] { display: none; }
.project-visual { grid-column: 1 / span 7; }
.project-text { grid-column: 9 / span 4; }
.project:nth-of-type(even) .project-visual { grid-column: 6 / span 7; order: 2; }
.project:nth-of-type(even) .project-text { grid-column: 1 / span 4; order: 1; }
.tag { display: inline-block; margin: -6px 0 22px; background: var(--sage); padding: 4px 10px; font-size: var(--t-small); font-weight: 600; }
.project h2 { font-size: clamp(2.25rem, 4vw, 4rem); margin: 0 0 18px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 1rem; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
.project-text .approach { margin-top: 22px; }
.project-text .approach p + p { margin-top: .7em; }
@media (max-width: 860px) {
  .project-visual, .project-text, .project:nth-of-type(even) .project-visual, .project:nth-of-type(even) .project-text { grid-column: 1 / -1; order: 0; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
}

/* mock-ups drawn for concept projects */
.mock { background: var(--paper-2); padding: clamp(20px, 3vw, 48px); }
.mock--sage { background: var(--sage); }
.mock--ink { background: var(--ink); }
.ig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; max-width: 560px; margin: 0 auto; background: var(--white); padding: 4px; }
.ig > * { aspect-ratio: 4 / 5; overflow: hidden; display: flex; align-items: flex-end; padding: 10px; font-family: var(--serif); line-height: 1; }
.ig img { padding: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.ig .t1 { background: var(--ink); color: var(--paper); font-size: clamp(14px, 1.6vw, 22px); }
.ig .t2 { background: var(--sage); color: var(--ink); font-size: clamp(14px, 1.5vw, 20px); }
.ig .t3 { background: var(--paper); color: var(--ink); font-size: clamp(14px, 1.5vw, 20px); }
.ig .t4 { background: #8C8B79; color: var(--ink); font-size: clamp(14px, 1.5vw, 20px); }
.browser { background: var(--white); max-width: 760px; margin: 0 auto; }
.browser-bar { display: flex; gap: 6px; padding: 10px 12px; background: #DCDAD2; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #B9B7AE; }
.browser-page { padding: clamp(18px, 3vw, 40px); }
.browser-page .bp-nav { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: clamp(24px, 4vw, 56px); }
.browser-page .bp-h { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 54px); line-height: 1; letter-spacing: -0.03em; max-width: 12ch; }
.browser-page .bp-row { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.browser-page .bp-btn { background: var(--ink); color: var(--white); font-size: 13px; padding: 10px 14px; font-weight: 600; }
.browser-page .bp-btn--q { background: var(--paper-2); color: var(--ink); }
.browser-page img { margin-top: 26px; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; filter: grayscale(1); }
.serp { background: var(--white); max-width: 680px; margin: 0 auto; padding: clamp(18px, 3vw, 36px); }
.serp-q { background: var(--paper); padding: 12px 18px; font-size: 15px; margin-bottom: 22px; border-radius: 24px; }
.serp-item + .serp-item { margin-top: 20px; }
.serp-item .u { font-size: 13px; color: #3c4043; }
.serp-item .ti { font-size: 19px; color: #111111; margin: 3px 0; }
.serp-item .d { font-size: 14px; color: #4d5156; line-height: 1.45; }
.serp-item--dim { opacity: .55; }
.phones { display: flex; gap: clamp(12px, 2vw, 28px); justify-content: center; }
.phone { width: min(30%, 220px); aspect-ratio: 9 / 19; background: var(--ink); padding: 8px; border-radius: 26px; }
.phone-screen { height: 100%; border-radius: 19px; overflow: hidden; position: relative; background: var(--sage); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; font-family: var(--serif); color: var(--ink); }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.phone-screen b { position: relative; font-weight: 500; font-size: clamp(16px, 1.7vw, 24px); line-height: 1; background: var(--paper); padding: 6px 8px; }
.phone-screen .play { position: absolute; left: 50%; top: 45%; width: 44px; height: 44px; transform: translate(-50%, -50%); background: var(--paper); border-radius: 50%; display: grid; place-items: center; }
.brandboard { display: grid; grid-template-columns: 2fr 1fr; gap: 6px; max-width: 720px; margin: 0 auto; }
.bb-logo { background: var(--paper); aspect-ratio: 4 / 3; display: grid; place-items: center; font-family: var(--serif); font-size: clamp(30px, 4.4vw, 64px); line-height: .9; text-align: center; letter-spacing: -0.03em; }
.bb-logo small { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .3em; margin-top: 10px; }
.bb-sw { display: grid; gap: 6px; }
.bb-sw div { display: flex; align-items: flex-end; padding: 10px; font-size: 13px; font-weight: 600; }
.email { background: var(--white); max-width: 520px; margin: 0 auto; }
.email-head { background: var(--ink); color: var(--paper); padding: 22px; font-family: var(--serif); font-size: 26px; text-align: center; }
.email-body { padding: 24px; font-size: 15px; }
.email-body .eh { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); line-height: 1.05; margin-bottom: 12px; }
.email-body img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1); margin: 16px 0; }
.email-body .eb { display: inline-block; background: var(--sage); padding: 10px 16px; font-weight: 600; font-size: 13px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 48px; padding: 0 var(--m) var(--section); }
.contact-form { grid-column: 1 / span 7; }
.contact-side { grid-column: 9 / span 4; }
.contact-side h2 { font-size: var(--t-2); margin-bottom: 14px; line-height: 1.1; }
.contact-side section + section { margin-top: 44px; }
.contact-side ol li { padding: 6px 0; }
.contact-photo { margin-top: 44px; overflow: hidden; }
.contact-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.05); animation: drift 24s ease-in-out infinite alternate; }
.field { margin-bottom: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 8px; padding: 0; }
.field .hint { font-size: 1rem; color: var(--muted); margin: -4px 0 8px; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  background: var(--white); border: 2px solid transparent; border-bottom-color: var(--ink); border-radius: 0;
  font-size: 1.0625rem; transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 180px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #8A1C1C !important; background: #FBF1F0; }
.error { color: #8A1C1C; font-size: var(--t-small); font-weight: 600; margin-top: 6px; min-height: 0; }
fieldset.field { border: 0; margin: 0 0 26px; padding: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--white); cursor: pointer; transition: background-color .2s; font-size: 1rem; font-weight: 400 !important; margin: 0 !important; }
.check:hover { background: var(--paper-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.consent { background: transparent; padding: 0; }
.consent:hover { background: transparent; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: hidden honeypot field, not a rule */
.form-status { margin-top: 20px; padding: 18px 20px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status[data-state="ok"] { background: var(--sage); }
.form-status[data-state="error"] { background: #FBF1F0; color: #6E1414; }
.form-status[data-state="info"] { background: var(--paper-2); }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 860px) {
  .contact-form, .contact-side { grid-column: 1 / -1; }
  .field-row, .checks { grid-template-columns: 1fr; }
}

/* ---------- privacy / plain text page ---------- */
.legal { padding: 0 var(--m) var(--section); }
.legal .prose h2 { font-size: var(--t-2); margin: 1.8em 0 .6em; line-height: 1.1; }
.legal .prose ul { list-style: disc; padding-left: 1.2em; margin-top: .6em; }

/* ---------- cookie banner ---------- */
.consent-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  background: var(--ink); color: var(--white); padding: 20px 22px;
  display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between;
  max-width: 920px; margin: 0 auto; box-shadow: 0 10px 40px rgba(0,0,0,.25); /* taste-skill-ignore: floating cookie banner */
}
.consent-banner p { max-width: 60ch; font-size: var(--t-small); }
.consent-banner a { color: var(--sage); }
.consent-banner .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-banner .btn { min-height: 44px; padding: 10px 18px; }

/* ---------- motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

@keyframes drift { from { transform: scale(1.0); } to { transform: scale(1.08) translateX(-1.5%); } }
.photo-pair img:first-child { animation: drift 24s ease-in-out infinite alternate; }

@supports (animation-timeline: view()) {
  @keyframes shrink { from { transform: scale(1); } to { transform: scale(.93); } }
  .hero-word { animation: shrink linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  @keyframes grow { from { transform: scale(.94); } to { transform: scale(1); } }
  .foot-word { animation: grow linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .bar nav, .cta-band, .consent-banner, .foot-word { display: none; }
}

/* ---------- brand display type: heavy high-contrast serif in capitals ---------- */
.caps, .page-hero h1, .hero h1, .h1, .zig, .shelf-head h2, .connect-head h2,
.founder h2, .svc-title h2, .project h2, .hero-word, .foot-word, .cta-word, .spine-name, .wordmark .wm-name {
  font-family: var(--serif);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: .92;
}
.hero-word, .foot-word, .cta-word { letter-spacing: -0.055em; line-height: .78; }
.hero h1 { font-size: clamp(1.5rem, 5.4vw, 6rem); }
.page-hero h1 { font-size: clamp(1.5rem, 5vw, 5.25rem); }
.h1, .shelf-head h2, .connect-head h2 { font-size: clamp(1.75rem, 4.6vw, 4.75rem); }
.zig { font-size: clamp(1.75rem, 3.4vw, 3.5rem); }
.svc-title h2, .project h2 { font-size: clamp(1.75rem, 3.2vw, 3.25rem); }
.founder h2 { font-size: clamp(2.5rem, 5vw, 5rem); }
.hero-word { font-size: clamp(120px, 19vw, 360px); }
.foot-word { font-size: 17.6vw; }
.cta-word { font-size: clamp(56px, 14vw, 250px); }
.spine-name { font-size: clamp(1.375rem, 2.2vw, 2.125rem); letter-spacing: 0; }
.wordmark .wm-name { font-size: 25px; line-height: .86; letter-spacing: -0.02em; }
/* text set in the serif but sentence case keeps a lighter, bookish weight */
body { font-optical-sizing: auto; }
.contact-side h2, .place-text h2, .h2, .story-text { }
.stair-text, .step h3, .principles h3 { font-weight: 600; }

/* founders with photographs */
.founder-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sage); }
.founder h2 { margin-top: 28px; }
.founder .role { margin: 10px 0 18px; }
.founder .bio { max-width: 52ch; color: var(--ink); }
.founder .bio p + p { margin-top: .8em; }
.point-line { grid-column: 1 / -1; margin-top: clamp(32px, 4vw, 64px); font-family: var(--serif); font-size: var(--t-2); line-height: 1.2; max-width: 34ch; }
.point-line .sign { display: block; margin-top: 14px; font-family: var(--sans); font-size: var(--t-small); font-weight: 600; }

@media (max-width: 860px) {
  .hero h1 { font-size: 5.6vw; }
  .page-hero h1 { font-size: 6.8vw; }
  .h1, .shelf-head h2, .connect-head h2, .h1.col-l { font-size: 7vw; }
  .zig { font-size: 6.6vw; }
  .svc-title h2, .project h2 { font-size: 7vw; }
  .founder h2 { font-size: 11vw; }
  .hero-word { font-size: 20vw; }
  .cta-word { font-size: 17vw; }
  .spine-name { font-size: 18px; }
}

/* hospitality page: venue photographs stay in full colour */
.page-hospitality main img { filter: none; }
.hosp-trio { grid-column: 1 / -1; margin-top: clamp(24px, 3vw, 48px); }
.hosp-trio img { aspect-ratio: 4 / 5; }
.svc-visual > img.tall { aspect-ratio: 4 / 5; }
.clients { padding-top: clamp(64px, 7vw, 112px); }
.clients-h { margin: 0 var(--m) clamp(8px, 2vw, 24px); }
.project h3 { font-family: var(--serif); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; font-size: clamp(1.75rem, 3.2vw, 3.25rem); margin: 0 0 18px; }
.venue-shots { display: grid; grid-template-columns: 3fr 2fr; grid-template-rows: 1fr 1fr; gap: 12px; align-self: start; }
.venue-shots img { width: 100%; height: 100%; object-fit: cover; }
.venue-shots img:first-child { grid-row: 1 / span 2; aspect-ratio: 4 / 5; }
.venue-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 22px; }
@media (max-width: 860px) {
  .hosp-trio { grid-template-columns: 1fr 1fr; }
  .hosp-trio figure:first-child { grid-column: 1 / -1; }
  .hosp-trio figure:first-child img { aspect-ratio: 3 / 2; }
  .project h3 { font-size: 7vw; }
}
