/* ============================================================
   KREATIVE TECHNOLOGIES — Design System
   "Crimson Editorial" — dark cinematic hero, warm cream body,
   bento services grid, oversized display typography.
   Self-hosted Space Grotesk (display) + Inter (body).
   ============================================================ */

/* --- Fonts --- */
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens --- */
:root {
  /* Brand palette derived from the official Crimson K logo */
  --crimson: #7a0f1a;
  --crimson-deep: #4a0a10;
  --crimson-bright: #d42b2b;
  --amber: #f59e0b;
  --amber-soft: #fbbf24;
  --cream: #faf7f2;
  --paper: #ffffff;
  --ink: #1a110e;
  --ink-soft: #3d2f2a;
  --muted: #6b5b54;
  --line: #e8e0d8;
  --line-dark: rgba(255, 255, 255, 0.12);
  --on-dark: #faf7f2;
  --on-dark-muted: rgba(250, 247, 242, 0.65);

  /* Type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Fluid type scale */
  --fs-hero: clamp(2.75rem, 7vw + 1rem, 6.5rem);
  --fs-h2: clamp(2rem, 3.5vw + 0.5rem, 3.75rem);
  --fs-h3: clamp(1.25rem, 1.5vw + 0.5rem, 1.75rem);
  --fs-lead: clamp(1.05rem, 1vw + 0.5rem, 1.35rem);
  --fs-body: clamp(0.95rem, 0.3vw + 0.85rem, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: clamp(4rem, 8vw, 7.5rem);

  /* Layout */
  --container: 72rem;
  --container-wide: 84rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link */
.skip {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip:focus {
  top: 1rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-wide {
  max-width: var(--container-wide);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Section label */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.label::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
}
.label-dark {
  color: var(--crimson);
}

/* Headings */
.h-display {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--muted);
}
.on-dark .lead,
.lead-light {
  color: var(--on-dark-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .arrow {
  transition: transform 0.25s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--amber);
  color: var(--ink);
}
.btn-primary:hover { background: var(--amber-soft); }

.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn-dark {
  background: var(--ink);
  color: var(--on-dark);
}
.btn-dark:hover { background: var(--crimson-deep); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--on-dark);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(26, 17, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--on-dark);
}
.logo img {
  height: 44px;
  width: auto;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-text span {
  color: var(--amber);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav a {
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}
.nav a:hover { color: var(--on-dark); }
.nav .nav-cta {
  margin-left: 0.75rem;
  padding: 0.6rem 1.4rem;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
}
.nav .nav-cta:hover {
  background: var(--amber-soft);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--on-dark);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
  }
  .nav a {
    font-size: 1.5rem;
    padding: 0.75rem 1.5rem;
  }
  .nav .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
    font-size: 1.1rem;
  }
}

/* ============================================================
   HERO — dark cinematic, oversized type
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  padding-top: 4.5rem;
}

/* Original decorative background — CSS art + photo, no external images */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  opacity: 0.55;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26, 17, 14, 0.92) 0%, rgba(26, 17, 14, 0.6) 50%, rgba(74, 10, 16, 0.5) 100%),
    linear-gradient(to top, rgba(26, 17, 14, 0.85) 0%, transparent 50%);
}
.hero-bg::before {
  /* Warm radial glow */
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(
    circle,
    rgba(212, 43, 43, 0.18) 0%,
    rgba(212, 43, 43, 0.05) 45%,
    transparent 70%
  );
  z-index: 1;
}

/* Grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, black 30%, transparent 75%);
}

/* Giant K watermark */
.hero-k {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-52%);
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(20rem, 45vw, 42rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 158, 11, 0.1);
  user-select: none;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: var(--space-2xl) var(--gutter) clamp(3rem, 6vw, 5rem);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero-eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--amber);
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: var(--space-md);
}
.hero h1 .accent {
  color: var(--amber);
}

.hero-lead {
  max-width: 36rem;
  margin-bottom: var(--space-lg);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--on-dark-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line-dark);
}
.hero-meta dt {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.35rem;
}
.hero-meta dd {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 600;
  color: var(--on-dark);
  letter-spacing: -0.01em;
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee {
  background: var(--crimson);
  color: var(--on-dark);
  overflow: hidden;
  padding: 1rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.marquee-track span::after {
  content: "◆";
  color: var(--amber);
  font-size: 0.5rem;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section {
  padding-block: var(--space-2xl);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
@media (min-width: 768px) {
  .section-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
  .section-head .lead {
    text-align: right;
  }
}
.section-head h2 { margin-top: var(--space-sm); }

/* ============================================================
   ABOUT — editorial two column
   ============================================================ */
.about {
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 5fr 6fr;
    gap: clamp(3rem, 6vw, 6rem);
  }
}
.about-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.about-statement em {
  font-style: normal;
  color: var(--crimson);
}
.about-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  color: var(--muted);
  line-height: 1.7;
}
.about-body strong {
  color: var(--ink);
  font-weight: 600;
}
.about-photo {
  margin-top: var(--space-xl);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 25%;
}

/* ============================================================
   SERVICES — bento grid
   ============================================================ */
.services {
  background: var(--cream);
  padding-top: 0;
}
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(26, 17, 14, 0.15);
  border-color: var(--crimson);
}

/* Hero card spans wider */
.bento-card.bento-wide {
  background: var(--ink);
  color: var(--on-dark);
  border-color: transparent;
}
.bento-card.bento-wide:hover {
  border-color: var(--amber);
}
.bento-card.bento-wide .bento-desc {
  color: var(--on-dark-muted);
}
.bento-card.bento-wide .bento-num {
  color: var(--amber);
}

.bento-num {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--crimson);
  margin-bottom: auto;
  padding-bottom: var(--space-lg);
}
.bento-card h3 {
  margin-bottom: 0.5rem;
}
.bento-desc {
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--muted);
}
.bento-tag {
  display: inline-block;
  margin-top: var(--space-sm);
  padding: 0.25rem 0.6rem;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--crimson);
  background: rgba(122, 15, 26, 0.08);
  border-radius: 100px;
}
.bento-card.bento-wide .bento-tag {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.15);
}

@media (min-width: 640px) and (max-width: 1023px) {
  .bento-card.bento-wide {
    grid-column: span 2;
  }
}
@media (min-width: 1024px) {
  .bento-card.bento-wide {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* ============================================================
   WORK — dark showcase
   ============================================================ */
.work {
  background: var(--ink);
  color: var(--on-dark);
}
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .work-item:first-child {
    grid-column: span 2;
  }
}

.work-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(280px, 40vw, 480px);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--crimson-deep);
}

/* Photo fills the card */
.work-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.6s var(--ease);
}
.work-item:hover .work-photo {
  transform: scale(1.04);
}

.work-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 17, 14, 0.85) 0%, rgba(26, 17, 14, 0.3) 50%, rgba(74, 10, 16, 0.25) 100%);
}

.work-info {
  position: relative;
  z-index: 1;
}
.work-cat {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.work-item h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.work-item p {
  font-size: var(--fs-small);
  color: var(--on-dark-muted);
  max-width: 36ch;
}

/* ============================================================
   PROCESS — editorial numbered list
   ============================================================ */
.process {
  background: var(--cream);
}
.process-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  padding-block: var(--space-lg);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (min-width: 768px) {
  .process-item {
    grid-template-columns: 5rem 1fr 2fr;
    gap: var(--space-lg);
  }
}
.process-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--crimson);
  letter-spacing: -0.03em;
  line-height: 1;
}
.process-item h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.process-item p {
  grid-column: 2 / -1;
  color: var(--muted);
  line-height: 1.65;
  max-width: 52ch;
}
@media (min-width: 768px) {
  .process-item p {
    grid-column: auto;
  }
}

/* ============================================================
   CONTACT — split dark CTA + form
   ============================================================ */
.contact {
  background: var(--ink);
  color: var(--on-dark);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 5fr 6fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: start;
  }
}
.contact h2 { margin-top: var(--space-sm); margin-bottom: var(--space-md); }
.contact-lead {
  color: var(--on-dark-muted);
  font-size: var(--fs-lead);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.contact-details a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--on-dark);
  transition: color 0.2s;
}
.contact-details a:hover { color: var(--amber); }
.contact-details svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--amber);
}

/* Form */
.form {
  display: grid;
  gap: var(--space-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(250, 247, 242, 0.35);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255, 255, 255, 0.09);
}
.field textarea {
  resize: vertical;
  min-height: 140px;
}
.field .error {
  font-size: var(--fs-xs);
  color: var(--crimson-bright);
  min-height: 1.2em;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  font-weight: 500;
}
.form-status.success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.form-status.error {
  background: rgba(212, 43, 43, 0.15);
  color: #f87171;
  border: 1px solid rgba(212, 43, 43, 0.3);
}
.form-status[hidden] { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--crimson-deep);
  color: var(--on-dark);
  padding-top: var(--space-2xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}
.footer-brand .logo {
  margin-bottom: var(--space-sm);
}
.footer-brand p {
  font-size: var(--fs-small);
  color: var(--on-dark-muted);
  max-width: 28ch;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--space-sm);
}
.footer-col a {
  display: block;
  font-size: var(--fs-small);
  color: var(--on-dark-muted);
  padding-block: 0.3rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--on-dark); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-block: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
  color: var(--on-dark-muted);
}
.footer-legal {
  display: flex;
  gap: var(--space-md);
}
.footer-legal a {
  color: var(--on-dark-muted);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--amber); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal {
  padding-top: calc(4.5rem + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  background: var(--cream);
}
.legal h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-sm);
}
.legal .updated {
  font-size: var(--fs-small);
  color: var(--muted);
  margin-bottom: var(--space-lg);
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}
.legal p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  max-width: 65ch;
}
.legal a { color: var(--crimson); text-decoration: underline; }
