/*
Theme Name: Kenmei
Theme URI: https://kenmei.co.in/
Author: Nishant Verma
Description: Custom theme for Kenmei Services Pvt Ltd — office interiors, renovation and turnkey fit-outs. Scroll-driven office walkthrough hero, editorial layout, four page templates (Home, About, Portfolio, Contact).
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary — built for Kenmei Services Pvt Ltd
Text Domain: kenmei
*/
/* Kenmei redesign: shared styles for all pages */
  :root {
    --navy: #13253d; --navy-2: #1b3352; --navy-3: #0d1a2c; --ink: #15191f; --ink-2: #3d4550; --muted: #7a7f86;
    --paper: #f4f0e8; --sand: #ebe4d6; --sand-2: #e2d9c7; --line: rgba(21, 25, 31, .13); --line-d: rgba(240, 234, 222, .16);
    --orange: #e0731f; --orange-2: #f3a25e; --bronze: #a8794a;
    --serif: 'Instrument Serif', Georgia, serif; --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
    --gutter: clamp(16px, 4.6vw, 80px); --max: 1440px; --ease: cubic-bezier(.2, .7, .1, 1);
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  a { color: inherit; } img { max-width: 100%; display: block; }
  ::selection { background: var(--orange); color: #fff; }
  :focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
  .g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
  h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; margin: 0; }
  h2 { font-size: clamp(42px, 5vw, 82px); line-height: 1.02; }
  h2 em, h1 em, h3 em { font-style: italic; color: var(--orange); }
  p { margin: 0; }
  .mono { font: 500 11.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
  .idx { color: var(--muted); } .idx b { color: var(--orange); font-weight: 500; margin-right: 10px; }
  .grain { position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .06; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

  /* section header: index on the left, title on the right */
  .sec { padding: clamp(96px, 15vh, 170px) 0; position: relative; }
  .sec-head { margin-bottom: clamp(48px, 7vh, 84px); align-items: end; }
  .sec-head .tag { grid-column: 1 / 4; display: flex; align-items: center; gap: 12px; color: var(--muted); align-self: start; padding-top: 14px; }
  .sec-head .tag b { color: var(--orange); font-weight: 500; }
  .sec-head .tag::after { content: ''; flex: 1; max-width: 70px; height: 1px; background: currentColor; opacity: .5; }
  .sec-head h2 { grid-column: 4 / 11; }
  .sec-head .aside { grid-column: 4 / 10; margin-top: 26px; color: var(--ink-2); max-width: 56ch; }
  .dark .sec-head .tag, .dark .idx { color: rgba(240,234,222,.6); }
  .dark .sec-head .aside { color: rgba(240,234,222,.72); }
  .dark .sec-head .tag b, .dark .idx b { color: var(--orange-2); }

  /* buttons + links */
  .btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: 999px; font: 600 14px/1 var(--sans); text-decoration: none; border: 1px solid currentColor; transition: background .35s, color .35s, gap .4s var(--ease), border-color .35s; white-space: nowrap; }
  .btn:hover { gap: 18px; }
  .btn.solid { background: var(--orange); border-color: var(--orange); color: #fff; }
  .btn.solid:hover { background: transparent; color: var(--orange); }
  .btn.ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
  .btn.ink:hover { background: transparent; color: var(--ink); }
  .link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 14px/1 var(--sans); padding-bottom: 6px; border-bottom: 1px solid currentColor; transition: gap .4s var(--ease), color .3s; }
  .link:hover { gap: 16px; color: var(--orange); }

  /* nav */
  .nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .5s var(--ease), color .5s, border-color .5s; color: #fff; border-bottom: 1px solid transparent; }
  .nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
  .logo { display: block; position: relative; height: 62px; }
  .logo img { height: 100%; width: auto; transition: opacity .45s var(--ease); }
  .logo .l-color { position: absolute; left: 0; top: 0; opacity: 0; }
  .nav .logo img { filter: drop-shadow(0 1px 6px rgba(0,0,0,.25)); }
  .nav.solid .logo img { filter: none; }
  .nav.solid .logo .l-light { opacity: 0; } .nav.solid .logo .l-color { opacity: 1; }
  .links { display: flex; gap: 34px; font: 500 14px/1 var(--sans); }
  .links a { text-decoration: none; opacity: .86; position: relative; padding: 6px 0; }
  .links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
  .links a:hover { opacity: 1; } .links a:hover::after { transform: scaleX(1); transform-origin: left; }
  .nav .btn { padding: 12px 22px; }
  .nav.solid { background: rgba(244, 240, 232, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); border-bottom-color: var(--line); }

  /* ---------- HERO: the walkthrough ---------- */
  .walk { position: relative; height: 1500vh; background: var(--navy-3); color: #fff; }
  .walk-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
  #walkCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .walk-fb { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity .8s; }
  .walk-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,18,30,.66) 0%, rgba(10,18,30,0) 26%), linear-gradient(0deg, rgba(10,18,30,.74) 0%, rgba(10,18,30,0) 40%); }
  .stage { position: absolute; top: 112px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.68); z-index: 1; }
  .walk-hero { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(48px, 10vh, 110px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
  .walk-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,30,.78) 0%, rgba(10,18,30,.35) 45%, rgba(10,18,30,0) 70%); pointer-events: none; }
  .walk-hero .wrap { position: relative; width: 100%; }
  .walk.walking .walk-hero { opacity: 0; transform: translateY(-30px); pointer-events: none; }
  .walk h1 { font-size: clamp(50px, 7.4vw, 124px); line-height: .96; max-width: 11.5ch; }
  .walk h1 em { color: var(--orange-2); }
  .walk h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
  .walk h1 .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
  .walk.on h1 .ln > span { transform: none; }
  .hero-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; margin-top: 32px; opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease) .7s, transform 1.2s var(--ease) .7s; }
  .walk.on .hero-sub { opacity: 1; transform: none; }
  .hero-sub p { max-width: 46ch; color: rgba(255,255,255,.82); font-size: 16px; }
  .scrollhint { position: absolute; right: var(--gutter); bottom: clamp(48px, 10vh, 110px); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.68); display: flex; align-items: center; gap: 12px; }
  .scrollhint i { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
  @keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
  .walk-room { position: absolute; left: var(--gutter); bottom: clamp(44px, 9vh, 96px); transition: opacity .8s var(--ease); }
  .walk-room .no { font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--orange-2); }
  .walk-room h3 { font-size: clamp(42px, 5.6vw, 92px); line-height: 1; margin: 12px 0 10px; }
  .walk-room .sub { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
  .walk-room > * { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
  .walk-room.in > * { opacity: 1; transform: none; }
  .walk-room.in h3 { transition-delay: .06s; } .walk-room.in .sub { transition-delay: .12s; }
  .walk-rail { position: absolute; right: var(--gutter); bottom: clamp(44px, 9vh, 96px); list-style: none; margin: 0; padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 10px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.42); transition: opacity .8s var(--ease); }
  .walk-rail li { transition: color .4s, transform .5s var(--ease); }
  .walk-rail li.on { color: #fff; transform: translateX(-6px); }
  .walk-rail .track { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.2); }
  .walk-rail .track b { position: absolute; inset: 0; background: var(--orange); transform-origin: top; transform: scaleY(0); }
  .walk:not(.walking) .walk-room, .walk:not(.walking) .walk-rail { opacity: 0; }
  .walk-note { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font: 400 10.5px/1 var(--mono); letter-spacing: .08em; color: rgba(255,255,255,.45); white-space: nowrap; }

  /* ---------- 01 INTRO ---------- */
  .intro .idx { grid-column: 1 / 4; padding-top: 18px; }
  .intro .statement { grid-column: 4 / 13; font: 400 clamp(34px, 4.1vw, 66px)/1.12 var(--serif); letter-spacing: -.012em; }
  .intro .statement .w { opacity: .16; transition: opacity .6s; }
  .intro .statement .w.on { opacity: 1; }
  .intro .statement em { color: var(--orange); }
  .intro-grid { margin-top: clamp(64px, 10vh, 120px); align-items: end; }
  .intro-img { grid-column: 1 / 8; }
  .intro-side { grid-column: 9 / 13; padding-bottom: 8px; }
  .intro-side p { color: var(--ink-2); }
  .figure { position: relative; overflow: hidden; border-radius: 4px; background: var(--sand); margin: 0; }
  .figure img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
  .figure.par img { height: 118%; margin-top: -9%; }
  .figure figcaption { position: absolute; left: 16px; bottom: 14px; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
  .r45 { aspect-ratio: 4 / 5; } .r11 { aspect-ratio: 1 / 1; } .r169 { aspect-ratio: 16 / 10; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; margin: 34px 0 36px; border-top: 1px solid var(--line); }
  .facts div { padding: 20px 14px 18px 0; border-bottom: 1px solid var(--line); }
  .facts div:nth-child(odd) { border-right: 1px solid var(--line); }
  .facts div:nth-child(even) { padding-left: 20px; }
  .facts b { display: block; font: 400 clamp(36px, 3.2vw, 52px)/1 var(--serif); margin-bottom: 6px; }
  .facts span { color: var(--muted); }

  /* ---------- 02 ABOUT ---------- */
  .about { background: var(--sand); }
  .collage { grid-column: 1 / 7; position: relative; padding-bottom: 14%; }
  .collage .main { width: 82%; }
  .collage .inset { position: absolute; right: 0; bottom: 0; width: 46%; border: 10px solid var(--sand); border-radius: 6px; }
  .collage .stamp { position: absolute; right: 4%; top: 0; writing-mode: vertical-rl; color: var(--muted); }
  .about-text { grid-column: 8 / 13; align-self: center; }
  .about-text h2 { margin: 22px 0 28px; font-size: clamp(40px, 4.2vw, 68px); }
  .about-text p { color: var(--ink-2); margin-bottom: 16px; }
  .sign { display: flex; align-items: center; gap: 16px; margin: 32px 0 36px; padding-top: 24px; border-top: 1px solid var(--line); }
  .sign i { font: italic 400 30px/1 var(--serif); color: var(--ink); }
  .sign span { color: var(--muted); }

  /* ---------- 03 SERVICES (sticky image + list) ---------- */
  .dark { background: var(--navy); color: #f0eade; }
  .svc-grid { align-items: start; }
  .svc-media { grid-column: 1 / 6; position: sticky; top: 110px; }
  .svc-media .figure { aspect-ratio: 4 / 5; }
  .svc-media .figure img { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
  .svc-media .figure img.on { opacity: 1; transform: none; }
  .svc-media .cap { display: flex; justify-content: space-between; margin-top: 16px; color: rgba(240,234,222,.6); }
  .svc-media .cap b { color: var(--orange-2); font-weight: 500; }
  .svc-list { grid-column: 7 / 13; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); }
  .svc-item { padding: 38px 0 40px; border-bottom: 1px solid var(--line-d); display: grid; grid-template-columns: 64px 1fr; column-gap: 10px; cursor: default; transition: opacity .5s; }
  .svc-list.has-active .svc-item:not(.on) { opacity: .42; }
  .svc-item .no { color: var(--orange-2); padding-top: 12px; }
  .svc-item h3 { font-size: clamp(30px, 2.8vw, 44px); line-height: 1.05; }
  .svc-item p { grid-column: 2; margin-top: 12px; color: rgba(240,234,222,.7); max-width: 48ch; }
  .chips { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
  .chips span { padding: 7px 12px; border: 1px solid var(--line-d); border-radius: 999px; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(240,234,222,.75); }

  /* ---------- 04 PROCESS ---------- */
  .steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
  .steps::before { content: ''; position: absolute; left: 0; right: 0; top: 38px; height: 1px; background: var(--line); }
  .steps .bar { position: absolute; left: 0; top: 38px; height: 1px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) .3s; }
  .steps.in .bar { transform: none; }
  .step .num { font: 400 76px/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--bronze); display: block; height: 76px; background: var(--paper); width: max-content; padding-right: 16px; position: relative; }
  .step h3 { font-size: 32px; margin: 26px 0 12px; }
  .step p { color: var(--ink-2); font-size: 15.5px; }
  .step .mono { display: block; margin-top: 18px; color: var(--muted); }

  /* ---------- MARQUEE ---------- */
  .marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
  .marquee .track { display: flex; align-items: center; width: max-content; animation: slide 48s linear infinite; }
  .marquee span { font: italic 400 clamp(34px, 4vw, 60px)/1 var(--serif); padding: 0 30px; white-space: nowrap; }
  .marquee span:nth-child(even) { font-style: normal; color: var(--orange); font-size: clamp(16px, 1.8vw, 24px); }
  @keyframes slide { to { transform: translateX(-50%); } }

  /* ---------- 05 PROJECTS ---------- */
  .projects-head { grid-column: 4 / 13; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
  .pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
  .pcard { position: relative; aspect-ratio: 4 / 3.3; border-radius: 6px; overflow: hidden; background: var(--navy); color: #f0eade; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
  .pcard::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 18px 18px, 18px 18px, 90px 90px, 90px 90px; transition: opacity .6s; opacity: .7; }
  .pcard::after { content: attr(data-initials); position: absolute; right: -6px; bottom: -34px; font: italic 400 190px/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(243,162,94,.45); transition: transform 1s var(--ease), -webkit-text-stroke-color .6s; }
  .pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(13,26,44,.55); }
  .pcard:hover::before { opacity: 1; }
  .pcard:hover::after { transform: translate(-10px, -8px); -webkit-text-stroke-color: rgba(243,162,94,.9); }
  .pcard > * { position: relative; z-index: 1; }
  .pcard .top { display: flex; justify-content: space-between; color: rgba(240,234,222,.6); }
  .pcard .top .live { color: var(--orange-2); }
  .pcard h3 { font-size: clamp(28px, 2.4vw, 38px); line-height: 1.05; max-width: 12ch; }
  .pcard .ph { margin-top: 10px; color: rgba(240,234,222,.5); }
  .pnote { margin-top: 22px; color: var(--muted); }

  /* ---------- 06 WHY ---------- */
  .why { background: var(--sand); }
  .why-grid { align-items: start; }
  .why-img { grid-column: 1 / 6; position: sticky; top: 110px; }
  .why-text { grid-column: 7 / 13; }
  .why-text h2 { margin: 22px 0 46px; }
  .wlist { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3vw, 48px); }
  .wlist div { padding: 26px 0 30px; border-top: 1px solid var(--line); }
  .wlist b { font: 500 12px/1 var(--mono); color: var(--orange); letter-spacing: .1em; }
  .wlist h3 { font-size: 28px; margin: 12px 0 8px; }
  .wlist p { color: var(--ink-2); font-size: 15.5px; }

  /* ---------- BAND ---------- */
  .band { position: relative; height: 88vh; overflow: hidden; display: grid; place-items: center; color: #fff; text-align: center; }
  .band img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
  .band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(12,22,36,.35), rgba(12,22,36,.72)); }
  .band > div { position: relative; z-index: 1; }
  .band blockquote { margin: 0; font: 400 clamp(46px, 7vw, 124px)/1 var(--serif); letter-spacing: -.02em; }
  .band blockquote em { color: var(--orange-2); }
  .band cite { display: block; margin-top: 24px; font-style: normal; opacity: .82; }

  /* ---------- CLIENTS ---------- */
  .clients { padding: clamp(80px, 12vh, 130px) 0; }
  .clients .g12 { align-items: center; }
  .clients h3 { grid-column: 1 / 5; font-size: clamp(30px, 2.6vw, 42px); line-height: 1.1; }
  .logos { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
  .logos div { display: grid; place-items: center; padding: 30px 18px; border-right: 1px solid var(--line); }
  .logos img { max-height: 52px; width: auto; filter: grayscale(1); opacity: .62; mix-blend-mode: multiply; transition: filter .4s, opacity .4s; }
  .logos div:hover img { filter: none; opacity: 1; }

  /* ---------- CONTACT + FOOTER ---------- */
  .cta { background: var(--navy); color: #f0eade; padding: clamp(100px, 16vh, 170px) 0 0; overflow: hidden; }
  .cta-grid { align-items: end; }
  .cta-main { grid-column: 1 / 8; }
  .cta-main h2 { font-size: clamp(50px, 7vw, 120px); line-height: .95; margin: 22px 0 30px; }
  .cta-main h2 em { color: var(--orange-2); }
  .cta-main p { color: rgba(240,234,222,.72); max-width: 46ch; }
  .cta-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
  .cta-btns .btn:not(.solid) { color: #f0eade; }
  .cards { grid-column: 9 / 13; border-top: 1px solid var(--line-d); }
  .cards a, .cards div { display: block; padding: 22px 0; border-bottom: 1px solid var(--line-d); text-decoration: none; }
  .cards span { display: block; color: rgba(240,234,222,.55); margin-bottom: 8px; }
  .cards b { font: 400 24px/1.3 var(--serif); }
  .cards a:hover b { color: var(--orange-2); }
  footer { margin-top: clamp(64px, 9vh, 100px); border-top: 1px solid var(--line-d); padding: 30px 0 28px; }
  .foot { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
  .foot-logo { height: 52px; display: block; }
  .foot-logo img { height: 100%; width: auto; }
  .foot-links { display: flex; gap: 30px; font-size: 14px; }
  .foot-links a, .totop { text-decoration: none; color: rgba(240,234,222,.72); transition: color .3s; }
  .foot-links a:hover, .totop:hover { color: var(--orange-2); }
  .legal { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-d); color: rgba(240,234,222,.42); }
  .legal a { color: inherit; text-decoration: underline; text-decoration-color: rgba(240,234,222,.3); text-underline-offset: 3px; transition: color .3s; }
  .legal a:hover { color: #f0eade; }

  /* ---------- reveal on scroll ---------- */
  .js .rv { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
  .js .rv.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .js .rv, .walk h1 .ln > span, .hero-sub { opacity: 1 !important; transform: none !important; transition: none !important; }
    .scrollhint i, .marquee .track { animation: none; }
  }

  /* ---------- responsive ---------- */
  @media (max-width: 1100px) {
    .sec-head .tag, .intro .idx { grid-column: 1 / -1; margin-bottom: 18px; }
    .sec-head h2, .sec-head .aside, .projects-head { grid-column: 1 / -1; }
    .intro .statement { grid-column: 1 / -1; }
    .intro-img { grid-column: 1 / -1; } .intro-side { grid-column: 1 / -1; margin-top: 36px; }
    .collage { grid-column: 1 / -1; } .about-text { grid-column: 1 / -1; margin-top: 48px; }
    .svc-media { grid-column: 1 / -1; position: relative; top: 0; margin-bottom: 30px; } .svc-media .figure { aspect-ratio: 16 / 10; }
    .svc-list { grid-column: 1 / -1; }
    .steps { grid-template-columns: 1fr 1fr; row-gap: 46px; } .steps::before, .steps .bar { display: none; }
    .pgrid { grid-template-columns: 1fr 1fr; }
    .why-img { grid-column: 1 / -1; position: relative; top: 0; } .why-text { grid-column: 1 / -1; margin-top: 40px; }
    .clients h3 { grid-column: 1 / -1; margin-bottom: 26px; } .logos { grid-column: 1 / -1; }
    .cta-main, .cards { grid-column: 1 / -1; } .cards { margin-top: 46px; }
  }
  @media (max-width: 960px) { .links { display: none; } }
  @media (max-width: 640px) {
    body { font-size: 16px; }
    .nav .btn { display: none; }
    .logo { height: 52px; }
    .walk { height: 1150vh; }
    .walk-rail, .scrollhint { display: none; }
    .stage span:last-child { display: none; }
    .walk-shade { background: linear-gradient(180deg, rgba(10,18,30,.6) 0%, rgba(10,18,30,0) 22%), linear-gradient(0deg, rgba(10,18,30,.7) 0%, rgba(10,18,30,0) 30%); }
    .walk-note { white-space: normal; text-align: center; width: 90%; }
    .collage .stamp { display: none; }
    .steps, .pgrid, .wlist { grid-template-columns: 1fr; }
    .projects-head { flex-direction: column; align-items: start; }
    .logos { grid-template-columns: 1fr 1fr; border-left: 0; }
    .logos div:nth-child(2n) { border-right: 0; } .logos div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .foot-links { gap: 20px; flex-wrap: wrap; }
    .legal { flex-direction: column; gap: 10px; }
  }

/* =========================================================
   Inner pages (About, Portfolio, Contact): same tokens, same rhythm
   ========================================================= */
.links a[aria-current="page"] { opacity: 1; }
.links a[aria-current="page"]::after { transform: scaleX(1); }

/* page hero */
.page-hero { position: relative; height: 78vh; min-height: 560px; overflow: hidden; color: #fff; background: var(--navy-3); display: flex; align-items: flex-end; }
.page-hero .ph-bg { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.page-hero .ph-bg img { width: 100%; height: 120%; margin-top: -10%; object-fit: cover; transform: scale(1.08); transition: transform 2.4s var(--ease); }
.page-hero.on .ph-bg img { transform: none; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,30,.82) 0%, rgba(10,18,30,.45) 50%, rgba(10,18,30,.15) 100%), linear-gradient(0deg, rgba(10,18,30,.7), rgba(10,18,30,0) 50%); }
.ph-inner { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(48px, 9vh, 100px); }
.crumb { color: rgba(255,255,255,.65); margin-bottom: 26px; display: flex; gap: 12px; align-items: center; }
.crumb a { text-decoration: none; } .crumb a:hover { color: var(--orange-2); }
.crumb b { color: var(--orange-2); font-weight: 500; }
.page-hero h1 { font-size: clamp(50px, 7vw, 116px); line-height: .96; max-width: 13ch; }
.page-hero h1 em { color: var(--orange-2); }
.page-hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.page-hero h1 .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.page-hero.on h1 .ln > span { transform: none; }
.page-hero .lead { margin-top: 26px; max-width: 48ch; color: rgba(255,255,255,.82); opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .6s, transform 1.2s var(--ease) .6s; }
.page-hero.on .lead { opacity: 1; transform: none; }
.ph-meta { position: absolute; right: var(--gutter); bottom: clamp(48px, 9vh, 100px); z-index: 1; color: rgba(255,255,255,.65); text-align: right; }

/* about: intro + stats */
.lede-grid { align-items: start; }
.lede-grid .idx { grid-column: 1 / 4; padding-top: 18px; }
.lede-grid .big { grid-column: 4 / 13; font: 400 clamp(34px, 4vw, 64px)/1.1 var(--serif); letter-spacing: -.012em; }
.lede-grid .big em { color: var(--orange); }
.cols2 { grid-column: 4 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); margin-top: 46px; color: var(--ink-2); }
.stats { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--ink); }
.stats div { padding: 26px 20px 0 0; }
.stats b { display: block; font: 400 clamp(46px, 5vw, 80px)/1 var(--serif); }
.stats span { color: var(--muted); }

/* about: vision + mission */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.vm-card { background: rgba(255,255,255,.04); border: 1px solid var(--line-d); border-radius: 6px; padding: clamp(28px, 4vw, 54px); }
.vm-card .mono { color: var(--orange-2); }
.vm-card h3 { font-size: clamp(32px, 3vw, 48px); margin: 18px 0 18px; }
.vm-card p { color: rgba(240,234,222,.75); font-size: 18px; }
.vm-card ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.vm-card li { counter-increment: m; display: grid; grid-template-columns: 40px 1fr; padding: 14px 0; border-top: 1px solid var(--line-d); color: rgba(240,234,222,.82); }
.vm-card li::before { content: "0" counter(m); font: 500 11px/2.2 var(--mono); color: var(--orange-2); letter-spacing: .1em; }

/* about: team */
.team-grid { align-items: end; }
.team-quote { grid-column: 1 / 6; }
.team-quote blockquote { margin: 26px 0 0; font: italic 400 clamp(34px, 3.4vw, 54px)/1.12 var(--serif); }
.team-quote blockquote::before { content: "\201C"; display: block; color: var(--orange); font-size: 1.6em; line-height: .6; margin-bottom: 10px; font-style: normal; }
.people { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.person .figure { aspect-ratio: 3 / 4; background: var(--sand-2); }
.person .figure img { object-position: center top; filter: grayscale(.25); transition: filter .6s, transform 1.2s var(--ease); }
.person:hover .figure img { filter: none; transform: scale(1.03); }
.person h3 { font-size: 28px; margin: 18px 0 4px; }
.person span { color: var(--muted); }

/* portfolio: filters + masonry gallery + lightbox */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters button { font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--ink-2); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gallery { columns: 3; column-gap: clamp(16px, 2vw, 26px); }
.tile { break-inside: avoid; margin: 0 0 clamp(16px, 2vw, 26px); position: relative; border-radius: 6px; overflow: hidden; cursor: zoom-in; background: var(--sand); }
.tile img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile figcaption { position: absolute; inset: auto 0 0 0; padding: 50px 18px 16px; background: linear-gradient(0deg, rgba(10,18,30,.78), rgba(10,18,30,0)); color: #fff; display: flex; justify-content: space-between; align-items: end; gap: 12px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.tile:hover figcaption, .tile:focus-visible figcaption { opacity: 1; transform: none; }
.tile figcaption b { font: 400 24px/1.1 var(--serif); }
.tile figcaption span { color: rgba(255,255,255,.7); }
.tile.hide { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,14,24,.94); display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 70px var(--gutter) 30px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.lightbox.on { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; border-radius: 4px; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.75); padding-top: 18px; gap: 16px; }
.lb-bar b { font: 400 26px/1 var(--serif); color: #fff; margin-right: 14px; }
.lb-btns { display: flex; gap: 10px; }
.lb-btns button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; font-size: 18px; cursor: pointer; transition: background .3s, border-color .3s; }
.lb-btns button:hover { background: var(--orange); border-color: var(--orange); }

/* contact page */
.contact-grid { align-items: start; }
.contact-info { grid-column: 1 / 6; }
.contact-info h2 { margin: 22px 0 22px; font-size: clamp(40px, 4.2vw, 66px); }
.contact-info > p { color: var(--ink-2); }
.promises { list-style: none; margin: 32px 0 40px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; border-top: 1px solid var(--line); }
.promises li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 15px; }
.promises li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.dcards { display: grid; border-top: 1px solid var(--ink); }
.dcards > * { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.dcards span { display: block; color: var(--muted); margin-bottom: 6px; }
.dcards b { font: 400 24px/1.35 var(--serif); }
.dcards a:hover b { color: var(--orange); }
.map-link { display: inline-block; margin-top: 10px; font: 600 13px/1 var(--sans); color: var(--orange); text-decoration: none; }
.form-card { grid-column: 7 / 13; background: var(--sand); border-radius: 8px; padding: clamp(28px, 4vw, 56px); }
.form-card h3 { font-size: clamp(30px, 2.6vw, 42px); margin: 14px 0 6px; }
.form-card .hint { color: var(--muted); font-size: 14.5px; }
.kform { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 26px; margin-top: 26px; }
.kform .full { grid-column: 1 / -1; }
.kform label { display: flex; flex-direction: column; color: var(--muted); padding-top: 14px; }
.kform input, .kform textarea { margin-top: 8px; background: none; border: 0; border-bottom: 1px solid rgba(21,25,31,.25); padding: 8px 0 12px; font: 400 18px/1.4 var(--sans); color: var(--ink); outline: none; border-radius: 0; transition: border-color .3s; }
.kform textarea { resize: vertical; min-height: 120px; }
.kform input:focus, .kform textarea:focus { border-bottom-color: var(--orange); }
.kform .bad { border-bottom-color: #b3261e; }
.kform .field { display: flex; flex-direction: column; color: var(--muted); padding-top: 14px; }
.kform .field > label { padding: 0; }
.kform .phone-row { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 14px; }
.kform select { margin-top: 8px; background: none; border: 0; border-bottom: 1px solid rgba(21,25,31,.25); padding: 8px 22px 12px 0; font: 400 16px/1.4 var(--sans); color: var(--ink); outline: none; border-radius: 0; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2315191f' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; }
.kform select:focus { border-bottom-color: var(--orange); }
.kform [aria-invalid="true"] { border-bottom-color: #b3261e; }
.kform .field-err { margin-top: 6px; font: 600 13px/1.4 var(--sans); color: #b3261e; text-transform: none; letter-spacing: 0; }
.kform .foot-row { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.kform .status { font-size: 14px; color: var(--muted); }
.kform .status.warn { color: #b3261e; }
.kform button { cursor: pointer; font-family: var(--sans); }

/* compact closing band for inner pages */
.cta.slim { padding-top: clamp(80px, 12vh, 130px); }
.cta.slim .cta-main { grid-column: 1 / 10; }

@media (max-width: 1100px) {
  .lede-grid .idx, .lede-grid .big, .cols2, .stats { grid-column: 1 / -1; }
  .team-quote, .people { grid-column: 1 / -1; } .people { margin-top: 40px; }
  .contact-info, .form-card { grid-column: 1 / -1; } .form-card { margin-top: 50px; }
  .gallery { columns: 2; }
  .cta.slim .cta-main { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .page-hero { height: 72vh; }
  .ph-meta { display: none; }
  .cols2, .vm, .promises, .kform { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 10px; } .stats div:last-child { grid-column: 1 / -1; } .stats b { font-size: 46px; }
  .gallery { columns: 1; }
}

/* =========================================================
   Mobile / tablet menu (built by main.js from the main nav)
   ========================================================= */
.menu-btn { display: none; position: relative; z-index: 61; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; background: none; color: inherit; cursor: pointer; padding: 0; }
.menu-btn i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-btn i:first-child { top: 19px; } .menu-btn i:last-child { top: 27px; }
.menu-open .menu-btn i:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .menu-btn i:last-child { top: 23px; transform: rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 49; background: var(--navy-3); color: #f0eade; display: flex; flex-direction: column; justify-content: space-between; padding: 120px var(--gutter) 36px; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; overflow-y: auto; }
.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.mmenu nav { display: flex; flex-direction: column; }
.mmenu nav a { display: flex; align-items: baseline; gap: 18px; text-decoration: none; font: 400 clamp(44px, 11vw, 76px)/1.08 var(--serif); padding: 6px 0; border-bottom: 1px solid var(--line-d); opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s; }
.mmenu nav a small { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--orange-2); }
.mmenu nav a[aria-current="page"] { color: var(--orange-2); }
.mmenu nav a:hover { color: var(--orange-2); }
.menu-open .mmenu nav a { opacity: 1; transform: none; }
.menu-open .mmenu nav a:nth-child(2) { transition-delay: .06s; } .menu-open .mmenu nav a:nth-child(3) { transition-delay: .12s; } .menu-open .mmenu nav a:nth-child(4) { transition-delay: .18s; }
.mmenu .mm-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-top: 40px; opacity: 0; transition: opacity .6s var(--ease) .25s; }
.menu-open .mmenu .mm-foot { opacity: 1; }
.mmenu .mm-foot p { margin: 0; color: rgba(240,234,222,.65); font-size: 14px; line-height: 1.7; }
.mmenu .mm-foot a:not(.btn) { text-decoration: none; }
.menu-open .nav { color: #fff; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .nav .logo .l-light { opacity: 1; } .menu-open .nav .logo .l-color { opacity: 0; }
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav .btn { display: none; }
}
@media (min-width: 961px) { .mmenu { display: none; } }


/* ---------- WordPress: shared footer + generic pages ---------- */
.cta { padding-bottom: clamp(70px, 10vh, 110px); }
.site-foot { background: var(--navy); color: #f0eade; }
.site-foot footer { margin-top: 0; }
.generic { padding: clamp(150px, 20vh, 220px) 0 clamp(80px, 12vh, 140px); }
.generic h1 { font-size: clamp(44px, 6vw, 92px); line-height: 1; margin-bottom: 40px; }
.generic .entry { max-width: 760px; color: var(--ink-2); }
.generic .entry > * + * { margin-top: 1.1em; }
.generic .entry a { color: var(--orange); }
/* ---------- SureForms (or any plugin form) dressed in the Kenmei form style ----------
   Its colour variables pointed at the old Astra palette, so they're re-mapped here. */
.kform-plugin { margin-top: 26px;
  --srfm-color-scheme-primary: var(--orange); --srfm-color-scheme-text-on-primary: #fff; --srfm-color-scheme-text: var(--ink);
  --srfm-color-input-label: var(--muted); --srfm-color-input-text: var(--ink); --srfm-color-input-placeholder: var(--muted);
  --srfm-color-input-background: transparent; --srfm-color-input-background-hover: transparent; --srfm-color-input-border: rgba(21,25,31,.25);
  --srfm-btn-color-hover: transparent; --srfm-quill-editor-color: var(--orange); }
.kform-plugin form.srfm-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; row-gap: 6px; padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.kform-plugin .srfm-block, .kform-plugin .srfm-block-single { margin: 0 !important; padding: 14px 0 0 !important; min-width: 0; }
.kform-plugin .srfm-textarea-block, .kform-plugin .srfm-submit-container, .kform-plugin .srfm-common-error-message, .kform-plugin .srfm-success-box, .kform-plugin [class*="srfm-gdpr"], .kform-plugin [class*="srfm-checkbox"] { grid-column: 1 / -1; }
.kform-plugin .srfm-input-common { width: 100%; background: transparent !important; border: 0 !important; border-bottom: 1px solid rgba(21,25,31,.25) !important; border-radius: 0 !important; box-shadow: none !important; outline: none !important; padding-top: 12px !important; padding-bottom: 12px !important; padding-right: 0 !important; min-height: 0 !important; height: auto !important; font: 400 18px/1.4 var(--sans) !important; color: var(--ink) !important; transition: border-color .3s; }
.kform-plugin .srfm-input-common:not(.iti__tel-input) { padding-left: 0 !important; }
/* Phone block: country flag + dial code sit on the same underline; the widget sets the text's left padding itself */
.kform-plugin .iti { display: block; width: 100%; }
.kform-plugin .iti__country-container { padding: 0 !important; }
.kform-plugin .iti__selected-country { background: transparent !important; border: 0 !important; padding: 0 10px 0 0 !important; }
.kform-plugin .iti__selected-country-primary { padding: 0 6px 0 0 !important; }
.kform-plugin .iti__selected-dial-code { font: 400 18px/1.4 var(--sans); color: var(--ink); margin-left: 4px; }
.kform-plugin .iti__dropdown-content { border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(21,25,31,.35); font: 400 15px/1.4 var(--sans); }
.kform-plugin .iti__search-input { font: 400 15px var(--sans); padding: 10px 12px; }
.kform-plugin .srfm-input-common:hover { background: transparent !important; }
.kform-plugin .srfm-input-common:focus { border-bottom-color: var(--orange) !important; }
.kform-plugin .srfm-input-common::placeholder { font: 500 11.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: 1; }
.kform-plugin textarea.srfm-input-common { min-height: 130px !important; resize: vertical; }
.kform-plugin .srfm-block-label, .kform-plugin label.srfm-block-label { font: 500 11.5px/1.4 var(--mono) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--muted) !important; }
.kform-plugin .srfm-error-message, .kform-plugin .srfm-error-content { font: 500 13px/1.4 var(--sans) !important; color: #b3261e !important; }
.kform-plugin .srfm-common-error-message:empty { display: none; }
.kform-plugin .srfm-submit-container { display: flex; justify-content: flex-end; margin-top: 26px !important; }
.kform-plugin .srfm-submit-container .wp-block-button { margin: 0; }
.kform-plugin .srfm-submit-button, .kform-plugin button[type="submit"] { display: inline-flex !important; align-items: center; gap: 12px; padding: 15px 26px !important; border-radius: 999px !important; border: 1px solid var(--orange) !important; background: var(--orange) !important; color: #fff !important; font: 600 14px/1 var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; box-shadow: none !important; cursor: pointer; transition: background .35s, color .35s, gap .4s var(--ease); width: auto !important; }
.kform-plugin .srfm-submit-button:hover { background: transparent !important; color: var(--orange) !important; gap: 18px; }
.kform-plugin .srfm-submit-button .srfm-submit-wrap, .kform-plugin .srfm-submit-button * { color: inherit !important; font: inherit !important; }
.kform-plugin .srfm-submit-button::after { content: "\2192"; }
.kform-plugin .srfm-success-box { padding: 26px 0 !important; background: none !important; border: 0 !important; font: 400 26px/1.3 var(--serif); color: var(--ink); }
@media (max-width: 640px) { .kform-plugin form.srfm-form { grid-template-columns: 1fr; } .kform-plugin .srfm-submit-container .wp-block-button { width: 100%; } .kform-plugin .srfm-submit-button { width: 100% !important; justify-content: center; } }
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }
