* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f7f3ee;
  --paper: #ffffff;
  --ink: #151515;
  --muted: #7f7881;
  --line: #151515;
  --accent: #FF6101;
  --brand-shadow: 10px 10px 0 #151515;
  --card-shadow: 16px 16px 0 #151515;
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --max: 1180px;
  --header-height: 80px;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: var(--header-height);
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: none;
}

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

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

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 3px solid var(--line);
  box-shadow: 0 10px 28px rgba(21, 21, 21, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
}

.brand {
  flex-shrink: 0;
}

.brand-logo {
  width: clamp(126px, 16vw, 172px);
  height: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 3px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 6px 6px 0 rgba(21, 21, 21, 0.1);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--line);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav-links a {
  font-weight: 700;
}

.nav-links a:not(.button) {
  padding: 10px 12px;
}

.nav-links a:not(.button):hover,
.nav-links a:not(.button):focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.footer-copy a:hover,
.footer-copy a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.22em;
  outline: none;
  color: var(--accent);
}

.section {
  padding: 34px 0;
}

.hero {
  padding-top: 36px;
}

.hero-home {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
}

.hero-intro {
  display: grid;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: 24px;
  align-items: stretch;
}

.hero-grid,
.contact-hero,
.split-layout,
.cta-panel,
.note-grid {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(440px, 1.02fr);
  align-items: stretch;
}

.contact-hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: start;
}

.split-layout,
.cta-panel,
.note-grid {
  grid-template-columns: repeat(2, 1fr);
}

.panel {
  position: relative;
  background: var(--paper);
  border: 3px solid var(--line);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: none;
}

.hero-copy,
.hero-stack,
.form-panel,
.quote-panel,
.text-panel,
.note-card {
  padding: 36px;
  min-width: 0;
}

.hero-spotlight {
  background: var(--accent);
  color: #ffffff;
  padding: 30px;
}

.spotlight-eyebrow {
  background: rgba(255, 247, 241, 0.92);
}

.hero-spotlight h2 {
  margin-top: 18px;
  max-width: none;
  font-size: clamp(2rem, 2.5vw, 2.8rem);
}

.hero-spotlight .lead {
  color: rgba(255, 255, 255, 0.92);
}

.spotlight-points {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.spotlight-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.5;
}

.spotlight-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 9px;
  height: 9px;
  border: 2px solid #ffffff;
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) rotate(45deg);
}

.spotlight-actions {
  margin-top: 24px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 8px 14px;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: #fffaf7;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
blockquote {
  margin: 0;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

h1 {
  margin-top: 0;
  font-size: clamp(2rem, 3.3vw, 2.9rem);
  max-width: none;
  overflow-wrap: normal;
  line-height: 1;
}

h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.65rem;
}

.lead,
.section-head p,
.service-card p,
.text-panel p,
.cta-panel p,
.note-card p,
.form-panel p,
.metric-card p,
.stamp-card p,
.inset-card p,
label span {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  margin: 22px 0 0;
  font-size: 1.04rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-actions {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}

.hero-actions .button-row {
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-2px, -2px);
  outline: none;
}

.button-brand {
  background: var(--accent);
  color: #151515;
  box-shadow: 6px 6px 0 #151515;
}

.button-light {
  background: #f5f2ee;
  color: var(--ink);
  box-shadow: 6px 6px 0 rgba(21, 21, 21, 0.12);
}

.button-dark {
  background: #151515;
  color: #ffffff;
  box-shadow: 6px 6px 0 var(--accent);
}

.nav-cta {
  margin-left: 4px;
  padding: 11px 16px;
}

.hero-points,
.service-card ul,
.text-panel ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.service-card li,
.text-panel li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.hero-points li::before,
.service-card li::before,
.text-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 9px;
  height: 9px;
  border: 2px solid var(--line);
  background: var(--accent);
  transform: translateY(-50%) rotate(45deg);
}

.hero-actions .hero-points {
  margin-top: 0;
}

.hero-stack {
  display: grid;
  gap: 18px;
  align-content: start;
  background: #151515;
  color: #ffffff;
}

.hero-copy-wide {
  max-width: none;
}

.hero-copy-wide .lead {
  margin-top: 8px;
}

.hero-principles {
  margin-top: 24px;
}

.hero-stack::before {
  background: none;
}

.stamp-card,
.metric-card {
  position: relative;
  border: 3px solid #ffffff;
  background: rgba(255, 248, 242, 0.08);
  border-radius: var(--radius-md);
  padding: 18px;
}

.stamp-label,
.card-index,
.metric-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 6px 10px;
  border: 3px solid currentColor;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
}

.stamp-card strong,
.metric-card strong,
.inset-card strong {
  display: block;
  margin-top: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stamp-card p,
.metric-card p {
  color: rgba(255, 255, 255, 0.8);
  margin: 10px 0 0;
}

.metric-card {
  min-width: 0;
}

.metric-card p {
  font-size: 0.92rem;
  line-height: 1.5;
}

.metric-grid,
.card-grid {
  display: grid;
  gap: 20px;
}

.metric-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  padding: 24px;
  min-height: 100%;
}

.service-card h3 {
  margin-top: 18px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head p {
  margin: 0;
  max-width: 38ch;
  padding-bottom: 10px;
}

.quote-panel blockquote {
  margin-top: 22px;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.quote-panel em {
  font-style: normal;
  color: var(--accent);
}

.text-panel h3,
.note-card h3,
.form-panel h2 {
  margin-top: 18px;
}

.text-panel p,
.note-card p {
  max-width: 52ch;
}

.cta-panel {
  padding: 38px;
  display: block;
}

.cta-panel h2 {
  max-width: none;
}

.cta-main {
  display: grid;
  gap: 20px;
  align-content: start;
}

.cta-main p {
  margin: 0;
  max-width: none;
}

.cta-detail {
  padding: 24px;
  border: 3px dashed var(--line);
  border-radius: var(--radius-md);
  background: #fffaf7;
}

.cta-main .button {
  width: fit-content;
  margin-top: 2px;
}

.contact-stack {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-panel h1 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  max-width: none;
}

.contact-form-block {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.contact-intro {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 3px solid var(--line);
}

.contact-form-block h2 {
  margin-top: 18px;
  max-width: none;
}

.contact-panel .lead,
.contact-panel .contact-form-block p {
  max-width: none;
}

.contact-hero .hero-copy h1 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  max-width: 7ch;
}

.contact-hero .form-panel h2 {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  max-width: 7ch;
}

.contact-hero .lead,
.contact-hero .form-panel p {
  max-width: 40ch;
}

.inset-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: #fffaf7;
  box-shadow: 6px 6px 0 rgba(21, 21, 21, 0.1);
}

.inset-card p {
  margin: 10px 0 0;
}

.form-panel {
  background: var(--paper);
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.form-status {
  margin-top: 24px;
  padding: 14px 16px;
  border: 3px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffaf7;
  font-weight: 700;
}

.form-status[data-state="success"] {
  background: #f2fff4;
}

.form-status[data-state="error"] {
  background: #fff2ed;
}

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

.recaptcha-legal {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.recaptcha-legal a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.grecaptcha-badge {
  visibility: hidden;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 3px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 14px 16px;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(255, 140, 66, 0.35);
  outline-offset: 2px;
}

.site-footer {
  padding: 28px 0 38px;
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  background: #ffffff;
  border: 3px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--brand-shadow);
}

.footer-copy p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 700;
}

@media (max-width: 1040px) {
  .hero-top,
  .hero-grid,
  .contact-hero,
  .split-layout,
  .cta-panel,
  .card-grid,
  .metric-grid,
  .note-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer-bar {
    flex-direction: column;
    align-items: start;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lead,
  .section-head p,
  .text-panel p,
  .note-card p,
  .cta-panel p,
  .form-panel p,
  .hero-spotlight .lead {
    max-width: none;
  }

  .section-head h2 {
    max-width: none;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 14px;
    padding: 18px;
    border: 3px solid var(--line);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: 10px 10px 0 rgba(21, 21, 21, 0.1);
  }

  .site-header.menu-open .nav-links {
    display: flex;
  }

  .nav-links a:not(.button) {
    padding: 0;
  }

  .nav-links .button {
    width: 100%;
  }

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

  .hero-spotlight .lead,
  .spotlight-points li {
    color: var(--muted);
  }

  .spotlight-points li::before {
    border-color: var(--line);
    background: var(--accent);
  }

  .hero-spotlight .button-dark {
    background: var(--accent);
    color: #151515;
    box-shadow: 6px 6px 0 #151515;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 154px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    align-items: center;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy,
  .hero-spotlight,
  .hero-stack,
  .form-panel,
  .quote-panel,
  .text-panel,
  .note-card,
  .cta-panel {
    padding: 22px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

}
