/* ==========================================================================
   Stavební firma Jirman — web 2026
   Design systém: ink (tmavě modrá z loga J&J) + limetka + teplý „omítkový“ papír
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  --ink: #0c1626;
  --ink-2: #111e33;
  --ink-3: #1b2c46;
  --paper: #f3f0e9;
  --paper-2: #e8e3d7;
  --card: #fbfaf6;
  --white: #ffffff;
  --line: rgba(12, 22, 38, .12);
  --line-strong: rgba(12, 22, 38, .22);
  --muted: #586172;
  --lime: #cadf4e;
  --lime-hover: #d9ec68;
  --lime-deep: #8fa31a;
  --lime-text: #5c6b0e;
  --wood: #a86b3c;
  --wood-light: #ecd9b8;
  --danger: #b4410f;

  --on-ink: #ffffff;
  --on-ink-muted: rgba(255, 255, 255, .7);
  --on-ink-line: rgba(255, 255, 255, .13);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --section: clamp(80px, 11vw, 150px);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(12, 22, 38, .05), 0 18px 40px -18px rgba(12, 22, 38, .28);

  interpolate-size: allow-keywords;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 700; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 3px; border-radius: 6px; }
.on-ink :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000;
  padding: 12px 18px; border-radius: 999px;
  background: var(--lime); color: var(--ink); font-weight: 700;
  transform: translateY(-160%); transition: transform .25s var(--ease);
}
.skip-link:focus { transform: none; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section + .section--flush-top { padding-top: 0; }
.on-ink { background: var(--ink); color: var(--on-ink); }
.bg-card { background: var(--card); }
.bg-paper-2 { background: var(--paper-2); }

/* ---------- Typography ---------- */
.display { font-weight: 800; font-stretch: 116%; letter-spacing: -.035em; line-height: .96; }
.h1 { font-size: clamp(2.65rem, 1.15rem + 5.4vw, 6.5rem); }
.h2 { font-size: clamp(2.1rem, 1.3rem + 2.9vw, 4.1rem); }
.h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); letter-spacing: -.015em; }
.lead { font-size: clamp(1.075rem, 1rem + .35vw, 1.3rem); line-height: 1.55; color: var(--muted); }
.on-ink .lead { color: var(--on-ink-muted); }
.muted { color: var(--muted); }
.accent { color: var(--lime); }
.mark {
  background: linear-gradient(transparent 60%, var(--lime) 60%, var(--lime) 92%, transparent 92%);
  padding-inline: .06em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--lime-deep);
  transform: rotate(45deg);
}
.on-ink .eyebrow { color: var(--on-ink-muted); }
.on-ink .eyebrow::before { background: var(--lime); }
.mono { font-family: var(--mono); }

.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--muted); }
.prose strong { color: var(--ink); }

/* ---------- Buttons & links ---------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: var(--h); padding: 0 1.55rem 0 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; letter-spacing: -.005em; line-height: 1.1; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  border: 1px solid transparent;
}
.btn .icon { width: 1.15rem; height: 1.15rem; transition: transform .45s var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--sm { --h: 46px; padding: 0 1.15rem 0 1.3rem; font-size: .9375rem; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-hover); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: rgba(12, 22, 38, .03); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease-out);
  padding-bottom: 2px;
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .45s var(--ease-out); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover .icon { transform: translateX(3px); }

.chip {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--mono); font-size: .6875rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .55em .9em; border-radius: 999px;
  background: var(--paper-2); color: var(--ink); white-space: nowrap;
}
.chip--glass { background: rgba(12, 22, 38, .45); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); }
.chip--lime { background: var(--lime); color: var(--ink); }
.chip--outline { background: transparent; border: 1px solid var(--line-strong); }
.chip .icon { width: 1.2em; height: 1.2em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h); color: var(--on-ink);
  transition: transform .5s var(--ease-out);
  view-transition-name: site-header;
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(12, 22, 38, .78);
  backdrop-filter: saturate(1.5) blur(18px); -webkit-backdrop-filter: saturate(1.5) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  opacity: 0; transition: opacity .35s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header { transform: none; }
.menu-open .site-header::before { opacity: 0; }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 44px; height: 44px; flex: none; transition: transform .6s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.04); }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-size: 1.32rem; font-weight: 800; font-stretch: 122%; letter-spacing: .01em; text-transform: uppercase; }
.brand-text small { font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; opacity: .68; margin-top: 6px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; color: rgba(255, 255, 255, .8);
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--lime); transform: translateX(-50%);
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 999px;
  font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; transition: background-color .2s;
}
.header-phone:hover { background: rgba(255, 255, 255, .08); }
.header-phone .icon { color: var(--lime); }

.menu-toggle {
  display: none; position: relative; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; overflow-y: auto;
  background: var(--ink); color: #fff;
  padding: calc(var(--header-h) + 20px) var(--gutter) 28px;
  display: flex; flex-direction: column; gap: 32px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--on-ink-line);
  font-size: clamp(1.9rem, 7.5vw, 2.8rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.03em; line-height: 1.1;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 45ms + 80ms);
}
.mobile-menu nav a span { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; color: var(--on-ink-muted); }
.mobile-menu nav a[aria-current="page"] { color: var(--lime); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.mobile-menu-foot { margin-top: auto; display: grid; gap: 12px; }
.mobile-menu-foot .btn { width: 100%; }
.mobile-menu-foot p { font-size: .875rem; color: var(--on-ink-muted); text-align: center; }

@media (max-width: 1120px) {
  .nav, .header-phone span { display: none; }
  .menu-toggle { display: inline-block; }
}
@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  .brand-text small { display: none; }
}
.menu-open { overflow: hidden; }

/* ---------- Shared ink backdrop (blueprint grid) ---------- */
.blueprint { position: relative; isolation: isolate; overflow: hidden; }
.blueprint::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 25% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 75% at 25% 30%, #000 20%, transparent 78%);
}
.blueprint::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 1300px; height: 1300px; left: -520px; top: -640px;
  background: radial-gradient(closest-side, rgba(202, 223, 78, .14), transparent);
}

/* ---------- Home hero ---------- */
.hero { color: var(--on-ink); background: var(--ink); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 88px); align-items: center;
  min-height: min(100svh, 1000px); padding-top: var(--header-h);
}
.hero-copy { padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { margin-top: 28px; font-size: clamp(2.65rem, 1.1rem + 4.7vw, 5.75rem); }
.hero h1 .line { display: block; }
.hero-lead { margin-top: 28px; max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 56px; padding-top: 26px;
  border-top: 1px solid var(--on-ink-line); font-size: .9375rem; color: var(--on-ink-muted);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta .icon { color: var(--lime); }
.hero-meta a:hover { color: #fff; }

.hero-visual { position: relative; align-self: stretch; }
.hero-media {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}
.photo-col { display: flex; flex-direction: column; gap: 16px; animation: col-up 70s linear infinite; will-change: transform; }
.photo-col--down { animation-direction: reverse; animation-duration: 80s; }
.photo-col img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); background: var(--ink-3); }
@keyframes col-up { to { transform: translateY(calc(-50% - 8px)); } }
@keyframes row-left { to { transform: translateX(calc(-50% - 8px)); } }

.badge {
  position: absolute; left: -64px; bottom: 16%; z-index: 2;
  width: 148px; height: 148px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .45);
}
.badge svg { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); animation: spin 22s linear infinite; }
.badge text { font-family: var(--mono); font-size: 10.4px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; fill: var(--ink); }
.badge-core { text-align: center; line-height: 1; }
.badge-core b { display: block; font-size: 2.6rem; font-weight: 800; font-stretch: 118%; letter-spacing: -.04em; }
.badge-core small { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* entrance */
.rise { opacity: 0; transform: translateY(26px); filter: blur(6px); animation: rise 1.1s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-copy { padding-bottom: 40px; }
  .hero-visual { height: 300px; margin-inline: calc(-1 * var(--gutter)); margin-bottom: 48px; }
  .hero-media {
    grid-template-columns: 1fr;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  }
  .photo-col { flex-direction: row; width: max-content; height: 100%; animation-name: row-left; animation-duration: 60s; }
  .photo-col img { width: auto; height: 100%; }
  .photo-col--down { display: none; }
  .badge { left: auto; right: calc(var(--gutter) + 4px); bottom: -40px; width: 116px; height: 116px; }
  .badge text { font-size: 12.4px; }
  .badge-core b { font-size: 2rem; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  background: var(--ink); color: var(--on-ink);
  padding: calc(var(--header-h) + clamp(56px, 9vw, 128px)) 0 clamp(56px, 8vw, 112px);
}
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 48px; align-items: end; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-muted); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.breadcrumbs ol { display: contents; }
.page-hero h1 { margin-top: 28px; }
.page-hero .lead { margin-top: 28px; max-width: 38em; }
.page-hero-aside { display: grid; gap: 0; border-top: 1px solid var(--on-ink-line); }
.page-hero-aside div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--on-ink-line); }
.page-hero-aside dt { color: var(--on-ink-muted); font-size: .9375rem; }
.page-hero-aside dd { font-size: 2rem; font-weight: 800; font-stretch: 116%; letter-spacing: -.03em; line-height: 1; }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { margin-top: 20px; }
.section-head .lead { max-width: 34em; }
.section-head--stack { grid-template-columns: 1fr; }
.section-head .head-action { justify-self: end; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .head-action { justify-self: start; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-num { display: block; font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); font-weight: 800; font-stretch: 118%; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; margin-left: .05em; color: var(--lime-text); }
.stat-label { display: block; margin-top: 12px; color: var(--muted); font-size: .9375rem; max-width: 16em; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 32px; }
}

/* ---------- Intro / about split ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.statement { font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.75rem); font-weight: 500; line-height: 1.22; letter-spacing: -.025em; text-wrap: pretty; }
.statement .dim { color: rgba(12, 22, 38, .5); }
.intro-body { margin-top: 36px; display: grid; gap: 28px; max-width: 38em; }
.intro-body.prose { gap: 16px; }
.intro-body.prose p + p { margin-top: 0; }
.founders { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.founders .link-arrow { margin-left: auto; white-space: nowrap; }
.avatars { display: flex; }
.avatars span {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--lime); font-weight: 800; font-stretch: 116%; font-size: .95rem;
  border: 3px solid var(--paper);
}
.avatars span + span { margin-left: -12px; background: var(--ink-3); }
.founders p { font-size: .9375rem; color: var(--muted); line-height: 1.4; }
.founders strong { color: var(--ink); display: block; }
.figure { position: relative; }
.figure img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-2); }
.figure figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: .875rem; color: var(--muted); }
.figure figcaption .mono { font-size: .75rem; letter-spacing: .08em; }
.figure-tag { position: absolute; top: 16px; left: 16px; }
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .figure img { aspect-ratio: 4 / 3; }
}

/* ---------- Services grid ---------- */
.services {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.service {
  position: relative; display: flex; flex-direction: column;
  min-height: 360px; padding: 30px 28px 28px; background: var(--card);
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.service-top { display: flex; justify-content: space-between; align-items: center; }
.service-num { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: var(--muted); transition: color .45s; }
.service-go {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); transition: background-color .45s, border-color .45s, color .45s, transform .45s var(--ease-out);
}
.service-go .icon { width: 18px; height: 18px; }
.service-icon { width: 52px; height: 52px; margin-top: 36px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: color .45s; }
.service h3 { margin-top: auto; padding-top: 32px; font-size: 1.28rem; font-stretch: 108%; letter-spacing: -.02em; }
.service p { margin-top: 10px; font-size: .9375rem; line-height: 1.55; color: var(--muted); transition: color .45s; }
.service:hover { background: var(--ink); color: #fff; }
.service:hover .service-num, .service:hover p { color: var(--on-ink-muted); }
.service:hover .service-icon { color: var(--lime); }
.service:hover .service-go { background: var(--lime); border-color: var(--lime); color: var(--ink); transform: rotate(-45deg); }
.service--feature { background: var(--wood-light); }
@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; padding: 22px 22px 24px; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .service-top { grid-column: 1 / -1; }
  .service-icon { grid-row: 2 / span 2; margin-top: 4px; width: 40px; height: 40px; }
  .service h3 { grid-column: 2; padding-top: 0; margin-top: 2px; font-size: 1.15rem; }
  .service p { grid-column: 2; }
  .service-top { margin-bottom: 10px; }
  .service-go { width: 34px; height: 34px; }
}

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; counter-reset: step; }
.step { position: relative; padding-top: 36px; border-top: 1px solid var(--on-ink-line); }
.step::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--lime);
  transition: width 1.4s var(--ease-out); transition-delay: calc(var(--i, 0) * 220ms + 200ms);
}
.step.is-visible::before, .no-js .step::before { width: 100%; }
.step-num { font-family: var(--mono); font-size: .8125rem; color: var(--lime); letter-spacing: .08em; }
.step h3 { margin-top: 56px; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.9rem); font-stretch: 110%; letter-spacing: -.025em; }
.step p { margin-top: 14px; color: var(--on-ink-muted); font-size: .98rem; }
.step-dot { position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--lime); }
@media (max-width: 960px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } .step h3 { margin-top: 28px; } }

/* ---------- Projects bento ---------- */
.projects { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.project {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); background: var(--ink-3); color: #fff; min-height: 280px;
  text-align: left; width: 100%;
}
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.project::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8, 14, 25, .88) 0%, rgba(8, 14, 25, .35) 38%, rgba(8, 14, 25, 0) 62%);
  transition: opacity .5s;
}
.project-top { position: absolute; top: 18px; left: 18px; right: 18px; z-index: 2; display: flex; justify-content: space-between; gap: 8px; }
.project-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(18px, 2.4vw, 28px); display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.project h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.6rem); font-stretch: 108%; letter-spacing: -.02em; }
.project-place { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .875rem; color: rgba(255, 255, 255, .72); }
.project-place .icon { width: 1em; height: 1em; }
.project-go { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); transform: scale(.7); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s; }
.project-go .icon { width: 20px; height: 20px; }
.project:hover img { transform: scale(1.06); }
.project:hover .project-go, .project:focus-visible .project-go { transform: none; opacity: 1; }
.p-lg { grid-column: span 7; aspect-ratio: 16 / 11.5; }
.p-md { grid-column: span 5; }
.p-sm { grid-column: span 4; aspect-ratio: 4 / 3.2; }
@media (hover: none) { .project-go { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .p-lg, .p-md { grid-column: span 12; aspect-ratio: 4 / 3; }
  .p-sm { grid-column: span 6; }
  .p-sm:last-child { grid-column: span 12; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .p-sm, .p-sm:last-child { grid-column: span 12; aspect-ratio: 4 / 3; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--lime); color: var(--ink); overflow: hidden; padding: clamp(20px, 3vw, 34px) 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); padding-right: clamp(24px, 3vw, 44px); }
.marquee-item { font-size: clamp(2rem, 1.2rem + 3.6vw, 4.6rem); font-weight: 800; font-stretch: 125%; letter-spacing: -.035em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.marquee-item--outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee-sep { width: clamp(18px, 1.9vw, 30px); height: auto; flex: none; fill: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Split (pila teaser etc.) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.split--rev > :first-child { order: 2; }
.art-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--wood-light); padding: clamp(28px, 5vw, 64px);
  aspect-ratio: 1 / 1; display: grid; place-items: center;
}
.art-card::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(90, 57, 32, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 57, 32, .08) 1px, transparent 1px);
  background-size: 36px 36px;
}
.art-card img { position: relative; width: 100%; }
.art-card .chip { position: absolute; top: 20px; left: 20px; }
.art-card .art-note { position: absolute; bottom: 20px; right: 20px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #5a3920; }
.checklist { display: grid; gap: 12px; margin-top: 28px; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1626' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist--ink li::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cadf4e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
.split-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .art-card { aspect-ratio: 4 / 3.4; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink); overflow: hidden; position: relative; isolation: isolate; }
.footer-cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px 64px; align-items: end; padding-block: clamp(80px, 10vw, 136px) clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--on-ink-line); }
.footer-cta h2 { margin-top: 20px; }
.footer-contact { display: grid; gap: 10px; justify-items: start; }
.footer-phone { white-space: nowrap; font-size: clamp(1.7rem, 1rem + 2.3vw, 3rem); font-weight: 800; font-stretch: 116%; letter-spacing: -.035em; line-height: 1.05; color: var(--lime); font-variant-numeric: tabular-nums; transition: opacity .2s; }
.footer-phone:hover { opacity: .85; }
.footer-mail { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--on-ink-muted); }
.footer-mail:hover { color: #fff; }
.footer-contact .btn { margin-top: 18px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 64px; }
.footer-about p { margin-top: 20px; max-width: 26em; color: var(--on-ink-muted); font-size: .9375rem; }
.footer-col h3 { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.footer-col li { color: rgba(255, 255, 255, .8); font-size: .9375rem; }
.footer-col a { display: inline-block; padding-block: 4px; color: rgba(255, 255, 255, .8); font-size: .9375rem; transition: color .2s; }
.footer-col a:hover { color: var(--lime); }
.footer-col address { font-style: normal; color: rgba(255, 255, 255, .8); font-size: .9375rem; line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid var(--on-ink-line); font-size: .8125rem; color: rgba(255, 255, 255, .5); }
.footer-bottom a:hover { color: #fff; }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top .icon { transform: rotate(-90deg); width: 1em; height: 1em; }
.footer-word {
  font-size: clamp(4rem, 16.4vw, 17rem); font-weight: 900; font-stretch: 125%;
  letter-spacing: -.05em; line-height: .78; text-transform: uppercase; text-align: center;
  margin: 12px 0 -0.04em; white-space: nowrap; user-select: none; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .015) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 900px) {
  .footer-cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Albums / gallery ---------- */
.albums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.album { display: grid; gap: 18px; align-content: start; text-align: left; width: 100%; }
.album-cover { position: relative; width: 100%; aspect-ratio: 4 / 3; margin-top: 18px; }
.album-cover .stack {
  position: absolute; inset: 0; border-radius: var(--r-lg); background: var(--paper-2);
  transition: transform .6s var(--ease-out);
}
.album-cover .stack:nth-child(1) { transform: translateY(-34px) scale(.86); background: #d9d2c2; }
.album-cover .stack:nth-child(2) { transform: translateY(-17px) scale(.93); background: #c9c0ac; }
.album-cover .frame { position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.album-cover .chip { position: absolute; z-index: 2; top: 14px; right: 14px; }
.album:hover .album-cover img { transform: scale(1.05); }
.album:hover .stack:nth-child(1) { transform: translateY(-44px) scale(.86); }
.album:hover .stack:nth-child(2) { transform: translateY(-23px) scale(.93); }
.album-info { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.album h3 { font-size: 1.2rem; font-stretch: 106%; letter-spacing: -.015em; }
.album-meta { display: flex; gap: 10px; align-items: center; margin-top: 8px; font-size: .875rem; color: var(--muted); }
.album .service-go { flex: none; }
.album:hover .service-go { background: var(--ink); border-color: var(--ink); color: var(--lime); transform: rotate(-45deg); }
@media (max-width: 1000px) { .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .albums { grid-template-columns: 1fr; } }

/* ---------- Reference list ---------- */
.ref-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; background: var(--paper-2); border-radius: 999px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: .9375rem; color: var(--muted); transition: background-color .25s, color .25s; }
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tab .count { font-family: var(--mono); font-size: .72rem; opacity: .7; }
.search { position: relative; flex: 1 1 280px; max-width: 380px; }
.search .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 52px; padding: 0 20px 0 50px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--card); transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(202, 223, 78, .5); }
.ref-list { list-style: none; padding: 0; border-top: 1px solid var(--ink); counter-reset: ref; }
.ref {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 220px) 150px; gap: 16px; align-items: center;
  padding: 20px 12px; border-bottom: 1px solid var(--line); transition: background-color .25s, padding .35s var(--ease-out);
}
.ref:hover { background: var(--card); padding-left: 20px; }
.ref-no { font-family: var(--mono); font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ref-title { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.ref-place { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9375rem; }
.ref-place .icon { width: 1em; height: 1em; color: var(--lime-deep); }
.ref-type { justify-self: end; }
.ref .chip--new { background: var(--ink); color: var(--lime); }
.ref-empty { padding: 48px 0; text-align: center; color: var(--muted); }
@media (max-width: 760px) {
  .ref { grid-template-columns: 34px minmax(0, 1fr) auto; row-gap: 6px; column-gap: 12px; padding: 16px 4px; }
  .ref:hover { padding-left: 4px; }
  .ref-no { grid-row: 1 / span 2; align-self: start; padding-top: 3px; }
  .ref-title { grid-column: 2 / -1; font-size: 1rem; }
  .ref-place { grid-column: 2; font-size: .875rem; }
  .ref-type { grid-column: 3; }
  .ref .chip { font-size: .625rem; }
  .search { max-width: none; }
}
@media (max-width: 560px) {
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1 1 auto; justify-content: center; padding: 10px 8px; font-size: .875rem; gap: 6px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(7, 12, 22, .9); color: #fff;
  -webkit-backdrop-filter: blur(24px) saturate(.7); backdrop-filter: blur(24px) saturate(.7);
  grid-template-rows: auto minmax(0, 1fr) auto; overscroll-behavior: contain;
}
.lightbox[open] { display: grid; animation: lb-in .35s var(--ease-out); }
.lightbox::backdrop { background: transparent; }
@keyframes lb-in { from { opacity: 0; } }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px var(--gutter); }
.lb-title { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.lb-count { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: var(--on-ink-muted); margin-top: 4px; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 clamp(16px, 7vw, 96px); min-height: 0; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--r-md); user-select: none; -webkit-user-drag: none; }
.lb-stage img.is-swapping { animation: lb-swap .45s var(--ease-out); }
@keyframes lb-swap { from { opacity: 0; transform: scale(.985); } }
.lb-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid rgba(255, 255, 255, .2); color: #fff; background: rgba(12, 22, 38, .5);
  transition: background-color .2s, border-color .2s, color .2s;
}
.lb-btn:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.lb-btn .icon { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-prev { left: var(--gutter); }
.lb-next { right: var(--gutter); }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 16px var(--gutter) 22px; scrollbar-width: none; justify-content: safe center; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumbs button { flex: none; width: 76px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; opacity: .4; transition: opacity .2s; outline-offset: 2px; }
.lb-thumbs button:hover { opacity: .8; }
.lb-thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid var(--lime); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-single .lb-prev, .lb-single .lb-next, .lb-single .lb-thumbs { display: none; }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; width: 46px; height: 46px; }
  .lb-stage { padding-bottom: 72px; }
}

/* ---------- Services detail page ---------- */
.svc-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.svc-nav { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 28px; }
.svc-nav nav { display: grid; border-top: 1px solid var(--line); }
.svc-nav nav a {
  display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line);
  font-weight: 600; font-size: .98rem; color: var(--muted); transition: color .2s, padding .35s var(--ease-out);
}
.svc-nav nav a span { font-family: var(--mono); font-size: .72rem; font-weight: 500; }
.svc-nav nav a:hover { color: var(--ink); }
.svc-nav nav a.is-active { color: var(--ink); padding-left: 12px; box-shadow: inset 3px 0 0 var(--lime-deep); }
.help-card { padding: 24px; border-radius: var(--r-md); background: var(--ink); color: #fff; }
.help-card p { color: var(--on-ink-muted); font-size: .9375rem; margin-top: 8px; }
.help-card a.phone { display: block; margin-top: 16px; font-size: 1.35rem; font-weight: 800; font-stretch: 112%; color: var(--lime); letter-spacing: -.02em; }
.svc { padding-bottom: clamp(56px, 7vw, 96px); margin-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 32px); }
.svc:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.svc-head { display: flex; gap: 20px; align-items: baseline; }
.svc-num { font-family: var(--mono); font-size: .85rem; color: var(--lime-text); font-weight: 500; }
.svc h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.035em; line-height: 1.02; }
.svc-media { margin-top: 32px; position: relative; }
.svc-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); background: var(--paper-2); }
.svc-media figcaption { margin-top: 12px; font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.svc-media figcaption .icon { width: 1em; height: 1em; color: var(--lime-deep); }
.svc-lead { margin-top: 28px; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; max-width: 40em; }
.svc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.svc-cols h3 { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.svc-cols .checklist { margin-top: 18px; }
.reflist { list-style: none; padding: 0; margin-top: 18px; display: grid; }
.reflist li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-strong); font-size: .97rem; }
.reflist li:first-child { padding-top: 0; }
.reflist li::before { content: "↳"; color: var(--lime-deep); font-weight: 700; }
.svc-card {
  margin-top: 32px; border-radius: var(--r-lg); background: var(--ink); color: #fff; padding: clamp(24px, 4vw, 44px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; position: relative; overflow: hidden;
}
.svc-card .tile { padding: 20px 0; display: grid; gap: 10px; align-content: start; }
.svc-card .tile svg { width: 36px; height: 36px; color: var(--lime); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-card .tile span { font-weight: 600; }
.svc-card .tile small { color: var(--on-ink-muted); font-size: .875rem; line-height: 1.45; }
@media (max-width: 1000px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-nav { position: sticky; top: var(--header-h); z-index: 5; margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter); background: rgba(243, 240, 233, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: top .5s var(--ease-out); }
  .header-hidden .svc-nav { top: 0; }
  .svc-nav nav { display: flex; gap: 6px; overflow-x: auto; border: 0; scrollbar-width: none; }
  .svc-nav nav::-webkit-scrollbar { display: none; }
  .svc-nav nav a { flex: none; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .875rem; }
  .svc-nav nav a.is-active { padding-left: 14px; box-shadow: none; background: var(--ink); color: #fff; border-color: var(--ink); }
  .svc-nav nav a span { display: none; }
  .help-card { display: none; }
}
@media (max-width: 640px) {
  .svc-cols { grid-template-columns: 1fr; }
  .svc-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
}

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); font-weight: 600; letter-spacing: -.01em; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .3s, border-color .3s, transform .45s var(--ease-out); }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.75px; background: currentColor; transform: translate(-50%, -50%); border-radius: 2px; }
.faq .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); background: var(--lime); border-color: var(--lime); }
.faq summary:hover .plus { border-color: var(--ink); }
.faq .answer { padding: 0 64px 28px 0; color: var(--muted); max-width: 46em; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq .answer { padding-right: 0; } }

/* ---------- Cards / values / timeline ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--lime); margin-bottom: 18px; }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.3rem; font-stretch: 108%; letter-spacing: -.02em; }
.card p { color: var(--muted); font-size: .97rem; }
.card .num { font-family: var(--mono); font-size: .75rem; color: var(--muted); letter-spacing: .08em; }
.on-ink .card { background: var(--ink-2); border-color: var(--on-ink-line); }
.on-ink .card p { color: var(--on-ink-muted); }
.on-ink .card-icon { background: var(--lime); color: var(--ink); }
@media (max-width: 1000px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards-4, .cards-3 { grid-template-columns: 1fr; } }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--on-ink-line); }
.tl { position: relative; padding: 48px 28px 0 0; }
.tl::before { content: ""; position: absolute; top: 5px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--ink); border: 2px solid var(--lime); }
.tl-year { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.8rem); font-weight: 800; font-stretch: 118%; letter-spacing: -.045em; line-height: 1; color: var(--lime); }
.tl h3 { margin-top: 18px; font-size: 1.2rem; font-stretch: 106%; }
.tl p { margin-top: 10px; color: var(--on-ink-muted); font-size: .96rem; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 36px; padding-left: 28px; }
  .timeline::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .tl { padding: 0; }
  .tl::before { left: -28px; top: 10px; }
}

.photo-strip { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1fr; gap: 16px; }
.photo-strip img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-lg); background: var(--paper-2); }
.photo-strip img:nth-child(odd) { margin-top: 48px; aspect-ratio: 4 / 4.6; }
@media (max-width: 760px) {
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip img:nth-child(odd) { margin-top: 0; }
}

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.person { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--card); }
.person .avatars span { width: 56px; height: 56px; border: 0; font-size: 1.05rem; }
.person strong { display: block; font-size: 1.05rem; }
.person small { color: var(--muted); font-size: .875rem; }
@media (max-width: 520px) { .people { grid-template-columns: 1fr; } }

/* ---------- Pila ---------- */
.pila-hero-art { position: relative; max-width: 520px; justify-self: end; width: 100%; }
.pila-hero-art img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.pila-hero-art .chip { position: absolute; }
.product { position: relative; overflow: hidden; }
.product .dims { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line-strong); font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; color: var(--muted); }
.wood-band { background: var(--wood-light); }
.callout {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: var(--r-lg); background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate;
}
.callout h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.9rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.035em; line-height: 1.04; }
.callout p { margin-top: 14px; color: var(--on-ink-muted); max-width: 36em; }
.callout .eyebrow { color: var(--on-ink-muted); }
.callout .eyebrow::before { background: var(--lime); }
.callout-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .callout { grid-template-columns: 1fr; } }

/* ---------- Careers ---------- */
.empty-state {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 32px; align-items: center;
  padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); border: 1.5px dashed var(--line-strong); background: var(--card);
}
.empty-state .card-icon { margin: 0; }
.empty-state h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); font-stretch: 106%; }
.empty-state p { color: var(--muted); margin-top: 8px; max-width: 40em; }
@media (max-width: 760px) { .empty-state { grid-template-columns: 1fr; } }
.jobs { display: grid; gap: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.ccard { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--card); transition: border-color .25s, transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
a.ccard:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.ccard-icon { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--lime); }
.ccard-icon .icon { width: 22px; height: 22px; }
.ccard-label { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ccard-value { display: block; margin-top: 4px; font-weight: 600; font-size: 1.1rem; line-height: 1.35; }
.ccard-value small { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); }
.ccard .go { margin-left: auto; color: var(--muted); }
.contact-note { margin-top: 24px; padding: 20px 22px; border-radius: var(--r-md); background: var(--paper-2); font-size: .9375rem; color: var(--muted); display: flex; gap: 14px; }
.contact-note .icon { color: var(--lime-deep); margin-top: 2px; }

.form { padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.035em; }
.form-body > p { margin-top: 12px; color: var(--muted); }
.hero-phone { display: inline-block; font-size: clamp(1.6rem, 1rem + 1.6vw, 2.6rem); font-weight: 800; font-stretch: 116%; letter-spacing: -.03em; color: var(--lime); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hero-phone:hover { opacity: .85; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; align-content: start; }
.field > label, .field legend { font-weight: 600; font-size: .9rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 56px; padding: 0 18px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; padding: 16px 18px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #9aa1ad; }
.field input:hover, .field textarea:hover { border-color: rgba(12, 22, 38, .4); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(202, 223, 78, .55); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180, 65, 15, .12); }
.field-error { font-size: .82rem; color: var(--danger); display: none; }
.field.is-invalid .field-error, .consent-wrap.is-invalid .field-error { display: block; }
.consent-wrap .field-error { margin: 6px 0 0 32px; }
.no-js .ref-toolbar { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-check span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #fff; font-size: .9375rem; font-weight: 500;
  transition: background-color .2s, color .2s, border-color .2s; cursor: pointer;
}
.chip-check span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .5; transition: all .2s; }
.chip-check:hover span { border-color: var(--ink); }
.chip-check input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-check input:checked + span::before { background: var(--lime); border-color: var(--lime); opacity: 1; }
.chip-check input:focus-visible + span { outline: 2px solid var(--lime-deep); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; }
.form-foot small { color: var(--muted); font-size: .8125rem; }
.form .btn[disabled] { opacity: .7; pointer-events: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: none; }
.is-sending .spinner { display: inline-block; }
.is-sending .icon--arrow { display: none; }
.form-success { display: none; text-align: center; padding: clamp(24px, 5vw, 56px) 0; }
.form-success .card-icon { margin: 0 auto 20px; width: 72px; height: 72px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.form-success .card-icon svg { width: 34px; height: 34px; }
.form-success h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.03em; }
.form-success p { color: var(--muted); margin: 12px auto 0; max-width: 30em; }
.form.is-sent .form-body { display: none; }
.form.is-sent .form-success { display: block; animation: rise .8s var(--ease-out); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.map { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); min-height: 460px; isolation: isolate; }
.map iframe { max-width: none; position: absolute; inset: -56px -64px; width: calc(100% + 128px); height: calc(100% + 112px); border: 0; filter: grayscale(1) contrast(1.08) brightness(1.04) sepia(.08); pointer-events: none; }
.map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 22, 38, .35), rgba(12, 22, 38, 0) 55%); pointer-events: none; }
.map-pin { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -100%); filter: drop-shadow(0 10px 14px rgba(12, 22, 38, .35)); }
.map-pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 14px; height: 6px; transform: translateX(-50%); border-radius: 50%; background: rgba(12, 22, 38, .35); }
.map-pin svg { width: 52px; height: 64px; }
.map-pulse { position: absolute; left: 50%; top: 50%; z-index: 1; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; background: rgba(202, 223, 78, .45); animation: pulse 2.6s var(--ease-out) infinite; }
@keyframes pulse { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.map-card { position: absolute; z-index: 3; left: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); width: min(360px, calc(100% - 32px)); padding: 24px; border-radius: var(--r-md); background: var(--ink); color: #fff; box-shadow: 0 30px 60px -20px rgba(12, 22, 38, .55); }
.map-card address { font-style: normal; margin-top: 10px; font-size: 1.15rem; font-weight: 600; line-height: 1.4; }
.map-card .btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.map-card .btn--sm { --h: 42px; font-size: .875rem; }
.map-attrib { position: absolute; right: 10px; bottom: 8px; z-index: 3; font-size: .68rem; color: var(--muted); background: rgba(255, 255, 255, .8); padding: 2px 6px; border-radius: 4px; }
.map-attrib a { text-decoration: underline; }
@media (max-width: 640px) {
  .map { min-height: 0; display: flex; flex-direction: column; }
  .map-frame { position: relative; height: 280px; overflow: hidden; }
  .map::after { display: none; }
  .map-card { position: static; width: auto; border-radius: 0; box-shadow: none; }
  .map-pin { top: 140px; }
  .map-pulse { top: 140px; }
  .map-attrib { bottom: auto; top: 252px; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; }
.notfound-code { font-size: clamp(7rem, 30vw, 22rem); font-weight: 900; font-stretch: 125%; letter-spacing: -.06em; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--lime); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 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; }
  .photo-col, .marquee-track, .badge svg { animation: none !important; }
  .rise { opacity: 1; transform: none; filter: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-menu, .hero-visual, .marquee, .footer-word, .map, .lightbox { display: none !important; }
  .hero, .page-hero, .on-ink, .site-footer { background: #fff !important; color: #000 !important; }
  body { background: #fff; }
}
