/* === Barkey Pet Sitting - Design System Foundation === */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Fontdiner+Swanky&family=Josefin+Sans:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&family=Pacifico&display=swap');

/* CSS Variables */
:root {
  color-scheme: only light;

  /* Theme: Retro Postcard */
  --cream: #FAF6EE;
  --paper: #FFFAF2;
  --olive: #4A6B50;
  --olive-light: #F0F4EC;
  --mustard: #C96F32;
  --mustard-hover: #A95725;
  --brown: #5B3528;
  --ink: #3A342D;
  --ink-light: #5A524A;
  --border: #D8CEBE;
  --shadow: rgba(58, 52, 45, 0.1);
  --shadow-dark: rgba(58, 52, 45, 0.2);
  --header-start: #4F6E56;
  --header-end: #344F3B;
  --header-border: rgba(255, 250, 242, 0.12);
  --paper-solid: #FFFFFF;
  --accent-soft: #FFF0E5;
  --accent-muted: rgba(201, 111, 50, 0.24);
  --blue: #6F9CAF;
  --blue-light: #E7F0F3;
  --badge-bg: #A95725;
  --light-border: rgba(255, 250, 242, 0.16);
  --light-border-strong: rgba(255, 255, 255, 0.32);
  --ink-border-soft: rgba(58, 52, 45, 0.1);
  --ink-border-medium: rgba(58, 52, 45, 0.15);
  --paper-border-soft: rgba(216, 206, 190, 0.4);
  --focus-ring: rgba(201, 111, 50, 0.18);
  --tape-bg: rgba(201, 111, 50, 0.24);
  --header-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  --cta-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  --polaroid-shadow: 0 12px 28px rgba(58, 52, 45, 0.12), 0 4px 10px rgba(58, 52, 45, 0.06);
  --badge-shadow: 0 6px 16px rgba(115, 63, 49, 0.35);
  --mobile-nav-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
  --container-max: 2300px;
  --container-readable: 1600px;
  --page-width: min(100% - 80px, var(--container-max));
  --readable-width: min(100% - 80px, var(--container-readable));

  /* Typography */
  --font-display: "Fontdiner Swanky", cursive;
  --font-accent: "Pacifico", cursive;
  --font-heading: "Josefin Sans", sans-serif;
  --font-body: "Nunito", sans-serif;

  /* Breakpoint tokens. CSS custom properties are documented here, with literal media queries below. */
  --breakpoint-mobile: 767px;
  --breakpoint-tablet: 1023px;
  --breakpoint-desktop: 1024px;

  /* Spacing and layout */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-hero-block: clamp(4.75rem, 6vw, 9rem);
  --space-hero-gap: clamp(3rem, 4vw, 7rem);
  --page-gutter: 40px;
  --page-width: min(100% - (var(--page-gutter) * 2), var(--container-max));
  --readable-width: min(100% - (var(--page-gutter) * 2), var(--container-readable));

  /* Type scale. Clamp is reserved for hero typography and major spacing. */
  --font-hero: clamp(5rem, 6.8vw, 12rem);
  --font-section-title: 4rem;
  --font-card-title: 2rem;
  --font-body-size: 1.375rem;
  --font-small: 1rem;
  --font-button: 1.25rem;
  --font-nav: 1.25rem;
  --font-card-body: 1.25rem;
  --font-feature-title: 1.5rem;
  --font-feature-body: 1.2rem;
  --font-footer: 1rem;

  /* Brand color system */
  --color-cream: #F4EFE3;
  --color-charcoal: #2B2B2B;
  --color-atomic-teal: #2D8C9F;
  --color-burnt-orange: #D86A2E;
  --color-mustard-gold: #C9A227;
  --color-soft-pink: #D8B9C7;
  --color-olive: #AEB53B;
  --color-white: #FFFFFF;
  --teal-text: #1F6F7E;
  --orange-text: #B04A1D;
  --gold-text: #8A5F00;
  --teal-decorative: #2D8C9F;
  --orange-decorative: #E56A2E;
  --gold-decorative: #E2B544;

  /* Current-site semantic aliases */
  --cream: var(--color-cream);
  --paper: var(--color-white);
  --paper-solid: var(--color-white);
  --olive: var(--color-atomic-teal);
  --olive-light: color-mix(in srgb, var(--color-atomic-teal) 12%, var(--color-white));
  --mustard: var(--color-mustard-gold);
  --mustard-hover: var(--color-burnt-orange);
  --brown: var(--color-burnt-orange);
  --ink: var(--color-charcoal);
  --border: color-mix(in srgb, var(--color-charcoal) 18%, var(--color-cream));
  --shadow: rgba(43, 43, 43, 0.1);
  --shadow-dark: rgba(43, 43, 43, 0.22);
  --header-start: var(--color-atomic-teal);
  --header-end: color-mix(in srgb, var(--color-atomic-teal) 78%, var(--color-charcoal));
  --header-border: rgba(244, 239, 227, 0.16);
  --accent-soft: color-mix(in srgb, var(--color-soft-pink) 45%, var(--color-white));
  --accent-muted: rgba(216, 106, 46, 0.24);
  --blue: var(--color-soft-pink);
  --blue-light: color-mix(in srgb, var(--color-soft-pink) 35%, var(--color-white));
  --badge-bg: var(--color-burnt-orange);
  --link-color: var(--teal-text);
  --link-hover: var(--orange-text);
  --focus-color: var(--color-burnt-orange);
  --light-border: rgba(244, 239, 227, 0.18);
  --light-border-strong: rgba(255, 255, 255, 0.36);
  --ink-border-soft: rgba(43, 43, 43, 0.1);
  --ink-border-medium: rgba(43, 43, 43, 0.18);
  --paper-border-soft: rgba(43, 43, 43, 0.1);
  --focus-ring: rgba(216, 106, 46, 0.22);
  --tape-bg: rgba(216, 185, 199, 0.46);
  --header-shadow: 0 4px 12px rgba(43, 43, 43, 0.14);
  --cta-shadow: 0 4px 10px rgba(43, 43, 43, 0.18);
  --polaroid-shadow: 0 12px 28px rgba(43, 43, 43, 0.12),
    0 4px 10px rgba(43, 43, 43, 0.06);
  --badge-shadow: 0 6px 16px rgba(216, 106, 46, 0.34);
  --mobile-nav-shadow: 0 10px 15px rgba(43, 43, 43, 0.18);
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: only light;
  scroll-behavior: smooth;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--cream);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  line-height: 1.6;
  font-size: var(--font-body-size);
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  color-scheme: light;
  color: var(--ink);
  background-color: var(--paper);
  border-color: var(--border);
}

button {
  font: inherit;
}

p {
  font-size: var(--font-body-size);
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--teal-text);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: var(--font-section-title);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: var(--font-section-title);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 2.375rem;
  font-weight: 600;
}

a {
  color: var(--link-color);
  text-decoration-color: currentColor;
  text-decoration-line: underline;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  color: var(--link-hover);
  text-decoration-thickness: 0.12em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 4px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-enabled .reveal,
  .reveal-enabled .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 768px) {
  .reveal,
  .fade-in,
  .scroll-fade,
  .reveal-enabled .reveal,
  .reveal-enabled .fade-in,
  .reveal-enabled .scroll-fade {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }
}

/* Typography Utilities */
.font-display {
  font-family: var(--font-display);
}

.font-accent {
  font-family: var(--font-accent);
}

.font-heading {
  font-family: var(--font-heading);
}

.font-body {
  font-family: var(--font-body);
}

.text-display {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.05;
}

.text-heading-xl {
  font-family: var(--font-heading);
  font-size: var(--font-section-title);
  font-weight: 700;
  line-height: 1.08;
}

.text-heading-lg {
  font-family: var(--font-heading);
  font-size: var(--font-card-title);
  font-weight: 700;
  line-height: 1.12;
}

.text-body {
  font-family: var(--font-body);
  font-size: var(--font-body-size);
  line-height: 1.6;
}

.text-small {
  font-size: var(--font-small);
  line-height: 1.5;
}

.text-hero-fluid {
  font-family: var(--font-heading);
  font-size: var(--font-hero);
  font-weight: 700;
  line-height: 0.95;
}

/* Color Utilities */
.bg-cream {
  background-color: var(--color-cream);
}

.bg-charcoal {
  background-color: var(--color-charcoal);
}

.bg-atomic-teal {
  background-color: var(--color-atomic-teal);
}

.bg-burnt-orange {
  background-color: var(--color-burnt-orange);
}

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

.bg-soft-pink {
  background-color: var(--color-soft-pink);
}

.bg-olive {
  background-color: var(--color-olive);
}

.text-cream {
  color: var(--color-cream);
}

.text-charcoal {
  color: var(--color-charcoal);
}

.text-atomic-teal {
  color: var(--teal-text);
}

.text-burnt-orange {
  color: var(--orange-text);
}

.text-mustard-gold {
  color: var(--gold-text);
}

.text-soft-pink {
  color: var(--color-soft-pink);
}

.text-olive {
  color: var(--teal-text);
}

/* Custom Text Accents */
.cursive-accent {
  font-family: var(--font-accent);
  font-size: 1.15em;
  color: var(--orange-text);
  display: inline-block;
  transform: rotate(-1deg);
  font-weight: 700;
}

.paw-accent {
  color: var(--gold-text);
  display: inline-block;
  font-size: 0.95em;
  transform: translateY(-0.05em) rotate(8deg);
}

/* Primary CTA Buttons */
.cta-button,
.button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  padding: 0.95rem 2rem;
  font-size: var(--font-button);
  font-weight: 700;
  line-height: 1.2;
  border-radius: 9999px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  background-color: var(--color-olive);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 4px 10px var(--shadow);
  border: 1px solid var(--ink-border-medium);
}

.cta-button:hover,
.button.primary:hover {
  background-color: var(--mustard-hover);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px var(--shadow-dark);
}

.cta-button:active,
.button.primary:active {
  transform: translateY(0);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 116px;
  padding: 1.5rem max(40px, calc((100% - var(--container-max)) / 2 + 40px));
  background: linear-gradient(180deg, var(--header-start), var(--header-end));
  box-shadow: var(--header-shadow);
  border-bottom: 1px solid var(--header-border);
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  text-align: center;
}

.logo-image {
  display: block;
  width: clamp(160px, 20vw, 240px);
  height: auto;
  max-height: 128px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.site-nav a {
  color: var(--paper);
  font-weight: 600;
  font-size: var(--font-nav);
  line-height: 1.25;
  transition: opacity 0.2s ease;
  padding: 0.5rem 0.25rem;
  text-decoration: none;
}

.site-nav a:hover {
  opacity: 0.85;
}

.site-nav a.active {
  border-bottom: 2px solid var(--mustard);
}

.site-nav .nav-cta,
.site-nav .cta-button {
  min-height: 62px;
  padding: 0 2rem;
  font-size: var(--font-nav);
  line-height: 1;
}

.site-nav .nav-cta:hover,
.site-nav .cta-button:hover {
  opacity: 1;
}

.mobile-menu-cat {
  display: none;
  pointer-events: none;
  user-select: none;
}

.text-pretty {
  text-wrap: pretty;
}

:where(.page-intro,
  .framework-hero__tagline,
  .section-heading p,
  .preview-grid p,
  .home-step p,
  .framework-footer__panel p,
  .contact-form-card p,
  .form-note,
  .agreement-summary,
  .agreement-cta p,
  .rates-note,
  .rate-callouts p,
  .about-story-section p,
  .services-menu-item p,
  .faq-editorial-item p) {
  text-wrap: pretty;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.75rem;
  height: 3px;
  margin: 5px 0;
  background-color: var(--paper);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.walking-paws-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.walking-paw {
  color: var(--brown);
}

/* Copyright Bar */
.copyright-bar {
  border-top: 1px solid var(--light-border);
  padding: 2rem 0;
  text-align: center;
  font-size: var(--font-footer);
  line-height: 1.5;
  opacity: 0.85;
}

.eyebrow-accent {
  font-size: var(--font-footer);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--orange-text);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* Retro Contact Form Styling */
.contact-form-card {
  background-color: var(--paper);
  border: 1px solid var(--border);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 8px 24px var(--shadow);
}

.retro-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 700;
  font-size: var(--font-footer);
  color: var(--ink);
}

.required {
  color: var(--badge-bg);
}

.retro-contact-form input[type="text"],
.retro-contact-form input[type="email"],
.retro-contact-form input[type="tel"],
.retro-contact-form textarea,
.retro-contact-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: var(--font-card-body);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background-color: var(--cream);
  color: var(--ink);
  outline: none;
  transition: all 0.2s ease;
}

.retro-contact-form input::placeholder,
.retro-contact-form textarea::placeholder {
  color: var(--ink-light);
  opacity: 0.78;
}

.retro-contact-form input:focus,
.retro-contact-form textarea:focus,
.retro-contact-form select:focus {
  border-color: var(--olive);
  background-color: var(--paper-solid);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
}

.select-wrapper::after {
  content: "▾";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: var(--font-card-body);
  color: var(--ink-light);
}

.submit-btn {
  width: 100%;
  border: 0;
  margin-top: 0.75rem;
}

.form-note {
  text-align: center;
  font-size: var(--font-footer);
  line-height: 1.5;
  color: var(--ink-light);
  font-weight: 600;
}

/* === Resources Agreement Page === */
.resources-page-hero {
  position: relative;
  overflow: hidden;
}

.resources-page-hero::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 9vw, 8rem);
  bottom: 1.75rem;
  width: clamp(4rem, 9vw, 7rem);
  aspect-ratio: 1;
  background: url("../images/shapes/twinkle-star-yellow.svg") center / contain no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.agreement-section {
  scroll-margin-top: var(--space-md);
  width: min(100%, 1060px);
  margin-inline: auto;
  padding: var(--space-xl) 0 var(--space-3xl);
  border-top: 1px solid var(--border);
}

.agreement-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-lg);
  align-items: end;
  margin-bottom: var(--space-xl);
}

.agreement-intro h2 {
  max-width: 12ch;
  color: var(--teal-text);
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.agreement-summary {
  max-width: 44rem;
  margin-top: var(--space-md);
  color: var(--color-charcoal);
  font-size: var(--font-card-body);
  line-height: 1.65;
}

.agreement-cta {
  position: relative;
  width: min(100%, 720px);
  margin: var(--space-lg) auto var(--space-2xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-lg);
  align-items: center;
  border: 1.5px solid color-mix(in srgb, var(--color-atomic-teal) 46%, var(--color-cream));
  border-radius: 8px 18px 8px 14px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--color-mustard-gold) 14%, transparent) 0 3.2rem, transparent 3.3rem),
    color-mix(in srgb, var(--color-white) 82%, var(--color-cream));
  box-shadow: 0 8px 18px rgba(43, 43, 43, 0.07);
}

.agreement-cta::before {
  content: "";
  position: absolute;
  top: -0.6rem;
  right: 1.25rem;
  width: 1.5rem;
  aspect-ratio: 1;
  background: url("../images/shapes/twinkle-star-yellow.svg") center / contain no-repeat;
  pointer-events: none;
}

.agreement-cta__copy {
  display: grid;
  gap: 0.45rem;
}

.agreement-cta__eyebrow {
  color: var(--orange-text);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1;
}

.agreement-cta h2 {
  max-width: 18ch;
  color: var(--teal-text);
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1;
}

.agreement-cta p:last-child {
  max-width: 36rem;
  color: var(--color-charcoal);
  font-size: 1rem;
  line-height: 1.55;
}

.agreement-cta .agreement-button--primary {
  min-width: 0;
  max-width: 280px;
  padding: 0.88rem 1.45rem;
  font-size: 0.95rem;
}

.agreement-form {
  display: grid;
  gap: var(--space-xl);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.agreement-panel {
  position: relative;
  display: grid;
  gap: var(--space-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 2px solid color-mix(in srgb, var(--color-atomic-teal) 48%, var(--color-cream));
  border-radius: 8px 22px 10px 18px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--color-mustard-gold) 20%, transparent) 0 5rem, transparent 5.1rem),
    color-mix(in srgb, var(--color-white) 82%, var(--color-cream));
  box-shadow: 0 10px 24px rgba(43, 43, 43, 0.08);
}

.agreement-panel:nth-of-type(even) {
  border-radius: 18px 8px 20px 10px;
}

.agreement-panel--warm {
  border-color: color-mix(in srgb, var(--color-burnt-orange) 48%, var(--color-cream));
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--color-soft-pink) 38%, transparent) 0 4.5rem, transparent 4.6rem),
    color-mix(in srgb, var(--color-white) 78%, var(--color-cream));
}

.agreement-panel--teal {
  border-color: var(--color-atomic-teal);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--color-atomic-teal) 8%, transparent), transparent 45%),
    color-mix(in srgb, var(--color-white) 80%, var(--color-cream));
}

.agreement-panel legend {
  padding: 0 var(--space-sm);
  color: var(--orange-text);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agreement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.form-group--wide {
  grid-column: 1 / -1;
}

.agreement-form .form-group {
  gap: var(--space-sm);
}

.agreement-form label,
.agreement-form .terms-check {
  color: var(--color-charcoal);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.agreement-form input[type="text"],
.agreement-form input[type="email"],
.agreement-form input[type="tel"],
.agreement-form input[type="date"],
.agreement-form textarea,
.agreement-form select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1.5px solid color-mix(in srgb, var(--color-charcoal) 34%, var(--color-cream));
  border-radius: 8px;
  background: color-mix(in srgb, var(--color-white) 76%, var(--color-cream));
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: 1rem;
}

.agreement-form input::placeholder,
.agreement-form textarea::placeholder {
  color: var(--ink-light);
  opacity: 0.78;
}

.agreement-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.agreement-form input:focus,
.agreement-form textarea:focus,
.agreement-form select:focus {
  border-color: var(--color-burnt-orange);
  background: var(--color-white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-burnt-orange) 20%, transparent);
  outline: none;
}

.rates-note {
  max-width: 50rem;
  padding: var(--space-md);
  border-left: 5px solid var(--color-mustard-gold);
  background: color-mix(in srgb, var(--color-mustard-gold) 16%, var(--color-white));
  color: var(--color-charcoal);
  font-size: var(--font-card-body);
  line-height: 1.6;
}

.service-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.service-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-md);
  align-items: start;
  min-height: 100%;
  padding: var(--space-md);
  border: 1.5px solid color-mix(in srgb, var(--color-atomic-teal) 34%, var(--color-cream));
  border-radius: 8px 16px 8px 14px;
  background: var(--color-white);
  cursor: pointer;
}

.service-option:nth-child(3n + 2) {
  border-color: color-mix(in srgb, var(--color-burnt-orange) 40%, var(--color-cream));
}

.service-option input,
.terms-check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  border-color: color-mix(in srgb, var(--color-charcoal) 34%, var(--color-cream));
  background-color: var(--color-white);
  color: var(--color-charcoal);
  accent-color: var(--color-burnt-orange);
}

.service-option strong {
  display: block;
  color: var(--teal-text);
  font-size: 1.08rem;
  line-height: 1.2;
}

.service-option small {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.45;
}

.rate-callouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.rate-callouts p {
  display: grid;
  gap: 0.25rem;
  padding: var(--space-md);
  border-radius: 8px;
  background: color-mix(in srgb, var(--color-soft-pink) 34%, var(--color-white));
  font-size: 1rem;
  line-height: 1.45;
}

.rate-callouts strong {
  color: var(--orange-text);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.agreement-grid--service-details {
  padding-top: var(--space-sm);
}

.terms-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-md);
  border: 1.5px dashed var(--color-burnt-orange);
  border-radius: 8px;
  background: color-mix(in srgb, var(--color-burnt-orange) 9%, var(--color-white));
  line-height: 1.5;
}

.agreement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: center;
  padding-top: var(--space-sm);
}

.agreement-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  background-color: transparent;
  color: var(--color-charcoal);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.agreement-button--primary {
  min-width: 240px;
  padding: 1rem 2.35rem;
  border: 1.5px solid var(--color-burnt-orange);
  background: var(--color-burnt-orange);
  color: var(--color-white);
  font-size: 1.12rem;
  letter-spacing: 0.07em;
  box-shadow: 0 6px 14px rgba(216, 106, 46, 0.22);
}

.agreement-button--primary:hover,
.agreement-button--primary:focus-visible {
  border-color: color-mix(in srgb, var(--color-burnt-orange) 82%, var(--color-charcoal));
  background: color-mix(in srgb, var(--color-burnt-orange) 82%, var(--color-charcoal));
  color: var(--color-white);
  box-shadow: 0 10px 20px rgba(43, 43, 43, 0.18);
  transform: translateY(-2px);
}

.agreement-button--secondary {
  min-width: 190px;
  padding: 0.9rem 1.8rem;
  border: 1.5px solid var(--color-atomic-teal);
  background: color-mix(in srgb, var(--color-white) 72%, var(--color-cream));
  color: var(--teal-text);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.agreement-button--secondary:hover,
.agreement-button--secondary:focus-visible {
  border-color: var(--color-atomic-teal);
  background: var(--color-atomic-teal);
  color: var(--color-white);
  box-shadow: 0 8px 16px rgba(43, 43, 43, 0.14);
  transform: translateY(-2px);
}

.agreement-button:active {
  transform: translateY(0);
}

@media (max-width: 1023px) {
  .agreement-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .agreement-cta .agreement-button {
    justify-self: start;
  }

  .agreement-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .agreement-faq-link {
    justify-self: start;
  }

  .service-options-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .resources-page-hero::after {
    right: 1rem;
    bottom: 1rem;
    width: 4rem;
  }

  .agreement-section {
    padding-top: var(--space-lg);
  }

  .agreement-intro h2 {
    font-size: 2.55rem;
  }

  .agreement-grid,
  .rate-callouts {
    grid-template-columns: 1fr;
  }

  .agreement-panel {
    padding: var(--space-lg) var(--space-md);
  }

  .agreement-panel legend {
    font-size: 1.05rem;
  }

  .agreement-cta {
    padding: var(--space-lg);
  }

  .agreement-cta h2 {
    font-size: 2rem;
  }

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

  .agreement-button,
  .agreement-button--primary,
  .agreement-button--secondary {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .agreement-cta .agreement-button {
    width: fit-content;
    max-width: 100%;
  }
}

/* === Responsive Media Queries === */
/* Tablet breakpoint: current nav and two-column card layouts need to collapse below 1024px. */
@media (max-width: 1023px) {
  :root {
    --container-max: 1080px;
    --container-readable: 860px;
    --page-gutter: 20px;
    --page-width: min(100% - (var(--page-gutter) * 2), var(--container-max));
    --readable-width: min(100% - (var(--page-gutter) * 2), var(--container-readable));
    --font-hero: clamp(3.35rem, 7vw, 5rem);
    --font-section-title: 3rem;
    --font-card-title: 1.75rem;
    --font-body-size: 1.08rem;
    --font-small: 0.96rem;
    --font-button: 1.03rem;
    --font-nav: 1rem;
    --font-card-body: 1rem;
    --font-feature-title: 1.08rem;
    --font-feature-body: 0.95rem;
    --font-footer: 0.88rem;
  }

  .site-header {
    min-height: auto;
    padding: 1rem 20px;
    background: var(--color-cream);
    border-bottom: 0;
    box-shadow: none;
  }

  .logo {
    color: var(--color-charcoal);
  }

  .logo-image {
    width: clamp(145px, 46vw, 205px);
    max-height: 96px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle span {
    background-color: var(--color-charcoal);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-cream);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-top: 1px solid var(--border);
    box-shadow: var(--mobile-nav-shadow);
    display: none;
  }

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

  .site-nav a {
    width: 100%;
    color: var(--color-charcoal);
    text-align: center;
    padding: 0.5rem 0;
  }

  .mobile-menu-cat {
    display: block;
    align-self: center;
    width: min(120px, 42vw);
    height: auto;
    margin-top: var(--space-sm);
  }

  .site-nav .nav-cta,
  .site-nav .cta-button {
    width: 100%;
    min-height: auto;
    padding: 0.65rem 1.35rem;
    font-size: var(--font-button);
    line-height: 1.2;
    margin-top: 0.5rem;
  }

  .contact-form-card {
    padding: 2rem 1.5rem;
  }

  .form-row-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Mobile breakpoint: current cards, values, and forms become single-column below 768px. */
@media (max-width: 767px) {
  :root {
    --container-max: 720px;
    --container-readable: 720px;
    --page-gutter: 16px;
    --page-width: min(100% - (var(--page-gutter) * 2), var(--container-max));
    --readable-width: min(100% - (var(--page-gutter) * 2), var(--container-readable));
    --font-hero: clamp(2.7rem, 12vw, 3.75rem);
    --font-section-title: 2.55rem;
    --font-card-title: 1.55rem;
    --font-body-size: 1.02rem;
    --font-small: 0.93rem;
    --font-button: 1rem;
    --font-nav: 1rem;
    --font-card-body: 0.98rem;
    --font-feature-title: 1.04rem;
    --font-feature-body: 0.92rem;
    --font-footer: 0.85rem;
  }

  .site-header {
    padding-inline: 16px;
  }

  p {
    font-size: var(--font-body-size);
  }

  h3 {
    font-size: var(--font-card-title);
  }

  .cta-button,
  .button {
    width: 100%;
    max-width: 360px;
    padding: 0.85rem 1.35rem;
  }

}

/* === Phase 2 Mid-Century Layout Framework Overrides === */
.layout-shell {
  min-height: 100vh;
  background: var(--color-cream);
  color: var(--color-charcoal);
}

.site-header.layout-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: 280px;
  min-height: 100vh;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: calc(var(--space-2xl) + 1rem);
  background: var(--color-cream);
  border-right: 1px solid var(--border);
  border-bottom: 0;
  box-shadow: none;
}

.layout-rail .logo {
  color: var(--color-charcoal);
  text-decoration: none;
  width: 100%;
}

.layout-rail .logo-image {
  width: min(100%, 220px);
  max-height: 118px;
}

.layout-rail .site-nav {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-sm);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.layout-rail .site-nav a {
  width: auto;
  color: var(--color-charcoal);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid transparent;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-align: left;
  text-decoration: none;
}

.layout-rail .site-nav a:hover,
.layout-rail .site-nav a.active {
  color: var(--teal-text);
  border-bottom-color: var(--color-atomic-teal);
  opacity: 1;
}

.layout-rail .site-nav .nav-cta {
  width: 100%;
  min-height: auto;
  margin-top: var(--space-md);
  padding: 0.85rem 1.2rem;
  color: var(--paper);
  text-align: center;
}

.nav-illustration {
  width: calc(100% + 30px);
  margin: auto -8px 0 -28px;
  padding-top: var(--space-2xl);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.nav-illustration img {
  height: auto;
  display: block;
}

.nav-illustration__cat {
  width: min(74%, 172px);
  flex: 0 0 auto;
}

.nav-illustration__turtle {
  width: min(44%, 104px);
  flex: 0 0 auto;
  margin-left: -0.9rem;
  transform: translateY(-0.1rem);
}

@media (min-width: 1024px) and (max-width: 1200px) {
  .nav-illustration {
    width: calc(100% + 20px);
    margin-left: -20px;
    margin-right: 0;
  }

  .nav-illustration__cat {
    width: min(72%, 150px);
  }

  .nav-illustration__turtle {
    width: min(42%, 88px);
  }
}

.layout-main {
  margin-left: 280px;
  padding: var(--space-xl) var(--space-2xl) var(--space-3xl);
}

.layout-section,
.page-hero,
.framework-footer {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.page-hero {
  width: 100%;
  padding: var(--space-xl) 0 var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-hero .page-title,
.page-hero .page-intro {
  margin-inline: auto;
}

.page-kicker {
  margin-bottom: var(--space-lg);
  color: var(--orange-text);
  font-family: var(--font-heading);
  font-size: var(--font-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kicker-with-icon {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 0.55rem;
}

.kicker-with-icon-gold::before {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background: url("../images/shapes/ball-spike-star-gold.svg") center / contain no-repeat;
}

.page-hero .page-kicker,
.framework-hero .page-kicker {
  margin-inline: auto;
}

.page-title,
.framework-hero h1 {
  max-width: 12ch;
  margin-bottom: var(--space-lg);
  color: var(--color-atomic-teal);
  font-family: var(--font-display);
  font-size: var(--font-hero);
  font-weight: 400;
  line-height: 0.95;
}

.page-intro,
.framework-hero__tagline {
  max-width: 42rem;
  color: var(--ink-light);
  font-size: 1.3rem;
  line-height: 1.6;
}

.framework-hero {
  width: min(100%, 1120px);
  margin-inline: auto;
  padding: var(--space-xl) 0 var(--space-3xl);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: start;
  gap: var(--space-hero-gap);
}

.framework-hero__copy {
  padding-top: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.framework-hero__actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.framework-hero__actions {
  width: 100%;
  justify-content: center;
}

.placeholder-frame {
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 2px dashed color-mix(in srgb, var(--color-atomic-teal) 45%, var(--color-cream));
  border-radius: 8px;
  background: color-mix(in srgb, var(--color-soft-pink) 22%, var(--color-white));
  color: var(--color-charcoal);
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: center;
}

.placeholder-frame--small {
  min-height: 260px;
}

.hero-photo-frame {
  overflow: hidden;
  padding: 0;
  border-style: solid;
  border-color: var(--color-charcoal);
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.layout-section {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: var(--space-xl);
}

.section-heading h2 {
  color: var(--color-charcoal);
  font-size: var(--font-section-title);
}

.section-heading p {
  color: var(--ink-light);
}

.preview-grid {
  display: grid;
  gap: var(--space-lg);
}

.preview-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.about-preview-illustration {
  min-height: 260px;
  display: grid;
  place-items: center;
}

.about-preview-illustration img {
  width: min(100%, 260px);
  height: auto;
  display: block;
}

.about-preview-copy {
  text-align: center;
}

.about-preview-copy .page-kicker,
.about-preview-copy .section-actions {
  margin-inline: auto;
}

.about-preview-copy .section-actions {
  justify-content: center;
}

.framework-footer {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--border);
}

.framework-footer__panel {
  padding: var(--space-2xl);
  border-radius: 8px;
  background: var(--teal-text);
  color: #FFFAF2;
}

.framework-footer__panel h2,
.framework-footer__panel p,
.framework-footer__panel a {
  color: inherit;
}

.framework-footer__panel p {
  max-width: none;
}

.framework-footer .copyright-bar {
  margin-top: var(--space-xl);
  padding: var(--space-lg) 0 0;
  color: var(--ink-light);
  border-top-color: color-mix(in srgb, var(--color-charcoal) 16%, transparent);
}

@media (max-width: 1023px) {
  .site-header.layout-rail {
    position: sticky;
    width: auto;
    min-height: auto;
    padding: var(--space-sm) var(--page-gutter);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: var(--color-cream);
    border-right: 0;
    border-bottom: 0;
    box-shadow: none;
  }

  .layout-rail .logo {
    color: var(--color-charcoal);
    width: auto;
  }

  .layout-rail .logo-image {
    width: clamp(145px, 46vw, 205px);
    max-height: 96px;
  }

  .layout-rail .nav-toggle {
    display: block;
  }

  .layout-rail .nav-toggle span {
    background-color: var(--color-charcoal);
  }

  .layout-rail .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    padding: var(--space-lg);
    background: var(--color-cream);
    border-top: 1px solid var(--border);
    box-shadow: var(--mobile-nav-shadow);
  }

  .layout-rail .site-nav.open {
    display: flex;
  }

  .layout-rail .site-nav a {
    text-align: center;
  }

  .nav-illustration {
    display: none;
  }

  .layout-main {
    margin-left: 0;
    padding: var(--space-sm) var(--page-gutter) var(--space-3xl);
  }

  .framework-hero {
    grid-template-columns: 1fr;
  }

  .framework-hero {
    padding-top: var(--space-sm);
    justify-items: center;
  }

  .framework-hero__copy {
    width: 100%;
    max-width: 42rem;
  }

  .hero-photo-frame {
    display: none;
  }

}

@media (max-width: 767px) {
  .layout-main {
    padding-top: var(--space-xs);
  }

  .page-title,
  .framework-hero h1 {
    max-width: 10ch;
  }

  .framework-hero {
    width: calc(100% + (var(--page-gutter) * 2));
    margin-inline: calc(var(--page-gutter) * -1);
    padding-inline: var(--page-gutter);
    grid-template-columns: 1fr;
    padding-top: var(--space-xs);
    justify-items: center;
    text-align: center;
  }

  .framework-hero .page-kicker,
  .framework-hero h1,
  .framework-hero__tagline {
    max-width: min(100%, 24rem);
    text-align: center;
  }

  .framework-hero .contact-badge {
    width: min(270px, calc(100vw - (var(--page-gutter) * 2)));
  }

  .placeholder-frame {
    min-height: 260px;
  }

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

  .framework-footer__panel {
    padding: var(--space-lg);
  }
}

/* === Homepage Layout Refinements === */
.home-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2xl) var(--space-3xl);
  max-width: 860px;
}

.home-step {
  position: relative;
  padding: var(--space-sm) 0 var(--space-xl);
  border-top: 4px solid var(--color-atomic-teal);
}

.home-step:nth-child(2),
.home-step:nth-child(3) {
  border-top-color: var(--orange-text);
}

.home-step__number {
  display: inline-block;
  margin-bottom: var(--space-md);
  color: var(--orange-text);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-step h3 {
  max-width: 12ch;
  margin-bottom: var(--space-sm);
  color: var(--teal-text);
  font-size: 2.3rem;
  line-height: 1.05;
}

.home-step p {
  max-width: 24rem;
  color: var(--ink-light);
  font-size: var(--font-card-body);
}

.home-services-teaser .section-heading {
  max-width: 720px;
  margin-bottom: var(--space-lg);
}

.home-services-teaser .section-heading h2 {
  color: var(--color-charcoal);
  font-size: 3rem;
  line-height: 1.14;
}

.home-services-teaser .section-actions {
  margin-top: 0;
}

@media (max-width: 767px) {
  .home-steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .home-step h3 {
    max-width: none;
    font-size: 1.9rem;
  }

  .home-services-teaser .section-heading h2 {
    font-size: 2.2rem;
  }
}

/* === About Page Editorial Layout === */
.about-editorial {
  width: min(100%, 1040px);
  margin-inline: auto;
  padding: var(--space-xl) 0 var(--space-3xl);
  border-top: 1px solid var(--border);
}

.about-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(var(--space-xl), 5vw, var(--space-3xl));
  align-items: start;
}

.about-story-photo {
  margin: 0;
}

.about-story-photo .placeholder-frame {
  width: 100%;
  min-height: 0;
  max-height: 560px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-style: solid;
  border-color: color-mix(in srgb, var(--color-atomic-teal) 52%, var(--color-cream));
  background: color-mix(in srgb, var(--color-soft-pink) 16%, var(--color-white));
}

.about-story-photo .hero-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
}

.about-story-copy {
  display: grid;
  gap: var(--space-xl);
}

.about-story-section {
  padding-top: var(--space-lg);
  border-top: 4px solid var(--color-atomic-teal);
}

.about-story-section:nth-child(2) {
  border-top-color: var(--color-burnt-orange);
}

.about-story-section h2 {
  margin-bottom: var(--space-md);
  color: var(--teal-text);
  font-size: 2.6rem;
  line-height: 1.08;
}

.about-story-section p {
  max-width: 39rem;
  color: var(--ink-light);
  font-size: var(--font-card-body);
  line-height: 1.7;
}

.about-story-section p+p {
  margin-top: var(--space-md);
}

.about-cta {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

@media (max-width: 1023px) {
  .about-story {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-story-photo .placeholder-frame {
    width: min(100%, 440px);
    margin-inline: auto;
    max-height: none;
  }
}

@media (max-width: 767px) {
  .about-story-photo .placeholder-frame {
    width: 100%;
    aspect-ratio: 4 / 5;
  }

  .about-story-section h2 {
    font-size: 2.1rem;
  }

  .about-story-section p {
    max-width: none;
  }
}

/* === Services Page Editorial Layout === */
.services-editorial {
  padding-top: var(--space-xl);
}

.services-editorial .section-heading {
  margin-inline: auto;
  text-align: center;
}

.services-menu {
  display: grid;
  gap: var(--space-3xl);
}

.services-menu--top {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-menu--bottom {
  width: min(100%, 720px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: var(--space-3xl) auto 0;
}

.services-menu-item {
  padding-top: var(--space-lg);
  border-top: 4px solid var(--color-atomic-teal);
}

.services-menu-item:nth-child(even) {
  border-top-color: var(--color-burnt-orange);
}

.services-menu-item h3 {
  max-width: 12ch;
  margin-bottom: var(--space-sm);
  color: var(--teal-text);
  font-size: 2.25rem;
  line-height: 1.08;
}

.services-menu-item p {
  max-width: 22rem;
  color: var(--ink-light);
  font-size: var(--font-card-body);
  line-height: 1.65;
}

@media (max-width: 1023px) {

  .services-menu--top,
  .services-menu--bottom {
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {

  .services-menu,
  .services-menu--top,
  .services-menu--bottom {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .services-menu--bottom {
    margin-top: var(--space-xl);
  }

  .services-menu-item h3 {
    max-width: none;
    font-size: 2rem;
  }
}

/* === Contact Page Editorial Form Layout === */
.contact-editorial {
  width: min(100%, 760px);
  margin-inline: auto;
  padding: var(--space-xl) 0 var(--space-3xl);
  border-top: 1px solid var(--border);
}

.contact-editorial .contact-form-card {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.contact-editorial .retro-contact-form {
  gap: var(--space-xl);
}

.contact-editorial .form-group {
  gap: var(--space-sm);
}

.contact-editorial .form-group label {
  color: var(--color-charcoal);
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-editorial .required {
  color: var(--orange-text);
}

.contact-editorial .retro-contact-form input[type="text"],
.contact-editorial .retro-contact-form input[type="email"],
.contact-editorial .retro-contact-form input[type="tel"],
.contact-editorial .retro-contact-form textarea,
.contact-editorial .retro-contact-form select {
  padding: 0.9rem 1rem;
  border: 1.5px solid color-mix(in srgb, var(--color-charcoal) 36%, var(--color-cream));
  border-radius: 8px;
  background: color-mix(in srgb, var(--color-white) 76%, var(--color-cream));
  color: var(--color-charcoal);
}

.contact-editorial .retro-contact-form textarea {
  min-height: 9rem;
  padding: 0.9rem 1rem;
}

.contact-editorial .retro-contact-form input::placeholder,
.contact-editorial .retro-contact-form textarea::placeholder {
  color: color-mix(in srgb, var(--color-charcoal) 52%, var(--color-cream));
}

.contact-editorial .retro-contact-form input:focus,
.contact-editorial .retro-contact-form textarea:focus,
.contact-editorial .retro-contact-form select:focus {
  border-color: var(--color-burnt-orange);
  background: var(--color-white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-burnt-orange) 20%, transparent);
}

.contact-editorial .select-wrapper::after {
  color: var(--orange-text);
}

.contact-editorial .form-submit-button {
  justify-self: start;
  width: fit-content;
  min-height: 52px;
  padding: 0.9rem 1.8rem;
  border: 1.5px solid var(--color-burnt-orange);
  border-radius: 9999px;
  background: var(--color-burnt-orange);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.15;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(216, 106, 46, 0.22);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-editorial .form-submit-button:hover,
.contact-editorial .form-submit-button:focus-visible {
  border-color: color-mix(in srgb, var(--color-burnt-orange) 82%, var(--color-charcoal));
  background: color-mix(in srgb, var(--color-burnt-orange) 82%, var(--color-charcoal));
  box-shadow: 0 10px 20px rgba(43, 43, 43, 0.18);
  outline: none;
  transform: translateY(-2px);
}

.contact-editorial .form-submit-button:active {
  transform: translateY(0);
}

.contact-editorial .submit-btn {
  width: auto;
  min-width: 220px;
  margin-top: var(--space-sm);
}

.contact-editorial .form-note {
  max-width: 36rem;
  text-align: left;
}

@media (max-width: 767px) {
  .contact-editorial .submit-btn,
  .contact-editorial .form-submit-button {
    width: 100%;
  }
}

/* === FAQ Page Editorial Accordion === */
.faq-editorial {
  width: min(100%, 900px);
  margin-inline: auto;
  padding: var(--space-xl) 0 var(--space-3xl);
  border-top: 1px solid var(--border);
}

.faq-editorial-item {
  border-bottom: 1px solid var(--border);
}

.faq-editorial-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-xl) 0;
  color: var(--teal-text);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.14;
  cursor: pointer;
  list-style: none;
}

.faq-editorial-item summary::-webkit-details-marker {
  display: none;
}

.faq-editorial-item summary::after {
  content: "+";
  color: var(--orange-text);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.faq-editorial-item[open] summary {
  padding-bottom: var(--space-md);
}

.faq-editorial-item[open] summary::after {
  content: "–";
}

.faq-editorial-item p {
  max-width: 42rem;
  padding: 0 0 var(--space-xl);
  color: var(--color-charcoal);
  font-size: var(--font-card-body);
  line-height: 1.7;
}

.faq-editorial-cta {
  display: flex;
  justify-content: center;
  padding-top: var(--space-xl);
}

@media (max-width: 767px) {
  .faq-editorial-item summary {
    font-size: 1.55rem;
  }
}
