/* The Core Fitness Planners. Tokens follow the brand guidelines board. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111111;
  --paper: #f7f5ef;
  --sand: #d8cbb7;
  --gold: #b49a65;
  --stone: #8c8880;

  /* Derived from the palette for text that has to pass AA. */
  --text-muted: #5b5750;
  --on-ink-muted: #cfc9bd;
  --rule: rgb(17 17 17 / 0.16);
  --rule-on-ink: rgb(247 245 239 / 0.18);

  --serif: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --header-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* z-index scale: header 50, mobile nav 40, services sub-nav 30, skip link 60. */
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 4.5rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

a {
  color: inherit;
}

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

.wrap {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.875rem;
}
.skip-link:focus {
  top: 1rem;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

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

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 3.6vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.statement {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  line-height: 1.24;
  letter-spacing: -0.005em;
}
.statement--sm {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
}

.list-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.link-arrow .icon {
  transition: transform 0.4s var(--ease);
}
.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 0;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.15s;
}
/* Hover fill sweeps in from the left and leaves to the right. */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease);
}
.btn:hover::before,
.btn:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left;
}
.btn:active {
  transform: translateY(1px);
}
.btn--light {
  --btn-fill: var(--sand);
  background: var(--paper);
  color: var(--ink);
}
.btn--outline-light {
  --btn-fill: var(--paper);
  border-color: rgb(247 245 239 / 0.6);
  color: var(--paper);
}
.btn--outline-light:hover,
.btn--outline-light:focus-visible {
  border-color: var(--paper);
  color: var(--ink);
}
.btn--dark {
  --btn-fill: #3b3934;
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Logo (recreated from the brand board) ---------- */

.logo {
  --logo-size: 1.7rem;
  display: inline-grid;
  justify-items: start;
  color: var(--ink);
  line-height: 1;
  text-decoration: none;
}
.logo--reversed {
  color: var(--paper);
}
.logo--lg {
  --logo-size: 2.6rem;
}
.logo__the,
.logo__sub {
  font-family: var(--sans);
  font-size: calc(var(--logo-size) * 0.3);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.logo__the {
  width: 52%;
  padding-bottom: calc(var(--logo-size) * 0.14);
  border-bottom: 1px solid currentColor;
}
.logo__main {
  display: flex;
  align-items: baseline;
  gap: 0.14em;
  padding-block: calc(var(--logo-size) * 0.04) calc(var(--logo-size) * 0.1);
  font-family: var(--serif);
  font-size: var(--logo-size);
}
.logo__core {
  font-size: 1.16em;
  font-style: italic;
  font-weight: 500;
}
.logo__fitness {
  font-weight: 300;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.logo__sub {
  justify-self: end;
  width: 56%;
  padding-top: calc(var(--logo-size) * 0.14);
  border-top: 1px solid currentColor;
  text-align: right;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--rule-on-ink);
  transition: background-color 0.45s var(--ease), border-color 0.45s var(--ease);
}
/* Every page opens on an ink block, so the header starts clear and turns solid on scroll. */
.js .site-header:not(.is-solid):not(:has([data-open])) {
  background: transparent;
  border-bottom-color: transparent;
}
.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
}
.site-header .logo {
  --logo-size: 1.6rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.site-nav__list {
  display: flex;
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
}
.site-nav__list a {
  position: relative;
  padding-block: 0.5rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-ink-muted);
  transition: color 0.3s var(--ease);
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] {
  color: var(--paper);
}
.site-nav__list a:hover::after,
.site-nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
}
.site-nav__cta {
  min-height: 2.75rem;
  padding: 0.6rem 1.25rem;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgb(247 245 239 / 0.4);
  background: none;
  color: var(--paper);
  font-size: 1.25rem;
  cursor: pointer;
}
.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: inline-flex;
}
.nav-toggle__open {
  display: inline-flex;
}

@media (max-width: 860px) {
  :root {
    --header-h: 68px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2rem;
    padding: 2rem var(--gutter) 3rem;
    background: var(--ink);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
  }
  .site-nav[data-open] {
    visibility: visible;
    opacity: 1;
  }
  .site-nav__list {
    flex-direction: column;
    gap: 0;
  }
  .site-nav__list a {
    display: block;
    padding-block: 1rem;
    border-bottom: 1px solid var(--rule-on-ink);
    font-family: var(--serif);
    font-size: 1.9rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--paper);
  }
  .site-nav__list a::after {
    display: none;
  }
  .site-nav__cta {
    min-height: 3.25rem;
  }
}

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

.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 4vw, 4rem);
  min-height: min(100dvh, 900px);
  padding-top: calc(var(--header-h) + clamp(1.5rem, 3vw, 2.5rem));
}
.hero__text {
  align-self: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero__kicker {
  margin-bottom: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.9rem, 5.3vw, 4.9rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
}
.hero__lead {
  max-width: 33rem;
  margin-top: 1.75rem;
  font-size: 1.05rem;
  color: var(--on-ink-muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.5rem;
}

/* The arch window: three photos cross-fade in turn. */
.hero__visual {
  position: relative;
  align-self: end;
}
.hero__visual .lines {
  right: 62%;
  width: 95%;
  opacity: 0.7;
}
.hero__arch {
  position: relative;
  aspect-ratio: 3 / 4.3;
  max-height: calc(min(100dvh, 900px) - var(--header-h) - 2rem);
  margin-left: auto;
  border-radius: 50vw 50vw 0 0;
  overflow: hidden;
  background: #1c1b19;
}
.hero__arch img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.hero__arch img:first-child {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero__arch {
    animation: arch-rise 1.6s var(--ease) 0.15s both;
  }
  .hero__arch img,
  .hero__arch img:first-child {
    opacity: 0;
    animation: arch-cycle 15s linear calc(var(--n) * 5s) infinite backwards;
  }
  .js .hero-fade {
    animation: fade-up 1s var(--ease) 0.55s both;
  }
  .js .hero__kicker.hero-fade {
    animation-delay: 0.1s;
  }
  .js .hero__actions.hero-fade {
    animation-delay: 0.7s;
  }
  @keyframes arch-rise {
    from {
      clip-path: inset(100% 0 0 0);
    }
    to {
      clip-path: inset(0);
    }
  }
  /* Each photo: fade in, hold with a slow push, fade out. Three photos share 15s. */
  @keyframes arch-cycle {
    0% {
      opacity: 0;
      transform: scale(1.1);
    }
    7% {
      opacity: 1;
    }
    33% {
      opacity: 1;
    }
    41% {
      opacity: 0;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(1);
    }
  }
  @keyframes fade-up {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 0;
  }
  .hero__text {
    padding-block: 1.5rem 2.75rem;
  }
  .hero__arch {
    width: 78%;
    aspect-ratio: 4 / 4.2;
  }
  .hero__actions .btn {
    flex: 1 1 12rem;
  }
}

/* ---------- Text that reveals line by line (main.js wraps each word) ---------- */

@media (prefers-reduced-motion: no-preference) {
  /* Hidden until split; shown anyway after 2.5s in case the script never runs. */
  .js [data-split]:not(.is-split) {
    visibility: hidden;
    animation: split-failsafe 0s 2.5s forwards;
  }
  @keyframes split-failsafe {
    to {
      visibility: visible;
    }
  }
  .split-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    /* Room for descenders and italic overhang inside the mask. */
    margin: 0 -0.08em -0.16em 0;
    padding: 0 0.08em 0.16em 0;
  }
  .split-word > span {
    display: inline-block;
    transform: translateY(115%);
    transition: transform 1s var(--ease) calc(var(--line, 0) * 110ms);
  }
  .is-in .split-word > span {
    transform: none;
  }
}

/* ---------- Moving strip ---------- */

.marquee {
  display: flex;
  overflow: hidden;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--rule);
}
.marquee__track {
  display: flex;
  flex: none;
  align-items: center;
}
.marquee__track li {
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.2;
  white-space: nowrap;
}
.marquee__track li::after {
  content: "";
  width: 3rem;
  height: 1px;
  margin-inline: 1.75rem;
  background: var(--gold);
}
@media (prefers-reduced-motion: no-preference) {
  .marquee__track {
    animation: marquee 46s linear infinite;
  }
  .marquee:hover .marquee__track {
    animation-play-state: paused;
  }
  @keyframes marquee {
    to {
      transform: translateX(-100%);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    flex: 1 1 auto;
    flex-wrap: wrap;
    row-gap: 0.5rem;
    padding-inline: var(--gutter);
  }
  .marquee__track[aria-hidden] {
    display: none;
  }
}

/* ---------- Audience pathways ---------- */

.paths-section__title {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.paths {
  display: flex;
  gap: 1rem;
  height: clamp(440px, 64vh, 640px);
}
.path {
  flex: 1 1 0;
  min-width: 0;
  transition: flex-grow 0.9s var(--ease);
}
.path__link {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.path__link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: scale 1.4s var(--ease), opacity 0.7s var(--ease);
}
.path__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(17 17 17 / 0.05) 25%, rgb(17 17 17 / 0.9) 100%);
}
.path__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  gap: 0.6rem;
  padding: clamp(1.25rem, 2.4vw, 2.25rem);
}
.path__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  line-height: 1.12;
}
.path__line {
  max-width: 30ch;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #e3ded3;
}
.path__more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.path__link:focus-visible {
  outline-offset: -6px;
}

/* With a mouse: the panel you point at widens and shows its line. One is always open. */
@media (hover: hover) and (min-width: 861px) {
  .path__line,
  .path__more {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
  }
  .path:hover,
  .path:focus-within,
  .paths:not(:hover):not(:focus-within) .path:first-child {
    flex-grow: 2.1;
  }
  :is(.path:hover, .path:focus-within, .paths:not(:hover):not(:focus-within) .path:first-child) :is(.path__line, .path__more) {
    opacity: 1;
    transform: none;
    transition-delay: 0.18s;
  }
  :is(.path:hover, .path:focus-within, .paths:not(:hover):not(:focus-within) .path:first-child) img {
    scale: 1.05;
    opacity: 0.95;
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section);
}
.section--rule {
  border-top: 1px solid var(--rule);
}
.section--sand {
  background: var(--sand);
}

.arch {
  border-radius: 50vw 50vw 0 0;
  overflow: hidden;
}

/* Statement that darkens word by word as it scrolls into view (where supported). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .scrub {
      color: transparent;
      background:
        linear-gradient(var(--ink), var(--ink)) no-repeat 0 0 / 0% 100%,
        linear-gradient(rgb(17 17 17 / 0.26), rgb(17 17 17 / 0.26)) no-repeat 0 0 / 100% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      animation: scrub linear both;
      animation-timeline: view();
      animation-range: entry 35% cover 58%;
    }
    @keyframes scrub {
      to {
        background-size: 100% 100%, 100% 100%;
      }
    }
  }
}

/* About intro (home) */
.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: center;
}
.about-intro__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-intro__text > * + * {
  margin-top: 1.75rem;
}
.about-intro__text p:not(.statement) {
  max-width: 62ch;
  color: var(--text-muted);
}

/* Mission and Vision */
.duo {
  overflow-x: clip;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.duo__panel {
  position: relative;
  padding: clamp(3.5rem, 8vw, 7.5rem) var(--gutter);
  overflow: hidden;
}
/* Keep the first panel's text on the same left edge as .wrap. */
.duo__panel:first-child {
  padding-left: max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter)));
}
.duo__panel:last-child {
  padding-inline: clamp(1.25rem, 6vw, 6rem) max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter)));
}
.duo__panel--sand {
  background: var(--sand);
}
.duo__panel--ink {
  background: var(--ink);
  color: var(--paper);
}
.duo__panel > :not(.lines) {
  position: relative;
  max-width: 34rem;
}
.duo__panel--ink > :not(.lines) {
  max-width: 40rem;
}
.duo__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  line-height: 1.15;
}
.duo__lead {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  line-height: 1.34;
}
.duo__lead + p {
  margin-top: 1.25rem;
  font-size: 0.95rem;
}
.duo__panel--sand .duo__lead + p {
  color: #3d3a35;
}
.duo__panel--ink .duo__lead + p {
  color: var(--on-ink-muted);
}

/* Diagonal gold lines from the brand board. They draw themselves in when seen. */
.lines {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(46%, 420px);
  aspect-ratio: 1;
  opacity: 0.85;
  pointer-events: none;
}
.lines path {
  stroke: var(--gold);
  stroke-width: 1;
}
.cta-band .lines {
  width: min(38%, 520px);
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .js .lines path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.8s var(--ease) calc(var(--i) * 130ms + 0.2s);
  }
  .js .is-in .lines path {
    stroke-dashoffset: 0;
  }
}

/* Services (home) */
.services-home__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}
.services-home__media {
  position: sticky;
  top: calc(var(--header-h) + 2.5rem);
  aspect-ratio: 4 / 5;
  border-radius: 50vw 50vw 0 0;
  overflow: hidden;
  background: var(--sand);
}
.services-home__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.services-home__media img.is-active {
  opacity: 1;
}

.accordion {
  margin-top: 2.5rem;
  border-bottom: 1px solid var(--rule);
}
.accordion__item {
  border-top: 1px solid var(--rule);
}
.accordion__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.accordion__item summary::-webkit-details-marker {
  display: none;
}
.accordion__mark {
  display: inline-flex;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform 0.4s var(--ease);
}
.accordion__item[open] .accordion__mark {
  transform: rotate(45deg);
}
.accordion__body {
  padding-bottom: 2.25rem;
}
/* Smooth open and close where the browser can animate to auto height. */
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .accordion__item {
      interpolate-size: allow-keywords;
    }
    .accordion__item::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size 0.6s var(--ease), content-visibility 0.6s allow-discrete;
    }
    .accordion__item[open]::details-content {
      block-size: auto;
    }
  }
}
.accordion__body > * + * {
  margin-top: 1.25rem;
}
.accordion__body > p:not(.list-label) {
  max-width: 60ch;
  color: var(--text-muted);
}

.ticks li {
  position: relative;
  padding-left: 1.7rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.12rem, 1.35vw, 1.28rem);
  line-height: 1.35;
  break-inside: avoid;
}
.ticks li + li {
  margin-top: 0.85rem;
}
.ticks li::before,
.bento__cell::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.48em;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--gold);
  transform: rotate(45deg);
}
.ticks--lg li {
  font-size: clamp(1.3rem, 1.75vw, 1.6rem);
}
.ticks--lg li + li {
  margin-top: 1.05rem;
}
.ticks--cols {
  columns: 2;
  column-gap: 3rem;
}
.ticks--cols3 {
  columns: 3;
  column-gap: 3rem;
}

/* Approach: plain list by default; main.js pins it and steps through on wide screens. */
.stepper {
  --st-bg: var(--paper);
  --st-fg: var(--ink);
  --st-muted: var(--text-muted);
  --st-rule: var(--rule);
  position: relative;
  background: var(--st-bg);
  color: var(--st-fg);
}
.stepper--ink {
  --st-bg: var(--ink);
  --st-fg: var(--paper);
  --st-muted: var(--on-ink-muted);
  --st-rule: var(--rule-on-ink);
}
.stepper__marks,
.stepper__nav {
  display: none;
}
.stepper__stage {
  padding-block: var(--section);
}
.stepper__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.stepper__panel {
  padding: 0 0 clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid var(--gold);
}
.stepper__panel:last-child {
  padding-bottom: 0;
}
.stepper__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.1rem, 3.2vw, 2.8rem);
  line-height: 1.1;
  transform: translateY(-0.18em);
}
.stepper__panel p {
  max-width: 52ch;
  margin-top: 0.4rem;
  color: var(--st-muted);
}

/* Optional photo per step. */
.stepper__figure {
  display: none;
}
.stepper--media .stepper__figure {
  display: block;
  max-width: 26rem;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.stepper__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stepper--media.is-enhanced .stepper__grid {
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
}
.stepper--media.is-enhanced .stepper__panels {
  min-height: min(64vh, 34rem);
}
.stepper--media.is-enhanced .stepper__panel {
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  align-content: stretch;
}
.stepper--media.is-enhanced .stepper__figure {
  order: 2;
  max-width: none;
  height: min(64vh, 34rem);
  aspect-ratio: auto;
  margin: 0;
  border-radius: 50vw 50vw 0 0;
}
.stepper--media.is-enhanced .stepper__figure img {
  clip-path: inset(100% 0 0 0);
  scale: 1.12;
  transition: clip-path 1s var(--ease), scale 1.6s var(--ease);
}
.stepper--media.is-enhanced .is-active .stepper__figure img {
  clip-path: inset(0);
  scale: 1;
}
.stepper--media.is-enhanced .stepper__name {
  font-size: clamp(3.4rem, 6.2vw, 6rem);
}

/* Pinned version. The section is tall; the stage sticks while .stepper__marks scroll past
   the middle of the screen, and main.js marks the matching step active. */
.stepper.is-enhanced {
  height: calc(100dvh + 5 * 55vh);
}
.is-enhanced .stepper__marks {
  position: absolute;
  inset: 50vh 0 auto;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  height: calc(5 * 55vh);
  pointer-events: none;
}
.is-enhanced .stepper__stage {
  position: sticky;
  top: 0;
  display: grid;
  align-items: center;
  height: 100dvh;
  padding-block: calc(var(--header-h) + 1.5rem) 1.5rem;
  overflow: hidden;
}
.is-enhanced .stepper__grid {
  align-items: center;
}
.is-enhanced .stepper__nav {
  position: relative;
  display: grid;
  gap: 1rem;
  margin-top: 2.75rem;
  padding-left: 1.75rem;
}
.stepper__nav::before,
.stepper__nav::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: var(--st-rule);
}
.stepper__nav::after {
  background: var(--gold);
  transform: scaleY(calc((var(--step, 0) + 1) / 5));
  transform-origin: top;
  transition: transform 0.8s var(--ease);
}
.stepper__nav li {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--st-muted);
  opacity: 0.55;
  transition: opacity 0.4s var(--ease), color 0.4s var(--ease);
}
.stepper__nav li.is-active {
  color: var(--st-fg);
  opacity: 1;
}
.is-enhanced .stepper__panels {
  position: relative;
  min-height: 24rem;
}
.is-enhanced .stepper__panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: 0;
  border: 0;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.5s var(--ease), transform 0.9s var(--ease);
  pointer-events: none;
}
.is-enhanced .stepper__panel.is-past {
  transform: translateY(-32px);
}
.is-enhanced .stepper__panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.is-enhanced .stepper__name {
  font-size: clamp(4.5rem, 10vw, 9.5rem);
  line-height: 1.05;
  transform: none;
}
.is-enhanced .stepper__panel p {
  max-width: 44ch;
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

/* Why: seven tiles, one per point. */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(13.5rem, auto);
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.bento__cell {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.25rem, 2vw, 2rem);
  overflow: hidden;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.75vw, 1.65rem);
  line-height: 1.22;
}
.bento__cell::before {
  left: clamp(1.25rem, 2vw, 2rem);
  top: clamp(1.4rem, 2.2vw, 2.2rem);
  z-index: 1;
}
.bento__cell p {
  position: relative;
  z-index: 1;
  max-width: 17ch;
}
.bento__cell--ink {
  background: var(--ink);
  color: var(--paper);
}
.bento__cell--sand {
  background: var(--sand);
}
.bento__cell--line {
  border: 1px solid var(--rule);
}
.bento__cell--photo {
  background: var(--ink);
  color: var(--paper);
}
.bento__cell--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.4s var(--ease);
}
.bento__cell--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(17 17 17 / 0.1) 30%, rgb(17 17 17 / 0.86) 100%);
}
.bento__cell--photo:hover img {
  scale: 1.05;
}
.bento__cell--photo p {
  max-width: 20ch;
}
.bento__cell--lines .lines {
  width: min(60%, 300px);
}
.bento__cell:nth-child(1) {
  grid-area: 1 / 1 / 3 / 3;
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
}
.bento__cell:nth-child(2) {
  grid-area: 1 / 3;
}
.bento__cell:nth-child(3) {
  grid-area: 1 / 4;
}
.bento__cell:nth-child(4) {
  grid-area: 2 / 3 / 3 / 5;
}
.bento__cell:nth-child(5) {
  grid-area: 3 / 1;
}
.bento__cell:nth-child(6) {
  grid-area: 3 / 2 / 4 / 4;
}
.bento__cell:nth-child(7) {
  grid-area: 3 / 4;
}

/* Closing band */
.cta-band {
  position: relative;
  background: var(--sand);
  overflow: hidden;
}
.cta-band--paper {
  background: var(--paper);
}
.cta-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 3rem;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.cta-band__title {
  max-width: 18ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

/* ---------- Inner pages ---------- */

.page-head {
  background: var(--ink);
  color: var(--paper);
}
.page-head__inner {
  padding-block: calc(var(--header-h) + clamp(1.75rem, 3.5vw, 3rem)) clamp(2.5rem, 5vw, 4.25rem);
}
.page-head__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.9rem, 6vw, 5.25rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.page-head__lead {
  max-width: 44rem;
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: var(--on-ink-muted);
}
/* Services: sticky list that marks the service being read. */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.subnav__list {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav__list::-webkit-scrollbar {
  display: none;
}
.subnav a {
  display: block;
  margin-bottom: -1px;
  padding-block: 1.1rem;
  border-bottom: 2px solid transparent;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.subnav a:hover,
.subnav a[aria-current="true"] {
  color: var(--ink);
}
.subnav a[aria-current="true"] {
  border-bottom-color: var(--gold);
}

/* About */
.about-body__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: center;
}
.about-body__text > * + * {
  margin-top: 1.5rem;
}
.about-body__text p:not(.statement) {
  max-width: 62ch;
  color: var(--text-muted);
}
.about-body__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.values__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.values__title {
  position: sticky;
  top: calc(var(--header-h) + 2.5rem);
}
.values__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.75rem clamp(1.5rem, 4vw, 4rem);
}
.values__item {
  padding-top: 1.1rem;
  background: linear-gradient(var(--gold), var(--gold)) no-repeat left top / 2rem 1px;
}
.values__item dt {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 2.1vw, 1.95rem);
  line-height: 1.2;
}
.values__item dd {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.positioning__inner {
  max-width: 62rem;
}
.positioning__after {
  max-width: 44rem;
  margin-top: 1.75rem;
  color: #3d3a35;
}
.positioning .btn {
  margin-top: 2.5rem;
}

/* Services page: each service has its own layout. */
.svc {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}
.svc .list-label {
  margin-bottom: 1.5rem;
}
.svc__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}
.svc__grid--flip {
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}
.svc__head {
  position: sticky;
  top: calc(var(--header-h) + 5.5rem);
}
.svc__head > * + * {
  margin-top: 1.5rem;
}
.svc__head p {
  max-width: 38ch;
  color: var(--text-muted);
}
.svc__photo {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.svc__photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.svc__photo--side {
  margin: 2.5rem 0 0;
}
.svc__photo--side img {
  aspect-ratio: 4 / 3;
}

.svc--ink {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.svc--ink .lines {
  width: min(32%, 460px);
  opacity: 0.6;
}
.svc__arch-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.svc__arch img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.svc__arch-text > * + * {
  margin-top: 1.75rem;
}
.svc__arch-text > p {
  max-width: 52ch;
  color: var(--on-ink-muted);
}
.svc__arch-text .ticks {
  margin-block: 2.25rem;
}
.svc--ink .link-arrow {
  color: var(--paper);
}

.svc--banner {
  padding-top: 0;
}
.svc-banner {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(22rem, 62vh, 36rem);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.svc-banner__media {
  position: absolute;
  inset: 0;
}
.svc-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  scale: 1.08;
}
.svc-banner__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(17 17 17 / 0.15) 20%, rgb(17 17 17 / 0.88) 100%);
}
.svc-banner__text {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.svc-banner__text p {
  max-width: 46ch;
  margin-top: 1.25rem;
  color: #e3ded3;
}
.svc-banner__body {
  padding-top: clamp(3rem, 6vw, 5rem);
}
.svc-banner__body .link-arrow {
  margin-top: 2.75rem;
}

.svc--sand {
  background: var(--sand);
}
.svc--sand .svc__head p {
  color: #3d3a35;
}
.svc--sand .ticks li::before {
  background: #7b6736;
}
.svc--sand .link-arrow {
  border-bottom-color: var(--ink);
}

.wide-figure img {
  width: 100%;
  height: clamp(260px, 46vw, 560px);
  object-fit: cover;
  object-position: center 40%;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}
.contact__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.form {
  display: grid;
  gap: 1.5rem;
}
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field {
  display: grid;
  gap: 0.5rem;
}
.field label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.field__optional {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-muted);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8rem 1rem;
  border: 1px solid #77736b;
  border-radius: 0;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
}
.field textarea {
  resize: vertical;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--ink);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.85rem;
}
.field--check input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.15rem 0 0;
  accent-color: var(--ink);
}
.field--check label {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.form .btn {
  justify-self: start;
}
.form-note {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--gold);
  background: #ece4d6;
  font-size: 0.95rem;
}
.form-note--error {
  border-left-color: #8a2b1e;
  color: #6f2117;
}

/* Fallback pages (page.php, index.php, 404.php) */
.prose {
  max-width: 44rem;
}
.prose > * + * {
  margin-top: 1.25rem;
}
.prose h2,
.prose h3 {
  margin-top: 2.5rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.9rem;
  line-height: 1.2;
}
.prose ul {
  padding-left: 1.25rem;
  list-style: disc;
}
.prose ol {
  padding-left: 1.25rem;
  list-style: decimal;
}
.prose a {
  text-decoration-color: var(--gold);
  text-underline-offset: 0.3em;
}

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

.site-footer {
  background: var(--ink);
  color: var(--paper);
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem);
}
.site-footer__line {
  margin-top: 1.75rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.site-footer__nav ul {
  display: grid;
  gap: 0.35rem;
}
.site-footer__nav a {
  display: inline-block;
  padding-block: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-ink-muted);
  transition: color 0.3s var(--ease);
}
.site-footer__nav a:hover {
  color: var(--paper);
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.75rem;
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.site-footer__bottom::before {
  content: "";
  position: absolute;
  inset: 0 var(--gutter) auto;
  height: 1px;
  background: var(--rule-on-ink);
}
.site-footer__pillars {
  color: var(--on-ink-muted);
}
.site-footer__pillars span {
  margin-inline: 0.5em;
  color: var(--gold);
}
.site-footer__legal {
  letter-spacing: 0.08em;
  color: #a8a298;
}

/* ---------- Scroll reveal ---------- */

.unveil {
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease), transform 1s var(--ease);
  }
  .js .reveal--left {
    transform: translateX(-40px);
  }
  .js .reveal--right {
    transform: translateX(40px);
  }
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  /* Photos wipe open from the top and ease back from a slight zoom. The clip sits on the
     image, not the figure: a clipped figure never counts as "in view" for the observer. */
  .js .unveil.reveal {
    opacity: 1;
    transform: none;
  }
  .js .unveil.reveal img {
    clip-path: inset(0 0 100% 0);
    scale: 1.2;
    transition: clip-path 1.4s var(--ease), scale 1.9s var(--ease);
  }
  .js .unveil.reveal.is-in img {
    clip-path: inset(0);
    scale: 1.08;
  }

  .bento .reveal:nth-child(2),
  .bento .reveal:nth-child(5) {
    transition-delay: 0.08s;
  }
  .bento .reveal:nth-child(3),
  .bento .reveal:nth-child(6) {
    transition-delay: 0.16s;
  }
  .bento .reveal:nth-child(4),
  .bento .reveal:nth-child(7) {
    transition-delay: 0.24s;
  }
  .values__list .reveal:nth-child(even) {
    transition-delay: 0.1s;
  }

  /* Photos drift a little against the scroll (browsers with scroll-driven animation). */
  @supports (animation-timeline: view()) {
    .js .drift img {
      animation: drift linear both;
      animation-timeline: view();
    }
    @keyframes drift {
      from {
        translate: 0 -3.5%;
      }
      to {
        translate: 0 3.5%;
      }
    }
  }

  /* Soft cross-fade between pages. */
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.35s;
  }
}

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
  .about-intro__grid,
  .about-body__grid,
  .duo,
  .services-home__grid,
  .values__grid,
  .svc__grid,
  .svc__arch-grid,
  .stepper__grid,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-intro__figure,
  .about-body__figure,
  .contact__figure {
    max-width: 22rem;
  }
  .about-body__figure {
    order: -1;
  }
  .services-home__media {
    position: relative;
    top: auto;
    order: -1;
    max-width: 22rem;
  }
  .values__title {
    position: static;
  }
  .svc__head {
    position: static;
  }
  .svc__grid--flip .svc__head {
    order: -1;
  }
  .svc__arch {
    max-width: 20rem;
  }
  .ticks--cols3 {
    columns: 2;
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: minmax(11rem, auto);
  }
  .bento .bento__cell {
    grid-area: auto;
  }
  .bento .bento__cell:nth-child(1),
  .bento .bento__cell:nth-child(4),
  .bento .bento__cell:nth-child(6) {
    grid-column: span 2;
  }
  .bento .bento__cell--photo {
    min-height: 16rem;
  }
  .paths {
    flex-direction: column;
    height: auto;
  }
  .path__link {
    height: 300px;
  }
  .lines {
    width: 62%;
    opacity: 0.55;
  }
  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .values__list,
  .form__row {
    grid-template-columns: minmax(0, 1fr);
  }
  .ticks--cols,
  .ticks--cols3 {
    columns: 1;
  }
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento .bento__cell:nth-child(n) {
    grid-column: auto;
  }
  .site-footer__bottom {
    flex-direction: column;
  }
}
