@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200..900&family=Noto+Sans+KR:wght@100..900&display=swap');

:root {
  color-scheme: dark;
  --ink: #131416;
  --paper: #f1f1f2;
  --accent: #eceff3;
  --title-purple: #bdaaff;
  --sans: Inter, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); background: var(--ink); color: #f3f1ec; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid #93a5bc; outline-offset: 5px; }
.skip { position: fixed; top: 12px; left: 16px; z-index: 10; background: white; color: black; padding: 12px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.shell, .nav { width: min(1360px, 89vw); margin-inline: auto; }
.header { position: sticky; top: 0; z-index: 4; background: #111214ef; backdrop-filter: blur(16px); }
.nav { min-height: 72px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f1ebe545; }
.nav nav { display: flex; gap: clamp(20px, 4vw, 54px); color: #f0ebe6; font-size: .94rem; }
.nav nav a { padding-block: 13px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand b { display: block; font: 800 1.5rem/.95 var(--sans); letter-spacing: -.04em; margin-bottom: 7px; }
.brand small { display: block; font-size: .62rem; letter-spacing: .145em; }
.mark { display: block; width: 46px; height: auto; flex: none; }
.nav-contact { border: 1px solid #f4ede469; padding: 12px 17px; font-size: .88rem; }
.nav-contact:hover { background: var(--paper); color: var(--ink); }
.eyebrow { margin: 0 0 22px; font-size: .78rem; font-weight: 400; letter-spacing: .195em; display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 26px; height: 1px; background: currentColor; display: inline-block; }
h1, h2, h3, p { overflow-wrap: break-word; word-break: keep-all; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 23px; font-weight: 400; font-size: .94rem; transition: background .25s, box-shadow .25s; }
.button-bright { background: var(--accent); color: #14161a; }
.button-bright:hover { background: #ffffff; box-shadow: 0 0 28px #f3f6fa42; }
.services { background: var(--paper); color: #191a1b; padding: clamp(62px, 10vw, 145px) 0; }
.services .eyebrow { color: #555b63; }
.section-heading h2 { font-size: clamp(2.35rem, 5.9vw, 6.25rem); line-height: 1.13; margin: 0; }
.service-tabs { display: grid; grid-template-columns: repeat(3,1fr); margin-top: clamp(28px, 5vw, 65px); border-top: 1px solid #bcb7ae; border-bottom: 1px solid #bcb7ae; }
.service-tabs button { color: #50483f; background: none; border: 0; border-bottom: 3px solid transparent; padding: 16px 13px; text-align: left; cursor: pointer; transition: color .2s,background .2s,border-color .3s; }
.service-tabs button + button { border-left: 1px solid #c9c3b9; }
.service-tabs button[aria-selected=true] { border-bottom-color: #313944; color: #171514; background: #dfe3e8; }
.service-tabs button:hover { color: #171514; background: #e5e7eb; }
.service-tabs button span, .service-tabs button small { display: block; }
.service-tabs button span { font-weight: 400; font-size: clamp(1.1rem,2.4vw,1.6rem); }
.service-tabs button small { margin-top: 6px; font-size: .73rem; letter-spacing: .09em; }
.service-body { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(18px,6vw,85px); align-items: center; margin-top: 26px; }
.service-copy { padding: 15px 0; }
.service-copy.refresh { animation: fade-up .38s both; }
.service-copy h3 { font-weight: 350; font-size: clamp(1.4rem,3vw,2.35rem); letter-spacing: -.055em; margin: 0; }
.service-copy p { color: #4e4941; line-height: 1.75; }
.service-copy ul { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid #c7c0b6; }
.service-copy li { padding: 10px 0; border-bottom: 1px solid #c7c0b6; font-size: .95rem; }
.service-scene { position: relative; min-height: 375px; height: 37vw; max-height: 510px; display: grid; place-items: center; background: radial-gradient(ellipse at center,#26292d,#141416 73%); isolation: isolate; overflow: hidden; }
.service-scene::before { content: ""; z-index: -1; position: absolute; inset: 0; background: repeating-linear-gradient(0deg,transparent 0 29px,#aeb8c522 29px 30px),repeating-linear-gradient(90deg,transparent 0 29px,#aeb8c522 29px 30px); }
.service-scene canvas { position: absolute; width: 100%; height: 100%; }
.scene-label { color: var(--accent); position: absolute; bottom: 13px; right: 16px; letter-spacing: .14em; font-size: .75rem; }
.scene-cross { position: absolute; inset: 14px; border: 1px solid #d5deeb40; pointer-events: none; }
.work { position: relative; isolation: isolate; padding: clamp(65px,10vw,145px) 0; background: #141416; }
.work::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#141416f0 8%,#14141679 68%,#14141695),linear-gradient(0deg,#141416 3%,transparent 68%),url("assets/interior.webp") center 35% / cover no-repeat; }
.work-intro { margin: 24px 0 42px; color: #e1d9d0; line-height: 1.7; }
.cases { border-top: 1px solid #a496896d; max-width: 1050px; }
.case { border-bottom: 1px solid #a496896d; background: #171618ad; }
.case summary { display: flex; cursor: pointer; align-items: center; justify-content: space-between; padding: 20px clamp(13px,3vw,36px); list-style: none; transition: background .25s; }
.case summary::-webkit-details-marker { display: none; }
.case summary:hover { background: #3a414975; }
.case small, .case strong { display: block; }
.case small { color: var(--accent); margin-bottom: 6px; font-size: .82rem; }
.case strong { font: 350 clamp(1.35rem,3vw,2.55rem)/1.12 var(--sans); }
.case i { display: inline-block; position: relative; width: 30px; height: 30px; flex: none; border: 1px solid #c7b8a279; }
.case i::before, .case i::after { content: ""; position: absolute; top: 50%; left: 24%; width: 52%; height: 1px; background: var(--accent); transition: transform .25s; }
.case i::after { transform: rotate(90deg); }
.case[open] i::after { transform: rotate(0deg); }
.case-story { color: #ede4d9; padding: 0 clamp(13px,3vw,36px) 18px; line-height: 1.65; }
.case-story p { margin: 0; max-width: 680px; }
.case-story p + p { color: var(--accent); margin-top: 12px; font-size: .87rem; }
.case[open] .case-story { animation: fade-up .28s both; }
.contact { padding: clamp(65px,9vw,115px) 0; background: linear-gradient(120deg,#202328,#17181b); border-top: 1px solid #ced5df44; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: end; }
.contact-grid p:not(.eyebrow) { line-height: 1.7; color: #eee3d7; max-width: 350px; }
.contact-grid .address { font-size: .88rem; margin-bottom: 0; }
footer { padding: 28px 0; }
footer .shell { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #e8e2d9; font-size: .87rem; }
.motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.75,.3,1); }
.motion .reveal.visible, .motion .reveal:focus-within { opacity: 1; transform: none; }
@media (max-width: 720px) {
  .nav { min-height: 67px; }

  .nav-contact { padding: 10px 11px; }
  .service-tabs button { padding: 13px 8px; }
  .service-tabs button small { font-size: .68rem; letter-spacing: .04em; }
  .service-body { grid-template-columns: 1fr; }
  .service-scene { min-height: 255px; }
  .contact-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .motion .reveal { opacity: 1; transform: none; }
}

.service-scene .scene-cross::before, .service-scene .scene-cross::after { content: ""; position: absolute; width: 10px; height: 10px; border: solid var(--accent); }
.service-scene .scene-cross::before { border-width: 1px 0 0 1px; top: -1px; left: -1px; }
.service-scene .scene-cross::after { border-width: 0 1px 1px 0; bottom: -1px; right: -1px; }
@media (max-width: 380px) {
  .service-tabs button small { letter-spacing: 0; }
}
.motion .service-scene canvas { clip-path: inset(0 0 100% 0); }
.motion .service-body.visible canvas { clip-path: inset(0); transition: clip-path 1s cubic-bezier(.23,.66,.24,1); }
.motion .work .case { opacity: 0; transform: translateX(-22px); }
.motion .work .cases.visible .case, .motion .work .cases:focus-within .case { animation: case-arrive .6s cubic-bezier(.22,.65,.25,1) both; }
.motion .work .cases.visible .case:nth-child(2) { animation-delay: .11s; }
.motion .work .cases.visible .case:nth-child(3) { animation-delay: .22s; }
@keyframes case-arrive { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .motion .work .case { opacity: 1; transform: none; }
  .motion .service-scene canvas { clip-path: none; }
}

.nav nav a:hover { color: var(--accent); }
section[id] { scroll-margin-top: 83px; }
#top { scroll-margin-top: 0; }
.intro {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: #151519;
}
/* The photograph is also the fallback when the film or motion is disabled. */
.intro-media, .intro-shade, #intro-film {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.intro-media {
  z-index: -3;
  background: #15171a url("assets/facade.webp") 66% 53% / cover no-repeat;
  filter: grayscale(1);
}
#intro-film { width: 100%; height: 100%; z-index: -2; filter: grayscale(1); }
.intro-shade {
  z-index: -1;
  background: linear-gradient(0deg,#08090bef,transparent 35%,transparent 79%,#08090b68);
}
.intro-inner {
  min-height: inherit;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  padding-block: max(25px,env(safe-area-inset-top)) max(25px,env(safe-area-inset-bottom));
}
.intro-brand { justify-self: start; }
.brand-lockup {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  column-gap: .43rem;
  color: #fff;
}
.brand-lockup .mark { width: 2.375rem; filter: brightness(0) invert(1); }
.brand.brand-lockup b, #site-body .brand.brand-lockup b {
  margin: 0;
  font: 700 1.5rem/1 var(--sans);
  letter-spacing: -.055em;
  white-space: nowrap;
}
.brand-lockup small {
  align-self: start;
  margin-top: .13rem;
  font-size: .5rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .09em;
  white-space: nowrap;
}
.intro-message { align-self: end; padding-bottom: clamp(24px,4.5vh,50px); }
.intro h1 {
  margin: 0;
  font-size: clamp(2.4rem,5.6vw,6.75rem);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -.089em;
  text-shadow: 0 5px 35px #08080999;
}
.full-stop { color: #fff; }
.intro-message p { margin: 14px 0 0; color: #d9dce0; letter-spacing: .15em; font-size: .94rem; font-weight: 700; }
.slogan-strokes {
  display: block;
  width: min(100%, 37rem);
  height: auto;
  overflow: visible;
  fill: none;
  stroke: #fff;
  stroke-width: .76;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 1px 2px #08090bdd);
}
@media (prefers-reduced-motion: no-preference) {
  .is-playing .slogan-strokes path {
    stroke-dasharray: 1;
    animation: slogan-draw .56s cubic-bezier(.25,.53,.38,1) both;
    animation-delay: calc(1.56s + var(--letter) * .14s + var(--stroke) * .05s);
  }
  .is-playing .intro-message p { animation: message-in .48s 2.89s both; }
}
@keyframes slogan-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@keyframes message-in { from { opacity: 0; transform: translateY(13px); filter: blur(4px); } }
.intro-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid #ffffff57;
}
.enter {
  border: 1px solid #ffffffe0;
  display: inline-flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 0 21px;
  min-height: 51px;
  min-width: 133px;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  background: #12111355;
  transition: background .25s, color .25s, border-color .25s;
}
.enter .enter-icon { position: relative; display: block; width: 13px; height: 13px; }
.enter .enter-icon::before, .enter .enter-icon::after { content: ""; position: absolute; inset: 6px 0 auto; height: 1px; background: currentColor; }
.enter .enter-icon::after { transform: rotate(90deg); }
.enter:hover { background: #f7f2e923; border-color: #f7f2e9; }

.site-entered .header { animation: menu-arrive .68s .09s backwards; }
@keyframes menu-arrive { from { transform: translateY(-12px); opacity: 0; } }
[hidden] { display: none !important; }
.positioning { background: #101113; padding: clamp(70px,12vw,160px) 0; border-bottom: 1px solid #fff3; }
.positioning-inner { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: clamp(25px,6vw,90px); }
.positioning .eyebrow { color: var(--accent); }
.positioning h2:focus { outline: none; }
.positioning-summary p { color: #d0cdca; line-height: 1.8; margin: 0 0 20px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--accent); font-weight: 400; font-size: .91rem; }
.section-heading h2 { font-weight: 250; letter-spacing: -.065em; }
#site-body .brand b { font-weight: 500; }
.positioning-summary p, .work-intro, .service-copy p, .case-story p, .contact-grid p:not(.eyebrow) { font-weight: 300; }
.work::before { background-position: center 58%; filter: grayscale(1); }
.work .cases { max-width: none; }
.case summary { padding-block: clamp(22px,3vw,35px); }
.case strong { letter-spacing: -.062em; }
@media (max-width: 720px) {
  section[id] { scroll-margin-top: 122px; }
  .intro-media { background-position: 79% 53%; }
  .intro-shade { background: linear-gradient(0deg,#08090bf0,transparent 45%,transparent 76%,#08090b72); }
  .slogan-strokes { stroke-width: .95; }
  .nav { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding-top: 9px; }
  .nav .brand { grid-row: 1; }
  .nav .nav-contact { grid-row: 1; }
  .nav nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 8px; padding-top: 3px; }
  .nav nav a { font-size: .88rem; padding-block: 10px; }
  .positioning-inner { grid-template-columns: 1fr; }
  .positioning-summary p { max-width: 520px; }
}

/* Fill the headline from its outline, along the same direction as the intro strokes. */
.case strong { color: var(--title-purple); }
.section-heading .section-title, .positioning .section-title, .contact .section-title {
  --section-title-ink: var(--title-purple);
  margin: 0;
  font-size: clamp(1.65rem, 3.8vw, 4.05rem);
  line-height: 1.12;
  font-weight: 150;
  letter-spacing: -.067em;
  color: var(--section-title-ink);
}
.services .section-title { --section-title-ink: #6146a6; }
.section-title .headline-keyword { font-weight: 250; }
.section-title .full-stop { color: inherit; }
.case strong { width: fit-content; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  @media (prefers-reduced-motion: no-preference) {
    .motion .visible .section-title,
    .motion .cases.visible .case strong {
      background: linear-gradient(90deg, var(--section-title-ink, var(--title-purple)), var(--section-title-ink, var(--title-purple))) left / 0% 100% no-repeat;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      -webkit-text-stroke: .35px var(--section-title-ink, var(--title-purple));
      animation: title-fill 1s .2s cubic-bezier(.45,.05,.25,1) forwards;
    }
  }
}
@keyframes title-fill { to { background-size: 100% 100%; -webkit-text-stroke-width: 0; } }
