/* =========================================================
   Dirt Road Digital — styles.css
   Plain CSS, no framework, no build step.
   ========================================================= */

/* --- Custom Properties ---------------------------------- */
:root {
  /* Primary palette */
  --dirt-brown:    #7A4B2A;
  --prairie-gold:  #C58A2B;
  --field-charcoal:#24211D;
  --canvas-cream:  #F5EBDD;
  /* Secondary palette */
  --wheat-tan:     #D9BE8A;
  --dust-sage:     #6E7461;
  --sky-accent:    #7FA9C6;
  /* Deep accent */
  --fencepost:     #151311;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Borders */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);

  /* Layout */
  --max-width: 1140px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--field-charcoal);
  background-color: var(--canvas-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--dirt-brown);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

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

ul {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

/* --- Scrollbar ------------------------------------------ */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--wheat-tan);
}
::-webkit-scrollbar-thumb {
  background: var(--dirt-brown);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--prairie-gold);
}

/* --- Text Selection ------------------------------------- */
::selection {
  background: var(--prairie-gold);
  color: var(--canvas-cream);
}

/* Sections start invisible until scrolled into view */
.scroll-section {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.scroll-section.visible {
  opacity: 1;
}

/* --- Form Errors --------------------------------------- */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e05c5c;
  background: rgba(224, 92, 92, 0.08);
}

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

/* --- Layout Utilities ----------------------------------- */
.section {
  padding: var(--space-20) 0;
}

.section-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Buttons ------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.625rem 1.375rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s var(--ease-out),
              color 0.2s var(--ease-out),
              transform 0.15s var(--ease-out),
              box-shadow 0.2s var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--prairie-gold);
  color: var(--canvas-cream);
  border: 2px solid var(--prairie-gold);
}

.btn-primary:hover {
  background: var(--dirt-brown);
  border-color: var(--dirt-brown);
  color: var(--canvas-cream);
  box-shadow: 0 4px 12px rgba(122, 75, 42, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--dirt-brown);
  border: 2px solid var(--dirt-brown);
}

.btn-ghost:hover {
  background: var(--dirt-brown);
  color: var(--canvas-cream);
}

.btn-lg {
  padding: 0.8rem 1.75rem;
  font-size: 1rem;
}

/* --- Section Labels ------------------------------------ */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--prairie-gold);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  color: var(--field-charcoal);
  margin-bottom: var(--space-5);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--dust-sage);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: var(--space-10);
}

/* ========================================================
   HEADER
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 235, 221, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(122, 75, 42, 0.12);
  transition: box-shadow 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 8rem;
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  transition: height 0.3s ease;
  padding-top: 0.5rem;
}

/* Step-based header compression */
.site-header.step-1 .header-inner {
  height: 7rem;
}

.site-header.step-2 .header-inner {
  height: 6rem;
  align-items: center;
}

.site-header.step-3 .header-inner {
  height: 5rem;
}

.site-header.step-4 .header-inner {
  height: 4.5rem;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-full {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
  transition: opacity 0.25s ease, transform 0.3s ease;
  transform: translateY(1.85rem);
}

.logo-submark-full {
  width: clamp(5rem, 9vw, 6.75rem);
  height: auto;
  flex-shrink: 0;
}

.logo-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 0.92;
}

.logo-wordmark-large {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  color: var(--field-charcoal);
}

.logo-wordmark-accent {
  padding-left: 0.18em;
  font-size: clamp(0.88rem, 1.3vw, 1.18rem);
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--dirt-brown);
}

.logo-motto {
  margin-top: 0.45rem;
  padding-left: 0.24em;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dust-sage);
}

.logo-submark-header {
  display: none;
  width: clamp(2.5rem, 4vw, 3.25rem);
  height: auto;
  flex-shrink: 0;
}

.logo-scrolled {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.logo-wordmark-header {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--dirt-brown);
  white-space: nowrap;
}

/* Show scrolled layout when header has .scrolled */
.site-header.step-4 .logo-full,
.site-header.scrolled .logo-full {
  transform: translateY(0);
}

.site-header.step-4 .logo-full-header,
.site-header.scrolled .logo-full-header {
  display: none;
}

.site-header.step-4 .logo-scrolled,
.site-header.scrolled .logo-scrolled {
  display: flex;
}

.site-header.step-4 .logo-scrolled .logo-submark-header,
.site-header.scrolled .logo-scrolled .logo-submark-header {
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 1px;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--dirt-brown);
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dust-sage);
}

/* Nav */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  gap: var(--space-1);
  list-style: none;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--field-charcoal);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--dirt-brown);
  background: rgba(122, 75, 42, 0.06);
}

.header-cta {
  flex-shrink: 0;
  margin-left: auto;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}

.nav-toggle:hover {
  background: rgba(122, 75, 42, 0.08);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--field-charcoal);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
}

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

/* ========================================================
   HERO
   ======================================================== */
.hero {
  position: relative;
  padding: var(--space-24) 0 var(--space-20);
  overflow: hidden;
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201, 138, 43, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(122, 75, 42, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--prairie-gold);
  margin-bottom: var(--space-4);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  line-height: 1.05;
  color: var(--field-charcoal);
  margin-bottom: var(--space-6);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--dust-sage);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  width: 100%;
  max-width: 340px;
  height: auto;
}

.hero-brand-art {
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(36, 33, 29, 0.12));
}

/* ========================================================
   SERVICES
   ======================================================== */
.services {
  background: var(--canvas-cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background: white;
  border: 1px solid rgba(122, 75, 42, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  transition: border-color 0.2s var(--ease-out),
              box-shadow 0.2s var(--ease-out),
              transform 0.2s var(--ease-out);
}

.service-card:hover {
  border-color: var(--wheat-tan);
  box-shadow: 0 8px 24px rgba(122, 75, 42, 0.08);
  transform: translateY(-2px);
}

.service-icon {
  margin-bottom: var(--space-4);
  color: var(--prairie-gold);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--field-charcoal);
  margin-bottom: var(--space-3);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--dust-sage);
  line-height: 1.65;
}

/* ========================================================
   WHY SECTION
   ======================================================== */
.why-section {
  background: var(--fencepost);
}

.why-section .section-eyebrow {
  color: var(--wheat-tan);
}

.why-section .section-title {
  color: var(--canvas-cream);
}

.why-section .section-lead {
  color: rgba(245, 235, 221, 0.65);
}

.why-content {
  max-width: 600px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  list-style: none;
}

.why-list li {
  font-size: 0.95rem;
  color: rgba(245, 235, 221, 0.8);
  line-height: 1.65;
  padding-left: var(--space-5);
  border-left: 3px solid var(--prairie-gold);
}

.why-list strong {
  color: var(--canvas-cream);
  font-weight: 600;
}

.why-graphic {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  opacity: 0.6;
  pointer-events: none;
}

.why-section .section-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.why-illustration {
  width: 100%;
  max-width: 280px;
}

.why-section {
  position: relative;
  overflow: hidden;
}

/* ========================================================
   PROCESS
   ======================================================== */
.process-section {
  background: var(--wheat-tan);
}

.process-section .section-eyebrow {
  color: var(--dirt-brown);
}

.process-section .section-title {
  color: var(--field-charcoal);
}

.process-section .section-lead {
  color: rgba(36, 33, 29, 0.65);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 1.6rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 1px;
  background: linear-gradient(90deg, var(--dirt-brown) 0%, var(--prairie-gold) 50%, var(--dirt-brown) 100%);
  opacity: 0.3;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  color: var(--prairie-gold);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-2);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--field-charcoal);
}

.process-step p {
  font-size: 0.875rem;
  color: rgba(36, 33, 29, 0.7);
  line-height: 1.65;
}

/* ========================================================
   WORK
   ======================================================== */
.work-section {
  background: var(--canvas-cream);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.work-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(122, 75, 42, 0.1);
  background: white;
  transition: box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.work-card:hover {
  box-shadow: 0 12px 32px rgba(122, 75, 42, 0.1);
  transform: translateY(-3px);
}

.work-card-visual {
  overflow: hidden;
  background: var(--wheat-tan);
  border-bottom: 1px solid rgba(122, 75, 42, 0.08);
}

.work-card-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--field-charcoal);
  padding: var(--space-5) var(--space-5) 0;
  margin-bottom: var(--space-2);
}

.work-card p {
  font-size: 0.85rem;
  color: var(--dust-sage);
  line-height: 1.6;
  padding: 0 var(--space-5) var(--space-5);
}

/* ========================================================
   ABOUT
   ======================================================== */
.about-section {
  background: var(--canvas-cream);
}

.about-section .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-graphic {
  display: flex;
  justify-content: center;
}

.about-logo {
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(36, 33, 29, 0.12));
}

.about-illustration {
  width: 100%;
  max-width: 280px;
}

.about-content {
  max-width: 520px;
}

.about-content p {
  font-size: 0.975rem;
  color: var(--dust-sage);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* ========================================================
   CONTACT
   ======================================================== */
.contact-section {
  background: var(--field-charcoal);
}

.contact-section .section-eyebrow {
  color: var(--wheat-tan);
}

.contact-section .section-title {
  color: var(--canvas-cream);
}

.contact-section .section-lead {
  color: rgba(245, 235, 221, 0.6);
}

.contact-inner {
  max-width: 720px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.9rem;
  color: rgba(245, 235, 221, 0.7);
  text-decoration: none;
  transition: color 0.15s;
}

.contact-item:hover {
  color: var(--prairie-gold);
}

.contact-icon {
  color: var(--prairie-gold);
  flex-shrink: 0;
}

/* --- Form ----------------------------------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 235, 221, 0.55);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(245, 235, 221, 0.06);
  border: 1px solid rgba(245, 235, 221, 0.12);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--canvas-cream);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4 L6 8 L10 4' stroke='%23C58A2B' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--field-charcoal);
  color: var(--canvas-cream);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 235, 221, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--prairie-gold);
  background: rgba(245, 235, 221, 0.09);
  box-shadow: 0 0 0 3px rgba(201, 138, 43, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  align-self: flex-start;
}

.form-note {
  font-size: 0.8rem;
  color: rgba(245, 235, 221, 0.35);
}

/* Form success state */
.form-success {
  text-align: center;
  padding: var(--space-12) 0;
}

.form-success svg {
  margin: 0 auto var(--space-5);
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--canvas-cream);
  margin-bottom: var(--space-3);
}

.form-success p {
  color: rgba(245, 235, 221, 0.6);
}

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
  background: var(--fencepost);
  border-top: 1px solid rgba(245, 235, 221, 0.06);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-12) var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  align-items: start;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  margin-bottom: var(--space-4);
}

.footer-submark {
  width: 3rem;
  height: auto;
  flex-shrink: 0;
}

.footer-logo .logo-name {
  color: var(--canvas-cream);
}

.footer-logo .logo-tagline {
  color: rgba(245, 235, 221, 0.72);
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(245, 235, 221, 0.4);
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  gap: var(--space-12);
}

.footer-nav-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 235, 221, 0.3);
  margin-bottom: var(--space-4);
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav-col a {
  font-size: 0.875rem;
  color: rgba(245, 235, 221, 0.55);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav-col a:hover {
  color: var(--prairie-gold);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-6) var(--gutter);
  border-top: 1px solid rgba(245, 235, 221, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(245, 235, 221, 0.25);
}

.footer-credit {
  font-style: italic;
}

/* ========================================================
   RESPONSIVE
   ======================================================== */

/* Tablet */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }

  .process-steps::before {
    display: none;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-section .section-inner {
    grid-template-columns: 1fr;
  }

  .why-graphic {
    display: none;
  }

  .about-section .section-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about-graphic {
    order: -1;
  }

  .about-illustration {
    max-width: 200px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .section {
    padding: var(--space-16) 0;
  }

  .hero {
    padding: var(--space-16) 0 var(--space-12);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero-graphic {
    order: -1;
  }

  .hero-illustration {
    max-width: 240px;
    margin: 0 auto;
  }

  .hero-brand-art {
    max-width: 250px;
    margin: 0 auto;
  }

  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

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

  /* Header mobile */
  .header-inner {
    gap: var(--space-4);
  }

  .logo-full {
    gap: var(--space-3);
    transform: translateY(1rem);
  }

  .logo-submark-full {
    width: 4.25rem;
  }

  .logo-wordmark-large {
    font-size: 1.7rem;
  }

  .logo-wordmark-accent {
    font-size: 0.78rem;
    letter-spacing: 0.26em;
  }

  .logo-motto {
    display: none;
  }

  .logo-wordmark-header {
    font-size: 1.35rem;
  }

  .main-nav {
    position: fixed;
    inset: 4.5rem 0 0 0;
    background: var(--canvas-cream);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--space-6) var(--gutter);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease-out);
    z-index: 99;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: var(--space-2);
  }

  .main-nav a {
    display: block;
    font-size: 1.1rem;
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(122, 75, 42, 0.08);
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-nav {
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }
}

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