/* =============================================================
   Projects I Create — style.css
   Warm & Earthy "Local Craftsperson" theme
   ============================================================= */

/* ─── CUSTOM PROPERTIES ────────────────────────────────────── */
:root {
  /* Colors */
  --color-bg:         #FAF6F0;
  --color-bg-alt:     #F0EAE0;
  --color-surface:    #FFFFFF;
  --color-earth:      #8B5E3C;
  --color-terracotta: #C4704F;
  --color-moss:       #4A6741;
  --color-text:       #2C1F14;
  --color-text-muted: #6B5444;   /* darkened from #7A6555 — AA contrast 4.6:1 on cream bg */
  --color-border:     #DDD0C0;
  --color-footer-bg:  #1C120C;   /* footer — fixed dark, does not invert in dark mode */

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  32px;
  --space-xl:  64px;
  --space-2xl: 128px;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Lora', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;

  /* Borders */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card:       0 4px 16px rgba(44, 31, 20, 0.08);
  --shadow-card-hover: 0 12px 32px rgba(44, 31, 20, 0.14);
  --shadow-nav:        0 2px 20px rgba(44, 31, 20, 0.10);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-med:  0.25s ease;
  --transition-slow: 0.4s ease;
}

/* ─── DARK MODE VARIABLES ───────────────────────────────────── */
[data-theme="dark"] {
  --color-bg:         #1A1410;
  --color-bg-alt:     #231C16;
  --color-surface:    #2C2218;
  --color-earth:      #C4915A;
  --color-terracotta: #D4845E;
  --color-moss:       #6B9460;
  --color-text:       #F0E8DC;
  --color-text-muted: #A8917C;
  --color-border:     #3D2E22;
  --color-footer-bg:  #1C120C;
  --shadow-card:       0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-nav:        0 2px 20px rgba(0, 0, 0, 0.4);
}

/* System-level dark mode preference (when no manual toggle set) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg:         #1A1410;
    --color-bg-alt:     #231C16;
    --color-surface:    #2C2218;
    --color-earth:      #C4915A;
    --color-terracotta: #D4845E;
    --color-moss:       #6B9460;
    --color-text:       #F0E8DC;
    --color-text-muted: #A8917C;
    --color-border:     #3D2E22;
    --color-footer-bg:  #1C120C;
    --shadow-card:       0 4px 16px rgba(0, 0, 0, 0.35);
    --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.5);
    --shadow-nav:        0 2px 20px rgba(0, 0, 0, 0.4);
  }
}

/* Dark mode nav scrolled state */
[data-theme="dark"] .site-header.scrolled {
  background: rgba(26, 20, 16, 0.88);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header.scrolled {
    background: rgba(26, 20, 16, 0.88);
  }
}

/* Dark mode mobile nav */
[data-theme="dark"] .mobile-nav {
  background: var(--color-bg);
}

/* Dark mode hero grain visibility */
[data-theme="dark"] .hero-grain {
  opacity: 0.25;
}

/* Dark mode wave dividers — invert fill colors */
[data-theme="dark"] .wave-divider svg path { fill: var(--color-bg-alt); }
[data-theme="dark"] .wave-divider--alt svg path { fill: var(--color-bg); }

/* ─── ACCESSIBILITY UTILITIES ───────────────────────────────── */
/* Visually hidden but available to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ─── ACCESSIBILITY ─────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 9999;
  background: var(--color-earth);
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: var(--space-md);
}

:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ─── CONTAINER ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ─── TYPOGRAPHY UTILITIES ──────────────────────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  display: block;
  margin-bottom: var(--space-sm);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.25;
  margin-bottom: var(--space-md);
}

.section-sub {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 52ch;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.section-header .section-sub {
  margin: 0 auto;
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-terracotta);
  color: #fff;
  padding: 14px 28px;
  border: 2px solid var(--color-terracotta);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 112, 79, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--color-earth);
  border: 2px solid var(--color-earth);
  padding: 12px 26px;
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--color-earth);
  color: #fff;
}

/* ─── CARDS ─────────────────────────────────────────────────── */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* ─── WAVE DIVIDERS ─────────────────────────────────────────── */
.wave-divider {
  line-height: 0;
  margin-bottom: -2px;
}
.wave-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}
.wave-divider--alt svg path {
  /* inherits fill from inline SVG */
}

/* ─── SECTION ALTERNATING BG ────────────────────────────────── */
.section-alt {
  background: var(--color-bg-alt);
}

/* ─── SCROLL REVEAL ANIMATIONS ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children via delay utilities applied by JS */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── NAVIGATION ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background var(--transition-med), backdrop-filter var(--transition-med), box-shadow var(--transition-med);
}

.site-header.scrolled {
  background: rgba(250, 246, 240, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-nav);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* ── LOGO SHARED ── */
.nav-logo,
.footer-logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 5px;
  text-decoration: none;
  border-bottom: 1.5px solid var(--color-terracotta);
  padding-bottom: 5px;
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-logo:hover,
.footer-logo:hover {
  color: var(--color-terracotta);
  border-color: var(--color-earth);
}

.logo-tx {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-earth);
  line-height: 0.88;
}
.logo-wordmark {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--color-earth);
  padding-bottom: 3px;
}
.nav-logo:hover .logo-tx,
.nav-logo:hover .logo-wordmark,
.footer-logo:hover .logo-tx,
.footer-logo:hover .logo-wordmark {
  color: var(--color-terracotta);
}

/* Nav logo — slightly smaller to fit 68px header */
.nav-logo .logo-tx { font-size: 2rem; }

.nav-links {
  display: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-terracotta);
  border-radius: 2px;
  transition: width var(--transition-med);
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Nav actions group (dark toggle + hamburger) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Dark mode toggle button */
.dark-mode-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-earth);
  background: transparent;
  border: 1.5px solid var(--color-border);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  flex-shrink: 0;
}
.dark-mode-toggle:hover {
  background: var(--color-bg-alt);
  color: var(--color-terracotta);
  border-color: var(--color-terracotta);
}
.dark-mode-toggle:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 3px;
}

/* Show sun in dark mode, moon in light mode */
.icon-moon { display: block; }
.icon-sun  { display: none; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun  { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-moon { display: none; }
  :root:not([data-theme="light"]) .icon-sun  { display: block; }
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  margin-right: calc(-1 * var(--space-sm));
}
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-earth);
  border-radius: 2px;
  transition: transform var(--transition-med), opacity var(--transition-med);
}

/* ─── MOBILE NAV ────────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-med);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-size: 2rem;
  color: var(--color-earth);
  line-height: 1;
  padding: var(--space-sm);
}
.mobile-nav-close:hover {
  color: var(--color-terracotta);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--color-text);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, color var(--transition-fast);
}
.mobile-nav.open .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav.open .mobile-nav-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.open .mobile-nav-link:nth-child(2) { transition-delay: 0.10s; }
.mobile-nav.open .mobile-nav-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav.open .mobile-nav-link:nth-child(4) { transition-delay: 0.20s; }
.mobile-nav-link:hover {
  color: var(--color-terracotta);
}

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-bg);
  overflow: hidden;
  padding-top: var(--space-xl);
  padding-bottom: 80px; /* space for wave */
}

/* Grain texture overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: var(--space-md);
  animation: fadeUp 0.7s ease 0.1s both;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  animation: fadeUp 0.7s ease 0.2s both;
  max-width: 16ch;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 46ch;
  margin-bottom: var(--space-lg);
  animation: fadeUp 0.7s ease 0.3s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  animation: fadeUp 0.7s ease 0.4s both;
}

/* Hero visual / browser mockup */
.hero-visual {
  position: relative;
  animation: fadeUp 0.9s ease 0.35s both;
}

.browser-mockup {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(44, 31, 20, 0.18);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.browser-bar {
  background: #F5F0EB;
  border-bottom: 1px solid var(--color-border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.browser-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red    { background: #FF6058; }
.dot-yellow { background: #FFBD2E; }
.dot-green  { background: #28C941; }

.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 3px 14px;
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-screen {
  min-height: 280px;
  background: var(--color-bg-alt);
}
.browser-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder state for browser screen */
.browser-placeholder {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F0EAE0 0%, #E8E0D4 100%);
}
.browser-placeholder-content {
  text-align: center;
  color: var(--color-earth);
  opacity: 0.7;
}
.browser-placeholder-content p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin: var(--space-sm) 0 4px;
}
.browser-placeholder-content span {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Decorative floating blobs */
.hero-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.hero-deco-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(196,112,79,0.12) 0%, transparent 70%);
  top: -60px;
  right: -60px;
}
.hero-deco-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(74,103,65,0.10) 0%, transparent 70%);
  bottom: 20px;
  right: 80px;
}

/* ─── ABOUT ─────────────────────────────────────────────────── */
.about {
  padding: var(--space-2xl) 0 var(--space-xl);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-photo {
  display: flex;
  justify-content: center;
}

.photo-placeholder {
  width: 260px;
  height: 320px;
  border-radius: 16px;
  background: linear-gradient(135deg, #EDE4D8 0%, #DDD0C0 100%);
  border: 2px dashed var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--color-earth);
  opacity: 0.7;
}
.photo-placeholder p {
  font-size: 13px;
  color: var(--color-text-muted);
}

.portrait {
  width: 260px;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(44, 31, 20, 0.15);
}


.about-body {
  color: var(--color-text);
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
  max-width: 58ch;
}

/* Trust stats */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.stat {
  text-align: center;
  padding: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-earth);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ─── PORTFOLIO / WORK ──────────────────────────────────────── */
.work {
  padding: var(--space-2xl) 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.03);
}

.portfolio-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-thumb--sbf {
  background: linear-gradient(135deg, #4A6741 0%, #3D5636 100%);
  color: rgba(255,255,255,0.75);
}
.portfolio-thumb--sbfv2 {
  background: linear-gradient(135deg, #8B5E3C 0%, #6B4A2E 100%);
  color: rgba(255,255,255,0.75);
}

.thumb-inner {
  text-align: center;
}
.thumb-inner span {
  display: block;
  margin-top: var(--space-sm);
  font-size: 13px;
  opacity: 0.8;
}

/* Coming soon overlay */
.portfolio-thumb--coming-soon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(44, 31, 20, 0.25);
}

/* Dark mask + frosted banner on v2 card */
.portfolio-thumb--masked .thumb-mask {
  position: absolute;
  inset: 0;
  background: rgba(44, 31, 20, 0.52);
  z-index: 1;
}

.thumb-coming-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 85%;
  text-align: center;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.coming-soon-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 2;
  background: var(--color-terracotta);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.portfolio-info {
  padding: var(--space-lg);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-moss);
  background: rgba(74, 103, 65, 0.10);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.portfolio-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-terracotta);
  text-decoration: none;
  transition: gap var(--transition-fast), color var(--transition-fast);
}
.portfolio-link:hover {
  gap: 10px;
  color: var(--color-earth);
}

.portfolio-link--disabled {
  color: var(--color-text-muted);
  cursor: default;
  font-size: 15px;
  font-weight: 500;
}

/* Placeholder card */
.portfolio-card--placeholder {
  border: 2px dashed var(--color-border);
  background: transparent;
  box-shadow: none;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-card--placeholder:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--color-terracotta);
}

.placeholder-inner {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
}
.placeholder-icon {
  color: var(--color-text-muted);
  margin: 0 auto var(--space-md);
  opacity: 0.5;
}
.placeholder-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}
.placeholder-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

/* ─── SERVICES ──────────────────────────────────────────────── */
.services {
  padding: var(--space-2xl) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.service-card {
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-md);
  background: rgba(139, 94, 60, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-earth);
  transition: background var(--transition-med), color var(--transition-med);
}
.service-card:hover .service-icon {
  background: var(--color-earth);
  color: #fff;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.service-subtitle {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: var(--space-md);
}

.service-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 34ch;
  margin: 0 auto;
}

/* ─── DESIGN STYLE PREVIEWS ─────────────────────────────────── */
.style-previews {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.style-previews-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.style-previews-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  color: var(--color-text);
  margin: var(--space-xs) 0 var(--space-sm);
}

.style-previews-sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.65;
}

.style-previews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ── Card shell ── */
.style-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.style-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-terracotta);
}

.style-card:focus-visible {
  outline: 3px solid var(--color-terracotta);
  outline-offset: 3px;
}

/* ── Thumbnail ── */
.style-card-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

/* Clean Professional thumbnail — dark navy hero */
.style-card-thumb--clean {
  background: #0C1628;
}

.style-card-thumb--clean .sct-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 24px;
  border-bottom: 1px solid rgba(184,148,58,0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.style-card-thumb--clean .sct-logo {
  width: 52px; height: 6px;
  background: rgba(248,244,238,0.75);
  border-radius: 2px;
}

.style-card-thumb--clean .sct-links {
  display: flex; gap: 8px;
}
.style-card-thumb--clean .sct-links span {
  width: 20px; height: 4px;
  background: rgba(248,244,238,0.35);
  border-radius: 2px;
}

.style-card-thumb--clean .sct-hero {
  position: absolute;
  bottom: 24px; left: 20px;
  display: flex; flex-direction: column; gap: 7px;
}

.style-card-thumb--clean .sct-eyebrow {
  width: 56px; height: 3px;
  background: rgba(184,148,58,0.65);
  border-radius: 2px;
}

.style-card-thumb--clean .sct-h1 {
  width: 140px; height: 9px;
  background: rgba(248,244,238,0.88);
  border-radius: 2px;
}

.style-card-thumb--clean .sct-h1--short {
  width: 100px;
  background: rgba(248,244,238,0.65);
}

.style-card-thumb--clean .sct-cta {
  margin-top: 4px;
  width: 72px; height: 18px;
  background: rgba(184,148,58,0.85);
  border-radius: 3px;
}

/* Subtle gold glow at bottom of clean thumb */
.style-card-thumb--clean::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top,
    rgba(184,148,58,0.08) 0%,
    transparent 100%
  );
  pointer-events: none;
}

/* Horizon thumbnail — sunset sky */
.style-card-thumb--horizon {
  background: #07091A;
  overflow: hidden;
}

.style-card-thumb--horizon .sct-sky {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    #06081A  0%,
    #14103A 22%,
    #341A58 40%,
    #6A2438 55%,
    #B03A0A 68%,
    #C85C12 74%,
    #B03A0A 80%,
    #3A1208 92%,
    #0A0408 100%
  );
}

.style-card-thumb--horizon .sct-sun {
  position: absolute;
  left: 50%; top: 68%;
  width: 120px; height: 120px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse,
    rgba(255,220,100,0.95)  0%,
    rgba(240,160,40,0.80)   12%,
    rgba(210,90,15,0.45)    30%,
    rgba(160,50,8,0.15)     60%,
    transparent             100%
  );
  pointer-events: none;
}

.style-card-thumb--horizon .sct-hills {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background:
    /* far ridge */
    radial-gradient(ellipse 120% 30% at 50% 100%,
      #07091A 55%, transparent 100%
    );
  /* Simple SVG hill painted as bg-image */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,50 C40,30 80,20 130,28 C180,36 210,15 260,18 C310,21 350,35 400,30 L400,80 L0,80Z' fill='%23080C1A' opacity='0.9'/%3E%3Cpath d='M0,65 C50,52 110,42 170,50 C230,58 280,44 340,52 L400,55 L400,80 L0,80Z' fill='%23050810'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.sct-hero--horizon {
  position: absolute;
  bottom: 22px; left: 20px;
  display: flex; flex-direction: column; gap: 7px;
}

.sct-hero--horizon .sct-eyebrow {
  width: 56px; height: 3px;
  background: rgba(240,160,48,0.7);
  border-radius: 2px;
}

.sct-hero--horizon .sct-h1 {
  width: 140px; height: 9px;
  background: rgba(243,232,208,0.88);
  border-radius: 2px;
}

.sct-hero--horizon .sct-h1--short {
  width: 100px;
  background: rgba(243,232,208,0.60);
}

.sct-cta--amber {
  margin-top: 4px;
  width: 72px; height: 18px;
  background: rgba(240,160,48,0.85);
  border-radius: 3px;
}

/* "Open in new tab" badge — top right corner */
.style-card-thumb::before {
  content: 'Interactive Preview';
  position: absolute;
  top: 10px; right: 10px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 10;
}

/* ── Card body ── */
.style-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.style-card-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.style-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.style-card-cta {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-terracotta);
  letter-spacing: 0.01em;
  transition: color var(--transition-fast);
}

.style-card:hover .style-card-cta {
  color: var(--color-earth);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .style-previews-grid {
    grid-template-columns: 1fr;
  }
  .style-card-thumb {
    height: 160px;
  }
}

/* ─── PRICING ───────────────────────────────────────────────── */
.pricing {
  padding: var(--space-2xl) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
  margin-bottom: var(--space-lg);
}

.pricing-card {
  padding: var(--space-xl) var(--space-lg);
  position: relative;
}

.pricing-card--featured {
  border-color: var(--color-terracotta);
  border-width: 2px;
  box-shadow: 0 8px 32px rgba(196, 112, 79, 0.18);
}

.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-terracotta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.pricing-tier-label {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-earth);
  margin-bottom: var(--space-sm);
}

.pricing-price {
  margin-bottom: var(--space-sm);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
}

.pricing-best-for {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-xl);
}
.pricing-features li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-moss);
  font-weight: 700;
}

.pricing-reassurance {
  text-align: center;
  color: var(--color-text-muted);
  font-style: italic;
  font-size: 1rem;
}

.pricing-payment {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: var(--space-md);
}

.pricing-payment-label {
  font-weight: 600;
  color: var(--color-text);
}

/* Collapsible Additional Options wrapper */
.pricing-extras { border: none; }
.pricing-extras summary { list-style: none; cursor: pointer; }
.pricing-extras summary::-webkit-details-marker { display: none; }

.pricing-extras-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--color-text-muted);
}
.pricing-extras[open] .pricing-extras-chevron { transform: rotate(180deg); }

.pricing-addons { margin-top: var(--space-lg); }

/* Divider between build tiers and support tiers */
.pricing-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0 0;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pricing-divider::before,
.pricing-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.pricing-extras-toggle:hover { color: var(--color-earth); }
.pricing-extras-toggle:hover .pricing-extras-chevron { color: var(--color-earth); }

/* ─── ADDITIONAL OPTIONS (addon cards) ──────────────────────── */

/* Full-width stack of horizontal cards */
.pricing-addons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

/* Each addon card: stacked on mobile, horizontal row on desktop */
.addon-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-lg);
}

/* Left block: icon + title + price */
.addon-left {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  flex-shrink: 0;
}

.addon-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(139, 94, 60, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-earth);
  flex-shrink: 0;
  transition: background var(--transition-med), color var(--transition-med);
}
.addon-card:hover .addon-icon {
  background: var(--color-earth);
  color: white;
}

.addon-title-block { flex: 1; }
.addon-title-block .section-label { margin-bottom: 4px; }

.addon-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 4px;
}
.addon-price-period {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.addon-tagline {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Feature list — inherits .pricing-features style */
.addon-features {
  flex: 1;
}
.addon-features li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}
.addon-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-moss);
  font-weight: 700;
}

.addon-cta {
  align-self: flex-start;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Desktop: true horizontal row */
@media (min-width: 768px) {
  .addon-card {
    flex-direction: row;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    gap: var(--space-xl);
  }
  .addon-left {
    min-width: 260px;
    max-width: 280px;
    border-right: 1px solid var(--color-border);
    padding-right: var(--space-xl);
    align-self: stretch;
    align-items: center;
  }
  .addon-icon { width: 56px; height: 56px; }
  .addon-features { columns: 2; gap: var(--space-lg); }
  .addon-features li { break-inside: avoid; }
  .addon-cta { margin-left: auto; align-self: center; }
}

.pricing-tier-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-moss);
  color: white;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  vertical-align: middle;
  margin-left: 6px;
}

.price-period {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-left: 2px;
}

@media (min-width: 768px) {
  .pricing-grid--support {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── TESTIMONIALS ──────────────────────────────────────────── */
.testimonials {
  padding: var(--space-2xl) 0;
}

.testimonial-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.7;
  color: var(--color-terracotta);
  opacity: 0.25;
  margin-bottom: var(--space-md);
  display: block;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-style: italic;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.testimonial-cite {
  display: block;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-lg);
}

.testimonial-cta {
  margin-top: var(--space-md);
}

/* ─── CONTACT ───────────────────────────────────────────────── */
.contact {
  padding: var(--space-2xl) 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.contact-body {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
  max-width: 42ch;
}
.contact-body--emphasis {
  color: var(--color-text);
  font-weight: 500;
}

.contact-email-fallback {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: var(--space-lg);
}
.contact-email-link {
  color: var(--color-terracotta);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.contact-email-link:hover {
  color: var(--color-earth);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Honeypot — visually hidden from real users */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.required {
  color: var(--color-terracotta);
  font-size: 12px;
}

.optional {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 13px;
}

.form-input {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
  appearance: none;
}
.form-input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.65;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-earth);
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.12);
}
.form-input.invalid {
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(196, 112, 79, 0.12);
}
.field-error {
  font-size: 13px;
  color: var(--color-terracotta);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.btn-submit {
  position: relative;
  width: 100%;
  justify-content: center;
  font-size: 17px;
  padding: 15px 28px;
  margin-top: var(--space-sm);
}
.btn-submit .btn-loading {
  display: none;
}
.btn-submit.loading .btn-text {
  display: none;
}
.btn-submit.loading .btn-loading {
  display: inline;
}
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-success:not([hidden]),
.form-error:not([hidden]) {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
}
.form-success {
  background: rgba(74, 103, 65, 0.10);
  color: var(--color-moss);
  border: 1px solid rgba(74, 103, 65, 0.25);
}
.form-error {
  background: rgba(196, 112, 79, 0.10);
  color: #8B3A2A;
  border: 1px solid rgba(196, 112, 79, 0.30);
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-footer-bg);
  color: rgba(250, 246, 240, 0.85);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

/* Footer logo — larger, light color on dark bg */
.footer-logo {
  margin-bottom: var(--space-sm);
  border-color: rgba(196, 112, 79, 0.6);
}
.footer-logo .logo-tx,
.footer-logo .logo-wordmark {
  color: var(--color-bg);
}
.footer-logo:hover .logo-tx,
.footer-logo:hover .logo-wordmark {
  color: var(--color-terracotta);
}

.footer-tagline {
  font-size: 14px;
  color: rgba(250, 246, 240, 0.5);
  font-style: italic;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
}
.footer-nav a {
  font-size: 15px;
  color: rgba(250, 246, 240, 0.65);
  transition: color var(--transition-fast);
}
.footer-nav a:hover {
  color: var(--color-bg);
}

.footer-bar {
  border-top: 1px solid rgba(250, 246, 240, 0.10);
  padding: var(--space-md) 0;
}

.footer-copy {
  font-size: 13px;
  color: rgba(250, 246, 240, 0.35);
}

/* ─── KEYFRAME ANIMATIONS ───────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── RESPONSIVE: TABLET (768px+) ──────────────────────────── */
@media (min-width: 768px) {

  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .about-inner {
    grid-template-columns: 280px 1fr;
    gap: var(--space-xl);
  }

  .about-photo {
    justify-content: flex-start;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-card--placeholder {
    grid-column: 1 / -1;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

/* ─── RESPONSIVE: DESKTOP (1024px+) ────────────────────────── */
@media (min-width: 1024px) {

  .hero-heading {
    max-width: 14ch;
  }

  .browser-screen {
    min-height: 360px;
  }
  .browser-placeholder {
    height: 360px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-card--placeholder {
    grid-column: auto;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-card--featured {
    transform: translateY(-8px);
  }
  .pricing-card--featured:hover {
    transform: translateY(-12px);
  }

  .contact-inner {
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-2xl);
  }
}

/* ─── RESPONSIVE: WIDE (1280px+) ───────────────────────────── */
@media (min-width: 1280px) {
  .hero-heading {
    font-size: 4.25rem;
  }
}

/* ─── MOBILE HERO SPACING ───────────────────────────────────── */
@media (max-width: 767px) {
  .hero {
    padding-top: var(--space-md);
  }
  .hero-inner {
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
  }
}

/* ─── 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;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── DevTools protection ── */
[data-devtools] header,
[data-devtools] main,
[data-devtools] footer {
  filter: blur(28px);
  user-select: none;
  pointer-events: none;
}
[data-devtools]::after {
  content: 'Source view is disabled on this site';
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.72);
  pointer-events: none;
}
