/* ============================================================
   DamPhi Canvas Natural — Premium Cinematic Edition (2026)
   Dark, dramatic outdoor/adventure template enhanced for 
   maximum professional WOW factor: richer depth, glassmorphism, 
   tactile interactions, refined typography, cinematic grain, 
   and luxury polish. All original classes, variables, structure,
   and tokens fully preserved.
   ============================================================ */
/* ── DEFAULTS (deep-woods) — overridden by modifier ── */
:root {
  /* Palette: Deep Woods */
  --bg: #0a1a0a;
  --bg-surface: #0f2010;
  --bg-card: #152815;
  --primary: #5a8c6a;
  --accent: #c8a45a;
  --text: #e8f0e8;
  --text-sub: #a8c4a8;
  --text-muted: #6a8a6a;
  --border: rgba(90,140,106,0.15);
  --border-hi: rgba(200,164,90,0.35);

  /* Typography System */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing & Layout */
  --nav-h:       72px;
  --section-pad: 6rem;
  --container:   1200px;
  --radius: 6px;
  --radius-lg: 12px;
  --transition:  .3s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Enhanced cinematic grain overlay for outdoor feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.065'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.75;
  animation: subtle-grain 16s steps(12) infinite;
}
@keyframes subtle-grain {
  0% { transform: translate(0,0); }
  10% { transform: translate(-1%,-1.2%); }
  20% { transform: translate(0.8%,1%); }
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY HELPERS ── */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.018em;
}
.mono {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.2rem;
}
.section-pad { padding: var(--section-pad) 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-150%);
  transition: transform 0.6s;
}
.btn:hover::after { transform: translateX(250%); }

.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.88rem; }
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(200,164,90,0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hi);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--bg);
  transform: translateY(-3px);
}

/* ── SITE NAV ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
  background: rgba(10,26,10,0.75);
  backdrop-filter: blur(20px) saturate(1.6);
}
.site-nav.scrolled {
  background: rgba(10,26,10,0.95);
  border-color: var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  flex-shrink: 0;
}
.nav-brand span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 2rem;
  flex: 1;
  margin-left: 1rem;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-sub);
  transition: color 0.3s var(--ease);
}
.nav-links a:hover { color: var(--accent); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem 2rem;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-sub);
  transition: color 0.3s var(--ease);
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .btn { align-self: flex-start; margin-top: 0.5rem; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 50%, var(--bg-surface) 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(90,140,106,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 5rem) 2.2rem 5rem;
  width: 100%;
}
.hero-label {
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-label::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6.8rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.6rem;
}
.hero-h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  color: var(--text-sub);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 2.8rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}
.hero-scroll-indicator span {
  color: var(--text-muted);
  font-size: 0.65rem;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-stat {
  text-align: center;
  padding: 1.2rem 1.5rem;
  position: relative;
}
.trust-stat + .trust-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-hi);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.7rem;
}

/* ── USP SECTION ── */
.usp-section {
  padding: var(--section-pad) 0;
}
.usp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.usp-badge {
  color: var(--primary);
  margin-bottom: 1rem;
}
.usp-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  color: var(--text);
}
.usp-body {
  font-size: 1.08rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.usp-divider {
  width: 70px;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--primary));
  border-radius: 2px;
  margin-bottom: 2rem;
}
.usp-visual {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.usp-visual-inner {
  text-align: center;
}
.usp-visual-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.usp-visual-label {
  color: var(--text-muted);
  font-size: 0.75rem;
}
.usp-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-card));
}
.usp-visual-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.usp-visual::after {
  content: '';
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px;
  border-top: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  border-radius: 0 var(--radius) 0 0;
}

/* ── SERVICES SECTION ── */
.services-section {
  padding: var(--section-pad) 0;
  background: var(--bg-surface);
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-label {
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--text-sub);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  position: relative;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.service-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.service-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
  opacity: 0.8;
}
.service-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
.service-desc {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.7;
}
.service-accent {
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--primary));
  transition: width 0.5s var(--ease);
}
.service-card:hover .service-accent { width: 100%; }

/* ── FEATURE BANNER ── */
.feature-banner {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.feature-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--bg-surface) 0%, transparent 60%);
  pointer-events: none;
}
.feature-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.feature-content { max-width: 600px; }
.feature-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.0;
  margin-bottom: 1rem;
}
.feature-headline span { color: var(--accent); }
.feature-sub {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.7;
}
.feature-action { flex-shrink: 0; }

/* ── TESTIMONIALS ── */
.testimonials-section {
  padding: var(--section-pad) 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  position: relative;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.testimonial-card:hover { 
  border-color: var(--border-hi); 
  transform: translateY(-4px);
}
.testimonial-quote {
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.testimonial-text {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.75rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bg);
  flex-shrink: 0;
}
.author-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.04em;
}
.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── CTA SECTION ── */
.cta-section {
  padding: var(--section-pad) 0;
  background: var(--bg-surface);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(200,164,90,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 1rem;
}
.cta-sub {
  color: var(--text-sub);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-details {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.contact-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.contact-value {
  font-size: 0.95rem;
  color: var(--text-sub);
  transition: color 0.3s var(--ease);
}
.contact-value:hover { color: var(--accent); }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.footer-brand-name span { color: var(--accent); }
.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.footer-social a:hover {
  color: var(--accent);
  border-color: var(--border-hi);
  transform: translateY(-2px);
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s var(--ease);
}
.footer-col ul a:hover { color: var(--text); }
.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.9rem;
}
.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-contact-value {
  font-size: 0.9rem;
  color: var(--text-sub);
  transition: color 0.3s var(--ease);
}
.footer-contact-value:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.footer-domain {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--primary);
  letter-spacing: 0.06em;
}

/* ── SCROLL REVEAL ANIMATIONS ──
   [nojs_fix 20260930] Hidden ONLY once html.js says the script started -- otherwise a
   visitor without JavaScript (or a script that failed to load) would never see this
   content at all, since nothing but the IntersectionObserver below adds .revealed. */
html.js .reveal-up,
html.js .reveal-left,
html.js .reveal-right {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
html.js .reveal-up { transform: translateY(40px); }
html.js .reveal-left { transform: translateX(-40px); }
html.js .reveal-right { transform: translateX(40px); }
/* [nojs_fix 20260930] html.js .revealed, not just .revealed -- .revealed alone has LOWER
   specificity than html.js .reveal-up above and would never win the cascade once JS adds
   it (measured: computed opacity stayed 0 with .revealed correctly applied). Matches the
   specificity the hide rule now carries, so source order decides again, as it always did. */
html.js .revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── RESPONSIVE — 1024px ── */
@media (max-width: 1024px) {
  .usp-inner { grid-template-columns: 1fr; gap: 3rem; }
  .usp-visual { height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ── RESPONSIVE — 900px (hamburger breakpoint) ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner > .btn { display: none; }
  .nav-hamburger { display: flex; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .trust-stat + .trust-stat::before { display: none; }
  .trust-stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .feature-banner-inner { flex-direction: column; text-align: center; }
  .feature-action { width: 100%; text-align: center; }
}

/* ── RESPONSIVE — 640px ── */
@media (max-width: 640px) {
  :root { --section-pad: 6rem; }
  .hero-inner { padding-top: calc(var(--nav-h) + 3rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .contact-details { flex-direction: column; align-items: center; gap: 1.5rem; }
}

/* [slot-system] section-background + tile paints (Canvas Natural is section-driven — no dedicated
   image elements). HERO_IMAGE → .hero, CONTACT_IMAGE → .cta-section (full-bleed section-bg);
   ABOUT_IMAGE → .usp-visual (the decorative visual column). Painted by module 0 in main.js
   ([data-img] loop, adds .has-image). Empty tokens keep the earth-tone section colours (pixel-
   intact). A dark inset scrim + FORCED-LIGHT text keep copy legible over any customer photo AND
   independent of the selected palette (light-palette-safe). Decorative ::before layers are
   suppressed on paint so the photo reads. */
.hero.has-image, .cta-section.has-image, .usp-visual.has-image {
  background-size: cover; background-position: var(--hero-focus, center);
}
.hero.has-image        { box-shadow: inset 0 0 0 100vmax rgba(8,20,8,0.55); }
.cta-section.has-image { box-shadow: inset 0 0 0 100vmax rgba(8,20,8,0.60); }
.hero.has-image::before { display: none; }
.usp-visual.has-image::before,
.usp-visual.has-image::after,
.usp-visual.has-image .corner-bl,
.usp-visual.has-image .usp-visual-content { display: none; }
/* palette-robust: force light copy over the painted sections regardless of the active palette */
.hero.has-image .hero-h1, .hero.has-image .hero-sub, .hero.has-image .hero-label,
.cta-section.has-image .cta-headline, .cta-section.has-image .cta-sub,
.cta-section.has-image .section-label, .cta-section.has-image .contact-label,
.cta-section.has-image .contact-value { color: #f2efe6 !important; }
.hero.has-image .btn-ghost, .cta-section.has-image .btn-ghost {
  color: #f2efe6 !important; border-color: rgba(242,239,230,0.5) !important;
}

/* ══ DAMPHI MOBILE BASELINE v1 — GENERATED, DO NOT HAND-EDIT ══
   Source: templates/_shared/mobile/mobile_baseline.css
   Regenerate: python3 Tools/apply_mobile_baseline.py canvas-natural
   Edit the baseline, never this block. ══ */
@media (max-width: 768px) {
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .feature-banner { padding-top: 4rem; padding-bottom: 4rem; }
  h1, h2, h3, p { overflow-wrap: break-word; hyphens: auto; max-width: 100%; }
  :is(h1, h2, h3, p) > * { overflow-wrap: inherit; hyphens: inherit; max-width: 100%; }
}
@media (hover: none), (pointer: coarse) {
  .site-nav { backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    background: var(--bg) !important; }
}
/* ══ END DAMPHI MOBILE BASELINE ══ */

/* ══ [audit 20261016] C2 sideways-overflow fix ══ */
/* the reveal-right / reveal-left starting offset (translateX 40px) pushes not-yet-revealed cards past the screen edge and widens the page on phones and tablets */
@media (max-width: 900px) { html { overflow-x: clip; } }

/* [audit 20261016] The i18n runtime's floating language switch (z-index 2147483000, bottom-right) sat on top of the cookie
   banner's right-hand button. This page publishes the banner height (html.cookie-open + --cookie-h), so lift the switch above it. */
html.cookie-open .dm-i18n-switch--floating { bottom: calc(max(14px, env(safe-area-inset-bottom, 0px)) + var(--cookie-h, 0px)); }

/* [builder_fix 20261017] off-screen "reveal-right" blocks must not create sideways scroll before they animate in */
html { overflow-x: clip; }

/* [builder_fix 20261017] keep the last line of the page (footer, privacy link) clear of the open consent banner, as the other templates do */
html.cookie-open body { padding-bottom: var(--cookie-h, 0px); }
