/* =============================================
   haraldfrank.net · A Way Forward · 2025
   Palette: sun & sea — sandy cream / cobalt / terracotta / golden
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=DM+Mono:wght@300;400&display=swap');

/* ─── TOKENS ─────────────────────────────────── */
:root {
  /* Backgrounds — warm sandy cream, like the reference */
  --bg-page:    #FBF6EE;
  --bg-section: #F3EBD8;   /* deeper sand, bands between sections */
  --bg-card:    #FFFDF8;   /* almost white cards so they pop */

  /* Border tones */
  --sand:       #E8D9BC;
  --sand-deep:  #D4C09A;
  --rule:       rgba(100,70,30,0.12);

  /* Primary — cobalt blue (the strong blue from the reference) */
  --ocean:      #1A5FAB;
  --ocean-mid:  #1E6EC4;
  --ocean-light:#5A9FD8;

  /* Accent 1 — terracotta / burnt orange (the CTA buttons in reference) */
  --terra:      #D95E2A;
  --terra-warm: #E87040;

  /* Accent 2 — golden yellow (the wave/highlight colour in reference) */
  --gold:       #E8A820;
  --gold-light: #F2C050;

  /* Text — warm dark brown, not cold black */
  --ink:        #1E1408;
  --ink-soft:   #32220E;
  --muted:      #6B5438;
  --muted-light:#A08860;

  /* Radius — rounder to match the warm retro feel */
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  36px;

  /* Shadows — warm-tinted */
  --sh-sm: 0 2px 8px  rgba(100,60,20,0.08);
  --sh-md: 0 6px 24px rgba(100,60,20,0.11);
  --sh-lg: 0 16px 48px rgba(100,60,20,0.13);

  /* Type */
  --f-display: 'Playfair Display', Georgia, serif;
  --f-body:    'DM Sans', system-ui, sans-serif;
  --f-mono:    'DM Mono', monospace;

  --max-w: 1160px;
}

/* ─── RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  background: var(--bg-page);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── LAYOUT ─────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}
.section { padding: clamp(4rem, 8vw, 7rem) 0; }

/* ─── TYPE HELPERS ───────────────────────────── */
.section-label {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 0.6rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 1.75rem; height: 1px;
  background: var(--muted);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.section-title em { font-style: italic; color: var(--ocean); }
.section-header { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* ─── TAGS / BADGES ──────────────────────────── */
.tag {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0.22em 0.72em;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
/* Physical — cobalt blue family */
.tag-physical { background: rgba(26,95,171,0.10); color: var(--ocean); border: 1px solid rgba(26,95,171,0.25); }
/* Mental — gold family */
.tag-mental   { background: rgba(232,168,32,0.13); color: #8a5c00; border: 1px solid rgba(232,168,32,0.32); }
/* Family — terracotta family */
.tag-family   { background: rgba(217,94,42,0.11); color: #9e3a10; border: 1px solid rgba(217,94,42,0.28); }
/* Community — cobalt */
.tag-community{ background: rgba(26,95,171,0.10); color: var(--ocean); border: 1px solid rgba(26,95,171,0.25); }
/* Creative — gold */
.tag-creative { background: rgba(232,168,32,0.13); color: #8a5c00; border: 1px solid rgba(232,168,32,0.32); }

.coming-soon-badge {
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: var(--gold);
  color: #3a2400;
  padding: 0.26em 0.7em;
  border-radius: 100px;
  font-weight: 600;
  white-space: nowrap;
}

/* ─── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.75em 1.5em;
  border-radius: 100px;
  font-family: var(--f-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  border: none;
}
/* Primary — cobalt */
.btn-primary { background: var(--ocean); color: white; box-shadow: 0 4px 16px rgba(26,95,171,0.28); }
.btn-primary:hover { background: var(--ocean-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,95,171,0.35); }
/* Ghost */
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--sand-deep); }
.btn-ghost:hover { border-color: var(--ocean); color: var(--ocean); transform: translateY(-2px); }
/* CTA — terracotta (matches reference's orange CTA) */
.btn-mustard { background: var(--terra); color: white; box-shadow: 0 4px 16px rgba(217,94,42,0.30); }
.btn-mustard:hover { background: var(--terra-warm); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,94,42,0.38); }

/* ─── NAV ────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.1rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  background: rgba(251,246,238,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--rule);
}
#nav .container { display: flex; align-items: center; justify-content: space-between; position: relative; }
.nav-logo {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--ocean); }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.82rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--ocean); }
.nav-cta {
  background: var(--ocean) !important;
  color: white !important;
  padding: 0.45em 1.1em;
  border-radius: 100px;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--ocean-mid) !important; }

/* Mobile menu */
.nav-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0; right: 0;
  background: rgba(251,246,238,0.98);
  backdrop-filter: blur(12px);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  gap: 1.25rem;
  box-shadow: var(--sh-md);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ─── HERO ───────────────────────────────────── */
#hero {
  min-height: 92svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 5rem;
  background: var(--bg-page);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
/* Golden blob top-right, cobalt bottom-left — mirrors the reference's warm/cool split */
.hero-blob-1 {
  width: 560px; height: 440px;
  background: radial-gradient(circle, rgba(232,168,32,0.18), transparent 70%);
  top: -100px; right: -60px;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,95,171,0.12), transparent 70%);
  bottom: 0; left: -80px;
}

.hero-inner { position: relative; max-width: 720px; }
.hero-eyebrow { margin-bottom: 1.5rem; }

h1.hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
h1.hero-title em { font-style: italic; color: var(--ocean); }

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── ABOUT ──────────────────────────────────── */
.section-about { background: var(--bg-section); }

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.about-lead {
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.about-sub {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.75;
}
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid var(--sand-deep);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--sh-sm);
}
.pillar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}
.pillar:last-child { border-bottom: none; }
.pillar:hover { background: rgba(26,95,171,0.04); }
.pillar-icon { font-size: 1.35rem; flex-shrink: 0; }
.pillar-label { font-size: 0.88rem; font-weight: 500; color: var(--ink-soft); }

/* ─── CATEGORY DIVIDER ───────────────────────── */
.cat-divider {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.cat-divider-line { flex: 1; height: 1px; background: var(--sand-deep); }
.cat-divider-title {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 400;
}

/* ─── DUAL CATEGORY ROW ──────────────────────── */
.dual-cat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 1.5rem;
}
.dual-cat { display: flex; flex-direction: column; }

/* ─── PROJECT CARDS ──────────────────────────── */
#projects { background: var(--bg-page); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.project-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  border: 1.5px solid var(--sand);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: rgba(26,95,171,0.30);
}
/* Top accent bar — cobalt on hover */
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ocean), var(--ocean-light));
  opacity: 0;
  transition: opacity 0.22s;
}
.project-card:hover::before { opacity: 1; }

/* Coming soon — sandy tint with gold stripe pattern */
.project-card--coming {
  background: #FDF8EE;
  border-color: var(--sand-deep);
}
.project-card--coming::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -50deg,
    transparent,
    transparent 14px,
    rgba(232,168,32,0.06) 14px,
    rgba(232,168,32,0.06) 15px
  );
  pointer-events: none;
}
.project-card--coming:hover { transform: none; box-shadow: none; border-color: var(--sand-deep); }

/* Featured wide card */
.project-card--featured {
  grid-column: span 2;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  border-color: rgba(26,95,171,0.18);
  background: linear-gradient(135deg, var(--bg-card) 60%, rgba(26,95,171,0.04) 100%);
}
.project-card--featured .project-card-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
/* Featured visual — cobalt-to-sky gradient */
.project-card-visual {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

/* Project image thumbnail (200×200) */
.project-card-image {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(26,95,171,0.06);
  border: 1px solid rgba(26,95,171,0.14);
}
.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.project-emoji { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.project-badges { display: flex; gap: 0.35rem; flex-wrap: wrap; justify-content: flex-end; }
.project-title {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.project-desc {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}
.project-card-footer {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ocean);
  transition: gap 0.2s;
}
.project-link:hover { gap: 0.5em; }
.project-link .arrow { transition: transform 0.2s; }
.project-link:hover .arrow { transform: translateX(3px); }
.project-link-disabled { font-size: 0.75rem; color: var(--muted-light); font-style: italic; }

.more-hint {
  text-align: center;
  margin-top: 2.5rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted-light);
  text-transform: uppercase;
}

/* ─── NEWSLETTER ─────────────────────────────── */
/* Rich cobalt — the dominant blue from the reference's footer/panels */
#newsletter {
  background: linear-gradient(140deg, #1A5FAB 0%, #0E3D72 100%);
  padding: clamp(4rem, 7vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
#newsletter::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  top: -200px; right: -80px;
}
.newsletter-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.newsletter-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}
/* Gold italic — matches reference's golden highlights on blue bg */
.newsletter-title em { font-style: italic; color: var(--gold-light); }
.newsletter-desc { color: rgba(255,255,255,0.65); font-size: 0.93rem; line-height: 1.75; }
.newsletter-card {
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.newsletter-card-title {
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: white;
  margin-bottom: 0.35rem;
}
.newsletter-card-sub { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 1.25rem; }
.newsletter-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.2rem;
  background: white;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--ocean);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.newsletter-link-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }

/* ─── CONSULTING ─────────────────────────────── */
#consulting { background: var(--bg-section); }
.consulting-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: start;
}
/* Kicker — terracotta, like the reference's orange highlights */
.consulting-kicker {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.consulting-kicker::before { content: ''; width: 1.5rem; height: 1px; background: var(--terra); }
.consulting-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.consulting-title em { font-style: italic; color: var(--ocean); }
.consulting-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.75; margin-bottom: 2rem; }
.consulting-services { display: flex; flex-direction: column; gap: 0.65rem; }
.consulting-service {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--bg-card);
  border-radius: var(--r-md);
  border: 1.5px solid var(--sand);
}
.cs-icon { font-size: 1.15rem; flex-shrink: 0; margin-top: 1px; }
.cs-title { font-size: 0.87rem; font-weight: 600; color: var(--ink); margin-bottom: 0.18rem; }
.cs-desc  { font-size: 0.77rem; color: var(--muted); line-height: 1.5; }

/* CTA box — deep cobalt with warm glows */
.consulting-cta-box {
  background: linear-gradient(150deg, #0E3D72 0%, #1A5FAB 100%);
  border-radius: var(--r-xl);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
}
.consulting-cta-box::before {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,168,32,0.22), transparent 70%);
  top: -100px; right: -80px;
}
.consulting-cta-box::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,94,42,0.20), transparent 70%);
  bottom: -60px; left: -40px;
}
.ccb-inner { position: relative; z-index: 1; }
.ccb-label {
  font-family: var(--f-mono);
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.ccb-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.ccb-desc { font-size: 0.85rem; color: rgba(255,255,255,0.62); line-height: 1.65; margin-bottom: 1.75rem; }
.ccb-domain {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.30);
  margin-top: 0.9rem;
  display: block;
}

/* ─── FOOTER ─────────────────────────────────── */
/* Deep cobalt footer — exactly like the reference */
footer {
  background: #0E3D72;
  color: rgba(255,255,255,0.50);
  padding: 2.25rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo { font-family: var(--f-display); font-size: 0.95rem; color: rgba(255,255,255,0.70); }
.footer-logo span { color: var(--gold-light); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links button {
  background: none; border: none;
  color: rgba(255,255,255,0.45);
  font-family: var(--f-body);
  font-size: 0.78rem;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}
.footer-links button:hover { color: rgba(255,255,255,0.85); }
.footer-copy { font-size: 0.75rem; }

/* ─── MODALS ─────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,25,50,0.65);
  backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
@media (min-width: 600px) { .modal-overlay { align-items: center; } }
.modal-box {
  background: var(--bg-page);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  max-width: 520px; width: 100%;
  max-height: 80svh; overflow-y: auto;
  padding: 2.25rem;
  transform: translateY(20px);
  transition: transform 0.28s;
}
@media (min-width: 600px) { .modal-box { border-radius: var(--r-xl); } }
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
.modal-title { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.modal-close {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-section);
  border: 1px solid var(--rule);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--muted);
  transition: background 0.2s;
}
.modal-close:hover { background: var(--sand); }
.modal-content { font-size: 0.87rem; color: var(--muted); line-height: 1.75; }
.modal-content p { margin-bottom: 0.75rem; }
.modal-content strong { color: var(--ink); }
.modal-content a { color: var(--ocean); text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-label { font-size: 0.76rem; font-weight: 500; color: var(--ink); }
.form-input, .form-textarea {
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--sand-deep);
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-size: 0.87rem;
  color: var(--ink);
  background: white;
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--ocean); }
.form-textarea { resize: vertical; min-height: 96px; }
.form-submit { align-self: flex-start; cursor: pointer; }

/* ─── FADE-UP ─────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.58s ease, transform 0.58s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .consulting-inner { grid-template-columns: 1fr; gap: 3rem; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .dual-cat-row { grid-template-columns: 1fr; gap: 2rem; }
  .project-card--featured { grid-column: span 1; flex-direction: column; }
  .project-card--featured .project-card-visual { width: 100%; height: 100px; }
}
@media (max-width: 700px) {
  .project-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 480px) {
  .footer-inner { flex-direction: column; text-align: center; }
}
