/* ==========================================================================
   Dion Archie — AI Automation
   Identity: "Warm Ledger" — cream paper, deep pine green, ochre gold accent.
   Editorial serif (Fraunces) + humanist sans (Inter).
   Mobile-first. AA contrast. Respects prefers-reduced-motion.
   ========================================================================== */

:root {
  /* Palette — IAS dark industrial (matches iasdrone.ca): near-black + orange */
  --paper:      #0B0A09;  /* page background (near-black) */
  --paper-deep: #131110;  /* alt band / input background */
  --ink:        #EDE8E0;  /* body text (warm off-white) */
  --muted:      #9A8E80;  /* muted text */
  --pine:       #FF7800;  /* primary accent (buttons/badges/icons) */
  --pine-dark:  #F4EFE8;  /* light heading text (was darkest green) */
  --pine-mid:   #FF8F2E;  /* links / hover-highlight accent */
  --pine-soft:  #1A1613;  /* dark accent tile background */
  --gold:       #FF7800;  /* focus outline / accent border */
  --gold-deep:  #FF8F2E;  /* small accent text (eyebrows) */
  --gold-soft:  #FFB870;  /* light-orange highlight */
  --line:       #2A2420;  /* borders on dark */
  --white:      #131110;  /* card / panel background (was white) */

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --radius: 18px;
  --radius-lg: 26px;
  --section-pad: clamp(4rem, 10vw, 7.5rem);
  --container: 72rem;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.30), 0 2px 8px rgba(0, 0, 0, 0.30);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.35), 0 14px 34px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 6px 16px rgba(0, 0, 0, 0.40), 0 28px 60px rgba(0, 0, 0, 0.55);
}

/* ---------- Reset & base ---------- */

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

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

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: var(--pine-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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

::selection {
  background: var(--gold-soft);
  color: #0B0A09;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--pine);
  color: var(--paper);
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  color: var(--paper);
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

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

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--pine-dark);
  text-wrap: balance;
}

.section-sub {
  margin-top: 1rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--pine);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #FF8F2E;
  color: #0B0A09;
  box-shadow: var(--shadow-md);
}

.btn-demo {
  position: relative;
  background: var(--white);
  color: var(--pine-dark);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.btn-demo:hover {
  background: #FF7800;
  color: #0B0A09;
  box-shadow: var(--shadow-md);
}

.btn-light {
  background: #EDE8E0;
  color: #0B0A09;
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  background: #FFFFFF;
  color: #0B0A09;
  box-shadow: var(--shadow-md);
}

.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.92rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Live-demo pulse dot */
.demo-pulse {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF7800;
  flex: none;
}

.demo-pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid #FF7800;
  animation: pulse-ring 1.8s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(0.5); opacity: 0.9; }
  80%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 10, 9, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  /* GPU-isolate the sticky bar so the blur doesn't repaint on every scroll frame */
  transform: translateZ(0);
  will-change: transform;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--pine-dark);
}

.wordmark-badge {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  background: var(--pine);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.wordmark-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: inherit;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.site-nav a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:not(.btn):hover { color: var(--pine-mid); }

.nav-cta { margin-left: 1.4rem; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--pine-dark);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

@media (max-width: 47.99em) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.55);
  }

  .site-nav.is-open { display: flex; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav ul a {
    display: block;
    padding: 0.85rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin: 0.9rem 0 0;
    width: 100%;
  }

  body.nav-open .nav-toggle .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle .nav-toggle-bar:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (min-width: 48em) {
  .site-nav {
    display: flex;
    align-items: center;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(4rem, 9vw, 7rem);
  overflow: clip;
}

.hero-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Promote to its own layer so the gradient/dot texture isn't re-rasterised while scrolling */
  transform: translateZ(0);
  background-image:
    radial-gradient(38rem 26rem at 88% 4%, rgba(255, 120, 0, 0.12), transparent 65%),
    radial-gradient(42rem 30rem at -8% 90%, rgba(255, 120, 0, 0.06), transparent 60%),
    radial-gradient(rgba(255, 143, 46, 0.06) 1px, transparent 1px);
  background-size: auto, auto, 26px 26px;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 3rem;
}

.hero-eyebrow { margin-bottom: 1.25rem; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 7.5vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--pine-dark);
}

.hero-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--pine-mid);
  background-image: linear-gradient(transparent 72%, rgba(255, 120, 0, 0.28) 72%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.1rem;
}

.hero-demo-note {
  margin-top: 1.1rem;
  max-width: 32rem;
  font-size: 0.93rem;
  color: var(--muted);
}

.hero-demo-note strong { color: var(--pine-dark); }

/* Hero conversation card */
.hero-card-wrap {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: min(100%, 24.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.35rem 1.35rem 1.1rem;
  rotate: -1.2deg;
  transform: translateZ(0);
}

.hero-card-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--line);
}

.hero-card-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FF7800;
  box-shadow: 0 0 0 4px rgba(255, 120, 0, 0.18);
}

.hero-card-status {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-chat {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-block: 1.1rem;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.6rem 0.9rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.chat-caller {
  align-self: flex-start;
  background: var(--paper-deep);
  color: var(--ink);
  border-bottom-left-radius: 5px;
}

.chat-ai {
  align-self: flex-end;
  background: var(--pine);
  color: #12100E;
  border-bottom-right-radius: 5px;
}

.hero-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-card-time {
  font-weight: 700;
  color: var(--gold-deep);
  white-space: nowrap;
}

@media (min-width: 62em) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 4rem;
  }
}

/* ---------- Services ---------- */

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

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #FF7800;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  margin-bottom: 1.2rem;
  border-radius: 14px;
  background: var(--pine-soft);
  color: var(--pine);
}

.card-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  color: var(--pine-dark);
  margin-bottom: 0.55rem;
}

.card-text {
  font-size: 0.98rem;
  color: var(--muted);
}

@media (min-width: 40em) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 62em) {
  .card-grid { grid-template-columns: repeat(6, 1fr); }
  .card { grid-column: span 2; }
  .card:nth-child(4) { grid-column: 2 / span 2; }
  .card:nth-child(5) { grid-column: 4 / span 2; }
}

/* ---------- Services showcase (grouped capability menu) ---------- */

.svc-groups {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.25rem);
}

.svc-group-head {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.svc-group-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pine);
  letter-spacing: 0.02em;
}

.svc-group-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.2;
  color: var(--pine-dark);
}

.svc-list {
  display: grid;
  gap: 1rem;
  list-style: none;
}

.svc-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.svc-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #FF7800;
}

.svc-item h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--pine-dark);
  margin-bottom: 0.35rem;
}

.svc-item p {
  font-size: 0.94rem;
  color: var(--muted);
}

/* "You might not know AI can…" — orange-accented spotlight group */
.svc-group-spotlight .svc-group-head {
  border-bottom-color: rgba(255, 120, 0, 0.4);
}

.svc-group-spotlight .svc-item {
  background: #16130F;
  border-color: rgba(255, 120, 0, 0.35);
}

.svc-group-spotlight .svc-item h4 {
  color: var(--pine-mid);
}

/* Soft closing nudge → existing Cal.com CTA */
.svc-nudge {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  text-align: center;
}

.svc-nudge p {
  max-width: 40rem;
  font-size: 1.06rem;
  color: var(--ink);
}

@media (min-width: 40em) {
  .svc-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 62em) {
  .svc-list { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Story ---------- */

.story {
  background: #0F0D0C;
  background-image:
    radial-gradient(40rem 28rem at 110% -10%, rgba(255, 120, 0, 0.16), transparent 60%),
    radial-gradient(30rem 22rem at -10% 110%, rgba(26, 22, 19, 0.8), transparent 65%);
}

.story-inner {
  display: flex;
  justify-content: center;
}

.story-card {
  max-width: 46rem;
  text-align: center;
}

.story-quote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.3rem, 3.4vw, 1.85rem);
  line-height: 1.45;
  color: #F4EFE3;
  text-wrap: balance;
}

.story-point {
  margin-top: 1.75rem;
  font-size: 1.08rem;
  color: #C9BFB2;
}

.story-point strong { color: var(--gold-soft); }

.story-attrib {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9A8E80;
}

/* ---------- How it works ---------- */

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

.steps {
  display: grid;
  gap: 1.5rem;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem 1.7rem;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: rgba(255, 120, 0, 0.14);
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  color: var(--pine-dark);
  margin-bottom: 0.5rem;
}

.step-text {
  font-size: 0.97rem;
  color: var(--muted);
}

@media (min-width: 48em) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Who it helps ---------- */

.who-grid {
  display: grid;
  gap: 1.1rem;
  list-style: none;
}

.who-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--pine);
  border-radius: 14px;
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.who-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.who-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--pine-dark);
  margin-bottom: 0.35rem;
}

.who-text {
  font-size: 0.94rem;
  color: var(--muted);
}

@media (min-width: 40em) {
  .who-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 62em) {
  .who-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Why me ---------- */

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

.why-inner {
  display: grid;
  gap: 2.75rem;
}

.why-lead {
  margin-top: 1.4rem;
  font-size: 1.13rem;
  font-weight: 500;
  color: var(--ink);
}

.why-text {
  margin-top: 1rem;
  color: var(--muted);
}

.why-points {
  margin-top: 1.6rem;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.why-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 500;
  color: var(--ink);
}

.why-points .check {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  margin-top: 0.2rem;
  color: var(--gold-deep);
}

.why-proof {
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-card {
  width: min(100%, 21rem);
  background: #16130F;
  color: #EDE8E0;
  border: 1px solid #FF7800;
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  rotate: 1.2deg;
  transform: translateZ(0);
}

.proof-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.proof-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.1;
  margin-top: 0.4rem;
  color: #F4EFE8;
}

.proof-text {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: #9A8E80;
}

.proof-card .btn-demo {
  margin-top: 1.4rem;
  font-size: 1.05rem;
}

@media (min-width: 62em) {
  .why-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4.5rem;
  }
}

/* ---------- CTA band ---------- */

.cta-band {
  background: #0F0D0C;
  background-image:
    radial-gradient(36rem 24rem at 0% 0%, rgba(26, 22, 19, 0.9), transparent 65%),
    radial-gradient(30rem 22rem at 100% 100%, rgba(255, 120, 0, 0.16), transparent 60%);
  padding-block: clamp(3.75rem, 9vw, 6rem);
}

.cta-band-inner {
  max-width: 46rem;
  text-align: center;
}

.cta-band-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 4.5vw, 2.5rem);
  line-height: 1.18;
  color: #F4EFE3;
  text-wrap: balance;
}

.cta-band-text {
  margin-top: 1.1rem;
  font-size: 1.08rem;
  color: #C9BFB2;
}

.cta-band-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-band-alt {
  font-size: 0.98rem;
  font-weight: 500;
  color: #DDD4C8;
  text-decoration-color: rgba(221, 212, 200, 0.5);
}

.cta-band-alt:hover { color: #FF8F2E; }

/* ---------- Contact ---------- */

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

.contact-list {
  margin-top: 1.75rem;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.contact-list a {
  font-weight: 600;
  color: var(--pine-mid);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.form-row label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pine-dark);
}

.form-row .optional {
  font-weight: 400;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row textarea {
  resize: vertical;
  min-height: 7rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--pine-mid);
  box-shadow: 0 0 0 3px rgba(255, 120, 0, 0.20);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #6E655C;
}

.form-note {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  text-align: center;
  color: var(--muted);
}

/* Honeypot — visually removed, still in DOM for Netlify */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 62em) {
  .contact-inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
    align-items: start;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: #0F0D0C;
  color: #B8AE9F;
  padding-block: 3.25rem 2.5rem;
}

.footer-inner {
  display: grid;
  gap: 1.75rem;
}

.wordmark-footer { color: #F4EFE8; }

.wordmark-footer .wordmark-badge {
  background: var(--pine);
  color: #0B0A09;
}

.footer-tag {
  margin-top: 0.85rem;
  max-width: 26rem;
  font-size: 0.94rem;
}

.footer-contact {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.97rem;
}

.footer-contact a {
  color: #E7DFD3;
  font-weight: 500;
  text-decoration-color: rgba(231, 223, 211, 0.4);
}

.footer-contact a:hover { color: #FF8F2E; }

.footer-dim { color: #9A8E80; }

.footer-legal {
  font-size: 0.85rem;
  color: #7E756A;
  border-top: 1px solid rgba(231, 223, 211, 0.14);
  padding-top: 1.5rem;
}

@media (min-width: 48em) {
  .footer-inner {
    grid-template-columns: 1.3fr 1fr;
  }
  .footer-legal { grid-column: 1 / -1; }
}

/* ---------- Motion safety ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
