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

    :root {
      --cream:     #FAF5EC;
      --cream2:    #F1E9D8;
      --sand:      #E3D5BC;
      --terra:     #B8532A;
      --terra-l:   #F7EDE4;
      --terra-m:   #C96840;
      --text:      #1C1208;
      --text2:     #5E4A30;
      --text3:     #9A856A;
      --rule:      #DDD0B8;
      --white:     #FFFEF9;
      --font-display: 'Young Serif', Georgia, serif;
    }

    html { scroll-behavior: smooth; }


	  
	  /* ── ANIMATED LIQUID GRADIENT CANVAS ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  filter: blur(20px);
  opacity: 0.55;
}

    body {
      background-color: var(--cream);
      
      font-family: 'Inter', sans-serif;
      font-size: 15px;
      line-height: 1.6;
    }

    /* Grain texture overlay — much more visible */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.14'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 999;
    }

    /* Sections sit above the fixed background */
    section {
      position: relative;
      z-index: 1;
      padding: 80px 0;
      border-top: 1px solid var(--rule);
    }
    .hero-section { border-top: none; padding-top: 120px; }

    /* ── LAYOUT ── */
    .wrap {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 48px;
    }

    /* ── FADE ANIMATION ── */
    .fade {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.65s ease, transform 0.65s ease;
    }
    .fade.in { opacity: 1; transform: translateY(0); }

    /* ── SECTION LABEL ── */
    .s-label {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 12px;
    }
    .s-num {
      font-family: 'Inter', sans-serif;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--terra);
    }
    .s-line { flex: 1; height: 1px; background: var(--rule); }

    .s-head {
      font-family: var(--font-display); font-synthesis-weight: none;
      font-size: clamp(34px, 4.5vw, 52px);
      font-weight: 700;
      line-height: 1.1;
      color: var(--text);
      margin-bottom: 52px;
    }
    .s-head em { font-style: normal;
      color: var(--terra);
    }

    /* ═══════════════════════════
       HERO
    ═══════════════════════════ */
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 260px;
      align-items: end;
      gap: 56px;
      padding-bottom: 4px;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(34,197,94,0.1);
      border: 1px solid rgba(34,197,94,0.35);
      border-radius: 100px;
      padding: 5px 14px 5px 10px;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: #16a34a;
      margin-bottom: 22px;
    }
    .dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: #22c55e;
      animation: pulse 2.5s ease infinite;
    }
    @keyframes pulse {
      0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
      55%      { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
    }

    .hero-role {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--terra);
      margin-bottom: 14px;
    }

    .hero-name {
      font-family: var(--font-display); font-synthesis-weight: none;
      font-size: clamp(60px, 9vw, 110px);
      font-weight: 900;
      line-height: 0.88;
      color: var(--text);
      margin-bottom: 32px;
    }
    .hero-name .ln {
      display: block;
      color: var(--terra);
    }

    .hero-tagline {
      font-size: 17px;
      font-weight: 300;
      color: var(--text2);
      line-height: 1.7;
      max-width: 560px;
      border-left: 3px solid var(--terra);
      padding-left: 22px;
    }

    /* Contact sidebar */
    .hero-aside {
      padding-bottom: 8px;
    }
    .contact-item {
      display: flex;
      align-items: center;
      gap: 11px;
      text-decoration: none;
      color: var(--text2);
      font-size: 12.5px;
      padding: 10px 0;
      border-bottom: 1px solid var(--rule);
      transition: color 0.2s;
      word-break: break-all;
    }
    .contact-item:last-child { border-bottom: none; }
    .contact-item:hover { color: var(--terra); }
    .c-ic {
      width: 28px; height: 28px;
      background: var(--terra-l);
      border: 1px solid rgba(184,83,42,0.18);
      border-radius: 7px;
      display: flex; align-items: center; justify-content: center;
      font-size: 11px;
      flex-shrink: 0;
      color: var(--terra);
      transition: background 0.2s;
    }
    .contact-item:hover .c-ic { background: rgba(184,83,42,0.15); }

    /* ═══════════════════════════
       TRIFECTA
    ═══════════════════════════ */
    .trifecta {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      border: 1px solid var(--rule);
      border-radius: 14px;
      overflow: hidden;
      background: var(--rule);
      gap: 1px;
    }
    .tf {
      background: var(--white);
      padding: 36px 30px 32px;
      transition: background 0.25s;
    }
    .tf:hover { background: var(--terra-l); }
    .tf-n {
      font-family: var(--font-display); font-synthesis-weight: none;
      font-size: 52px;
      font-weight: 900;
      color: rgba(184,83,42,0.12);
      line-height: 1;
      margin-bottom: 14px;
      display: block;
    }
    .tf-title {
      font-family: var(--font-display); font-synthesis-weight: none;
      font-size: 24px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 4px;
    }
    .tf-sub {
      font-size: 12px;
      color: var(--text3);
      margin-bottom: 18px;
      font-style: italic;
    }

    /* ═══════════════════════════
       PILLS
    ═══════════════════════════ */
    .pills { display: flex; flex-wrap: wrap; gap: 6px; }
    .pill {
    background: var(--cream2);
    border: 1px solid var(--sand);
    color: var(--text2);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s, transform 0.3s, background 0.2s, color 0.2s, border-color 0.2s;
    cursor: default;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    }
    .pill.in { opacity: 1; transform: translateY(0); }
    .pill:hover {
      background: var(--terra-l);
      border-color: rgba(184,83,42,0.3);
      color: var(--terra);
    }
    .pill-dots {
      display: inline-flex;
      gap: 2.5px;
      flex-shrink: 0;
    }
    .pill-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: transparent;
      border: 1px solid var(--terra);
      opacity: 0.3;
      flex-shrink: 0;
      transition: background 0.2s;
    }
    .pill-dot.on {
      background: var(--terra);
      opacity: 1;
    }
    .pill:hover .pill-dot.on { background: var(--terra-m); }

    /* ═══════════════════════════
       EXPERIENCE
    ═══════════════════════════ */
    .exp-list { display: flex; flex-direction: column; gap: 60px; }

    .exp-item {
      display: grid;
      grid-template-columns: 230px 1fr;
      gap: 52px;
    }

    .exp-left {}
    .exp-co {
      font-family: var(--font-display); font-synthesis-weight: none;
      font-size: 19px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 6px;
    }
    .exp-role-tag {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--terra);
      margin-bottom: 4px;
    }
    .exp-dates { font-size: 13px; color: var(--text3); }

    .exp-right p {
      font-size: 14px;
      color: var(--text2);
      line-height: 1.7;
      margin-bottom: 14px;
    }
    .exp-right ul { list-style: none; margin-bottom: 16px; }
    .exp-right li {
      font-size: 13.5px;
      color: var(--text2);
      line-height: 1.65;
      padding: 4px 0 4px 20px;
      position: relative;
    }
    .exp-right li::before {
      content: '—';
      color: var(--terra);
      position: absolute;
      left: 0;
      font-size: 11px;
      top: 7px;
    }
	  
	.exp-right li strong {
    color: var(--terra);
    font-weight: 600;
    font-style: normal;
    }

    .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
    .tag {
      font-size: 11px;
      color: var(--text3);
      background: var(--cream2);
      border: 1px solid var(--sand);
      padding: 3px 10px;
      border-radius: 6px;
    }

    /* ═══════════════════════════
       CASE STUDIES
    ═══════════════════════════ */

    /* Last card full-width if odd total */

    .case-client {
    font-family: var(--font-display); font-synthesis-weight: none;
    font-size: 25px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
    }
    .case-url {
    display: inline-block;
    font-size: 14.5px;
    color: var(--terra);
    text-decoration: none;
    margin-bottom: 16px;
    transition: opacity 0.2s;
    }
    .case-url:hover { opacity: 0.65; }
    .case-desc {
      font-size: 13.5px;
      color: var(--text2);
      line-height: 1.68;
      margin-bottom: 18px;
    }
    .case-pills { display: flex; flex-wrap: wrap; gap: 5px; }
    .cpill {
    font-size: 12px;
    color: var(--terra);
    background: var(--terra-l);
    border: 1px solid rgba(184,83,42,0.2);
    padding: 3px 9px;
    border-radius: 5px;
    font-weight: 500;
    }

    /* ═══════════════════════════
       SKILLS
    ═══════════════════════════ */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 44px 64px;
    }
    .sk-cat-head {
    font-family: var(--font-display); font-synthesis-weight: none;
    font-size: 25px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
    }

    /* ═══════════════════════════
       FOOTER
    ═══════════════════════════ */
    footer {
      background: var(--text);
      padding: 36px 48px;
      text-align: center;
      color: rgba(255,255,255,0.45);
      font-size: 12.5px;
    }
    footer strong { color: rgba(255,255,255,0.85); }
    footer a { color: var(--terra-m); text-decoration: none; }

    /* ═══════════════════════════
       RESPONSIVE
    ═══════════════════════════ */
    @media (max-width: 960px) {
      .hero-grid { grid-template-columns: 1fr; }
      .hero-aside { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--rule); padding-top: 24px; }
      .contact-item { width: 50%; border-bottom: 1px solid var(--rule); }
      .contact-item:nth-last-child(-n+2) { border-bottom: none; }
      .trifecta { grid-template-columns: 1fr; }
      .exp-item { grid-template-columns: 1fr; gap: 16px; }
    }
    @media (max-width: 640px) {
      .wrap { padding: 0 22px; }
      section { padding: 56px 0; }
      .skills-grid { grid-template-columns: 1fr; }
    }

    /* ── TRIFECTA THUMBNAILS ── */
    .tf-thumb {
      margin: -36px -30px 20px;
      height: 155px;
      overflow: hidden;
      position: relative;
    }
    .tf-thumb img {
      width: 100%; height: 100%;
      object-fit: cover; object-position: center;
      display: block;
      transition: transform 0.5s ease;
      filter: saturate(1.15) contrast(1.05);
    }
    .tf:hover .tf-thumb img { transform: scale(1.06); }
    .tf-thumb::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(255,254,249,0.55) 100%);
      pointer-events: none;
    }

    /* ── SKILLS THUMBNAILS ── */
    .sk-thumb {
      height: 245px;
      overflow: hidden;
      border-radius: 10px;
      margin-bottom: 18px;
      position: relative;
    }
    .sk-thumb img {
      width: 100%; height: 100%;
      object-fit: cover; object-position: center;
      display: block;
      transition: transform 0.5s ease;
      filter: saturate(1.15) contrast(1.05);
    }
    .fade:hover .sk-thumb img { transform: scale(1.05); }
    .sk-thumb::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(184,83,42,0.12) 0%, transparent 60%);
      pointer-events: none;
    }

    /* ── SERVICE BLOCKS (What I Do) ── */
    .service-blocks { display: flex; flex-direction: column; gap: 20px; }
    .service-block {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border: 1px solid var(--rule);
      border-radius: 14px;
      overflow: hidden;
      min-height: 380px;
    }
    .service-block.reverse .service-img  { order: 2; }
    .service-block.reverse .service-body { order: 1; }
    .service-img {
      position: relative;
      background: var(--cream2);
      min-height: 320px;
    }
    .service-img img {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover; object-position: center top;
      display: block;
      transition: transform 0.5s ease;
      filter: saturate(1.1) contrast(1.04);
    }
    .service-block:hover .service-img img { transform: scale(1.04); }
    .service-img::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(184,83,42,0.1) 0%, transparent 55%);
      pointer-events: none;
    }
    .service-body {
      padding: 48px 44px;
      background: var(--white);
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .svc-num {
      font-family: var(--font-display); font-synthesis-weight: none;
      font-size: 52px;
      font-weight: 900;
      color: rgba(184,83,42,0.1);
      line-height: 1;
      margin-bottom: 8px;
    }
    .svc-title {
      font-family: var(--font-display); font-synthesis-weight: none;
      font-size: 30px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 4px;
    }
    .svc-sub {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--terra);
      margin-bottom: 18px;
    }
    .svc-summary {
      font-size: 14px;
      color: var(--text2);
      line-height: 1.78;
      margin-bottom: 22px;
      padding-left: 16px;
      border-left: 2px solid var(--terra);
    }
    @media (max-width: 860px) {
      .service-block { grid-template-columns: 1fr; min-height: auto; }
      .service-block.reverse .service-img  { order: 1; }
      .service-block.reverse .service-body { order: 2; }
      .service-img { min-height: 220px; }
      .service-body { padding: 32px 28px; }
    }

    /* ── CASE STUDY THUMBNAILS ── */

    /* ── OTHER WORK OF NOTE ── */
    .other-heading {
      font-family: var(--font-display); font-synthesis-weight: none;
      font-size: 22px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 24px;
    }
    .other-heading em { font-style: normal;color: var(--terra); }
    .other-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
    }
    .other-card {
      text-decoration: none;
      display: block;
      border: 1px solid var(--sand);
      border-radius: 10px;
      overflow: hidden;
      background: var(--white);
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s;
    }
    .other-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 30px rgba(184,83,42,0.1);
      border-color: rgba(184,83,42,0.28);
    }
    .other-thumb {
      height: 180px;
      overflow: hidden;
      background: var(--cream2);
    }
    .other-thumb img {
      width: 100%; height: 100%;
      object-fit: cover; object-position: top;
      display: block;
      transition: transform 0.4s ease;
    }
    .other-card:hover .other-thumb img { transform: scale(1.05); }
    .other-info { padding: 11px 13px 13px; }
    .other-title-text {
    font-family: var(--font-display); font-synthesis-weight: none;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
    }
    .other-url-text {
    font-size: 12px;
    color: var(--terra);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    }
    @media (max-width: 860px) { .other-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 480px) { .other-grid { grid-template-columns: 1fr 1fr; } .other-thumb { height: 75px; } }

    /* ── FAILED THUMBNAIL PLACEHOLDER ── */
    .img-failed {
      background: linear-gradient(135deg, var(--terra-l) 0%, var(--cream2) 100%) !important;
      display: flex !important;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 6px;
    }
    .img-failed::before {
      content: '⊕';
      font-size: 22px;
      color: rgba(184,83,42,0.35);
      line-height: 1;
    }
    .img-failed::after {
      content: 'Preview unavailable';
      font-family: 'Inter', sans-serif;
      font-size: 10px;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--text3);
      background: none !important;
      position: static !important;
      inset: auto !important;
    }

    /* ── STICKY NAV ── */
    .site-nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 200;
      height: 58px;
      display: flex;
      align-items: center;
      padding: 0 48px;
      transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
      border-bottom: 1px solid transparent;
    }
    .site-nav.scrolled {
      background: rgba(255,255,255,0.90);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom-color: var(--rule);
      box-shadow: 0 2px 24px rgba(0,0,0,0.07);
    }
    .nav-logo {
      font-family: var(--font-display); font-synthesis-weight: none;
      font-size: 18px;
      font-weight: 700;
      color: var(--text);
      text-decoration: none;
      margin-right: auto;
      transition: color 0.2s;
    }
    .nav-logo em { font-style: normal;color: var(--terra); }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 30px;
      list-style: none;
    }
    .nav-links a {
      font-family: 'Inter', sans-serif;
      font-size: 10.5px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--text2);
      text-decoration: none;
      transition: color 0.2s;
      position: relative;
      padding-bottom: 2px;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -2px; left: 0; right: 0;
      height: 1.5px;
      background: var(--terra);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.25s ease;
    }
    .nav-links a:hover { color: var(--terra); }
    .nav-links a:hover::after { transform: scaleX(1); }
    .nav-links a.active { color: var(--terra); }
    .nav-links a.active::after { transform: scaleX(1); }
    .nav-cta-link {
      background: var(--terra);
      color: #fff !important;
      padding: 7px 18px;
      border-radius: 100px;
      transition: background 0.2s, transform 0.2s !important;
    }
    .nav-cta-link:hover { background: var(--terra-m) !important; transform: translateY(-1px); }
    .nav-cta-link::after { display: none !important; }
    @media (max-width: 768px) {
      .site-nav { padding: 0 20px; }
      .nav-links { gap: 16px; }
      .nav-links li:not(:last-child):not(:nth-last-child(2)) { display: none; }
    }

    /* ── CTA SECTION ── */
    .cta-section {
      background: var(--text);
      position: relative;
      z-index: 1;
      padding: 96px 0 80px;
      text-align: center;
      border-top: none;
      overflow: hidden;
    }
    .cta-section::before {
      content: '';
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 60% 80% at 15% 50%, rgba(184,83,42,0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 70% at 85% 50%, rgba(184,83,42,0.18) 0%, transparent 60%);
      pointer-events: none;
    }
    .cta-inner { position: relative; z-index: 1; }
    .cta-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(34,197,94,0.12);
      border: 1px solid rgba(34,197,94,0.35);
      border-radius: 100px;
      padding: 5px 16px;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: #4ade80;
      margin-bottom: 28px;
    }
    .cta-head {
      font-family: var(--font-display); font-synthesis-weight: none;
      font-size: clamp(38px, 6vw, 70px);
      font-weight: 900;
      color: #fff;
      line-height: 1.05;
      margin-bottom: 18px;
    }
    .cta-head em { font-style: normal;color: var(--terra-m); }
    .cta-sub {
      font-size: 16px;
      color: rgba(255,255,255,0.55);
      font-weight: 300;
      margin-bottom: 52px;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
    }
    .cta-btns {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 48px;
    }
    .cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 15px 32px;
      border-radius: 100px;
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.25s ease;
      cursor: pointer;
    }
    .cta-btn.primary {
      background: var(--terra);
      color: #fff;
      border: 2px solid var(--terra);
    }
    .cta-btn.primary:hover {
      background: var(--terra-m);
      border-color: var(--terra-m);
      transform: translateY(-3px);
      box-shadow: 0 10px 28px rgba(184,83,42,0.45);
    }
    .cta-btn.secondary {
      background: transparent;
      color: rgba(255,255,255,0.75);
      border: 2px solid rgba(255,255,255,0.2);
    }
    .cta-btn.secondary:hover {
      border-color: rgba(255,255,255,0.55);
      color: #fff;
      transform: translateY(-3px);
    }
    .cta-divider {
      width: 40px; height: 1px;
      background: rgba(255,255,255,0.12);
      margin: 0 auto 32px;
    }
    .cta-details {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 32px;
      flex-wrap: wrap;
    }
    .cta-detail {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      color: rgba(255,255,255,0.45);
      text-decoration: none;
      transition: color 0.2s;
    }
    .cta-detail:hover { color: rgba(255,255,255,0.85); }
    .cta-detail-ic {
      width: 28px; height: 28px;
      background: rgba(255,255,255,0.07);
      border-radius: 7px;
      display: flex; align-items: center; justify-content: center;
      font-size: 12px;
      flex-shrink: 0;
    }
	  
	.martop30
	  {margin-top: 30px;}
	  
    /* ── TESTIMONIALS CAROUSEL ── */
    .testi-carousel { position: relative; }
    .testi-overflow { overflow: hidden; border-radius: 14px; }
    .testi-track {
      display: flex;
      transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .testi-slide {
      min-width: 100%;
      flex: 0 0 100%;
      padding: 0 40px;
    }
    .testi-card {
      background: var(--white);
      border: 1px solid var(--sand);
      border-radius: 14px;
      padding: 40px 80px 36px;
      position: relative;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .testi-divider { margin: 0 auto 16px; }
    .testi-dots {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      margin-top: 24px;
    }
    .testi-dot {
      height: 12px;
      width: 12px;
      border-radius: 6px;
      border: 1.5px solid var(--terra);
      background: transparent;
      cursor: pointer;
      padding: 0;
      opacity: 0.4;
      transition: all 0.3s ease;
    }
    .testi-dot.active {
      background: var(--terra);
      opacity: 1;
      width: 36px;
    }
    .testi-mark {
      font-family: var(--font-display); font-synthesis-weight: none;
      font-size: 64px;
      line-height: 0.7;
      color: rgba(184,83,42,0.12);
      margin-bottom: 16px;
      display: block;
    }
    .testi-quote {
      font-size: 14.5px;
      color: var(--text2);
      line-height: 1.75;
      font-style: italic;
      margin-bottom: 24px;
    }
    .testi-quote em { font-style: normal; color: var(--terra); font-weight: 500; }
    .testi-divider { width: 32px; height: 1px; background: var(--sand); margin-bottom: 16px; }
    .testi-name {
      font-family: var(--font-display); font-synthesis-weight: none;
      font-size: 15px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 2px;
    }
    .testi-role { font-size: 12px; color: var(--text3); }
    .testi-source {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 20px;
      font-weight: 600;
      color: var(--text2);
      margin-bottom: 18px;
    }
    .testi-source::before {
      content: 'in';
      width: 36px; height: 36px;
      background: #0A66C2;
      color: #fff;
      border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px;
      font-weight: 700;
    }
    @media (max-width: 640px) { .testimonials-grid { grid-template-columns: 1fr; } }

    /* ── PLAY OVERLAY (video cards) ── */
    .video-thumb { position: relative; }
    .play-overlay {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      background: rgba(0,0,0,0.18);
      transition: background 0.2s;
    }
    .other-card:hover .play-overlay { background: rgba(0,0,0,0.32); }
    .play-icon {
      width: 44px; height: 44px;
      background: rgba(255,255,255,0.92);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 16px;
      color: var(--terra);
      padding-left: 3px;
      transition: transform 0.2s, background 0.2s;
      box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    }
    .other-card:hover .play-icon { transform: scale(1.1); background: #fff; }

    /* ── LIGHTBOX ── */
    .lightbox {
      display: flex;
      position: fixed; inset: 0;
      z-index: 600;
      align-items: center;
      justify-content: center;
      padding: 24px;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.35s ease, visibility 0.35s ease;
    }
    .lightbox.open {
      opacity: 1;
      visibility: visible;
      pointer-events: all;
    }
    .lightbox-backdrop {
      position: absolute; inset: 0;
      background: rgba(28,18,8,0.78);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      cursor: pointer;
    }
    .lightbox-inner {
      position: relative; z-index: 1;
      max-width: 92vw;
      display: flex; flex-direction: column; align-items: center;
      transform: translateY(22px);
      transition: transform 0.38s ease;
    }
    .lightbox.open .lightbox-inner {
      transform: translateY(0);
    }
    .lightbox-close {
      position: absolute;
      top: -46px; right: -4px;
      width: 36px; height: 36px;
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.25);
      border-radius: 50%;
      color: #fff;
      font-size: 15px;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s;
      line-height: 1;
    }
    .lightbox-close:hover { background: rgba(255,255,255,0.28); }
    .lightbox-img {
      max-width: 100%;
      max-height: 82vh;
      border-radius: 10px;
      display: block;
      box-shadow: 0 24px 64px rgba(0,0,0,0.5);
    }
    .lightbox-video {
      width: 82vw;
      max-width: 1000px;
      aspect-ratio: 16/9;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 24px 64px rgba(0,0,0,0.5);
    }
    .lightbox-video iframe,
    .lightbox-video video {
      width: 100%; height: 100%;
      border: none; display: block;
    }
    .lightbox-caption {
      color: rgba(255,255,255,0.6);
      font-size: 13px;
      margin-top: 14px;
      font-family: 'Inter', sans-serif;
    }

    /* ── HERO VIDEO BACKGROUND ── */
    .hero-section {
      position: relative;
      overflow: hidden;
    }
    .hero-video {
      position: absolute;
      inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      object-position: center;
      z-index: 0;
    }
    .hero-overlay {
      position: absolute; inset: 0;
      background: rgba(0,0,0,0.75);
      z-index: 1;
    }
    .hero-section .wrap {
      position: relative;
      z-index: 2;
    }

    /* Hero text on dark background */
    .hero-role { color: rgba(255,255,255,0.72); }
    .hero-name { color: #ffffff; }
    .hero-name .ln { color: var(--terra-m); }
    .hero-tagline {
      color: rgba(255,255,255,0.80);
      border-left-color: var(--terra-m);
    }
    .contact-item {
      color: rgba(255,255,255,0.70);
      border-bottom-color: rgba(255,255,255,0.12);
    }
    .contact-item:hover { color: #ffffff; }
    .c-ic {
      background: rgba(255,255,255,0.10);
      border-color: rgba(255,255,255,0.18);
      color: rgba(255,255,255,0.75);
    }
    .contact-item:hover .c-ic {
      background: rgba(255,255,255,0.18);
    }

    /* Nav white text when transparent (over hero video) */
    .site-nav:not(.scrolled) .nav-logo { color: #fff; }
    .site-nav:not(.scrolled) .nav-logo em { color: var(--terra-m); }
    .site-nav:not(.scrolled) .nav-links a:not(.nav-cta-link) {
      color: rgba(255,255,255,0.80);
    }
    .site-nav:not(.scrolled) .nav-links a:not(.nav-cta-link):hover {
      color: #fff;
    }
    .site-nav:not(.scrolled) .nav-links a::after {
      background: #fff;
    }

    /* ── MOBILE NAV ── */
    .nav-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 40px; height: 40px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 4px;
      z-index: 400;
      flex-shrink: 0;
    }
    .nav-hamburger span {
      display: block;
      width: 24px; height: 2px;
      background: #fff;
      border-radius: 2px;
      transition: transform 0.3s ease, opacity 0.3s ease;
      transform-origin: center;
    }
    .site-nav.scrolled .nav-hamburger span { background: var(--text); }
    .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ── FULL-SCREEN MOBILE OVERLAY ── */
    .nav-overlay {
      position: fixed; inset: 0;
      background: var(--text);
      z-index: 350;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    .nav-overlay.open {
      opacity: 1;
      visibility: visible;
      pointer-events: all;
    }
    .nav-overlay a {
      font-family: var(--font-display); font-synthesis-weight: none;
      font-size: clamp(22px, 6vw, 36px);
      font-weight: 700;
      color: rgba(255,255,255,0.75);
      text-decoration: none;
      padding: 0 20px 10px;
      transition: color 0.2s, transform 0.2s;
      transform: translateY(12px);
      opacity: 0;
      transition: color 0.2s, transform 0.35s ease, opacity 0.35s ease;
    }
    .nav-overlay.open a {
      opacity: 1;
      transform: translateY(0);
    }
    .nav-overlay.open a:nth-child(1) { transition-delay: 0.06s; }
    .nav-overlay.open a:nth-child(2) { transition-delay: 0.10s; }
    .nav-overlay.open a:nth-child(3) { transition-delay: 0.14s; }
    .nav-overlay.open a:nth-child(4) { transition-delay: 0.18s; }
    .nav-overlay.open a:nth-child(5) { transition-delay: 0.22s; }
    .nav-overlay.open a:nth-child(6) { transition-delay: 0.26s; }
    .nav-overlay.open a:nth-child(7) { transition-delay: 0.30s; }
    .nav-overlay a:hover { color: #fff; transform: translateX(6px); }
    .nav-overlay a.overlay-cta {
      margin-top: 16px;
      background: var(--terra);
      color: #fff;
      border-radius: 100px;
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 600;
      padding: 14px 36px;
      transform: translateY(12px);
    }
    .nav-overlay a.overlay-cta:hover { background: var(--terra-m); transform: translateY(-2px); }
    .nav-overlay-close {
      position: absolute;
      top: 20px; right: 20px;
      width: 44px; height: 44px;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 50%;
      color: #fff;
      font-size: 18px;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s;
    }
    .nav-overlay-close:hover { background: rgba(255,255,255,0.18); }

    @media (max-width: 768px) {
      .nav-links { display: none !important; }
      .nav-hamburger { display: flex; }
    }

    /* ── WORK EXAMPLES ── */
    .work-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 40px; }
    .work-filter__btn {
      font: 500 13px/1 'Inter', sans-serif;
      padding: 10px 16px;
      border: 1px solid var(--sand);
      border-radius: 999px;
      background: transparent;
      color: var(--text2);
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s, color 0.2s;
    }
    .work-filter__btn:hover { border-color: var(--terra); color: var(--terra); }
    .work-filter__btn.is-active { background: var(--terra); border-color: var(--terra); color: var(--white); }
    .work-filter__btn:focus-visible, .work-item:focus-visible { outline: 2px solid var(--terra); outline-offset: 4px; }

    .work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px 28px; align-items: start; }
    .work-item { display: block; color: inherit; text-decoration: none; border-radius: 14px; }
    .work-item[hidden] { display: none; }
    .work-item--feature { grid-column: 1 / -1; }

    .work-media {
      position: relative;
      aspect-ratio: 16 / 10;
      margin-bottom: 22px;
      border-radius: 14px;
      overflow: hidden;
      background: var(--cream2);
      box-shadow: 0 1px 2px rgba(28,18,8,.08), 0 18px 40px -26px rgba(28,18,8,.35);
      transition: box-shadow 0.6s ease, transform 0.6s cubic-bezier(.22,1,.36,1);
    }
    .work-item--feature .work-media { aspect-ratio: 1477 / 848; }
    .work-media img, .work-media video {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover; object-position: top center;
      display: block;
    }
    .work-hover { opacity: 0; transition: opacity 0.6s ease; }
    /* video cards: a play badge says there's a real call to watch; it fades while the hover loop runs */
    .case-play { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(28,18,8,.62); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
    .case-play::before { content: ''; margin-left: 4px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
    .work-item:focus-visible .work-hover { opacity: 1; }
    .work-item .case-client { line-height: 1.15; margin-bottom: 6px; }
    .work-item .case-url { display: block; }
    .work-item .case-desc { margin-bottom: 16px; }
    @media (hover: hover) {
      .work-item:hover .work-hover { opacity: 1; }
      .work-item:hover .case-play { opacity: 0; transform: scale(.9); }
      .work-item:hover .work-media { box-shadow: 0 2px 4px rgba(28,18,8,.08), 0 36px 60px -30px rgba(28,18,8,.45); }
      .work-item:hover .case-url { opacity: 0.65; }
    }

    /* Glass reflection: a hard diagonal edge, moved with the pointer by js */
    @property --gb { syntax: '<percentage>'; inherits: true; initial-value: 60%; }
    .media-glare {
      --gb: 60%;
      position: absolute; inset: 0; z-index: 1;
      pointer-events: none;
      border-radius: inherit;
      background: linear-gradient(225deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.2) calc(var(--gb) - .2%), rgba(12,16,32,.06) calc(var(--gb) + .2%), rgba(12,16,32,.02) 100%);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
      transition: --gb 0.6s cubic-bezier(.22,1,.36,1);
    }
    /* the flare where the edge runs out towards the bottom corner */
    .media-glare::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(225deg, rgba(255,255,255,0) calc(var(--gb) - 9%), rgba(255,255,255,.55) calc(var(--gb) - .2%), rgba(255,255,255,0) calc(var(--gb) + .2%));
      -webkit-mask-image: radial-gradient(circle at 100% 100%, #000, transparent 62%);
      mask-image: radial-gradient(circle at 100% 100%, #000, transparent 62%);
    }

    @media (max-width: 980px) {
      .work-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 640px) {
      .work-grid { grid-template-columns: 1fr; gap: 40px; }
      .work-filter { margin: -20px 0 28px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .work-media, .media-glare, .work-hover { transition: none; }
    }

    /* ── WORK EXAMPLES: popup image gallery ── */
    .gallery-modal { --gallery-ease: cubic-bezier(.22,1,.36,1); position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; padding: clamp(12px, 3vw, 32px); overscroll-behavior: contain; }
    .gallery-modal[hidden] { display: none; }
    .gallery-modal__backdrop { position: absolute; inset: 0; background: rgba(28,18,8,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .35s var(--gallery-ease); touch-action: none; }
    .gallery-modal__inner { position: relative; display: flex; flex-direction: column; gap: 12px; width: min(1180px, 100%); max-height: 100%; color: #fff; opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .35s var(--gallery-ease), transform .5s var(--gallery-ease); }
    .gallery-modal.is-open .gallery-modal__backdrop, .gallery-modal.is-open .gallery-modal__inner { opacity: 1; }
    .gallery-modal.is-open .gallery-modal__inner { transform: none; }
    .gallery-modal__top, .gallery-modal__bottom { display: flex; align-items: center; gap: 12px; flex: none; }
    .gallery-modal__title { font-family: var(--font-display); font-synthesis-weight: none; font-size: 1.15rem; font-weight: 400; color: #fff; }
    .gallery-modal__note { padding: 4px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: .78rem; color: #fff; white-space: nowrap; }
    .gallery-modal__close { position: relative; flex: none; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); cursor: pointer; transition: background .3s; }
    .gallery-modal__close span { position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: #fff; border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg); }
    .gallery-modal__close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
    .gallery-modal__frame { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; border-radius: 12px; background: var(--white); box-shadow: 0 40px 100px -30px rgba(0,0,0,.8); }
    .gallery-modal__frame:focus-visible, .gallery-modal__nav:focus-visible, .gallery-modal__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
    .gallery-modal__frame img { display: block; width: 100%; height: auto; }
    .gallery-modal__frame video { display: block; width: 100%; height: auto; max-height: calc(100vh - 160px); background: #1c1208; }
    .gallery-modal__frame [hidden] { display: none; }
    .gallery-modal__caption { flex: 1; min-width: 0; font-size: .95rem; line-height: 1.35; color: #fff; }
    .gallery-modal__count { font-size: .85rem; color: rgba(255,255,255,.75); white-space: nowrap; font-variant-numeric: tabular-nums; }
    .gallery-modal__nav { flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; transition: background .3s; }
    .gallery-modal__nav:hover, .gallery-modal__close:hover { background: var(--terra); }
    @media (max-width: 560px) {
      .gallery-modal__bottom { flex-wrap: wrap; }
      .gallery-modal__caption { order: -1; flex: 0 0 100%; }
      .gallery-modal__count { flex: 1; text-align: center; }
    }
    @media (prefers-reduced-motion: reduce) {
      .gallery-modal__backdrop, .gallery-modal__inner { transition: none; }
      .gallery-modal__inner { transform: none; }
    }
