:root {
  --bg: #f1f0ed;
  --paper: #f7f6f3;
  --paper-2: #e9e7e2;
  --ink: #181916;
  --muted: #666761;
  --line: rgba(24,25,22,.12);
  --dark: #111210;
  --dark-2: #1b1d1a;
  --warm: #aaa397;
  --warm-2: #d5d0c6;
  --shadow: 0 30px 90px rgba(18,19,16,.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Pretendard, "Noto Sans KR", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: min(1400px, calc(100% - 48px)); margin: 0 auto; }
.headline-line { display: block; text-wrap: balance; }
.hero-title .headline-line { white-space: nowrap; text-wrap: nowrap; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(12,13,11,.82), rgba(12,13,11,.35), transparent);
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(17,18,16,.86);
  backdrop-filter: blur(18px);
  border-color: rgba(255,255,255,.08);
}
.header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; width: fit-content; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  position: relative;
}
.brand-mark i {
  position: absolute;
  width: 22px;
  height: 8px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%;
}
.brand-mark i:nth-child(1) { transform: rotate(0deg); }
.brand-mark i:nth-child(2) { transform: rotate(60deg); }
.brand-mark i:nth-child(3) { transform: rotate(120deg); }
.brand-text strong { display: block; color: #f7f5ef; font-size: 18px; font-weight: 850; letter-spacing: -.025em; }
.brand-text em { display: block; margin-top: 3px; color: rgba(255,255,255,.5); font-size: 9px; font-style: normal; font-weight: 700; letter-spacing: .17em; }
.nav { display: flex; gap: 28px; }
.nav a { color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; transition: color .2s ease; }
.nav a:hover { color: #fff; }
.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.04);
}
.header-cta span { font-size: 10px; color: rgba(255,255,255,.52); }
.header-cta b { font-size: 12px; letter-spacing: .02em; }
.menu-btn { display: none; background: transparent; border: 0; padding: 8px; }
.menu-btn span { display: block; width: 24px; height: 1.5px; background: #fff; margin: 5px 0; }

.hero {
  position: relative;
  min-height: 820px;
  color: #f8f6f1;
  overflow: hidden;
  background: #111210;
}
.hero-bg, .hero-overlay, .hero-grain { position: absolute; inset: 0; }
.hero-bg {
  background-size: cover;
  background-position: 62% center;
  filter: none;
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.hero-bg-a {
  background-image: url('/assets/hero-rope-access.png');
  animation: heroSceneA 14s ease-in-out infinite;
}
.hero-bg-b {
  background-image: url('/assets/hero-apartment-painting.png');
  background-position: 58% center;
  opacity: 0;
  animation: heroSceneB 14s ease-in-out infinite;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12,13,11,.86) 0%, rgba(12,13,11,.72) 31%, rgba(12,13,11,.36) 59%, rgba(12,13,11,.10) 100%),
    linear-gradient(180deg, rgba(12,13,11,.28), rgba(12,13,11,.17) 55%, rgba(12,13,11,.5));
}
.hero-grain {
  opacity: .16;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
@keyframes heroSceneA {
  0%, 41% { opacity: 1; transform: scale(1.035) translate3d(0,0,0); }
  49%, 91% { opacity: 0; transform: scale(1.075) translate3d(-.7%, -.25%, 0); }
  100% { opacity: 1; transform: scale(1.035) translate3d(0,0,0); }
}
@keyframes heroSceneB {
  0%, 41% { opacity: 0; transform: scale(1.075) translate3d(.7%, .15%, 0); }
  49%, 91% { opacity: 1; transform: scale(1.035) translate3d(0,0,0); }
  100% { opacity: 0; transform: scale(1.075) translate3d(.7%, .15%, 0); }
}
.hero-inner { position: relative; z-index: 2; min-height: 820px; display: flex; align-items: center; }
.hero-copy { width: min(790px, 72vw); padding: 120px 0 100px; }
.eyebrow { margin: 0 0 20px; font-size: 10px; font-weight: 850; letter-spacing: .19em; }
.eyebrow.light { color: rgba(255,255,255,.58); }
.eyebrow.dark { color: #7b7972; }
.hero h1, .intro-copy h2, .section-head h2, .works-copy h2, .contact-copy h2 {
  margin: 0;
  font-weight: 850;
  letter-spacing: -.058em;
  line-height: 1.01;
}
.hero h1 { font-size: clamp(52px, 6.3vw, 94px); }
.hero-title { display: grid; gap: .035em; width: max-content; max-width: 100%; }
.hero h1 .accent-line { color: #d9d5cc; }
.hero-copy { isolation: isolate; }
.hero-eyebrow {
  opacity: 0;
  transform: translateY(14px);
  animation: heroEyebrowIn .85s cubic-bezier(.22,.61,.36,1) .2s forwards;
}
.hero-title .headline-line {
  position: relative;
  display: block;
  width: fit-content;
  overflow: hidden;
  padding: .02em .06em .07em 0;
  opacity: 0;
  transform: translateY(112%);
  filter: blur(10px);
  animation: heroLineIn 1.05s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-title .headline-line:nth-child(1) { animation-delay: .34s; }
.hero-title .headline-line:nth-child(2) { animation-delay: .50s; }
.hero-title .headline-line:nth-child(3) { animation-delay: .68s; }
.hero-title .accent-line {
  background: linear-gradient(105deg, #d9d5cc 0%, #f8f6f1 34%, #aaa69d 50%, #f6f2ea 66%, #d9d5cc 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  animation: heroLineIn 1.05s cubic-bezier(.16,1,.3,1) .68s forwards, heroTextSheen 6.5s ease-in-out 1.8s infinite;
}
.hero-animate {
  opacity: 0;
  transform: translateY(18px);
  animation: heroSubIn .9s cubic-bezier(.22,.61,.36,1) forwards;
}
.hero-delay-4 { animation-delay: .95s; }
.hero-delay-5 { animation-delay: 1.12s; }
.hero-delay-6 { animation-delay: 1.30s; }
.hero-actions .btn { position: relative; overflow: hidden; }
.hero-actions .btn::after {
  content: "";
  position: absolute;
  top: -70%; bottom: -70%;
  width: 38%;
  left: -55%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  animation: heroButtonSweep 5.8s ease-in-out 2.2s infinite;
  pointer-events: none;
}
@keyframes heroEyebrowIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroLineIn {
  0% { opacity: 0; transform: translateY(112%); filter: blur(10px); }
  55% { opacity: 1; filter: blur(1.5px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes heroSubIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroTextSheen {
  0%, 66%, 100% { background-position: 0% 50%; }
  82% { background-position: 100% 50%; }
}
@keyframes heroButtonSweep {
  0%, 70%, 100% { left: -55%; opacity: 0; }
  77% { opacity: .7; }
  88% { left: 120%; opacity: 0; }
}
.hero-lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.67);
  font-size: 16px;
  line-height: 1.88;
  word-break: keep-all;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.btn {
  min-height: 52px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #f0eee8; color: #151613; }
.btn-primary:hover { background: #fff; }
.btn-ghost { border: 1px solid rgba(255,255,255,.2); color: #f3f1eb; background: rgba(255,255,255,.035); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
  margin-top: 54px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-meta > div { min-width: 0; padding-right: 22px; }
.hero-meta span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.42); font-size: 10px; letter-spacing: .08em; }
.hero-meta strong, .hero-meta a { display: block; color: rgba(255,255,255,.88); font-size: 14px; font-weight: 750; white-space: nowrap; }
.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.46);
}
.scroll-cue span { font-size: 8px; font-weight: 800; letter-spacing: .22em; }
.scroll-cue i { width: 1px; height: 42px; background: linear-gradient(to bottom, rgba(255,255,255,.55), transparent); animation: scrollPulse 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes scrollPulse { 0%,100% { transform: scaleY(.45); opacity: .35; } 50% { transform: scaleY(1); opacity: 1; } }

.hero-after { position: relative; overflow: hidden; background: #e7e4de; border-bottom: 1px solid var(--line); }
.motion-rail { overflow: hidden; border-bottom: 1px solid rgba(24,25,22,.12); }
.motion-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding: 17px 0;
  color: #54544f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.motion-track span { min-width: max-content; }
.motion-track i { width: 4px; height: 4px; border-radius: 50%; background: #8c887f; }
@keyframes marquee { to { transform: translateX(-50%); } }
.intro-grid {
  display: grid;
  grid-template-columns: 100px 1fr .85fr;
  gap: 48px;
  align-items: start;
  padding-top: 84px;
  padding-bottom: 92px;
}
.intro-number { font-size: 11px; font-weight: 850; letter-spacing: .16em; color: #817e76; padding-top: 6px; }
.intro-copy h2 { font-size: clamp(40px, 4.8vw, 72px); }
.intro-text > p { margin: 2px 0 0; color: var(--muted); line-height: 1.9; word-break: keep-all; }
.intro-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.intro-facts > div { padding-top: 16px; border-top: 1px solid rgba(24,25,22,.18); }
.intro-facts strong { display: block; font-size: 12px; letter-spacing: .08em; }
.intro-facts span { display: block; margin-top: 6px; color: #77766f; font-size: 11px; }

.services, .works, .about, .contact { padding: 116px 0; }
.section-head { display: grid; grid-template-columns: 1.18fr .82fr; gap: 70px; align-items: end; margin-bottom: 56px; }
.section-head h2, .works-copy h2, .contact-copy h2 { font-size: clamp(40px, 4.8vw, 72px); }
.section-head > p { margin: 0 0 4px; color: var(--muted); line-height: 1.9; word-break: keep-all; }

.services { position: relative; overflow: hidden; background: #f4f3f0; }
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background-image:
    linear-gradient(rgba(24,25,22,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,25,22,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.carousel-container { position: relative; z-index: 1; width: min(1780px, calc(100% - 20px)); margin: 0 auto; }
.stack-carousel { position: relative; min-height: 690px; }
.stack-stage {
  position: relative;
  width: 100%;
  height: 470px;
  perspective: 2100px;
  transform-style: preserve-3d;
  isolation: isolate;
}
.stack-stage::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%; top: 44%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24,25,22,.12) 18%, rgba(24,25,22,.12) 82%, transparent);
}
.stack-card {
  position: absolute;
  left: 50%; top: 50%;
  width: clamp(330px, 22vw, 390px);
  height: 374px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(255,255,255,.98), rgba(234,232,227,.98));
  border: 1px solid rgba(24,25,22,.11);
  box-shadow: 0 30px 75px rgba(24,25,22,.12);
  transform-style: preserve-3d;
  transform-origin: center;
  transition: transform .6s cubic-bezier(.22,.61,.36,1), opacity .35s ease, filter .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
  overflow: hidden;
  will-change: transform;
  user-select: none;
  cursor: pointer;
}
.stack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.38), transparent 44%);
  pointer-events: none;
}
.stack-card.is-active { border-color: rgba(24,25,22,.3); box-shadow: 0 42px 100px rgba(24,25,22,.18); }
.stack-card.is-hovered {
  border-color: rgba(24,25,22,.42);
  background: linear-gradient(155deg, #ffffff, #e7e4de);
  box-shadow: 0 38px 92px rgba(24,25,22,.19), inset 0 0 0 1px rgba(255,255,255,.56);
}
.stack-card.is-hovered::after {
  background: linear-gradient(120deg, rgba(255,255,255,.62), rgba(255,255,255,.08) 42%, transparent 66%);
}
.stack-card.is-hovered .stack-card-top span { color: #2f302c; }
.stack-card.is-hovered .stack-card-top b { color: rgba(24,25,22,.62); }
.stack-card.is-hovered .service-icon {
  border-color: rgba(24,25,22,.34);
  background: rgba(255,255,255,.38);
  box-shadow: inset 0 0 0 6px rgba(24,25,22,.028);
}
.stack-card.is-hovered h3 { color: #080907; }
.stack-card.is-hovered > p { color: #44453f; }
.stack-card.is-hovered .card-line { opacity: .92; background: linear-gradient(90deg, #3d3e39, rgba(61,62,57,.12)); }
.stack-card-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stack-card-top span { color: #66645e; font-size: 11px; font-weight: 850; letter-spacing: .16em; transition: color .25s ease; }
.stack-card-top b { color: rgba(24,25,22,.33); font-size: 9px; letter-spacing: .14em; white-space: nowrap; transition: color .25s ease; }
.service-icon {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 49px 0 38px;
  border-radius: 50%;
  border: 1px solid rgba(24,25,22,.16);
  transform: translateZ(28px);
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.service-icon::before, .service-icon::after { content: ""; position: absolute; }
.icon-water::before { width: 34px; height: 34px; left: 18px; top: 15px; border: 2px solid #64645f; border-top-color: transparent; border-left-color: transparent; transform: rotate(45deg); border-radius: 5px 50% 50% 50%; }
.icon-paint::before { left: 18px; right: 18px; top: 19px; height: 14px; border: 2px solid #64645f; border-radius: 5px; }
.icon-paint::after { left: 34px; top: 34px; width: 2px; height: 21px; background: #64645f; box-shadow: 8px 12px 0 -1px #64645f; }
.icon-weld::before { width: 34px; height: 34px; left: 19px; top: 19px; background: #686761; clip-path: polygon(50% 0, 60% 36%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 36%); }
.icon-frame::before { inset: 17px; border: 2px solid #64645f; }
.icon-frame::after { left: 35px; top: 17px; width: 2px; height: 38px; background: #64645f; }
.icon-building::before { left: 22px; top: 15px; width: 28px; height: 42px; border: 2px solid #64645f; background: repeating-linear-gradient(to bottom, transparent 0 7px, rgba(100,100,95,.18) 7px 9px); }
.icon-grid::before { inset: 18px; border: 2px solid #64645f; background: linear-gradient(90deg, transparent 47%, #64645f 48% 52%, transparent 53%), linear-gradient(transparent 47%, #64645f 48% 52%, transparent 53%); }
.stack-card h3 { position: relative; z-index: 2; margin: 0 0 10px; font-size: 32px; letter-spacing: -.045em; transform: translateZ(22px); transition: color .25s ease; }
.stack-card > p { position: relative; z-index: 2; margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; transform: translateZ(14px); word-break: keep-all; transition: color .25s ease; }
.card-line { position: absolute; left: 28px; right: 28px; bottom: 23px; height: 1px; background: linear-gradient(90deg, #716f68, transparent); opacity: .5; transition: opacity .25s ease, background .25s ease; }
.stack-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 12px; }
.stack-controls button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(24,25,22,.12); background: rgba(247,246,243,.95); color: var(--ink); font-size: 20px; box-shadow: 0 14px 36px rgba(24,25,22,.08); transition: transform .2s ease, background .2s ease; }
.stack-controls button:hover { transform: translateY(-2px); background: #fff; }
.stack-counter { min-width: 116px; display: flex; justify-content: center; align-items: center; gap: 10px; color: #6e6c65; font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.stack-counter i { width: 34px; height: 1px; background: rgba(24,25,22,.2); }
.stack-detail { width: min(740px, calc(100% - 24px)); margin: 24px auto 0; text-align: center; }
.stack-detail > p { margin: 0 0 8px; color: #77756e; font-size: 9px; font-weight: 850; letter-spacing: .18em; }
.stack-detail h3 { margin: 0; font-size: 29px; letter-spacing: -.04em; }
.stack-detail div { margin-top: 8px; color: var(--muted); line-height: 1.75; word-break: keep-all; }

.works { background: #e8e6e1; border-top: 1px solid var(--line); }
.works-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 74px; align-items: start; }
.works-copy p:last-child { margin: 28px 0 0; color: var(--muted); line-height: 1.9; word-break: keep-all; }
.works-list { display: grid; border-top: 1px solid rgba(24,25,22,.14); }
.works-list article { display: grid; grid-template-columns: 74px 1fr; gap: 18px; padding: 25px 4px; border-bottom: 1px solid rgba(24,25,22,.14); }
.works-list article > span { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(24,25,22,.17); border-radius: 50%; color: #6b6963; font-size: 11px; font-weight: 850; }
.works-list h3 { margin: 1px 0 8px; font-size: 23px; letter-spacing: -.035em; }
.works-list p { margin: 0; color: var(--muted); line-height: 1.75; word-break: keep-all; }


/* LOWER CINEMATIC IMAGE SECTION */
.cinematic-banner {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  color: #f6f3ed;
  background: #111210;
}
.cinematic-bg,
.cinematic-overlay,
.cinematic-lines {
  position: absolute;
  inset: 0;
}
.cinematic-bg {
  z-index: -3;
  background-image: url('/assets/lower-shipyard-welding.png');
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.06);
  transition: transform 1.6s cubic-bezier(.22,.61,.36,1);
}
.cinematic-banner.is-inview .cinematic-bg {
  transform: scale(1.015);
}
.cinematic-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12,13,11,.79) 0%, rgba(12,13,11,.48) 44%, rgba(12,13,11,.22) 72%, rgba(12,13,11,.37) 100%),
    linear-gradient(180deg, rgba(12,13,11,.18) 0%, rgba(12,13,11,.12) 46%, rgba(12,13,11,.72) 100%);
}
.cinematic-lines {
  z-index: -1;
  opacity: .24;
  background-image:
    linear-gradient(90deg, transparent calc(25% - .5px), rgba(255,255,255,.15) 25%, transparent calc(25% + .5px)),
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(255,255,255,.12) 50%, transparent calc(50% + .5px)),
    linear-gradient(90deg, transparent calc(75% - .5px), rgba(255,255,255,.1) 75%, transparent calc(75% + .5px));
}
.cinematic-inner {
  min-height: 720px;
  padding-top: 86px;
  padding-bottom: 70px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
}
.cinematic-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.58);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .19em;
}
.cinematic-kicker i {
  width: 62px;
  height: 1px;
  background: rgba(255,255,255,.35);
}
.cinematic-copy {
  align-self: center;
  padding: 48px 0 34px;
}
.cinematic-line {
  margin: 0;
  overflow: hidden;
  font-size: clamp(54px, 7vw, 108px);
  line-height: .96;
  letter-spacing: -.065em;
  font-weight: 850;
  text-wrap: balance;
}
.cinematic-line + .cinematic-line { margin-top: .04em; }
.cinematic-line span {
  display: inline-block;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(0, 108%, 0) skewY(5deg);
  filter: blur(7px);
  transition:
    transform 1s cubic-bezier(.16,1,.3,1),
    opacity .75s ease,
    filter .9s ease;
}
.cinematic-line.line-b span { transition-delay: .12s; }
.cinematic-line.line-c span {
  transition-delay: .24s;
  color: #ddd8cf;
  font-size: .62em;
  letter-spacing: -.045em;
}
.cinematic-banner.is-inview .cinematic-line span {
  opacity: 1;
  transform: translate3d(0,0,0) skewY(0deg);
  filter: blur(0);
}
.cinematic-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.22);
}
.cinematic-bottom > p {
  max-width: 640px;
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: 14px;
  line-height: 1.85;
  word-break: keep-all;
}
.cinematic-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  min-height: 46px;
  padding: 0 4px 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.48);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.cinematic-link b {
  font-size: 17px;
  font-weight: 500;
  transition: transform .25s ease;
}
.cinematic-link:hover b { transform: translate(3px,-3px); }

@media (max-width: 900px) {
  .cinematic-banner,
  .cinematic-inner { min-height: 650px; }
  .cinematic-inner { padding-top: 74px; padding-bottom: 58px; }
  .cinematic-bg { background-position: 62% center; }
  .cinematic-copy { padding: 42px 0 28px; }
  .cinematic-line { font-size: clamp(48px, 9.5vw, 78px); }
}

@media (max-width: 640px) {
  .cinematic-banner,
  .cinematic-inner { min-height: 570px; }
  .cinematic-inner {
    padding-top: 58px;
    padding-bottom: 40px;
  }
  .cinematic-bg {
    background-position: 70% center;
    transform: scale(1.08);
  }
  .cinematic-overlay {
    background:
      linear-gradient(90deg, rgba(12,13,11,.8), rgba(12,13,11,.5) 68%, rgba(12,13,11,.22)),
      linear-gradient(180deg, rgba(12,13,11,.16), rgba(12,13,11,.72));
  }
  .cinematic-kicker {
    gap: 9px;
    font-size: 8px;
    letter-spacing: .14em;
  }
  .cinematic-kicker i { width: 28px; }
  .cinematic-copy { padding: 34px 0 26px; }
  .cinematic-line {
    font-size: clamp(40px, 12.2vw, 56px);
    line-height: 1.01;
  }
  .cinematic-line.line-c span {
    font-size: .52em;
    letter-spacing: -.03em;
  }
  .cinematic-bottom {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .cinematic-bottom > p {
    max-width: 92%;
    font-size: 13px;
    line-height: 1.75;
  }
  .cinematic-link { width: fit-content; }
}

.about { background: #f4f3f0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(24,25,22,.14); border-left: 1px solid rgba(24,25,22,.14); }
.feature-grid article { min-height: 300px; padding: 27px; border-right: 1px solid rgba(24,25,22,.14); border-bottom: 1px solid rgba(24,25,22,.14); }
.badge { display: inline-flex; color: #73716a; font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.feature-grid h3 { margin: 104px 0 12px; font-size: 23px; letter-spacing: -.035em; }
.feature-grid p { margin: 0; color: var(--muted); line-height: 1.75; word-break: keep-all; }

.contact { background: #141512; color: #f3f1eb; }
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 76px; align-items: start; }
.contact-copy p:not(.eyebrow) { margin: 28px 0 0; max-width: 560px; color: rgba(255,255,255,.6); line-height: 1.9; word-break: keep-all; }
.contact-direct { display: grid; grid-template-columns: 70px 1fr; gap: 8px 12px; max-width: 480px; margin-top: 34px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-direct span { color: rgba(255,255,255,.38); font-size: 10px; letter-spacing: .08em; }
.contact-direct strong, .contact-direct a { color: rgba(255,255,255,.9); font-size: 15px; font-weight: 750; }
.contact-copy ul { margin: 30px 0 0; padding: 0; list-style: none; }
.contact-copy li { position: relative; padding-left: 15px; margin-bottom: 11px; color: rgba(255,255,255,.7); font-size: 13px; }
.contact-copy li::before { content: ""; position: absolute; left: 0; top: 9px; width: 4px; height: 4px; border-radius: 50%; background: #9b978e; }
.contact-form { background: #efede8; color: var(--ink); border-radius: 24px; padding: 30px; box-shadow: 0 34px 90px rgba(0,0,0,.22); }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.row { display: grid; gap: 16px; margin-bottom: 16px; }
.row.two { grid-template-columns: 1fr 1fr; }
.contact-form label { display: block; }
.contact-form label > span { display: block; margin-bottom: 8px; color: #55564f; font-size: 11px; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid rgba(24,25,22,.14); border-radius: 11px; background: rgba(255,255,255,.55); color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input, .contact-form select { height: 52px; padding: 0 13px; }
.contact-form textarea { min-height: 154px; padding: 13px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: rgba(24,25,22,.5); box-shadow: 0 0 0 3px rgba(24,25,22,.06); }
.consent { display: flex !important; align-items: center; gap: 9px; margin: 16px 0 18px; }
.consent input { width: 15px; height: 15px; accent-color: #2d2e2a; }
.consent span { margin: 0 !important; font-weight: 650 !important; color: #6d6d67 !important; }
.submit-btn { width: 100%; min-height: 56px; border: 0; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px 0 20px; background: #1c1d1a; color: #f5f3ed; font-weight: 850; transition: background .2s ease, transform .2s ease; }
.submit-btn:hover { background: #2a2b27; transform: translateY(-1px); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; }
.form-status { min-height: 20px; margin: 12px 0 0; font-size: 12px; }
.form-status.success { color: #4d6755; }
.form-status.error { color: #8f4e4e; }

.site-footer { padding: 36px 0 42px; background: #0d0e0c; color: rgba(255,255,255,.58); border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.footer-brand-block strong { display: block; color: #f1efe9; font-size: 18px; }
.footer-brand-block p, .footer-meta p { margin: 7px 0 0; font-size: 12px; }
.footer-meta { text-align: right; }
.footer-meta span { color: rgba(255,255,255,.36); margin-right: 5px; }
.footer-meta a { color: rgba(255,255,255,.78); }

.reveal-item { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.22,.61,.36,1); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.reveal-group .reveal-item:nth-child(2) { transition-delay: .08s; }
.reveal-group .reveal-item:nth-child(3) { transition-delay: .16s; }
.reveal-group .reveal-item:nth-child(4) { transition-delay: .24s; }
.reveal-on-load { animation: heroCopyIn .9s .12s both cubic-bezier(.22,.61,.36,1); }
@keyframes heroCopyIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1180px) {
  .container { width: min(1400px, calc(100% - 36px)); }
  .header-inner { gap: 20px; }
  .nav { gap: 19px; }
  .header-cta span { display: none; }
  .intro-grid { grid-template-columns: 70px 1fr; }
  .intro-text { grid-column: 2; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .works-grid, .contact-wrap, .section-head { grid-template-columns: 1fr; gap: 36px; }
  .section-head > p { max-width: 700px; }
}

@media (max-width: 900px) {
  .site-header { background: rgba(17,18,16,.72); backdrop-filter: blur(12px); }
  .header-inner { min-height: 74px; grid-template-columns: 1fr auto; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; justify-self: end; }
  .site-header.menu-opened .nav { display: flex; position: fixed; inset: 74px 0 0; min-height: calc(100vh - 74px); flex-direction: column; align-items: center; justify-content: center; gap: 24px; background: rgba(13,14,12,.98); }
  .site-header.menu-opened .nav a { color: #f3f1eb; font-size: 24px; }
  .hero, .hero-inner { min-height: 740px; }
  .hero-copy { width: min(720px, 92vw); padding-top: 110px; }
  .hero-title { font-size: clamp(46px, 7.7vw, 68px); }
  .hero-bg-a { background-position: 67% center; }
  .hero-bg-b { background-position: 61% center; }
  .intro-grid { gap: 28px; }
  .carousel-container { width: calc(100% - 12px); }
  .stack-stage { height: 430px; }
  .stack-card { width: min(44vw, 330px); min-width: 290px; height: 346px; padding: 24px; }
  .stack-card h3 { font-size: 29px; }
  .service-icon { margin: 38px 0 30px; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 24px); }
  .brand-mark { width: 35px; height: 35px; }
  .brand-text strong { font-size: 16px; }
  .brand-text em { font-size: 8px; }
  .hero, .hero-inner { min-height: 680px; }
  .hero-bg-a { background-position: 72% center; }
  .hero-bg-b { background-position: 64% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(12,13,11,.82), rgba(12,13,11,.58) 62%, rgba(12,13,11,.18)), linear-gradient(180deg, rgba(12,13,11,.10), rgba(12,13,11,.42)); }
  .hero-copy { width: 100%; padding: 112px 0 82px; }
  .hero h1 { font-size: clamp(34px, 9.7vw, 44px); line-height: 1.055; }
  .hero-title { gap: .075em; }
  .hero-lead { max-width: 92%; margin-top: 24px; font-size: 14px; line-height: 1.82; }
  .hero-actions { margin-top: 28px; }
  .btn { min-height: 48px; padding: 0 17px; font-size: 12px; }
  .hero-meta { grid-template-columns: 1fr; gap: 15px; margin-top: 38px; }
  .hero-meta > div { display: grid; grid-template-columns: 70px 1fr; align-items: center; padding: 0; }
  .hero-meta span { margin: 0; }
  .scroll-cue { display: none; }
  .motion-track { padding: 14px 0; font-size: 10px; gap: 21px; animation-duration: 24s; }
  .intro-grid { grid-template-columns: 1fr; gap: 18px; padding-top: 64px; padding-bottom: 70px; }
  .intro-number { padding: 0; }
  .intro-text { grid-column: auto; }
  .intro-copy h2, .section-head h2, .works-copy h2, .contact-copy h2 { font-size: clamp(36px, 10.8vw, 50px); line-height: 1.06; }
  .intro-facts { grid-template-columns: 1fr; gap: 0; }
  .intro-facts > div { display: grid; grid-template-columns: 100px 1fr; align-items: center; padding: 13px 0; }
  .intro-facts span { margin: 0; }
  .services, .works, .about, .contact { padding: 80px 0; }
  .section-head { margin-bottom: 38px; }
  .stack-carousel { min-height: 505px; }
  .stack-stage { height: 305px; overflow: hidden; border-radius: 18px; }
  .stack-card {
    width: clamp(154px, 44vw, 188px);
    min-width: 0;
    height: 256px;
    padding: 15px 14px;
    border-radius: 17px;
  }
  .stack-card-top { gap: 7px; }
  .stack-card-top span { font-size: 9px; }
  .stack-card-top b { max-width: 88px; overflow: hidden; text-overflow: ellipsis; font-size: 7px; }
  .service-icon { width: 42px; height: 42px; margin: 19px 0 17px; }
  .icon-water::before { width: 22px; height: 22px; left: 9px; top: 8px; }
  .icon-paint::before { left: 9px; right: 9px; top: 10px; height: 9px; }
  .icon-paint::after { left: 20px; top: 21px; height: 13px; box-shadow: 5px 8px 0 -1px #64645f; }
  .icon-weld::before { width: 22px; height: 22px; left: 10px; top: 10px; }
  .icon-frame::before { inset: 9px; }
  .icon-frame::after { left: 20px; top: 9px; height: 24px; }
  .icon-building::before { left: 13px; top: 8px; width: 16px; height: 26px; }
  .icon-grid::before { inset: 9px; }
  .stack-card h3 { font-size: 20px; margin-bottom: 7px; white-space: nowrap; }
  .stack-card > p { font-size: 10.5px; line-height: 1.48; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .card-line { left: 14px; right: 14px; bottom: 14px; }
  .stack-controls { margin-top: 7px; }
  .stack-controls button { width: 43px; height: 43px; }
  .stack-counter { min-width: 92px; }
  .stack-detail { margin-top: 15px; width: calc(100% - 20px); }
  .stack-detail h3 { font-size: 22px; }
  .stack-detail div { font-size: 12px; line-height: 1.65; }
  .works-list article { grid-template-columns: 56px 1fr; padding: 20px 0; }
  .works-list article > span { width: 38px; height: 38px; }
  .feature-grid { grid-template-columns: 1fr; border-left: 0; }
  .feature-grid article { min-height: 230px; border-left: 1px solid rgba(24,25,22,.14); }
  .feature-grid h3 { margin-top: 54px; }
  .contact-wrap { gap: 48px; }
  .contact-direct { grid-template-columns: 62px 1fr; }
  .contact-form { padding: 20px; border-radius: 18px; }
  .row.two { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal-item { opacity: 1; transform: none; }
}
