/* ==========================================================
   Will DiD it Handyman Maintenance Services
   Design system + layout + motion
   ========================================================== */

:root {
  --y1: #FFD600;
  --y2: #FFBE00;
  --orange: #F5A000;
  --char: #222326;
  --black: #111111;
  --white: #FFFFFF;
  --off: #F8F8F6;
  --ink-soft: #4a4b50;
  --line: rgba(17, 17, 17, .1);

  --f-head: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --pill: 999px;

  --sh-1: 0 1px 2px rgba(17,17,17,.04), 0 8px 24px -8px rgba(17,17,17,.10);
  --sh-2: 0 2px 4px rgba(17,17,17,.04), 0 24px 48px -16px rgba(17,17,17,.22);
  --sh-3: 0 4px 8px rgba(17,17,17,.06), 0 40px 80px -24px rgba(17,17,17,.32);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(80px, 11vw, 140px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--y1); color: var(--black); }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--y1); }

.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 300; background: var(--black); color: var(--y1); padding: 10px 18px; border-radius: var(--pill); transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow.on-light { color: var(--orange); }
.eyebrow.on-light::before { background: var(--y2); }

.h-xl { font-size: clamp(2.6rem, 6.6vw, 6.1rem); }
.h-lg { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.h-md { font-size: clamp(1.8rem, 3.6vw, 3rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 56ch; }
.yellow-text { color: var(--y1); }
.marker { position: relative; display: inline-block; z-index: 0; white-space: nowrap; }
.marker::before {
  content: ""; position: absolute; z-index: -1; left: -.12em; right: -.12em; bottom: .06em; height: .42em;
  background: var(--y1); border-radius: 6px; transform: rotate(-1.5deg) scaleX(0); transform-origin: left;
  transition: transform .9s .25s var(--ease);
}
.in .marker::before, .marker.in::before { transform: rotate(-1.5deg) scaleX(1); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 6vw, 72px); display: grid; gap: 18px; justify-items: center; }
.section-head .lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--black); --fg: var(--white); --bd: var(--black);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: var(--pill);
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  font-family: var(--f-head); font-weight: 700; font-size: .95rem; letter-spacing: -.01em; white-space: nowrap;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--hover-bg, var(--y1)); transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--hover-fg, var(--black)); border-color: var(--hover-bd, var(--black)); box-shadow: 0 14px 30px -12px rgba(17,17,17,.45); }
.btn .i { font-size: 1.1em; transition: transform .4s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }

.btn-dark { --hover-bg: var(--white); }
.btn-outline { --bg: transparent; --fg: var(--black); --hover-bg: var(--black); --hover-fg: var(--white); }
.btn-yellow { --bg: var(--y1); --fg: var(--black); --bd: var(--y1); --hover-bg: var(--black); --hover-fg: var(--y1); --hover-bd: var(--black); }
.btn-light-outline { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,.4); --hover-bg: var(--y1); --hover-fg: var(--black); --hover-bd: var(--y1); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .86rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================
   Header
   ========================================================== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 18px 0; transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease); }
.site-header.scrolled { padding: 10px 0; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 10px 30px -18px rgba(17,17,17,.35); }
.site-header.hide { transform: translateY(-100%); }
.site-header { transition: transform .45s var(--ease), padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease); }
.header-inner { display: flex; align-items: center; gap: 28px; }

.logo { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; position: relative; z-index: 2; }
.logo-mark {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--black); color: var(--y1); font-size: 1.35rem; transform: rotate(-8deg);
  transition: transform .5s var(--ease-back);
}
.logo:hover .logo-mark { transform: rotate(12deg) scale(1.06); }
.logo-text { font-family: var(--f-head); font-weight: 800; font-size: 1.32rem; letter-spacing: -.04em; line-height: 1; display: grid; }
.logo-text b { color: var(--white); -webkit-text-stroke: 1.6px var(--black); paint-order: stroke fill; }
.logo-text small { font-family: var(--f-body); font-weight: 600; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 5px; opacity: .72; }

.nav ul { display: flex; gap: 2px; }
.nav a.nav-link { position: relative; display: inline-block; padding: 10px 11px; font-family: var(--f-head); font-weight: 600; font-size: .9rem; white-space: nowrap; border-radius: var(--pill); transition: color .3s; }
.nav a.nav-link::before {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--black); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a.nav-link:hover::before, .nav a.nav-link[aria-current="page"]::before { transform: scaleX(1); transform-origin: left; }
.site-header.scrolled .nav a.nav-link::before { height: 8px; bottom: 9px; background: var(--y1); z-index: -1; }
.nav a.nav-link { z-index: 0; }
.nav-extra { display: none; }

.menu-toggle { display: none; position: relative; z-index: 2; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--black); cursor: pointer; }
.menu-toggle span { position: absolute; left: 15px; right: 15px; height: 2px; border-radius: 2px; background: var(--y1); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle span:first-child { top: 20px; }
.menu-toggle span:last-child { top: 28px; }
.menu-open .menu-toggle span:first-child { top: 24px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 24px; transform: rotate(-45deg); }

/* ==========================================================
   Hero (home)
   ========================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(760px, 100svh);
  padding: clamp(130px, 16vh, 170px) 0 clamp(150px, 16vw, 230px);
  background: linear-gradient(115deg, var(--y1) 0%, var(--y2) 45%, var(--orange) 100%);
  background-size: 180% 180%;
  animation: gradientDrift 16s ease-in-out infinite alternate;
}
@keyframes gradientDrift { 0% { background-position: 0% 30%; } 100% { background-position: 100% 70%; } }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 420px at 18% 22%, rgba(255,255,255,.45), transparent 70%),
    radial-gradient(700px 520px at 85% 85%, rgba(245,140,0,.45), transparent 70%);
}
.hero::after, .page-hero::after { /* fine grain for a tactile, printed feel */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; pointer-events: none; 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%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero-copy { position: relative; z-index: 2; display: grid; gap: 28px; justify-items: start; }
.hero-title { font-size: clamp(2.9rem, 6.9vw, 6.4rem); line-height: .93; letter-spacing: -.05em; }
.hero-title .line { display: block; overflow: hidden; padding: .04em .2em .12em 0; margin-bottom: -.12em; }
.layer { position: absolute; inset: 0; will-change: transform; }
.hero-title .word { display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: left bottom; transition: transform 1.1s var(--ease); transition-delay: calc(var(--w, 0) * 90ms + 150ms); }
.loaded .hero-title .word { transform: none; }
.hero-title .hl { position: relative; color: var(--black); z-index: 0; }
.hero-title .hl::before {
  content: ""; position: absolute; z-index: -1; inset: .1em -.14em .02em; background: var(--white); border-radius: .14em;
  transform: rotate(-2.5deg) scaleX(0); transform-origin: left; transition: transform .9s 1.05s var(--ease);
  box-shadow: 6px 6px 0 var(--black);
}
.loaded .hero-title .hl::before { transform: rotate(-2.5deg) scaleX(1); }
.hero-copy > p { max-width: 50ch; font-size: clamp(1.02rem, 1.3vw, 1.14rem); color: #2b2a24; }

.fade-up { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.loaded .fade-up { opacity: 1; transform: none; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--black); color: var(--y1); stroke-width: 3; }

/* Hero visual */
.hero-visual { position: relative; aspect-ratio: 1 / 1.08; width: 100%; max-width: 600px; justify-self: end; }
.hero-visual .disc {
  position: absolute; left: 4%; right: 4%; top: 10%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffe352 0%, var(--y2) 46%, var(--orange) 100%);
  box-shadow: inset -30px -40px 80px rgba(200, 100, 0, .35), 0 40px 90px -30px rgba(150, 70, 0, .55);
}
.hero-visual .ring {
  position: absolute; left: -2%; right: -2%; top: 4.5%; aspect-ratio: 1; border-radius: 50%;
  border: 2px dashed rgba(17,17,17,.28); animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-photo {
  position: absolute; left: 50%; bottom: 0; width: 72%; height: 92%; translate: -50% 0;
  border-radius: var(--pill) var(--pill) 40px 40px; overflow: hidden;
  box-shadow: var(--sh-3); border: 8px solid var(--white);
  opacity: 0; transform: translateX(80px) rotate(3deg);
  transition: opacity 1.2s .35s var(--ease), transform 1.4s .35s var(--ease);
}
.loaded .hero-photo { opacity: 1; transform: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; scale: 1.08; }

.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: var(--pill); background: var(--white); box-shadow: var(--sh-2);
  font-family: var(--f-head); font-weight: 700; font-size: .86rem; line-height: 1.15;
}
.float-chip small { display: block; font-family: var(--f-body); font-weight: 500; font-size: .74rem; color: var(--ink-soft); }
.float-chip .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--y1); font-size: 1.15rem; }
.float-chip.dark { background: var(--black); color: var(--white); }
.float-chip.dark small { color: rgba(255,255,255,.65); }
.chip-a { left: -6%; top: 46%; }
.chip-b { right: -4%; bottom: 13%; }

.tool-float {
  position: absolute; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px;
  background: rgba(255,255,255,.88); box-shadow: var(--sh-1); font-size: 1.7rem; color: var(--black);
  backdrop-filter: blur(6px);
}
.tool-float.dark { background: var(--black); color: var(--y1); }
.tool-float.ghost { background: transparent; box-shadow: none; color: rgba(17,17,17,.2); font-size: 3.4rem; backdrop-filter: none; }
.bob { animation: bob 6s ease-in-out infinite; animation-delay: var(--bd, 0s); }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -14px; rotate: 6deg; } }

.spin-badge { position: absolute; z-index: 3; top: 0; right: 2%; width: 128px; height: 128px; }
.spin-badge svg.txt { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.spin-badge text { font-family: var(--f-head); font-weight: 700; font-size: 10.6px; letter-spacing: 2.2px; fill: var(--black); text-transform: uppercase; }
.spin-badge .core { position: absolute; inset: 30%; display: grid; place-items: center; border-radius: 50%; background: var(--black); color: var(--y1); font-size: 1.5rem; }

.scroll-cue { position: absolute; left: 50%; bottom: clamp(112px, 12vw, 170px); z-index: 4; translate: -50% 0; display: grid; justify-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue .mouse { width: 26px; height: 42px; border: 2px solid var(--black); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--black); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; width: 100%; height: clamp(80px, 12vw, 190px); pointer-events: none; }
.wave path { fill: var(--white); }
.wave.to-off path { fill: var(--off); }

/* ==========================================================
   Section: service preview cards
   ========================================================== */
.section { padding: var(--section) 0; position: relative; }
.services-preview { padding-top: clamp(30px, 4vw, 50px); }
.card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.svc-card {
  position: relative; isolation: isolate; display: grid; align-content: start; justify-items: center; gap: 18px; text-align: center;
  padding: 44px 30px 36px; background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--sh-1), 0 0 0 1px var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.svc-card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; opacity: 0;
  background: radial-gradient(120% 70% at 50% 0%, rgba(255,214,0,.35), transparent 65%);
  transition: opacity .6s var(--ease);
}
.svc-card::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 70%; height: 30px; z-index: -2; translate: -50% 0; border-radius: 50%; background: var(--y1); filter: blur(26px); opacity: 0; transition: opacity .6s var(--ease); }
.svc-card:hover { transform: translateY(-12px); box-shadow: var(--sh-3), 0 0 0 1px rgba(255,190,0,.45); }
.svc-card:hover::before, .svc-card:hover::after { opacity: 1; }
.icon-disc {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: var(--y1); color: var(--black); font-size: 2.1rem; position: relative;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.08);
  transition: transform .7s var(--ease-back), background .4s;
}
.icon-disc::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed rgba(255,190,0,.7); opacity: 0; transition: opacity .4s; animation: spin 14s linear infinite; }
.svc-card:hover .icon-disc { transform: rotate(-14deg) scale(1.08); }
.svc-card:hover .icon-disc::after { opacity: 1; }
.svc-card h3 { font-size: 1.45rem; }
.svc-card p { color: var(--ink-soft); font-size: .98rem; max-width: 34ch; }
.pill-link {
  display: inline-flex; align-items: center; gap: 0; margin-top: 6px;
  padding: 12px 22px; border-radius: var(--pill); background: var(--y1); color: var(--black);
  font-family: var(--f-head); font-weight: 700; font-size: .84rem;
  transition: gap .45s var(--ease), background .35s, color .35s, padding .45s var(--ease);
}
.pill-link .i { width: 0; opacity: 0; transition: width .45s var(--ease), opacity .3s; }
.svc-card:hover .pill-link, .pill-link:hover, .pill-link:focus-visible { gap: 8px; background: var(--black); color: var(--y1); }
.svc-card:hover .pill-link .i, .pill-link:hover .i, .pill-link:focus-visible .i { width: 1em; opacity: 1; }
.stretched::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }

/* ==========================================================
   Split w/ circle (about preview)
   ========================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 96px); }
.split-copy { display: grid; gap: 26px; justify-items: start; }
.checks { display: grid; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.checks .i { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--y1); stroke-width: 3; }
.checks.on-dark .i { background: var(--y1); color: var(--black); }

.circle-visual { position: relative; aspect-ratio: 1 / 1.05; width: 100%; max-width: 560px; justify-self: center; }
.circle-visual .big-circle {
  position: absolute; inset: auto 0 0 0; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe55c, var(--y1) 45%, var(--y2) 100%);
  transform: scale(.4); opacity: 0; transition: transform 1.3s var(--ease-back), opacity .8s var(--ease);
}
.circle-visual.in .big-circle { transform: none; opacity: 1; }
.circle-visual .photo {
  position: absolute; left: 50%; bottom: 0; width: 70%; height: 96%; translate: -50% 0;
  border-radius: var(--pill) var(--pill) var(--r-lg) var(--r-lg); overflow: hidden; box-shadow: var(--sh-3);
  transform: translateY(70px); opacity: 0; transition: transform 1.3s .25s var(--ease), opacity 1s .25s var(--ease);
}
.circle-visual.in .photo { transform: none; opacity: 1; }
.circle-visual .photo img { width: 100%; height: 100%; object-fit: cover; scale: 1.08; }
.circle-visual .dots { position: absolute; width: 120px; height: 120px; left: -2%; top: 2%; background-image: radial-gradient(var(--black) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .2; }
.circle-visual .float-chip { opacity: 0; translate: 0 20px; transition: opacity .8s .8s var(--ease), translate .8s .8s var(--ease); }
.circle-visual.in .float-chip { opacity: 1; translate: 0 0; }
.circle-visual .chip-a { left: -4%; top: auto; bottom: 18%; }
.circle-visual .chip-b { right: -2%; top: 22%; bottom: auto; }

/* ==========================================================
   Featured services (bento)
   ========================================================== */
.bg-off { background: var(--off); }
.bento { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-auto-rows: clamp(250px, 24vw, 310px); gap: clamp(14px, 1.8vw, 22px); }
.bento .tile:first-child { grid-row: span 2; }
.tile {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-md); color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 2.4vw, 32px);
  box-shadow: var(--sh-1); transform: translateZ(0);
}
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,17,17,0) 30%, rgba(17,17,17,.55) 62%, rgba(17,17,17,.9) 100%); transition: opacity .6s; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--y1); transition: box-shadow .5s var(--ease); pointer-events: none; }
.tile:hover::after, .tile:focus-within::after { box-shadow: inset 0 0 0 3px var(--y1); }
.tile:hover img, .tile:focus-within img { transform: scale(1.08); }
.tile .tag { position: absolute; top: clamp(18px, 2vw, 26px); left: clamp(18px, 2vw, 26px); padding: 6px 14px; border-radius: var(--pill); background: rgba(17,17,17,.55); backdrop-filter: blur(8px); font-family: var(--f-head); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.tile .arrow {
  position: absolute; top: clamp(16px, 2vw, 24px); right: clamp(16px, 2vw, 24px); display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%; background: var(--y1); color: var(--black); font-size: 1.25rem;
  transform: rotate(-45deg); transition: transform .6s var(--ease-back);
}
.tile:hover .arrow, .tile:focus-within .arrow { transform: rotate(0) scale(1.08); }
.tile h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
.tile:first-child h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.tile .reveal-text { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease), opacity .5s, margin .6s var(--ease); opacity: 0; }
.tile .reveal-text > p { overflow: hidden; color: rgba(255,255,255,.86); font-size: .95rem; max-width: 42ch; }
.tile:hover .reveal-text, .tile:focus-within .reveal-text { grid-template-rows: 1fr; opacity: 1; margin-top: 10px; }
.tile a.stretch::before { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ==========================================================
   Why choose (dark)
   ========================================================== */
.dark { background: #161719; color: var(--white); overflow: hidden; }
.dark .lead { color: rgba(255,255,255,.68); }
.dark .eyebrow { color: var(--y1); }
.why-head { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 40px; margin-bottom: clamp(48px, 6vw, 80px); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.feature { position: relative; padding: 44px 30px 46px; display: grid; gap: 16px; align-content: start; border-right: 1px solid rgba(255,255,255,.12); transition: background .5s var(--ease); }
.feature:first-child { padding-left: 0; }
.feature:last-child { border-right: 0; }
.feature::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--y1); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.feature:hover::before { transform: scaleX(1); }
.feature:hover { background: linear-gradient(180deg, rgba(255,214,0,.07), transparent); }
.feature .num { font-family: var(--f-head); font-weight: 800; font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; color: var(--y1); letter-spacing: -.05em; }
.feature .f-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255,214,0,.12); color: var(--y1); font-size: 1.4rem; transition: transform .6s var(--ease-back), background .4s, color .4s; }
.feature:hover .f-ico { transform: translateY(-4px) rotate(-10deg); background: var(--y1); color: var(--black); }
.feature h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.feature p { color: rgba(255,255,255,.62); font-size: .97rem; }
.features.three { grid-template-columns: repeat(3, 1fr); }
.features.three .feature:last-child { border-right: 0; }
.dark .glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,0,.18), transparent 65%); right: -160px; top: -200px; pointer-events: none; }

/* ==========================================================
   CTA band
   ========================================================== */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  background: linear-gradient(120deg, var(--y1), var(--y2) 55%, var(--orange));
  background-size: 200% 200%; animation: gradientDrift 14s ease-in-out infinite alternate;
}
.cta-band .inner { display: grid; justify-items: center; gap: 26px; position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(2.5rem, 6.6vw, 6rem); line-height: .95; letter-spacing: -.05em; }
.cta-band p { max-width: 54ch; font-size: 1.12rem; color: #2b2a24; }
.cta-band .btn-group { justify-content: center; }
.bg-tool { position: absolute; z-index: -1; color: rgba(17,17,17,.09); pointer-events: none; }
.bg-tool .i { width: 100%; height: 100%; stroke-width: 1.1; }
.bg-tool.t1 { width: clamp(180px, 26vw, 380px); height: clamp(180px, 26vw, 380px); left: -4%; top: -10%; rotate: -20deg; }
.bg-tool.t2 { width: clamp(160px, 22vw, 320px); height: clamp(160px, 22vw, 320px); right: -3%; bottom: -14%; rotate: 25deg; }
.bg-tool.t3 { width: clamp(90px, 10vw, 150px); height: clamp(90px, 10vw, 150px); right: 14%; top: 8%; rotate: 12deg; color: rgba(17,17,17,.12); }
.bg-tool.t4 { width: clamp(80px, 9vw, 130px); height: clamp(80px, 9vw, 130px); left: 12%; bottom: 6%; rotate: -8deg; color: rgba(255,255,255,.45); }
.drift { animation: drift 12s ease-in-out infinite alternate; animation-delay: var(--bd, 0s); }
@keyframes drift { 0% { translate: 0 0; } 100% { translate: 18px -26px; } }

/* ==========================================================
   Inner page heroes
   ========================================================== */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(140px, 18vh, 190px) 0 clamp(140px, 15vw, 220px);
  background: linear-gradient(115deg, var(--y1) 0%, var(--y2) 50%, var(--orange) 100%);
  background-size: 180% 180%; animation: gradientDrift 16s ease-in-out infinite alternate;
}
.page-hero .hero-grid { grid-template-columns: 1.1fr .9fr; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .95; letter-spacing: -.05em; }
.page-hero h1 .line { display: block; overflow: hidden; padding: .04em 0 .06em; margin-bottom: -.06em; }
.page-hero h1 .word { display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: left bottom; transition: transform 1.1s var(--ease); transition-delay: calc(var(--w, 0) * 90ms + 150ms); }
.loaded .page-hero h1 .word { transform: none; }
.page-hero .copy { display: grid; gap: 26px; justify-items: start; position: relative; z-index: 2; }
.page-hero .copy > p { max-width: 50ch; font-size: 1.12rem; color: #2b2a24; }
.crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--f-head); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.crumbs a { opacity: .6; transition: opacity .3s; }
.crumbs a:hover { opacity: 1; }
.arch {
  position: relative; justify-self: end; width: min(100%, 440px); aspect-ratio: 4 / 5;
  opacity: 0; transform: translateX(60px) rotate(3deg); transition: opacity 1.2s .3s var(--ease), transform 1.4s .3s var(--ease);
}
.loaded .arch { opacity: 1; transform: none; }
.arch .frame { position: absolute; inset: 0; border-radius: var(--pill) var(--pill) 36px 36px; overflow: hidden; border: 8px solid var(--white); box-shadow: var(--sh-3); }
.arch .frame img { width: 100%; height: 100%; object-fit: cover; scale: 1.08; }
.arch .disc-behind { position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; left: -26%; bottom: -8%; z-index: -1; background: var(--black); }
.arch .ring { position: absolute; inset: -6%; border-radius: var(--pill) var(--pill) 50px 50px; border: 2px dashed rgba(17,17,17,.3); z-index: -1; }
.arch .float-chip { left: -18%; top: 16%; }

/* ==========================================================
   About page
   ========================================================== */
.story-media { position: relative; }
.story-media .img-main { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); aspect-ratio: 4/5; }
.story-media .img-main img { width: 100%; height: 100%; object-fit: cover; }
.story-media .stamp { position: absolute; right: -18px; bottom: 40px; width: 150px; height: 150px; border-radius: 50%; background: var(--y1); display: grid; place-items: center; text-align: center; padding: 18px; box-shadow: var(--sh-2); font-family: var(--f-head); font-weight: 800; font-size: 1rem; line-height: 1.1; letter-spacing: -.02em; rotate: 8deg; }
.story-media .stamp small { display: block; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-top: 6px; }
.prose { display: grid; gap: 18px; color: var(--ink-soft); font-size: 1.06rem; }
.prose strong { color: var(--black); }

.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sector { display: grid; justify-items: start; gap: 10px; padding: 22px; border-radius: var(--r-md); background: var(--off); border: 1px solid var(--line); transition: transform .5s var(--ease), background .4s, border-color .4s; }
.sector:hover { transform: translateY(-6px); background: var(--y1); border-color: var(--y1); }
.sector .i { font-size: 1.7rem; }
.sector b { font-family: var(--f-head); font-size: 1.02rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 58px; left: 16%; right: 16%; height: 2px; background-image: linear-gradient(90deg, var(--black) 50%, transparent 0); background-size: 14px 2px; opacity: .25; }
.step { position: relative; display: grid; align-content: start; justify-items: center; text-align: center; gap: 16px; padding: 0 10px; }
.step .icon-disc { width: 116px; height: 116px; font-size: 2.6rem; border: 8px solid var(--white); box-shadow: var(--sh-2); }
.step .icon-disc b { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--black); color: var(--y1); font-family: var(--f-head); font-size: .9rem; }
.step:hover .icon-disc { transform: translateY(-8px) rotate(-8deg); }
.step h3 { font-size: 1.4rem; }
.step p { color: var(--ink-soft); max-width: 32ch; }

/* ==========================================================
   Services page (alternating rows)
   ========================================================== */
.svc-rows { display: grid; gap: clamp(90px, 11vw, 150px); }
.svc-row { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(40px, 6vw, 96px); scroll-margin-top: 120px; }
.svc-row:nth-child(even) .svc-media { order: 2; }
.svc-media { position: relative; }
.svc-media .frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--sh-2); }
.svc-media .frame img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.svc-media .blob { position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--y1); right: -7%; bottom: -10%; }
.svc-row:nth-child(even) .svc-media .blob { right: auto; left: -7%; top: -10%; bottom: auto; }
.svc-media .badge-num { position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--black); color: var(--y1); font-family: var(--f-head); font-weight: 800; font-size: 1.2rem; box-shadow: var(--sh-2); }
.svc-copy { display: grid; gap: 22px; justify-items: start; }
.svc-copy .tagline { font-family: var(--f-head); font-weight: 700; color: var(--orange); font-size: .95rem; }
.svc-copy p { color: var(--ink-soft); font-size: 1.06rem; max-width: 52ch; }
.svc-copy .checks li { font-size: .98rem; }

/* ==========================================================
   Contact page
   ========================================================== */
.contact-hero { padding-bottom: clamp(80px, 9vw, 120px); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; margin-top: clamp(40px, 5vw, 64px); }
.contact-info { display: grid; gap: 16px; }
.info-card { position: relative; display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--r-md); background: rgba(255,255,255,.55); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.7); transition: transform .5s var(--ease), background .4s, box-shadow .5s; }
a.info-card:hover { transform: translateX(8px); background: var(--white); box-shadow: var(--sh-2); }
.info-card .ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--black); color: var(--y1); font-size: 1.35rem; flex-shrink: 0; transition: transform .6s var(--ease-back); }
a.info-card:hover .ico { transform: rotate(-12deg) scale(1.06); }
.info-card small { display: block; font-family: var(--f-head); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; opacity: .65; }
.info-card b { font-family: var(--f-head); font-size: clamp(1rem, 1.6vw, 1.18rem); word-break: break-word; }
.info-card .go { margin-left: auto; font-size: 1.2rem; transition: transform .4s var(--ease); }
a.info-card:hover .go { transform: translateX(4px); }

.form-card { position: relative; background: var(--white); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 48px); box-shadow: var(--sh-3); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.form-card > p { color: var(--ink-soft); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; border: 2px solid #e7e6e1; background: var(--off); border-radius: 16px;
  padding: 24px 18px 10px; font-size: 1rem; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .35s var(--ease), background .35s, box-shadow .35s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; padding-top: 30px; }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; }
.field label { position: absolute; left: 20px; top: 17px; font-size: 1rem; color: #77766f; pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .35s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--black); background: var(--white); box-shadow: 0 0 0 5px rgba(255,214,0,.45); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-10px) scale(.74); color: var(--black); font-weight: 600; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #d23c1e; }
.field .err { display: none; font-size: .8rem; color: #b8321a; margin: 6px 4px 0; }
.field.invalid .err { display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-foot small { color: var(--ink-soft); max-width: 36ch; }
.form-success { display: none; text-align: center; padding: 30px 10px; gap: 16px; justify-items: center; }
.form-success .icon-disc { animation: pop .7s var(--ease-back); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: grid; }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: var(--char); color: rgba(255,255,255,.72); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; padding: clamp(64px, 8vw, 100px) 0 56px; }
.site-footer .logo-text { color: var(--white); }
.site-footer .logo-text b { color: var(--char); -webkit-text-stroke: 1.6px var(--y1); }
.site-footer .logo-mark { background: var(--y1); color: var(--black); }
.footer-brand { display: grid; gap: 20px; justify-items: start; }
.footer-brand p { max-width: 34ch; }
.site-footer h4 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--y1); margin-bottom: 20px; font-weight: 700; }
.foot-links { display: grid; gap: 10px; }
.foot-links a { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.82); transition: color .3s, gap .4s var(--ease); }
.foot-links a::before { content: ""; width: 0; height: 2px; background: var(--y1); transition: width .4s var(--ease); }
.foot-links a:hover { color: var(--y1); }
.foot-links a:hover::before { width: 16px; }
.foot-contact a, .foot-contact span { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.86); word-break: break-word; }
.foot-contact .i { color: var(--y1); font-size: 1.1rem; }
.foot-contact { display: grid; gap: 14px; }
.foot-contact a:hover { color: var(--y1); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.to-top { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; color: var(--white); cursor: pointer; font-family: var(--f-head); font-weight: 600; font-size: .85rem; }
.to-top span.c { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--y1); color: var(--black); font-size: 1.2rem; transition: transform .5s var(--ease-back); }
.to-top:hover span.c { transform: translateY(-6px); }
.to-top:hover span.c .i { animation: rocket .8s var(--ease) infinite; }
@keyframes rocket { 0% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-14px); opacity: 0; } 55% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
.footer-giant { font-family: var(--f-head); font-weight: 800; font-size: clamp(3.6rem, 15vw, 15rem); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255,214,0,.16); white-space: nowrap; text-align: center; user-select: none; margin-bottom: -.12em; }

/* Floating back-to-top (appears after scrolling) */
.fab-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--black); color: var(--y1); font-size: 1.3rem; cursor: pointer; box-shadow: var(--sh-2); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--ease-back), background .3s, color .3s; }
.fab-top.show { opacity: 1; transform: none; pointer-events: auto; }
.fab-top:hover { background: var(--y1); color: var(--black); }
.fab-top svg.prog { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); rotate: -90deg; }
.fab-top svg.prog circle { fill: none; stroke: var(--y1); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); }
.fab-top:hover svg.prog circle { stroke: var(--black); }

/* ==========================================================
   Cursor follower + page transition
   ========================================================== */
.cursor-dot { position: fixed; left: 0; top: 0; z-index: 400; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid var(--black); pointer-events: none; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s, opacity .3s; mix-blend-mode: normal; }
.cursor-dot.on { opacity: .55; }
.cursor-dot.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,214,0,.35); border-color: transparent; opacity: 1; }
.dark-zone .cursor-dot, .cursor-dot.inv { border-color: var(--y1); }

.page-wipe { position: fixed; inset: 0; z-index: 500; pointer-events: none; background: var(--y1); transform: translateY(0); transition: transform .8s var(--ease); display: grid; place-items: center; }
.page-wipe .logo-mark { width: 74px; height: 74px; font-size: 2.2rem; border-radius: 22px; transition: transform .6s var(--ease), opacity .4s; }
.loaded .page-wipe { transform: translateY(-101%); }
.leaving .page-wipe { transform: translateY(0); transition-duration: .55s; }
.no-js .page-wipe { display: none; }

/* ==========================================================
   Scroll reveal
   ========================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="scale"] { transform: scale(.9); }
.js [data-reveal].in { opacity: 1; transform: none; }
/* Clip wipe is driven by the revealed parent: an element clipped to nothing
   never intersects the viewport, so it can't observe itself. */
.js .clip-reveal { clip-path: inset(100% 0 0 0 round var(--r-lg)); transition: clip-path 1.3s .15s var(--ease); }
.js .in .clip-reveal { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.split-words.in .w > span { transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature { padding: 36px 26px; }
  .feature:first-child { padding-left: 26px; }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .why-head { grid-template-columns: 1fr; gap: 20px; }
  .features.three .feature { border-bottom: 0; }
  .features.three .feature:nth-child(2) { border-right: 1px solid rgba(255,255,255,.12); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .tile:first-child { grid-row: span 1; grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .chip-a { left: -2%; }
  .chip-b { right: 0; }
}

@media (max-width: 1100px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .nav {
    display: flex; flex-direction: column; justify-content: center; gap: 30px;
    position: fixed; inset: 0; z-index: 1; padding: 110px var(--gutter) 40px;
    background: var(--black); clip-path: circle(0 at calc(100% - 45px) 43px);
    transition: clip-path .8s var(--ease); visibility: hidden;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 45px) 43px); visibility: visible; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a.nav-link { color: var(--white); font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; padding: 6px 0; opacity: 0; transform: translateY(30px); transition: opacity .5s var(--ease), transform .7s var(--ease), color .3s; transition-delay: calc(var(--i) * 70ms + 200ms); }
  .nav a.nav-link::before { display: none; }
  .nav a.nav-link[aria-current="page"], .nav a.nav-link:hover { color: var(--y1); }
  .menu-open .nav a.nav-link { opacity: 1; transform: none; }
  .nav-extra { display: grid; gap: 14px; justify-items: start; color: rgba(255,255,255,.7); opacity: 0; transition: opacity .6s .5s; }
  .menu-open .nav-extra { opacity: 1; }
  .nav-extra a { display: inline-flex; align-items: center; gap: 10px; }
  .nav-extra .i { color: var(--y1); }
  .menu-open .logo-text { color: var(--white); }
  .menu-open .logo-text b { color: var(--black); -webkit-text-stroke-color: var(--y1); }
  .menu-open .logo-mark { background: var(--y1); color: var(--black); }
  .menu-open .site-header.scrolled { background: transparent; box-shadow: none; backdrop-filter: none; }
  .menu-open { overflow: hidden; }
  .nav a.nav-link { font-size: clamp(1.9rem, 7vw, 3rem); padding: 4px 0; }
}

@media (max-width: 900px) {
  .hero { min-height: 0; padding-bottom: 150px; }
  .hero-grid, .page-hero .hero-grid, .split, .svc-row, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 480px; margin-top: 10px; }
  .scroll-cue { display: none; }
  .card-row { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .circle-visual { max-width: 460px; }
  .svc-row:nth-child(even) .svc-media { order: 0; }
  .arch { justify-self: center; width: min(78%, 380px); margin-top: 20px; }
  .arch .float-chip { left: -12%; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .steps::before { top: 40px; bottom: 40px; left: 50%; right: auto; width: 2px; height: auto; background-image: linear-gradient(180deg, var(--black) 50%, transparent 0); background-size: 2px 14px; }
  .story-media { max-width: 520px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .btn { min-height: 56px; }
  .btn-group { width: 100%; }
  .btn-group .btn { flex: 1 1 100%; }
  .hero-copy .btn-group .btn { flex: 1 1 auto; }
  .logo-text { font-size: 1.15rem; }
  .logo-text small { font-size: .56rem; }
  .logo-mark { width: 42px; height: 42px; }
  .float-chip { padding: 9px 14px 9px 9px; font-size: .78rem; }
  .float-chip .ico { width: 34px; height: 34px; font-size: 1rem; }
  .chip-a { left: -3%; top: 40%; }
  .chip-b { right: -3%; bottom: 8%; }
  .spin-badge { width: 96px; height: 96px; right: -2%; }
  .tool-float { width: 50px; height: 50px; font-size: 1.3rem; border-radius: 16px; }
  .tool-float.hide-sm { display: none; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .bento .tile:first-child { grid-column: auto; }
  .tile .reveal-text { grid-template-rows: 1fr; opacity: 1; margin-top: 8px; }
  .features, .features.three { grid-template-columns: 1fr; }
  .feature, .feature:first-child, .features.three .feature, .features.three .feature:nth-child(2) { padding: 32px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .feature:hover { background: none; }
  .form-grid { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { grid-column: auto; }
  .story-media .stamp { width: 120px; height: 120px; right: -6px; font-size: .86rem; }
  .info-card { padding: 16px; gap: 14px; }
  .info-card .ico { width: 48px; height: 48px; }
  .fab-top { right: 14px; bottom: 14px; }
}

/* Touch devices: show service descriptions without hover */
@media (hover: none) {
  .tile .reveal-text { grid-template-rows: 1fr; opacity: 1; margin-top: 8px; }
  .tile .arrow { transform: none; }
  .cursor-dot { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .clip-reveal { opacity: 1; transform: none; clip-path: none; }
  .hero-title .word, .page-hero h1 .word, .split-words .w > span { transform: none; }
  .fade-up, .hero-photo, .arch { opacity: 1; transform: none; }
  .cursor-dot { display: none; }
}

/* ==========================================================
   Shop, Book Online, Blog
   ========================================================== */
.note-bar { display: flex; align-items: center; gap: 14px; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 60px); padding: 16px 22px; border-radius: var(--r-md); background: var(--off); border: 1px dashed rgba(17,17,17,.18); color: var(--ink-soft); font-size: .95rem; }
.note-bar .i { font-size: 1.3rem; color: var(--orange); }

/* Shop: bento grid — featured service large, four services in a 2x2 beside it */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(300px, auto); gap: clamp(16px, 1.8vw, 24px); }
.product { position: relative; isolation: isolate; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1), 0 0 0 1px var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.product:hover, .product:focus-within { transform: translateY(-8px); box-shadow: var(--sh-3), 0 0 0 2px var(--y1); }
.product .media { position: relative; flex: 1 1 auto; min-height: 170px; overflow: hidden; background: var(--off); }
.product .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1.1s var(--ease); }
.product .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,.3) 0%, transparent 40%); pointer-events: none; }
.product:hover .media img { transform: scale(1.08); }
.product .price {
  position: absolute; z-index: 1; top: 14px; right: 14px; display: inline-flex; align-items: baseline;
  padding: 7px 15px 7px 12px; border-radius: 10px 999px 999px 10px; background: var(--y1); color: var(--black);
  font-family: var(--f-head); font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; box-shadow: 0 8px 20px -8px rgba(0,0,0,.55);
  transform: rotate(3deg); transition: transform .5s var(--ease-back);
}
.product .price small { font-size: .6em; font-weight: 700; align-self: flex-start; margin: .15em 1px 0 0; }
.product:hover .price { transform: rotate(-4deg) scale(1.08); }
.product .body { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 34px 20px 20px; }
.product .p-ico { position: absolute; top: -24px; left: 20px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--y1); color: var(--black); font-size: 1.25rem; border: 4px solid var(--white); transition: transform .6s var(--ease-back); }
.product:hover .p-ico { transform: rotate(-14deg) scale(1.08); }
.product h3 { font-size: 1.12rem; line-height: 1.15; letter-spacing: -.02em; }
.product .go { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--black); color: var(--y1); font-size: 1.15rem; transition: background .35s, color .35s, transform .5s var(--ease); }
.product:hover .go, .product .go:focus-visible { background: var(--y1); color: var(--black); transform: rotate(-45deg); }
/* Whole card is clickable; the oversized hit area is clipped by the card's overflow */
.product .go::before { content: ""; position: absolute; inset: -2000px; z-index: 2; }

.product.featured { grid-column: span 2; grid-row: span 2; }
.product.featured .body { padding: 46px 30px 30px; }
.product.featured .p-ico { width: 66px; height: 66px; top: -33px; left: 30px; font-size: 1.6rem; }
.product.featured h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.product.featured .go { width: 60px; height: 60px; font-size: 1.4rem; }
.product.featured .price { top: 22px; right: 22px; font-size: 1.55rem; padding: 10px 22px 10px 16px; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product.featured { grid-row: span 1; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .product.featured { grid-column: auto; }
  .product .media { min-height: 230px; }
  .product.featured h3 { font-size: 1.4rem; }
  .product.featured .body { padding: 42px 22px 22px; }
  .product.featured .p-ico { left: 22px; }
}

.booking-list { display: grid; gap: 18px; max-width: 980px; margin: 0 auto; }
.booking { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 3vw, 32px); padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 34px); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-1), 0 0 0 1px var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.booking:hover { transform: translateX(8px); box-shadow: var(--sh-2), 0 0 0 1px rgba(255,190,0,.5); }
.booking .thumb { width: clamp(84px, 11vw, 120px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 5px solid var(--y1); box-shadow: var(--sh-1); }
.booking .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.booking:hover .thumb img { transform: scale(1.1) rotate(-3deg); }
.booking h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: var(--pill); background: var(--off); border: 1px solid var(--line); font-weight: 600; font-size: .86rem; }
.chip .i { color: var(--orange); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.post-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1), 0 0 0 1px var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.post-card:hover { transform: translateY(-10px); box-shadow: var(--sh-3); }
.post-card .cover { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card:hover .cover img { transform: scale(1.07); }
.post-card .body { display: grid; gap: 14px; padding: 24px 24px 28px; align-content: start; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--y2); margin-right: 8px; }
.post-card h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.15; }
.post-card p, .post-card li { color: var(--ink-soft); font-size: .97rem; }
.post-card ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.post-card ol li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.post-card ol li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--y1); color: var(--black); font-family: var(--f-head); font-weight: 800; font-size: .8rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 6px 14px; border-radius: var(--pill); background: var(--black); color: var(--y1); font-family: var(--f-head); font-weight: 700; font-size: .78rem; }

.feature-post { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 44px); margin-bottom: clamp(30px, 4vw, 48px); border-radius: var(--r-lg); background: var(--char); color: var(--white); box-shadow: var(--sh-2); }
.feature-post .post-meta { color: rgba(255,255,255,.65); }
.feature-post h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.feature-post p { color: rgba(255,255,255,.72); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery a { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.gallery a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--y1); transition: box-shadow .4s var(--ease); }
.gallery a:hover img { transform: scale(1.1); }
.gallery a:hover::after { box-shadow: inset 0 0 0 3px var(--y1); }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .feature-post { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .booking { grid-template-columns: auto 1fr; }
  .booking .btn { grid-column: 1 / -1; width: 100%; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
