/*
  Koark Constructions' website (the www app): the whole look, in one file. The page's markup is the www app's
  tags (code/apps/www/tags), one per section, named in the comments below. Moopa's own stylesheet is not
  loaded on these pages.

  Fonts are self-hosted (latin subsets, both SIL Open Font License): Instrument Serif for display type and
  Geist, a variable font, for everything else. Each has a fallback face sized to its metrics, so the page
  doesn't shift when the real font arrives.
*/

@font-face {
  font-family: 'Instrument Serif';
  src: url('fonts/instrument-serif-400-latin.woff2') format('woff2');
  font-weight: 400;
  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: 'Instrument Serif';
  src: url('fonts/instrument-serif-400-italic-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  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: 'Instrument Serif fallback';
  src: local('Times New Roman');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 83.9385%;
  ascent-override: 117.9435%;
  descent-override: 36.9318%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Instrument Serif fallback';
  src: local('Times New Roman');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  size-adjust: 83.9385%;
  ascent-override: 117.9435%;
  descent-override: 36.9318%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Geist';
  src: url('fonts/geist-variable-latin.woff2') format('woff2');
  font-weight: 100 900;
  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: 'Geist fallback';
  src: local('Arial');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 104.7553%;
  ascent-override: 95.9379%;
  descent-override: 28.1609%;
  line-gap-override: 0%;
}

/* ---- Base ---- */

:root {
  --paper: #f4f1ea;
  --paper-deep: #ebe5d9;
  --ink: #151412;
  --ink-soft: #2b2824;
  --muted: #6f685e;
  --muted-on-dark: #a8a094;
  --rule: rgb(21 20 18 / 0.14);
  --rule-on-dark: rgb(244 241 234 / 0.16);
  --accent: #a24f27;
  --accent-soft: #d88a5c;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(88px, 12vw, 168px);
  --radius: 4px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.4vw, 2.5rem);
  --step-3: clamp(2.3rem, 1.6rem + 3vw, 4.25rem);
  --step-4: clamp(3rem, 1.8rem + 5.4vw, 6.75rem);

  --font-display: 'Instrument Serif', 'Instrument Serif fallback', Georgia, serif;
  --font-sans: 'Geist', 'Geist fallback', system-ui, sans-serif;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

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

ul[role='list'],
ol[role='list'] {
  list-style: none;
  padding: 0;
}

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

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

::selection {
  background: var(--accent);
  color: var(--paper);
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.98;
  text-wrap: balance;
}

.display em {
  font-style: italic;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
  max-width: 34em;
}

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  min-height: 52px;
  padding: 0 1.6em;
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background-color 0.35s var(--ease-out),
    color 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

.btn svg {
  width: 1em;
  height: 1em;
  transition: transform 0.45s var(--ease-out);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--light {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
}

.btn--light:hover {
  --btn-bg: #fff;
}

.btn--dark:hover {
  --btn-bg: var(--accent);
  border-color: var(--accent);
}

.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn--ghost:hover {
  background: rgb(255 255 255 / 0.1);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: gap 0.4s var(--ease-out), color 0.3s;
}

.link-arrow:hover {
  gap: 0.9em;
  color: var(--accent);
}

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

/* Scroll reveal: only hides content when JS has confirmed it can reveal it again. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 1.1s var(--ease-out);
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
}

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

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- layout_site: skip link ---- */

    .skip-link {
      position: fixed;
      top: 12px;
      left: 12px;
      z-index: 100;
      padding: 10px 16px;
      border-radius: 999px;
      background: var(--ink);
      color: var(--paper);
      font-size: 0.9rem;
      transform: translateY(-200%);
      transition: transform 0.3s var(--ease-out);
    }
    .skip-link:focus {
      transform: none;
    }

/* ---- site_logo ---- */

.logo-mark {
  display: block;
  height: 1em;
  width: auto;
}
.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  line-height: 1;
}
.logo-lockup__mark {
  height: 1.9em;
  width: auto;
  flex: none;
}
.logo-lockup__type {
  display: flex;
  flex-direction: column;
  gap: 0.38em;
}
.logo-lockup__word {
  height: 1em;
  width: auto;
  display: block;
}
.logo-lockup__sub {
  font-family: var(--font-sans);
  font-size: 0.37em;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  /* Optical alignment: trailing tracking adds visual width on the right. */
  margin-right: -0.42em;
  white-space: nowrap;
}

/* ---- site_header ---- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--paper);
  transition:
    background-color 0.5s var(--ease-out),
    color 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out);
}

.header::before {
  /* Soft scrim so white type stays legible over bright photos. */
  content: '';
  position: absolute;
  inset: 0 0 -40px;
  background: linear-gradient(to bottom, rgb(10 10 9 / 0.45), transparent);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}

.header[data-state='solid'] {
  background: rgb(244 241 234 / 0.92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--rule);
}

.header[data-state='solid']::before,
.header[data-menu-open]::before {
  opacity: 0;
}

.header[data-menu-open] {
  color: var(--paper);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
  transition: height 0.5s var(--ease-out);
}

.header[data-state='solid'] .header__inner {
  height: 72px;
}

.header__brand {
  font-size: 26px;
  flex: none;
}

.header__nav ul {
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
  font-size: 0.92rem;
  font-weight: 450;
}

.header__nav a {
  position: relative;
  padding-block: 6px;
  opacity: 0.88;
  transition: opacity 0.3s;
}

.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

.header__nav a:hover {
  opacity: 1;
}

.header__nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.header__phone svg {
  width: 18px;
  height: 18px;
}

.header__cta {
  min-height: 44px;
  padding-inline: 1.3em;
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
}

.header[data-state='solid'] .header__cta {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
}

.header[data-state='solid'] .header__cta:hover {
  --btn-bg: var(--accent);
  border-color: var(--accent);
}

.header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  cursor: pointer;
  place-items: center;
}

.header__toggle-bars,
.header__toggle-bars::before {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.45s var(--ease-out);
}

.header__toggle-bars {
  position: relative;
  transform: translateY(-4px);
}

.header__toggle-bars::before {
  content: '';
  position: absolute;
  top: 8px;
}

.header[data-menu-open] .header__toggle-bars {
  transform: rotate(45deg);
}

.header[data-menu-open] .header__toggle-bars::before {
  transform: translateY(-8px) rotate(-90deg);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding-block: 120px 40px;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}

.header[data-menu-open] .menu {
  opacity: 1;
}

/* Its display would otherwise outrank the hidden attribute, leaving an invisible full-screen layer over the
   hero that takes every click. */
.menu[hidden] {
  display: none;
}

.menu ul {
  display: grid;
  gap: 4px;
}

.menu li {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.8s var(--ease-out);
  transition-delay: calc(var(--i) * 50ms + 80ms);
}

.header[data-menu-open] .menu li {
  opacity: 1;
  transform: none;
}

.menu ul a {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 4rem);
  line-height: 1.1;
}

.menu__foot {
  display: grid;
  gap: 6px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-on-dark);
  color: var(--muted-on-dark);
}

@media (max-width: 1180px) {
  .header__phone span {
    display: none;
  }
}

@media (max-width: 1023px) {
  .header__nav,
  .header__cta {
    display: none;
  }
  .header__toggle {
    display: grid;
  }
  .header__phone {
    width: 44px;
    height: 44px;
    justify-content: center;
  }
  .header__brand {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu,
  .menu li {
    transition: none;
  }
}

/* ---- home_hero ---- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  max-height: 1100px;
  padding-block: 140px clamp(56px, 7vw, 88px);
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media picture {
  height: 100%;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}

.hero__media img {
  animation: hero-settle 2.4s var(--ease-out) both;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}

[data-video-ready] .hero__video {
  opacity: 1;
}

.hero__toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 20px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 50%;
  background: rgb(12 11 10 / 0.35);
  color: #fff;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.3s;
}

.hero__toggle:hover {
  opacity: 1;
}

.hero__toggle[hidden] {
  display: none;
}

.hero__toggle svg {
  width: 13px;
  height: 13px;
}

.hero__toggle .icon-play,
[data-video-paused] .hero__toggle .icon-pause {
  display: none;
}

[data-video-paused] .hero__toggle .icon-play {
  display: block;
}

@keyframes hero-settle {
  from {
    transform: scale(1.07);
    filter: brightness(0.7);
  }
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgb(12 11 10 / 0.86) 0%, rgb(12 11 10 / 0.5) 38%, rgb(12 11 10 / 0) 70%),
    linear-gradient(to right, rgb(12 11 10 / 0.45), rgb(12 11 10 / 0) 60%);
}

/* The title is the first thing read, and what the page's loading is judged by (LCP): it starts at once, and
   the lines around it follow. */
.hero__eyebrow {
  color: rgb(244 241 234 / 0.82);
  animation: rise 1.2s 0.1s var(--ease-out) both;
}

.hero__title {
  max-width: 13.5ch;
  margin-top: 24px;
  font-size: var(--step-4);
  animation: rise 1.3s var(--ease-out) both;
}

.hero__title em {
  color: #f1e3d3;
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
  margin-top: clamp(32px, 4vw, 48px);
  animation: rise 1.3s 0.2s var(--ease-out) both;
}

.hero__lede {
  max-width: 30em;
  font-size: var(--step-1);
  line-height: 1.5;
  color: rgb(244 241 234 / 0.86);
  text-wrap: pretty;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__caption {
  position: absolute;
  top: 50%;
  right: 0;
  left: auto;
  width: auto;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(244 241 234 / 0.66);
  white-space: nowrap;
}

.hero__caption span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero__caption span::before {
  content: '';
  width: 1px;
  height: 40px;
  background: currentColor;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

@media (max-width: 900px) {
  .hero__caption {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero__shade {
    background: linear-gradient(to top, rgb(12 11 10 / 0.88) 0%, rgb(12 11 10 / 0.62) 55%, rgb(12 11 10 / 0.25) 100%);
  }
}

@media (max-width: 520px) {
  .hero__eyebrow {
    gap: 0.7em;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }
  .hero__eyebrow::before {
    width: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img,
  .hero__eyebrow,
  .hero__title,
  .hero__foot {
    animation: none;
  }
}

/* ---- site_loop_video ---- */

.loop-video {
  position: relative;
  height: 100%;
  background: #222;
}

.loop-video img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The clip lies over its still, and shows once it is playing. */
.loop-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.loop-video[data-playing] video {
  opacity: 1;
}

.loop-video__toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 50%;
  background: rgb(12 11 10 / 0.45);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0.85;
  transition:
    opacity 0.3s,
    background-color 0.3s;
}

.loop-video__toggle:hover {
  opacity: 1;
  background: rgb(12 11 10 / 0.7);
}

.loop-video__toggle[hidden] {
  display: none;
}

.loop-video__toggle svg {
  width: 14px;
  height: 14px;
}

.loop-video__toggle .icon-play,
.loop-video[data-paused] .icon-pause {
  display: none;
}

.loop-video[data-paused] .icon-play {
  display: block;
}

/* ---- home_intro ---- */

.creds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rule);
}

.creds li {
  display: grid;
  gap: 2px;
  padding: 28px 24px 28px 0;
  font-size: 0.95rem;
}

.creds li + li {
  padding-left: 24px;
  border-left: 1px solid var(--rule);
}

.creds strong {
  font-weight: 600;
}

.creds span {
  color: var(--muted);
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
}

.intro__statement {
  margin-top: 28px;
  font-size: var(--step-3);
  max-width: 14ch;
}

.intro__body {
  display: grid;
  gap: 1.1em;
  max-width: 34em;
  margin-top: clamp(32px, 4vw, 48px);
  color: var(--ink-soft);
}

.intro__body .link-arrow {
  justify-self: start;
  margin-top: 0.6em;
  color: var(--ink);
}

.intro__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 62% 50%;
  border-radius: var(--radius);
}

.intro__figure figcaption {
  margin-top: 14px;
  font-size: var(--step--1);
  color: var(--muted);
}

@media (max-width: 1023px) {
  .intro__grid {
    grid-template-columns: 1fr;
  }
  .intro__figure img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 639px) {
  .creds {
    grid-template-columns: 1fr;
  }
  .creds li {
    padding-block: 16px;
    font-size: 0.88rem;
  }
  .creds li + li {
    padding-left: 0;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }
}

/* ---- home_services ---- */

.services {
  background: var(--paper-deep);
}

.services__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  grid-template-areas:
    'eyebrow .'
    'title intro';
  gap: 28px clamp(40px, 7vw, 120px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.services__head .eyebrow {
  grid-area: eyebrow;
}

.services__head h2 {
  grid-area: title;
  font-size: var(--step-3);
  max-width: 12ch;
}

.services__intro {
  grid-area: intro;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 40px);
  margin: 0;
}

.services__grid > li:nth-child(even) {
  margin-top: clamp(0px, 8vw, 120px);
}

.card {
  position: relative;
}

/* The title link stretches over the whole card. */
.card__link::after {
  content: '';
  position: absolute;
  inset: 0;
}

.card__link:focus-visible {
  outline: none;
}

.card:has(.card__link:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: var(--radius);
}

.card__media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
}

.card__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition:
    transform 1.4s var(--ease-out),
    opacity 0.6s var(--ease-out);
}

.card:hover .card__media img {
  transform: scale(1.04);
  opacity: 0.92;
}

.card__body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  padding-top: 24px;
}

.card__num {
  padding-top: 0.6em;
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.card__title {
  font-size: var(--step-2);
  line-height: 1.05;
  transition: color 0.3s;
}

.card:hover .card__title {
  color: var(--accent);
}

.card__text,
.card__tags {
  grid-column: 2;
}

.card__text {
  color: var(--ink-soft);
  max-width: 32em;
  text-wrap: pretty;
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.card__tags li {
  padding: 5px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--muted);
}

.also {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.also__img img,
.also__img {
  width: 120px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.also__title {
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.also p {
  color: var(--muted);
}

@media (max-width: 1023px) {
  .services__head {
    grid-template-columns: 1fr;
    grid-template-areas: 'eyebrow' 'title' 'intro';
  }
  .services__grid > li:nth-child(even) {
    margin-top: 0;
  }
}

@media (max-width: 639px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
  .also {
    grid-template-columns: 88px 1fr;
    gap: 20px;
  }
  .also__img {
    width: 88px;
  }
  .also .link-arrow {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* ---- home_work ---- */

.work {
  background: var(--ink);
  color: var(--paper);
}

.work .eyebrow {
  color: var(--muted-on-dark);
}

.work__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.work__head h2 {
  margin-top: 28px;
  font-size: var(--step-3);
  max-width: 13ch;
}

.work__head h2 em {
  color: var(--accent-soft);
}

.work__head .link-arrow:hover {
  color: var(--accent-soft);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 64px) clamp(16px, 2vw, 28px);
  margin: 0;
}

/* Wide (8 cols, 16:10) and tall (4 cols, 4:5) tiles share a row height. */
.project--wide {
  grid-column: span 8;
}
.project--tall {
  grid-column: span 4;
}
.project--half {
  grid-column: span 6;
}

.project figure {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project__media {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #222;
}

.project__media img {
  width: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out);
}

.project--wide .project__media img {
  aspect-ratio: 16 / 10;
}
/* Absolutely positioned so it fills whatever height the row's wide tile sets. */
.project--tall .project__media img,
.project--tall .project__media .loop-video {
  position: absolute;
  inset: 0;
  height: 100%;
}
.project--half .project__media img {
  aspect-ratio: 3 / 2;
}

.project:hover .project__media img {
  transform: scale(1.035);
}
/* A clip's still stays put under it. */
.project:hover .project__media .loop-video img {
  transform: none;
}

.project figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding-top: 16px;
  border-bottom: 1px solid var(--rule-on-dark);
  padding-bottom: 14px;
}

.project__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.2;
}

.project__meta {
  align-self: center;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

@media (max-width: 899px) {
  .project--wide,
  .project--tall,
  .project--half {
    grid-column: 1 / -1;
  }
  .project--tall .project__media img {
    position: static;
    aspect-ratio: 4 / 3;
  }
  /* The vertical reel keeps more of its height on phones. */
  .project--tall .project__media .loop-video {
    position: static;
    height: auto;
  }
  .project--tall .project__media .loop-video img {
    aspect-ratio: 4 / 5;
  }
}

/* ---- home_process ---- */

.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 7vw, 120px);
}

.process__head {
  position: sticky;
  top: 120px;
  align-self: start;
}

.process__head h2 {
  margin-top: 28px;
  font-size: var(--step-3);
  max-width: 10ch;
}

.steps {
  margin: 0;
  border-top: 1px solid var(--rule);
}

.step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 8px 32px;
  align-items: baseline;
  padding-block: clamp(28px, 3.5vw, 44px);
  border-bottom: 1px solid var(--rule);
}

.step__num {
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.step__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-2);
  line-height: 1.05;
}

.step__body {
  color: var(--ink-soft);
  text-wrap: pretty;
}

@media (max-width: 1023px) {
  .process__grid {
    grid-template-columns: 1fr;
  }
  .process__head {
    position: static;
  }
}

@media (max-width: 639px) {
  .step {
    grid-template-columns: 44px 1fr;
  }
  .step__body {
    grid-column: 2;
  }
}

/* ---- home_areas ---- */

.areas {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 7vw, 120px);
  margin-top: var(--section-y);
  padding-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--rule);
}

.areas__intro {
  align-self: start;
  position: sticky;
  top: 120px;
}

.areas__intro h2 {
  margin-top: 28px;
  font-size: var(--step-3);
  max-width: 10ch;
}

.areas__text {
  margin-top: 24px;
  max-width: 26em;
  color: var(--ink-soft);
}

.finder {
  margin-top: clamp(28px, 3vw, 40px);
  max-width: 26em;
}

.finder[hidden] {
  display: none;
}

.finder__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.finder__field {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgb(21 20 18 / 0.28);
  transition: border-color 0.3s;
}

.finder__field:focus-within {
  border-bottom-color: var(--ink);
}

.finder__field svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--muted);
}

.finder__field input {
  flex: 1;
  min-width: 0;
  padding: 10px 0 12px;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
}

.finder__field input:focus {
  outline: none;
}

.finder__field input::placeholder {
  color: rgb(21 20 18 / 0.3);
}

.finder__result {
  min-height: 1.6em;
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.finder__result[data-state='yes'] {
  color: #2f5a27;
}

.finder__result[data-state='yes']::before {
  content: '✓ ';
}

.areas__groups {
  display: grid;
}

.group {
  display: grid;
  grid-template-columns: minmax(0, 11em) minmax(0, 1fr);
  gap: 12px 32px;
  padding-block: 28px;
  border-top: 1px solid var(--rule);
}

.group:first-child {
  padding-top: 0;
  border-top: 0;
}

.group__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 0.45em;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.group__count {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  opacity: 0.7;
}

.group__list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem);
  line-height: 1.45;
}

.group__list li {
  transition:
    color 0.25s,
    opacity 0.25s;
}

/* Dot separators between names, inline so lines wrap naturally. */
.group__list li:not(:last-child)::after {
  content: '·';
  margin-inline: 0.42em;
  color: var(--muted);
  opacity: 0.6;
}

[data-filtering] .group__list li {
  opacity: 0.22;
}

[data-filtering] .group__list li.is-match {
  opacity: 1;
  color: var(--accent);
}

.areas__total {
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--muted);
}

.areas__total a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
}

@media (max-width: 1023px) {
  /* The process steps above already end with a rule at this width. */
  .areas {
    grid-template-columns: 1fr;
    padding-top: 0;
    border-top: 0;
  }
  .areas__intro {
    position: static;
  }
}

@media (max-width: 639px) {
  .group {
    grid-template-columns: 1fr;
  }
  .group__label {
    justify-content: flex-start;
    padding-top: 0;
  }
}

/* ---- home_community ---- */

.community {
  position: relative;
  isolation: isolate;
  padding-block: clamp(120px, 16vw, 220px) clamp(64px, 8vw, 112px);
  color: var(--paper);
  background: #1b120d;
  overflow: hidden;
}

.community__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.community__bg picture {
  height: 100%;
}

.community__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

.community__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgb(20 12 8 / 0.88) 0%, rgb(20 12 8 / 0.55) 45%, rgb(20 12 8 / 0.1) 100%),
    linear-gradient(to top, rgb(20 12 8 / 0.7), transparent 50%);
}

.community__inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
}

.community .eyebrow {
  color: rgb(244 241 234 / 0.74);
}

.community h2 {
  margin-top: 28px;
  font-size: var(--step-4);
  max-width: 9ch;
}

.community h2 em {
  color: #f0c9a6;
}

.community__body {
  display: grid;
  gap: 1em;
  max-width: 30em;
  margin-top: clamp(28px, 3vw, 40px);
  font-size: var(--step-1);
  line-height: 1.5;
  color: rgb(244 241 234 / 0.86);
}

.community__body strong {
  font-weight: 500;
  color: var(--paper);
}

.community__inset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.community__inset figure:first-child {
  margin-top: 56px;
}

.community__inset img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.6);
}

@media (max-width: 1023px) {
  .community__inner {
    grid-template-columns: 1fr;
  }
  .community__inset figure:first-child {
    margin-top: 0;
  }
}

/* ---- home_journal ---- */

.journal {
  padding-bottom: calc(var(--section-y) * 0.6);
}

.journal__head {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.journal__head h2 {
  margin-top: 28px;
  font-size: var(--step-3);
  max-width: 14ch;
}

.journal__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  margin: 0;
}

.post {
  display: grid;
  gap: 12px;
}

.post__media {
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.post__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}

.post:hover .post__media img {
  transform: scale(1.04);
}

.post__meta {
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.post__title {
  font-size: var(--step-2);
  line-height: 1.08;
  max-width: 18ch;
  transition: color 0.3s;
}

.post:hover .post__title {
  color: var(--accent);
}

.post__excerpt {
  color: var(--ink-soft);
  max-width: 34em;
}

@media (max-width: 899px) {
  .journal__list {
    grid-template-columns: 1fr;
  }
}

/* ---- /blog/ (routes/blog.cfc): the journal as a page of its own, under the solid header ---- */

.journal--page {
  padding-top: clamp(136px, 14vw, 200px);
  padding-bottom: var(--section-y);
}

.journal--page h1 {
  margin-top: 28px;
  font-size: var(--step-3);
  max-width: 14ch;
}

/* ---- /post/<slug>/ (routes/post/[slug].cfc): a journal post ---- */

.article {
  padding-top: clamp(136px, 14vw, 200px);
  padding-bottom: var(--section-y);
}

.article__head .eyebrow a:hover {
  color: var(--accent);
}

.article__title {
  max-width: 20ch;
  margin-top: 28px;
  font-size: var(--step-3);
  line-height: 1.04;
}

.article__meta {
  margin-top: 24px;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.article__lead {
  margin-block: clamp(40px, 5vw, 64px);
}

.article__lead img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.article__body {
  width: min(100% - 2 * var(--gutter), 720px);
  margin-inline: auto;
}

/* A post's words (tags/journal_post_….cfm): paragraphs, headings, lists and captioned photos. */
.prose {
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink-soft);
}

.prose > * + * {
  margin-top: 1.25em;
}

.prose h2 {
  margin-top: 2.2em;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

.prose h3 {
  margin-top: 1.8em;
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 0.8em;
}

.prose ul {
  padding-left: 1.2em;
  list-style: disc;
}

.prose li + li {
  margin-top: 0.5em;
}

.prose li::marker {
  color: var(--accent);
}

.prose figure {
  margin-top: 2em;
}

.prose figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.prose figcaption {
  margin-top: 10px;
  font-size: var(--step--1);
  color: var(--muted);
}

/* ---- site_quote_band ---- */

.quote-band {
  padding-block: clamp(64px, 8vw, 112px);
  background: var(--ink);
  color: var(--paper);
}

.quote-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
}

.quote-band h2 {
  max-width: 16ch;
  font-size: var(--step-3);
}

.quote-band h2 em {
  color: var(--accent-soft);
}

.quote-band__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- home_quote ---- */

.contact {
  background: var(--paper-deep);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 8vw, 140px);
}

.contact__intro h2 {
  margin-top: 28px;
  font-size: var(--step-3);
  max-width: 10ch;
}

.contact__text {
  margin-top: 28px;
  max-width: 28em;
  color: var(--ink-soft);
}

.contact__details {
  display: grid;
  margin: clamp(40px, 5vw, 64px) 0 0;
  border-top: 1px solid var(--rule);
}

.contact__details div {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--rule);
}

.contact__details dt {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact__details dd {
  margin: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.contact__details a:hover {
  color: var(--accent);
}

.form {
  display: grid;
  gap: 28px;
  align-self: start;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--rule), 0 40px 80px -48px rgb(21 20 18 / 0.35);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field__label {
  padding: 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid rgb(21 20 18 / 0.28);
  border-radius: 0;
  background: transparent;
  font-size: 1.05rem;
  transition: border-color 0.3s;
}

.field textarea {
  resize: vertical;
  min-height: 3.2em;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgb(21 20 18 / 0.32);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.was-validated .field input:invalid,
.was-validated .field textarea:invalid,
.field [aria-invalid='true'] {
  border-bottom-color: #b3261e;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid rgb(21 20 18 / 0.2);
  border-radius: 999px;
  font-size: 0.9rem;
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
}

.chip:hover span {
  border-color: var(--ink);
}

.chip input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 4px;
}

.form__note {
  font-size: 0.92rem;
  color: var(--muted);
}

.form__note a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
}

/* The form and its thank-you share one place in the grid; the wrapper takes the scroll reveal, so the swap's
   own fade (below) isn't overridden by it. */
.quote {
  align-self: start;
}

/* Both set their own display, which would otherwise outrank the hidden attribute. */
.form[hidden],
.quote-done[hidden] {
  display: none;
}

/* Under the button: "Sending…" while it goes, or why it didn't (site.js, from /quote/'s answer). */
.form__status:empty {
  display: none;
}

.form__status {
  font-size: 0.95rem;
  color: var(--muted);
}

.form__status[data-kind='error'] {
  padding: 14px 18px;
  border-radius: var(--radius);
  background: #f6e3df;
  color: #8a2a1c;
  font-weight: 500;
}

.form button[type='submit']:disabled {
  pointer-events: none;
  opacity: 0.5;
}

/* A field only bots fill in: off screen, out of the tab order, hidden from screen readers. */
.form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* The thank-you that takes the form's place once a request is sent (site.js). */
.quote-done {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  align-self: start;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--rule), 0 40px 80px -48px rgb(21 20 18 / 0.35);
}

.quote-done:focus {
  outline: none;
}

.quote-done__title {
  font-size: var(--step-2);
  line-height: 1.08;
  max-width: 16ch;
}

.quote-done__text {
  max-width: 30em;
  color: var(--ink-soft);
}

.quote-done__again {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  font-weight: 500;
  cursor: pointer;
}

.quote-done__again:hover {
  color: var(--accent);
}

/* The swap between the form and the thank-you: a short fade, none for reduced motion. */
.form,
.quote-done {
  transition: opacity 0.26s var(--ease-out), transform 0.26s var(--ease-out);
}

.form.is-leaving,
.quote-done.is-leaving,
.form.is-arriving,
.quote-done.is-arriving {
  opacity: 0;
  transform: translateY(8px);
}

@media (prefers-reduced-motion: reduce) {
  .form,
  .quote-done {
    transition: none;
  }
}

@media (max-width: 1023px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 599px) {
  .form__row {
    grid-template-columns: 1fr;
  }
  .contact__details div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ---- site_footer ---- */

.footer {
  padding-block: clamp(72px, 9vw, 120px) 32px;
  background: var(--ink);
  color: var(--paper);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 1.5fr);
  gap: 48px;
}

.footer__mark {
  font-size: 56px;
}

.footer__tag {
  margin-top: 32px;
  font-size: var(--step-2);
  line-height: 1.1;
  max-width: 12ch;
}

.footer__tag em {
  color: var(--accent-soft);
}

.footer__label {
  margin-bottom: 18px;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.footer__col ul {
  display: grid;
  gap: 10px;
}

.footer__col a {
  overflow-wrap: break-word;
  transition: color 0.3s;
}

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

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: 24px;
  border-top: 1px solid var(--rule-on-dark);
  font-size: var(--step--1);
  color: var(--muted-on-dark);
}

@media (max-width: 1023px) {
  .footer__top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 599px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
