/* AISMB Agency — aismbagency.com */

:root {
  --bg: #0B0B0C;
  --surface: #141416;
  --text: #F3EEE4;
  --muted: #9A948A;
  --gold: #C9A36A;
  --gold-dim: #8A7048;
  --line: rgba(243, 238, 228, 0.12);
  --line-strong: rgba(243, 238, 228, 0.22);
  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(6.5rem, 14vw, 9.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Fraunces", "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --hero-shift: 0px;
  --progress: 0;
  --reveal-delay: 0ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
  scroll-padding-top: calc(5rem + env(safe-area-inset-top, 0px));
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

:focus {
  outline: none;
}

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

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: var(--bg);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
}

/* Type */
.eyebrow,
.label,
.card-kicker,
.proof,
.step-day,
.example-flag,
.ba-label,
.nav-links a,
.nav-cta,
.brand-entity,
.ex-chip,
.ex-kicker,
.menu-links a {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow,
.label,
.card-kicker,
.example-flag,
.ba-label,
.step-day,
.ex-chip,
.ex-kicker {
  font-size: 0.6875rem;
  color: var(--gold);
  margin: 0;
}

h1,
h2,
h3,
.price span,
.ex-h,
.brand-name {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 0.25;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.65rem, 6.6vw, 5.15rem);
  font-weight: 400;
  margin: 1.15rem 0 0;
  max-width: 16ch;
  color: var(--text);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  margin: 1rem 0 0;
  max-width: 18ch;
  font-weight: 400;
}

h3 {
  font-size: 1.35rem;
  margin: 0;
  font-weight: 400;
}

p {
  margin: 0;
}

.lede {
  margin-top: 1.5rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 300;
  line-height: 1.55;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.55rem;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: 3px;
  cursor: pointer;
  transition: background 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease), transform 400ms var(--ease), filter 400ms var(--ease);
}

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  transition: background 400ms var(--ease), border-color 400ms var(--ease), backdrop-filter 400ms var(--ease), -webkit-backdrop-filter 400ms var(--ease);
}

.nav.is-scrolled {
  background: rgba(11, 11, 12, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(var(--progress));
  transform-origin: 0 50%;
  pointer-events: none;
  z-index: 1;
}

.nav-inner {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
  mix-blend-mode: lighten;
}

.brand-type {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  line-height: 1;
}

.brand-name {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 36;
}

.brand-entity {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  position: relative;
  top: -1px;
}

.nav-links {
  display: none;
  margin-left: auto;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.6875rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
}

.nav-cta {
  font-size: 0.6875rem;
  color: var(--gold);
  text-decoration: none;
  padding: 0.45rem 0;
}

.nav-cta:hover {
  color: var(--text);
}

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

.menu-btn {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
}

.menu-btn span {
  display: block;
  width: 14px;
  height: 1px;
  background: var(--text);
  transition: transform 400ms var(--ease), opacity 400ms var(--ease);
}

.menu-btn.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-btn.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.menu {
  position: fixed;
  top: calc(4.5rem + env(safe-area-inset-top, 0px));
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  background: rgba(11, 11, 12, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 2.5rem max(var(--pad), env(safe-area-inset-right, 0px)) max(3rem, env(safe-area-inset-bottom, 0px)) max(var(--pad), env(safe-area-inset-left, 0px));
  border-top: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 420ms var(--ease), visibility 420ms var(--ease);
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.menu-links a {
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 3.25rem);
  letter-spacing: -0.03em;
  text-transform: none;
  text-decoration: none;
  color: var(--text);
  padding: 0.35rem 0;
  line-height: 1.15;
  font-variation-settings: "SOFT" 0, "WONK" 0.2, "opsz" 72;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease), color 400ms var(--ease);
}

.menu.is-open .menu-links a {
  opacity: 1;
  transform: none;
}

.menu.is-open .menu-links a:nth-child(1) { transition-delay: 50ms; }
.menu.is-open .menu-links a:nth-child(2) { transition-delay: 130ms; }
.menu.is-open .menu-links a:nth-child(3) { transition-delay: 210ms; }
.menu.is-open .menu-links a:nth-child(4) { transition-delay: 290ms; }
.menu.is-open .menu-links a:nth-child(5) { transition-delay: 370ms; }

.menu-links a:hover {
  color: var(--gold);
}

.menu-cta {
  margin-top: 1.5rem;
  font-family: var(--sans) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
}

body.menu-open {
  overflow: hidden;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  scroll-margin-top: 0;
  display: flex;
  align-items: flex-end;
  padding: max(8rem, calc(6.25rem + env(safe-area-inset-top, 0px))) env(safe-area-inset-right, 0px) max(6.5rem, calc(5rem + env(safe-area-inset-bottom, 0px))) env(safe-area-inset-left, 0px);
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(11, 11, 12, 0.62) 0%, rgba(11, 11, 12, 0.18) 28%, rgba(11, 11, 12, 0.55) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11, 11, 12, 0.72) 0%, rgba(11, 11, 12, 0.28) 48%, rgba(11, 11, 12, 0.12) 100%),
    url("assets/hero-texture.png");
  background-size: cover;
  background-position: center top;
  transform: translate3d(0, var(--hero-shift), 0);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-bottom: 0.5rem;
}

.hero-inner > * {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 700ms var(--ease) both;
}

.hero-inner > *:nth-child(1) { animation-delay: 0ms; }
.hero-inner > *:nth-child(2) { animation-delay: 80ms; }
.hero-inner > *:nth-child(3) { animation-delay: 160ms; }
.hero-inner > *:nth-child(4) { animation-delay: 240ms; }
.hero-inner > *:nth-child(5) { animation-delay: 320ms; }

.hero.is-ready .hero-inner > * {
  animation-name: hero-in;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.proof {
  margin-top: 1.75rem;
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.16em;
}

/* Sections */
.section {
  padding: var(--section) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(5rem + env(safe-area-inset-top, 0px));
}

.section-head .label {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.section-head .label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(201, 163, 106, 0.38);
  max-width: 12rem;
}

/* Problem */
.leaks {
  list-style: none;
  margin: 4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.leaks li {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.leaks .num {
  display: block;
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: 1.75rem;
  color: var(--gold);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 36;
}

.leaks h3 {
  margin-bottom: 0.65rem;
}

.leaks p {
  color: var(--muted);
  max-width: 28ch;
  font-weight: 300;
}

/* Offer */
.cards {
  margin-top: 3.5rem;
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2.1rem 1.7rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition:
    opacity 800ms var(--ease) var(--reveal-delay),
    transform 800ms var(--ease) var(--reveal-delay),
    filter 800ms var(--ease) var(--reveal-delay),
    border-color 400ms var(--ease),
    box-shadow 400ms var(--ease);
}

.card-featured {
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(201, 163, 106, 0.07), transparent 42%),
    var(--surface);
  padding: 2.35rem 1.85rem 2.15rem;
}

.card-intro {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.card h3 {
  font-size: 1.65rem;
  max-width: 16ch;
}

.card-featured h3 {
  font-size: 2rem;
  max-width: 18ch;
}

.price {
  margin: 0.15rem 0 0.2rem;
  color: var(--text);
}

.price span {
  font-size: clamp(2rem, 4vw, 2.65rem);
}

.price small {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 400;
}

.card-dek {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.98rem;
  max-width: 34ch;
}

.card ul {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.card li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 300;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.fineprint {
  margin-top: 1.75rem;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  font-weight: 300;
  max-width: 62ch;
}

/* Process */
.steps {
  list-style: none;
  margin: 3.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.steps li {
  padding: 1.5rem 0 1.5rem 1.35rem;
  border-left: 1px solid var(--line);
  position: relative;
}

.steps li::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 1.75rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform 600ms var(--ease) var(--reveal-delay);
}

.steps li.is-in::before {
  transform: scale(1);
}

.steps li::after {
  content: "";
  position: absolute;
  left: -1px;
  top: 2.05rem;
  width: 1px;
  height: 0;
  background: rgba(201, 163, 106, 0.55);
  transition: height 800ms var(--ease) calc(var(--reveal-delay) + 160ms);
}

.steps li.is-in::after {
  height: calc(100% - 2.05rem);
}

.steps li:last-child::after {
  display: none;
}

.steps h3 {
  margin: 0.35rem 0 0.4rem;
}

.steps p:last-child {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.98rem;
  max-width: 32ch;
}

/* Firms / illustration */
.work-grid {
  margin-top: 3.25rem;
  display: grid;
  gap: 3rem;
}

.work-copy h3 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  margin-top: 0.7rem;
  max-width: 18ch;
  line-height: 1.12;
}

.work-note {
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 42ch;
}

.ba {
  margin-top: 2.25rem;
  display: grid;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.ba p:last-child {
  margin-top: 0.45rem;
  color: var(--text);
  font-weight: 300;
  max-width: 32ch;
}

.browser {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #1a1a1c;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 2.35rem;
  padding: 0 0.85rem;
  background: #121214;
  border-bottom: 1px solid var(--line);
}

.dots {
  display: flex;
  gap: 5px;
  flex: 0 0 auto;
}

.dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a3a3c;
  display: block;
}

.dots i:nth-child(1) { background: #5c5248; }
.dots i:nth-child(2) { background: #6a5c40; }
.dots i:nth-child(3) { background: #4a4a46; }

.browser-url {
  flex: 1;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: #0d0d0e;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.22rem 0.6rem;
}

.browser-page {
  background: #efe8db;
  color: #1c1914;
  padding: 1.35rem 1.25rem 1.5rem;
}

.workspace-page {
  background: #161412;
  color: #F3EEE4;
}

.ex-chip {
  display: inline-block;
  border: 1px solid rgba(28, 25, 20, 0.2);
  color: #8A7048;
  padding: 0.28rem 0.5rem;
  margin-bottom: 1.1rem;
}

.workspace-page .ex-chip {
  border-color: rgba(201, 163, 106, 0.35);
  color: var(--gold);
}

.ex-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(28, 25, 20, 0.12);
}

.workspace-page .ex-top {
  border-bottom-color: var(--line);
}

.ex-brand {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #1c1914;
}

.workspace-page .ex-brand {
  color: var(--text);
}

.ex-phone {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1c1914;
  white-space: nowrap;
}

.workspace-page .ex-phone {
  color: var(--muted);
}

.ex-kicker {
  margin-top: 1.35rem;
  color: #8A7048;
}

.ex-h {
  margin-top: 0.45rem;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  color: #1c1914;
  letter-spacing: -0.03em;
  max-width: 12ch;
  font-variation-settings: "SOFT" 0, "WONK" 0.15, "opsz" 48;
}

.workspace-page .ex-h {
  color: var(--text);
}

.ex-sub {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #5c564c;
  max-width: 34ch;
  font-weight: 400;
  line-height: 1.45;
}

.workspace-page .ex-sub {
  color: var(--muted);
}

.ex-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.ex-btn,
.ex-btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
}

.ex-btn {
  background: #1c1914;
  color: #efe8db;
}

.workspace-page .ex-btn {
  background: var(--gold);
  color: var(--bg);
}

.ex-btn-ghost {
  border: 1px solid rgba(28, 25, 20, 0.25);
  color: #1c1914;
}

.workspace-page .ex-btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.ex-services {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 1.35rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(28, 25, 20, 0.12);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c564c;
}

.workspace-page .ex-services {
  border-top-color: var(--line);
  color: var(--muted);
}

.browser figcaption {
  padding: 0.7rem 0.9rem;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

/* Contact */
.contact {
  border-bottom: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

.aside {
  margin-top: 1.5rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 36ch;
}

.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.6rem 1.35rem 1.7rem;
}

.fields {
  display: grid;
  gap: 1.1rem;
}

.field {
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select {
  width: 100%;
  appearance: none;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 2px;
  min-height: 2.85rem;
  padding: 0.65rem 0.8rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 11px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.field input::placeholder {
  color: #5e5a54;
}

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

.field input:focus-visible,
.field select:focus-visible {
  outline: none;
  border-color: var(--gold);
}

.btn-submit {
  margin-top: 1.4rem;
  width: 100%;
}

.form-note {
  margin-top: 0.9rem;
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: none;
}

.form-success {
  padding: 0.4rem 0 0.2rem;
}

.success-copy {
  margin-top: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 36ch;
}

.success-copy a {
  color: var(--gold);
  text-decoration: none;
}

.success-copy a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  padding: 5.5rem env(safe-area-inset-right, 0px) max(4rem, calc(2.5rem + env(safe-area-inset-bottom, 0px))) env(safe-area-inset-left, 0px);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.footer-name {
  margin: 0 0 1.75rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1;
}

.footer-name .brand-name {
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--text);
}

.footer-name .brand-entity {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-meta {
  margin-top: 1.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-city {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(2px);
  transition:
    opacity 800ms var(--ease) var(--reveal-delay),
    transform 800ms var(--ease) var(--reveal-delay),
    filter 800ms var(--ease) var(--reveal-delay);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.card[data-reveal] {
  transition:
    opacity 800ms var(--ease) var(--reveal-delay),
    transform 800ms var(--ease) var(--reveal-delay),
    filter 800ms var(--ease) var(--reveal-delay),
    border-color 400ms var(--ease),
    box-shadow 400ms var(--ease);
}

/* Desktop */
@media (min-width: 760px) {
  .nav-links {
    display: flex;
  }

  .nav-end {
    margin-left: 0;
  }

  .menu-btn {
    display: none;
  }

  .hero {
    padding: max(7rem, calc(5rem + env(safe-area-inset-top, 0px))) env(safe-area-inset-right, 0px) max(7.5rem, calc(5rem + env(safe-area-inset-bottom, 0px))) env(safe-area-inset-left, 0px);
    align-items: center;
  }

  .hero::before {
    inset: -16% 0;
  }

  .leaks {
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
    gap: 0;
    margin-top: 4.5rem;
  }

  .leaks li {
    padding: 0 2rem 0 0;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .leaks li:first-child {
    padding-left: 0;
  }

  .leaks li:last-child {
    border-right: 0;
    padding-right: 0;
    padding-left: 2rem;
  }

  .leaks li:nth-child(2) {
    padding-left: 2rem;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 1.1rem;
  }

  .card-featured {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    gap: 3rem;
    padding: 2.6rem 2.2rem 2.4rem;
  }

  .card-featured .card-intro {
    flex: 1 1 46%;
  }

  .card-featured ul {
    flex: 1 1 42%;
    margin-top: 0.4rem;
    align-self: center;
  }

  .card {
    padding: 2.2rem 1.7rem 2.1rem;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    padding-top: 0;
  }

  .steps li {
    border-left: 0;
    padding: 2rem 1.25rem 0 0;
    position: relative;
  }

  .steps li::before {
    left: 0;
    top: -3px;
  }

  .steps li::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 0.5rem;
    top: -1px;
    width: auto;
    height: 1px;
    background-color: var(--line);
    background-image: linear-gradient(var(--gold), var(--gold));
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: background-size 800ms var(--ease) calc(var(--reveal-delay) + 160ms);
  }

  .steps li.is-in::after {
    height: 1px;
    background-size: 100% 100%;
  }

  .steps li:last-child::after {
    display: none;
  }

  .work-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 4rem;
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 4.5rem;
    align-items: start;
  }

  .form-panel {
    padding: 2rem 1.85rem 1.9rem;
  }

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

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

  .btn-submit {
    width: auto;
    min-width: 14rem;
  }

  .browser-page {
    padding: 1.7rem 1.7rem 1.8rem;
  }
}

@media (min-width: 1100px) {
  h1 {
    max-width: 15ch;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    min-height: 100svh;
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: #d4b27a;
    border-color: #d4b27a;
    color: var(--bg);
    transform: translateY(-2px);
    filter: brightness(1.06);
  }

  .btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
    transform: translateY(-2px);
    filter: none;
  }

  .card.is-in:hover {
    transform: translateY(-4px);
    filter: blur(0);
    border-color: rgba(201, 163, 106, 0.48);
    box-shadow: 0 16px 40px rgba(201, 163, 106, 0.12);
  }

  .card-featured.is-in:hover {
    border-color: var(--gold);
    box-shadow: 0 18px 48px rgba(201, 163, 106, 0.16);
  }
}

@media (max-width: 759px) {
  .menu-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .btn {
    min-height: 44px;
  }

  .field input,
  .field select {
    min-height: 44px;
  }
}

@media (pointer: coarse), (max-width: 759px) {
  .hero::before {
    transform: none;
    inset: 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;
  }

  .hero-inner > *,
  .hero.is-ready .hero-inner > * {
    opacity: 1;
    transform: none;
    animation: none;
    filter: none;
  }

  .hero::before {
    transform: none !important;
  }

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

  .menu,
  .menu-links a,
  .menu.is-open .menu-links a {
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .steps li::before,
  .steps li.is-in::before {
    transform: none;
  }

  .card.is-in:hover {
    transform: none;
  }
}


@media (scripting: none) {
  .hero-inner > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
