/* =========================================================================
   iam.digitalexpert — 2026
   Full-width, quiet, premium. One accent (the full stop). Motion that follows you.
   ========================================================================= */

@font-face { font-family: "Urbanist"; src: url("../fonts/urbanist.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken.woff") format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-italic.woff") format("woff"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  /* Layout: full-bleed sections, content runs edge to edge inside a fluid gutter */
  --bg: #fbfbfd;
  --bg-2: #f5f5f7;
  --bg-3: #ececf0;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --mute: #6e6e73;
  --mute-2: #86868b;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .14);
  --accent: #E0294C;
  --night: #0e0e10;
  --night-2: #1c1c1f;
  --on-night: #f5f5f7;
  --on-night-2: #a1a1a6;
  --wa: #1f9d55;

  --display: "Urbanist", "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
  --text: "Hanken Grotesk", -apple-system, "Segoe UI", Roboto, sans-serif;

  --g: clamp(20px, 4vw, 72px);
  --max: 1760px;
  --sec: clamp(80px, 9vw, 152px);
  --r: clamp(16px, 1.6vw, 24px);
  --head: 64px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--text); letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, dl, dd, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.dot { color: var(--accent); }
.i { width: 1em; height: 1em; flex: none; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .28s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .42s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--g), var(--max)); margin-inline: auto; }
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: calc(var(--sec) * .6); }
.sec--alt { background: var(--bg-2); }
.sec--night { background: var(--night); color: var(--on-night); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head__text { max-width: 720px; display: grid; gap: 12px; }

/* ---------- Type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 14px/1.3 var(--text); color: var(--mute); letter-spacing: .01em; }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.h-hero { font: 500 clamp(2.5rem, 5.2vw, 4.6rem)/1.03 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.h-page { font: 500 clamp(2.3rem, 4.6vw, 4rem)/1.04 var(--display); letter-spacing: -.033em; text-wrap: balance; }
.h-sec { font: 500 clamp(1.9rem, 3.4vw, 3.1rem)/1.06 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.h-card { font: 600 clamp(1.15rem, 1.5vw, 1.4rem)/1.25 var(--display); letter-spacing: -.015em; }
.lead { font-size: clamp(1.08rem, 1.3vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--mute); }
.small { font-size: 14px; }
.sec--night .lead, .sec--night .muted { color: var(--on-night-2); }
.sec--night .kicker { color: var(--on-night-2); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--ink); --f: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 12px 22px; border-radius: 999px; border: 0; background: var(--b); color: var(--f);
  font: 600 15px/1 var(--text); letter-spacing: -.005em; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), transform .25s var(--ease), color .25s;
}
.btn:hover { background: #000; }
.btn:active { transform: scale(.98); }
.btn .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover .i-arrow, .btn:hover .i-arrow-up-right { transform: translateX(3px); }
.btn--soft { --b: var(--bg-3); --f: var(--ink); }
.btn--soft:hover { background: #e2e2e7; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { --b: #fff; --f: var(--ink); }
.btn--light:hover { background: #ececf0; }
.btn--wa { --b: var(--wa); }
.btn--wa:hover { background: #17864a; }
.btn--sm { min-height: 38px; padding: 9px 16px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.link .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover .i { transform: translateX(3px); }
.sec--night .link { color: var(--on-night); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink); color: #d2d2d7; font-size: 14px; text-align: center; padding: 10px 44px; position: relative; z-index: 51; }
.announce a { color: #fff; font-weight: 600; margin-left: 6px; display: inline-flex; align-items: center; gap: 4px; }
.announce a .i { width: 14px; height: 14px; }
.announce__x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; background: none; color: #a1a1a6; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.announce__x:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.announce__x .i { width: 14px; height: 14px; }

.head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--head);
  background: rgba(251, 251, 253, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  transition: transform .45s var(--ease), box-shadow .3s;
}
.head.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.head.is-hidden { transform: translateY(-100%); }
.head__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { font: 650 23px/1 var(--display); letter-spacing: -.04em; margin-right: auto; display: inline-flex; align-items: baseline; }
.logo small { font: 500 13px/1 var(--text); letter-spacing: 0; color: var(--mute); margin-left: 8px; }
.nav { display: flex; gap: 4px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: rgba(0, 0, 0, .04); }
.nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); margin-left: 6px; vertical-align: middle; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 50%; position: relative; }
.menu-btn span, .menu-btn span::before { position: absolute; left: 13px; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); content: ""; }
.menu-btn span { top: 18px; }
.menu-btn span::before { left: 0; top: 6px; }
.menu-btn[aria-expanded="true"] span { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(-6px) rotate(-90deg); }
.sheet { position: fixed; inset: 0; z-index: 49; background: var(--bg); padding: calc(var(--head) + 28px + env(safe-area-inset-top, 0px)) var(--g) calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.sheet[hidden] { display: none; }
.sheet nav { display: grid; }
.sheet nav a { font: 500 clamp(1.9rem, 8vw, 2.6rem)/1.25 var(--display); letter-spacing: -.03em; opacity: 0; transform: translateY(10px); animation: sheetIn .5s var(--ease) forwards; padding: 4px 0; }
.sheet nav a:nth-child(2) { animation-delay: .03s; } .sheet nav a:nth-child(3) { animation-delay: .06s; } .sheet nav a:nth-child(4) { animation-delay: .09s; }
.sheet nav a:nth-child(5) { animation-delay: .12s; } .sheet nav a:nth-child(6) { animation-delay: .15s; } .sheet nav a:nth-child(7) { animation-delay: .18s; }
@keyframes sheetIn { to { opacity: 1; transform: none; } }
.sheet__foot { display: grid; gap: 10px; padding-top: 24px; }
body.menu-open { overflow: hidden; }

/* ---------- Reveal motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* =========================================================================
   Home
   ========================================================================= */
.hero { padding-top: clamp(56px, 8vw, 120px); text-align: center; }
.hero__text { display: grid; justify-items: center; gap: clamp(16px, 1.8vw, 24px); max-width: 980px; margin-inline: auto; }
.hero__sub { font-size: clamp(1.08rem, 1.35vw, 1.3rem); color: var(--ink-2); max-width: 600px; line-height: 1.55; }
.hero__btns { justify-content: center; margin-top: 6px; }
.hero__media-wrap { margin-top: clamp(48px, 6vw, 88px); }
.hero__media {
  position: relative; height: clamp(420px, 82vh, 920px); overflow: hidden; background: var(--bg-3);
  clip-path: inset(0 calc(var(--inset, 1) * var(--g)) round calc(var(--inset, 1) * var(--r) + 0px));
  will-change: clip-path;
}
.hero__media img, .hero__media video { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, calc(var(--py, 0) * -1px), 0); }
.hero__float { position: absolute; left: 50%; bottom: clamp(20px, 3vw, 40px); transform: translateX(-50%); display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; width: max-content; max-width: calc(100% - 32px); }
.glass { background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); color: var(--ink); border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset; }
.glass .i { width: 15px; height: 15px; }

/* Statement */
.statement { text-align: center; }
.statement__text { font: 500 clamp(1.7rem, 3.4vw, 3rem)/1.18 var(--display); letter-spacing: -.028em; max-width: 1080px; margin-inline: auto; text-wrap: balance; }
.js .statement__text .w { color: #c7c7cc; transition: color .35s; }
.js .statement__text .w.on { color: var(--ink); }

/* Work carousel */
.rail { position: relative; }
.rail__track {
  display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--g);
  padding: 4px var(--g) 8px; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail__track.is-drag a { pointer-events: none; }
.rail__ctrl { display: flex; gap: 8px; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg-3); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .25s, opacity .25s; }
.round:hover { background: #dedee3; }
.round:disabled { opacity: .35; cursor: default; }
.round .i { width: 20px; height: 20px; }
.rail__bar { margin: 26px var(--g) 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail__bar span { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, .1)); transition: transform .2s; }

.wcard { flex: none; width: clamp(280px, 30vw, 520px); scroll-snap-align: start; display: grid; gap: 14px; }
.wcard__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--bg-3); }
.wcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wcard:hover .wcard__media img { transform: scale(1.04); }
.wcard__brand {
  position: absolute; inset: auto 14px 14px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.wcard:hover .wcard__brand, .wcard:focus-visible .wcard__brand { opacity: 1; transform: none; }
.wcard__meta { display: grid; gap: 2px; padding-inline: 2px; }
.wcard__title { font: 600 1.15rem/1.3 var(--display); letter-spacing: -.012em; }
.wcard__sub { font-size: 14px; color: var(--mute); }
@media (hover: none) { .wcard__brand { opacity: 1; transform: none; } }

/* Bento (services) */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: clamp(320px, 30vw, 460px);
  padding: clamp(24px, 2.4vw, 36px); border-radius: calc(var(--r) + 4px); background: var(--surface); overflow: hidden;
  box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(0, 0, 0, .28); }
.tile__text { position: relative; z-index: 1; display: grid; gap: 10px; max-width: 34ch; }
.tile__name { font: 600 clamp(1.3rem, 1.8vw, 1.7rem)/1.15 var(--display); letter-spacing: -.02em; }
.tile__line { color: var(--ink-2); font-size: 16px; }
.tile__img { position: relative; margin: 0 calc(-1 * clamp(24px, 2.4vw, 36px)) calc(-1 * clamp(24px, 2.4vw, 36px)); height: 52%; min-height: 150px; overflow: hidden; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile__go { position: absolute; z-index: 2; right: clamp(20px, 2vw, 28px); top: clamp(20px, 2vw, 28px); width: 38px; height: 38px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.tile__go .i { width: 17px; height: 17px; }
.tile:hover .tile__go { background: var(--ink); color: #fff; transform: rotate(-45deg); }
.tile--feature { grid-column: span 2; background: var(--night); color: var(--on-night); box-shadow: none; }
.tile--feature .tile__line { color: var(--on-night-2); }
.tile--feature .tile__go { background: rgba(255, 255, 255, .12); color: #fff; }
.tile--feature .tile__img { position: absolute; inset: 0 0 0 42%; margin: 0; height: auto; }
.tile--feature .tile__img img { filter: brightness(.86); }
.tile--feature .tile__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgba(14, 14, 16, .72) 30%, rgba(14, 14, 16, .1) 75%); }
.tile--feature .chip { background: rgba(255, 255, 255, .1); color: #f5f5f7; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tile--feature .tile__text { max-width: 30ch; }
.tile__tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; max-width: 60%; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-size: 14px; font-weight: 500; line-height: 1.2; }
.sec--night .chip, .tile--feature .chip { background: rgba(255, 255, 255, .1); color: var(--on-night); }
.chip-btn { border: 0; cursor: pointer; padding: 9px 15px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-size: 14px; font-weight: 500; transition: background-color .2s, color .2s; display: inline-flex; align-items: center; gap: 6px; }
.chip-btn:hover { background: var(--bg-3); color: var(--ink); }
.chip-btn[aria-pressed="true"], .chip-btn[aria-current] { background: var(--ink); color: #fff; }
.chip-btn small { font-size: 12px; opacity: .6; }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filters::-webkit-scrollbar { display: none; }

/* Real estate spotlight */
.spot { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: clamp(560px, 70vh, 820px); }
.spot__media { position: relative; overflow: hidden; }
.spot__media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; transform: translate3d(0, calc(var(--py, 0) * -1px), 0); }
.spot__text { padding: var(--sec) var(--g); display: flex; flex-direction: column; justify-content: center; gap: 22px; max-width: 680px; }
.ticks { list-style: none; display: grid; gap: 14px; margin: 6px 0 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.ticks .i { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }

/* Folders */
.folders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.folder { display: grid; gap: 14px; }
.folder__stack { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.folder__stack span { position: absolute; width: 58%; aspect-ratio: 4 / 5; top: 16%; left: 21%; border-radius: 12px; overflow: hidden; background: var(--bg-3); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .45); transition: transform .7s var(--ease); }
.folder__stack span img { width: 100%; height: 100%; object-fit: cover; }
.folder__stack span:nth-child(1) { transform: rotate(-7deg) translate(-14%, 4%) scale(.9); }
.folder__stack span:nth-child(2) { transform: rotate(6deg) translate(14%, 3%) scale(.9); }
.folder__stack span:nth-child(3) { transform: translateY(-2%); z-index: 2; }
.folder:hover .folder__stack span:nth-child(1) { transform: rotate(-11deg) translate(-30%, 2%) scale(.92); }
.folder:hover .folder__stack span:nth-child(2) { transform: rotate(10deg) translate(30%, 1%) scale(.92); }
.folder:hover .folder__stack span:nth-child(3) { transform: translateY(-5%) scale(1.03); }
.folder__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-inline: 2px; }
.folder__name { font: 600 1.1rem/1.3 var(--display); letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 8px; }
.folder__name .i { width: 18px; height: 18px; color: var(--mute); }
.folder__n { font-size: 14px; color: var(--mute); }

/* Process */
.process { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.process__aside { position: sticky; top: calc(var(--head) + 40px); display: grid; gap: 28px; }
.process__img { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--bg-3); }
.process__img img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; counter-reset: s; display: grid; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: clamp(26px, 3vw, 40px) 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font: 500 15px/1 var(--display); color: var(--mute); padding-top: 8px; transition: color .4s; }
.step h3 { font: 600 clamp(1.3rem, 2vw, 1.75rem)/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 8px; color: var(--mute-2); transition: color .5s; }
.step p { color: var(--mute); max-width: 52ch; transition: color .5s; }
.step.on h3 { color: var(--ink); }
.step.on p { color: var(--ink-2); }
.step.on .step__n { color: var(--accent); }

/* Cards (insights, news, projects) */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 2.6vw, 40px) clamp(16px, 1.6vw, 24px); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 2.6vw, 40px) clamp(16px, 1.6vw, 24px); }
.card { display: grid; gap: 14px; align-content: start; }
.card__media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--bg-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--mute); }
.card__title { font: 600 clamp(1.12rem, 1.35vw, 1.3rem)/1.3 var(--display); letter-spacing: -.012em; text-wrap: balance; transition: color .2s; }
.card:hover .card__title { color: #000; }
.card__text { color: var(--ink-2); font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.pill--job { background: #e8f0fb; color: #1f4f9a; }
.pill--offer { background: #fdecef; color: #b0173a; }
.pill--news { background: var(--bg-2); color: var(--ink-2); }
.pill--concept { background: #f2efe7; color: #7a6a43; }

/* Project grid (work) */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3vw, 48px) clamp(16px, 1.6vw, 24px); }
.pcard { display: grid; gap: 14px; align-content: start; }
.pcard[hidden] { display: none; }
.pcard__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--bg-3); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__over { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px; background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 55%); opacity: 0; transition: opacity .5s var(--ease); }
.pcard__over span { color: #fff; font: 600 clamp(1.3rem, 2vw, 1.8rem)/1.1 var(--display); letter-spacing: -.02em; transform: translateY(10px); transition: transform .5s var(--ease); }
.pcard:hover .pcard__over, .pcard:focus-visible .pcard__over { opacity: 1; }
.pcard:hover .pcard__over span { transform: none; }
.pcard__kind { position: absolute; top: 14px; left: 14px; }
.pcard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-inline: 2px; }
.pcard__title { font: 600 1.15rem/1.3 var(--display); letter-spacing: -.012em; }
.pcard__cat { font-size: 14px; color: var(--mute); text-align: right; }
.pcard__client { font-size: 14px; color: var(--mute); margin-top: -10px; padding-inline: 2px; }

/* Newsroom rows (home) */
.nrows { display: grid; border-top: 1px solid var(--line); }
.nrow { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto 40px; gap: 20px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.nrow:hover { background: var(--bg-2); }
.nrow__title { font: 600 clamp(1.05rem, 1.4vw, 1.25rem)/1.3 var(--display); letter-spacing: -.01em; }
.nrow__meta { font-size: 14px; color: var(--mute); }
.nrow .i { width: 20px; height: 20px; color: var(--mute); transition: transform .3s var(--ease), color .2s; justify-self: end; }
.nrow:hover .i { transform: translateX(4px); color: var(--ink); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.faq--single { grid-template-columns: 1fr; max-width: 900px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 600 clamp(1.05rem, 1.35vw, 1.2rem)/1.35 var(--display); letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.6px solid var(--mute); border-bottom: 1.6px solid var(--mute); transform: rotate(45deg) translateY(-3px); transition: transform .35s var(--ease); }
.qa[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.qa p { padding: 0 0 24px; color: var(--ink-2); max-width: 68ch; }
.qa[open] p { animation: qaIn .45s var(--ease); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-6px); } }

/* Newsletter */
.news-box { border-radius: calc(var(--r) + 6px); background: var(--bg-2); padding: clamp(36px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 60px; align-items: center; }
.news-box__text { display: grid; gap: 12px; }
.subform { display: grid; gap: 10px; }
.subform__row { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 0 0 1px var(--line); }
.subform__row input { min-width: 0; }
.subform input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 14px; font-size: 16px; outline: none; }
.subform__note { font-size: 13px; color: var(--mute); padding-left: 14px; }
.subform__msg { font-size: 14px; font-weight: 600; padding-left: 14px; }
.subform__msg.ok { color: var(--wa); }
.subform__msg.err { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Final CTA */
.cta-final { text-align: center; display: grid; justify-items: center; gap: 22px; }
.cta-final .h-sec { max-width: 920px; }

/* =========================================================================
   Banners (full width, edge to edge)
   ========================================================================= */
.ad { position: relative; width: 100%; overflow: hidden; }
.ad--image picture, .ad--image img { width: 100%; height: auto; display: block; }
.ad--image a { display: block; }
.ad--house { min-height: clamp(380px, 38vw, 620px); display: flex; align-items: center; background: var(--bg-3); }
.ad__bg { position: absolute; inset: -7% 0; }
.ad__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06) translate3d(0, calc(var(--py, 0) * -1px), 0); }
.ad__body { position: relative; width: min(100% - 2 * var(--g), var(--max)); margin-inline: auto; display: grid; gap: 14px; justify-items: start; padding-block: clamp(48px, 6vw, 96px); }
.ad__k { font-size: 14px; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; }
.ad__k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.ad__t { font: 500 clamp(1.9rem, 3.6vw, 3.3rem)/1.06 var(--display); letter-spacing: -.03em; max-width: 18ch; text-wrap: balance; }
.ad__d { color: var(--ink-2); max-width: 46ch; font-size: clamp(1rem, 1.2vw, 1.15rem); margin-bottom: 8px; }
.ad--dark { color: #fff; }
.ad--dark .ad__k, .ad--dark .ad__d { color: #c7c7cc; }
.ad--dark .btn { --b: #fff; --f: var(--ink); }
.ad--dark .ad__t { color: #f5f5f7; }
.ad--adsense { padding: 28px var(--g); background: var(--bg-2); text-align: center; }
.ad__label { display: block; font-size: 11px; color: var(--mute); margin-bottom: 8px; letter-spacing: .04em; }

/* =========================================================================
   Inner pages
   ========================================================================= */
.phead { padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(36px, 4vw, 64px); }
.phead__in { display: grid; gap: clamp(16px, 1.6vw, 22px); max-width: 980px; }
.phead--center .phead__in { margin-inline: auto; text-align: center; justify-items: center; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--mute); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--mute); }
.back .i { width: 16px; height: 16px; }
.back:hover { color: var(--ink); }

.bleed { position: relative; height: clamp(360px, 72vh, 860px); overflow: hidden; background: var(--bg-3); }
.bleed img, .bleed video { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; object-fit: cover; transform: translate3d(0, calc(var(--py, 0) * -1px), 0); }
.bleed--inset { clip-path: inset(0 calc(var(--inset, 1) * var(--g)) round calc(var(--inset, 1) * var(--r))); }

.facts { display: flex; flex-wrap: wrap; gap: 14px clamp(28px, 4vw, 64px); padding: 22px 0; border-block: 1px solid var(--line); }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: 13px; color: var(--mute); }
.facts dd { font-weight: 600; font-size: 16px; }

.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 120px); align-items: start; }
.split__label { font: 600 1.15rem/1.3 var(--display); letter-spacing: -.01em; }
.prose-lg { font-size: clamp(1.1rem, 1.45vw, 1.4rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }

.approach { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.approach li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.approach__n { font: 500 14px/1.6 var(--display); color: var(--accent); }
.approach h3 { font: 600 1.1rem/1.35 var(--display); margin-bottom: 4px; }
.approach p { color: var(--ink-2); font-size: 16px; }

.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.result { background: var(--bg-2); border-radius: var(--r); padding: 26px; display: grid; gap: 4px; }
.result b { font: 500 clamp(2rem, 3vw, 2.8rem)/1 var(--display); letter-spacing: -.03em; }
.result span { color: var(--ink-2); font-size: 15px; }
.quote { max-width: 980px; }
.quote p { font: 500 clamp(1.5rem, 2.6vw, 2.3rem)/1.25 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.quote cite { display: block; margin-top: 18px; font-style: normal; color: var(--mute); }

/* Gallery */
.gal-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.gal-head h2 { font: 600 clamp(1.3rem, 1.9vw, 1.7rem)/1.2 var(--display); letter-spacing: -.02em; }
.gal-head span { color: var(--mute); font-size: 15px; }
.masonry { columns: 3; column-gap: clamp(12px, 1.4vw, 20px); }
.masonry--2 { columns: 2; }
.masonry--4 { columns: 4; }
.gitem { display: block; width: 100%; break-inside: avoid; margin: 0 0 clamp(12px, 1.4vw, 20px); padding: 0; border: 0; border-radius: calc(var(--r) - 4px); overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.gitem img, .gitem video { width: 100%; height: auto; transition: transform 1s var(--ease); }
.gitem:hover img { transform: scale(1.025); }
.sec-nav { position: sticky; top: calc(var(--head) + 12px); z-index: 30; display: flex; justify-content: center; margin-top: -24px; pointer-events: none; }
.sec-nav__in { display: flex; gap: 4px; padding: 5px; border-radius: 999px; pointer-events: auto; max-width: calc(100vw - 32px); overflow-x: auto; scrollbar-width: none; background: rgba(251, 251, 253, .78); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); box-shadow: 0 0 0 1px var(--line), 0 10px 30px -18px rgba(0, 0, 0, .3); }
.sec-nav a { white-space: nowrap; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); transition: background-color .25s, color .25s; }
.sec-nav a.on { background: var(--ink); color: #fff; }

/* Device demo */
.demo { display: grid; gap: 18px; }
.demo__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.seg { display: inline-flex; padding: 4px; background: var(--bg-3); border-radius: 999px; }
.seg button { border: 0; background: none; padding: 8px 14px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color .25s, color .25s, box-shadow .25s; }
.seg button .i { width: 16px; height: 16px; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.demo__stage { background: var(--bg-2); border-radius: calc(var(--r) + 6px); padding: clamp(16px, 3vw, 48px); display: grid; place-items: center; overflow: hidden; }
.device { width: 100%; max-width: 100%; height: min(78vh, 820px); background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, .35); display: flex; flex-direction: column; transition: width .6s var(--ease), height .6s var(--ease), border-radius .6s var(--ease); }
.device__chrome { height: 36px; flex: none; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f2f2f5; border-bottom: 1px solid var(--line); }
.device__chrome i { width: 10px; height: 10px; border-radius: 50%; background: #d4d4d9; }
.device__chrome span { margin-left: 12px; font-size: 12px; color: var(--mute); background: #fff; border-radius: 6px; padding: 3px 12px; flex: 1; max-width: 360px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.device iframe { width: 100%; flex: 1; border: 0; background: #fff; }
.device[data-mode="tablet"] { width: 820px; border-radius: 26px; }
.device[data-mode="mobile"] { width: 390px; height: min(78vh, 780px); border-radius: 40px; box-shadow: 0 0 0 10px #1d1d1f, 0 30px 60px -20px rgba(0, 0, 0, .45); }
.device[data-mode="mobile"] .device__chrome, .device[data-mode="tablet"] .device__chrome { display: none; }
.demo__shot { width: 100%; border-radius: 14px; overflow: hidden; }

/* Video */
.player { position: relative; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.player--tall { aspect-ratio: 9 / 16; max-height: 82vh; margin-inline: auto; }
.player video, .player iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.player__poster { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: #000; }
.player__poster img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform 1s var(--ease); }
.player__poster:hover img { transform: scale(1.03); }
.player__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink); transition: transform .4s var(--ease); }
.player__play .i { width: 26px; height: 26px; margin-left: 4px; }
.player__poster:hover .player__play { transform: translate(-50%, -50%) scale(1.06); }

/* Next project */
.next { display: block; position: relative; height: clamp(360px, 60vh, 640px); overflow: hidden; color: #fff; background: var(--night); }
.next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: transform 1.4s var(--ease), opacity .6s; }
.next:hover img { transform: scale(1.04); opacity: .8; }
.next__in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding-bottom: clamp(32px, 4vw, 64px); }
.next__k { font-size: 14px; color: rgba(255, 255, 255, .8); }
.next__t { font: 500 clamp(2.2rem, 5vw, 4.4rem)/1.03 var(--display); letter-spacing: -.035em; }
.next::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 60%); }
.next__in { z-index: 2; }

/* Lightbox */
.lb { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(251, 251, 253, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.lb::backdrop { background: transparent; }
.lb[open] { display: grid; grid-template-rows: 1fr auto; }
.lb__stage { display: grid; place-items: center; padding: 64px clamp(16px, 7vw, 120px) 8px; min-height: 0; touch-action: pan-y; }
.lb__stage img, .lb__stage video { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .35); animation: lbIn .5s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }
.lb__bar { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--mute); }
.lb__close { position: absolute; top: 16px; right: 16px; }

/* Insights */
.search { display: flex; align-items: center; gap: 8px; background: var(--bg-2); border-radius: 999px; padding: 4px 4px 4px 16px; width: min(100%, 420px); }
.search .i { width: 18px; height: 18px; color: var(--mute); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 4px; outline: none; font-size: 16px; }
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 3vw, 56px); align-items: center; }
.feature__media { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--bg-3); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.03); }
.feature__text { display: grid; gap: 14px; }
.feature__title { font: 500 clamp(1.6rem, 2.6vw, 2.4rem)/1.12 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.empty { padding: 48px 0; color: var(--mute); }

/* Article */
.article-head { padding-top: clamp(48px, 6vw, 96px); padding-bottom: 32px; }
.article-head .phead__in { max-width: 860px; margin-inline: auto; }
.article-title { font: 500 clamp(2rem, 4vw, 3.4rem)/1.08 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.article { max-width: 720px; margin-inline: auto; }
.answer { background: var(--bg-2); border-radius: var(--r); padding: clamp(22px, 2.6vw, 32px); margin-bottom: 40px; display: grid; gap: 8px; }
.answer__k { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.answer__k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.answer p:last-child { font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.55; color: var(--ink); }
.toc { margin-bottom: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toc summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; padding: 0 0 16px; display: grid; gap: 8px; }
.toc a { color: var(--ink-2); font-size: 15px; }
.toc a:hover { color: var(--ink); }
.prose { font-size: 18px; line-height: 1.72; color: #2a2a2d; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font: 600 clamp(1.45rem, 2.1vw, 1.9rem)/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); margin-top: 2.1em; }
.prose h3 { font: 600 1.25rem/1.3 var(--display); color: var(--ink); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--mute); }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose blockquote { padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); font: 500 1.2rem/1.5 var(--display); color: var(--ink); }
.prose em { color: var(--mute); }
.prose figure img { border-radius: var(--r); }
.prose .ad { width: 100vw; margin-left: calc(50% - 50vw); margin-block: 2.4em; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.share span { font-size: 14px; color: var(--mute); margin-right: 6px; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 0; cursor: pointer; transition: background-color .2s; }
.share a:hover, .share button:hover { background: var(--bg-3); }
.share .i { width: 18px; height: 18px; }
.helpbox { margin-top: 40px; border-radius: var(--r); background: var(--night); color: var(--on-night); padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; justify-items: start; }
.helpbox p:first-child { font: 600 1.35rem/1.25 var(--display); }
.helpbox p { color: var(--on-night-2); }

/* Newsroom */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ncard { display: grid; gap: 14px; align-content: start; }
.ncard__media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--bg-3); }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ncard:hover .ncard__media img { transform: scale(1.04); }
.ncard__media .pill { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ncard__pin { position: absolute; top: 14px; right: 14px; }
.job-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 36px; }
.job-facts div { background: var(--bg-2); border-radius: 16px; padding: 16px 18px; display: grid; gap: 2px; }
.job-facts dt { font-size: 13px; color: var(--mute); }
.job-facts dd { font-weight: 600; }
.code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: 16px; border: 1.5px dashed var(--line-2); margin-bottom: 28px; }
.code b { font: 600 1.5rem/1 var(--display); letter-spacing: .04em; }

/* Forms */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; }
.field em { font-style: normal; color: var(--mute); font-weight: 400; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.input { width: 100%; border: 0; background: var(--surface); border-radius: 14px; padding: 14px 16px; font-size: 16px; box-shadow: 0 0 0 1px var(--line-2); transition: box-shadow .2s; }
.input:focus { outline: none; box-shadow: 0 0 0 2px var(--ink); }
.input[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--accent); }
textarea.input { min-height: 130px; resize: vertical; }
.ferr { color: var(--accent); font-size: 14px; font-weight: 500; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-block; padding: 10px 15px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.pick input:checked + span { background: var(--ink); color: #fff; box-shadow: 0 0 0 1px var(--ink); }
.pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
.file { display: grid; place-items: center; gap: 6px; padding: 22px; border-radius: 14px; border: 1.5px dashed var(--line-2); text-align: center; color: var(--mute); font-size: 15px; cursor: pointer; position: relative; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file.has { border-color: var(--ink); color: var(--ink); }
.done { border-radius: var(--r); background: var(--bg-2); padding: clamp(28px, 4vw, 48px); display: grid; gap: 10px; }
.done p:first-child { font: 500 clamp(1.8rem, 3vw, 2.6rem)/1.1 var(--display); letter-spacing: -.03em; }

/* Contact */
.reach { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.reach__i { background: var(--surface); border-radius: calc(var(--r) + 2px); box-shadow: 0 0 0 1px var(--line); padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 28px; align-content: space-between; min-height: 200px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.reach__i:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(0, 0, 0, .28); }
.reach__i .i { width: 26px; height: 26px; }
.reach__k { font-size: 14px; color: var(--mute); }
.reach__v { font: 600 clamp(1.05rem, 1.4vw, 1.25rem)/1.3 var(--display); overflow-wrap: anywhere; }
.reach__i--wa { background: var(--wa); color: #fff; box-shadow: none; }
.reach__i--wa .reach__k { color: rgba(255, 255, 255, .8); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.contact-grid aside { display: grid; gap: 20px; position: sticky; top: calc(var(--head) + 32px); }

/* Location / service pages */
.who { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 56px); }
.who li { display: grid; gap: 4px; padding: 22px 0; border-top: 1px solid var(--line); }
.who h3 { font: 600 1.15rem/1.3 var(--display); letter-spacing: -.01em; }
.who p { color: var(--ink-2); font-size: 16px; }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.why div { background: var(--surface); border-radius: calc(var(--r) + 2px); box-shadow: 0 0 0 1px var(--line); padding: clamp(24px, 2.6vw, 36px); display: grid; gap: 10px; align-content: start; }
.sec--alt .why div { box-shadow: none; }
.why h3 { font: 600 1.2rem/1.3 var(--display); }
.why p { color: var(--ink-2); font-size: 16px; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; }
.inc { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.inc li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.inc .i { width: 18px; height: 18px; color: var(--accent); margin-top: 4px; }
.links-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* About */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.value { background: var(--surface); border-radius: calc(var(--r) + 2px); box-shadow: 0 0 0 1px var(--line); padding: clamp(24px, 2.6vw, 34px); display: grid; gap: 10px; align-content: start; min-height: 240px; }
.value h3 { font: 600 1.2rem/1.3 var(--display); }
.value p { color: var(--ink-2); font-size: 16px; }
.duo { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(12px, 1.4vw, 20px); }
.duo figure { border-radius: var(--r); overflow: hidden; background: var(--bg-3); }
.duo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.duo figure + figure img { aspect-ratio: auto; }

/* Legal */
.legal { max-width: 760px; }

/* 404 + simple */
.nf { min-height: 64vh; display: grid; place-items: center; text-align: center; padding-block: var(--sec); }
.nf__in { display: grid; gap: 18px; justify-items: center; }
.nf__code { font: 500 clamp(5rem, 16vw, 12rem)/.9 var(--display); letter-spacing: -.05em; color: var(--bg-3); }

/* =========================================================================
   Footer
   ========================================================================= */
.foot { background: var(--bg-2); color: var(--ink-2); font-size: 14px; padding-top: clamp(56px, 6vw, 96px); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); padding-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.foot__brand { display: grid; gap: 16px; align-content: start; max-width: 380px; min-width: 0; }
.foot__brand .logo { font-size: 28px; }
.foot__brand p { color: var(--mute); font-size: 15px; }
.foot h2 { font: 600 14px/1.3 var(--text); color: var(--ink); margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot a:hover { color: var(--ink); }
.foot__sub .subform__row { box-shadow: 0 0 0 1px var(--line-2); }
.foot__mark { font: 600 clamp(5rem, 19vw, 21rem)/.8 var(--display); letter-spacing: -.06em; color: #e6e6ea; padding-top: clamp(28px, 4vw, 56px); user-select: none; white-space: nowrap; overflow: hidden; }
.foot__mark .dot { color: rgba(224, 41, 76, .35); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 20px 0 calc(24px + env(safe-area-inset-bottom, 0px)); color: var(--mute); font-size: 13px; }
.foot__base nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot__clock { display: inline-flex; align-items: center; gap: 8px; }
.foot__clock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wa); }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: background-color .2s; }
.socials a:hover { background: var(--bg-3); }
.socials .i { width: 18px; height: 18px; }

/* Floating WhatsApp */
.wa-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; height: 52px; padding: 0 18px 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); transform: translateY(0); transition: transform .5s var(--ease), opacity .4s; }
.wa-fab .i { width: 22px; height: 22px; color: #5be38f; }
.wa-fab.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* Cursor pill on work */
.cur { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; padding: 9px 14px; border-radius: 999px; background: rgba(29, 29, 31, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 13px; font-weight: 600; transform: translate3d(var(--x, -200px), var(--y, -200px), 0) translate(-50%, -50%) scale(0); transition: transform .35s var(--ease); }
.cur.on { transform: translate3d(var(--x), var(--y), 0) translate(-50%, -50%) scale(1); }

/* =========================================================================
   Responsive: same design, more air
   ========================================================================= */
@media (max-width: 1180px) {
  .folders, .grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --head: 58px; }
  body { font-size: 16.5px; }
  .nav, .head__cta { display: none; }
  .menu-btn { display: block; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--feature { grid-column: 1 / -1; min-height: 420px; }
  .tile--feature .tile__img { inset: 40% 0 0 0; }
  .tile--feature .tile__img::after { background: linear-gradient(180deg, var(--night), rgba(14, 14, 16, 0) 50%); }
  .spot { grid-template-columns: 1fr; }
  .spot__media { aspect-ratio: 4 / 3; }
  .spot__text { padding-block: clamp(56px, 10vw, 80px); }
  .process, .faq, .split, .contact-grid, .feature, .news-box { grid-template-columns: 1fr; }
  .process__aside, .contact-grid aside { position: static; }
  .process__img { aspect-ratio: 16 / 10; }
  .pgrid, .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .folders, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masonry, .masonry--4 { columns: 2; }
  .masonry--2 { columns: 1; }
  .approach, .who, .inc { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .nrow { grid-template-columns: 1fr 24px; gap: 6px 14px; }
  .nrow .pill { grid-row: 1; justify-self: start; }
  .nrow__title { grid-column: 1; }
  .nrow__meta { grid-column: 1; }
  .nrow .i { grid-column: 2; grid-row: 1 / 4; }
  .duo { grid-template-columns: 1fr; }
  .device[data-mode="tablet"] { width: 100%; }
  .hero { text-align: left; }
  .hero__text { justify-items: start; }
  .hero__btns { justify-content: flex-start; }
}
@media (max-width: 600px) {
  :root { --r: 18px; --sec: 72px; }
  .bento { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .tile:not(.tile--feature) { flex-direction: row; align-items: center; justify-content: flex-start; padding: 14px; gap: 16px; border-radius: var(--r); }
  .tile:not(.tile--feature) .tile__img { order: -1; position: relative; flex: none; width: 88px; height: 88px; min-height: 0; margin: 0; border-radius: 12px; }
  .tile:not(.tile--feature) .tile__go { display: none; }
  .tile:not(.tile--feature) .tile__text { gap: 4px; }
  .tile__name { font-size: 1.15rem; }
  .tile__line { font-size: 14.5px; line-height: 1.45; }
  .tile--feature { min-height: 440px; justify-content: flex-start; }
  .tile--feature .tile__img { inset: 46% 0 0 0; }
  .tile--feature .tile__img::after { background: linear-gradient(180deg, var(--night) 0%, rgba(14, 14, 16, .2) 60%); }
  .tile--feature .tile__tags { display: none; }
  .folder__meta { flex-direction: column; align-items: flex-start; gap: 2px; }
  .folder__name { font-size: 1rem; }
  .folder__n { font-size: 13px; padding-left: 26px; }
  .spot__media { aspect-ratio: 5 / 4; }
  .pgrid, .grid3 { grid-template-columns: 1fr; gap: 36px; }
  .wcard { width: 78vw; }
  .form__row { grid-template-columns: 1fr; }
  .reach { grid-template-columns: 1fr 1fr; }
  .reach__i { min-height: 150px; gap: 16px; }
  .reach__i:first-child { grid-column: 1 / -1; }
  .values { grid-template-columns: 1fr; }
  .value { min-height: 0; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .hero__media { height: 62vh; }
  .hero__float { display: none; }
  .bleed { height: 56vh; }
  .ad--house { min-height: 0; align-items: flex-end; aspect-ratio: 4 / 5; }
  .ad__body { padding-block: 32px; }
  .wa-fab span { display: none; }
  .wa-fab { width: 52px; padding: 0; justify-content: center; }
  .device[data-mode="mobile"] { width: 100%; max-width: 360px; }
  .subform__row { flex-direction: column; border-radius: 18px; background: transparent; box-shadow: none; padding: 0; }
  .subform__row input[type=email] { background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px var(--line-2); padding: 14px 16px; }
  .subform__row .btn { width: 100%; }
  .sec-head { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .hero__media, .bleed--inset { clip-path: none; }
  .js .statement__text .w { color: var(--ink); }
  @view-transition { navigation: none; }
}
