/*
Theme Name: AminoWebsites
Theme URI: https://aminowebsites.com/
Author: AminoWebsites
Author URI: https://aminomarketing.com/
Description: Custom theme for AminoWebsites — a peptide-niche web design agency. Static front page built from the original single-page HTML, ready to be made dynamic.
Version: 1.1.18
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aminowebsites
*/

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

  :root {
    --black: #0A0A0B;
    --surface: #111114;
    --card: #18181C;
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.18);
    --text: #F0EEE8;
    --muted: #8A8882;
    --acid: #C8F135;
    --acid-dim: rgba(200,241,53,0.12);
    --acid-dim2: rgba(200,241,53,0.06);
    --white: #FFFFFF;
    --ff: 'Space Grotesk', sans-serif;
    --mono: 'DM Mono', monospace;
  }

  html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 88px; }
  section[id], div[id] { scroll-margin-top: 88px; }
  body { background: var(--black); color: var(--text); font-family: var(--ff); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  img, svg { max-width: 100%; height: auto; }

  /* ── NAV ── */
  body > nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%;
    padding-top: env(safe-area-inset-top, 0);
    height: calc(68px + env(safe-area-inset-top, 0));
    background: rgba(10,10,11,0.92); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; flex-shrink: 1; }
  .nav-logo-svg { width: 36px; height: 36px; flex-shrink: 0; }
  .nav-logo { font-size: 18px; font-weight: 700; letter-spacing: -0.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-logo span { color: var(--acid); }
  .nav-links { display: flex; gap: 32px; list-style: none; }
  .nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
  .nav-links a:hover { color: var(--text); }
  .nav-cta { background: var(--acid); color: #0A0A0B; font-weight: 700; font-size: 13px; padding: 9px 20px; border-radius: 8px; text-decoration: none; letter-spacing: 0.3px; transition: opacity .2s; white-space: nowrap; flex-shrink: 0; }
  .nav-cta:hover { opacity: 0.88; }
  .nav-cta-desktop { display: inline-flex; }

  /* Mobile menu toggle */
  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
  }
  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-mobile-menu {
    display: none;
    position: fixed;
    top: calc(68px + env(safe-area-inset-top, 0));
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,10,11,0.98);
    backdrop-filter: blur(16px);
    padding: 24px 5%;
    z-index: 199;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-mobile-menu.open { display: block; }
  .nav-mobile-links { list-style: none; display: flex; flex-direction: column; gap: 0; }
  .nav-mobile-links a {
    display: block;
    color: var(--text);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-mobile-links a:hover { color: var(--acid); }
  .nav-mobile-cta {
    display: block;
    margin-top: 24px;
    background: var(--acid);
    color: #0A0A0B;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
  }

  /* ── SECTIONS ── */
  section { padding: 96px 5%; }
  .container { max-width: 1100px; margin: 0 auto; }

  /* ── HERO ── */
  #hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding-top: 140px; padding-bottom: 80px;
    background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(200,241,53,0.10) 0%, transparent 70%);
    position: relative; overflow: hidden;
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--acid-dim); border: 1px solid rgba(200,241,53,0.25);
    color: var(--acid); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    padding: 6px 14px; border-radius: 100px; margin-bottom: 32px;
  }
  .hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--acid); display: inline-block; }
  h1 { font-size: clamp(40px, 6vw, 80px); font-weight: 700; line-height: 1.08; letter-spacing: -2px; margin-bottom: 24px; }
  h1 em { font-style: normal; color: var(--acid); }
  .hero-sub { font-size: clamp(16px, 2vw, 20px); color: var(--muted); max-width: 560px; margin: 0 auto 44px; line-height: 1.6; }
  .hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .btn-primary { background: var(--acid); color: #0A0A0B; font-weight: 700; font-size: 15px; padding: 14px 32px; border-radius: 10px; text-decoration: none; transition: opacity .2s; }
  .btn-primary:hover { opacity: 0.88; }
  .btn-ghost { border: 1px solid var(--border-hover); color: var(--text); font-size: 15px; font-weight: 500; padding: 13px 32px; border-radius: 10px; text-decoration: none; transition: border-color .2s; }
  .btn-ghost:hover { border-color: rgba(255,255,255,0.4); }
  .hero-stats { display: flex; justify-content: center; gap: 56px; margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--border); flex-wrap: wrap; }
  .hero-stat-num { font-size: 36px; font-weight: 700; color: var(--acid); letter-spacing: -1px; }
  .hero-stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }

  /* ── TICKER ── */
  .ticker-wrap { overflow: hidden; background: var(--acid); padding: 12px 0; }
  .ticker-inner { display: flex; white-space: nowrap; animation: ticker 30s linear infinite; }
  .ticker-item { font-size: 13px; font-weight: 700; color: #0A0A0B; text-transform: uppercase; letter-spacing: 1.5px; padding: 0 36px; }
  .ticker-sep { color: #0A0A0B; opacity: 0.4; }
  @keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* ── SECTION LABELS ── */
  .section-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--acid); margin-bottom: 14px; }
  .section-title { font-size: clamp(28px, 4vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -1px; margin-bottom: 16px; }
  .section-sub { color: var(--muted); font-size: 17px; max-width: 520px; line-height: 1.65; }

  /* ── USP ── */
  #usp { background: var(--surface); }
  .usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 64px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
  .usp-card { background: var(--card); padding: 40px 36px; transition: background .2s; }
  .usp-card:hover { background: #1E1E24; }
  .usp-icon { width: 44px; height: 44px; background: var(--acid-dim); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
  .usp-icon svg { width: 22px; height: 22px; stroke: var(--acid); fill: none; stroke-width: 1.8; }
  .usp-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.3px; }
  .usp-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }

  /* ── SERVICES (detailed cards) ── */
  #services {
    background: var(--black);
    position: relative;
    overflow: hidden;
  }
  #services::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 100%; height: 600px;
    background: radial-gradient(ellipse 55% 45% at 50% 0%, rgba(200,241,53,0.09) 0%, transparent 65%);
    pointer-events: none;
  }
  .services-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
    position: relative;
  }
  .services-header .section-sub { margin: 0 auto; max-width: 560px; }
  .services-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
  }
  .service-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 52px;
    align-items: center;
    background: linear-gradient(145deg, rgba(24,24,28,0.95) 0%, rgba(14,14,16,0.98) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 0;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 96px;
    transition: border-color 0.45s, box-shadow 0.45s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(200,241,53,0.22) 0%, transparent 40%, transparent 60%, rgba(200,241,53,0.08) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.4s;
  }
  .service-card::after {
    content: '';
    position: absolute;
    top: -50%; right: -5%;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(200,241,53,0.12) 0%, transparent 68%);
    pointer-events: none;
    transition: opacity 0.4s;
  }
  .service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200,241,53,0.22);
    box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 0 1px rgba(200,241,53,0.06);
  }
  .service-card:hover::before { opacity: 1; }
  .service-card.reverse { grid-template-columns: 1fr 260px; }
  .service-card.reverse .service-visual { order: 2; }
  .service-card.reverse .service-body { order: 1; }
  .service-card.reverse::after { right: auto; left: -5%; }
  .service-card:target,
  .service-card.is-highlight {
    border-color: rgba(200,241,53,0.45);
    box-shadow: 0 0 0 1px rgba(200,241,53,0.2), 0 20px 60px rgba(200,241,53,0.1), 0 24px 64px rgba(0,0,0,0.4);
    transform: translateY(-4px);
  }
  .service-card.is-highlight .service-icon-wrap {
    border-color: rgba(200,241,53,0.45);
    box-shadow: inset 0 0 50px rgba(200,241,53,0.08), 0 0 60px rgba(200,241,53,0.15);
  }
  .service-visual {
    padding: 40px 0 40px 40px;
    position: relative;
    z-index: 1;
  }
  .service-card.reverse .service-visual { padding: 40px 40px 40px 0; }
  .service-num {
    position: absolute;
    top: 28px;
    left: 40px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--acid);
    opacity: 0.7;
    z-index: 2;
  }
  .service-card.reverse .service-num { left: auto; right: 40px; }
  .service-icon-wrap {
    width: 100%;
    aspect-ratio: 1;
    max-width: 260px;
    background: rgba(200,241,53,0.03);
    border: 1px solid rgba(200,241,53,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 60px rgba(200,241,53,0.05), 0 8px 32px rgba(0,0,0,0.3);
    transition: border-color 0.4s, box-shadow 0.4s;
  }
  .service-icon-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(200,241,53,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(200,241,53,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 10%, transparent 75%);
  }
  .service-icon-glow {
    position: absolute;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(200,241,53,0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: iconPulse 3s ease-in-out infinite;
  }
  @keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
  }
  .service-icon-wrap svg {
    width: 96px;
    height: 96px;
    stroke: var(--acid);
    fill: none;
    stroke-width: 1.3;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(200,241,53,0.4));
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .service-card:hover .service-icon-wrap svg { transform: scale(1.06); }
  .service-body {
    position: relative;
    z-index: 1;
    padding: 44px 48px 44px 0;
  }
  .service-card.reverse .service-body { padding: 44px 0 44px 48px; }
  .service-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--acid);
    background: var(--acid-dim);
    border: 1px solid rgba(200,241,53,0.25);
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
  }
  .service-body h3 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    letter-spacing: -0.6px;
    margin-bottom: 14px;
    line-height: 1.15;
  }
  .service-body > p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 20px;
  }
  .service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
  }
  .service-feature {
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 8px;
    opacity: 0.85;
  }
  .service-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding-top: 4px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
    padding-top: 24px;
  }
  .service-cta-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    flex: 1;
    min-width: 180px;
    margin: 0;
    opacity: 0.9;
  }
  .service-card .btn-primary {
    display: inline-block;
    font-size: 14px;
    padding: 13px 28px;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(200,241,53,0.2);
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  }
  .service-card .btn-primary:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(200,241,53,0.28);
  }

  /* Card accent variants */
  .service-card.accent-ads::after { background: radial-gradient(circle, rgba(75,200,232,0.1) 0%, transparent 68%); }
  .service-card.accent-shop::after { background: radial-gradient(circle, rgba(200,241,53,0.14) 0%, transparent 68%); }

  @media (prefers-reduced-motion: reduce) {
    .service-icon-glow { animation: none; }
    .service-card:hover { transform: none; }
  }

  /* ── PORTFOLIO ── */
  #portfolio {}
  .portfolio-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 16px; }
  .portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .portfolio-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color .2s, transform .2s; cursor: pointer; }
  .portfolio-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
  .portfolio-img { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; letter-spacing: -1px; position: relative; overflow: hidden; text-align: center; line-height: 1.2; }
  .portfolio-img-1 { background: linear-gradient(135deg, #0D1F2D 0%, #1A3A4F 100%); color: #4BC8E8; }
  .portfolio-img-2 { background: linear-gradient(135deg, #1A1A2E 0%, #2D1B69 100%); color: #9B7EDE; }
  .portfolio-img-3 { background: linear-gradient(135deg, #0F2012 0%, #1A3B1F 100%); color: #5FD87A; }
  .portfolio-img-4 { background: linear-gradient(135deg, #2A1A0A 0%, #3D2B12 100%); color: #E8A84B; }
  .portfolio-img-5 { background: linear-gradient(135deg, #1A0A2A 0%, #2E1040 100%); color: #E87ECA; }
  .portfolio-img-6 { background: linear-gradient(135deg, #0A1A2A 0%, #0D2E3A 100%); color: #7EC8E8; }
  .portfolio-img-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
  .portfolio-img.has-photo::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(160deg, rgba(10,10,11,0.30) 0%, rgba(10,10,11,0.68) 100%); }
  .portfolio-img-label { position: relative; z-index: 3; padding: 0 16px; }
  .portfolio-img.has-photo .portfolio-img-label { color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
  .portfolio-meta { padding: 20px 24px; }
  .portfolio-tag { font-size: 11px; font-family: var(--mono); color: var(--acid); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
  .portfolio-card h4 { font-size: 17px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.3px; }
  .portfolio-card p { font-size: 13px; color: var(--muted); }

  /* ── PROCESS ── */
  #process { background: var(--surface); }
  .process-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 48px;
  }
  .process-header .section-sub { margin: 0 auto; }
  .process-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
  }
  .process-list::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 40px;
    bottom: 40px;
    width: 1px;
    background: linear-gradient(to bottom, var(--acid), rgba(200,241,53,0.08));
    opacity: 0.35;
  }
  .process-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 32px;
    position: relative;
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s;
  }
  .js .process-item {
    opacity: 0;
    transform: translateY(28px);
  }
  .process-item.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .process-item.is-visible:hover {
    border-color: rgba(200,241,53,0.25);
    transform: translateY(0) translateX(4px);
  }
  .process-num {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    background: var(--acid-dim2);
    border: 1px solid rgba(200,241,53,0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--acid);
    position: relative;
    z-index: 1;
  }
  .process-content { flex: 1; padding-top: 6px; }
  .process-content h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.3px; }
  .process-content p { color: var(--muted); font-size: 15px; line-height: 1.65; }

  /* ── TESTIMONIALS CAROUSEL ── */
  #testimonials { overflow: hidden; }
  .testimonials-header { margin-bottom: 36px; }
  .testimonials-carousel-wrap { position: relative; margin-top: 0; }
  .testimonials-track-outer {
    overflow: hidden;
    cursor: grab;
    user-select: none;
  }
  .testimonials-track-outer:active { cursor: grabbing; }
  .testimonials-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
  }
  .testimonial-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px;
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
  }
  .testimonial-stars { color: var(--acid); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
  .testimonial-card blockquote { font-size: 15px; line-height: 1.75; color: var(--text); margin-bottom: 24px; font-style: italic; opacity: 0.9; }
  .testimonial-author { display: flex; align-items: center; gap: 12px; }
  .author-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
  .av-1 { background: #1E3A5F; color: #6BB8F5; }
  .av-2 { background: #3A1E4A; color: #C47EE8; }
  .av-3 { background: #1A3A24; color: #72D68A; }
  .av-4 { background: #3A2A0A; color: #E8C47E; }
  .av-5 { background: #2A1A3A; color: #E87ECA; }
  .author-name { font-size: 14px; font-weight: 600; }
  .author-title { font-size: 12px; color: var(--muted); }

  /* Carousel controls */
  .carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
  .carousel-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--card); border: 1px solid var(--border);
    color: var(--text); font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .2s, background .2s;
  }
  .carousel-btn:hover { border-color: var(--acid); background: var(--acid-dim); color: var(--acid); }
  .carousel-dots { display: flex; gap: 8px; }
  .carousel-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--border-hover); cursor: pointer;
    transition: background 0.3s, transform 0.3s;
  }
  .carousel-dot.active { background: var(--acid); transform: scale(1.3); }

  /* ── ABOUT ── */
  #about { background: var(--surface); overflow: hidden; }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 48px; }
  .about-visual {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    aspect-ratio: 4 / 4.2;
    max-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .about-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 70% 60% at 20% 20%, rgba(200,241,53,0.14) 0%, transparent 60%),
      radial-gradient(ellipse 50% 50% at 80% 80%, rgba(200,241,53,0.08) 0%, transparent 55%);
    pointer-events: none;
  }
  .about-visual-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
  }
  .about-logo-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .about-logo-svg { width: 100px; height: 100px; filter: drop-shadow(0 0 40px rgba(200,241,53,0.25)); }
  .about-logo-tagline {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
  }
  .about-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--acid);
    color: #0A0A0B;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    z-index: 3;
  }
  .about-float-stat {
    position: absolute;
    background: rgba(24,24,28,0.92);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    z-index: 3;
    backdrop-filter: blur(8px);
  }
  .about-float-stat.top-right { top: 24px; right: 24px; }
  .about-float-stat .afs-num { font-size: 22px; font-weight: 700; color: var(--acid); letter-spacing: -0.5px; }
  .about-float-stat .afs-label { font-size: 11px; color: var(--muted); margin-top: 2px; }
  .about-text p { color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 20px; }
  .about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 32px;
  }
  .about-value-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--acid-dim);
    border: 1px solid rgba(200,241,53,0.2);
    color: var(--acid);
  }
  .about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 8px;
  }
  .about-hl-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    transition: border-color 0.25s, transform 0.25s;
  }
  .about-hl-item:hover { border-color: rgba(200,241,53,0.3); transform: translateY(-3px); }
  .about-hl-num { font-size: 32px; font-weight: 700; color: var(--acid); letter-spacing: -1px; line-height: 1; }
  .about-hl-label { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.4; }

  /* ── CONSULTATION CTA ── */
  #consultation { text-align: center; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(200,241,53,0.07) 0%, transparent 70%); }
  .cta-box { background: var(--card); border: 1px solid rgba(200,241,53,0.15); border-radius: 24px; padding: 72px 48px; max-width: 740px; margin: 0 auto; }
  .cta-box h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -1px; margin-bottom: 16px; }
  .cta-box p { color: var(--muted); font-size: 17px; margin-bottom: 40px; }
  .cta-inputs { display: flex; flex-direction: column; gap: 12px; max-width: 440px; margin: 0 auto 24px; }
  .cta-inputs input { background: var(--surface); border: 1px solid var(--border); color: var(--text); font-family: var(--ff); font-size: 15px; padding: 14px 18px; border-radius: 10px; outline: none; transition: border-color .2s; }
  .cta-inputs input:focus { border-color: rgba(200,241,53,0.5); }
  .cta-inputs input::placeholder { color: var(--muted); }
  .cta-guarantee { font-size: 13px; color: var(--muted); }
  .cta-guarantee span { color: var(--acid); }

  /* ── FAQ ── */
  #faq { background: var(--surface); }
  .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
  .faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px 28px; cursor: pointer; transition: border-color .2s; }
  .faq-item:hover { border-color: var(--border-hover); }
  .faq-q { font-size: 15px; font-weight: 600; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
  .faq-q::after { content: '+'; color: var(--acid); font-size: 20px; font-weight: 400; flex-shrink: 0; }
  .faq-a { color: var(--muted); font-size: 14px; line-height: 1.7; }

  /* ══════════════════════════════════════════════════════════
     FOOTER (v2) — four-column dynamic footer
     Theme typography (Space Grotesk / DM Mono) + palette.
  ══════════════════════════════════════════════════════════ */
  .awf {
    position: relative;
    overflow: hidden;
    background: #07080a;
    border-top: 1px solid var(--border);
    color: var(--text);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .awf-glow-line {
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--acid) 22%, var(--acid) 78%, transparent 100%);
    box-shadow: 0 0 24px 2px rgba(200, 241, 53, 0.4);
  }
  .awf-glow-blur {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 70%; height: 180px; pointer-events: none;
    background: radial-gradient(ellipse at top, rgba(200, 241, 53, 0.10), transparent 70%);
  }
  .awf-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
    max-width: 1240px; margin: 0 auto;
    padding: 72px 5% 48px;
  }
  .awf-col, .awf-contactcol { padding: 0 36px; border-left: 1px solid var(--border); }

  /* Brand column */
  .awf-brand { padding-right: 48px; }
  .awf-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
  .awf-logo-svg { width: 40px; height: 40px; flex: none; }
  .awf-wordmark { font-family: var(--ff); font-size: 19px; font-weight: 600; letter-spacing: -0.4px; color: var(--white); }
  .awf-wordmark span { color: var(--acid); }
  .awf-accent-bar { width: 40px; height: 2px; background: var(--acid); margin: 22px 0 18px; }
  .awf-about { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 300px; margin: 0; }
  .awf-bookbtn {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    margin-top: 28px; padding: 13px 18px; max-width: 320px;
    border: 1.5px solid var(--acid); border-radius: 10px; text-decoration: none;
    color: var(--acid); font-family: var(--ff); font-weight: 600; font-size: 13px; letter-spacing: 0.5px;
    box-shadow: 0 0 22px rgba(200, 241, 53, 0.14);
    transition: background 0.2s, box-shadow 0.2s;
  }
  .awf-bookbtn:hover { background: rgba(200, 241, 53, 0.08); box-shadow: 0 0 28px rgba(200, 241, 53, 0.28); }
  .awf-bookbtn-l { display: inline-flex; align-items: center; gap: 12px; }
  .awf-ic { display: inline-flex; align-items: center; }
  .awf-ic svg { width: 18px; height: 18px; display: block; }
  .awf-ic-arrow svg { width: 22px; height: 16px; }
  .awf-brand-contacts { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
  .awf-contact { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--muted); font-size: 14px; transition: color 0.2s; }
  .awf-contact:hover { color: var(--acid); }
  .awf-contact .awf-ic { color: var(--acid); }

  /* Column headings */
  .awf-h {
    font-family: var(--mono); font-size: 12px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 2px; color: var(--acid);
    margin: 0 0 6px;
  }

  /* Services rows */
  .awf-row {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 0; border-bottom: 1px solid var(--border);
    text-decoration: none; color: var(--text); transition: color 0.2s;
  }
  .awf-row:hover { color: var(--acid); }
  .awf-row-ic { flex: none; color: var(--acid); display: inline-flex; }
  .awf-row-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .awf-row-label { font-size: 14px; line-height: 1.35; }

  /* Company links (from the Footer menu, as rows with a chevron) */
  .awf-company .footer-menu { list-style: none; margin: 0; padding: 0; }
  .awf-company a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 0; border-bottom: 1px solid var(--border);
    text-decoration: none; color: var(--text); font-size: 14px; transition: color 0.2s;
  }
  .awf-company a:hover { color: var(--acid); }
  .awf-company a::after { content: '›'; color: var(--muted); font-size: 16px; }
  .awf-company a:hover::after { color: var(--acid); }

  /* Contact / socials */
  .awf-socials { display: flex; flex-direction: column; gap: 18px; }
  .awf-social { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); font-size: 14px; transition: color 0.2s; }
  .awf-social:hover { color: var(--acid); }
  .awf-social-ic {
    flex: none; width: 38px; height: 38px; border-radius: 50%;
    background: var(--card); color: var(--acid);
    display: inline-flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .awf-social:hover .awf-social-ic { background: var(--acid-dim); }
  .awf-social-ic svg { width: 18px; height: 18px; }
  .awf-social-ic-ring { background: transparent; border: 1.5px solid var(--acid); }
  .awf-social-label { flex: 1; }
  .awf-ic-ext { color: var(--acid); }
  .awf-ic-ext svg { width: 15px; height: 15px; }
  .awf-socials-divider { height: 1px; background: var(--border); margin: 4px 0; }

  /* Bottom bar */
  .awf-bottom {
    position: relative; max-width: 1240px; margin: 0 auto;
    border-top: 1px solid var(--border);
    padding: 24px 5%;
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px 0;
  }
  .awf-copy { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; flex: 1 1 300px; }
  .awf-copy .awf-ic { color: var(--acid); }
  .awf-copy .awf-ic svg { width: 18px; height: 20px; }
  .awf-bottom-links { display: flex; gap: 0; }
  .awf-bottom-links a { color: var(--muted); font-size: 13px; text-decoration: none; padding: 0 28px; border-left: 1px solid var(--border); transition: color 0.2s; }
  .awf-bottom-links a:hover { color: var(--acid); }
  .awf-serving { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; flex: 1 1 300px; justify-content: flex-end; padding-left: 28px; border-left: 1px solid var(--border); }
  .awf-serving .awf-ic { color: var(--acid); }

  @media (max-width: 980px) {
    .awf-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; padding-top: 60px; }
    .awf-brand { grid-column: 1 / -1; padding-right: 0; border-left: 0; }
    .awf-col:nth-child(2) { border-left: 0; padding-left: 0; }
    .awf-contactcol { border-left: 0; }
  }
  @media (max-width: 560px) {
    .awf-grid { grid-template-columns: 1fr; gap: 36px 0; }
    .awf-col, .awf-contactcol { border-left: 0; padding: 0; }
    .awf-bottom { flex-direction: column; align-items: flex-start; }
    .awf-bottom-links a:first-child { padding-left: 0; border-left: 0; }
    .awf-serving { justify-content: flex-start; padding-left: 0; border-left: 0; }
  }

  /* Clickable portfolio cards */
  a.portfolio-card-link { cursor: pointer; color: inherit; }
  .portfolio-arrow { color: var(--acid); font-size: 0.8em; opacity: 0; transform: translate(-4px, 2px); transition: opacity 0.2s, transform 0.2s; display: inline-block; }
  a.portfolio-card-link:hover .portfolio-arrow { opacity: 1; transform: translate(0, 0); }
  a.portfolio-card-link:hover h4 { color: var(--acid); }

  /* ── SCROLL REVEAL ANIMATIONS ──
     Hidden states are gated behind .js so that if JavaScript is disabled or
     fails before the reveal observer runs, all content stays visible. */
  .js .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.08s; }
  .reveal-delay-2 { transition-delay: 0.16s; }
  .reveal-delay-3 { transition-delay: 0.24s; }
  .reveal-delay-4 { transition-delay: 0.32s; }
  .reveal-delay-5 { transition-delay: 0.4s; }

  /* Hero load animation */
  .js .hero-animate {
    opacity: 0;
    transform: translateY(24px);
    animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .hero-animate-d1 { animation-delay: 0.1s; }
  .hero-animate-d2 { animation-delay: 0.22s; }
  .hero-animate-d3 { animation-delay: 0.34s; }
  .hero-animate-d4 { animation-delay: 0.46s; }
  @keyframes heroIn {
    to { opacity: 1; transform: translateY(0); }
  }

  @media (prefers-reduced-motion: reduce) {
    .js .reveal, .js .hero-animate, .js .process-item { opacity: 1; transform: none; animation: none; transition: none; }
  }

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

  @media (max-width: 1024px) and (min-width: 769px) {
    .testimonial-card { flex: 0 0 calc(50% - 10px); min-width: 0; }
  }

  /* Mobile & small tablet */
  @media (max-width: 768px) {
    section { padding: 64px 5%; }
    body > nav { padding: 0 4%; height: calc(60px + env(safe-area-inset-top, 0)); }
    html { scroll-padding-top: 76px; }
    section[id], div[id] { scroll-margin-top: 76px; }
    .nav-logo { font-size: 15px; }
    .nav-logo-svg { width: 32px; height: 32px; }
    .nav-links { display: none; }
    .nav-cta-desktop { display: none; }
    .nav-toggle { display: flex; }
    .nav-mobile-menu { top: calc(60px + env(safe-area-inset-top, 0)); }

    #hero {
      min-height: auto;
      padding-top: 100px;
      padding-bottom: 56px;
    }
    h1 { letter-spacing: -1px; margin-bottom: 20px; }
    .hero-badge { margin-bottom: 24px; font-size: 11px; padding: 5px 12px; }
    .hero-sub { margin-bottom: 32px; }
    .hero-btns { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; margin: 0 auto; }
    .btn-primary, .btn-ghost { width: 100%; text-align: center; padding: 14px 24px; }
    .hero-stats {
      gap: 24px 32px;
      margin-top: 48px;
      padding-top: 40px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
    }
    .hero-stat-num { font-size: 28px; }
    .hero-stat-label { font-size: 12px; }

    .section-sub { font-size: 16px; max-width: 100%; }
    .usp-grid { grid-template-columns: 1fr; margin-top: 40px; }
    .usp-card { padding: 28px 24px; }

    .service-card,
    .service-card.reverse {
      grid-template-columns: 1fr;
      gap: 0;
    }
    .service-card.reverse .service-visual,
    .service-card.reverse .service-body { order: unset; }
    .service-visual { padding: 28px 24px 0 !important; }
    .service-num { top: 20px; left: 24px !important; right: auto !important; }
    .service-icon-wrap { max-width: 100%; aspect-ratio: 16/10; }
    .service-icon-wrap svg { width: 72px; height: 72px; }
    .service-body { padding: 24px !important; }
    .service-cta-row { flex-direction: column; align-items: stretch; }
    .service-card .btn-primary { text-align: center; width: 100%; }
    .services-header { margin-bottom: 36px; }

    .portfolio-header { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
    .portfolio-header .btn-ghost { width: 100%; text-align: center; }
    .portfolio-grid { grid-template-columns: 1fr; gap: 16px; }
    .portfolio-img { height: 160px; font-size: 22px; }
    .portfolio-meta { padding: 16px 20px; }

    .process-header { margin-bottom: 36px; }
    .process-item { padding: 22px 20px; gap: 16px; }
    .process-list::before { left: 27px; }
    .process-num { width: 48px; height: 48px; font-size: 13px; }
    .process-content { padding-top: 4px; }
    .process-content h3 { font-size: 18px; }
    .process-content p { font-size: 14px; }

    .testimonials-header { margin-bottom: 28px; }
    .testimonials-carousel-wrap { margin-top: 0; }
    .testimonial-card { flex: 0 0 calc(100% - 0px); min-width: 0; padding: 24px 20px; }
    .testimonials-track-outer { margin-left: -5%; margin-right: -5%; padding-left: 5%; padding-right: 5%; }

    .about-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
    .about-visual { max-height: 320px; aspect-ratio: auto; height: 280px; border-radius: 16px; }
    .about-logo-svg { width: 72px; height: 72px; }
    .about-float-stat.top-right { top: 16px; right: 16px; padding: 10px 14px; }
    .about-float-stat .afs-num { font-size: 18px; }
    .about-badge { bottom: 16px; left: 16px; font-size: 11px; padding: 6px 12px; }
    .about-highlights { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .about-hl-item { padding: 16px 10px; }
    .about-hl-num { font-size: 24px; }
    .about-hl-label { font-size: 11px; }

    .cta-box { padding: 40px 24px; border-radius: 16px; }
    .cta-box p { font-size: 16px; margin-bottom: 32px; }
    .cta-guarantee { font-size: 12px; line-height: 1.8; }

    .faq-grid { grid-template-columns: 1fr; margin-top: 40px; gap: 12px; }
    .faq-item { padding: 20px; }
    .faq-q { font-size: 14px; }

    footer { padding: 48px 5% 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; margin-bottom: 40px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  }

  /* Small phones */
  @media (max-width: 480px) {
    section { padding: 48px 4%; }
    body > nav { padding: 0 4%; }
    .nav-logo { font-size: 13px; }
    .nav-logo-svg { width: 28px; height: 28px; }

    #hero { padding-top: 88px; padding-bottom: 48px; }
    h1 { font-size: clamp(32px, 9vw, 40px); }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
    .hero-stat-num { font-size: 24px; }

    .ticker-item { font-size: 11px; padding: 0 20px; letter-spacing: 1px; }

    .usp-card { padding: 24px 20px; }
    .portfolio-img { height: 140px; font-size: 20px; }

    .process-item { padding: 18px 16px; }
    .process-num { width: 44px; height: 44px; }
    .process-list::before { display: none; }

    .about-visual { height: 240px; max-height: none; }
    .about-logo-svg { width: 60px; height: 60px; }
    .about-highlights { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
    .about-hl-num { font-size: 22px; }

    .cta-box { padding: 32px 20px; }
    .cta-inputs input { font-size: 16px; /* prevents iOS zoom */ }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .testimonial-card { flex: 0 0 100%; }
  }

  /* Prevent body scroll when mobile menu open */
  body.menu-open { overflow: hidden; }

  /* ─────────────────────────────────────────────
     CONTACT FORM 7 — consultation form integration
     CF7 wraps fields in <span class="wpcf7-form-control-wrap">
     and renders submit as <input type="submit">. These rules
     keep the form looking identical to the original design.
  ───────────────────────────────────────────── */

  /* Make CF7's field wrappers fill the flex column */
  .cta-inputs .wpcf7-form-control-wrap { display: block; width: 100%; }

  /* Text/email inputs stretch full width (inherit existing .cta-inputs input look) */
  .cta-inputs input.wpcf7-form-control:not(.wpcf7-submit) { width: 100%; }

  /* Re-assert the acid button on the submit input.
     Higher specificity (.cta-inputs input.wpcf7-submit) beats .cta-inputs input,
     so the button is NOT painted with the surface input style. */
  .cta-inputs input.wpcf7-submit,
  .cta-inputs input.btn-primary {
    background: var(--acid);
    color: #0A0A0B;
    font-family: var(--ff);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    width: 100%;
    cursor: pointer;
    transition: opacity .2s;
  }
  .cta-inputs input.wpcf7-submit:hover { opacity: 0.88; }
  .cta-inputs input.wpcf7-submit:disabled { opacity: 0.5; cursor: default; }

  /* Validation + response messages, themed for the dark background */
  .cta-box .wpcf7-response-output {
    margin: 18px 0 0;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
    border: 1px solid var(--border);
    background: var(--surface);
  }
  .cta-box form.invalid .wpcf7-response-output,
  .cta-box form.unaccepted .wpcf7-response-output { border-color: rgba(255,107,107,0.5); }
  .cta-box form.sent .wpcf7-response-output { border-color: rgba(200,241,53,0.5); }
  .cta-inputs .wpcf7-not-valid { border-color: #ff6b6b !important; }
  .cta-inputs .wpcf7-not-valid-tip { color: #ff6b6b; font-size: 13px; margin-top: 6px; text-align: left; }
  .wpcf7-spinner { margin: 0 0 0 12px; }

  @media (max-width: 600px) {
    /* prevent iOS zoom on CF7 inputs too */
    .cta-inputs input.wpcf7-form-control { font-size: 16px; }
  }

  /* ─────────────────────────────────────────────
     FAQ ACCORDION — answers collapse, toggle on click
     Toggled by adding/removing .open on .faq-item (see main.js)
  ───────────────────────────────────────────── */
  .faq-q { margin-bottom: 0; }

  /* Stop the CSS grid from stretching both cards in a row to equal height,
     so an expanded card does NOT make its row neighbour grow with it. */
  .faq-grid { align-items: start; }
  .faq-item { align-self: start; }
  .faq-q::after { transition: transform .25s ease; }
  .faq-item.open .faq-q::after { transform: rotate(45deg); } /* + becomes × */

  .faq-a {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height .3s ease, opacity .25s ease, margin-top .3s ease;
  }
  .faq-item.open .faq-a {
    max-height: 480px;
    opacity: 1;
    margin-top: 12px;
  }

  /* Keyboard focus ring for accessibility */
  .faq-item[role="button"]:focus-visible {
    outline: 2px solid var(--acid);
    outline-offset: 2px;
  }

  /* ═════════════════════════════════════════════════════════
     BLOG — archive, post cards, single post, search, 404
     Matches the homepage dark / acid-green system.
  ═════════════════════════════════════════════════════════ */

  .blog-main { padding: 140px 0 100px; background: var(--black); min-height: 70vh; }
  .blog-main .container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
  .container-narrow { max-width: 760px; margin: 0 auto; padding: 0 5%; }

  .blog-header { max-width: 720px; margin: 0 auto 56px; text-align: center; }
  .blog-header .section-title { margin: 10px 0 14px; }
  .blog-header .section-sub { margin: 0 auto; }

  /* Post grid */
  .post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .post-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .25s, transform .25s;
  }
  .post-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
  .post-card-link { display: block; color: inherit; text-decoration: none; }
  .post-card-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
  .post-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .post-card-thumb-fallback {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--surface), var(--card));
  }
  .post-card-mark { width: 56px; height: 56px; opacity: .5; }
  .post-card-body { padding: 22px 24px 26px; }
  .post-card-meta {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
    font-family: var(--mono); font-size: 12px; color: var(--muted);
  }
  .post-card-cat {
    color: var(--acid); text-transform: uppercase; letter-spacing: .05em;
    font-weight: 500;
  }
  .post-card-date { letter-spacing: .02em; }
  .post-card-title {
    font-size: 19px; font-weight: 600; line-height: 1.3; margin-bottom: 10px;
    color: var(--text);
  }
  .post-card-excerpt { color: var(--muted); font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
  .post-card-more { color: var(--acid); font-size: 14px; font-weight: 500; }

  /* Pagination */
  .blog-pagination { margin-top: 56px; }
  .blog-pagination .nav-links {
    display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  }
  .blog-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; padding: 0 14px;
    border: 1px solid var(--border); border-radius: 10px;
    color: var(--text); text-decoration: none; font-family: var(--mono);
    font-size: 14px; transition: border-color .2s, background .2s;
  }
  .blog-pagination .page-numbers:hover { border-color: var(--border-hover); }
  .blog-pagination .page-numbers.current { background: var(--acid); color: var(--black); border-color: var(--acid); font-weight: 600; }
  .blog-empty { text-align: center; color: var(--muted); font-size: 16px; padding: 40px 0; }

  /* ── Single post ── */
  .single-header { text-align: center; margin-bottom: 36px; }
  .single-meta-top {
    display: flex; justify-content: center; gap: 14px; align-items: center;
    font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 18px;
  }
  .single-cat {
    color: var(--acid); text-transform: uppercase; letter-spacing: .05em;
    text-decoration: none; font-weight: 500;
  }
  .single-title {
    font-size: clamp(30px, 5vw, 48px); font-weight: 700; line-height: 1.12;
    letter-spacing: -0.02em; color: var(--text); margin-bottom: 22px;
  }
  .single-byline {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    font-size: 14px; color: var(--muted);
  }
  .single-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--acid-dim); color: var(--acid);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-size: 12px; font-weight: 500;
  }
  .single-readtime::before { content: '·'; margin-right: 12px; color: var(--border-hover); }
  .single-thumb { margin: 0 0 40px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
  .single-thumb img { width: 100%; height: auto; display: block; }

  /* Post content typography */
  .post-content { color: var(--text); font-size: 17px; line-height: 1.8; }
  .post-content > * + * { margin-top: 24px; }
  .post-content h2 { font-size: 28px; font-weight: 600; line-height: 1.25; margin-top: 48px; letter-spacing: -0.01em; }
  .post-content h3 { font-size: 22px; font-weight: 600; line-height: 1.3; margin-top: 36px; }
  .post-content h4 { font-size: 18px; font-weight: 600; margin-top: 28px; }
  .post-content p { color: #C9C7C0; }
  .post-content a { color: var(--acid); text-decoration: underline; text-underline-offset: 3px; }
  .post-content ul, .post-content ol { padding-left: 24px; color: #C9C7C0; }
  .post-content li { margin-top: 8px; }
  .post-content img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); }
  .post-content blockquote {
    border-left: 3px solid var(--acid); padding: 6px 0 6px 24px; margin-left: 0;
    color: var(--text); font-size: 20px; font-style: italic;
  }
  .post-content code {
    font-family: var(--mono); font-size: .9em; background: var(--surface);
    padding: 2px 7px; border-radius: 6px; border: 1px solid var(--border);
  }
  .post-content pre {
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    padding: 20px; overflow-x: auto;
  }
  .post-content pre code { background: none; border: none; padding: 0; }
  .post-content hr { border: none; border-top: 1px solid var(--border); }

  .single-tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
  .single-tag {
    font-family: var(--mono); font-size: 12px; color: var(--muted);
    border: 1px solid var(--border); border-radius: 20px; padding: 5px 12px;
    text-decoration: none;
  }
  .single-tag:hover { border-color: var(--border-hover); }

  .single-cta-box {
    margin: 56px 0 40px; padding: 36px; text-align: center;
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  }
  .single-cta-box h3 { font-size: 22px; font-weight: 600; margin-bottom: 18px; color: var(--text); }

  .single-nav {
    display: flex; justify-content: space-between; gap: 16px;
    border-top: 1px solid var(--border); padding-top: 28px;
  }
  .single-nav a { color: var(--text); text-decoration: none; font-size: 14px; transition: color .2s; }
  .single-nav a:hover { color: var(--acid); }
  .single-nav-next { text-align: right; margin-left: auto; }

  /* Search form + 404 */
  .aw-search-form { display: flex; gap: 10px; max-width: 480px; margin: 24px auto 0; }
  .aw-search-input {
    flex: 1; background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; padding: 13px 16px; color: var(--text);
    font-family: var(--ff); font-size: 15px;
  }
  .aw-search-input:focus { outline: none; border-color: var(--acid); }
  .aw-search-input::placeholder { color: var(--muted); }
  .error-404-actions { display: flex; gap: 14px; justify-content: center; margin: 28px 0 10px; flex-wrap: wrap; }
  .blog-searchform { margin-top: 24px; }
  .screen-reader-text {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(1px,1px,1px,1px); white-space: nowrap;
  }

  /* Sidebar widgets (if used) */
  .widget { margin-bottom: 28px; }
  .widget-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
  .widget a { color: var(--muted); text-decoration: none; }
  .widget a:hover { color: var(--acid); }

  @media (max-width: 900px) {
    .post-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .blog-main { padding: 110px 0 70px; }
    .post-grid { grid-template-columns: 1fr; }
    .single-nav { flex-direction: column; }
    .single-nav-next { text-align: left; margin-left: 0; }
    .aw-search-form { flex-direction: column; }
  }

  /* ── Dynamic menu output (wp_nav_menu) matches the original markup ── */
  .footer-col ul.footer-menu { list-style: none; margin: 0; padding: 0; }
  .footer-col ul.footer-menu li { margin: 0; }
  /* .footer-col a already styles links inside the menu (display:block, etc.) */

  /* Custom logo (Site Identity) sizing in the nav */
  .nav-logo-custom { display: inline-flex; align-items: center; }
  .nav-logo-custom img { max-height: 40px; width: auto; height: auto; display: block; }

  /* wp_nav_menu adds .menu-item wrappers; ensure header nav spacing is intact */
  body > nav ul.nav-links li.menu-item { display: inline-flex; }

/* ══════════════════════════════════════════════════════════
   SINGLE PORTFOLIO / CASE-STUDY PAGE
══════════════════════════════════════════════════════════ */
.awp { max-width: 900px; margin: 0 auto; padding: 64px 5% 40px; }
.awp-back { display: inline-block; color: var(--muted); text-decoration: none; font-family: var(--mono); font-size: 13px; margin-bottom: 28px; transition: color .2s; }
.awp-back:hover { color: var(--acid); }
.awp-hero { text-align: center; }
.awp-logo img { max-width: 96px; height: auto; margin: 0 auto 22px; display: block; border-radius: 12px; }
.awp-title { font-size: clamp(34px, 6vw, 52px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 18px; }
.awp-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.awp-tag { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--acid); background: var(--acid-dim); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; }
.awp-visit { display: inline-flex; align-items: center; gap: 6px; background: var(--acid); color: var(--black); font-family: var(--ff); font-weight: 600; font-size: 15px; text-decoration: none; padding: 13px 26px; border-radius: 10px; transition: transform .2s, box-shadow .2s; }
.awp-visit:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(200,241,53,0.25); }
.awp-heroimg { margin: 44px 0 8px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.awp-heroimg img { width: 100%; height: auto; display: block; }
.awp-body { margin-top: 20px; }
.awp-section { margin: 48px 0; }
.awp-section h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 18px; }
.awp-section p { color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 14px; }
.awp-approach { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.awp-approach li { position: relative; padding-left: 30px; color: var(--text); font-size: 15px; line-height: 1.6; }
.awp-approach li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--acid); font-weight: 700; }
/* ROAS chart */
.awp-chart { display: flex; align-items: flex-end; gap: 18px; height: 220px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 28px; }
.awp-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.awp-bar { width: 100%; max-width: 70px; background: linear-gradient(180deg, var(--acid), rgba(200,241,53,0.35)); border-radius: 8px 8px 0 0; position: relative; min-height: 6px; display: flex; align-items: flex-start; justify-content: center; }
.awp-bar span { position: absolute; top: -22px; font-family: var(--mono); font-size: 12px; color: var(--acid); font-weight: 500; }
.awp-bar-label { margin-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
/* Stat cards */
.awp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.awp-stat { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px 18px; text-align: center; }
.awp-stat-val { font-size: 28px; font-weight: 700; color: var(--acid); letter-spacing: -0.01em; }
.awp-stat-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-top: 8px; }
/* Gallery */
.awp-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
.awp-gallery-item { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: transform .2s, border-color .2s; }
.awp-gallery-item:hover { transform: translateY(-3px); border-color: var(--border-hover); }
.awp-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Testimonial */
.awp-quote { border-left: 3px solid var(--acid); background: var(--surface); border-radius: 0 14px 14px 0; padding: 26px 28px; margin: 0; }
.awp-quote p { font-size: 19px; line-height: 1.6; color: var(--text); font-style: italic; margin-bottom: 14px; }
.awp-quote cite { font-family: var(--mono); font-size: 13px; color: var(--acid); font-style: normal; }
/* CTA */
.awp-cta { text-align: center; margin: 64px 0 20px; padding: 48px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; }
.awp-cta h2 { font-size: 26px; margin-bottom: 22px; }
@media (max-width: 640px) {
  .awp-stats { grid-template-columns: repeat(2, 1fr); }
  .awp-gallery { grid-template-columns: 1fr; }
  .awp-chart { gap: 10px; }
}

/* ══════════════════════════════════════════════════════════
   FAQ PAGE (template-faq.php) — dynamic accordion
   Theme typography (Space Grotesk / DM Mono) + palette.
══════════════════════════════════════════════════════════ */
.faq-page { padding: 120px 0 90px; position: relative; overflow: hidden; }
.faq-page .container { padding: 0 5%; }
/* Hero — homepage container width, dynamic image on the right */
.faqp-hero { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 44px; align-items: center; margin-bottom: 72px; }
.faqp-eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--acid); display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.faqp-eyebrow::after { content: ''; width: 40px; height: 2px; background: var(--acid); }
.faqp-title { font-family: var(--ff); font-size: clamp(40px, 6vw, 62px); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 22px; color: var(--white); }
.faqp-title span { color: var(--acid); }
.faqp-sub { font-size: 17px; color: var(--muted); line-height: 1.65; max-width: 430px; margin-bottom: 30px; }
.faqp-rule { width: 48px; height: 2px; background: var(--acid); border-radius: 2px; }
/* Hero visual — dynamic image / placeholder */
.faqp-hero { position: relative; }
.faqp-hero::before { content: ''; position: absolute; right: -12%; top: -34%; width: 760px; height: 760px; max-width: 80%; background: radial-gradient(ellipse at center, rgba(200,241,53,0.12) 0%, rgba(200,241,53,0.05) 40%, transparent 66%); z-index: 0; pointer-events: none; }
.faqp-hero-copy { position: relative; z-index: 2; }
.faqp-visual { position: relative; min-height: 360px; margin-right: -4%; display: flex; align-items: center; justify-content: center; z-index: 1; }
.faqp-qmark { position: absolute; right: -2%; top: -26%; font-family: var(--ff); font-size: clamp(320px, 40vw, 540px); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 3px var(--acid); text-stroke: 3px var(--acid); text-shadow: 0 0 25px rgba(200,241,53,0.6), 0 0 70px rgba(200,241,53,0.35), 0 0 110px rgba(200,241,53,0.2); opacity: 0.9; z-index: 0; pointer-events: none; user-select: none; }
.faqp-hex { color: var(--acid); position: absolute; right: -4%; top: -8%; width: 88%; height: auto; opacity: 0.3; z-index: 0; pointer-events: none; }
.faqp-hero-img { position: relative; z-index: 2; width: 100%; height: auto; display: block; border-radius: 18px; border: 1px solid var(--border); box-shadow: 0 34px 80px rgba(0,0,0,0.62); }
/* Accordion */
.faqp-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.faqp-item { background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color 0.2s; }
.faqp-item:hover { border-color: var(--border-hover); }
.faqp-item.open { border-color: rgba(200,241,53,0.4); }
.faqp-trigger { width: 100%; background: none; border: none; color: var(--text); cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 20px 22px; text-align: left; font-family: var(--ff); }
.faqp-icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; background: var(--acid-dim); border: 1px solid rgba(200,241,53,0.2); display: flex; align-items: center; justify-content: center; color: var(--acid); }
.faqp-icon svg { width: 20px; height: 20px; }
.faqp-question { flex: 1; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.faqp-toggle { flex-shrink: 0; width: 28px; height: 28px; border-radius: 6px; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--acid); transition: transform 0.25s, background 0.2s, border-color 0.2s; }
.faqp-item.open .faqp-toggle { transform: rotate(45deg); background: var(--acid-dim); border-color: rgba(200,241,53,0.3); }
.faqp-toggle svg { width: 14px; height: 14px; }
.faqp-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faqp-item.open .faqp-answer { max-height: 500px; }
.faqp-answer-inner { padding: 0 22px 22px 82px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
/* CTA banner */
.faqp-cta { background: var(--surface); border: 1.5px solid rgba(200,241,53,0.25); border-radius: 14px; display: flex; align-items: center; gap: 24px; padding: 28px; }
.faqp-cta-icon { flex-shrink: 0; width: 72px; height: 72px; position: relative; display: flex; align-items: center; justify-content: center; color: var(--acid); }
.faqp-cta-icon .hex { position: absolute; inset: 0; width: 100%; height: 100%; }
.faqp-cta-icon .person { width: 32px; height: 32px; position: relative; z-index: 1; }
.faqp-cta-text { flex: 1; }
.faqp-cta-text h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.faqp-cta-text p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.faqp-cta-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; background: var(--acid); color: var(--black); font-family: var(--ff); font-size: 14px; font-weight: 700; padding: 14px 22px; border: none; border-radius: 8px; cursor: pointer; white-space: nowrap; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.faqp-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,241,53,0.25); }
.faqp-cta-btn svg { width: 16px; height: 16px; }
@media (max-width: 660px) {
  .faqp-hero { grid-template-columns: 1fr; gap: 30px; }
  .faqp-sub { max-width: none; }
  .faqp-visual { margin-right: 0; min-height: 200px; }
  .faqp-qmark { font-size: clamp(150px, 42vw, 240px); right: 0; top: -10%; }
  .faqp-hex { width: 70%; }
  .faqp-question { font-size: 14px; }
  .faqp-answer-inner { padding-left: 22px; }
  .faqp-cta { flex-direction: column; text-align: center; }
  .faqp-cta-icon { display: none; }
  .faqp-cta-btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════
   CLUTCH BADGE (hero + footer)
══════════════════════════════════════════════════════════ */
.aw-clutch { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.aw-clutch .cl-stars { display: inline-flex; gap: 2px; color: #E62415; font-size: 18px; line-height: 1; letter-spacing: 1px; }
.aw-clutch .cl-stars i { font-style: normal; }
.aw-clutch .cl-text { color: var(--muted); font-size: 14px; font-family: var(--ff); }
.aw-clutch .cl-text strong { color: var(--text); font-weight: 700; }
.aw-clutch:hover .cl-text strong { color: var(--acid); }
.hero-clutch { margin-top: 28px; justify-content: center; }
.awf-clutch { margin-top: 22px; }

/* ══════════════════════════════════════════════════════════
   SERVICE PAGE (template-service.php) — reuses homepage sections
══════════════════════════════════════════════════════════ */
#hero.svc-hero { min-height: auto; padding: 140px 0 84px; }
.svc-hero .hero-badge { margin-bottom: 22px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 6px 0 4px; }
@media (max-width: 560px) { .cta-btns { flex-direction: column; } .cta-btns .btn-primary, .cta-btns .btn-ghost { width: 100%; text-align: center; } }
