/* =========================================================
   TONE TILE GROUT — Site styles
   Palette: warm ivory / charcoal / stone
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Pretendard Variable';
  src: url('../fonts/PretendardVariable.woff2') format('woff2-variations');
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-300.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-300i.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ivory: #F7F4EE;
  --ivory-2: #FAF8F4;
  --sand: #EFEAE0;
  --stone: #DCD5C7;
  /* #8C8375 is the brand's muted stone; text uses a slightly deeper tone for legibility */
  --stone-2: #6F675C;
  --stone-3: #8C8375;
  --ink: #141413;
  --ink-2: #262420;
  --muted: #6B6458;
  --muted-2: #8A8375;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --header-h: 84px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --maxw: 1320px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--ivory); }

:focus-visible {
  outline: 1.5px solid var(--ink);
  outline-offset: 3px;
}

.container {
  width: min(var(--maxw), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: var(--ivory);
  font-size: 13px; transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
main { padding-top: var(--header-h); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid transparent; border-radius: 2px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-2); }
.btn-ivory { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn-ivory:hover { background: #fff; border-color: #fff; }
.btn-ghost { color: var(--ivory); border-color: rgba(247,244,238,.5); background: transparent; }
.btn-ghost:hover { background: rgba(247,244,238,.12); border-color: var(--ivory); }
.btn-outline { border-color: var(--stone); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: rgba(20,20,19,.03); }
.btn-sm { padding: 10px 18px; font-size: 12.5px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(247,244,238,.94);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--stone);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(20,20,19,.5); background: rgba(247,244,238,.97); }
.header-inner {
  height: 100%;
  width: min(var(--maxw), 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-type {
  font-family: var(--serif);
  font-size: 19px; font-weight: 600; letter-spacing: 0.2em;
  line-height: 1; white-space: nowrap;
}
.nav-desktop { display: flex; align-items: center; gap: 34px; margin-inline: auto; }
.nav-link {
  position: relative; font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink); padding: 6px 0;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header-tel {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em; font-variant-numeric: tabular-nums;
}
.header-tel .ico { width: 17px; height: 17px; }
.header-divider { width: 1px; height: 18px; background: var(--stone); }
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: var(--ink); opacity: .82; transition: opacity .25s; }
.icon-link:hover { opacity: 1; }
.icon-link .ico { width: 18px; height: 18px; }
.header-cta { margin-left: 4px; }
.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: var(--ink); opacity: .55;
}
.menu-toggle { display: none; width: 40px; height: 40px; position: relative; margin-left: 4px; }
.menu-toggle span {
  display: block; position: absolute; left: 9px; right: 9px; height: 1px; background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease), opacity .2s;
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 23px; }
body.menu-open .menu-toggle span:first-child { top: 20px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: var(--ivory);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  transform: translateY(-102%);
  transition: transform .65s var(--ease);
  visibility: hidden;
  overflow-y: auto;
}
body.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu-inner { display: flex; flex-direction: column; min-height: 100%; }
.mobile-nav { display: flex; flex-direction: column; border-top: 1px solid var(--stone); }
.mobile-nav a {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--stone); gap: 8px;
}
.mnum { font-family: var(--serif); font-size: 13px; color: var(--stone-2); letter-spacing: .1em; }
.mlabel { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.men { font-family: var(--serif); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--stone-2); }
.mobile-menu-foot { margin-top: auto; padding-top: 40px; }
.mm-tel { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.mm-links { display: flex; gap: 18px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.mm-links a { border-bottom: 1px solid var(--stone); padding-bottom: 2px; }
.mm-area { margin-top: 22px; font-size: 12px; letter-spacing: .04em; color: var(--stone-2); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  min-height: 600px;
  max-height: 980px;
  overflow: hidden;
  background: var(--ink);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.07);
  transition: transform 9s linear;
}
.hero-slide.is-active .hero-media img { transform: scale(1); }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 95% at 10% 86%, rgba(20,20,19,.58) 0%, rgba(20,20,19,.34) 38%, rgba(20,20,19,.10) 62%, rgba(20,20,19,0) 80%),
    linear-gradient(90deg, rgba(20,20,19,.34) 0%, rgba(20,20,19,.04) 45%, rgba(20,20,19,.10) 100%),
    linear-gradient(0deg, rgba(20,20,19,.42) 0%, rgba(20,20,19,.02) 46%, rgba(20,20,19,.02) 100%);
}
.hero-content {
  position: absolute; left: 0; right: 0; bottom: clamp(80px, 12vh, 140px);
  color: var(--ivory); z-index: 2;
}
.hero-eyebrow {
  display: block;
  font-family: var(--serif); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(250,248,244,.9); margin-bottom: 26px;
  text-shadow: 0 1px 18px rgba(20,20,19,.45);
}
.hero-title {
  font-size: clamp(2.55rem, 5.4vw, 4.6rem);
  line-height: 1.26; font-weight: 550; letter-spacing: -0.045em;
  color: #FDFBF7; text-wrap: balance; word-break: keep-all;
  text-shadow: 0 2px 30px rgba(0,0,0,.18);
}
.hero-sub {
  margin-top: 26px; font-size: clamp(14px, 1.15vw, 16.5px);
  line-height: 1.9; color: rgba(250,248,244,.92); font-weight: 300;
  letter-spacing: -0.005em; word-break: keep-all;
  text-shadow: 0 1px 18px rgba(20,20,19,.45);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.hero-controls {
  position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3;
  width: min(var(--maxw), 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: flex; align-items: center; gap: 20px;
  color: rgba(250,248,244,.9);
}
.hero-count { font-family: var(--serif); font-size: 14px; letter-spacing: .12em; display: flex; gap: 7px; align-items: baseline; }
.hero-count .slash { opacity: .45; }
.hero-count .total { opacity: .55; }
.hero-progress { flex: 1; max-width: 170px; height: 1px; background: rgba(250,248,244,.28); position: relative; overflow: hidden; }
.hero-progress span { position: absolute; inset: 0; width: 0; background: rgba(250,248,244,.9); }
.hero-arrows { margin-left: auto; display: flex; gap: 8px; }
.circle-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(250,248,244,.38);
  color: var(--ivory); display: grid; place-items: center;
  transition: background .3s, border-color .3s, color .3s;
}
.circle-btn svg { width: 20px; height: 20px; }
.circle-btn:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink); color: rgba(247,244,238,.55);
  overflow: hidden; padding: 17px 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 34px; width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; }
.marquee i { font-style: normal; color: rgba(247,244,238,.28); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTION SHELL
   ========================================================= */
.section { padding: clamp(76px, 10.5vw, 150px) 0; position: relative; }
/* Section heads: centered (eyebrow · title · lead) on every breakpoint */
.sec-head {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding-top: 30px; border-top: 1px solid var(--stone);
  margin-bottom: clamp(44px, 6vw, 84px);
}
.sec-head-main {
  display: flex; flex-direction: column; align-items: center;
  margin-top: 16px;
}
.eyebrow {
  font-family: var(--serif); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--stone-2);
  display: flex; align-items: baseline; justify-content: center; gap: 12px;
}
.eyebrow-num { color: var(--ink); font-size: 12.5px; letter-spacing: .08em; }
.sec-title {
  font-size: clamp(1.95rem, 3.55vw, 3.15rem);
  line-height: 1.36; font-weight: 600; letter-spacing: -0.04em;
  word-break: keep-all; text-wrap: balance; text-align: center;
}
.sec-lead {
  margin-top: 22px; max-width: 56ch; margin-inline: auto; color: var(--muted);
  font-size: 15.5px; line-height: 1.9; font-weight: 300; word-break: keep-all;
  text-align: center;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   ABOUT
   ========================================================= */
.section-about { background: var(--ivory); }
.about-grid {
  display: grid; grid-template-columns: 6fr 6fr; gap: clamp(36px, 6vw, 92px);
  align-items: start;
}
.about-copy p {
  font-size: 16.5px; line-height: 2; color: #4C463C; font-weight: 300;
  word-break: keep-all; max-width: 52ch;
}
.about-copy p + p { margin-top: 22px; }
.about-copy p:first-child { font-size: 19px; color: var(--ink); font-weight: 400; line-height: 1.85; }
/* Scanning aid: key phrases sit in full-strength ink with a soft warm underline */
.about-copy strong {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: 0;
  white-space: normal;
  background-image: linear-gradient(180deg, rgba(206,188,152,0) 74%, rgba(206,188,152,.42) 74%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.about-copy strong.nowrap { white-space: nowrap; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.about-tags li {
  padding: 7px 13px; border: 1px solid var(--stone); border-radius: 999px;
  font-size: 12px; font-weight: 400; letter-spacing: .005em; color: #4C463C;
  background: var(--ivory-2); white-space: nowrap;
}
.about-tags-label {
  display: flex; align-items: center; gap: 12px;
  margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--stone);
  font-family: var(--serif); font-size: 10.5px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--stone-2);
}

/* 시공 사례 보기 — plain label above the monochrome social links */
.about-cases { margin-top: 38px; }
.cases-label {
  font-size: 10.5px; letter-spacing: .2em; color: var(--stone-2);
}
.cases-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.case-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 15px;
  border: 1px solid var(--stone); background: var(--ivory-2); color: var(--ink);
  transition: border-color .35s var(--ease), background-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.case-btn:hover {
  border-color: var(--ink); background: #fff; transform: translateY(-1px);
  box-shadow: 0 14px 28px -24px rgba(20,20,19,.7);
}
.case-ico {
  flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--stone); color: var(--ink);
  transition: border-color .35s var(--ease);
}
.case-btn:hover .case-ico { border-color: var(--stone-3); }
.case-ico svg { width: 18px; height: 18px; display: block; }
.case-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.case-name { font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; white-space: nowrap; }
.case-handle {
  font-size: 10.5px; font-weight: 300; color: var(--stone-2); letter-spacing: .01em; line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.case-arrow {
  flex: 0 0 auto; width: 14px; height: 14px; margin-left: auto; color: var(--ink);
  opacity: .28; transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.case-btn:hover .case-arrow { opacity: .9; transform: translate(1px, -1px); }

/* Recent-work showcase: the photo now carries all three Tower Palace
   frames as a swipeable carousel. Caption (dots + counter) sits in its own
   bar below the photo so it never covers the TONE TILE GROUT watermark at
   the bottom of the image, and the arrows stay at the vertical centre. */
.about-figure { margin: 0; background: var(--ivory-2); border: 1px solid var(--stone); }

.about-carousel { position: relative; outline: none; }
.about-carousel:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.ac-viewport {
  overflow: hidden;
  touch-action: pan-y;           /* let the page scroll vertically, we own the horizontal */
  cursor: grab;
  -webkit-user-select: none; user-select: none;
}
.ac-viewport:active { cursor: grabbing; }
.ac-track {
  display: flex; width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform .72s var(--ease);
  will-change: transform;
}
.about-carousel.is-dragging .ac-track { transition: none; }
.ac-slide { flex: 0 0 100%; min-width: 0; }
.ac-slide img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  -webkit-user-drag: none; user-select: none; pointer-events: none;
  background: var(--sand);
}

/* Arrows: soft glass over the photo, centred so they never touch the
   watermark or the caption bar */
.ac-arrow {
  position: absolute; top: 50%; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
  background: rgba(250, 248, 244, .78);
  border: 1px solid rgba(20, 20, 19, .09);
  box-shadow: 0 2px 12px rgba(20, 20, 19, .07);
  backdrop-filter: blur(9px) saturate(130%);
  -webkit-backdrop-filter: blur(9px) saturate(130%);
  transform: translateY(-50%);
  opacity: .68;
  transition: opacity .3s var(--ease), transform .35s var(--ease), background-color .3s var(--ease);
}
.ac-arrow svg { width: 15px; height: 15px; display: block; }
.ac-prev { left: 13px; }
.ac-next { right: 13px; }
.ac-arrow:hover { opacity: 1; background: rgba(250, 248, 244, .96); }
.ac-prev:hover { transform: translateY(-50%) translateX(-2px); }
.ac-next:hover { transform: translateY(-50%) translateX(2px); }
.ac-arrow:active { transform: translateY(-50%) scale(.94); }
.ac-arrow:focus-visible { opacity: 1; outline: 2px solid var(--ink); outline-offset: 3px; }

/* Caption bar */
.about-figure figcaption {
  padding: 17px 22px 20px;
  display: flex; flex-direction: column; gap: 5px;
  border-top: 1px solid var(--stone);
}
.cap-top { display: flex; align-items: center; gap: 14px; margin-bottom: 3px; }
.cap-label {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 10px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--stone-2);
}
.cap-label::before { content: ''; width: 20px; height: 1px; background: var(--stone-3); flex: 0 0 auto; }
.cap-text { font-size: 17px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); line-height: 1.4; }
.cap-sub { font-size: 12.5px; font-weight: 300; letter-spacing: -0.005em; color: var(--muted); line-height: 1.7; word-break: keep-all; }

/* Dots + 01 / 03 counter */
.ac-dots { display: flex; align-items: center; gap: 5px; margin-right: 3px; }
.ac-dot {
  position: relative;
  width: 6px; height: 6px; padding: 0; border-radius: 999px;
  background: var(--stone-3); opacity: .5;
  transition: width .45s var(--ease), opacity .3s var(--ease), background-color .3s var(--ease);
}
.ac-dot::after { content: ''; position: absolute; inset: -9px -5px; border-radius: 999px; }
.ac-dot:hover { opacity: .85; }
.ac-dot.is-active { width: 18px; background: var(--ink); opacity: 1; }
.ac-dot:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.ac-count {
  display: inline-flex; align-items: baseline; gap: 3px;
  font-family: var(--serif); font-size: 11.5px; letter-spacing: .12em;
  color: var(--stone-2); font-variant-numeric: tabular-nums;
}
.ac-count b { font-weight: 600; color: var(--ink); }
.ac-count i { font-style: normal; font-size: 10px; opacity: .55; }

.strengths {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.4vw, 56px);
  margin-top: clamp(64px, 8vw, 110px);
  padding-top: 34px;
  text-align: center;
}
.strength-num { font-family: var(--serif); font-size: 12px; letter-spacing: .16em; color: var(--stone-2); }
.strength h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; margin: 16px 0 10px; }
.strength p { font-size: 14.5px; line-height: 1.85; color: var(--muted); font-weight: 300; word-break: keep-all; }

/* =========================================================
   SERVICE
   ========================================================= */
.section-service { background: var(--sand); }
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.2vw, 28px);
}
.svc-card {
  position: relative; display: block; text-align: left;
  overflow: hidden; background: var(--ink);
  aspect-ratio: 4 / 5;
  padding: 0;
  isolation: isolate;
}
.svc-media { position: absolute; inset: 0; display: block; }
.svc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease), filter .6s var(--ease);
  transform: scale(1.01);
}
.svc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,19,.22) 0%, rgba(20,20,19,0) 38%, rgba(20,20,19,.68) 100%);
  transition: opacity .5s var(--ease);
}
.svc-card:hover .svc-media img, .svc-card:focus-visible .svc-media img { transform: scale(1.06); }
.svc-card:hover .svc-overlay { opacity: .88; }
.svc-index, .svc-en {
  position: absolute; top: 20px; z-index: 2; color: rgba(250,248,244,.92);
}
.svc-index { left: 20px; font-family: var(--serif); font-size: 12px; letter-spacing: .18em; }
.svc-en {
  right: 20px; font-family: var(--serif); font-size: 10.5px;
  letter-spacing: .26em; text-transform: uppercase; opacity: .72;
  transition: opacity .4s;
}
.svc-foot {
  position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2;
  display: flex; align-items: baseline; gap: 10px; color: var(--ivory);
}
.svc-name { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.svc-tag { font-size: 12px; color: rgba(250,248,244,.7); letter-spacing: .02em; }
.svc-arrow {
  width: 22px; height: 22px; margin-left: auto; align-self: center;
  opacity: 0; transform: translateX(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.svc-card:hover .svc-arrow, .svc-card:focus-visible .svc-arrow { opacity: 1; transform: none; }
.service-note {
  margin-top: 34px; font-size: 12.5px; color: var(--muted-2);
  letter-spacing: .01em; text-align: center;
}

/* =========================================================
   PORTFOLIO
   ========================================================= */
.section-portfolio { background: var(--ivory); }
.pf-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-bottom: 34px; flex-wrap: wrap;
}
.pf-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 20px; border: 1px solid var(--stone); border-radius: 999px;
  font-size: 13px; letter-spacing: .01em; color: var(--muted);
  transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.pf-count { font-family: var(--serif); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--stone-2); }

/* Three works per page, one uniform frame each */
.pf-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 30px) clamp(14px, 2.2vw, 26px);
  scroll-margin-top: calc(var(--header-h) + 28px);
}
.pf-item { margin: 0; min-width: 0; position: relative; }
.pf-item[hidden] { display: none; }
.pf-open {
  display: block; width: 100%; padding: 0; overflow: hidden; position: relative;
  aspect-ratio: 4 / 5; background: var(--sand);
}
.pf-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .5s; }
.pf-open::after {
  content: ''; position: absolute; inset: 0; background: rgba(20,20,19,0);
  transition: background .45s var(--ease);
}
.pf-open:hover img { transform: scale(1.045); }
.pf-open:hover::after { background: rgba(20,20,19,.08); }
.pf-item figcaption { padding: 16px 2px 0; position: relative; }
.pf-cat { font-family: var(--sans); font-size: 10.5px; letter-spacing: .06em; color: var(--stone-2); }
.pf-item h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.03em; margin: 7px 0 4px; }
.pf-item figcaption p { font-size: 13px; color: var(--muted); font-weight: 300; line-height: 1.7; }
.pf-badge {
  display: inline-block; margin-top: 10px; padding: 3px 9px;
  font-size: 10.5px; letter-spacing: .08em; color: var(--ink);
  border: 1px solid var(--stone);
}
.pf-badge.is-ref { color: var(--stone-2); border-style: dashed; }
.pf-item.is-hidden { display: none; }

/* Pagination — < 01 / 03 > */
.pf-pager {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(30px, 4vw, 46px);
}
.pf-page-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--stone); color: var(--ink); background: transparent;
  display: grid; place-items: center;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), opacity .3s var(--ease), transform .25s var(--ease);
}
.pf-page-btn svg { width: 18px; height: 18px; display: block; }
.pf-page-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.pf-page-btn:active:not(:disabled) { transform: scale(.95); }
.pf-page-btn:disabled { opacity: .25; cursor: default; }
.pf-page-count {
  display: inline-flex; align-items: baseline; justify-content: center; gap: 5px;
  min-width: 62px;
  font-family: var(--serif); font-size: 13px; letter-spacing: .14em;
  color: var(--stone-2); font-variant-numeric: tabular-nums;
}
.pf-page-count b { font-weight: 600; color: var(--ink); }
.pf-page-count i { font-style: normal; font-size: 10.5px; opacity: .5; }
.pf-note { margin-top: 26px; font-size: 11.5px; color: var(--muted-2); }

/* =========================================================
   CONTACT
   ========================================================= */
.section-contact { background: var(--ivory-2); border-top: 1px solid var(--stone); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 5.5vw, 90px); align-items: start; }
.contact-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.ch-label { font-family: var(--serif); font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--stone-2); }
.ch-tel-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 12px; }
.ch-tel {
  display: block;
  font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums; line-height: 1.2;
}
/* 빠른 전화 상담 — sits right beside the big number */
.quick-call {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border: 1px solid var(--ink); border-radius: 2px;
  background: var(--ink); color: var(--ivory);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  transition: background-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quick-call-ico { display: grid; place-items: center; width: 15px; height: 15px; }
.quick-call-ico svg { width: 15px; height: 15px; display: block; }
.quick-call:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: 0 12px 24px -18px rgba(20,20,19,.85); }
.quick-call:active { transform: translateY(0); }
.ch-desc { margin-top: 16px; font-size: 14px; line-height: 1.9; color: var(--muted); font-weight: 300; max-width: 38ch; word-break: keep-all; }
.contact-form-wrap {
  background: var(--ivory); border: 1px solid var(--stone);
  padding: clamp(22px, 3.2vw, 44px);
}
.quote-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: .01em; }
.req, .opt {
  font-weight: 400; font-size: 10.5px; letter-spacing: .06em; margin-left: 4px;
}
.req { color: #9A5B45; }
.opt { color: var(--stone-2); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--ivory-2); border: 1px solid var(--stone);
  padding: 13px 14px; font-size: 14px; color: var(--ink);
  border-radius: 2px; outline: none;
  transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #A9A192; font-weight: 300; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); background: #fff; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 40px; }
.select-wrap svg { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; pointer-events: none; color: var(--stone-2); }
.err { font-size: 11.5px; color: #9A5B45; margin-top: -2px; }
.field.has-error input, .field.has-error textarea { border-color: #B4735C; }
.check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; margin-top: 2px; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-box {
  flex: 0 0 auto; width: 18px; height: 18px; border: 1px solid var(--stone-2);
  margin-top: 3px; position: relative; background: var(--ivory-2);
  transition: background .2s, border-color .2s;
}
.check input:checked + .check-box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check-box::after {
  content: ''; position: absolute; left: 5.5px; top: 2px; width: 5px; height: 9px;
  border: solid var(--ivory); border-width: 0 1.5px 1.5px 0; transform: rotate(42deg);
}
.check input:focus-visible + .check-box { outline: 1.5px solid var(--ink); outline-offset: 3px; }
.check-text { font-size: 12px; line-height: 1.7; color: var(--muted); word-break: keep-all; }
.check-text em { font-style: normal; display: block; color: var(--stone-2); font-size: 11px; margin-top: 2px; }
.err-consent { margin-top: -10px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form-actions .btn { flex: 1 1 auto; min-width: 0; padding: 14px 18px; font-size: 13.5px; }
.form-hint { font-size: 12px; color: var(--ink); min-height: 18px; }

.preview { margin-top: 26px; border: 1px solid var(--stone); background: var(--ivory-2); }
.preview-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 16px; border-bottom: 1px solid var(--stone);
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .04em; color: var(--stone-2);
}
.preview-copy { font-family: var(--sans); font-size: 11.5px; letter-spacing: .04em; text-transform: none; color: var(--ink); border-bottom: 1px solid var(--stone-2); padding: 0 0 1px; }
.preview pre {
  margin: 0; padding: 16px; font-family: var(--sans); font-size: 12.5px; line-height: 1.9;
  color: #4C463C; white-space: pre-wrap; word-break: keep-all;
  max-height: 240px; overflow: auto;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: #CBC4B7; padding: clamp(60px, 8vw, 96px) 0 26px; }
.footer-top {
  display: grid; grid-template-columns: 5fr 2.2fr 2.2fr 2.2fr;
  gap: 32px; padding-bottom: 54px; border-bottom: 1px solid rgba(247,244,238,.14);
}
.footer-word { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); letter-spacing: .18em; color: var(--ivory); line-height: 1; }
.footer-tag { margin-top: 18px; font-size: 13px; line-height: 1.9; color: rgba(203,196,183,.75); font-weight: 300; word-break: keep-all; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-family: var(--serif); font-size: 10.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--stone-2); margin-bottom: 6px; }
.footer-col a, .footer-col p { font-size: 13.5px; color: rgba(203,196,183,.86); transition: color .25s; font-weight: 300; }
.footer-col a:hover { color: var(--ivory); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 24px; flex-wrap: wrap; }
.footer-bottom p { font-size: 11px; letter-spacing: .08em; color: rgba(203,196,183,.5); }
.to-top { font-size: 11px; letter-spacing: .12em; color: rgba(203,196,183,.7); display: inline-flex; gap: 6px; align-items: center; }
.to-top:hover { color: var(--ivory); }

/* =========================================================
   FLOATING
   ========================================================= */
.floating {
  position: fixed; right: 20px; bottom: 22px; z-index: 80;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.floating.is-on { opacity: 1; transform: none; pointer-events: auto; }
.floating.is-muted { opacity: 0 !important; transform: translateY(14px); pointer-events: none !important; }
.float-btn {
  display: flex; align-items: center; gap: 10px;
  background: rgba(250,248,244,.97); border: 1px solid var(--stone);
  color: var(--ink); padding: 10px 14px 10px 12px;
  box-shadow: 0 14px 34px -22px rgba(20,20,19,.65);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.float-btn:hover { transform: translateY(-2px); border-color: var(--ink); }
.float-ico { display: grid; place-items: center; width: 22px; height: 22px; }
.float-ico svg { width: 20px; height: 20px; }
.float-text { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.float-text em { font-style: normal; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone-2); }
.float-text strong { font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.float-contact { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.float-contact .float-text em { color: rgba(247,244,238,.6); }
.float-contact:hover { background: var(--ink-2); border-color: var(--ink-2); }
.float-talk .float-ico svg { width: 21px; height: 21px; }

/* =========================================================
   MODALS (service)
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20,20,19,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.modal-panel {
  position: relative; z-index: 2; width: min(980px, 100%); max-height: min(86vh, 760px);
  background: var(--ivory); display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden; opacity: 0; transform: translateY(16px) scale(.99);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(250,248,244,.9); border-radius: 50%; color: var(--ink);
}
.modal-close svg { width: 18px; height: 18px; }
.modal-media { position: relative; background: var(--sand); min-height: 320px; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.modal-body { padding: clamp(24px, 3.4vw, 44px); overflow-y: auto; }
.modal-eyebrow { font-family: var(--serif); font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--stone-2); }
.modal-title { font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 600; letter-spacing: -0.04em; margin: 10px 0 16px; }
.modal-desc { font-size: 14.5px; line-height: 1.95; color: #4C463C; font-weight: 300; word-break: keep-all; }
.modal-points { margin: 22px 0 24px; display: flex; flex-direction: column; gap: 9px; }
.modal-points li { position: relative; padding-left: 16px; font-size: 13.5px; color: var(--ink); line-height: 1.7; }
.modal-points li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 1px; background: var(--stone-2); }
.modal-meta { border-top: 1px solid var(--stone); margin: 0 0 26px; }
.modal-meta div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--stone); }
.modal-meta dt { font-size: 11.5px; color: var(--stone-2); letter-spacing: .02em; }
.modal-meta dd { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--ink); }
.modal-cta { width: 100%; }
body.lock { overflow: hidden; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox { position: fixed; inset: 0; z-index: 160; background: rgba(16,16,15,.95); display: flex; align-items: center; justify-content: center; padding: 64px clamp(16px, 6vw, 72px); opacity: 0; transition: opacity .3s; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb-figure { margin: 0; max-width: 1100px; width: 100%; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.lb-figure img { max-height: 72vh; max-width: 100%; object-fit: contain; }
.lb-figure figcaption { display: flex; align-items: baseline; gap: 14px; color: var(--ivory); flex-wrap: wrap; justify-content: center; }
.lb-figure figcaption span:first-child { font-family: var(--serif); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: rgba(247,244,238,.6); }
.lb-figure figcaption strong { font-size: 14px; font-weight: 500; }
.lb-figure figcaption span:last-child { font-family: var(--serif); font-size: 12px; color: rgba(247,244,238,.55); letter-spacing: .1em; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(247,244,238,.3); color: var(--ivory); display: grid; place-items: center;
  transition: background .3s, color .3s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--ivory); color: var(--ink); }
.lb-close svg, .lb-prev svg, .lb-next svg { width: 20px; height: 20px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 200;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--ivory); padding: 13px 22px;
  font-size: 13px; letter-spacing: .01em; border-radius: 2px;
  transition: opacity .35s, transform .35s var(--ease);
  max-width: calc(100% - 40px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  :root { --header-h: 76px; }
  .nav-desktop { gap: 24px; }
  .header-tel span { display: none; }
  .header-cta { display: none; }
  .about-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .nav-desktop, .header-divider, .icon-link { display: none; }
  .menu-toggle { display: block; }
  .header-inner { justify-content: space-between; }
  .brand-type { font-size: 16.5px; letter-spacing: .18em; }
  .sec-head { padding-top: 24px; }
  .sec-head-main { margin-top: 12px; }
  .hero { min-height: 560px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-figure { order: -1; max-width: 520px; margin-inline: auto; }
  .about-figure img { aspect-ratio: 4 / 5; }
  .about-copy p { max-width: none; }
  .strengths { grid-template-columns: 1fr; gap: 30px; }
  .strength { padding: 0; }
  .strength h3 { margin-top: 10px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-aside { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .modal-panel { grid-template-columns: 1fr; max-height: 88vh; }
  .modal-media { min-height: 0; aspect-ratio: 16 / 10; }
  .lightbox { padding: 70px 16px 40px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --header-h: 68px; }
  body { font-size: 15px; }
  main { padding-bottom: 74px; }
  .hero { height: calc(100vh - var(--header-h) - 74px); height: calc(100svh - var(--header-h) - 74px); max-height: none; min-height: 520px; }
  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(20,20,19,.30) 0%, rgba(20,20,19,.06) 55%, rgba(20,20,19,.10) 100%),
      linear-gradient(0deg, rgba(20,20,19,.78) 0%, rgba(20,20,19,.46) 46%, rgba(20,20,19,.04) 76%);
  }
  .hero-content { bottom: 128px; }
  .hero-title { font-size: clamp(2.1rem, 9vw, 2.7rem); line-height: 1.28; }
  .hero-sub { font-size: 13.5px; margin-top: 18px; }
  .hero-sub .br-desk { display: none; }
  .hero-eyebrow { font-size: 9.5px; letter-spacing: .26em; margin-bottom: 18px; }
  .hero-actions { margin-top: 26px; gap: 8px; }
  .hero-actions .btn { padding: 13px 20px; font-size: 13px; }
  .hero-controls { bottom: 82px; gap: 14px; }
  .hero-progress { max-width: none; }
  .circle-btn { width: 38px; height: 38px; }
  .hero-count { font-size: 12px; }
  .marquee { padding: 13px 0; }
  .marquee span { font-size: 10.5px; }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 34px; padding-top: 20px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .26em; gap: 10px; }
  .eyebrow-num { font-size: 11.5px; }
  .sec-title { font-size: 1.62rem; line-height: 1.42; }
  .sec-lead { font-size: 14px; max-width: 100%; }
  .about-figure img { aspect-ratio: 4 / 5; }
  .about-figure figcaption { padding: 15px 18px 18px; }
  .cap-top { gap: 10px; }
  .cap-text { font-size: 16px; }
  .ac-arrow { width: 34px; height: 34px; opacity: .78; }
  .ac-prev { left: 10px; }
  .ac-next { right: 10px; }
  .about-tags li { font-size: 11.5px; padding: 6px 11px; }
  .about-copy p { font-size: 15px; line-height: 1.95; }
  .about-copy p:first-child { font-size: 16.5px; }
  .ch-tel-row { gap: 10px 14px; }
  .quick-call { padding: 10px 14px; font-size: 12px; }
  .about-cases { margin-top: 28px; }
  .cases-btns { gap: 8px; }
  .case-btn { padding: 12px 11px; gap: 10px; }
  .case-ico { width: 30px; height: 30px; }
  .case-ico svg { width: 16px; height: 16px; }
  .case-name { font-size: 12px; }
  .case-handle { font-size: 10px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc-card { aspect-ratio: 5 / 4; }
  .svc-name { font-size: 19px; }
  .service-note { text-align: left; }
  .pf-toolbar { margin-bottom: 22px; }
  .pf-grid { grid-template-columns: 1fr; gap: 26px; }
  .pf-open { aspect-ratio: 4 / 3; }
  .pf-page-btn { width: 40px; height: 40px; }
  .pf-page-count { font-size: 12px; }
  .pf-count { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 20px 16px; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .modal { padding: 0; align-items: end; }
  .modal-panel { max-height: 92vh; width: 100%; }
  .modal-media { aspect-ratio: 16 / 9; }
  .lightbox { padding: 60px 12px 30px; }
  .lb-prev, .lb-next { width: 38px; height: 38px; top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }
  .lb-figure figcaption { padding-bottom: 40px; }

  /* floating becomes bottom bar */
  .floating {
    left: 10px; right: 10px; bottom: 10px; flex-direction: row; align-items: stretch;
    gap: 8px; transform: none; opacity: 1; pointer-events: auto;
  }
  .float-btn { flex: 1; flex-direction: column; gap: 3px; padding: 8px 4px; justify-content: center; }
  .float-contact { flex: 1; }
  .float-ico { width: 21px; height: 21px; }
  .float-ico svg { width: 20px; height: 20px; }
  .float-text { align-items: center; }
  .float-text em { font-size: 9px; letter-spacing: .1em; }
  .float-text strong { display: none; }
  .toast { bottom: 84px; }
}

/* ---------- Motion preferences ---------- */
@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 { opacity: 1; transform: none; }
  .hero-media img { transform: none !important; }
}

/* ---------- Hero composition tweaks per slide ---------- */
@media (max-width: 980px) {
  .hero-slide[data-slide="1"] .hero-media img { object-position: 38% 50%; }
  .hero-slide[data-slide="2"] .hero-media img { object-position: 45% 45%; }
}

/* ---------- Utilities ---------- */
.nowrap { white-space: nowrap; }
@media (max-width: 980px) {
  .hero-slide[data-slide="0"] .hero-media img { object-position: 84% 50%; }
}

/* Slide 3 has a bright diagonal behind the headline — deepen its left scrim */
.hero-slide[data-slide="2"] .hero-scrim {
  background:
    linear-gradient(90deg, rgba(20,20,19,.66) 0%, rgba(20,20,19,.36) 34%, rgba(20,20,19,.12) 58%, rgba(20,20,19,.14) 100%),
    linear-gradient(0deg, rgba(20,20,19,.52) 0%, rgba(20,20,19,.12) 52%, rgba(20,20,19,.02) 100%);
}
