:root {
  --ink: #12110f;
  --ink-soft: #1c1a16;
  --cream: #f4efe5;
  --paper: #fbf8f1;
  --gold: #c69a3e;
  --gold-bright: #e0bd70;
  --gold-deep: #8a5f12;
  --muted: #6b6459;
  --muted-light: #a89f92;
  --line: rgba(18, 17, 15, 0.14);
  --line-light: rgba(244, 239, 229, 0.16);
  --success: #8fc58a;
  --shadow: 0 30px 80px rgba(18, 17, 15, 0.12);
  --radius: 20px;
  --container: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

svg {
  display: block;
}

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--gold-bright);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--cream);
  background: rgba(18, 17, 15, 0.46);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(18, 17, 15, 0.93);
  border-bottom-color: rgba(244, 239, 229, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-tag {
  margin-top: 4px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
}

.site-nav a,
.footer-nav a {
  color: rgba(244, 239, 229, 0.68);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--cream);
}

.header-cta {
  margin-left: 4px;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}

.menu-button .menu-bar {
  display: block;
  width: 15px;
  height: 1.5px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.menu-button[aria-expanded="true"] .menu-bar:nth-of-type(2) {
  transform: translateY(3px) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-bar:nth-of-type(3) {
  transform: translateY(-2.5px) rotate(-45deg);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-light);
  background: var(--ink);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  padding: 10px 0 24px;
}

.mobile-menu a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid rgba(244, 239, 229, 0.1);
  color: var(--cream);
  font-size: 15px;
  text-decoration: none;
}

.mobile-menu nav a:last-child {
  margin-top: 16px;
  border-bottom: 0;
  color: var(--gold-bright);
  font-weight: 650;
}

.mobile-menu-meta {
  display: grid;
  gap: 4px;
  width: min(var(--container), calc(100% - 48px));
  margin: auto auto 0;
  padding: 22px 0 calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-light);
}

.mobile-menu-meta p {
  margin: 0 0 5px;
  color: rgba(244, 239, 229, 0.64);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mobile-menu-meta span {
  color: rgba(244, 239, 229, 0.6);
  font-size: 13px;
}

/* Buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.button svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

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

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

.button--gold:hover {
  background: #eccf8d;
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.button--small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.text-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.text-link:hover svg {
  transform: translateY(3px);
}

.text-link--light {
  color: rgba(244, 239, 229, 0.78);
}

.text-link--light:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

/* Shared type */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--gold-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(244, 239, 229, 0.62);
}

.eyebrow-sep {
  color: var(--gold);
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(143, 197, 138, 0.13);
  animation: status-pulse 3.2s ease-in-out infinite;
}

@keyframes status-pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(143, 197, 138, 0);
  }
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 92vh;
  min-height: 92svh;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}

.hero-media,
.hero-media picture,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(0.88) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.96) 0%, rgba(18, 17, 15, 0.84) 42%, rgba(18, 17, 15, 0.32) 100%),
    linear-gradient(0deg, rgba(18, 17, 15, 0.94) 0%, rgba(18, 17, 15, 0) 58%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 156px;
  padding-bottom: 76px;
}

.hero h1 {
  max-width: 940px;
  margin: 18px 0 0;
  font-size: clamp(3.25rem, 8vw, 7.1rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.hero h1 em {
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.hero-lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(244, 239, 229, 0.76);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  margin: 40px 0 0;
  padding: 0;
  color: rgba(244, 239, 229, 0.5);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  list-style: none;
  text-transform: uppercase;
}

.hero-tags li + li {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(244, 239, 229, 0.18);
}

.hero-side-note {
  position: absolute;
  right: clamp(24px, 4vw, 52px);
  bottom: 42px;
  z-index: 1;
  margin: 0;
  color: rgba(244, 239, 229, 0.42);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
}

/* Sections */

.section {
  padding: clamp(76px, 10vw, 128px) 0;
}

#services,
#approach,
#contact {
  scroll-margin-top: 92px;
}

.section--light {
  background: var(--cream);
}

.section--dark {
  background: var(--ink);
  color: var(--cream);
}

.section-head {
  max-width: 800px;
}

.section h2 {
  margin: 16px 0 0;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.01;
}

.section h2 em {
  color: var(--gold-deep);
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section--dark h2 em {
  color: var(--gold-bright);
}

.section-lede {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.section--dark .section-lede {
  color: rgba(244, 239, 229, 0.64);
}

/* Services */

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 154, 62, 0.48);
  box-shadow: var(--shadow);
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.service-icon {
  color: var(--gold-deep);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-num {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin: 28px 0 0;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 0;
  padding: 24px 0 0;
  list-style: none;
}

.service-tags li {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-note a {
  color: var(--ink);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.section-note a:hover {
  color: var(--gold-deep);
}

/* Approach */

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.approach-intro h2 {
  margin-top: 16px;
}

.principles {
  border-top: 1px solid var(--line-light);
}

.principle {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-light);
}

.principle .num {
  padding-top: 4px;
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.principle h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.principle p {
  margin: 7px 0 0;
  color: rgba(244, 239, 229, 0.6);
  font-size: 0.93rem;
  line-height: 1.7;
}

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(48px, 7vw, 84px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.process li {
  padding: 26px 28px 0 0;
  border-right: 1px solid var(--line-light);
}

.process li:last-child {
  border-right: 0;
}

.process-num {
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.process h3 {
  margin: 18px 0 0;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.process p {
  max-width: 30ch;
  margin: 8px 0 0;
  color: rgba(244, 239, 229, 0.6);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* Contact */

.section--contact {
  background: var(--cream);
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
  overflow: hidden;
  padding: clamp(30px, 5vw, 64px);
  border-radius: 28px;
  background: var(--ink);
  color: var(--cream);
}

.contact-card::before {
  position: absolute;
  top: -160px;
  right: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 154, 62, 0.24), transparent 66%);
  content: "";
  pointer-events: none;
}

.contact-copy,
.form-panel {
  position: relative;
  z-index: 1;
}

.contact-copy {
  display: flex;
  flex-direction: column;
}

.contact-card h2 {
  margin: 16px 0 0;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.01;
}

.contact-card h2 em {
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.contact-card h2 + p {
  max-width: 580px;
  margin: 20px 0 0;
  color: rgba(244, 239, 229, 0.68);
  font-size: 1.02rem;
  line-height: 1.7;
}

.contact-details {
  margin-top: 28px;
}

.contact-kicker {
  margin: 0;
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-details ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  color: rgba(244, 239, 229, 0.64);
  font-size: 0.9rem;
  list-style: none;
}

.contact-details li::before {
  margin-right: 8px;
  color: var(--gold);
  content: "—";
}

.contact-location {
  margin: auto 0 0;
  padding-top: 34px;
  color: rgba(244, 239, 229, 0.44);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  text-transform: uppercase;
}

/* Contact form */

.form-panel {
  align-self: stretch;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.contact-form {
  position: relative;
}

.form-kicker {
  margin: 0 0 18px;
  color: var(--gold-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.field {
  display: block;
}

.field--full {
  grid-column: 1 / -1;
}

.field > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field > span small {
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

.req {
  color: var(--gold-deep);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(18, 17, 15, 0.18);
  border-radius: 10px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  outline: none;
  padding: 11px 13px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input {
  min-height: 46px;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(18, 17, 15, 0.35);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(198, 154, 62, 0.16);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 20px;
}

.form-note {
  flex: 1 1 220px;
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.form-status {
  min-height: 0;
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.form-status.is-success {
  padding: 12px 14px;
  border: 1px solid rgba(138, 95, 18, 0.28);
  border-radius: 10px;
  background: rgba(198, 154, 62, 0.1);
  color: #5f430d;
}

.form-status.is-error {
  padding: 12px 14px;
  border: 1px solid rgba(163, 59, 43, 0.3);
  border-radius: 10px;
  background: rgba(163, 59, 43, 0.06);
  color: #8a2f22;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-ping {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Error page */

.error-page {
  display: flex;
  align-items: center;
  min-height: 78svh;
  padding: 140px 0 90px;
  background:
    radial-gradient(circle at 82% 18%, rgba(198, 154, 62, 0.16), transparent 38%),
    var(--cream);
}

.error-inner h1 {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.error-inner h1 em {
  color: var(--gold-deep);
  font-family: var(--font-serif);
  font-weight: 400;
}

.error-inner > p:last-of-type {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* Footer */

.site-footer {
  padding: 48px 0 28px;
  border-top: 1px solid rgba(244, 239, 229, 0.08);
  background: var(--ink);
  color: var(--cream);
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-light);
}

.brand--footer .brand-mark {
  width: 40px;
  height: 40px;
}

.footer-line {
  margin: 0;
  color: rgba(244, 239, 229, 0.6);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
}

.footer-nav {
  display: flex;
  gap: 24px;
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding-top: 24px;
  color: rgba(244, 239, 229, 0.64);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.credit a {
  color: rgba(244, 239, 229, 0.78);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

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

/* Reveal motion — content stays visible if JavaScript or the observer is unavailable */

.js .reveal.is-visible {
  animation: reveal-in 0.7s var(--ease) both;
}

@keyframes reveal-in {
  from {
    transform: translateY(12px);
  }
  to {
    transform: translateY(0);
  }
}

/* Responsive */

@media (min-width: 861px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card:last-child {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-location {
    margin-top: 28px;
    padding-top: 0;
  }

  .hero-side-note {
    display: none;
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .menu-button {
    display: block;
  }

  .mobile-menu:not([hidden]) {
    min-height: calc(100vh - 76px);
    min-height: calc(100svh - 76px);
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 68px;
    gap: 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-tag {
    font-size: 7px;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu:not([hidden]) {
    min-height: calc(100vh - 68px);
    min-height: calc(100svh - 68px);
  }

  .hero {
    min-height: 90vh;
    min-height: 90svh;
  }

  .hero-inner {
    padding-top: 126px;
    padding-bottom: 58px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(18, 17, 15, 0.7) 0%, rgba(18, 17, 15, 0.78) 45%, rgba(18, 17, 15, 0.96) 100%),
      linear-gradient(90deg, rgba(18, 17, 15, 0.5), rgba(18, 17, 15, 0.2));
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 4.6rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-tags {
    display: grid;
    gap: 8px;
    margin-top: 30px;
    font-size: 8px;
  }

  .hero-tags li + li {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .section {
    padding: 72px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .service-card,
  .service-card:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 24px;
  }

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

  .process li {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .process li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

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

  .field--full {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
  }

  .form-note {
    max-width: none;
  }

  .contact-card {
    border-radius: 20px;
  }

  .footer-top {
    flex-wrap: wrap;
    gap: 22px;
  }

  .footer-line {
    order: 3;
    width: 100%;
  }

  .footer-nav {
    margin-left: auto;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
  }
}

@media (max-width: 440px) {
  .contact-card {
    padding: 22px;
  }

  .form-panel {
    padding: 16px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13.5vw, 3.5rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    justify-content: center;
  }

  .hero-actions .text-link {
    border-bottom: 0;
    padding: 4px 0;
  }

}

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

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

  .js .reveal.is-visible {
    animation: none;
  }
}
