/* TOKENS */
:root {
  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shell: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 8rem;

  /* type scale */
  --fs-head: clamp(30px, 3.6vw, 48px);
  /* section headings */
  --fs-body: clamp(17px, 1.15vw, 20px);
  /* body text */
  --fs-tag: clamp(3rem, 11.5vw, 180px);
  /* big section tags */
  --fs-nav: clamp(18px, 1.6vw, 24px);
  /* nav links */
  --fs-eyebrow: clamp(15px, 1.5vw, 21px);
  /* line above the hero name */
  --fs-social: clamp(13px, 1.1vw, 16px);
  /* handles under the hero name */

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* dark theme (default) */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --surface: #1F1E18;
  --text: #F4F1EA;
  --muted: #9A9588;
  --faint: #6B675D;
  --hairline: #2F2D26;
  --hairline-strong: #4A473D;
  --placeholder: #6E6A5F;
  --glass: rgba(22, 21, 15, .72);
  --lift: 0 22px 44px -20px rgba(0, 0, 0, .8);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F4F1EA' stroke-width='1.2'/%3E%3C/svg%3E");
  --fill-image: url("/assets/photos/hero-fill-dark.jpeg");
  --dot: rgba(244, 241, 234, .16);
}

/* light theme */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F4F1EA;
  --surface: #ECE8DE;
  --text: #16150F;
  --muted: #6E6A60;
  --faint: #A8A396;
  --hairline: #DAD5C8;
  --hairline-strong: #C9C4B7;
  --placeholder: #A39E91;
  --glass: rgba(244, 241, 234, .78);
  --lift: 0 22px 44px -22px rgba(22, 21, 15, .4);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316150F' stroke-width='1.2'/%3E%3C/svg%3E");
  --fill-image: url("assets/photos/hero-fill-light.jpg");
  --dot: rgba(22, 21, 15, .14);
}

/* OUR WORK COLLAGE (settings live on .work) */
.work {
  --gap: clamp(8px, 2.2vw, 28px);
  /* scales with the viewport */
  --pad-x: clamp(16px, 3vw, 48px);
  /* side margin, 0 for edge-to-edge */
  --max-w: 100%;
  /* full width, use a px value to cap it */
  --card-bg: var(--surface);
  /* card background while the video loads */
  --ratio-reel: 2/3;
  /* tall card */
  --ratio-film: 3/2;
  /* wide card */
  background: var(--bg);
  color: var(--text);
  padding: clamp(28px, 4vw, 64px) var(--pad-x) clamp(32px, 5vw, 80px);
}

.work__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.work__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(10px, 1.6vw, 24px);
}

.work__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--text);
}

.work__link {
  font-family: var(--font-body);
  color: var(--text);
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
}

.work__link:hover {
  opacity: .7;
}

.collage {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.collage__row {
  display: grid;
  gap: var(--gap);
  align-items: stretch;
  /* keeps both cards in a row the same height */
}

/* minmax(0, ...) lets the columns shrink on narrow phones */
.collage__row--a {
  grid-template-columns: minmax(0, 3fr) minmax(0, 6.75fr);
}

/* reel + film */
.collage__row--b {
  grid-template-columns: minmax(0, 6.75fr) minmax(0, 3fr);
}

/* film + reel */
.collage__row--c {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* three reels */

.card {
  position: relative;
  margin: 0;
  min-width: 0;
  min-height: 0;
  /* lets the card shrink inside the grid */
  overflow: hidden;
  background: var(--card-bg);
  isolation: isolate;
  container-type: inline-size;
  /* caption size follows the card width */
}

.card--reel {
  aspect-ratio: var(--ratio-reel);
}

.card--film {
  aspect-ratio: var(--ratio-film);
}

/* Safari fix: cards collapsed to 0 x 0 because everything inside is absolute.
   width gives the card a size, ::before gives it a height. */
.card {
  width: 100%;
}

.card::before {
  content: "";
  display: block;
  padding-top: 150%;
}

.card--film::before {
  padding-top: 66.6667%;
}

/* video / iframe / image goes in here */
.card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.card__media>video,
.card__media>iframe,
.card__media>img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

/* dark overlay on hover */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .14) 40%, rgba(0, 0, 0, 0) 68%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.card__caption {
  position: absolute;
  z-index: 2;
  left: 6cqw;
  right: 6cqw;
  bottom: 6cqw;
  margin: 0;
  font-size: 15px;
  font-size: clamp(13px, 4.4cqw, 17px);
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C9C4B7;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}

:root[data-theme="light"] .card__caption,
:root[data-theme="light"] .card:hover .card__caption,
:root[data-theme="light"] .card:focus-visible .card__caption,
:root[data-theme="light"] .card:focus-within .card__caption {
  color: #C9C4B7;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.card:hover::after,
.card:focus-visible::after,
.card:focus-within::after {
  opacity: 1;
}

.card:hover .card__caption,
.card:focus-visible .card__caption,
.card:focus-within .card__caption {
  opacity: 1;
  transform: translateY(0);
}

.card:focus-visible {
  outline: 1px solid #fff;
  outline-offset: -1px;
}

/* phones: one column */
@media (max-width:700px) {
  .work {
    --gap: 12px;
    --pad-x: 16px;
  }

  .collage__row--a,
  .collage__row--b,
  .collage__row--c {
    grid-template-columns: minmax(0, 1fr);
  }

  .card__caption {
    font-size: 14px;
    letter-spacing: .1em;
  }
}

@media (hover:none) {
  .card::after {
    opacity: 1;
  }

  .card__caption {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion:reduce) {

  .card::after,
  .card__caption {
    transition: none;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--hairline-strong) var(--bg);
}

html.menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

input,
select,
textarea {
  border-radius: 0;
}

section:focus {
  outline: none;
}

::selection {
  background: var(--text);
  color: var(--bg);
}

:focus-visible {
  outline: 1.5px solid var(--text);
  outline-offset: 3px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* theme switch animation */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  z-index: 1;
}

::view-transition-new(root) {
  z-index: 2;
}

/* fallback fade for browsers without view transitions */
.theme-fade,
.theme-fade * {
  transition: background-color .6s ease, color .6s ease, border-color .6s ease !important;
}

/* SHARED PIECES */
.wrap {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* each section fills the screen */
.section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + clamp(1rem, 3vh, 2.5rem)) 0 clamp(2rem, 6vh, 4.5rem);
}

/* section tag */
.label {
  margin: 0 0 .28em;
  margin-left: -.035em;
  /* small nudge so the letter lines up with the text below */
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-tag);
  line-height: .9;
  letter-spacing: .012em;
  text-transform: uppercase;
  color: var(--text);
  min-height: .9em;
}

/* typing cursor */
.label .tw-caret {
  display: inline-block;
  width: .05em;
  height: .6em;
  margin-left: .08em;
  background: currentColor;
  vertical-align: baseline;
  opacity: 0;
  transition: opacity .35s ease;
}

.label.is-typing .tw-caret {
  opacity: 1;
}

/* h2 style */
h2,
.p-card h3 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-head);
  line-height: 1.2;
  letter-spacing: -.005em;
  text-transform: capitalize;
  text-wrap: balance;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.1rem;
  border: 1px solid var(--text);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .03em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease),
    border-color .4s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}

.btn-solid {
  background: var(--text);
  color: var(--bg);
}

.btn-solid:hover {
  background: transparent;
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--text);
  color: var(--bg);
}

.link-more {
  font-size: .92rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: .15rem;
  transition: opacity .25s ease;
}

.link-more:hover {
  opacity: .55;
}

/* SCROLL REVEAL */
.js [data-reveal] {
  transition-property: opacity, filter, transform;
  transition-duration: 1s;
  transition-timing-function: var(--ease);
  transition-delay: var(--rd, 0ms);
}

.js [data-reveal]:not(.is-in) {
  opacity: 0;
  filter: blur(var(--rb, 10px));
  transform: translate3d(0, var(--ry, 34px), 0);
}

/* comes back in from the top when scrolling up */
.js [data-reveal][data-from="above"]:not(.is-in) {
  transform: translate3d(0, calc(var(--ry, 34px) * -1), 0);
}

/* NAV */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-inline: var(--gutter);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: opacity 1.1s var(--ease) 1.1s, transform 1.1s var(--ease) 1.1s,
    height .5s var(--ease), top .5s var(--ease), left .5s var(--ease), right .5s var(--ease),
    border-radius .5s var(--ease), background-color .5s var(--ease),
    box-shadow .5s var(--ease), backdrop-filter .5s var(--ease);
}

/* after scrolling: floating glass bar */
.nav.is-scrolled {
  top: clamp(.6rem, 1.6vh, 1.1rem);
  left: clamp(.9rem, 3vw, 2rem);
  right: clamp(.9rem, 3vw, 2rem);
  height: 7.75rem;
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--lift);
}

.js:not(.is-loaded) .nav {
  opacity: 0;
  transform: translate3d(0, -14px, 0);
}

.wordmark {
  justify-self: start;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.wordmark img {
  display: block;
  height: clamp(80px, 10vw, 112px);
  width: auto;
}

.nav-links {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: .4rem 0;
  font-size: var(--fs-nav);
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: color .3s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: var(--muted);
}

.nav-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.theme-toggle,
.menu-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  transition: border-color .3s ease, background-color .3s ease;
}

.theme-toggle:hover,
.menu-toggle:hover {
  border-color: var(--text);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform .9s var(--ease);
}

:root[data-theme="light"] .theme-toggle svg {
  transform: rotate(180deg);
}

/* pulsing ring on the theme toggle */
.js .theme-toggle {
  animation: ring-breathe 3s var(--ease-io) infinite;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  animation-play-state: paused;
}

@keyframes ring-breathe {

  0%,
  100% {
    box-shadow: inset 0 0 0 0 var(--text), 0 0 0 0 transparent;
    border-color: var(--hairline-strong);
  }

  50% {
    box-shadow: inset 0 0 0 2px var(--text), 0 0 0 5px transparent;
    border-color: var(--text);
  }
}

.menu-toggle {
  display: none;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform .5s var(--ease);
}

.menu-toggle span:first-child {
  transform: translate(-50%, -3px);
}

.menu-toggle span:last-child {
  transform: translate(-50%, 3px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translate(-50%, 0) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translate(-50%, 0) rotate(-45deg);
}

/* mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 2.5rem;
  background: var(--bg);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .75s var(--ease-io), visibility 0s linear .75s;
}

.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .75s var(--ease-io), visibility 0s;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  overflow: hidden;
}

.menu a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--muted);
  transform: translate3d(0, 105%, 0);
  transition: transform .8s var(--ease), color .3s ease;
}

.menu a[aria-current="true"],
.menu a:hover {
  color: var(--text);
}

.menu.is-open a {
  transform: none;
  transition-delay: calc(.18s + var(--i) * .05s), 0s;
}

.menu-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  font-size: .85rem;
  color: var(--muted);
}

.menu-foot a {
  font: inherit;
  color: var(--text);
  transform: none;
}

/* HERO */
.hero {
  padding: var(--nav-h) var(--gutter) 0;
  text-align: center;
}

.hero-center {
  flex: 1;
  display: grid;
  place-items: center;
  align-content: center;
  padding-block: 2rem;
}

.eyebrow {
  margin: 0 0 .9rem;
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}

.name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4.2rem, 15.5vw, 14rem);
  line-height: .86;
  letter-spacing: .01em;
  text-transform: uppercase;
  background-color: var(--text);
  /* fallback if the photo does not load */
  background-image: var(--fill-image);
  background-size: cover;
  background-position: center 62%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* letter-spacing is not animated here, it made the name jump when it wrapped
     on two lines. Only the photo reveal (background-position) animates. */
  transition: background-position 3s var(--ease) .15s;
}

.js:not(.is-loaded) .name {
  background-position: center 25%;
}

@supports not ((-webkit-background-clip:text) or (background-clip:text)) {
  .name {
    color: var(--text);
    background-image: none;
  }
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  margin: 1.9rem 0 0;
  padding: 0;
  list-style: none;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: var(--fs-social);
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: .8;
  transition: opacity .25s ease;
}

.socials a:hover {
  opacity: 1;
}

.socials svg {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex: none;
}

.hero-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 3.2vh, 2rem);
  padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
}

.hero-cta {
  box-shadow: var(--lift);
}

.hero-cta:hover {
  transform: translateY(-3px);
}

/* button floats to the bottom-right after the hero.
   script.js toggles .is-docked and moves the button to <body> while docked. */
.hero-cta-icon {
  display: none;
  width: 20px;
  height: 20px;
}

.hero-cta-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-cta.is-docked {
  position: fixed;
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vh, 2rem);
  z-index: 60;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
}

.hero-cta.is-docked .hero-cta-label {
  display: none;
}

.hero-cta.is-docked .hero-cta-icon {
  display: block;
}

.hero-cta-placeholder {
  display: inline-block;
}

.scroll-cue {
  display: block;
  line-height: 0;
  color: var(--hairline-strong);
  animation: drift 2.6s ease-in-out infinite;
}

.scroll-cue:hover {
  color: var(--text);
}

.scroll-cue svg {
  width: 16px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2;
}

@keyframes drift {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(7px);
  }
}

/* page load animation, then the hero joins the scroll reveals */
.hero [data-reveal] {
  --rb: 22px;
  --ry: 22px;
}

.js:not(.intro-done) .hero [data-reveal] {
  transition-duration: 1.7s;
  transition-delay: var(--id, 0ms);
}

/* ABOUT */

/* ABOUT: crest badge */
.about .col-media {
  width: 100%;
}

.about .crest {
  position: relative;
  width: 100%;
  height: clamp(340px, calc(100svh - 24rem), 680px);
  aspect-ratio: 514/642;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  background:
    radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, .08), transparent 55%),
    linear-gradient(155deg, #2a2820 0%, #141310 42%, #050504 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -1px 0 rgba(0, 0, 0, .6),
    0 30px 50px -24px rgba(0, 0, 0, .85);
  transform: perspective(900px) rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg));
  transition: transform .5s var(--ease-io), box-shadow .6s var(--ease);
}

.about .crest::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(155deg, rgba(255, 215, 140, .55), rgba(255, 255, 255, .05) 40%, rgba(0, 0, 0, .6) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.about .crest img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16%;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5));
}

.about .crest-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 48%, rgba(255, 229, 170, .35) 52%, transparent 68%);
  transform: translateX(-140%) skewX(-18deg);
  pointer-events: none;
  mix-blend-mode: screen;
}

.about .crest.is-shining .crest-shine {
  animation: crest-sweep 1.3s var(--ease-io) forwards;
}

@keyframes crest-sweep {
  to {
    transform: translateX(140%) skewX(-18deg);
  }
}

.about .crest:hover,
.about .crest:focus-visible {
  transform: perspective(900px) translateY(-4px) rotateX(6deg) rotateY(-8deg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    inset 0 -1px 0 rgba(0, 0, 0, .6),
    0 40px 60px -22px rgba(0, 0, 0, .9),
    0 0 40px -6px rgba(245, 214, 123, .35);
}

.about {
  position: relative;
}

.about::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 45% at 78% 45%, rgba(245, 214, 123, .07), transparent 70%);
  opacity: 0;
  transition: opacity .9s var(--ease);
  pointer-events: none;
}

.about:hover::after {
  opacity: 1;
}

.about .meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
  font-size: var(--fs-body);
  letter-spacing: .02em;
  color: var(--muted);
}

.about .meta .who {
  color: var(--text);
}

.about .grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.about .col-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about .statement {
  max-width: 20em;
}

.about .support {
  margin: 1.4rem 0 0;
  max-width: 60ch;
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--muted);
}

.about .cta-row {
  margin-top: 2.1rem;
}

.about .credit {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: .85rem;
  font-size: var(--fs-body);
  letter-spacing: .02em;
  color: var(--muted);
}

.about .credit span:first-child {
  color: var(--text);
}


/* SERVICES */
/* space under the tag before the columns */
.services .label {
  margin-bottom: clamp(1.75rem, 5vh, 3.25rem);
}

.services .grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
  /* both columns full height */
}

/* rows stretch to match the picture height */
.services .list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.services .row {
  border-bottom: 1px solid var(--hairline);
}

.services .row-btn {
  appearance: none;
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: clamp(.7rem, 1.8vh, 1.25rem) 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.1vw, 2.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .012em;
  text-align: left;
  color: var(--faint);
  cursor: pointer;
  transition: color .35s ease;
}

.services .row-btn:hover {
  color: var(--muted);
}

.services .row-btn[aria-expanded="true"] {
  color: var(--text);
}

.services .mark {
  position: relative;
  flex: none;
  width: 13px;
  height: 13px;
}

.services .mark::before,
.services .mark::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform .4s var(--ease);
}

.services .mark::before {
  inset: 6px 0 6px 0;
  height: 1px;
}

.services .mark::after {
  inset: 0 6px 0 6px;
  width: 1px;
}

.services .row-btn[aria-expanded="true"] .mark::after {
  transform: scaleY(0);
}

.services .panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}

.services .panel>div {
  overflow: hidden;
}

.services .row-btn[aria-expanded="true"]+.panel {
  grid-template-rows: 1fr;
}

.services .panel p {
  margin: 0 0 1rem;
  max-width: 60ch;
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--muted);
}

.services .from {
  display: block;
  margin: 0 0 1.5rem;
  font-size: var(--fs-body);
  letter-spacing: .02em;
  color: var(--text);
  text-decoration: none;
  transition: color .25s ease;
}

.services .from:hover {
  color: var(--muted);
}

.services .media {
  position: relative;
}

.services .frame {
  position: relative;
  height: clamp(280px, calc(100svh - 26rem), 620px);
  aspect-ratio: 514/642;
  overflow: hidden;
  background: var(--surface);
}

.services .frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .8s ease, transform 1.4s var(--ease);
}

.services .frame img.is-active {
  opacity: 1;
  transform: scale(1);
}

.services .caption {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: .85rem;
  font-size: var(--fs-body);
  letter-spacing: .02em;
  color: var(--muted);
}

.services .caption span:first-child {
  color: var(--text);
}

/* PROCESS: pinned section, cards slide in from the right */
.process {
  display: block;
  min-height: 0;
  padding: 0;
  --p-steps: 4;
  --p-hold: 82svh;
  /* scroll distance per card */
}

.p-pin {
  padding-block: calc(var(--nav-h) + clamp(1rem, 3vh, 2.5rem)) clamp(2rem, 6vh, 4.5rem);
}

.p-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}

.p-copy .statement {
  margin-bottom: 1.1rem;
}

.p-copy .p-lede {
  margin: 0 0 clamp(1.5rem, 3.5vh, 2.25rem);
  max-width: 46ch;
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--muted);
}

/* progress bar */
.p-rail {
  display: flex;
  gap: .45rem;
  margin-top: clamp(1.5rem, 3.5vh, 2.25rem);
}

.p-dot {
  width: 30px;
  height: 2px;
  padding: 0;
  background: var(--hairline-strong);
  border: 0;
  cursor: pointer;
  transition: background-color .35s ease, width .55s var(--ease);
}

.p-dot[aria-current="true"] {
  background: var(--text);
  width: 52px;
}

/* cards */
.p-stage {
  position: relative;
  display: grid;
  gap: 1.1rem;
}

.p-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.2vw, 2rem);
  background: var(--surface);
  overflow: hidden;
}

.p-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.25rem, 3vh, 2.25rem);
}

.p-card .n {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1;
  letter-spacing: .04em;
  color: var(--text);
}

.p-icon {
  flex: none;
  width: clamp(48px, 4.4vw, 62px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
}

.p-icon svg {
  width: 46%;
  height: 46%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* smaller text sizes here, the card is tight on space in pinned mode */
.p-card h3 {
  margin: 0 0 .5rem;
  font-size: clamp(22px, 2.3vw, 32px);
}

.p-card p {
  margin: 0;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.6;
  color: var(--muted);
}

.p-points {
  list-style: none;
  margin: clamp(.8rem, 2vh, 1.3rem) 0 0;
  padding: 0;
}

.p-points li {
  padding: .4rem 0;
  border-top: 1px solid var(--hairline-strong);
  font-size: clamp(14px, 1vw, 16px);
  letter-spacing: .01em;
  color: var(--text);
}

.p-card-cta {
  align-self: flex-start;
  margin-top: auto;
  padding-top: .85rem;
  padding-bottom: .85rem;
  padding-inline: 1.9rem;
}

.p-points {
  margin-bottom: clamp(1rem, 2.4vh, 1.6rem);
}

/* pinned mode, turned on by JS on wide screens */
.process.is-pinned {
  height: calc(100svh + var(--p-steps) * var(--p-hold));
}

.process.is-pinned .p-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* waiting cards sit off to the right */
}

.process.is-pinned .p-grid {
  grid-template-columns: 1fr minmax(0, clamp(330px, 30vw, 430px));
}

.process.is-pinned .p-stage {
  display: block;
  height: clamp(485px, 68svh, 590px);
}

.process.is-pinned .p-card {
  position: absolute;
  inset: 0;
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0) scale(var(--s, 1));
  opacity: var(--o, 1);
  box-shadow: var(--lift);
  will-change: transform;
}

/* TESTIMONIALS */
.testimonials .top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem clamp(2rem, 5vw, 5rem);
  padding-bottom: clamp(1.5rem, 3.5vh, 2.5rem);
}

.testimonials .intro {
  flex: 1 1 28rem;
  min-width: 0;
}

.testimonials .statement {
  max-width: 20em;
}

.testimonials .side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  max-width: 32ch;
}

.testimonials .aside {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--muted);
}

.testimonials .board {
  --speed: 64s;
  --dot-size: 22px;
  background:
    radial-gradient(circle, var(--dot) 1.4px, transparent 1.6px) 0 0/var(--dot-size) var(--dot-size),
    var(--surface);
  transition: background-color .6s ease;
  padding-block: clamp(2.75rem, 5.5vh, 4.5rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}

.testimonials .t-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  padding-inline: clamp(1.75rem, 3vw, 2.75rem);
  animation: board-drift var(--speed) linear infinite;
}

.testimonials .board:hover .t-track,
.testimonials .board:focus-within .t-track {
  animation-play-state: paused;
}

@keyframes board-drift {
  to {
    transform: translateX(-50%);
  }
}

/* notes stay paper colored in both themes */
.testimonials .note {
  position: relative;
  flex: none;
  width: var(--w);
  margin: 0;
  padding: 1rem 1rem 0;
  background: #FFFFFF;
  transform: translateY(var(--dy)) rotate(var(--rot));
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05), 0 12px 24px -10px rgba(0, 0, 0, .26);
  transition: transform .5s var(--ease), box-shadow .5s ease;
}

:root[data-theme="dark"] .testimonials .note {
  box-shadow: 0 1px 1px rgba(0, 0, 0, .35), 0 18px 34px -12px rgba(0, 0, 0, .8);
}

.testimonials .note:hover,
.testimonials .note:focus-within {
  transform: translateY(calc(var(--dy) - 6px)) rotate(0deg);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05), 0 26px 40px -14px rgba(0, 0, 0, .4);
}

.testimonials .note .scan {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.testimonials .note figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .2rem .8rem;
  margin-top: .9rem;
  padding: .85rem 0 .95rem;
  border-top: 1px solid #E6E1D6;
}

.testimonials .who {
  font-size: var(--fs-body);
  font-weight: 400;
  color: #16150F;
}

.testimonials .what {
  font-size: var(--fs-body);
  letter-spacing: .02em;
  color: #6E6A60;
}

.testimonials .pin {
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: transform .3s var(--ease);
}

.testimonials .pin-icon {
  display: block;
  width: 40px;
  height: 40px;
  background: url("assets/icons/pin.png") center/contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .28)) drop-shadow(0 7px 9px rgba(0, 0, 0, .3));
  transition: filter .3s ease;
}

.testimonials .pin:hover {
  transform: translateX(-50%) translateY(-4px) scale(1.1);
}

.testimonials .pin:hover .pin-icon {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .28)) drop-shadow(0 14px 16px rgba(0, 0, 0, .34));
}

/* GALLERY CTA */
.gallery-cta {
  align-items: center;
  text-align: center;
}

.gallery-cta .block {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.gallery-cta .lines {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4.6rem, 16vw, 14rem);
  line-height: .86;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.gallery-cta .lines span {
  display: block;
}

.gallery-cta .filled {
  background-color: var(--text);
  background-image: var(--fill-image);
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-position 1.2s var(--ease);
}

.gallery-cta .block:hover .filled,
.gallery-cta .block:focus-visible .filled {
  background-position: center 40%;
}

@supports not ((-webkit-background-clip:text) or (background-clip:text)) {
  .gallery-cta .filled {
    color: var(--text);
    background-image: none;
  }
}

.gallery-cta .open {
  margin-top: clamp(1.5rem, 3.5vh, 2.5rem);
}

.gallery-cta .block:hover .open,
.gallery-cta .block:focus-visible .open {
  background: var(--text);
  color: var(--bg);
}

.gallery-cta .block:focus-visible {
  outline-offset: 12px;
}

/* CONTACT */
.contact .grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.contact .statement {
  max-width: 14em;
  margin-bottom: 1.2rem;
}

.contact .lede {
  margin: 0 0 clamp(2rem, 4.5vh, 3.25rem);
  max-width: 60ch;
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--muted);
}

.contact .details {
  display: grid;
  gap: clamp(1.1rem, 2.6vh, 1.6rem);
  margin: 0;
}

.contact .detail dt {
  font-size: var(--fs-body);
  letter-spacing: .02em;
  color: var(--muted);
  margin-bottom: .35rem;
}

.contact .detail dd {
  margin: 0;
  font-size: var(--fs-body);
}

.contact .detail a {
  text-decoration: none;
  color: var(--text);
  transition: color .25s ease;
}

.contact .detail a:hover {
  color: var(--muted);
}

.contact .form {
  display: grid;
  gap: clamp(1.1rem, 2.6vh, 1.7rem);
}

.contact .pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.1rem, 2.6vh, 1.7rem);
}

.contact .field {
  display: block;
}

.contact .field>span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .5rem;
  font-size: var(--fs-body);
  letter-spacing: .01em;
}

.contact .field .opt {
  font-size: var(--fs-body);
  font-style: normal;
  color: var(--muted);
}

.contact .field input,
.contact .field select,
.contact .field textarea {
  display: block;
  width: 100%;
  padding: .9rem 1.05rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--hairline);
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.contact .field input::placeholder,
.contact .field textarea::placeholder {
  color: var(--placeholder);
}

.contact .field input:hover,
.contact .field select:hover,
.contact .field textarea:hover {
  border-color: var(--hairline-strong);
}

.contact .field input:focus,
.contact .field select:focus,
.contact .field textarea:focus {
  outline: none;
  background: var(--bg);
  border-color: var(--text);
  box-shadow: 0 0 0 1px var(--text);
}

.contact .field textarea {
  min-height: 6.5rem;
  resize: vertical;
  line-height: 1.6;
}

.contact .field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  background-image: var(--chev);
  background-repeat: no-repeat;
  background-position: right 1.05rem center;
  background-size: 11px;
}

.contact .field select:invalid {
  color: var(--placeholder);
}

.contact .field option {
  color: var(--text);
  background: var(--bg);
}

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

.contact .submit {
  justify-self: start;
  margin-top: .35rem;
  padding: 1.05rem 2.6rem;
}

.contact .submit:disabled {
  opacity: .55;
  cursor: default;
}

.contact .form-note {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--muted);
}

.contact .form-status {
  margin: 0;
  font-size: var(--fs-body);
  color: var(--text);
  min-height: 1.4em;
}

/* FOOTER */
.site-footer {
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid var(--hairline);
  padding-top: clamp(3rem, 7vw, 5.5rem);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
}

.footer-brand h3 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .01em;
  text-transform: none;
  /* overrides the global h3 style */
  color: var(--text);
}

.footer-brand img {
  display: block;
  width: clamp(150px, 18vw, 240px);
  height: auto;
  margin-bottom: .2rem;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .35));
}

.footer-brand p {
  margin: 0;
  max-width: 32ch;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--muted);
}

.footer-col h3,
.footer-contact h3 {
  margin: 0 0 1.15rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text);
  font-size: var(--fs-body);
  transition: opacity .25s ease;
}

.footer-links a:hover {
  opacity: .65;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
}

.footer-contact address {
  margin: 0;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  font-size: var(--fs-body);
  color: var(--muted);
}

.footer-contact address a {
  align-self: flex-start;
  text-decoration: none;
  color: var(--text);
  transition: color .25s ease;
}

.footer-contact address a:hover {
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--hairline);
}

.footer-bottom .wrap {
  padding-block: clamp(1.25rem, 3vh, 1.75rem);
  text-align: center;
  font-size: var(--fs-body);
  color: var(--muted);
}

@media (max-width:900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width:640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-brand p {
    max-width: 36ch;
  }

  .footer-col,
  .footer-contact {
    align-items: center;
  }

  .footer-contact address {
    align-items: center;
  }

  .footer-contact address a {
    align-self: center;
  }
}

/* RESPONSIVE */
/* hamburger menu only on smaller screens */
@media (max-width:760px) {
  .nav-center {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  /* mobile: plain solid bar, always sticky */
  .nav,
  .nav.is-scrolled {
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    border-radius: 0;
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 1px 0 var(--hairline);
  }
}

@media (max-width:960px) {
  .contact .grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact .statement {
    max-width: none;
  }
}

@media (max-width:900px) {
  .about .meta {
    flex-wrap: wrap;
    gap: .4rem 1.5rem;
  }

  .about .meta .role {
    display: none;
  }

  .about .grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .about .col-copy {
    order: 2;
  }

  .about .statement {
    max-width: none;
  }

  .about .crest {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    max-height: 52svh;
  }

  .about .crest img {
    padding: 20%;
  }

  .services .grid {
    grid-template-columns: 1fr;
  }

  .services .col-media {
    display: none;
  }

  .services .media {
    margin-bottom: 1.4rem;
  }

  .services .frame {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    max-height: 58svh;
  }
}

@media (max-width:760px) {
  .socials {
    gap: 1.6rem;
  }

  .testimonials .aside {
    display: none;
  }
}

@media (max-width:620px) {
  .testimonials .board {
    --speed: 44s;
  }

  .testimonials .note {
    width: calc(var(--w) * .82);
  }
}

/* short screens: smaller notes */
@media (min-width:621px) and (max-height:980px) {
  .testimonials .note {
    width: calc(var(--w) * .74);
  }
}

@media (min-width:621px) and (max-height:820px) {
  .testimonials .note {
    width: calc(var(--w) * .64);
  }
}

@media (max-width:560px) {
  .contact .pair {
    grid-template-columns: 1fr;
  }

  .contact .submit {
    justify-self: stretch;
  }

  .about .crest {
    aspect-ratio: 1/1;
    max-height: 46svh;
  }
}

/* short screens: smaller tag */
@media (max-height:920px) {
  :root {
    --fs-tag: clamp(2.75rem, 9vw, 132px);
  }
}

@media (max-height:760px) {
  :root {
    --fs-tag: clamp(2.5rem, 8vw, 104px);
  }
}

/* short laptop screens: tighter spacing */
@media (min-width:901px) and (max-height:920px) {
  .services .row-btn {
    font-size: clamp(1.7rem, 4.6vh, 2.4rem);
    padding-block: clamp(.55rem, 1.4vh, .9rem);
  }

  .services .panel p {
    margin-bottom: .8rem;
    font-size: var(--fs-body);
    line-height: 1.7;
  }

  .services .from {
    margin-bottom: 1rem;
  }

  .services .label {
    margin-bottom: clamp(1.25rem, 3.5vh, 2.25rem);
  }
}

@media (min-width:961px) {

  .contact .form,
  .contact .pair {
    gap: clamp(.8rem, 2vh, 1.2rem);
  }

  .contact .field>span {
    margin-bottom: .35rem;
  }

  .contact .field input,
  .contact .field select,
  .contact .field textarea {
    padding-block: clamp(.6rem, 1.5vh, .85rem);
  }

  .contact .field textarea {
    min-height: clamp(4.25rem, 11vh, 6rem);
  }

  .contact .lede {
    margin-bottom: clamp(1.5rem, 3.5vh, 2.5rem);
  }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }

  .js [data-reveal],
  .js [data-reveal]:not(.is-in),
  .js:not(.is-loaded) .nav {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .js:not(.is-loaded) .name {
    background-position: center 62%;
  }

  .about .crest,
  .about .crest-shine {
    animation: none !important;
    transition: none !important;
  }

  .scroll-cue {
    animation: none;
  }

  .label .tw-caret {
    animation: none;
    opacity: 0;
  }

  .theme-toggle {
    animation: none;
    box-shadow: none;
  }

  .testimonials .t-track {
    animation: none;
  }

  .testimonials .board {
    overflow-x: auto;
    scrollbar-width: none;
  }
}