/* Ironframe — hand-written stylesheet. Design drawn at 1440 px, scales down to 390 px. */

@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #0E0F11;
  --surface: #16181B;
  --raised: #1E2125;
  --line: #22252A;
  --line-2: #2A2E33;
  --line-soft: #1A1C20;
  --text: #F3EEE6;
  --text-2: #D9D3C9;
  --text-3: #B8B2A8;
  --muted: #9A958D;
  --signal: #FF5A1F;
  --signal-hover: #FF7A45;

  --f-brand: "Unbounded", "Arial Black", sans-serif;
  --f-ui: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(1.125rem, 0.25rem + 4.4vw, 4.5rem);   /* 18 → 72 */
  --section: clamp(4rem, 2.6rem + 3.6vw, 6.25rem);        /* 64 → 100 */
  --section-top: clamp(3.5rem, 2.8rem + 1.8vw, 4.5rem);   /* 56 → 72 */
  --radius: 20px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-ui);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-color: var(--text); }

.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;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--signal); color: var(--bg); font-weight: 600; padding: 12px 16px; border-radius: 10px;
  text-decoration: none; transition: transform 200ms var(--ease-out);
}
.skip:focus { transform: translateY(72px); }

/* ---------- type ---------- */
.u { font-family: var(--f-brand); }
.m { font-family: var(--f-mono); }
.o { color: var(--signal); }
.lbl { font-family: var(--f-mono); font-size: clamp(0.6875rem, 0.62rem + 0.19vw, 0.8125rem); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.h1 {
  font-family: var(--f-brand); font-weight: 900;
  font-size: clamp(2.75rem, 1.68rem + 4.38vw, 5.625rem);
  line-height: .91; letter-spacing: -.05em;
}
.h2 {
  font-family: var(--f-brand); font-weight: 700;
  font-size: clamp(2.25rem, 1.6rem + 2.67vw, 4rem);
  line-height: .98; letter-spacing: -.035em;
}
.h2--s { font-size: clamp(2.125rem, 1.55rem + 2.2vw, 3.5rem); }
.h3 { font-family: var(--f-brand); font-weight: 700; font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); line-height: 1.08; letter-spacing: -.02em; }
.p { font-size: clamp(1.0625rem, 1rem + .19vw, 1.1875rem); line-height: 1.55; color: var(--text-2); }
.p--l { font-size: clamp(1.0625rem, .97rem + .38vw, 1.3125rem); }
.small { font-size: .875rem; color: var(--muted); }
.prose p + p { margin-top: 1em; }
.prose a, .link { color: var(--text); text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover, .link:hover { color: var(--signal-hover); }

/* ---------- layout ---------- */
.in { padding-left: var(--gutter); padding-right: var(--gutter); max-width: 1440px; margin-left: auto; margin-right: auto; }
.sec { padding-top: var(--section-top); padding-bottom: var(--section); }
.sec--line { border-top: 1px solid var(--line-soft); }
.sec--flush { padding-top: 0; }
.head-row { display: flex; align-items: flex-end; gap: 24px 40px; margin-bottom: clamp(2rem, 1.5rem + 1.4vw, 3rem); flex-wrap: wrap; }
.head-row > .p { max-width: 26.25rem; margin-left: auto; }
.head-row > .ghost { margin-left: auto; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 24px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--signal); color: var(--bg); font-family: var(--f-ui); font-weight: 600;
  font-size: 1.0625rem; line-height: 1.2; padding: 17px 26px; min-height: 52px; border-radius: 12px;
  border: 0; text-decoration: none; cursor: pointer;
  transition: background-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.btn:hover { background: var(--signal-hover); }
.btn:active { transform: translateY(1px); }
.btn .arr { display: inline-block; transition: transform 250ms var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }
.btn--s { font-size: .9375rem; padding: 12px 18px; min-height: 44px; border-radius: 10px; }
.btn--block { width: 100%; }
.ghost {
  display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 1.0625rem;
  padding: 14px 8px; min-height: 44px; text-decoration: none;
}
.ghost:hover { color: var(--signal-hover); }
.ghost .arr { transition: transform 250ms var(--ease-out); }
.ghost:hover .arr { transform: translateX(3px); }

/* ---------- symbol & wordmark ---------- */
.sym {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 36px; height: 36px; border: 4px solid var(--text);
  font-family: var(--f-brand); font-weight: 900; font-size: 13px; letter-spacing: -.04em; line-height: 1;
}
.wordmark { font-family: var(--f-brand); font-weight: 900; font-size: 22px; letter-spacing: -.035em; line-height: 1; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 15, 17, .92); border-bottom: 1px solid var(--line-soft); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(14, 15, 17, .8); backdrop-filter: blur(12px); } }
.site-header .in { height: 88px; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 34px; }
.nav a { font-size: .9375rem; color: var(--text-3); text-decoration: none; padding: 10px 0; position: relative; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--signal); }
.header-cta { margin-left: 28px; }
.menu-btn { display: none; }
.menu-panel { display: none; }

@media (max-width: 900px) {
  .site-header .in { height: 64px; gap: 10px; }
  .brand { gap: 10px; }
  .brand .sym { width: 28px; height: 28px; border-width: 3px; font-size: 10px; }
  .brand .wordmark { font-size: 18px; }
  .nav, .header-cta { display: none; }
  .menu-btn {
    display: flex; margin-left: auto; margin-right: -10px; width: 44px; height: 44px; padding: 0 10px;
    flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px;
    background: none; border: 0; cursor: pointer; color: var(--text);
  }
  .menu-btn span { display: block; height: 2px; background: currentColor; transition: transform 250ms var(--ease-out), width 250ms var(--ease-out); }
  .menu-btn span:first-child { width: 24px; }
  .menu-btn span:last-child { width: 16px; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { width: 24px; transform: translateY(-4px) rotate(-45deg); }
  .menu-panel { display: block; border-top: 1px solid var(--line-soft); padding: 12px var(--gutter) 24px; }
  .menu-panel[hidden] { display: none; }
  .menu-panel a:not(.btn) {
    display: block; font-family: var(--f-brand); font-weight: 700; font-size: 1.75rem; letter-spacing: -.03em;
    text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line);
  }
  .menu-panel a[aria-current="page"] { color: var(--signal); }
  .menu-panel .btn { margin-top: 20px; width: 100%; }
}

/* ---------- mobile sticky CTA ---------- */
.dock { display: none; }
@media (max-width: 900px) {
  .dock {
    display: flex; flex-direction: column; gap: 6px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px 18px max(14px, env(safe-area-inset-bottom));
    background: linear-gradient(to top, var(--bg) 70%, rgba(14, 15, 17, 0));
    transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out);
  }
  .dock .btn { width: 100%; font-size: 1rem; }
  .dock p { text-align: center; font-size: .8125rem; color: var(--muted); }
  .dock p a { color: var(--text); display: inline-block; padding: 4px 2px; }
  .dock.is-hidden { transform: translateY(110%); opacity: 0; visibility: hidden; transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out), visibility 0s 300ms; }
  body.has-dock { padding-bottom: 112px; }
}

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
a.card { text-decoration: none; transition: border-color 200ms var(--ease-out); }
a.card:hover { border-color: #3A3E44; }
.ph {
  background: repeating-linear-gradient(135deg, #1A1C20 0 14px, #16181B 14px 28px);
  border: 1px dashed #3A3E44; color: var(--muted);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; line-height: 1.7; padding: 24px;
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(2.25rem, 1rem + 4.6vw, 5.5rem); padding-bottom: clamp(3.5rem, 2.4rem + 3.3vw, 6rem); display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: clamp(20px, 1rem + .8vw, 30px); }
.hero-copy .p { max-width: 33.75rem; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.checks { display: flex; gap: 8px 26px; font-size: .875rem; color: var(--muted); padding-top: 6px; flex-wrap: wrap; }
.checks li::before { content: "✓"; margin-right: 6px; }

.hero-visual { position: relative; height: clamp(230px, 120px + 34vw, 620px); }
.hero-visual .outline { position: absolute; inset: 0 0 0 40px; border: 10px solid var(--text); border-radius: 4px; }
.browser {
  position: absolute; left: 0; right: 40px; top: 40px; bottom: -40px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55); display: flex; flex-direction: column;
}
.browser-bar { height: 40px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--line); background: #121417; }
.browser-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #3A3E44; flex: none; }
.browser-bar .url { margin-left: 14px; font-family: var(--f-mono); font-size: .75rem; color: var(--muted); background: var(--bg); padding: 4px 12px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.scroll-toggle {
  margin-left: auto; flex: none; width: 32px; height: 32px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 6px; color: var(--muted); cursor: pointer;
}
.scroll-toggle:hover { color: var(--text); background: var(--raised); }
.scroll-toggle svg { width: 14px; height: 14px; }
.scroll-toggle .i-play { display: none; }
.is-paused .scroll-toggle .i-play { display: block; }
.is-paused .scroll-toggle .i-pause { display: none; }
.screen { position: relative; flex: 1; overflow: hidden; container-type: size; background: #000; }
.screen img { width: 100%; height: auto; will-change: transform; animation: page-scroll 48s cubic-bezier(.45, 0, .55, 1) 1.2s infinite alternate; }
.is-paused .screen img { animation-play-state: paused; }
@keyframes page-scroll {
  0%, 6% { transform: translateY(0); }
  94%, 100% { transform: translateY(calc(-100% + 100cqh)); }
}
.stamp {
  position: absolute; right: 0; bottom: 24px; z-index: 2;
  background: var(--signal); color: var(--bg); border-radius: 14px; padding: 16px 20px;
  display: flex; flex-direction: column; gap: 2px; box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}
.stamp .m { font-size: .75rem; letter-spacing: .1em; }
.stamp .u { font-weight: 900; font-size: 1.875rem; letter-spacing: -.03em; line-height: 1.15; }
.stamp small { font-size: .75rem; color: #2B1A12; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy .lbl { font-size: .6875rem; }
  .checks { flex-direction: column; }
  .hero-actions { display: none; }
  .hero-visual { height: auto; aspect-ratio: 354 / 230; max-height: 420px; margin: 6px 0 18px; }
  .hero-visual .outline { inset: 0 0 0 18px; border-width: 6px; border-radius: 0; }
  .browser { left: 0; right: 18px; top: 18px; bottom: -18px; border-radius: 12px; }
  .browser-bar { height: 30px; padding-left: 12px; gap: 6px; }
  .browser-bar .dot { width: 7px; height: 7px; }
  .browser-bar .url { margin-left: 8px; font-size: .6875rem; padding: 2px 8px; }
  .scroll-toggle { width: 28px; height: 28px; }
  .stamp { right: -6px; bottom: -34px; padding: 10px 14px; border-radius: 12px; }
  .stamp .m { font-size: .625rem; }
  .stamp .u { font-size: 1.25rem; }
  .stamp small { font-size: .6875rem; }
}

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 250px; }
.step .num { font-family: var(--f-brand); font-weight: 900; font-size: clamp(2.25rem, 1.9rem + 1vw, 2.75rem); color: var(--signal); line-height: 1; }
.step h3 { font-size: clamp(1.1875rem, 1.1rem + .3vw, 1.3125rem); font-weight: 600; line-height: 1.25; }
.step p { font-size: 1rem; color: var(--text-3); line-height: 1.5; }
.step--hot { border-color: var(--signal); background: #1F1510; }
.step--hot p { color: #E8C9BA; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step { min-height: 0; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .step { padding: 24px; } }

/* ---------- what we build ----------
   Default (no JS, reduced motion, small or short screens): four cards.
   main.js adds .is-pin on wide screens: the section stays pinned while you scroll through the four items. */
.bw { border-top: 1px solid var(--line-soft); padding-top: var(--section-top); padding-bottom: var(--section); --dim: #6B665F; }
.bw-head { display: flex; align-items: baseline; gap: 24px; margin-bottom: 22px; }
.bw-count { display: none; margin-left: auto; font-family: var(--f-mono); font-size: .875rem; letter-spacing: .08em; color: var(--muted); }
.bw-count b { color: var(--text); font-weight: 500; }
.bw-nav, .bw-stage { display: none; }
.bw-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bw-item {
  --ill-bg: var(--surface);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 1rem + 1.2vw, 36px); display: flex; flex-direction: column; gap: 28px;
}
.bw-art { position: relative; width: min(100%, 300px); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.bw-art::before { content: ""; position: absolute; inset: 0; border: 2px dotted #4A4F56; border-radius: 50%; }
.bw-art .ill { position: relative; width: 70%; height: auto; overflow: visible; }
.bw-copy { display: flex; flex-direction: column; gap: 14px; }
.bw-name { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bw-quote { color: var(--signal); font-weight: 500; font-size: clamp(1.375rem, 1.1rem + .9vw, 2rem); line-height: 1.15; letter-spacing: -.015em; }
.bw-title { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); font-weight: 600; line-height: 1.3; }
.bw-title:focus { outline: none; }
.bw-text { color: var(--text-3); line-height: 1.55; max-width: 30rem; }
.bw-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.bw-links a {
  color: var(--text); font-weight: 500; padding: 8px 0; text-decoration: underline; text-decoration-color: var(--signal);
  text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.bw-links a:hover { color: var(--signal-hover); }
@media (max-width: 900px) { .bw-items { grid-template-columns: 1fr; } .bw-art { width: min(100%, 260px); } }

/* line drawings */
.ill path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ill .ln { stroke: var(--text); stroke-width: 2; }
.ill .ln2 { stroke: var(--text-3); stroke-width: 1.3; }
.ill .hot { stroke: var(--signal); stroke-width: 2.6; }
.ill .fl { fill: var(--ill-bg, var(--bg)); }
/* draw-in: only when main.js adds .bw--draw; .is-on starts it */
.bw--draw .ill path {
  stroke-dasharray: 1 1; stroke-dashoffset: 0;
  transition: stroke-dashoffset 600ms var(--ease-out) calc(var(--n) * 40ms), opacity 400ms var(--ease-out) 500ms;
}
.bw--draw .bw-item:not(.is-on) .ill path { stroke-dashoffset: 1; transition: stroke-dashoffset 0s 300ms, opacity 0s 300ms; }
.bw--draw .bw-item:not(.is-on) .ill .hot { opacity: 0; }

/* pinned (desktop) */
.bw.is-pin { height: calc(100vh - 88px + 4 * 60vh); padding: 0; }
.bw.is-pin .bw-in {
  position: sticky; top: 88px; height: calc(100vh - 88px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr); grid-template-rows: auto minmax(0, 1fr);
  column-gap: 40px; padding-top: clamp(24px, 4vh, 48px); padding-bottom: clamp(24px, 5vh, 56px);
}
.bw.is-pin .bw-head { grid-column: 1 / -1; margin: 0; }
.bw.is-pin .bw-count { display: block; }
.bw.is-pin .bw-nav { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.bw-nav a {
  display: block; position: relative; font-family: var(--f-brand); font-weight: 700;
  font-size: clamp(1.5rem, .4rem + 1.9vw, 2.5rem); line-height: 1.12; letter-spacing: -.035em;
  color: var(--dim); text-decoration: none; padding: 6px 0;
  transition: color 300ms var(--ease-out), transform 400ms var(--ease-out);
}
.bw-nav a::before {
  content: ""; position: absolute; left: -.62em; top: .52em; width: .34em; height: .34em; background: var(--signal);
  opacity: 0; transform: scale(.3); transition: opacity 300ms var(--ease-out), transform 400ms var(--ease-out);
}
.bw-nav a:hover { color: var(--text-2); }
.bw-nav a[aria-current] { color: var(--text); transform: translateX(.62em); }
.bw-nav a[aria-current]::before { opacity: 1; transform: none; }
.bw.is-pin .bw-items { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); column-gap: 40px; gap: 0 40px; min-height: 0; }
.bw.is-pin .bw-stage, .bw.is-pin .bw-art {
  grid-column: 1; grid-row: 1; align-self: center; justify-self: center;
  width: min(100%, calc(100vh - 88px - 190px), 600px); aspect-ratio: 1; margin: 0;
}
.bw.is-pin .bw-stage { display: block; position: relative; border: 2px dotted #4A4F56; border-radius: 50%; }
.bw-tick { position: absolute; inset: -1px; will-change: transform; }
.bw-tick::before { content: ""; position: absolute; left: calc(50% - 1.5px); top: -12px; width: 3px; height: 24px; border-radius: 2px; background: var(--signal); transform: rotate(18deg); }
.bw.is-pin .bw-item {
  --ill-bg: var(--bg);
  grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: inherit; column-gap: inherit;
  background: none; border: 0; border-radius: 0; padding: 0; min-height: 0;
  opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease-out);
}
.bw.is-pin .bw-item.is-on { opacity: 1; pointer-events: auto; }
.bw.is-pin .bw-art::before { display: none; }
.bw.is-pin .bw-art .ill { width: 74%; }
.bw.is-pin .bw-copy { grid-column: 2; grid-row: 1; align-self: end; transform: translateY(16px); transition: transform 500ms var(--ease-out); }
.bw.is-pin .bw-item.is-on .bw-copy { transform: none; }
.bw.is-pin .bw-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- services bento ---------- */
.bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 16px; }
.bento > * { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-width: 0; }
.bento-main { grid-row: span 2; padding: 36px; position: relative; overflow: hidden; }
.bento-main .deco-a { position: absolute; right: -70px; top: -70px; width: 300px; height: 300px; border: 28px solid var(--raised); }
.bento-main .deco-b { position: absolute; right: 36px; top: 36px; width: 120px; height: 120px; border: 10px solid var(--signal); transition: transform 500ms var(--ease-out); }
.bento-main:hover .deco-b { transform: translate(-6px, 6px); }
.bento-main .body { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 380px; }
.bento-main .title { font-family: var(--f-brand); font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem); line-height: 1; letter-spacing: -.03em; }
.bento .desc { font-size: 1rem; color: var(--text-3); line-height: 1.5; }
.bento-main .desc { font-size: 1.0625rem; }
.bento .more { color: var(--signal); font-weight: 600; }
.bento .title-s { font-family: var(--f-brand); font-weight: 700; font-size: clamp(1.375rem, 1.2rem + .55vw, 1.625rem); letter-spacing: -.02em; margin-bottom: 8px; line-height: 1.1; }
.bento-orange { background: var(--signal); color: var(--bg); border-radius: var(--radius); }
.bento-orange .m { font-size: .8125rem; letter-spacing: .14em; }
.bento-orange .u { font-weight: 900; font-size: clamp(1.5rem, 1.25rem + .75vw, 1.875rem); line-height: 1.04; letter-spacing: -.03em; }
@media (max-width: 1100px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .bento-main { grid-column: span 2; grid-row: auto; min-height: 340px; }
  .bento > :not(.bento-main) { min-height: 200px; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento-main { grid-column: auto; min-height: 380px; padding: 28px; }
  .bento > :not(.bento-main) { min-height: 0; padding: 24px; gap: 32px; }
  .bento-main .deco-a { width: 220px; height: 220px; border-width: 22px; right: -60px; top: -60px; }
  .bento-main .deco-b { width: 84px; height: 84px; border-width: 8px; right: 28px; top: 28px; }
}

/* ---------- work ---------- */
.work-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.case { overflow: hidden; display: flex; flex-direction: column; }
.case-shot { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); overflow: hidden; background: #000; }
.case-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 600ms var(--ease-out); }
.case:hover .case-shot img { transform: scale(1.02); }
.case-meta { padding: 24px 28px; display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.case-meta .name { font-family: var(--f-brand); font-weight: 700; font-size: 1.5rem; }
.case-meta .note { font-size: .875rem; color: var(--muted); margin-top: 4px; }
.case-meta .live { margin-left: auto; color: var(--signal); font-weight: 600; text-decoration: none; padding: 10px 0; }
.case-meta .live:hover { color: var(--signal-hover); text-decoration: underline; text-underline-offset: 3px; }
.next {
  border: 2px dashed #3A3E44; border-radius: var(--radius); padding: clamp(28px, 1.2rem + 1.2vw, 36px);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 16px;
}
.next .box { width: 64px; height: 64px; border: 6px solid var(--signal); }
.next .t { font-family: var(--f-brand); font-weight: 700; font-size: clamp(1.75rem, 1.45rem + .9vw, 2.125rem); line-height: 1.02; letter-spacing: -.03em; }
.next .d { font-size: 1rem; color: var(--text-3); line-height: 1.5; }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr; } .next { min-height: 300px; } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.portrait { position: relative; max-width: 460px; width: 100%; }
.portrait::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 10px solid var(--signal); }
.portrait img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--surface); }
.signature { display: flex; align-items: baseline; gap: 14px; padding-top: 6px; flex-wrap: wrap; }
.signature b { font-weight: 600; font-size: 1.0625rem; }
.signature span { color: var(--muted); }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 56px; }
  .portrait { max-width: 340px; margin-right: 24px; }
  .portrait::before { inset: 16px -16px -16px 16px; border-width: 6px; }
}

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: baseline;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 600; padding: 24px 0; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--signal); font-weight: 500; font-size: 1.375rem; line-height: 1; transition: transform 250ms var(--ease-out); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--text-2); }
.faq .a { font-size: clamp(1rem, .96rem + .15vw, 1.0625rem); color: var(--text-3); line-height: 1.55; padding: 0 40px 24px 0; margin-top: -10px; }
.faq .a a { color: var(--text); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 32px; } .faq .a { padding-right: 0; } }

/* ---------- final CTA + form ---------- */
.final {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 28px;
  padding: clamp(28px, .9rem + 3.5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; position: relative; overflow: hidden;
}
.final .deco { position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border: 24px solid var(--raised); pointer-events: none; }
.final-copy { position: relative; display: flex; flex-direction: column; gap: 22px; }
.final-title { font-family: var(--f-brand); font-weight: 900; font-size: clamp(2.75rem, 2rem + 3.05vw, 4.75rem); line-height: .9; letter-spacing: -.045em; }
.final-alt { font-size: .9375rem; color: var(--muted); }
.final-alt a { color: var(--text); text-underline-offset: 3px; }
.final-alt a:hover { color: var(--signal-hover); }
@media (max-width: 900px) { .final { grid-template-columns: 1fr; gap: 36px; border-radius: 22px; } .final .deco { width: 180px; height: 180px; border-width: 18px; right: -70px; top: -70px; } }

.form { position: relative; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .875rem; font-weight: 500; color: var(--text-2); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid #3A3E44; border-radius: 12px; padding: 15px 18px; min-height: 52px;
  transition: border-color 200ms var(--ease-out);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8A857D; }
.field input:hover, .field textarea:hover { border-color: #4A4F56; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--signal); outline-offset: 1px; border-color: var(--signal); }
.field .hint { font-size: .8125rem; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form .btn { margin-top: 6px; font-size: 1.125rem; padding: 19px; }
.form-note { font-size: .8125rem; color: var(--muted); text-align: center; }
.form-note a { color: var(--text-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- page hero (sub pages) ---------- */
.page-hero { padding-top: clamp(2.5rem, 1.5rem + 3.5vw, 5.5rem); padding-bottom: clamp(3rem, 2rem + 3vw, 5.5rem); display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px 56px; align-items: end; }
.page-hero .lbl { grid-column: 1 / -1; }
.page-hero .p { max-width: 30rem; }
@media (max-width: 900px) { .page-hero { grid-template-columns: 1fr; } }

/* ---------- services page ---------- */
.svc-group { display: flex; flex-direction: column; gap: 22px; padding-bottom: var(--section-top); }
.svc-group .p { max-width: 38rem; }
.svc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px 64px; padding-top: var(--section-top); padding-bottom: var(--section-top); border-top: 1px solid var(--line-soft); }
.svc-head { display: flex; flex-direction: column; gap: 18px; align-self: start; position: sticky; top: 120px; }
.svc-head .title { font-family: var(--f-brand); font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.5vw, 3.25rem); line-height: 1; letter-spacing: -.035em; }
.svc-body { display: flex; flex-direction: column; gap: 28px; }
.ticks { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; color: var(--text-2); line-height: 1.45; }
.ticks li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .45em; border: 2px solid var(--signal); }
.price { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-family: var(--f-mono); font-size: .8125rem; letter-spacing: .08em; color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; }
.price::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc-head { position: static; } }

/* ---------- process page ---------- */
.timeline { display: flex; flex-direction: column; }
.tl { display: grid; grid-template-columns: 140px 1fr 1fr; gap: 16px 48px; padding: 36px 0; border-top: 1px solid var(--line); }
.tl:last-child { border-bottom: 1px solid var(--line); }
.tl .num { font-family: var(--f-brand); font-weight: 900; font-size: clamp(2.5rem, 2rem + 1.6vw, 3.75rem); color: var(--signal); line-height: .9; }
.tl h2 { font-family: var(--f-brand); font-weight: 700; font-size: clamp(1.5rem, 1.25rem + .9vw, 2.125rem); line-height: 1.05; letter-spacing: -.025em; }
.tl .p { max-width: 34rem; }
.tl--hot .num::after { content: "24h"; display: block; margin-top: 10px; font-family: var(--f-mono); font-weight: 500; font-size: .8125rem; letter-spacing: .12em; color: var(--text-2); }
@media (max-width: 900px) { .tl { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two > .card { padding: clamp(24px, 1rem + 1.2vw, 36px); display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }

/* ---------- work page ---------- */
.shots-d { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.shots-d figure:first-child { grid-column: span 2; }
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.shot img { width: 100%; height: auto; background: #000; }
.shot figcaption { padding: 14px 18px; font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); }
.shots-m { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 900px; }
.shots-m .shot img { aspect-ratio: 540 / 1170; object-fit: cover; object-position: top; }
@media (max-width: 700px) {
  .shots-d { grid-template-columns: 1fr; } .shots-d figure:first-child { grid-column: auto; }
  .shots-m { grid-template-columns: repeat(3, minmax(160px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .shots-m figure { scroll-snap-align: start; }
}
.facts { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px 64px; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr; } }
.tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bg); background: var(--text); border-radius: 6px; padding: 6px 10px; align-self: flex-start; }

/* ---------- about page ---------- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.principles .card { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.principles h3 { font-size: 1.3125rem; font-weight: 600; }
.principles p { color: var(--text-3); }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } }
.contact-list { display: flex; flex-direction: column; gap: 4px; font-size: 1.0625rem; }
.contact-list a { color: var(--text); text-underline-offset: 3px; padding: 6px 0; display: inline-block; }
.contact-list a:hover { color: var(--signal-hover); }

/* ---------- free concept page ---------- */
.fc { display: grid; grid-template-columns: .9fr 1.1fr; grid-template-areas: "intro form" "side form" ". form"; gap: 32px 56px; align-items: start; padding-top: clamp(2.5rem, 1.5rem + 3vw, 5rem); padding-bottom: var(--section); }
.fc-intro { grid-area: intro; }
.fc .form-card { grid-area: form; }
.fc-side { grid-area: side; display: flex; flex-direction: column; gap: 28px; }
.fc .final { grid-template-columns: 1fr; }
.mini-steps { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.mini-steps li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.mini-steps .m { color: var(--signal); font-size: .875rem; padding-top: 2px; }
.form-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(22px, .8rem + 2.5vw, 48px); }
@media (max-width: 900px) { .fc { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "side"; gap: 32px; } }

/* ---------- legal ---------- */
.legal { max-width: 46rem; padding-bottom: var(--section); }
.legal h2 { font-family: var(--f-brand); font-weight: 700; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); letter-spacing: -.02em; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--text-2); font-size: 1.0625rem; line-height: 1.6; }
.legal ul { padding-left: 1.2em; margin: 10px 0; }
.legal li + li { margin-top: 6px; }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--text); text-underline-offset: 3px; }

/* ---------- simple message pages ---------- */
.msg { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-top: var(--section); padding-bottom: var(--section); }
.msg .p { max-width: 34rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding-top: 56px; padding-bottom: 40px; margin-top: 0; }
.site-footer .in { display: flex; flex-direction: column; gap: 56px; }
.big-mark { font-family: var(--f-brand); font-weight: 900; font-size: clamp(2.5rem, 13.2vw, 11.25rem); line-height: .8; letter-spacing: -.06em; color: var(--raised); white-space: nowrap; user-select: none; }
.big-mark span { color: #3A2015; }
.foot-cols { display: flex; gap: 32px 48px; font-size: .875rem; color: var(--muted); align-items: flex-start; flex-wrap: wrap; }
.foot-cols p { max-width: 300px; line-height: 1.55; }
.foot-cols ul { display: flex; flex-direction: column; gap: 2px; }
.foot-cols a { color: var(--text); text-decoration: none; display: inline-block; padding: 3px 0; }
.foot-cols a:hover { color: var(--signal-hover); text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { margin-left: auto; text-align: right; }
.foot-legal a { color: var(--muted); }
@media (max-width: 900px) {
  .foot-cols { display: grid; grid-template-columns: 1fr 1fr; }
  .foot-cols p { grid-column: 1 / -1; }
  .foot-legal { grid-column: 1 / -1; margin-left: 0; text-align: left; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .scroll-toggle { display: none; }
}

/* ---------- copy variants (mobile design uses a shorter hero line) ---------- */
.only-m { display: none; }
@media (max-width: 900px) { .only-d { display: none; } .only-m { display: inline; } }
/* The mobile design has no timer label; on phones it would crowd the frame. */
@media (max-width: 600px) { .stamp { display: none; } }

/* ---------- what it costs ---------- */
.costs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cost { --ill-bg: var(--surface); padding: clamp(24px, 1rem + 1.2vw, 36px); display: grid; grid-template-rows: subgrid; grid-row: span 7; gap: 12px; }
.cost-art { width: 112px; aspect-ratio: 1; margin-bottom: 12px; }
.cost-art .ill { width: 100%; height: auto; overflow: visible; }
.cost-name { font-family: var(--f-brand); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.1; letter-spacing: -.02em; }
.cost-what { color: var(--text-3); }
.cost-amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-top: 14px; margin-top: 8px; align-self: start; border-top: 1px solid var(--line); }
.cost-num { font-family: var(--f-brand); font-weight: 900; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); letter-spacing: -.035em; line-height: 1.1; color: var(--text); }
.cost-unit { font-size: .875rem; color: var(--muted); }
.cost-note { font-size: .9375rem; color: var(--text-2); }
.cost-action { padding-top: 10px; align-self: end; }
.cost-action .btn { width: 100%; font-size: 1rem; padding-left: 16px; padding-right: 16px; }
.cost-link { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.cost-link:hover { color: var(--signal-hover); }
@media (max-width: 1000px) { .costs { grid-template-columns: 1fr; } }
