/* ==========================================================================
   Y BRANDING — We know Why & How
   ========================================================================== */
:root {
  --ff: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --ff-serif: 'Cormorant Garamond', 'Times New Roman', serif;

  --ink: #151412;
  --ink-2: #2a2825;
  --paper: #f6f2eb;
  --paper-2: #ece6dc;
  --white: #ffffff;
  --muted: #6e695f;
  --muted-on-dark: #a39d92;
  --line: rgba(21, 20, 18, .12);
  --line-on-dark: rgba(255, 255, 255, .14);
  --accent: #a6845a;
  --accent-soft: #d9c7ad;

  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 4px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(88px, 12vw, 160px) 0; position: relative; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--soft { background: var(--paper-2); }
.serif { font-family: var(--ff-serif); font-weight: 500; letter-spacing: -.01em; }

/* Section heading ---------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.sec-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: clamp(48px, 7vw, 88px); }
.sec-head__title {
  font-family: var(--ff-serif); font-weight: 500;
  font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -.02em;
}
.sec-head__title em { font-style: italic; color: var(--accent); }
.sec-head__desc { color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); max-width: 520px; }
.section--dark .sec-head__desc { color: var(--muted-on-dark); }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .sec-head .eyebrow { grid-column: 1 / -1; }
  .sec-head__desc { justify-self: end; }
}

/* Buttons -------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--white); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .45); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--accent); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo { display: flex; align-items: center; height: 100%; }
.header__logo img { height: 34px; width: auto; }
.header__logo .logo-dark { display: none; }
.header.is-solid {
  background: rgba(246, 242, 235, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-color: var(--line);
}
.header.is-solid .logo-white { display: none; }
.header.is-solid .logo-dark { display: block; }
.header.is-hidden { transform: translateY(-100%); }

.gnb { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.gnb__link {
  position: relative; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85); padding: 6px 0; transition: color .3s;
}
.gnb__link::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.gnb__link:hover::after, .gnb__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.gnb__link:hover { color: var(--white); }
.header.is-solid .gnb__link { color: var(--ink-2); }
.header.is-solid .gnb__link:hover { color: var(--ink); }
.gnb__cta {
  height: 40px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  background: var(--paper); color: var(--ink); transition: background .3s, color .3s;
}
.gnb__cta:hover { background: var(--white); }
.header.is-solid .gnb__cta { background: var(--ink); color: var(--paper); }
.header.is-solid .gnb__cta:hover { background: var(--accent); }

.menu-btn { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.menu-btn span {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--white);
  transition: transform .4s var(--ease), top .4s var(--ease), opacity .3s, background .3s;
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn span:nth-child(3) { top: 28px; }
.header.is-solid .menu-btn span { background: var(--ink); }
.menu-open .menu-btn span { background: var(--paper) !important; }
.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .gnb {
    position: fixed; inset: 0; z-index: 110; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 6px; padding: 0 var(--gutter); background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .menu-open .gnb { opacity: 1; visibility: visible; }
  /* backdrop-filter/transform on header would trap the fixed overlay inside it */
  .menu-open .header { -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; background: transparent; border-color: transparent; }
  .gnb__link, .header.is-solid .gnb__link {
    font-family: var(--ff-serif); font-size: 44px; font-weight: 500; letter-spacing: 0; text-transform: none;
    color: var(--paper);
  }
  .gnb__link::after { display: none; }
  .gnb__cta, .header.is-solid .gnb__cta { margin-top: 28px; background: var(--paper); color: var(--ink); height: 50px; padding: 0 26px; font-size: 15px; }
  .menu-open .header__logo .logo-white { display: block; position: relative; z-index: 120; }
  .menu-open .header__logo .logo-dark { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, .55) 0%, rgba(10, 9, 8, .15) 35%, rgba(10, 9, 8, .78) 100%),
    linear-gradient(90deg, rgba(10, 9, 8, .5) 0%, rgba(10, 9, 8, 0) 60%);
}
.hero__inner { position: relative; width: 100%; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(48px, 8vh, 96px); }
.hero__eyebrow { color: var(--accent-soft); margin-bottom: 28px; }
.hero__title {
  font-family: var(--ff-serif); font-weight: 400;
  font-size: clamp(58px, 11vw, 168px); line-height: .92; letter-spacing: -.03em;
}
.hero__title em { font-style: italic; color: var(--accent-soft); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes lineUp { to { transform: none; } }
.hero__bottom {
  margin-top: clamp(32px, 5vw, 56px); display: grid; gap: 32px; grid-template-columns: 1fr;
  opacity: 0; animation: fadeIn 1s .6s var(--ease) forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.hero__lead { font-size: clamp(17px, 1.7vw, 21px); font-weight: 500; line-height: 1.6; max-width: 560px; }
.hero__lead small { display: block; margin-top: 10px; font-size: 15px; font-weight: 400; color: rgba(255, 255, 255, .72); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .hero__bottom { grid-template-columns: 1fr auto; align-items: end; }
}
.hero__caption {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 24px);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6);
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 1px; height: 44px; background: rgba(255, 255, 255, .25); overflow: hidden;
}
.hero__scroll::after {
  content: ''; position: absolute; left: 0; top: -44px; width: 1px; height: 44px; background: var(--white);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine { to { top: 44px; } }
@media (max-width: 899px) { .hero__scroll { display: none; } }

/* ==========================================================================
   About
   ========================================================================== */
.about__grid { display: grid; gap: clamp(40px, 6vw, 96px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 1.15fr .85fr; } }
.about__statement {
  font-size: clamp(26px, 3.4vw, 46px); font-weight: 600; line-height: 1.38; letter-spacing: -.025em;
  margin: 28px 0 32px;
}
.about__statement mark { background: none; color: var(--accent); }
.about__body { color: var(--muted); font-size: clamp(15px, 1.3vw, 17px); max-width: 560px; }
.about__body strong { color: var(--ink); font-weight: 600; }
.about__visual { position: relative; }
.about__visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__visual figcaption {
  position: absolute; left: -1px; bottom: -1px; background: var(--paper); padding: 16px 22px 0 0;
  font-family: var(--ff-serif); font-size: clamp(28px, 3vw, 40px); font-style: italic; line-height: 1;
}
.facts {
  margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 28px 20px 0 0; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
@media (max-width: 899px) {
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--line); }
}
.fact__num { font-family: var(--ff-serif); font-size: clamp(44px, 5vw, 68px); line-height: 1; font-weight: 500; }
.fact__num sup { font-size: .45em; vertical-align: top; margin-left: 2px; color: var(--accent); }
.fact__label { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ==========================================================================
   Services
   ========================================================================== */
.services { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-on-dark); }
.svc {
  display: grid; grid-template-columns: 1fr; gap: 24px; padding: clamp(32px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line-on-dark);
}
@media (min-width: 900px) {
  .svc { grid-template-columns: 80px 1.1fr 1fr 260px; gap: 40px; align-items: start; }
}
.svc__no { font-family: var(--ff-serif); font-size: 22px; color: var(--accent-soft); font-style: italic; }
.svc__title { font-family: var(--ff-serif); font-size: clamp(32px, 3.4vw, 48px); font-weight: 500; line-height: 1.05; letter-spacing: -.015em; }
.svc__ko { display: block; margin-top: 12px; font-family: var(--ff); font-size: 15px; font-weight: 600; color: var(--accent-soft); letter-spacing: 0; }
.svc__lead { font-size: 17px; font-weight: 600; line-height: 1.55; margin-bottom: 16px; }
.svc__list li { position: relative; padding-left: 16px; color: var(--muted-on-dark); font-size: 15px; line-height: 1.6; }
.svc__list li + li { margin-top: 6px; }
.svc__list li::before { content: ''; position: absolute; left: 0; top: .78em; width: 6px; height: 1px; background: var(--accent-soft); }
.svc__img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-2); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: transform 1s var(--ease), filter .6s; }
.svc:hover .svc__img img { transform: scale(1.05); filter: none; }
@media (max-width: 899px) { .svc__img { order: -1; aspect-ratio: 16 / 9; } }

/* ==========================================================================
   Team
   ========================================================================== */
.team-group + .team-group { margin-top: clamp(64px, 8vw, 104px); }
.team-group__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 18px; margin-bottom: 32px; border-bottom: 1px solid var(--ink);
}
.team-group__title { font-family: var(--ff-serif); font-size: clamp(28px, 3vw, 40px); font-weight: 500; }
.team-group__meta { font-size: 13px; color: var(--muted); }
.team-grid { display: grid; gap: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 40px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.member__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); margin-bottom: 22px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(1) contrast(1.02); transition: filter .6s var(--ease), transform 1s var(--ease); }
.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.03); }
.member__role { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.member__name { margin-top: 6px; font-family: var(--ff-serif); font-size: 30px; font-weight: 500; line-height: 1.1; }
.member__title { margin-top: 4px; font-size: 15px; font-weight: 600; }
.member__career { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.member__career li { font-size: 14px; color: var(--muted); line-height: 1.6; padding-left: 14px; position: relative; }
.member__career li + li { margin-top: 5px; }
.member__career li::before { content: '–'; position: absolute; left: 0; }

/* ==========================================================================
   Works
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter {
  height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--muted); transition: all .3s var(--ease);
}
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter sup { font-size: 10px; margin-left: 3px; opacity: .6; }

/* BI tiles ------------------------------------------------------------------ */
.bi-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
@media (min-width: 1000px) { .bi-grid { grid-template-columns: repeat(4, 1fr); } }
.bi {
  position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  aspect-ratio: 1 / 1.08; padding: clamp(14px, 2vw, 24px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper-2); color: var(--ink);
}
.bi[hidden] { display: none; }
.bi__cover { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s var(--ease); }
.bi__cover img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.bi__cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 11, 10, .35), rgba(12, 11, 10, .72)); }
.bi__mark { flex: 1; display: grid; place-items: center; padding: 8% 10%; }
.bi__logo { max-width: min(78%, 220px); max-height: 42%; width: auto; height: auto; object-fit: contain; transition: filter .5s var(--ease), transform .6s var(--ease); }
img.bi__logo { max-height: clamp(56px, 9vw, 120px); }
.bi-wordmark { font-family: var(--ff-serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.02; text-align: center; font-weight: 500; letter-spacing: -.01em; transition: color .5s var(--ease); }
.bi-wordmark em { font-style: italic; color: var(--accent); transition: color .5s var(--ease); }
.bi__info { display: flex; flex-direction: column; gap: 2px; transition: color .5s var(--ease); }
.bi__name { font-size: clamp(14px, 1.2vw, 16px); font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.bi__scope { font-size: 12px; color: var(--muted); transition: color .5s var(--ease); }
.bi__more {
  position: absolute; top: clamp(14px, 2vw, 24px); right: clamp(14px, 2vw, 24px);
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); transition: color .5s var(--ease);
}
.bi__more svg { width: 12px; height: 12px; transition: transform .4s var(--ease); }

@media (hover: hover) {
  .bi[data-id]:hover .bi__cover, .bi[data-id]:focus-visible .bi__cover { opacity: 1; }
  .bi[data-id]:hover .bi__cover img { transform: scale(1); }
  .bi[data-id]:hover .bi__logo, .bi[data-id]:focus-visible .bi__logo { filter: brightness(0) invert(1); transform: scale(.96); }
  .bi[data-id]:hover .bi-wordmark, .bi[data-id]:hover .bi-wordmark em,
  .bi[data-id]:hover .bi__info, .bi[data-id]:hover .bi__scope, .bi[data-id]:hover .bi__more { color: var(--white); }
  .bi[data-id]:hover .bi__scope { color: rgba(255, 255, 255, .75); }
  .bi:hover .bi__more svg { transform: translateX(3px); }
}
.bi--cta { background: var(--ink); color: var(--paper); }
.bi--cta .bi-wordmark em { color: var(--accent-soft); }
.bi--cta .bi__scope { color: var(--accent-soft); }
.bi--cta:hover { background: var(--ink-2); }

/* Brand detail ---------------------------------------------------------------- */
.detail {
  position: fixed; inset: 0; z-index: 250; background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0; transform: translateY(24px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.detail.is-open { visibility: visible; opacity: 1; transform: none; }
.detail__bar {
  position: sticky; top: 0; z-index: 2; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter); background: rgba(246, 242, 235, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.detail__kicker { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail__kicker span:last-child { color: var(--ink); font-weight: 600; }
.detail__close { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; transition: background .3s, color .3s; flex-shrink: 0; }
.detail__close:hover { background: var(--ink); color: var(--paper); }
.detail__close svg { width: 12px; height: 12px; }

.dt-hero { height: clamp(260px, 52vh, 560px); overflow: hidden; background: var(--paper-2); }
.dt-hero img { width: 100%; height: 100%; object-fit: cover; }
.dt-intro {
  display: grid; grid-template-columns: 1fr; gap: 40px; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 960px) { .dt-intro { grid-template-columns: .9fr 1.1fr; gap: 80px; } }
.dt-logo { display: block; max-width: 220px; max-height: 110px; width: auto; height: auto; margin-bottom: 32px; }
.dt-logo.bi-wordmark { text-align: left; font-size: 34px; max-height: none; }
.dt-name { margin-top: 14px; font-family: var(--ff-serif); font-weight: 500; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.02em; }
.dt-ko { margin-top: 10px; color: var(--muted); font-size: 15px; }
.dt-overview { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.75; font-weight: 500; letter-spacing: -.01em; }
.dt-meta { margin-top: 32px; border-top: 1px solid var(--line); }
.dt-meta div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dt-meta dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }

.dt-project { padding: clamp(48px, 6vw, 80px) 0 0; }
.dt-project__head { display: flex; gap: 20px; align-items: baseline; margin-bottom: 24px; }
.dt-project__no { font-family: var(--ff-serif); font-style: italic; font-size: 22px; color: var(--accent); }
.dt-project__title { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; }
.dt-project__desc { margin-top: 4px; font-size: 15px; color: var(--muted); }
.dt-gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.dt-gallery--1 { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .dt-gallery--3, .dt-gallery--4 { grid-template-columns: repeat(3, 1fr); }
  .dt-gallery--4 .dt-shot:first-child, .dt-gallery--3 .dt-shot:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
}
@media (max-width: 899px) {
  .dt-gallery .dt-shot:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
}
.dt-shot { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); cursor: zoom-in; }
.dt-gallery--1 .dt-shot { aspect-ratio: 16 / 9; }
.dt-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dt-shot:hover img { transform: scale(1.04); }

.dt-foot {
  margin: clamp(64px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--ink);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
}
.dt-next { display: inline-flex; flex-direction: column; gap: 8px; position: relative; padding-right: 48px; }
.dt-next__name { font-family: var(--ff-serif); font-size: clamp(32px, 4vw, 56px); line-height: 1; font-weight: 500; }
.dt-next svg { position: absolute; right: 0; bottom: 8px; width: 28px; height: 28px; transition: transform .4s var(--ease); }
.dt-next:hover svg { transform: translateX(6px); }

/* Lightbox ----------------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 300; background: rgba(12, 11, 10, .985); color: var(--paper);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 20px var(--gutter); }
.modal__meta .eyebrow { color: var(--accent-soft); }
.modal__title { margin-top: 8px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.modal__desc { margin-top: 8px; font-size: 14px; color: var(--muted-on-dark); max-width: 720px; line-height: 1.65; }
.modal__close {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-on-dark);
  display: grid; place-items: center; transition: background .3s;
}
.modal__close:hover { background: rgba(255, 255, 255, .1); }
.modal__close svg { width: 18px; height: 18px; }
.modal__stage { position: relative; min-height: 0; overflow: hidden; --pad: clamp(16px, 7vw, 96px); }
.modal__stage img {
  position: absolute; inset: 0; margin: auto;
  max-width: calc(100% - var(--pad) * 2); max-height: 100%; width: auto; height: auto;
  object-fit: contain; user-select: none; transition: opacity .3s;
}
.modal__stage img.is-loading { opacity: 0; }
.modal__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-on-dark); display: grid; place-items: center; background: rgba(12, 11, 10, .5); transition: background .3s;
}
.modal__nav:hover { background: rgba(255, 255, 255, .12); }
.modal__nav svg { width: 18px; height: 18px; }
.modal__nav--prev { left: clamp(8px, 2vw, 28px); }
.modal__nav--next { right: clamp(8px, 2vw, 28px); }
.modal__bottom { padding: 16px var(--gutter) 20px; display: flex; align-items: center; gap: 20px; }
.modal__counter { font-family: var(--ff-serif); font-size: 18px; white-space: nowrap; color: var(--muted-on-dark); }
.modal__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.modal__thumbs::-webkit-scrollbar { display: none; }
.modal__thumbs button { flex: 0 0 auto; width: 72px; height: 52px; opacity: .4; transition: opacity .3s; border: 1px solid transparent; }
.modal__thumbs button.is-active { opacity: 1; border-color: var(--paper); }
.modal__thumbs button:hover { opacity: .85; }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .modal__nav { top: auto; bottom: 8px; transform: none; width: 44px; height: 44px; }
  .modal__stage { --pad: 0px; }
  .modal__stage img { bottom: 60px; }
  .modal__desc { display: none; }
}

/* ==========================================================================
   Marketing & Studio
   ========================================================================== */
.media-grid { display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .media-grid { grid-template-columns: repeat(3, 1fr); } }
.media-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.media-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.media-card:hover .media-card__img img { transform: scale(1.04); }
.media-card__kicker { margin-top: 20px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-soft); font-weight: 600; }
.media-card__title { margin-top: 6px; font-size: 20px; font-weight: 600; }
.media-card__desc { margin-top: 8px; font-size: 14px; color: var(--muted-on-dark); }

.studio { margin-top: clamp(88px, 11vw, 150px); display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr; }
@media (min-width: 1000px) { .studio { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.studio__title { margin-top: 20px; font-family: var(--ff-serif); font-size: clamp(40px, 5vw, 68px); line-height: 1; font-weight: 500; }
.studio__title em { font-style: italic; color: var(--accent-soft); }
.studio__text { margin-top: 24px; color: var(--muted-on-dark); font-size: 16px; max-width: 440px; }
.studio__specs { margin-top: 32px; border-top: 1px solid var(--line-on-dark); }
.studio__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-on-dark); font-size: 14px; }
.studio__specs dt { color: var(--muted-on-dark); }
.studio__specs dd { text-align: right; }
.studio__gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(80px, 10vw, 140px); gap: 10px; }
.studio__gallery figure { overflow: hidden; background: var(--ink-2); }
.studio__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.studio__gallery figure:hover img { transform: scale(1.05); }
.studio__gallery figure:nth-child(1) { grid-column: span 4; grid-row: span 3; }
.studio__gallery figure:nth-child(2) { grid-column: span 2; grid-row: span 3; }
.studio__gallery figure:nth-child(3) { grid-column: span 2; grid-row: span 2; }
.studio__gallery figure:nth-child(4) { grid-column: span 2; grid-row: span 2; }
.studio__gallery figure:nth-child(5) { grid-column: span 2; grid-row: span 2; }

/* ==========================================================================
   Partners
   ========================================================================== */
.partners { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .partners { grid-template-columns: 1fr 1fr; gap: 72px; } }
.partners__label { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.partners__label h3 { font-family: var(--ff-serif); font-size: 30px; font-weight: 500; }
.partners__label span { font-size: 13px; color: var(--muted); }
.partners__list { display: grid; grid-template-columns: repeat(2, 1fr); }
.partners__list li {
  min-height: 92px; display: flex; flex-direction: column; justify-content: center;
  padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line);
}
.partners__list li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.partners__name { font-family: var(--ff-serif); font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; line-height: 1.15; }
.partners__ko { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { display: grid; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(5, 1fr); } }
.step { padding: 28px 24px 28px 0; border-top: 1px solid var(--line); position: relative; }
@media (min-width: 900px) { .step + .step { padding-left: 24px; border-left: 1px solid var(--line); } }
.step__no { font-family: var(--ff-serif); font-size: 15px; font-style: italic; color: var(--accent); }
.step__en { margin-top: 18px; font-family: var(--ff-serif); font-size: 28px; font-weight: 500; line-height: 1.1; }
.step__ko { margin-top: 6px; font-size: 15px; font-weight: 600; }
.step__desc { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--ink); color: var(--paper); }
.contact__grid { display: grid; gap: clamp(48px, 6vw, 96px); grid-template-columns: 1fr; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: .9fr 1.1fr; } }
.contact__title { margin-top: 20px; font-family: var(--ff-serif); font-weight: 400; font-size: clamp(52px, 7.4vw, 112px); line-height: .95; letter-spacing: -.03em; }
.contact__title em { font-style: italic; color: var(--accent-soft); }
.contact__lead { margin-top: 28px; font-size: 17px; color: var(--muted-on-dark); max-width: 440px; }
.contact__info { margin-top: 48px; border-top: 1px solid var(--line-on-dark); }
.contact__info div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-on-dark); }
.contact__info dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-dark); padding-top: 3px; }
.contact__info dd { font-size: 16px; }
.contact__info a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact__info a:hover { border-color: currentColor; }
.contact__info small { display: block; color: var(--muted-on-dark); font-size: 14px; margin-top: 2px; }

.form { background: var(--paper); color: var(--ink); padding: clamp(24px, 4vw, 48px); }
.form__title { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.form__sub { margin-top: 4px; font-size: 14px; color: var(--muted); }
.form__grid { margin-top: 28px; display: grid; gap: 20px 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.field label .req, .field legend .req { color: var(--accent); margin-left: 2px; }
.field input, .field textarea, .field select {
  width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); background: var(--white);
  border-radius: 2px; font-size: 15px; transition: border-color .3s;
}
.field textarea { height: 140px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field fieldset { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); font-size: 14px; cursor: pointer; transition: all .25s var(--ease);
}
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex-shrink: 0; }
.form__foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__status { font-size: 14px; }
.form__status.is-ok { color: #2f6b3d; }
.form__status.is-err { color: #a33a2a; }
.form .btn[disabled] { opacity: .5; pointer-events: none; }
.hp { position: absolute; left: -9999px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: var(--muted-on-dark); border-top: 1px solid var(--line-on-dark); padding: 48px 0 36px; font-size: 13px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-end; }
.footer__logo img { height: 40px; width: auto; }
.footer__info { margin-top: 18px; line-height: 1.9; }
.footer__right { text-align: right; }
.footer__top { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
@media (max-width: 640px) { .footer__right { text-align: left; } }

/* ==========================================================================
   Reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

@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; }
}

/* Partner → brand detail link */
.partners__link { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.partners__go { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.partners__link:hover .partners__name { color: var(--accent); }
.partners__name { transition: color .3s; }

/* Graphic work (BI, posters, leaflets): show the whole image, never crop */
.dt-gallery.is-contain { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.dt-gallery.is-contain[style*="2 / 1"], .dt-gallery.is-contain[style*="16 / 10"], .dt-gallery.is-contain[style*="4 / 3"] { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.dt-gallery.is-contain .dt-shot { aspect-ratio: var(--ratio, 4 / 5); background: var(--paper-2); }
.dt-gallery.is-contain .dt-shot img { object-fit: contain; padding: 5%; }
.bi__mark .bi-wordmark { max-width: none; max-height: none; font-size: clamp(22px, 2.6vw, 40px); white-space: nowrap; }

/* ==========================================================================
   Hero — split (text left, concept image right)
   Background matches the image's wall tone so the picture melts into it.
   ========================================================================== */
.hero--split { --hero-bg: #3b3731; background: var(--hero-bg); align-items: center; }
.hero__grid {
  position: relative; width: 100%; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center;
  padding-top: calc(var(--header-h) + 20px); padding-bottom: clamp(40px, 7vh, 80px);
}
.hero--split .hero__title { font-size: clamp(52px, 6vw, 100px); }
.hero--split .hero__bottom { grid-template-columns: 1fr; gap: 28px; }
.hero__visual { margin: 0; position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 736 / 730; order: -1; opacity: 0; animation: fadeIn 1.4s .2s var(--ease) forwards; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 36px 22px var(--hero-bg); pointer-events: none; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 96px); padding-bottom: clamp(56px, 9vh, 104px); }
  .hero__visual { order: 0; justify-self: end; width: min(100%, 640px, calc(100svh - var(--header-h) - 120px)); }
}
@media (max-width: 959px) {
  .hero--split { min-height: auto; }
  .hero--split .hero__eyebrow { margin-bottom: 18px; }
}


/* ==========================================================================
   v3 — 레퍼런스 보드 적용안
   ========================================================================== */
/* 1. BI 타일 한 줄 카피 */
.bi__tagline { font-family: var(--ff-serif); font-style: italic; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.3; color: var(--ink-2); margin-bottom: 6px; transition: color .5s var(--ease); }
@media (hover: hover) { .bi[data-id]:hover .bi__tagline { color: var(--white); } }
@media (max-width: 640px) { .bi__tagline { font-size: 14px; } .bi { aspect-ratio: auto; min-height: 240px; } }

/* 4·5. 업종 필터 + 보기 전환 */
.works-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.works-bar .filters { margin-bottom: 0; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.view-toggle button { height: 34px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); transition: background .3s, color .3s; }
.view-toggle button.is-active { background: var(--ink); color: var(--paper); }

.wl { border-top: 1px solid var(--ink); }
.wl li[hidden] { display: none; }
.wl__row {
  display: grid; align-items: center; gap: 8px 20px; padding: 14px 0; border-bottom: 1px solid var(--line);
  grid-template-columns: 72px minmax(0, 1fr) auto;
  grid-template-areas: "thumb name go" "thumb tag go";
  transition: background .3s;
}
.wl__thumb { grid-area: thumb; width: 72px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.wl__thumb img { width: 100%; height: 100%; object-fit: cover; }
.wl__name { grid-area: name; font-weight: 600; font-size: 16px; line-height: 1.3; }
.wl__name small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.wl__tagline { grid-area: tag; font-family: var(--ff-serif); font-style: italic; font-size: 16px; color: var(--ink-2); }
.wl__ind, .wl__scope, .wl__year { display: none; font-size: 14px; color: var(--muted); }
.wl__go { grid-area: go; font-size: 18px; transition: transform .3s var(--ease); }
.wl__row:hover .wl__go { transform: translateX(4px); }
.wl__row:hover .wl__name { color: var(--accent); }
@media (min-width: 1000px) {
  .wl__row { grid-template-columns: 96px 1.2fr 1.4fr .8fr 1.2fr 80px 24px; grid-template-areas: "thumb name tag ind scope year go"; gap: 24px; padding: 16px 0; }
  .wl__thumb { width: 96px; }
  .wl__ind, .wl__scope, .wl__year { display: block; }
  .wl__ind { grid-area: ind; } .wl__scope { grid-area: scope; } .wl__year { grid-area: year; font-family: var(--ff-serif); font-size: 17px; }
}

/* 2. 상세: 과제 → 해결 */
.dt-cs {
  display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3vw, 40px); background: var(--paper-2);
}
@media (min-width: 900px) { .dt-cs { grid-template-columns: 1fr 40px 1fr; align-items: start; gap: 32px; } }
.dt-cs__label { font-family: var(--ff-serif); font-size: 26px; font-weight: 500; line-height: 1.1; margin-bottom: 12px; }
.dt-cs__label span { margin-left: 10px; font-family: var(--ff); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .02em; }
.dt-cs__text { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.75; }
.dt-cs__arrow { font-size: 28px; color: var(--accent); padding-top: 40px; text-align: center; }
@media (max-width: 899px) { .dt-cs__arrow { padding-top: 0; transform: rotate(90deg); justify-self: start; } }

/* 3. 메타: Team 줄바꿈 */
.dt-meta dd { line-height: 1.6; }

/* 6. 작업 과정 */
.dt-process__label { margin-bottom: 18px; padding-top: 18px; border-top: 1px solid var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.dt-project--process .dt-project__no { color: var(--muted); }
.bi-grid[hidden], .wl[hidden] { display: none; }
.dt-project--process .dt-gallery.is-contain { grid-template-columns: minmax(0, 860px); }

/* 상세: 문의 연결 안내 (예: 하삼동커피 가맹점 인테리어) */
.dt-notice { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 12px 18px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 600; border-radius: 999px; transition: background .3s; }
.dt-notice:hover { background: var(--accent); }

/* ==========================================================================
   2단계 메뉴 + 서브 페이지 (2026-11)
   ========================================================================== */
.gnb__list { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); list-style: none; }
.gnb__item { position: relative; }
.gnb__item.is-current > .gnb__link::after { transform: scaleX(1); }
.gnb__toggle { display: none; }
.gnb__sub {
  position: absolute; left: -18px; top: 100%; min-width: 190px; padding: 10px 0; margin-top: 14px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(21, 20, 18, .12);
  list-style: none; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.gnb__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.gnb__sub a { display: block; padding: 9px 18px; font-size: 14px; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s; }
.gnb__sub a:hover, .gnb__sub a:focus-visible { background: var(--paper-2); color: var(--ink); }
@media (min-width: 961px) {
  .gnb__item:hover > .gnb__sub, .gnb__item:focus-within > .gnb__sub { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 960px) {
  .gnb { justify-content: flex-start; padding-top: calc(var(--header-h) + 24px); padding-bottom: 40px; overflow-y: auto; }
  .gnb__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .gnb__item { display: grid; grid-template-columns: 1fr 48px; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .gnb__item .gnb__link { padding: 10px 0; }
  .gnb__toggle { display: grid; place-items: center; width: 48px; height: 48px; color: var(--paper); }
  .gnb__toggle::before { content: "+"; font-size: 28px; font-weight: 300; line-height: 1; transition: transform .3s var(--ease); }
  .gnb__item.is-open .gnb__toggle::before { transform: rotate(45deg); }
  .gnb__sub {
    grid-column: 1 / -1; position: static; margin: 0; padding: 0 0 14px; min-width: 0; background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .gnb__sub::before { display: none; }
  .gnb__item.is-open .gnb__sub { display: block; }
  .gnb__sub a { padding: 8px 0; font-size: 16px; color: rgba(255, 255, 255, .72); }
  .gnb__sub a:hover { background: none; color: var(--white); }
}

/* Sticky sub navigation (About · Services · Contact) */
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 64px); }
.subnav { position: sticky; top: var(--header-h); z-index: 90; background: rgba(246, 242, 235, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; padding: 16px 0 14px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--ink); border-color: var(--ink); }

/* Page heading for sub pages */
.page-head { padding: calc(var(--header-h) + clamp(56px, 8vw, 112px)) 0 clamp(40px, 5vw, 64px); }
.page-head__title { margin-top: 18px; font-family: var(--ff-serif); font-weight: 500; font-size: clamp(44px, 6.4vw, 92px); line-height: 1; letter-spacing: -.02em; }
.page-head__title em { font-style: italic; color: var(--accent); }
.page-head__desc { margin-top: 22px; max-width: 560px; color: var(--muted); font-size: clamp(15px, 1.3vw, 17px); }
.works-page { padding-top: clamp(32px, 4vw, 56px); }

/* Home blocks */
.more-link { margin-top: 28px; }
.more-link--center { margin-top: clamp(36px, 4vw, 56px); text-align: center; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.arrow-link::after { content: "→"; transition: transform .3s var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }
.svc-mini { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-on-dark); }
@media (min-width: 760px) { .svc-mini { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svc-mini { grid-template-columns: repeat(4, 1fr); } }
.svc-mini__item { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 48px 32px 0; border-bottom: 1px solid var(--line-on-dark); }
@media (min-width: 1100px) { .svc-mini__item + .svc-mini__item { padding-left: 24px; border-left: 1px solid var(--line-on-dark); } }
.svc-mini__title { font-family: var(--ff-serif); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; transition: color .3s; }
.svc-mini__ko { font-size: 14px; color: var(--muted-on-dark); }
.svc-mini__go { position: absolute; right: 16px; top: 32px; font-size: 20px; color: var(--accent-soft); transition: transform .3s var(--ease); }
.svc-mini__item:hover .svc-mini__go { transform: translateX(5px); }
.svc-mini__item:hover .svc-mini__title { color: var(--accent-soft); }

/* CTA band (above footer) */
.cta-band { background: var(--ink); color: var(--paper); padding: clamp(72px, 9vw, 128px) 0; border-bottom: 1px solid var(--line-on-dark); }
.cta-band__inner { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: end; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; } }
.cta-band .eyebrow { color: var(--accent-soft); }
.cta-band__title { margin-top: 18px; font-family: var(--ff-serif); font-weight: 400; font-size: clamp(40px, 5.6vw, 84px); line-height: 1; letter-spacing: -.02em; }
.cta-band__title em { font-style: italic; color: var(--accent-soft); }
.cta-band__lead { margin-top: 18px; color: var(--muted-on-dark); max-width: 460px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cta-band__tel { font-size: 14px; color: var(--muted-on-dark); line-height: 1.8; }
.footer__nav { display: flex; gap: 20px; justify-content: flex-end; margin-bottom: 12px; font-size: 13px; }
.footer__nav a { color: var(--paper); }
.footer__nav a:hover { color: var(--accent-soft); }
@media (max-width: 640px) { .footer__nav { justify-content: flex-start; flex-wrap: wrap; } }

/* Contact: location */
.location { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 900px) { .location { grid-template-columns: 1fr 1.4fr; } }
.location .sec-head__title { margin-top: 18px; font-size: clamp(36px, 4vw, 56px); }
.location__list { border-top: 1px solid var(--ink); }
.location__list div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.location__list dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.location__list a { border-bottom: 1px solid currentColor; }

/* Brand page (works/<id>.html) */
.brand { padding-top: calc(var(--header-h) + 28px); }
.brand__crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.brand__crumb a:hover { color: var(--ink); }
.brand__crumb b { color: var(--ink); font-weight: 600; }
.brand .dt-hero { height: clamp(280px, 62vh, 680px); }
.brand .dt-name { font-size: clamp(40px, 5vw, 72px); }
.brand-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin: clamp(80px, 9vw, 128px) 0 clamp(64px, 8vw, 104px); padding-top: 24px; border-top: 1px solid var(--ink); }
.brand-nav a { display: flex; flex-direction: column; gap: 4px; }
.brand-nav span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.brand-nav b { font-family: var(--ff-serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.1; }
.brand-nav__prev b::before { content: "← "; }
.brand-nav__next { text-align: right; align-items: flex-end; }
.brand-nav__next b::after { content: " →"; }
.brand-nav a:hover b { color: var(--accent); }
.brand-nav a.brand-nav__all { height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; flex-direction: row; align-items: center; font-size: 14px; font-weight: 600; }
.brand-nav a.brand-nav__all:hover { border-color: var(--ink); }
@media (max-width: 640px) {
  .brand-nav { grid-template-columns: 1fr 1fr; }
  .brand-nav a.brand-nav__all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* 404 */
.notfound { min-height: 70vh; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 36px; }

/* Home: team summary */
.team-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px var(--gap, 20px); }
@media (min-width: 760px) { .team-mini { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .team-mini { grid-template-columns: repeat(6, 1fr); gap: 20px; } }
.team-mini__item { display: flex; flex-direction: column; min-width: 0; }
.team-mini__photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); margin-bottom: 14px; }
.team-mini__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(1); transition: filter .5s var(--ease), transform .8s var(--ease); }
.team-mini__item:hover .team-mini__photo img { filter: none; transform: scale(1.03); }
.team-mini__name { font-family: var(--ff-serif); font-size: 24px; font-weight: 500; line-height: 1.15; }
.team-mini__role { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--accent); }
.team-mini__note { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.5; }
