/* ===========================================================
   Elevate Digital Marketing — Stylesheet
   Design tokens: ink black / paper / signal orange
   Fonts: Space Grotesk (display) + IBM Plex Sans (body)
=========================================================== */

:root {
  --black: #0b0c0e;
  --black-soft: #16181b;
  --black-softer: #202226;
  --paper: #f6f4ef;
  --paper-dim: #ece8e0;
  --accent: #ff4d1c;
  --accent-dark: #d93e12;
  --accent-tint: #ffe4d8;
  --ink: #16181b;
  --muted: #63666d;
  --line: rgba(22, 24, 27, 0.1);
  --line-dark: rgba(246, 244, 239, 0.14);
  --max: 1280px;
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--paper); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; color: var(--ink); line-height: 1.05; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .72rem;
  color: var(--accent);
  margin: 0 0 .75rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.eyebrow.on-dark { color: var(--accent); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 500;
  background: var(--ink); color: var(--paper); padding: .75rem 1.25rem;
}
.skip-link:focus { left: 16px; top: 16px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem 2rem; font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .01em;
  border: 1px solid transparent; transition: all .2s ease; text-align: center; cursor: pointer;
}
.btn-accent { background: var(--accent); color: var(--paper); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline-light { border-color: rgba(246,244,239,.35); color: var(--paper); }
.btn-outline-light:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: .65rem 1.25rem; font-size: .78rem; }

/* ---------- Trend-tick (signature element) ---------- */
.trend-divider { display: flex; align-items: center; gap: 1rem; width: 100%; }
.trend-divider::before, .trend-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.trend-divider.on-dark::before, .trend-divider.on-dark::after { background: var(--line-dark); }
.trend-tick { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; }
.trend-tick svg { display: block; }
.trend-bullet { display: inline-block; width: 11px; height: 11px; flex-shrink: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background-color .4s ease, box-shadow .4s ease;
  background: transparent;
}
.site-header.solid, .site-header.menu-open {
  background: rgba(11,12,14,.92); backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(246,244,239,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
@media (min-width: 640px) { .nav-inner { padding: 18px 32px; } }
.brand { display: flex; align-items: center; gap: 8px; line-height: 1; }
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--paper); letter-spacing: -0.01em; }

.nav-links { display: none; align-items: center; gap: 2.2rem; }
.nav-links a { font-family: var(--font-display); font-weight: 500; font-size: .875rem; color: rgba(246,244,239,.8); transition: color .25s; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }

.nav-cta { display: none; }
.nav-cta .btn { border-color: var(--accent); color: var(--paper); background: transparent; }
.nav-cta .btn:hover { background: var(--accent); color: var(--black); }

.nav-toggle { background: none; border: none; color: var(--paper); }

.mobile-nav { display: none; overflow: hidden; background: var(--black); max-height: 0; transition: max-height .35s ease; }
.mobile-nav.open { display: block; max-height: 600px; }
.mobile-nav-inner { display: flex; flex-direction: column; gap: 2px; padding: 0 24px 24px; }
.mobile-nav-inner a { padding: 12px 0; border-bottom: 1px solid var(--line-dark); color: var(--paper); font-family: var(--font-display); }
.mobile-nav-inner .btn { margin-top: 16px; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Page loader ---------- */
#page-loader {
  position: fixed; inset: 0; z-index: 999; background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  transition: opacity .5s ease;
}
#page-loader.hide { opacity: 0; pointer-events: none; }
#page-loader .mark { width: 46px; height: 46px; }
#page-loader p { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .22em; color: var(--paper); font-size: 1.1rem; margin: 0; }

/* ---------- Scroll progress ---------- */
#scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 210; transition: width .1s linear; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 640px; height: 92vh; display: flex; align-items: center; overflow: hidden; background: var(--black); }
.hero-grid-bg { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(246,244,239,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(246,244,239,.06) 1px, transparent 1px);
  background-size: 56px 56px; }
.hero-glow { position: absolute; top: -20%; right: -10%; width: 60%; height: 80%; background: radial-gradient(circle, rgba(255,77,28,.28) 0%, transparent 70%); pointer-events: none; }
.hero-content { position: relative; max-width: 760px; padding: 0 24px; }
@media (min-width: 640px) { .hero-content { padding: 0 32px; } }
.hero-content h1 { font-size: 2.6rem; line-height: 1; color: var(--paper); }
.hero-content h1 .accent { color: var(--accent); }
.hero-content p { margin-top: 1.5rem; max-width: 520px; color: rgba(246,244,239,.75); font-size: 1.05rem; line-height: 1.6; }
.hero-buttons { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } .hero-content h1 { font-size: 3.8rem; } }
@media (min-width: 1024px) { .hero-content h1 { font-size: 4.6rem; } }
.hero-chart { position: absolute; right: 6%; bottom: 10%; width: 320px; max-width: 38vw; opacity: .9; display: none; }
@media (min-width: 900px) { .hero-chart { display: block; } }

/* ---------- Client strip ---------- */
.client-strip { border-bottom: 1px solid var(--line); padding: 36px 0; }
.client-strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.2rem 2.6rem; }
@media (min-width: 640px) { .client-strip ul { justify-content: space-between; } }
.client-strip li { font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sections generic ---------- */
section.pad { padding: 96px 0; }
@media (min-width: 640px) { section.pad { padding: 128px 0; } }
section.pad-sm { padding: 64px 0; }
.bg-black { background: var(--black); }
.bg-paper-dim { background: var(--paper-dim); }
.bg-paper { background: var(--paper); }
.text-paper { color: var(--paper); }
.text-paper-70 { color: rgba(246,244,239,.7); }
.text-muted { color: var(--muted); }
.center { text-align: center; }
.max-xl { max-width: 640px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- About / stats ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.about-media { position: relative; aspect-ratio: 4/5; overflow: hidden; max-width: 420px; }
@media (min-width: 1024px) { .about-media { max-width: none; } }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stats-grid.on-dark { border-top-color: var(--line-dark); }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--accent); }
.stat-label { margin-top: .25rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.on-dark .stat-label { color: rgba(246,244,239,.55); }
.stats-note { margin-top: 20px; font-size: .72rem; color: var(--muted); }
.on-dark .stats-note { color: rgba(246,244,239,.45); }

/* ---------- Service grids ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 48px; }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3,1fr); } }
.service-tile { background: var(--paper); padding: 32px; transition: background .25s; position: relative; overflow: hidden; }
.service-tile:hover { background: var(--black); }
.service-tile .num { font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--accent); }
.service-tile h3 { margin-top: 14px; font-size: 1.2rem; transition: color .25s; }
.service-tile:hover h3 { color: var(--paper); }
.service-tile p.summary { margin-top: 10px; font-size: .875rem; line-height: 1.6; color: var(--muted); transition: color .25s; }
.service-tile:hover p.summary { color: rgba(246,244,239,.7); }
.service-tile .learn { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: .78rem; color: var(--ink); transition: color .25s; }
.service-tile:hover .learn { color: var(--accent); }

.services-list .service-row { border-bottom: 1px solid var(--line); padding: 64px 0; scroll-margin-top: 100px; }
.services-list .service-row:last-child { border-bottom: none; }
.service-row-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .service-row-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.service-row-grid.reverse .media-col { order: 2; }
.service-row-grid .media-col .media { aspect-ratio: 16/11; overflow: hidden; position: relative; }
.service-row-grid .media-col .media::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); pointer-events: none; }
.service-row-grid .media-col img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-row-grid .media-col:hover img { transform: scale(1.04); }
.service-row-grid .content-col .full-name { font-size: 1rem; color: var(--muted); margin-top: 6px; }
.service-row-grid .content-col h2 { font-size: 2rem; margin-top: 4px; }
.service-row-grid .content-col p.desc { margin-top: 20px; max-width: 440px; color: var(--muted); line-height: 1.7; }
.service-row-grid .content-col .learn-btn { display: inline-block; margin-top: 28px; }

/* ---------- Why choose us ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: 56px; overflow: hidden; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3,1fr); } }
.feature-card { background: var(--black-soft); padding: 32px; transition: background .25s; }
.feature-card:hover { background: var(--accent); }
.feature-card:hover h3, .feature-card:hover p, .feature-card:hover .trend-tick svg path, .feature-card:hover .trend-tick svg circle { color: var(--black) !important; stroke: var(--black) !important; fill: var(--black) !important; }
.feature-card h3 { margin-top: 20px; font-size: 1.1rem; color: var(--paper); transition: color .25s; }
.feature-card p { margin-top: 8px; font-size: .875rem; line-height: 1.65; color: rgba(246,244,239,.6); transition: color .25s; }

/* ---------- Process timeline ---------- */
.timeline { position: relative; margin-top: 64px; }
.timeline-line { position: absolute; left: 15px; top: 8px; bottom: 8px; width: 1px; background: var(--line-dark); }
@media (min-width: 640px) { .timeline-line { left: 50%; transform: translateX(-50%); } }
.timeline-list { display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 640px) { .timeline-list { gap: 0; } }
.timeline-item { position: relative; }
@media (min-width: 640px) { .timeline-item { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 28px 0; } }
.timeline-dot { position: absolute; left: 0; top: 6px; width: 9px; height: 9px; background: var(--accent); transform: translateX(-4px) rotate(45deg); }
@media (min-width: 640px) { .timeline-dot { left: 50%; transform: translateX(-4.5px) rotate(45deg); } }
.timeline-body { padding-left: 40px; }
@media (min-width: 640px) { .timeline-body { padding-left: 0; } }
.timeline-item:nth-child(odd) .timeline-body { grid-column: 1; }
@media (min-width: 640px) { .timeline-item:nth-child(odd) .timeline-body { text-align: right; padding-right: 48px; } }
.timeline-item:nth-child(even) .timeline-body { grid-column: 1; }
@media (min-width: 640px) { .timeline-item:nth-child(even) .timeline-body { grid-column: 2; padding-left: 48px; } }
.timeline-body h3 { color: var(--paper); font-size: 1.15rem; margin-top: 4px; }
.timeline-body p { margin-top: 8px; font-size: .875rem; color: rgba(246,244,239,.6); line-height: 1.6; }

/* ---------- Case studies ---------- */
.case-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 56px; }
@media (min-width: 900px) { .case-grid { grid-template-columns: 1fr 1fr; } }
.case-card { border: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.case-card .media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.case-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case-card:hover .media img { transform: scale(1.05); }
.case-card .media .industry-tag { position: absolute; left: 16px; top: 16px; background: var(--black); color: var(--paper); font-family: var(--font-display); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; }
.case-card .body { padding: 28px; }
.case-card h3 { font-size: 1.3rem; }
.case-card .row { margin-top: 16px; }
.case-card .row .label { font-family: var(--font-display); font-weight: 600; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.case-card .row p { margin-top: 4px; font-size: .875rem; color: var(--muted); line-height: 1.6; }
.case-metric { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 12px; }
.case-metric .metric-value { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--ink); }
.case-metric .metric-value .up { color: var(--accent); font-size: 1.1rem; margin-right: 4px; }
.case-metric .metric-label { font-size: .78rem; color: var(--muted); }
.case-bar { margin-top: 12px; height: 6px; background: var(--paper-dim); position: relative; overflow: hidden; }
.case-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); transition: width 1.2s cubic-bezier(.22,1,.36,1); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3,1fr); } }
.price-card { border: 1px solid var(--line); background: var(--paper); padding: 36px 28px; display: flex; flex-direction: column; }
.price-card.featured { background: var(--black); border-color: var(--black); color: var(--paper); position: relative; }
.price-card.featured::before { content: "Most Popular"; position: absolute; top: -1px; right: 24px; background: var(--accent); color: var(--black); font-family: var(--font-display); font-weight: 700; font-size: .68rem; letter-spacing: .04em; padding: 6px 12px; }
.price-card h3 { font-size: 1.5rem; }
.price-card.featured h3 { color: var(--paper); }
.price-card .tagline { margin-top: 10px; font-size: .875rem; color: var(--muted); min-height: 42px; }
.price-card.featured .tagline { color: rgba(246,244,239,.65); }
.price-card ul { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-card.featured ul { border-top-color: var(--line-dark); }
.price-card li { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; }
.price-card .btn { margin-top: 28px; }
.pricing-note { margin-top: 40px; max-width: 640px; font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* ---------- Testimonials ---------- */
.testimonial-carousel { max-width: 720px; margin: 0 auto; text-align: center; }
.testimonial-slide { min-height: 220px; }
.testimonial-stars { display: flex; justify-content: center; gap: 4px; color: var(--accent); }
.testimonial-quote { margin-top: 24px; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.testimonial-author img { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper-dim); }
.testimonial-author .name { font-family: var(--font-display); font-size: .875rem; font-weight: 600; color: var(--ink); }
.testimonial-author .role { font-size: .75rem; color: var(--muted); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 32px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button { width: 6px; height: 6px; background: var(--line); }
.carousel-dots button.active { background: var(--accent); }
.carousel-arrow { color: var(--muted); }
.carousel-arrow:hover { color: var(--accent); }

.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
@media (min-width: 640px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(3,1fr); } }
.testimonial-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); padding: 28px; }
.testimonial-card .stars { display: flex; gap: 3px; color: var(--accent); }
.testimonial-card p.review { margin-top: 16px; flex: 1; font-size: .875rem; line-height: 1.6; color: var(--ink); }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.testimonial-card .author img { width: 36px; height: 36px; border: 1px solid var(--line); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
.blog-card { border: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.blog-card .media { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.blog-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.blog-card:hover .media img { transform: scale(1.05); }
.blog-card .media .cat-tag { position: absolute; left: 16px; top: 16px; background: var(--accent); color: var(--black); font-family: var(--font-display); font-weight: 700; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; }
.blog-card .body { padding: 26px; }
.blog-card .date { font-size: .75rem; color: var(--muted); }
.blog-card h3 { margin-top: 8px; font-size: 1.25rem; }
.blog-card p.excerpt { margin-top: 10px; font-size: .875rem; color: var(--muted); line-height: 1.6; }
.blog-card .read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: .78rem; color: var(--ink); }
.blog-card:hover .read-more { color: var(--accent); }

.article-body { max-width: 720px; margin: 0 auto; padding: 64px 24px; }
@media (min-width: 640px) { .article-body { padding: 80px 32px; } }
.article-body .meta { display: flex; gap: 16px; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: 24px; }
.article-body h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 12px; }
.article-body p { font-size: 1rem; line-height: 1.8; color: var(--ink); margin: 0 0 16px; }
.article-body .intro { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--ink); line-height: 1.6; }

/* ---------- FAQ accordion ---------- */
.faq-list { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; text-align: left; }
.faq-q span.text { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.faq-q .icon { color: var(--accent); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { max-width: 640px; padding-bottom: 24px; font-size: .875rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 8px; font-family: var(--font-display); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--paper); padding: 12px 16px; font-size: .875rem;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.consent-row { display: flex; align-items: flex-start; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; }
.consent-row input[type=checkbox] { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--accent); flex-shrink: 0; }
.consent-row label { font-size: .875rem; line-height: 1.6; color: var(--muted); }
.fine-print { font-size: .72rem; line-height: 1.6; color: var(--muted); }
.form-success { border: 1px solid var(--accent); background: var(--accent-tint); padding: 32px; text-align: center; }
.form-error { border: 1px solid var(--accent-dark); background: #fff1eb; padding: 16px 20px; font-size: .875rem; color: var(--accent-dark); margin-bottom: 20px; }
.optout-note { margin-top: 12px; font-size: .8rem; color: var(--muted); line-height: 1.6; padding: 12px 16px; background: var(--paper-dim); border-left: 2px solid var(--accent); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 64px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; gap: 80px; } }
.contact-details { display: flex; flex-direction: column; gap: 32px; }
.contact-details h3 { margin-bottom: 16px; }
.detail-row { display: flex; gap: 12px; font-size: .875rem; align-items: flex-start; }
.detail-row svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.detail-block { border-top: 1px solid var(--line); padding-top: 24px; }
.map-placeholder { aspect-ratio: 4/3; border: 1px solid var(--line); background: var(--paper-dim); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); }

/* ---------- Cookie banner ---------- */
#cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; padding: 16px;
  transform: translateY(100%); opacity: 0; transition: transform .45s ease, opacity .45s ease;
}
#cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner-inner { max-width: 900px; margin: 0 auto; background: var(--black); border: 1px solid var(--line-dark); box-shadow: 0 20px 50px rgba(0,0,0,.4); padding: 28px; }
.cookie-banner-inner p.desc { margin-top: 8px; font-size: .875rem; line-height: 1.6; color: rgba(246,244,239,.7); }
.cookie-banner-inner .actions { display: flex; flex-direction: column-reverse; gap: 12px; margin-top: 20px; }
@media (min-width: 640px) { .cookie-banner-inner .actions { flex-direction: row; justify-content: flex-end; align-items: center; } }
.cookie-link-btn { font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: rgba(246,244,239,.85); text-decoration: underline; text-underline-offset: 3px; }
.cookie-link-btn:hover { color: var(--accent); }

/* ---------- Cookie preferences modal ---------- */
#cookie-modal { position: fixed; inset: 0; z-index: 310; display: none; align-items: center; justify-content: center; padding: 24px; }
#cookie-modal.open { display: flex; }
#cookie-modal .backdrop { position: absolute; inset: 0; background: rgba(11,12,14,.75); backdrop-filter: blur(2px); }
#cookie-modal .modal-box { position: relative; z-index: 2; max-width: 620px; width: 100%; max-height: 88vh; overflow-y: auto; background: var(--paper); border: 1px solid var(--line); padding: 32px; }
#cookie-modal .close-x { position: absolute; top: 20px; right: 20px; color: var(--muted); }
#cookie-modal .close-x:hover { color: var(--accent); }
.consent-toggle-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 20px 0; }
.consent-toggle-row h3 { font-size: 1.05rem; }
.consent-toggle-row p { margin-top: 4px; font-size: .875rem; color: var(--muted); }
.always-on-badge { margin-top: 4px; flex-shrink: 0; border: 1px solid var(--accent); padding: 4px 12px; font-family: var(--font-display); font-weight: 600; font-size: .68rem; letter-spacing: .02em; color: var(--accent); }
.toggle-switch { position: relative; flex-shrink: 0; width: 48px; height: 28px; border-radius: 999px; border: 1px solid var(--line); background: transparent; margin-top: 4px; }
.toggle-switch.on { background: var(--ink); border-color: var(--ink); }
.toggle-switch .knob { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); transition: transform .25s; }
.toggle-switch.on .knob { transform: translateX(20px); }
.modal-actions { display: flex; flex-direction: column-reverse; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .modal-actions { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; } }
.saved-msg { margin-top: 16px; font-size: .875rem; color: var(--accent-dark); }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--black); padding: 150px 0 64px; }
.legal-hero h1 { color: var(--paper); font-size: 2.4rem; }
.legal-hero .updated { margin-top: 12px; font-size: .8rem; color: rgba(246,244,239,.5); }
.legal-hero .intro { margin-top: 20px; max-width: 640px; color: rgba(246,244,239,.72); line-height: 1.7; }
.legal-body { max-width: 720px; margin: 0 auto; padding: 64px 24px; }
@media (min-width: 640px) { .legal-body { padding: 80px 32px; } }
.legal-section { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 40px; }
.legal-section:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-section h2 { font-size: 1.3rem; margin-bottom: 12px; }
.legal-section h3 { font-size: 1rem; margin-top: 20px; margin-bottom: 8px; }
.legal-section p { font-size: .95rem; line-height: 1.75; color: var(--muted); margin: 0 0 12px; }
.legal-section ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.legal-section li { font-size: .95rem; line-height: 1.65; color: var(--muted); padding-left: 20px; position: relative; }
.legal-section li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--accent); clip-path: polygon(0 100%, 100% 100%, 100% 0); }
.legal-section a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }
.legal-section a:hover { color: var(--accent); }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 16px; border: 1px solid var(--line); font-size: .875rem; }
.legal-table th { background: var(--paper-dim); text-align: left; padding: 12px 16px; font-family: var(--font-display); font-weight: 600; }
.legal-table td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.legal-table td:first-child { color: var(--ink); font-weight: 600; }

/* ---------- Rights grid (Data Opt-out page) ---------- */
.rights-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
@media (min-width: 640px) { .rights-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .rights-grid { grid-template-columns: repeat(3,1fr); } }
.right-card { border-top: 2px solid var(--accent); background: var(--paper); padding: 24px; }
.right-card svg { color: var(--accent); }
.right-card h3 { margin-top: 16px; font-size: 1.05rem; }
.right-card p { margin-top: 8px; font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--black); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; padding: 64px 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }
.footer-brand .name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: 0; }
.footer-brand p.desc { margin-top: 20px; max-width: 340px; font-size: .875rem; line-height: 1.6; color: rgba(246,244,239,.65); }
.footer-brand .company-lines { margin-top: 24px; font-size: .875rem; color: rgba(246,244,239,.55); }
.footer-brand .company-lines p { margin: 0 0 4px; }
.footer-social { display: flex; gap: 16px; margin-top: 24px; }
.footer-social a { color: rgba(246,244,239,.65); }
.footer-social a:hover { color: var(--accent); }
.footer-col h4 { margin-bottom: 16px; font-family: var(--font-display); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; color: var(--accent); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col button { font-size: .875rem; color: rgba(246,244,239,.65); text-align: left; }
.footer-col a:hover, .footer-col button:hover { color: var(--accent); }
.newsletter-form { display: flex; align-items: center; border-bottom: 1px solid var(--line-dark); margin-top: 16px; }
.newsletter-form:focus-within { border-color: var(--accent); }
.newsletter-form input { flex: 1; background: transparent; border: none; padding: 8px 0; color: var(--paper); }
.newsletter-form input::placeholder { color: rgba(246,244,239,.4); }
.newsletter-form button { padding: 8px; color: var(--accent); }
.footer-bottom { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line-dark); padding: 32px 0; font-size: .72rem; color: rgba(246,244,239,.45); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ---------- Floating UI ---------- */
#floating-quote {
  position: fixed; right: 20px; bottom: 20px; z-index: 150; opacity: 0; transform: translateX(20px);
  transition: opacity .5s, transform .5s;
}
#floating-quote.show { opacity: 1; transform: translateX(0); }
#floating-quote a { display: flex; align-items: center; gap: 8px; background: var(--accent); color: var(--black); font-family: var(--font-display); font-weight: 700; padding: 14px 22px; font-size: .85rem; box-shadow: 0 12px 30px rgba(255,77,28,.35); }
#floating-quote a:hover { background: var(--accent-dark); color: var(--paper); }
@media (min-width: 640px) { #floating-quote { right: 32px; bottom: 32px; } }

#back-to-top {
  position: fixed; right: 20px; bottom: 92px; z-index: 150; width: 44px; height: 44px;
  display: none; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
#back-to-top.show { display: flex; }
#back-to-top:hover { background: var(--black); color: var(--paper); border-color: var(--black); }
@media (min-width: 640px) { #back-to-top { right: 32px; bottom: 32px; } }

/* ---------- Utility ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .06s; } .d2 { transition-delay: .12s; } .d3 { transition-delay: .18s; }

.section-header-row { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-content: space-between; }
@media (min-width: 640px) { .section-header-row { flex-direction: row; align-items: flex-end; } }
.link-underline { font-family: var(--font-display); font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 2px; font-size: .875rem; }
.link-underline:hover { border-color: var(--accent); color: var(--accent); }
.link-underline.on-dark { color: var(--paper); border-color: var(--paper); }
.link-underline.on-dark:hover { color: var(--accent); border-color: var(--accent); }
