/* Crescere Consulting
   ---------------------------------------------------------------------------
   Palette:  forest green, cream, gold. Nothing else.
   Type:     Author extralight for display, Quicksand for the brand voice
             (eyebrows, the one word device), DM Sans for everything read.
   Rule:     body copy never sits over a photograph. Text beside images, or on
             solid colour.
   --------------------------------------------------------------------------- */

/* Fonts ------------------------------------------------------------------- */

@font-face {
  font-family: 'Author';
  src: url('/fonts/author-extralight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand Brand';
  src: url('/fonts/quicksand-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-var-latin.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-var-latin-ext.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

/* Tokens ------------------------------------------------------------------ */

:root {
  --green: #1b4a44;
  --ink: #1c2b28;
  --cream: #fdfaf4;
  --panel: #f7f2e8;
  --gold: #c9a55a;
  --sage: #c5ded9;

  /* The brand gold reads beautifully as a line, a rule and a large word, and
     it fails contrast as small text: 2.2 against cream, 4.3 against forest.
     Small gold text uses a deeper or lighter cut of the same colour, chosen
     per band by --gold-text. Same for quiet grey text, which has to move in
     the opposite direction on dark. */
  --gold-deep: #806322;
  --gold-light: #d6b575;
  --gold-text: var(--gold-deep);

  --muted: #54706c;
  --muted-dark: #a7beba;

  --rule: rgba(201, 165, 90, 0.45);
  --rule-soft: rgba(201, 165, 90, 0.28);

  --display: 'Author', 'Times New Roman', serif;
  --brand: 'Quicksand Brand', 'Trebuchet MS', sans-serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(24px, 5vw, 80px);
  --section-y: clamp(72px, 12vh, 150px);
  --wrap: 1180px;

  /* Set per band so children pick up the right foreground automatically. */
  --fg: var(--ink);
  --fg-body: var(--ink);
  --fg-quiet: var(--muted);
  --hairline: var(--rule);
}

/* Reset ------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 100%;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--green);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 500;
}

.skip:focus {
  top: 12px;
}

/* Bands and layout -------------------------------------------------------- */

.band {
  position: relative;
  overflow: hidden;
}

.band--green {
  background: var(--green);
  --fg: var(--cream);
  --fg-body: var(--sage);
  --fg-quiet: var(--muted-dark);
  --gold-text: var(--gold-light);
  --hairline: var(--rule-soft);
  color: var(--cream);
}

.band--ink {
  background: var(--ink);
  --fg: var(--cream);
  --fg-body: var(--sage);
  --fg-quiet: var(--muted-dark);
  --gold-text: var(--gold-light);
  --hairline: var(--rule-soft);
  color: var(--cream);
}

.band--cream {
  background: var(--cream);
  --fg: var(--green);
  --fg-body: var(--ink);
  --fg-quiet: var(--muted);
  --hairline: var(--rule);
  color: var(--ink);
}

.band--panel {
  background: var(--panel);
  --fg: var(--green);
  --fg-body: var(--ink);
  --fg-quiet: var(--muted);
  --hairline: var(--rule);
  color: var(--ink);
}

.band--green + .band--green,
.band--green + .band--ink,
.band--ink + .band--green {
  border-top: 1px solid var(--rule-soft);
}

.section {
  padding: var(--section-y) var(--gutter);
}

.section--head {
  padding-bottom: clamp(48px, 8vh, 90px);
}

.section--tight {
  padding-bottom: clamp(28px, 5vh, 56px);
}

.section--flush-top {
  padding-top: 0;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
}

.wrap--wide {
  max-width: 1220px;
}

.wrap--narrow {
  max-width: 1000px;
}

/* A measure in ch scales with the font, which at display sizes breaks a line
   per word. These headings are measured in pixels instead. */
.measure {
  max-width: min(100%, 900px);
}

.stack-lg {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vh, 92px);
}

.stack-sm {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stack-head {
  margin-top: clamp(48px, 8vh, 90px);
  margin-bottom: 28px;
}

.split {
  display: grid;
  gap: clamp(32px, 5vw, 76px);
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--end {
    align-items: end;
  }
  .split--center {
    align-items: center;
  }
  .split--top {
    align-items: start;
  }
}

.split--top {
  margin-bottom: clamp(40px, 6vh, 72px);
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 5vh, 60px);
}

/* Type -------------------------------------------------------------------- */

.display {
  font-family: var(--display);
  font-weight: 200;
  letter-spacing: -0.022em;
  line-height: 1;
  color: var(--fg);
  text-wrap: balance;
}

.display--xl {
  font-size: clamp(2.9rem, 6.6vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
}

.display--l {
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
}

.display--q {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.display--m {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.display--s {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.05;
}

.display--xs {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.display--xxs {
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--gold-text);
  margin-bottom: 20px;
}

.lede {
  font-size: clamp(1.08rem, 1.1vw, 1.19rem);
  line-height: 1.62;
  color: var(--fg-body);
  max-width: 52ch;
}

.lede + .lede {
  margin-top: 14px;
}

/* Heads share one rhythm: eyebrow, display, then the standfirst. */
.display + .lede,
.display + .body,
.display + .actions,
.display + .signup,
.display + .prose {
  margin-top: clamp(20px, 3vh, 30px);
}

.lede--quiet {
  max-width: 50ch;
}

.body {
  font-size: clamp(1.02rem, 1vw, 1.12rem);
  line-height: 1.68;
  color: var(--fg-body);
  max-width: 58ch;
}

.body + .body {
  margin-top: 14px;
}

.body--narrow {
  max-width: 42ch;
}

.body--lead {
  max-width: 56ch;
}

.body--emphasis {
  color: var(--fg);
  font-weight: 500;
}

.body--muted {
  color: var(--fg-quiet);
}

.meta {
  font-family: var(--brand);
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--fg-quiet);
  margin-top: 14px;
}

.rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gold);
  margin-bottom: 24px;
}

.rule--short {
  width: 64px;
  margin: 0;
}

.prose {
  max-width: 60ch;
  margin-bottom: clamp(40px, 7vh, 80px);
}

.prose + .stack-head {
  margin-top: 0;
}

.prose .display--xxs {
  margin-bottom: 18px;
}

/* Buttons and links ------------------------------------------------------- */

.btn {
  display: inline-block;
  cursor: pointer;
  border: 0;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.2;
  padding: 16px 28px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
}

.btn:hover {
  opacity: 0.88;
}

.btn:active {
  transform: translateY(1px);
}

.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

.actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 26px);
  flex-wrap: wrap;
}

.actions--spaced {
  margin-top: clamp(32px, 5vh, 56px);
}

.actions--wrap {
  gap: 24px;
}

.link-rule {
  display: inline-block;
  font-size: 1.02rem;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(247, 242, 232, 0.4);
  color: var(--cream);
  transition: color 160ms ease, border-color 160ms ease;
}

.link-rule--dark {
  color: var(--green);
  border-bottom-color: rgba(27, 74, 68, 0.3);
}

.link-rule:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.crumb {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--sage);
  font-size: 1.02rem;
  transition: color 160ms ease;
}

.crumb::before {
  content: '\2190';
  margin-right: 8px;
}

.crumb:hover {
  color: var(--gold);
}

/* Decorative fills -------------------------------------------------------- */

/* Density levels are classes, not inline opacity, so the Content Security
   Policy can forbid inline styles. */
.lattice--full {
  opacity: 0.55;
}

.lattice--half {
  opacity: 0.4;
}

.lattice--mid {
  opacity: 0.35;
}

.lattice--soft {
  opacity: 0.3;
}

.lattice--faint {
  opacity: 0.28;
}

.lattice,
.grid-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.grid-wash {
  background-image: repeating-linear-gradient(
      to right,
      rgba(201, 165, 90, 0.13) 0 1px,
      transparent 1px 104px
    ),
    repeating-linear-gradient(to bottom, rgba(201, 165, 90, 0.13) 0 1px, transparent 1px 104px);
}

.spine {
  position: fixed;
  left: 26px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(201, 165, 90, 0.22);
  z-index: 40;
  pointer-events: none;
}

.spine__fill {
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 0;
  background: var(--gold);
}

.spine__node {
  position: absolute;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(201, 165, 90, 0.5);
}

.spine__node:nth-of-type(1) {
  top: 22vh;
}

.spine__node:nth-of-type(2) {
  top: 52vh;
}

.spine__node:nth-of-type(3) {
  top: 82vh;
}

@media (max-width: 1100px) {
  .spine {
    display: none;
  }
}

/* Navigation -------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px var(--gutter);
  background: var(--green);
  border-bottom: 1px solid var(--rule-soft);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__mark {
  height: 38px;
  width: auto;
}

.logo__word {
  height: 15px;
  width: auto;
  position: relative;
  top: 1px;
}

.nav__toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--rule-soft);
  border-radius: 6px;
  padding: 9px 14px;
  color: var(--cream);
  font-size: 0.95rem;
  cursor: pointer;
}

.nav__toggle-bars {
  display: grid;
  gap: 4px;
  width: 16px;
}

.nav__toggle-bars i {
  display: block;
  height: 1px;
  background: var(--gold);
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav__toggle[aria-expanded='true'] .nav__toggle-bars i:first-child {
  transform: translateY(2.5px) rotate(45deg);
}

.nav__toggle[aria-expanded='true'] .nav__toggle-bars i:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
}

.nav__link {
  position: relative;
  display: block;
  padding: 6px 0;
  font-size: 1rem;
  color: var(--panel);
  white-space: nowrap;
  transition: color 160ms ease;
}

.nav__link:hover {
  color: var(--gold);
}

.nav__link.is-current::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--gold);
}

.nav__cta {
  padding: 11px 20px;
  font-size: 1rem;
}

@media (max-width: 1080px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 26px;
    background: var(--green);
    border-bottom: 1px solid var(--rule-soft);
    max-height: calc(100dvh - 100%);
    overflow-y: auto;
    display: none;
  }

  .nav__menu.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    padding: 15px 0;
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(201, 165, 90, 0.16);
  }

  .nav__link.is-current::after {
    left: auto;
    right: 2px;
    top: 50%;
    bottom: auto;
    margin: -2px 0 0;
  }

  .nav__cta {
    margin-top: 22px;
    text-align: center;
  }
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  background: var(--green);
  --fg: var(--cream);
  --fg-body: var(--sage);
  --fg-quiet: var(--muted-dark);
  --gold-text: var(--gold-light);
  color: var(--cream);
  overflow: hidden;
  min-height: min(88vh, 900px);
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }
}

.hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: clamp(56px, 9vh, 120px) var(--gutter);
}

.hero__copy .eyebrow {
  margin-bottom: 0;
}

.hero__copy .lede {
  max-width: 44ch;
}

.hero__frame {
  position: relative;
  min-height: 46vh;
  border-left: 1px solid var(--rule-soft);
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-drift 26s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@media (max-width: 899px) {
  .hero__frame {
    min-height: clamp(260px, 76vw, 460px);
    border-left: 0;
    border-top: 1px solid var(--rule-soft);
    order: -1;
  }
}

/* The morph: convergence redrawn as distribution --------------------------- */

.morph-section {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

@media (min-width: 900px) {
  .morph-section {
    grid-template-columns: 1fr 1fr;
  }
}

.morph-section__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 10vh, 120px);
}

@media (min-width: 900px) {
  .morph-section__figure {
    position: sticky;
    top: 16vh;
  }
}

.morph__svg {
  width: 100%;
  height: auto;
  max-height: 58vh;
  overflow: visible;
}

.morph__legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  font-family: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--muted);
}

.morph__legend span {
  transition: color 300ms ease;
}

.morph__legend .is-active {
  color: var(--green);
}

.morph__track {
  height: 2px;
  background: rgba(201, 165, 90, 0.3);
  margin-top: 6px;
}

.morph__track i {
  display: block;
  height: 2px;
  width: 0;
  background: var(--gold);
}

/* The four questions ------------------------------------------------------ */

.question {
  display: flex;
  align-items: center;
  min-height: 60vh;
  padding: clamp(60px, 10vh, 120px) var(--gutter);
}

.question__inner {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: clamp(24px, 4vw, 64px);
}

@media (min-width: 860px) {
  .question__inner {
    grid-template-columns: 1.15fr 1fr;
    align-items: baseline;
  }
}

.question__n {
  display: block;
  font-family: var(--brand);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold-text);
  margin-bottom: 18px;
}

.pips {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 340px;
  margin-top: 34px;
}

.pips i {
  flex: 1 1 0;
  height: 1px;
  background: currentColor;
  opacity: 0.25;
}

.pips i.is-on {
  height: 5px;
  background: var(--gold);
  opacity: 1;
}

.closing-line {
  text-align: center;
  padding-top: clamp(40px, 6vh, 70px);
}

.closing-line .display {
  margin: 0 auto;
  max-width: min(100%, 780px);
}

/* Hairline grids and cards ------------------------------------------------ */

/* Hairline grids.
   The obvious constructions both drop lines. A 1px gap over a coloured
   container background needs the cell contents to fill the cell exactly, and
   1px borders on the cells vanish at every boundary that lands on a half
   pixel, which fractional column widths guarantee. A spread shadow is painted
   outside the border box, so each cell draws its own frame over its
   neighbours and every line survives at 1x and 2x alike. */
.hairline-grid {
  display: grid;
  gap: 0;
}

.hairline-grid > * {
  box-shadow: 0 0 0 1px var(--hairline);
}

.hairline-grid--1,
.hairline-grid--2,
.hairline-grid--3,
.hairline-grid--4,
.hairline-grid--5,
.hairline-grid--6 {
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .hairline-grid--2,
  .hairline-grid--3,
  .hairline-grid--4,
  .hairline-grid--5,
  .hairline-grid--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .hairline-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hairline-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hairline-grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .hairline-grid--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .hairline-grid--6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.svc-card {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  background: var(--green);
  color: var(--panel);
  padding: clamp(26px, 3vw, 40px);
  transition: background 220ms ease;
}

.svc-card--lg {
  min-height: 268px;
}

.svc-card:hover {
  background: var(--ink);
}

.svc-card.is-current {
  opacity: 0.42;
}

.svc-card__name {
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--sage);
}

.svc-card__word {
  font-family: var(--brand);
  line-height: 1;
  color: var(--gold);
  white-space: nowrap;
  font-size: min(2.9rem, 13cqi);
}

.svc-card--md .svc-card__word,
.svc-card--sm .svc-card__word {
  font-size: min(1.95rem, 13cqi);
}

.svc-card__line {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--panel);
}

.tile {
  background: var(--panel);
  padding: clamp(22px, 3vw, 36px);
}

.tile__name,
.tile__title {
  display: block;
  font-family: var(--brand);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: var(--green);
  margin-bottom: 12px;
}

.tile__title {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.05rem;
}

.tile__n {
  display: block;
  font-family: var(--brand);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold-text);
  margin-bottom: 12px;
}

/* The method line and the five moves -------------------------------------- */

.method-line {
  width: 100%;
  height: auto;
  display: block;
  margin: clamp(40px, 7vh, 80px) 0 28px;
}

.moves {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
}

@media (min-width: 620px) {
  .moves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .moves {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.moves + * {
  margin-top: clamp(32px, 5vh, 56px);
}

.moves__name {
  display: block;
  font-family: var(--brand);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 10px;
}

/* Product screen ---------------------------------------------------------- */

.screen {
  perspective: 1400px;
}

.screen__tilt {
  transform: rotateY(-13deg) rotateX(4deg);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(201, 165, 90, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

.screen--flat {
  margin-top: clamp(36px, 6vh, 64px);
  border: 1px solid rgba(201, 165, 90, 0.3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.5);
}

@media (max-width: 860px) {
  .screen__tilt {
    transform: none;
  }
}

/* Beat 9. Four workplaces -------------------------------------------------- */

.frames {
  display: grid;
  gap: 0;
}

.frames__item {
  box-shadow: 0 0 0 1px var(--rule);
}

@media (min-width: 620px) {
  .frames {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .frames {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.frames__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 2.4vw, 30px);
  min-height: clamp(200px, 26vh, 280px);
}

.frames__item--green {
  background: var(--green);
  color: var(--gold);
}

.frames__item--cream {
  background: var(--panel);
  color: var(--green);
}

.frames__art {
  width: 100%;
  height: auto;
}

/* Long form pages --------------------------------------------------------- */

.framed {
  border: 1px solid var(--rule);
  margin-bottom: clamp(48px, 8vh, 90px);
  overflow: hidden;
}

.framed img {
  width: 100%;
  object-fit: cover;
}

.steps {
  display: flex;
  flex-direction: column;
}

.steps__item {
  display: grid;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(32px, 5vh, 56px) 0;
  border-top: 1px solid var(--rule);
}

.steps__item:last-child {
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 780px) {
  .steps__item {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  }
}

.steps__n {
  display: block;
  font-family: var(--brand);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold-text);
  margin-bottom: 14px;
}

.steps__body .body {
  max-width: 52ch;
}

.hairline-grid + .row,
.hairline-grid + .row-plain,
.hairline-grid + .steps {
  margin-top: clamp(40px, 6vh, 70px);
}

.row {
  display: grid;
  gap: clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
}

@media (min-width: 780px) {
  .row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  }
}

.row--founder {
  align-items: start;
  margin-top: clamp(48px, 8vh, 90px);
}

.row__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 54ch;
}

.row__body .body + .body {
  margin-top: 0;
}

.row-plain {
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
}

.company {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 6vh, 70px);
}

.dashed {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 54ch;
}

.dashed li {
  display: flex;
  gap: 14px;
  font-size: clamp(1.02rem, 1vw, 1.12rem);
  line-height: 1.6;
  color: var(--fg-body);
}

.dashed li::before {
  content: '\2014';
  color: var(--gold-text);
  flex: none;
}

.group-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}

.group-head__n {
  font-family: var(--brand);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold-text);
}

.note {
  background: var(--green);
  color: var(--cream);
  --fg: var(--cream);
  --fg-body: var(--sage);
  --fg-quiet: var(--muted-dark);
  --gold-text: var(--gold-light);
  padding: clamp(30px, 5vw, 56px);
  margin-top: clamp(40px, 7vh, 80px);
}

.note .display {
  margin-bottom: 18px;
}

.note--light {
  background: rgba(253, 250, 244, 0.06);
  border: 1px solid var(--rule-soft);
  text-align: left;
}

.callout {
  background: var(--panel);
  border: 1px solid var(--rule);
  padding: clamp(28px, 4vw, 48px);
}

.callout .display {
  margin-bottom: 16px;
}

.callout .body {
  margin-bottom: 26px;
  max-width: 50ch;
}

/* Service page head ------------------------------------------------------- */

.svc-head .wrap {
  position: relative;
  z-index: 1;
}

.svc-head__row {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
}

@media (min-width: 900px) {
  .svc-head__row {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: end;
  }
}

.svc-head__row .lede {
  margin-top: 24px;
}

.svc-head__word {
  container-type: inline-size;
  font-family: var(--brand);
  font-size: min(3.6rem, 15cqi);
  line-height: 1;
  color: var(--gold);
  white-space: nowrap;
}

@media (min-width: 900px) {
  .svc-head__word {
    text-align: right;
  }
}

.svc-head__name {
  display: block;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--sage);
  margin-bottom: 10px;
}

/* Insights ---------------------------------------------------------------- */

.categories {
  margin-bottom: clamp(48px, 8vh, 90px);
}

/* The list item is the grid cell; the label has to fill it or the hairline
   background shows through and the cells appear to merge. */
.categories li {
  display: flex;
}

.category {
  flex: 1;
}

.category {
  display: flex;
  align-items: flex-end;
  min-height: 150px;
  height: 100%;
  padding: clamp(24px, 3vw, 38px);
  background: var(--panel);
  font-family: var(--brand);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--green);
  transition: background 200ms ease, color 200ms ease;
}

a.category:hover {
  background: var(--green);
  color: var(--gold);
}

.empty {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(40px, 7vh, 80px) 0;
  margin-bottom: clamp(48px, 8vh, 90px);
}

.empty .display {
  margin-bottom: 14px;
}

.articles {
  display: flex;
  flex-direction: column;
}

.articles li {
  border-bottom: 1px solid var(--rule);
}

.articles a {
  display: block;
  padding: 28px 0;
  transition: opacity 160ms ease;
}

.articles a:hover {
  opacity: 0.7;
}

.articles time {
  display: block;
  font-family: var(--brand);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 12px;
}

.articles h3 {
  margin-bottom: 8px;
}

.newsletter {
  display: grid;
  gap: clamp(26px, 4vw, 56px);
  background: var(--green);
  --fg: var(--cream);
  --fg-body: var(--sage);
  --fg-quiet: var(--muted-dark);
  --gold-text: var(--gold-light);
  color: var(--cream);
  padding: clamp(32px, 5vw, 64px);
  margin-top: clamp(48px, 8vh, 90px);
}

@media (min-width: 860px) {
  .newsletter {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }
}

.newsletter .display {
  margin-bottom: 14px;
}

/* Forms ------------------------------------------------------------------- */

.call__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(36px, 5vw, 72px);
}

@media (min-width: 900px) {
  .call__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.call__what {
  border-top: 1px solid var(--rule-soft);
  padding-top: 26px;
  margin-top: 34px;
  max-width: 44ch;
}

.form {
  background: var(--cream);
  --fg: var(--green);
  --fg-body: var(--ink);
  --fg-quiet: var(--muted);
  --gold-text: var(--gold-deep);
  color: var(--ink);
  padding: clamp(26px, 4vw, 44px);
  border-radius: 10px;
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input,
.field textarea,
.signup input {
  display: block;
  width: 100%;
  font-family: var(--sans);
  font-size: 1.02rem;
  padding: 14px 16px;
  border: 1px solid #ede7d5;
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  transition: border-color 160ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #a4443a;
}

.field__error {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  color: #a4443a;
}

.form .btn {
  margin-top: 8px;
}

.form .body--muted {
  margin-top: 18px;
  font-size: 0.95rem;
}

.form a {
  color: var(--green);
  border-bottom: 1px solid var(--rule);
}

.form__status {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--fg-quiet);
  min-height: 1.2em;
}

.form__status.is-error {
  color: #a4443a;
}

.form__status.is-ok {
  color: var(--green);
}

.signup {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  /* Stretch so the field matches the button height without hand tuning
     padding on both. */
  align-items: stretch;
  margin-top: clamp(32px, 5vh, 56px);
}

.signup input {
  flex: 1 1 240px;
  min-width: 0;
  width: auto;
}

.signup .form__status {
  flex-basis: 100%;
  margin-top: 4px;
}

.signup--dark {
  margin-top: 0;
}

.signup--dark input {
  background: var(--ink);
  border-color: rgba(201, 165, 90, 0.55);
  color: var(--panel);
}

.signup--dark input::placeholder {
  color: rgba(197, 222, 217, 0.7);
}

.signup--dark .form__status.is-ok {
  color: var(--gold);
}

.signup--dark .form__status.is-error {
  color: #e5a99f;
}

/* Invitation and centred pages -------------------------------------------- */

.invitation {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: clamp(80px, 14vh, 180px) var(--gutter);
}

.invitation__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.invitation .display {
  margin-bottom: 26px;
}

.invitation .body {
  margin-left: auto;
  margin-right: auto;
  max-width: 46ch;
}

.invitation .btn {
  margin-top: 34px;
}

.centred {
  display: flex;
  align-items: center;
  min-height: 74vh;
}

.centred__inner {
  position: relative;
  z-index: 1;
}

.centred .lede {
  margin-top: 24px;
}

.centred .note--light {
  margin-top: clamp(36px, 6vh, 64px);
}

.centred .actions {
  margin-top: clamp(32px, 5vh, 48px);
}

/* Portrait placeholder ---------------------------------------------------- */

.portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--rule);
  background: var(--panel);
  min-height: clamp(240px, 32vh, 340px);
  padding: 24px;
}

.portrait img {
  height: 96px;
  width: auto;
  opacity: 0.5;
}

.portrait__note {
  font-family: var(--brand);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Footer ------------------------------------------------------------------ */

.footer {
  background: var(--ink);
  color: var(--panel);
  --gold-text: var(--gold-light);
  padding: clamp(50px, 8vh, 90px) var(--gutter) 34px;
}

.footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
}

.footer__grow {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold);
  margin-bottom: clamp(36px, 6vh, 64px);
}

.footer__cols {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(201, 165, 90, 0.25);
}

@media (min-width: 620px) {
  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .footer__cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer__col a {
  font-size: 1rem;
  transition: color 160ms ease;
}

.footer__col a:hover {
  color: var(--gold);
}

.footer__social {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__legal {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted-dark);
}

.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
}

.footer__strapline {
  font-family: var(--brand);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--panel);
}

.footer__rights {
  font-size: 0.9rem;
  color: var(--muted-dark);
}

/* Motion ------------------------------------------------------------------ */

[data-reveal] {
  opacity: 1;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  will-change: opacity, transform;
}

.js [data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero__photo {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .nav,
  .footer,
  .spine,
  .lattice,
  .grid-wash {
    display: none;
  }

  .band {
    background: #fff !important;
    color: #000 !important;
  }
}
