/* =========================================================
   The Landscape Lens — landscape photography, Austin TX
   Editorial system for a landscape photography studio
   Fonts: Newsreader for headlines, Archivo for body,
   IBM Plex Mono for labels. No Inter, Plus Jakarta Sans, or Fraunces.
   ========================================================= */

@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #edeae2;
  --paper-2: #f4f1ea;
  --paper-3: #e4e0d5;
  --ink: #1a1713;
  --ink-soft: #3c362f;
  --muted: #6a6158;
  --line: rgba(26, 23, 19, 0.14);
  --line-strong: rgba(26, 23, 19, 0.26);
  --forest: #222d1d;
  --forest-soft: #2c3a25;
  --clay: #8c4a34;
  --cream: #f5f2ea;
  --white: #fbf9f4;
  --green: #b3c99a;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --pad: clamp(20px, 4.6vw, 60px);
  --radius: 18px;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  /* One size for every section headline on the page. The hero headline is the
     only larger type and sets its own clamp. */
  --section-title: clamp(32px, 4vw, 48px);
  --section-title-leading: 1.05;
  --section-title-tracking: -0.02em;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
}

ul {
  padding: 0;
}

::selection {
  background: var(--clay);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(70px, 8vw, 124px);
  scroll-margin-top: 90px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  transform: translateY(-180%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
}

/* ---------- small type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.eyebrow--light {
  color: rgba(245, 242, 234, 0.84);
  text-shadow: 0 1px 10px rgba(10, 13, 9, 0.45);
}

/* small caps, counters and metadata read as labels */
.hero-proof,
.hero-count,
.gallery-count,
.gallery-meta,
.gallery-btn,
.gallery-next__label,
.stat dt,
.quote-by,
.cat-num,
.cat-hint,
.service-num,
.field label,
.contact-note,
.header-avail,
.menu-toggle,
.mm-num,
.footer-copy,
.kicker-note {
  font-family: var(--font-mono);
}

.center {
  justify-content: center;
  text-align: center;
}

.display {
  font-size: var(--section-title);
  font-weight: 500;
  line-height: var(--section-title-leading);
  letter-spacing: var(--section-title-tracking);
}

.display em,
h2 em,
h3 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.02em;
  letter-spacing: -0.01em;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 8px 8px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.4s var(--ease);
}

.btn-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: 0 0 auto;
  transition: transform 0.4s var(--ease), background-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.btn-icon svg {
  width: 13px;
  height: 13px;
}

.btn:hover .btn-icon {
  transform: rotate(45deg);
}

.btn--light {
  background: var(--cream);
  color: var(--ink);
}
.btn--light .btn-icon {
  background: var(--ink);
  color: var(--cream);
}
.btn--light:hover {
  background: var(--white, #fbf9f4);
  transform: translateY(-1px);
}

.btn--ink {
  background: var(--ink);
  color: var(--cream);
}
.btn--ink .btn-icon {
  background: var(--cream);
  color: var(--ink);
}
.btn--ink:hover {
  background: var(--forest-soft);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost .btn-icon {
  background: var(--ink);
  color: var(--cream);
}
.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.btn--ghost:hover .btn-icon {
  background: var(--cream);
  color: var(--ink);
}

.btn--outline-light {
  border-color: rgba(245, 242, 234, 0.4);
  background: rgba(245, 242, 234, 0.05);
  color: var(--cream);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--outline-light .btn-icon {
  background: rgba(245, 242, 234, 0.14);
  color: var(--cream);
}
.btn--outline-light:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}
.btn--outline-light:hover .btn-icon {
  background: var(--ink);
  color: var(--cream);
}

.btn--header {
  padding: 7px 7px 7px 18px;
  font-size: 12px;
  color: var(--cream);
  background: rgba(245, 242, 234, 0.08);
  border-color: rgba(245, 242, 234, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--header .btn-icon {
  background: var(--cream);
  color: var(--ink);
}
.btn--header:hover {
  background: var(--cream);
  color: var(--ink);
}

.site-header.is-scrolled .btn--header {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.site-header.is-scrolled .btn--header .btn-icon {
  background: var(--cream);
  color: var(--ink);
}
.site-header.is-scrolled .btn--header:hover {
  background: var(--forest-soft);
  border-color: var(--forest-soft);
}

.btn--wide {
  min-width: 236px;
  justify-content: space-between;
}

.btn--ink:hover,
.btn--light:hover,
.btn--header:hover {
  box-shadow: 0 16px 30px -20px rgba(26, 23, 19, 0.6);
}

/* press feedback: settles back down instead of floating away */
.btn:active {
  transform: translateY(0) scale(0.985);
  transition-duration: 0.12s;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  padding-block: 18px;
  color: var(--cream);
  transition: color 0.4s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(237, 234, 226, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 0.4s var(--ease), border-color 0.4s var(--ease);
}

.site-header.is-scrolled {
  color: var(--ink);
}
.site-header.is-scrolled::before {
  opacity: 1;
  border-bottom-color: var(--line);
}

.header-inner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-grid;
  align-items: center;
  line-height: 0;
  flex: 0 0 auto;
}

.brand-logo {
  grid-area: 1 / 1;
  display: block;
  width: auto;
  height: 32px;
  transition: opacity 0.4s var(--ease);
}

.site-header .brand-logo--dark {
  opacity: 0;
}
.site-header.is-scrolled .brand-logo--light {
  opacity: 0;
}
.site-header.is-scrolled .brand-logo--dark {
  opacity: 1;
}
/* the menu is a dark panel, so the header keeps its light lockup over it */
body.menu-open .site-header .brand-logo--light {
  opacity: 1;
}
body.menu-open .site-header .brand-logo--dark {
  opacity: 0;
}

.brand--footer .brand-logo {
  height: 30px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(247, 244, 237, 0.92);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 1px 2px rgba(20, 17, 13, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-link {
  position: relative;
  white-space: nowrap;
  padding: 8px 17px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 450;
  color: rgba(26, 23, 19, 0.64);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--ink);
  background: rgba(26, 23, 19, 0.05);
}

.nav-link.is-active {
  color: var(--ink);
  background: rgba(26, 23, 19, 0.07);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.header-avail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.86;
}

.pulse {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex: 0 0 auto;
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--green);
  animation: pulse 2.8s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-toggle__bars {
  display: grid;
  gap: 4px;
  width: 16px;
}
.menu-toggle__bars i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), width 0.3s var(--ease);
}
.menu-toggle__bars i:last-child {
  width: 11px;
  justify-self: end;
}
body.menu-open .menu-toggle__bars i:first-child {
  transform: translateY(2.5px) rotate(45deg);
}
body.menu-open .menu-toggle__bars i:last-child {
  width: 16px;
  transform: translateY(-2.5px) rotate(-45deg);
}

/* ---------- mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  padding: clamp(88px, 13vh, 112px) var(--pad) max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(125% 85% at 84% -8%, rgba(179, 201, 154, 0.17), rgba(179, 201, 154, 0) 58%),
    linear-gradient(180deg, rgba(23, 31, 19, 0.94) 0%, rgba(21, 28, 18, 0.975) 60%, #161e13 100%),
    url("assets/category.jpg") 50% 42% / cover no-repeat,
    var(--forest);
  color: var(--cream);
  opacity: 0;
  transform: translateY(-6px);
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: opacity 0.32s var(--ease), transform 0.42s var(--ease);
}
/* corner vignette keeps the eye on the list */
.mobile-menu::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 95% at 50% 22%, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0.34) 100%);
}
.mobile-menu.is-open {
  opacity: 1;
  transform: none;
}
.mobile-menu[hidden] {
  display: none;
}
body.menu-open .site-header {
  color: var(--cream);
}
/* no pale scrolled bar over the forest panel */
body.menu-open .site-header::before {
  opacity: 0;
  border-bottom-color: transparent;
}
.mobile-menu :focus-visible {
  outline-color: var(--green);
}

/* the list owns every pixel the foot does not need */
.mobile-menu__nav {
  position: relative;
  display: grid;
  grid-template-rows: repeat(5, minmax(54px, 1fr));
  flex: 1 1 auto;
  min-height: 0;
  z-index: 1;
}
/* hairline above the first row, drawn in with the rest of the list */
.mobile-menu__nav::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: rgba(245, 242, 234, 0.22);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.mobile-menu__nav a {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 34px;
  align-items: center;
  column-gap: 14px;
  padding: 4px 2px;
  font-family: var(--font-display);
  font-size: clamp(30px, min(11vw, 5.4vh), 54px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.35s var(--ease), background-color 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu__nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(245, 242, 234, 0.22);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.mobile-menu__nav a:active {
  background: rgba(245, 242, 234, 0.05);
}

.mm-num {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(245, 242, 234, 0.6);
  transition: color 0.3s var(--ease);
}
/* masked wipe: each name rises out of its own line */
.mm-name {
  display: block;
  clip-path: inset(0 0 101% 0);
  transform: translateY(0.18em);
  transition: clip-path 0.62s var(--ease), transform 0.62s var(--ease);
}
.mm-go {
  justify-self: end;
  align-self: center;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(245, 242, 234, 0.3);
  border-radius: 999px;
  color: rgba(245, 242, 234, 0.85);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease), transform 0.4s var(--ease);
}
.mm-go svg {
  width: 12px;
  height: 12px;
}

/* the section you were reading stays marked in the list */
.mobile-menu__nav a.is-active .mm-name {
  font-style: italic;
}
.mobile-menu__nav a.is-active .mm-num {
  color: var(--green);
}
.mobile-menu__nav a:active .mm-go {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--forest);
  transform: translateX(2px);
}

/* staggered entrance: rows, then the hairlines under them, then the foot */
.mobile-menu__nav a:nth-child(1) {
  --i: 0;
}
.mobile-menu__nav a:nth-child(2) {
  --i: 1;
}
.mobile-menu__nav a:nth-child(3) {
  --i: 2;
}
.mobile-menu__nav a:nth-child(4) {
  --i: 3;
}
.mobile-menu__nav a:nth-child(5) {
  --i: 4;
}
.mobile-menu.is-open .mobile-menu__nav::before {
  transform: scaleX(1);
  transition-delay: 0.04s;
}
.mobile-menu.is-open .mobile-menu__nav a {
  opacity: 1;
  transition-delay: calc(60ms + var(--i, 0) * 55ms);
}
.mobile-menu.is-open .mobile-menu__nav a::after {
  transform: scaleX(1);
  transition-delay: calc(100ms + var(--i, 0) * 55ms);
}
.mobile-menu.is-open .mobile-menu__nav a .mm-name {
  clip-path: inset(0 0 0 0);
  transform: none;
  transition-delay: calc(80ms + var(--i, 0) * 55ms);
}

.mobile-menu__avail {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: clamp(14px, 2.6vh, 24px);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu__avail .pulse {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(179, 201, 154, 0.14);
}
.mobile-menu.is-open .mobile-menu__avail {
  opacity: 1;
  transform: none;
  transition-delay: 0.3s;
}

/* foot: CTA, then contact details, then socials */
.mobile-menu__foot {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: clamp(14px, 3vh, 26px);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(245, 242, 234, 0.7);
}
.mobile-menu__meta {
  display: grid;
  gap: 3px;
}
.mobile-menu__social {
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.7);
}
.mobile-menu__social a {
  padding-block: 7px;
  color: var(--cream);
  transition: color 0.3s var(--ease);
}
.mobile-menu__foot > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu__foot > *:nth-child(1) {
  --f: 0;
}
.mobile-menu__foot > *:nth-child(2) {
  --f: 1;
}
.mobile-menu__foot > *:nth-child(3) {
  --f: 2;
}
.mobile-menu.is-open .mobile-menu__foot > * {
  opacity: 1;
  transform: none;
  transition-delay: calc(360ms + var(--f, 0) * 70ms);
}

.mobile-menu__cta .btn {
  width: 100%;
  justify-content: space-between;
  padding-block: 9px;
  font-size: 13.5px;
}
.mobile-menu__mail {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  border-bottom: 1px solid rgba(245, 242, 234, 0.4);
  font-size: 13.5px;
  color: var(--cream);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.mobile-menu__mail svg {
  width: 11px;
  height: 11px;
}
.mobile-menu__meta p {
  font-size: 12px;
  color: rgba(245, 242, 234, 0.72);
}

/* ---------- hero ---------- */

.hero {
  --hero-h: min(940px, 100svh);
  position: relative;
  padding: 12px;
  min-height: var(--hero-h);
  color: var(--cream);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  overflow: hidden;
  background: #20251d;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  transform: scale(1.12);
  filter: brightness(0.82) saturate(0.86) contrast(1.03);
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 62% 46% at 86% 4%, rgba(10, 13, 9, 0.42), rgba(10, 13, 9, 0) 70%),
    linear-gradient(180deg, rgba(10, 13, 9, 0.64) 0%, rgba(10, 13, 9, 0.1) 34%, rgba(10, 13, 9, 0.34) 58%, rgba(9, 12, 8, 0.9) 100%),
    linear-gradient(90deg, rgba(10, 13, 9, 0.58) 0%, rgba(10, 13, 9, 0.24) 42%, rgba(10, 13, 9, 0) 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  min-height: calc(var(--hero-h) - 24px);
  padding: clamp(118px, 13vh, 158px) var(--pad) clamp(46px, 7vh, 74px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(32px, 6vh, 58px);
}

.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: auto;
}

.hero-proof {
  position: absolute;
  right: var(--pad);
  bottom: clamp(46px, 6vh, 64px);
  z-index: 3;
  display: block;
  max-width: 230px;
  text-align: right;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.008em;
  color: rgba(245, 242, 234, 0.98);
  text-shadow: 0 1px 4px rgba(9, 12, 8, 0.95), 0 0 18px rgba(9, 12, 8, 0.8);
  text-wrap: balance;
}

.hero-proof span {
  display: block;
  max-width: 100%;
}

.hero-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2.4vh, 26px);
  max-width: 940px;
}

.hero-title {
  max-width: 18ch;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-shadow: 0 1px 26px rgba(10, 13, 9, 0.24);
}

.hero-title span {
  display: block;
  white-space: normal;
}

@media (min-width: 375px) {
  .hero-title span {
    white-space: nowrap;
  }
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  max-width: 610px;
  font-size: clamp(14px, 1.12vw, 16.5px);
  line-height: 1.65;
  letter-spacing: 0.002em;
  color: rgba(245, 242, 234, 0.84);
  text-shadow: 0 1px 2px rgba(10, 13, 9, 0.4), 0 0 24px rgba(10, 13, 9, 0.32);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(245, 242, 234, 0.06);
  color: var(--cream);
  border: 1px solid rgba(245, 242, 234, 0.48);
  transform: translateX(-50%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero-scroll svg {
  width: 16px;
  height: 16px;
}
.hero-scroll:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
  transform: translate(-50%, 3px);
}

/* hero entrance */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-media {
  animation: hero-fade 1.3s var(--ease) both;
}
.hero-top,
.hero-title,
.hero-sub,
.hero-actions {
  animation: hero-rise 1s var(--ease) both;
}
.hero-top { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.22s; }
.hero-sub { animation-delay: 0.34s; }
.hero-actions { animation-delay: 0.44s; }

/* ---------- intro ---------- */

.intro {
  padding-top: clamp(92px, 10vw, 150px);
}

.section-kicker {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.kicker-note {
  font-size: 10.5px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: right;
  color: var(--muted);
}

.statement {
  max-width: 900px;
  margin: clamp(30px, 3.6vw, 46px) 0 clamp(42px, 5.4vw, 64px);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: var(--section-title);
  font-weight: 500;
  line-height: var(--section-title-leading);
  letter-spacing: var(--section-title-tracking);
  text-wrap: balance;
}

.statement em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  letter-spacing: -0.008em;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: clamp(40px, 8vw, 130px);
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.intro-copy {
  display: grid;
  gap: 16px;
  max-width: 560px;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--ink-soft);
}

.signature {
  margin-top: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stat {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.stat dd {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.stat dd sup {
  font-size: 0.38em;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 1px;
}

.stat dt {
  margin-top: 13px;
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- work ---------- */

.work {
  padding-top: clamp(52px, 6vw, 84px);
  scroll-margin-top: 90px;
}

.work-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  align-items: end;
  gap: 48px;
  margin-bottom: clamp(30px, 3.6vw, 44px);
}

.work-head__title .display {
  margin-top: 18px;
}

.work-head__aside {
  justify-self: end;
  max-width: 320px;
}

.work-head__aside > p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.work-gallery {
  position: relative;
  scroll-margin-top: 96px;
}

.gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(16px, 1.8vw, 22px);
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.gallery-count {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  line-height: 1;
  white-space: nowrap;
}

.gallery-count [data-project-current],
.gallery-count [data-project-total] {
  color: var(--ink);
}

.gallery-count__sep {
  opacity: 0.4;
}

.gallery-nav {
  display: flex;
  gap: 8px;
}

.gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.gallery-btn svg {
  width: 14px;
  height: 14px;
  opacity: 0.75;
  transition: transform 0.3s var(--ease);
}

.gallery-btn:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.gallery-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.gallery-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.gallery-figure {
  margin: 0;
}

.gallery-stage {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: inset 0 0 0 1px rgba(26, 23, 19, 0.06);
}

.gallery-stage:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}

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

.gallery-img.is-swapping {
  animation: gallery-in 0.55s var(--ease) both;
}

@keyframes gallery-in {
  from {
    opacity: 0.2;
    transform: scale(1.008);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.gallery-caption {
  display: grid;
  gap: 7px;
  padding-top: 18px;
}

.gallery-title {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.gallery-meta {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: clamp(16px, 1.8vw, 22px);
  padding: 5px 2px 9px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.gallery-thumbs.is-fade {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
}

.gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: clamp(86px, 8.4vw, 112px);
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 0;
  border-radius: 9px;
  overflow: hidden;
  background: var(--paper-3);
  cursor: pointer;
  opacity: 0.62;
  scroll-snap-align: start;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  opacity: 1;
}

.gallery-thumb:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.gallery-thumb[aria-current="true"] {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink);
}

.gallery-next {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 22px);
  width: 100%;
  margin-top: clamp(18px, 2.4vw, 28px);
  padding: 12px clamp(14px, 1.6vw, 18px) 12px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.gallery-next:hover {
  background: var(--paper-2);
  border-color: var(--line-strong);
}

.gallery-next:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.gallery-next__frame {
  flex: 0 0 auto;
  width: clamp(74px, 8vw, 104px);
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-3);
}

.gallery-next__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-next:hover .gallery-next__frame img {
  transform: scale(1.04);
}

.gallery-next__text {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.gallery-next__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

.gallery-next__title {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.9vw, 23px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.gallery-next__arrow {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-left: auto;
  color: var(--ink);
  transition: transform 0.35s var(--ease);
}

.gallery-next:hover .gallery-next__arrow {
  transform: translateX(5px);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-img.is-swapping {
    animation: none;
  }
  .gallery-next:hover .gallery-next__arrow,
  .gallery-next:hover .gallery-next__frame img {
    transform: none;
  }
}

/* ---------- quote ---------- */

.quote {
  padding-block: clamp(34px, 4.5vw, 64px) clamp(44px, 6vw, 84px);
}

.quote-inner {
  padding-block: clamp(44px, 6.4vw, 82px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.quote blockquote {
  max-width: 940px;
  margin: 22px auto 26px;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(26px, 3.7vw, 50px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.quote blockquote em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.07em;
}

.quote-by {
  font-size: 9.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- categories ---------- */

.categories-wrap {
  padding-block: clamp(28px, 4vw, 56px) clamp(52px, 7vw, 96px);
  scroll-margin-top: 90px;
}

.categories-wrap .container {
  position: relative;
}

.categories {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: var(--forest);
  color: var(--cream);
  padding: clamp(46px, 5.4vw, 76px) clamp(26px, 5vw, 70px) clamp(30px, 4vw, 56px);
}

.cat-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cat-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(0.4) contrast(1.05);
}

.cat-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, rgba(30, 40, 25, 0.97) 18%, rgba(30, 40, 25, 0.86) 56%, rgba(30, 40, 25, 0.62) 100%);
}

.cat-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.cat-intro h2 {
  margin-top: 18px;
  font-size: var(--section-title);
  font-weight: 500;
  line-height: var(--section-title-leading);
  letter-spacing: var(--section-title-tracking);
}

.cat-copy {
  max-width: 300px;
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(245, 242, 234, 0.66);
}

.cat-hint {
  margin-top: 28px;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.38);
}

.cat-list {
  list-style: none;
  border-top: 1px solid rgba(245, 242, 234, 0.2);
}

.cat-list li + li {
  border-top: 1px solid rgba(245, 242, 234, 0.2);
}

.cat-list li:last-child {
  border-bottom: 1px solid rgba(245, 242, 234, 0.2);
}

.faq-q {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 21px 8px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), padding 0.35s var(--ease);
}

.faq-q:hover {
  background: rgba(245, 242, 234, 0.055);
  padding-left: 16px;
  padding-right: 4px;
}

.faq-q:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: -4px;
}

.cat-num {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: rgba(245, 242, 234, 0.44);
}

.cat-name {
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.cat-go {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(245, 242, 234, 0.3);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.cat-go svg {
  width: 13px;
  height: 13px;
}

.faq-q:hover .cat-go,
.faq-item.is-open .cat-go {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--forest);
}

.faq-q:hover .cat-go {
  transform: rotate(45deg);
}

.faq-item.is-open .cat-go {
  transform: rotate(135deg);
}

.faq-a {
  padding: 0 8px 0 46px;
  overflow: hidden;
  transition: height 0.36s var(--ease), opacity 0.3s var(--ease);
}

.faq-a__inner {
  max-width: 58ch;
  padding-bottom: 22px;
}

.faq-a p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(245, 242, 234, 0.72);
}

/* ---------- pricing ---------- */

.pricing {
  border-top: 1px solid var(--line);
  padding-block: clamp(82px, 8.8vw, 134px) clamp(78px, 8.4vw, 126px);
  scroll-margin-top: 90px;
}

.pricing-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end;
  gap: 48px;
  margin-bottom: clamp(38px, 4.8vw, 62px);
}

.pricing-head .display {
  max-width: 620px;
  margin-top: 18px;
  text-wrap: balance;
}

.pricing-lede {
  justify-self: end;
  max-width: 320px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(14px, 1.8vw, 26px);
}

.price-card {
  --price-size: clamp(42px, 4.5vw, 60px);
  /* where the pointer is, in card-local px — the sheen rides these */
  --mx: 50%;
  --my: 0%;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.8vw, 38px);
  border: 1px solid rgba(26, 23, 19, 0.1);
  border-radius: 20px;
  background: linear-gradient(178deg, #fbf9f4 0%, var(--paper-2) 52%, #efebe1 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 16px 34px -28px rgba(26, 23, 19, 0.4);
  /* the lift uses `translate`, not `transform`: the reveal animation owns
     `transform`, and the two would otherwise overwrite each other */
  transition: translate 0.55s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.55s var(--ease);
}

/* A light that follows the pointer, painted above the card's own paper but
   below its type. Sits inert at the top edge for keyboard focus. */
.price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  /* the brand's own light: the pointer carries a soft green wash across the
     paper, the same light that glows in the forest card beside it */
  background:
    radial-gradient(300px 300px at var(--mx) var(--my), rgba(179, 201, 154, 0.22), rgba(179, 201, 154, 0) 71%),
    radial-gradient(540px 540px at var(--mx) var(--my), rgba(179, 201, 154, 0.085), rgba(179, 201, 154, 0) 78%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.price-card--feature::after {
  background:
    radial-gradient(280px 280px at var(--mx) var(--my), rgba(179, 201, 154, 0.2), rgba(179, 201, 154, 0) 68%),
    radial-gradient(520px 520px at var(--mx) var(--my), rgba(245, 242, 234, 0.09), transparent 76%);
}

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

@media (hover: hover) and (pointer: fine) {
  .price-card:hover {
    translate: 0 -5px;
    border-color: rgba(26, 23, 19, 0.2);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      0 38px 64px -38px rgba(26, 23, 19, 0.52),
      0 3px 8px -5px rgba(26, 23, 19, 0.22);
  }

  .price-card--feature:hover {
    border-color: rgba(245, 242, 234, 0.28);
    box-shadow:
      inset 0 0 0 1px rgba(245, 242, 234, 0.14),
      0 52px 86px -42px rgba(18, 24, 15, 0.82),
      0 18px 34px -20px rgba(18, 24, 15, 0.58);
  }
}

/* keyboard parity: tabbing into a card's button raises it the same way */
.price-card:focus-within {
  translate: 0 -4px;
  border-color: rgba(26, 23, 19, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 34px 58px -36px rgba(26, 23, 19, 0.5),
    0 3px 8px -5px rgba(26, 23, 19, 0.2);
}

.price-card--feature:focus-within {
  border-color: rgba(245, 242, 234, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(245, 242, 234, 0.14),
    0 48px 80px -42px rgba(18, 24, 15, 0.8),
    0 16px 30px -20px rgba(18, 24, 15, 0.56);
}

/* the custom card is black, not paper: the grid reads paper, forest, black */
.price-card--custom {
  border-color: rgba(245, 242, 234, 0.16);
  background:
    radial-gradient(120% 70% at 18% 0%, rgba(245, 242, 234, 0.06), transparent 58%),
    linear-gradient(172deg, #1c1813 0%, #12100d 48%, #0a0807 100%);
  color: var(--cream);
  box-shadow:
    inset 0 0 0 1px rgba(245, 242, 234, 0.05),
    0 34px 62px -38px rgba(10, 8, 6, 0.7),
    0 10px 22px -18px rgba(10, 8, 6, 0.45);
}

/* the same pointer light, tuned for the dark ground: the green core reads,
   the cream falloff keeps it soft rather than neon */
.price-card--custom::after {
  background:
    radial-gradient(300px 300px at var(--mx) var(--my), rgba(179, 201, 154, 0.24), rgba(179, 201, 154, 0) 70%),
    radial-gradient(540px 540px at var(--mx) var(--my), rgba(245, 242, 234, 0.08), transparent 78%);
}

.price-card--custom .price-name,
.price-card--custom .price-note,
.price-card--custom .price-body {
  color: rgba(245, 242, 234, 0.7);
}

.price-card--custom .price-amount,
.price-card--custom .price-amount--text,
.price-card.price-card--custom h3 {
  color: #fbf8f1;
}

.price-card--custom .price-top {
  border-bottom-color: rgba(245, 242, 234, 0.16);
}

.price-card--custom .price-top::after {
  background: rgba(245, 242, 234, 0.45);
}

.price-card--custom .price-list {
  border-top-color: rgba(245, 242, 234, 0.16);
}

.price-card--custom .price-list li {
  border-bottom-color: rgba(245, 242, 234, 0.14);
  color: rgba(245, 242, 234, 0.86);
}

.price-card--custom .price-list li::before {
  opacity: 0.55;
}

/* the ghost button flips for the dark ground: cream outline, cream text,
   and a cream fill on hover with the icon reversed */
.price-card--custom .price-btn.btn--ghost {
  border-color: rgba(245, 242, 234, 0.28);
  color: var(--cream);
}

.price-card--custom .price-btn.btn--ghost .btn-icon {
  background: var(--cream);
  color: var(--ink);
}

.price-card--custom .price-btn.btn--ghost:hover,
.price-card--custom .price-btn.btn--ghost:focus-visible {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--ink);
}

.price-card--custom .price-btn.btn--ghost:hover .btn-icon,
.price-card--custom .price-btn.btn--ghost:focus-visible .btn-icon {
  background: var(--ink);
  color: var(--cream);
}

@media (hover: hover) and (pointer: fine) {
  .price-card--custom:hover {
    border-color: rgba(245, 242, 234, 0.3);
    box-shadow:
      inset 0 0 0 1px rgba(245, 242, 234, 0.08),
      0 46px 80px -40px rgba(8, 6, 4, 0.8),
      0 16px 30px -20px rgba(8, 6, 4, 0.55);
  }
}

.price-card--custom:focus-within {
  border-color: rgba(245, 242, 234, 0.3);
  box-shadow:
    inset 0 0 0 1px rgba(245, 242, 234, 0.08),
    0 42px 74px -40px rgba(8, 6, 4, 0.78),
    0 14px 28px -20px rgba(8, 6, 4, 0.52);
}

.price-card--feature {
  border-color: rgba(245, 242, 234, 0.14);
  background:
    radial-gradient(120% 72% at 22% 0%, rgba(245, 242, 234, 0.07), transparent 58%),
    linear-gradient(168deg, #2e3c27 0%, var(--forest) 46%, #1b2417 100%);
  color: var(--cream);
  box-shadow:
    inset 0 0 0 1px rgba(245, 242, 234, 0.07),
    0 38px 68px -36px rgba(18, 24, 15, 0.72),
    0 12px 26px -18px rgba(18, 24, 15, 0.5);
}

.price-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 22px;
  margin-bottom: clamp(20px, 2.2vw, 26px);
}

.price-name {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-card--feature .price-name {
  color: rgba(245, 242, 234, 0.64);
}

.price-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(245, 242, 234, 0.94);
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.price-tag::before {
  content: "";
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: var(--clay);
}

.price-top {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(var(--price-size) + 58px);
  margin-bottom: clamp(20px, 2.2vw, 26px);
  padding-bottom: clamp(18px, 2vw, 24px);
  border-bottom: 1px solid rgba(26, 23, 19, 0.1);
}

/* the rule under the price redraws from the left as the card wakes up */
.price-top::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: rgba(26, 23, 19, 0.34);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}

.price-card--feature .price-top::after {
  background: rgba(245, 242, 234, 0.42);
}

.price-card:hover .price-top::after,
.price-card:focus-within .price-top::after {
  transform: scaleX(1);
}

.price-amount {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: var(--price-size);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--ink);
}

.price-cur {
  display: inline-block;
  margin-right: 0.02em;
  font-size: 0.54em;
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: 0.46em;
  opacity: 0.6;
}

.price-top--text {
  justify-content: center;
}

.price-amount--text {
  margin-bottom: 2px;
  font-size: clamp(25px, 2.7vw, 32px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.price-card--feature .price-amount {
  color: var(--cream);
}

.price-note {
  margin-top: 13px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-card--feature .price-top {
  border-bottom-color: rgba(245, 242, 234, 0.16);
}

.price-card--feature .price-note {
  color: rgba(245, 242, 234, 0.66);
}

.price-sub {
  margin: -6px 0 clamp(18px, 2vw, 22px);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: rgba(245, 242, 234, 0.78);
}

.price-card h3 {
  margin-bottom: clamp(16px, 1.8vw, 20px);
  font-size: clamp(20px, 1.85vw, 24px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.price-card--feature h3 {
  color: var(--cream);
}

.price-body {
  margin-bottom: 18px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.price-list {
  display: grid;
  margin: 0 0 clamp(24px, 2.6vw, 32px);
  padding: 0;
  border-top: 1px solid rgba(26, 23, 19, 0.1);
  list-style: none;
}

.price-list li {
  position: relative;
  padding: 11px 0 11px 22px;
  border-bottom: 1px solid rgba(26, 23, 19, 0.1);
  font-size: 12.5px;
  line-height: 1.55;
  text-wrap: pretty;
  color: var(--ink-soft);
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 8px;
  height: 4px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.45;
}

.price-card--feature .price-list {
  border-top-color: rgba(245, 242, 234, 0.16);
}

.price-card--feature .price-list li {
  border-bottom-color: rgba(245, 242, 234, 0.16);
  color: rgba(245, 242, 234, 0.86);
}

.price-card--feature .price-list li::before {
  opacity: 0.62;
}

.price-btn {
  width: 100%;
  margin-top: auto;
  padding-left: 22px;
  justify-content: space-between;
}

.price-btn.btn--ghost {
  border-color: rgba(26, 23, 19, 0.18);
}

.price-card--feature .price-btn {
  box-shadow: 0 14px 26px -18px rgba(0, 0, 0, 0.6);
}

.pricing-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(30px, 3.4vw, 44px);
  font-size: 12px;
  letter-spacing: 0.005em;
  color: var(--muted);
}

.pricing-foot::before,
.pricing-foot::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--line-strong);
}

/* ---------- services ---------- */

.services {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end;
  gap: 48px;
  margin-bottom: clamp(34px, 4.4vw, 54px);
}

.services-head .display {
  max-width: 720px;
  margin-top: 18px;
  text-wrap: balance;
}

.services-lede {
  justify-self: end;
  max-width: 330px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.service {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 2.8vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(178deg, #fbf9f4 0%, var(--paper) 46%, #f2eee4 100%);
}

.services-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 3.4vw, 42px);
}

/* the step label runs into a hairline, so the card opens on a rule rather
   than a stray caption */
.service-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.service-top::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.service-num {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.service h3 {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(23px, 2vw, 27px);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.12;
}

/* a slightly smaller, looser body than before: 15 px on a 1.72 leading keeps
   a five-line paragraph from reading as a wall */
.service > p {
  /* grows to fill the card, so the ruled checklist below sits on the same
     line across all three cards however long the paragraph runs */
  flex: 1 1 auto;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
  text-wrap: pretty;
}

/* the checklist is its own block, ruled off from the narrative */
.step-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.step-list li {
  position: relative;
  padding-left: 15px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.62;
  text-wrap: pretty;
  color: var(--ink-soft);
}

.step-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

/* Three across, the cards share their rows: label, title, body, checklist.
   The title rules and checklists then sit on the same line in every card,
   however long a paragraph or a heading runs. The flex rules above stay as
   the fallback for browsers without subgrid. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .service-grid {
      grid-template-rows: auto auto 1fr auto;
      row-gap: 0;
    }

    .service {
      grid-row: span 4;
      display: grid;
      grid-template-rows: subgrid;
    }

    /* the title's rule stays with its own title even when a sibling title
       wraps and the row grows */
    .service h3 {
      align-self: start;
    }

    .service > p {
      flex: none;
    }
  }
}

/* ---------- contact ---------- */

.contact {
  position: relative;
  scroll-margin-top: 90px;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(900px, 90vw);
  height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 253, 246, 0.6), rgba(255, 253, 246, 0) 68%);
  pointer-events: none;
}

.contact .container {
  position: relative;
}

.contact-head {
  margin-bottom: clamp(44px, 6vw, 78px);
  text-align: center;
}

.contact-head .display {
  margin-top: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.contact-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper-3);
}

.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 50%;
}

.contact-note {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 16px;
  border-radius: 13px;
  border: 1px solid rgba(245, 242, 234, 0.2);
  background: rgba(16, 20, 13, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--cream);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.55;
  text-wrap: balance;
}

.contact-note__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(179, 201, 154, 0.16);
  flex: 0 0 auto;
}

.contact-panel {
  padding-top: 6px;
}

.contact-lede {
  max-width: 500px;
  margin-bottom: clamp(28px, 3.6vw, 38px);
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-soft);
}

.contact-form {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 25px;
}

.contact-form > .field {
  margin-bottom: 25px;
}

.field {
  position: relative;
}

.field label {
  display: block;
  margin-bottom: 9px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.field:focus-within label {
  color: var(--ink);
}

/* hairline draws in from the left on focus, on top of the resting rule */
.field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
  pointer-events: none;
}

.field:focus-within::after {
  transform: scaleX(1);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0 0 11px;
  border: 0;
  border-bottom: 1px solid rgba(26, 23, 19, 0.24);
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  outline: none;
  transition: border-color 0.25s var(--ease);
}

.field textarea {
  min-height: 94px;
  padding-top: 2px;
  resize: vertical;
  line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(26, 23, 19, 0.34);
}

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

.field input:user-invalid,
.field textarea:user-invalid {
  border-bottom-color: var(--clay);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 15px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--ink-soft);
  border-bottom: 1px solid var(--ink-soft);
  transform: rotate(45deg);
  pointer-events: none;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 26px;
  cursor: pointer;
}

.field select:invalid {
  color: rgba(26, 23, 19, 0.34);
}

.field select option {
  color: var(--ink);
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.form-note {
  font-size: 11px;
  color: var(--muted);
}

.form-note a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

.form-status {
  min-height: 18px;
  margin-top: 16px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--forest-soft);
}

/* ---------- footer ---------- */

.site-footer {
  padding-top: clamp(46px, 6vw, 76px);
  padding-bottom: clamp(26px, 3vw, 38px);
  border-top: 1px solid var(--line);
}

.brand--footer {
  color: var(--ink);
  margin-bottom: 20px;
}

.footer-brand > p {
  max-width: 280px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 12.5px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.footer-mail svg {
  width: 12px;
  height: 12px;
}

.footer-mail:hover {
  color: var(--clay);
  border-color: var(--clay);
}

/* logo and copyright share one row; the copyright holds the page axis */
.footer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  column-gap: 32px;
}

.footer-copy {
  padding-top: 9px;
  font-size: 10px;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--muted);
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal[data-delay="1"] {
  transition-delay: 0.09s;
}
.js .reveal[data-delay="2"] {
  transition-delay: 0.17s;
}

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

/* The reveal's shorthand would otherwise replace the pricing card's own
   transition list, making the hover lift snap. Keep the reveal timing on
   opacity/transform only, and give the hover properties no stagger delay. */
.js .reveal.price-card {
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    translate 0.55s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.55s var(--ease);
  transition-delay: 0s, 0s, 0s, 0s, 0s;
}

.js .reveal.price-card[data-delay="1"] {
  transition-delay: 0.09s, 0.09s, 0s, 0s, 0s;
}

.js .reveal.price-card[data-delay="2"] {
  transition-delay: 0.17s, 0.17s, 0s, 0s, 0s;
}

/* ---------- responsive ---------- */

@media (max-width: 1220px) {
  .header-avail {
    display: none;
  }
}

@media (max-width: 1024px) {
  /* five links need a little less air before the nav goes to the mobile menu */
  .main-nav {
    padding: 4px;
    gap: 1px;
  }
  .nav-link {
    padding: 8px 12px;
    font-size: 11.5px;
  }

  .intro-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 44px;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .stat {
    padding-left: 0;
    border-left: 0;
  }
  .stat + .stat {
    padding-top: 15px;
    border-top: 1px solid var(--line);
  }

  .cat-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .cat-copy {
    max-width: 460px;
  }
  .cat-hint {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .contact-media {
    aspect-ratio: 16 / 11;
    max-height: 520px;
  }

}

@media (max-width: 900px) {
  .main-nav,
  .btn--header {
    display: none;
  }
  /* the centred copyright needs the full row to itself once space gets tight */
  .footer-row {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }
  .footer-copy {
    padding-top: 0;
  }
  .menu-toggle {
    display: flex;
  }
  .site-header {
    color: var(--cream);
  }
  .hero-content {
    padding-bottom: 88px;
  }
  .hero-proof {
    right: var(--pad);
    bottom: 16px;
    max-width: min(30vw, 220px);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
  }
  .hero-proof span {
    white-space: normal;
  }

  .work-head,
  .services-head,
  .pricing-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }
  .work-head__aside,
  .services-lede,
  .pricing-lede {
    justify-self: start;
    max-width: 460px;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }
  .price-top {
    min-height: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
  .service > p {
    max-width: 560px;
  }

  .contact-media {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 680px) {
  .hero {
    --hero-h: 92svh;
    padding: 8px;
    min-height: var(--hero-h);
  }
  .hero-content {
    min-height: calc(var(--hero-h) - 16px);
  }
  .hero-media {
    inset: 8px;
    border-radius: 18px;
  }
  .hero-content {
    padding: 100px 16px 86px;
    gap: 30px;
  }
  .header-inner {
    gap: 16px;
  }
  .brand-logo {
    height: 30px;
  }
  .brand--footer .brand-logo {
    height: 28px;
  }
  .hero-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .hero-proof {
    right: 12px;
    bottom: 16px;
    max-width: min(34vw, 150px);
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.45;
  }
  .eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.11em;
  }
  .hero-title {
    max-width: 100%;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn {
    flex: 1 1 auto;
    justify-content: space-between;
  }
  .hero-scroll {
    width: 44px;
    height: 44px;
    bottom: 16px;
  }

  .section {
    padding-block: 64px;
  }

  .intro {
    padding-top: 76px;
  }
  .kicker-note {
    display: none;
  }
  .statement {
    margin-top: 26px;
    margin-bottom: 38px;
    text-wrap: balance;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 26px;
  }
  .intro-copy {
    font-size: 13.5px;
  }
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .stat {
    padding-left: 11px;
    padding-top: 0;
    border-left: 1px solid var(--line);
  }
  .stat + .stat {
    padding-top: 0;
    border-top: 0;
  }
  .stat dd {
    font-size: 31px;
  }
  .stat dt {
    font-size: 8.5px;
    margin-top: 9px;
  }

  .work {
    padding-top: 48px;
  }
  .work-head {
    margin-bottom: 26px;
  }
  .gallery-bar {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    padding-top: 13px;
  }
  .gallery-nav {
    width: 100%;
  }
  .gallery-btn {
    flex: 1 1 0;
    justify-content: center;
    height: 42px;
    padding: 0 12px;
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .gallery-stage {
    aspect-ratio: 3 / 2;
    border-radius: 16px;
  }
  .gallery-caption {
    gap: 6px;
    padding-top: 14px;
  }
  .gallery-title {
    font-size: 21px;
  }
  .gallery-meta {
    font-size: 8.5px;
    letter-spacing: 0.1em;
  }
  .gallery-thumbs {
    gap: 8px;
    margin-top: 14px;
  }
  .gallery-thumb {
    width: 76px;
    border-radius: 7px;
  }
  .gallery-next {
    gap: 12px;
    margin-top: 16px;
    padding: 10px 12px 10px 10px;
    border-radius: 12px;
  }
  .gallery-next__frame {
    width: 64px;
    border-radius: 6px;
  }
  .gallery-next__title {
    font-size: 16px;
  }
  .gallery-next__arrow {
    width: 16px;
    height: 16px;
  }

  .quote {
    padding-block: 26px 40px;
  }
  .quote blockquote {
    font-size: 26px;
  }

  .categories-wrap {
    padding-block: 20px 52px;
  }
  .categories-wrap .container {
    padding-inline: 14px;
  }
  .categories {
    padding: 48px 20px 24px;
    border-radius: 20px;
  }
  .cat-copy {
    font-size: 12.5px;
    margin-top: 18px;
  }
  .faq-q {
    grid-template-columns: 24px minmax(0, 1fr) 26px;
    gap: 10px;
    padding: 17px 4px;
  }
  .faq-q:hover {
    padding-left: 8px;
  }
  .cat-name {
    font-size: 17px;
  }
  .faq-a {
    padding: 0 4px 0 34px;
  }
  .faq-a__inner {
    padding-bottom: 18px;
  }
  .cat-go {
    width: 26px;
    height: 26px;
  }

  .head-break {
    display: none;
  }
  .service {
    padding: 24px 20px;
  }
  .services-cta {
    margin-top: 24px;
  }
  .price-card {
    padding: 26px 22px;
  }
  .pricing-foot {
    gap: 12px;
    font-size: 11.5px;
    text-align: center;
  }
  .pricing-foot::before,
  .pricing-foot::after {
    width: 18px;
    flex: 0 0 auto;
  }

  .contact-head {
    margin-bottom: 36px;
  }
  .contact-media {
    aspect-ratio: 4 / 5;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 22px;
  }
  .form-submit {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 26px;
  }
  .form-submit .btn--wide {
    width: 100%;
  }

  .site-footer {
    padding-top: 44px;
  }

  .mobile-menu {
    padding-top: clamp(92px, 14vh, 104px);
  }
}

/* short screens: all five links and the contact block fit without scrolling */
@media (max-height: 640px) {
  .mobile-menu {
    padding-block: 76px 16px;
  }
  .mobile-menu__nav a {
    padding: 2px;
  }
  .mm-go {
    width: 28px;
    height: 28px;
  }
  .mobile-menu__avail {
    margin-top: 10px;
  }
  .mobile-menu__foot {
    row-gap: 10px;
    margin-top: 12px;
  }
  .mobile-menu__meta p {
    font-size: 11px;
  }
}

@media (max-width: 400px) {
  .hero-content {
    padding-inline: 10px;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding-left: 9px;
  }
  .stat dd {
    font-size: 27px;
  }
  .stat dt {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 360px) {
  .brand-logo {
    height: 24px;
  }
  .brand--footer .brand-logo {
    height: 24px;
  }
}

/* ---------- round cursor ---------- */

/* JS adds .has-cursor to <html> only on a fine pointer without reduced motion,
   so a failed script, a touch screen or a reduced-motion preference keeps the
   native pointer. A cream circle with an ink hairline around it reads on the
   dark photography and on paper alike; the ring trails the dot. */
.cursor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 300;
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}

.cursor.is-visible {
  opacity: 1;
}

/* text fields keep their I-beam, so the circle steps aside there */
.cursor.is-typing {
  opacity: 0;
}

/* position lives on the span (one transform per frame), the circle itself is
   a pseudo-element, so the scale transition can never drag the position with it */
.cursor-dot,
.cursor-ring {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
}

.cursor-dot::before,
.cursor-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transition: scale 0.35s var(--ease), opacity 0.25s var(--ease),
    background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.cursor-dot::before {
  background: rgba(245, 242, 234, 0.94);
  box-shadow: 0 0 0 1px rgba(26, 23, 19, 0.45), 0 2px 8px -2px rgba(26, 23, 19, 0.4);
}

.cursor-ring::before {
  border: 1.25px solid rgba(245, 242, 234, 0.88);
  /* ink hairline inside and out: the cream stroke carries on the photography,
     the two dark edges carry on paper and on the cream nav pill */
  box-shadow: 0 0 0 1px rgba(26, 23, 19, 0.42), inset 0 0 0 1px rgba(26, 23, 19, 0.42);
}

html.has-cursor,
html.has-cursor * {
  cursor: none !important;
}

html.has-cursor
  :is(
    input:not([type="button"]):not([type="submit"]):not([type="reset"]):not(
        [type="checkbox"]
      ):not([type="radio"]):not([type="range"]):not([type="file"]),
    textarea,
    [contenteditable="true"]
  ) {
  cursor: text !important;
}

/* over anything clickable the dot dissolves into an open ring */
.cursor.is-hot .cursor-ring::before {
  scale: 1.45;
  background: rgba(245, 242, 234, 0.12);
  border-color: rgba(245, 242, 234, 0.95);
}

.cursor.is-hot .cursor-dot::before {
  scale: 0;
  opacity: 0;
}

.cursor.is-down .cursor-ring::before {
  scale: 0.86;
}

.cursor.is-down .cursor-dot::before {
  scale: 0.7;
}

.cursor.is-hot.is-down .cursor-ring::before {
  scale: 1.22;
}

@media print {
  .cursor {
    display: none;
  }
}

/* ---------- motion preferences ---------- */

/* ---------- micro-interactions (pointer devices only) ---------- */

@media (hover: hover) and (pointer: fine) {
  .contact-media img {
    transition: transform 1.1s var(--ease);
  }
  .contact-media:hover img {
    transform: scale(1.03);
  }

  .gallery-thumb img {
    transition: transform 0.65s var(--ease);
  }
  .gallery-thumb:hover {
    transform: translateY(-2px);
  }
  .gallery-thumb:hover img {
    transform: scale(1.045);
  }

  .gallery-btn:hover:not(:disabled) svg {
    transform: translateX(2px);
  }

  .service {
    transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  }
  .service:hover {
    border-color: var(--line-strong);
    box-shadow: 0 18px 34px -30px rgba(26, 23, 19, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .price-card:hover,
  .price-card:focus-within {
    transform: none;
    translate: none;
  }
  .hero-img {
    transform: none !important;
  }
}
