  :root {
    --bg: #FAFAF8;
    --bg-warm: #F4F1EC;
    --text: #1a1a18;
    --text-secondary: #6b6660;
    --text-tertiary: #9b9590;
    --accent: #B84D0B;
    --accent-hover: #943B08;
    --accent-light: rgba(184,77,11,0.08);
    --accent-border: rgba(184,77,11,0.2);
    --border: rgba(26,26,24,0.08);
    --border-hover: rgba(26,26,24,0.15);
    --card-bg: #fff;
  }

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

  .skip-link {
    position: fixed;
    top: 0.5rem;
    left: 1rem;
    padding: 0.75rem 1rem;
    background: var(--text);
    color: #fff;
    transform: translateY(-150%);
    z-index: 10000;
  }
  .skip-link:focus { transform: translateY(0); }
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .insights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
  }
  .insight-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    transition: border-color 0.2s;
  }
  .insight-card:hover { border-color: var(--accent-border); }
  .insight-topic {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 500;
  }
  .insight-card h3 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(1.8rem, 2.5vw, 2.35rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }
  .insight-card h3 a { color: var(--text); text-decoration: none; }
  .insight-card h3 a:hover { color: var(--accent); }
  .insight-card > p:not(.insight-topic) { color: var(--text-secondary); }
  .text-link { color: var(--accent); text-underline-offset: 0.25em; font-weight: 500; }
  .insight-card .text-link { margin-top: auto; padding-top: 0.5rem; }
  .insights-more { margin-top: 2rem; }

  html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 5.5rem;
  }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  img, svg { max-width: 100%; }

  a, button { -webkit-tap-highlight-color: transparent; }

  a:focus-visible,
  button:focus-visible {
    outline: 3px solid rgba(184,77,11,0.35);
    outline-offset: 4px;
  }

  /* ─── GRAIN ─── */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px;
  }

  /* ─── CURSOR GLOW ─── */
  .cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,77,11,0.045) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: left 0.3s ease, top 0.3s ease;
  }

  /* ─── NAV ─── */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.2rem max(3rem, env(safe-area-inset-right)) 1.2rem max(3rem, env(safe-area-inset-left));
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    background: rgba(250,250,248,0.85);
    border-bottom: 1px solid var(--border);
  }

  .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
  }

  .logo img {
    height: 30px;
    width: auto;
  }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
  }

  .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.3s;
  }

  .nav-links a:hover { color: var(--accent); }

  .nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s !important;
  }

  .nav-cta:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(184,77,11,0.25);
  }

  /* ─── HERO ─── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 3rem 4rem;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-light);
    border: 1px solid var(--accent-border);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2.5rem;
    width: fit-content;
    animation: fadeUp 0.8s ease both;
  }

  .hero-badge .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
  }

  .hero h1 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: clamp(3.5rem, 8vw, 8rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    max-width: 1100px;
    color: var(--text);
    animation: fadeUp 0.8s ease 0.1s both;
  }

  .hero h1 em {
    font-style: italic;
    color: var(--accent);
  }

  .hero-sub {
    max-width: 560px;
    margin-top: 2.5rem;
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.75;
    animation: fadeUp 0.8s ease 0.25s both;
  }

  .hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    animation: fadeUp 0.8s ease 0.4s both;
    flex-wrap: wrap;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 100px;
    letter-spacing: 0.02em;
    transition: transform 0.2s, box-shadow 0.3s, background 0.2s;
  }

  .btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(184,77,11,0.2);
  }

  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 1px solid var(--border-hover);
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 100px;
    transition: border-color 0.3s, background 0.3s;
  }

  .btn-secondary:hover {
    border-color: var(--accent-border);
    background: var(--accent-light);
  }

  .hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-tertiary);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeUp 0.8s ease 0.6s both;
  }

  .scroll-line {
    width: 40px;
    height: 1px;
    background: var(--text-tertiary);
    position: relative;
    overflow: hidden;
  }

  .scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scrollSlide 2s ease infinite;
  }

  @keyframes scrollSlide {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
  }

  /* ─── MARQUEE ─── */
  .marquee-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    overflow: hidden;
    background: var(--bg-warm);
  }

  .marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
  }

  .marquee-track span {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    white-space: nowrap;
    padding: 0 2rem;
  }

  .marquee-track span.dot {
    color: var(--accent);
    font-size: 0.7rem;
    padding: 0;
  }

  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ─── SECTIONS ─── */
  section {
    padding: 7rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
  }

  .section-label {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.2rem;
  }

  .section-title {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 700px;
    margin-bottom: 1.2rem;
    color: var(--text);
  }

  .section-desc {
    color: var(--text-secondary);
    max-width: 520px;
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
    max-width: 100%;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  /* ─── SERVICES GRID ─── */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.2rem;
    margin-top: 3.5rem;
  }

  .service-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s, transform 0.3s, box-shadow 0.4s;
    background: var(--card-bg);
  }

  .service-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(184,77,11,0.06);
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
  }

  .service-card:hover::before { opacity: 1; }

  .service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
  }

  .service-card h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
    color: var(--text);
  }

  .service-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .service-tag {
    display: inline-block;
    margin-top: 1.2rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--accent-border);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-weight: 500;
  }

  /* ─── TECH STACK ─── */
  .tech-section {
    background: var(--bg-warm);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: none;
    padding: 5rem 3rem;
  }

  .tech-inner {
    max-width: 1400px;
    margin: 0 auto;
  }

  .tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
  }

  .tech-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card-bg);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
    flex: 1 1 auto;
    min-width: 140px;
    max-width: 200px;
  }

  .tech-item:hover {
    border-color: var(--accent-border);
    box-shadow: 0 4px 16px rgba(184,77,11,0.06);
    transform: translateY(-2px);
  }

  .tech-icon {
    color: var(--accent);
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .tech-item span {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
  }

  /* ─── PROCESS ─── */
  .process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 3.5rem;
  }

  .process-step {
    padding: 2.5rem;
    border: 1px solid var(--border);
    margin: -0.5px;
    position: relative;
    background: var(--card-bg);
    transition: background 0.3s;
  }

  .process-step:hover {
    background: var(--accent-light);
  }

  .process-num {
    font-family: 'Instrument Serif', serif;
    font-size: 3rem;
    color: rgba(184,77,11,0.15);
    line-height: 1;
    margin-bottom: 1.5rem;
  }

  .process-step h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.6rem;
    color: var(--text);
  }

  .process-step p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  /* ─── CLIENTS ─── */
  .clients-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 3rem;
  }

  .client-item {
    flex: 1 1 20%;
    min-width: 180px;
    padding: 1.8rem 1.5rem;
    border: 1px solid var(--border);
    margin: -0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-family: 'Syne', sans-serif;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    transition: color 0.3s, background 0.3s;
    text-align: center;
  }

  .client-item:hover {
    color: var(--text);
    background: var(--accent-light);
  }

  /* ─── CTA ─── */
  .cta-section {
    text-align: center;
    padding: 8rem 3rem;
    position: relative;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,77,11,0.05), transparent 70%);
    pointer-events: none;
  }

  .cta-section .section-title {
    margin: 0 auto 1rem;
    max-width: 600px;
  }

  .cta-section .section-desc {
    margin: 0 auto 2.5rem;
    text-align: center;
  }

  .cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }

  /* ─── FOOTER ─── */
  footer {
    border-top: 1px solid var(--border);
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
  }

  .footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }

  .footer-copy {
    font-size: 0.8rem;
    color: var(--text-tertiary);
  }

  .footer-links {
    display: flex;
    gap: 2rem;
  }

  .footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
  }

  .footer-links a:hover { color: var(--accent); }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .js-reveal .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .js-reveal .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ─── MOBILE NAV ─── */
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: 50%;
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 0;
    flex-shrink: 0;
    transition: 0.3s;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 1024px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 768px) {
    .insights-grid { grid-template-columns: 1fr; }
    .insight-card { padding: 1.5rem; }
    .hero-badge { border-radius: 16px; letter-spacing: 0.025em; }
    html { scroll-padding-top: 4.75rem; }
    nav {
      padding: max(0.75rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) 0.75rem max(1.25rem, env(safe-area-inset-left));
    }
    .logo img { height: 26px; }
    .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: rgba(250,250,248,0.97);
      backdrop-filter: blur(20px);
      flex-direction: column;
      padding: 1rem max(1.25rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
      gap: 0.25rem;
      border-bottom: 1px solid var(--border);
      max-height: calc(100svh - 68px);
      overflow-y: auto;
      box-shadow: 0 18px 40px rgba(26,26,24,0.08);
    }
    .nav-links.open { display: flex; align-items: stretch; }
    .nav-links a {
      display: flex;
      align-items: center;
      min-height: 48px;
      padding: 0.65rem 0.5rem;
      font-size: 0.9rem;
    }
    .nav-links .nav-cta {
      justify-content: center;
      margin-top: 0.5rem;
    }
    .nav-toggle { display: flex; }
    section { padding: 4.5rem 1.25rem; }
    .hero {
      min-height: 100svh;
      padding: 7rem 1.25rem 4rem;
    }
    .hero h1 {
      font-size: clamp(3rem, 13vw, 4.75rem);
      line-height: 0.98;
    }
    .hero-sub {
      margin-top: 2rem;
      font-size: 1.05rem;
      line-height: 1.65;
    }
    .hero-actions { margin-top: 2.25rem; gap: 0.75rem; }
    .hero-scroll { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 1.75rem; }
    .service-tag { line-height: 1.5; }
    .process-grid { grid-template-columns: 1fr; }
    .process-step { padding: 1.75rem; }
    .tech-section { padding: 4.5rem 1.25rem; }
    .tech-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.75rem;
    }
    .tech-item {
      min-width: 0;
      max-width: none;
      padding: 0.9rem 1rem;
    }
    .clients-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .client-item { min-width: 0; padding: 1.35rem 0.75rem; }
    .cta-section { padding: 5.5rem 1.25rem; }
    .cta-section::before { width: 100vw; height: 100vw; }
    .cursor-glow { display: none; }
    footer {
      flex-direction: column;
      text-align: center;
      padding: 2rem max(1.25rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
    }
    .footer-left { align-items: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
    .footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
  }

  @media (max-width: 480px) {
    .hero h1 { font-size: clamp(2.7rem, 13.5vw, 4rem); }
    .hero-actions,
    .cta-actions { flex-direction: column; width: 100%; }
    .btn-primary,
    .btn-secondary { width: 100%; justify-content: center; text-align: center; }
    .section-title { font-size: clamp(2.25rem, 11vw, 3rem); }
    .tech-grid,
    .clients-grid { grid-template-columns: 1fr; }
    .client-item { min-height: 56px; }
    .cta-section br { display: none; }
  }

  @media (hover: none) {
    .service-card:hover,
    .tech-item:hover,
    .btn-primary:hover,
    .nav-cta:hover { transform: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      scroll-behavior: auto !important;
      transition-duration: 0.01ms !important;
    }
    .js-reveal .reveal { opacity: 1; transform: none; }
  }
