/* =========================================================
   Digital CubeRoot — main stylesheet
   Dark premium base + light editorial sections, brand red accent
   ========================================================= */

@font-face { font-family: "Maison"; src: url("../fonts/MaisonNeue-Book.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Maison"; src: url("../fonts/MaisonNeue-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Maison"; src: url("../fonts/MaisonNeue-Demi.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Maison"; src: url("../fonts/MaisonNeue-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0b0b0d;
  --bg-2: #121215;
  --surface: #17171b;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --text: #f4f3f0;
  --muted: #a3a2a8;
  --dim: #6e6d74;

  --paper: #f4f2ee;
  --paper-2: #ebe8e2;
  --ink: #111114;
  --ink-muted: #5c5b61;
  --ink-line: rgba(17,17,20,.12);

  --red: #e3253f;
  --red-2: #c81e34;
  --red-soft: rgba(227,37,63,.12);

  --radius: 18px;
  --radius-sm: 10px;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 11vw, 150px);
  --ease: cubic-bezier(.2,.7,.2,1);
  --font: "Maison", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.ic { width: 1.1em; height: 1.1em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.display { font-size: clamp(44px, 7.4vw, 104px); font-weight: 600; letter-spacing: -.035em; line-height: .98; }
.h1 { font-size: clamp(38px, 5.4vw, 72px); letter-spacing: -.03em; }
.h2 { font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -.03em; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.015em; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }
.accent { color: var(--red); }
.outline-text { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-2); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a30; }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-lg { height: 62px; padding: 0 32px; font-size: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow .ic { transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 84px;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .4s var(--ease), height .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(11,11,13,.82); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-color: var(--line); height: 72px; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand img { width: 158px; height: auto; }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 6px; }
.nav > ul > li > a {
  display: block; padding: 10px 16px; border-radius: 999px; font-size: 15.5px; font-weight: 500; color: rgba(244,243,240,.82);
  transition: color .2s, background .2s;
}
.nav > ul > li > a:hover, .nav > ul > li > a.is-active { color: #fff; background: rgba(255,255,255,.07); }
.has-menu { position: relative; }
.has-menu > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.menu {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 640px; transform: translate(-50%, 8px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px;
  background: rgba(23,23,27,.97); backdrop-filter: blur(20px); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.menu::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu a { display: flex; gap: 14px; padding: 14px; border-radius: 12px; transition: background .2s; }
.menu a:hover { background: rgba(255,255,255,.05); }
.menu-num { font-size: 12px; font-weight: 600; color: var(--red); padding-top: 3px; }
.menu strong { display: block; font-weight: 600; font-size: 15px; }
.menu small { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 3px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: 110px var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transition: opacity .35s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-size: clamp(34px, 9vw, 52px); font-weight: 600; letter-spacing: -.03em; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mobile-menu-foot { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 15px; gap: 16px; flex-wrap: wrap; }
.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 150px 0 72px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(70% 60% at 85% 20%, rgba(227,37,63,.22), transparent 60%),
  linear-gradient(180deg, rgba(11,11,13,.55) 0%, rgba(11,11,13,.35) 35%, rgba(11,11,13,.92) 82%, var(--bg) 100%); }
.hero-content { max-width: 1060px; }
.hero .eyebrow { margin-bottom: 28px; }
.hero .display span { display: block; }
.hero-sub { margin-top: 30px; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero-foot { margin-top: 80px; padding-top: 30px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-num { font-size: clamp(36px, 4.4vw, 60px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.stat-num sup { font-size: .45em; color: var(--red); vertical-align: top; position: relative; top: .25em; margin-left: 2px; }
.stat-label { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 190px 0 100px; overflow: hidden; isolation: isolate; }
.page-hero.has-media { min-height: 78vh; display: flex; align-items: flex-end; }
.page-hero .hero-media img { filter: grayscale(1); animation: none; transform: none; }
.page-hero.has-media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,13,.6), rgba(11,11,13,.5) 40%, rgba(11,11,13,.94) 88%, var(--bg)); }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 { max-width: 980px; }
.page-hero .lead { margin-top: 28px; max-width: 720px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--text); }
.crumbs span { color: var(--dim); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-sm { padding: calc(var(--section) * .6) 0; }
.section.light { background: var(--paper); color: var(--ink); }
.section.light .lead, .section.light .muted { color: var(--ink-muted); }
.section.alt { background: var(--bg-2); }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .lead { max-width: 720px; }
.border-top { border-top: 1px solid var(--line); }

/* Intro statement */
.statement { font-size: clamp(28px, 3.6vw, 50px); line-height: 1.16; letter-spacing: -.028em; font-weight: 500; max-width: 1120px; }
.statement em { font-style: normal; color: var(--red); }
.statement .soft { color: var(--dim); }
.section.light .statement .soft { color: #a09fa6; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 70px; padding-top: 50px; border-top: 1px solid var(--ink-line); }
.section:not(.light) .intro-grid { border-color: var(--line); }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc-card { position: relative; background: var(--bg); padding: 40px 36px 36px; display: flex; flex-direction: column; min-height: 420px; transition: background .4s var(--ease); overflow: hidden; }
.svc-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svc-card:hover { background: var(--surface); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-num { font-size: 14px; font-weight: 600; color: var(--red); letter-spacing: .06em; }
.svc-card h3 { margin-top: 56px; font-size: 28px; }
.svc-card p { margin-top: 14px; color: var(--muted); font-size: 16px; }
.svc-card ul { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-card li { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: rgba(244,243,240,.8); }
.svc-card .svc-go { margin-top: auto; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; }
.svc-go .circle { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.svc-card:hover .circle { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }

/* ---------- Mosaic ---------- */
.mosaic { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 16px; }
.mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic figure:nth-child(4) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform 1.2s var(--ease), filter .6s; }
.mosaic figure:hover img { transform: scale(1.04); filter: grayscale(.2); }

/* ---------- Value / reasons ---------- */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink-line); }
.reason { padding: 36px 30px 10px 0; }
.reason + .reason { padding-left: 30px; border-left: 1px solid var(--ink-line); }
.reason-num { font-size: 13px; font-weight: 600; color: var(--red); letter-spacing: .08em; }
.reason h3 { font-size: 22px; margin: 44px 0 14px; letter-spacing: -.015em; }
.reason p { color: var(--ink-muted); font-size: 15.5px; }
.section:not(.light) .reasons, .section:not(.light) .reason + .reason { border-color: var(--line); }
.section:not(.light) .reason p { color: var(--muted); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 34px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); }
.step-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-weight: 600; font-size: 15px; }
.step h3 { font-size: 22px; margin: 40px 0 12px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- Work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.work-card { display: block; }
.work-card[hidden] { display: none; }
.work-thumb { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); position: relative; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.05); }
.work-tag { position: absolute; top: 16px; left: 16px; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; background: rgba(11,11,13,.72); backdrop-filter: blur(8px); color: #fff; }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; }
.work-meta h3 { font-size: 21px; letter-spacing: -.015em; }
.work-meta p { font-size: 14.5px; color: var(--muted); text-align: right; }
.section.light .work-meta p { color: var(--ink-muted); }
.section.light .work-thumb { background: var(--paper-2); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter { height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 15px; font-weight: 500; cursor: pointer; transition: all .25s var(--ease); }
.filter:hover { border-color: var(--text); }
.filter.is-active { background: var(--text); color: var(--ink); border-color: var(--text); }
.filter .count { opacity: .5; margin-left: 6px; font-size: 13px; }

/* ---------- Service detail ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--ink-line); font-size: 15.5px; font-weight: 500; color: var(--ink); }
.chip .ic { color: var(--red); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 10vw, 140px); }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; background: var(--surface); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-num { font-size: 13px; font-weight: 600; color: var(--red); letter-spacing: .1em; }
.feature h3 { font-size: clamp(28px, 3vw, 42px); margin: 18px 0 20px; letter-spacing: -.028em; }
.feature p { color: var(--muted); font-size: 17px; }
.feature-list { margin-top: 26px; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.feature-list b { font-weight: 600; }
.feature-list span { color: var(--muted); }
.closing { margin-top: clamp(80px, 9vw, 130px); padding: 48px; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(80% 140% at 0% 0%, rgba(227,37,63,.14), transparent 60%), var(--bg-2); font-size: clamp(20px, 2vw, 26px); line-height: 1.45; letter-spacing: -.012em; }

.other-svc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.other-svc a { padding: 24px 22px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 30px; transition: border-color .25s, background .25s; }
.other-svc a:hover { border-color: var(--red); background: var(--bg-2); }
.other-svc small { color: var(--red); font-weight: 600; font-size: 12px; letter-spacing: .08em; }
.other-svc strong { font-weight: 600; font-size: 17px; letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 10px; align-items: center; }

/* ---------- Careers ---------- */
.jobs { border-top: 1px solid var(--ink-line); }
.job { display: grid; grid-template-columns: 1fr 200px 200px 60px; align-items: center; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--ink-line); color: var(--ink); transition: padding .35s var(--ease); }
.job h3 { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.02em; }
.job .meta { font-size: 15px; color: var(--ink-muted); display: flex; align-items: center; gap: 8px; }
.job .go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ink-line); display: grid; place-items: center; justify-self: end; transition: all .35s var(--ease); }
.job:hover { padding-left: 14px; padding-right: 14px; }
.job:hover .go { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(-45deg); }
.culture { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.culture + .culture { margin-top: clamp(70px, 9vw, 120px); }
.culture:nth-child(even) .culture-media { order: 2; }
.culture-media { position: relative; }
.culture-media .main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.culture-media .main img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.culture-media .inset { position: absolute; width: 42%; right: -24px; bottom: -40px; border-radius: 14px; overflow: hidden; border: 6px solid var(--bg); aspect-ratio: 1; }
.culture-media .inset img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.culture h3 { font-size: clamp(30px, 3.4vw, 46px); margin: 18px 0 22px; }
.culture p { color: var(--muted); }
.culture p + p { margin-top: 14px; }

/* ---------- Forms ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact-aside .lead { margin-top: 24px; }
.contact-list { margin-top: 48px; border-top: 1px solid var(--line); }
.contact-list li { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list .ic { color: var(--red); width: 22px; height: 22px; margin-top: 2px; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.contact-list a:hover { color: var(--red); }

.form-card { background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(28px, 4vw, 52px); }
.form-card h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 8px; }
.form-card > p { color: var(--ink-muted); margin-bottom: 32px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.field label .req { color: var(--red); }
.input, .textarea {
  width: 100%; height: 54px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--ink-line); background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.textarea { height: 140px; padding: 14px 18px; resize: vertical; }
.input:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(17,17,20,.08); }
.input::placeholder, .textarea::placeholder { color: #9b9aa0; }
.group-label { font-size: 13.5px; font-weight: 600; margin: 28px 0 12px; display: block; }
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip input { position: absolute; opacity: 0; pointer-events: none; }
.check-chip span { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink-line); background: #fff; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: all .2s; user-select: none; }
.check-chip span::before { content: "+"; font-weight: 600; color: var(--ink-muted); }
.check-chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.check-chip input:checked + span::before { content: "✓"; color: var(--red); }
.check-chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.file-drop { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1.5px dashed rgba(17,17,20,.22); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .2s; }
.file-drop:hover { border-color: var(--ink); }
.file-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-drop .ic { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--red-soft); color: var(--red); }
.file-drop strong { display: block; font-weight: 600; font-size: 15px; }
.file-drop small { color: var(--ink-muted); font-size: 13px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.form-foot small { color: var(--ink-muted); font-size: 13.5px; }
.form-status { display: none; margin-top: 20px; padding: 14px 18px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.form-status.is-error { display: block; background: #fde8eb; color: #a3142a; }
.form-status.is-info { display: block; background: var(--paper-2); color: var(--ink); }
.form-status.is-success { display: block; background: #e3f4e8; color: #17663a; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(48px, 7vw, 96px); background: var(--red); color: #fff; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); z-index: -1; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-band-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(34px, 4.6vw, 64px); max-width: 760px; letter-spacing: -.035em; }
.cta-band p { margin-top: 18px; font-size: 18px; opacity: .88; max-width: 560px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -.03em; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; color: rgba(244,243,240,.88); }
.marquee span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: 20px; }
.footer-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding-bottom: clamp(60px, 7vw, 90px); border-bottom: 1px solid var(--line); }
.footer-cta h2 { font-size: clamp(36px, 5vw, 72px); letter-spacing: -.035em; }
.footer-cta h2 span { color: var(--dim); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0; }
.footer-brand img { width: 158px; }
.footer-brand p { color: var(--muted); font-size: 15px; margin-top: 22px; max-width: 340px; }
.site-footer h3 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; }
.site-footer ul li + li { margin-top: 11px; }
.site-footer ul a { color: rgba(244,243,240,.82); font-size: 15.5px; transition: color .2s; }
.site-footer ul a:hover { color: var(--red); }
.footer-contact li { display: flex; gap: 12px; align-items: center; font-size: 15.5px; color: rgba(244,243,240,.82); }
.footer-contact .ic { color: var(--red); }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.mobile-menu .socials { margin-top: 0; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .25s; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0 36px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- 404 ---------- */
.notfound { min-height: 88vh; display: flex; align-items: center; padding: 140px 0 80px; }
.notfound .big { font-size: clamp(120px, 24vw, 320px); font-weight: 700; letter-spacing: -.06em; line-height: .85; }
.notfound .big span { color: var(--red); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; } .reveal[data-d="2"] { transition-delay: .16s; } .reveal[data-d="3"] { transition-delay: .24s; } .reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .reason:nth-child(3) { padding-left: 0; border-left: 0; }
  .reason:nth-child(n+3) { border-top: 1px solid var(--ink-line); margin-top: 20px; }
  .section:not(.light) .reason:nth-child(n+3) { border-color: var(--line); }
  .other-svc { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .job { grid-template-columns: 1fr 160px 60px; }
  .job .meta.loc { display: none; }
}
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .section-head, .intro-grid, .feature, .culture, .contact-layout { grid-template-columns: 1fr; }
  .section-head { gap: 20px; }
  .intro-grid { gap: 28px; }
  .feature:nth-child(even) .feature-media, .culture:nth-child(even) .culture-media { order: 0; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-foot { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 240px 240px; }
  .mosaic figure:first-child { grid-row: span 1; grid-column: span 2; }
  .mosaic figure:nth-child(4) { grid-column: span 2; }
  .culture-media .inset { right: 12px; bottom: -28px; width: 38%; }
  .culture { padding-bottom: 20px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { height: 72px; }
  .brand img { width: 136px; }
  .hero { padding-top: 120px; padding-bottom: 48px; }
  .hero-foot { margin-top: 56px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .page-hero { padding: 140px 0 64px; }
  .page-hero.has-media { min-height: 70vh; }
  .svc-grid, .process, .reasons, .work-grid, .other-svc, .field-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .svc-card { min-height: 0; padding: 32px 26px; }
  .svc-card h3 { margin-top: 36px; }
  .reason, .reason + .reason { padding: 28px 0 8px; border-left: 0; }
  .reason + .reason { border-top: 1px solid var(--ink-line); margin-top: 0; }
  .section:not(.light) .reason + .reason { border-color: var(--line); }
  .reason h3 { margin-top: 24px; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .mosaic figure:first-child, .mosaic figure:nth-child(4) { grid-column: auto; }
  .feature-list li { grid-template-columns: 1fr; gap: 2px; }
  .job { grid-template-columns: 1fr 52px; padding: 22px 0; }
  .job .meta { display: none; }
  .job:hover { padding-left: 0; padding-right: 0; }
  .closing { padding: 30px 24px; }
  .cta-band { border-radius: 20px; }
  .cta-band .btn { width: 100%; }
  .footer-cta .btn { width: 100%; }
  .form-card { border-radius: 18px; }
  .form-foot .btn { width: 100%; }
}
