:root {
  --forest: #0E3023;
  --ivory: #F7F3E8;
  --taupe: #C9BCAA;
  --sage: #8B9B82;
  --paper: var(--ivory);
  --ink: var(--forest);
  --muted: #4e5f52;
  --soft: #ebe5d8;
  --line: #c8cabb;
  --accent: #315440;
  --section-space: clamp(65px, 9vw, 132px);
}

:focus-visible { outline-color: var(--accent); }
.hero-band :focus-visible, .studio :focus-visible, .channel-section :focus-visible,
.footer :focus-visible { outline-color: var(--ivory); }

.masthead { background: var(--ivory); }
.top { min-height: 82px; height: auto; border: 0; }
.wordmark { display: block; width: clamp(150px, 17vw, 223px); }
.wordmark img { width: 100%; height: auto; object-fit: contain; }
.top nav { gap: clamp(16px, 3vw, 50px); }
.top nav .nav-contact { border: 1px solid var(--forest); padding-inline: .95rem; }
.top nav .nav-contact:hover { color: var(--ivory); background: var(--forest); text-decoration: none; }

.hero-band {
  color: var(--ivory);
  background: radial-gradient(ellipse at 76% 40%, #1c4030, var(--forest) 69%);
  overflow: hidden;
}
.hero {
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(22px, 3.2vw, 58px);
  padding: clamp(70px, 8vw, 132px) 0 clamp(52px, 6.5vw, 100px);
}
.hero-label {
  color: var(--taupe);
  font-size: 12px;
  letter-spacing: .1em;
}
.hero-label::before { background: var(--sage); }
.hero h1 {
  font: 400 clamp(46px, 5.7vw, 96px)/.91 var(--serif);
  letter-spacing: -.069em;
  margin: .43em 0 .28em;
}
.hero h1 span, .hero h1 em { display: block; white-space: nowrap; }
.hero h1 em { color: #d6ddc6; padding-left: .13em; }
.hero-korean { color: var(--ivory); font-size: clamp(15px, 1.52vw, 24px); letter-spacing: -.055em; }
.hero-description { color: #d7dbcf; margin-top: 12px; }
.hero-actions { margin-top: 28px; }
.hero-button { background: var(--ivory); border-color: var(--ivory); color: var(--forest); }
.hero-button:hover { background: var(--taupe); border-color: var(--taupe); }
.underlink { border-color: var(--sage); }
.underlink:hover { color: var(--forest); border-color: var(--forest); }
.hero .underlink { color: var(--ivory); }
.hero .underlink:hover { color: #d6ddc6; border-color: #d6ddc6; }

.hero-visual { min-width: 0; padding-top: min(4vw, 51px); }
.hero-stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.35;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: -8% 7% 1% 24%;
  border-radius: 50% 50% 0 0 / 56% 56% 0 0;
  background: radial-gradient(ellipse at 20% 16%, #f0e9d8, #c9bcaa 58%, #8b9b82);
  box-shadow: inset 0 0 50px #1e332642;
}
.hero-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12% 3% 1% 20%;
  border: 1px solid #c9bcaa57;
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 56% 56% 0 0;
}
.showpiece {
  position: absolute;
  display: block;
  overflow: hidden;
  border: clamp(3px, .48vw, 7px) solid #16231c;
  background: #16231c;
  box-shadow: 0 16px 42px #08191298;
  transition: translate .45s cubic-bezier(.2,.75,.25,1), rotate .45s cubic-bezier(.2,.75,.25,1);
}
.showpiece img { object-position: center top; }
.showpiece:hover, .showpiece:focus-visible { translate: 0 -7px; rotate: 0deg; z-index: 4; }
.showpiece-primary {
  z-index: 1;
  width: 78%;
  left: 1%;
  top: 9%;
  aspect-ratio: 1.65;
  border-top-width: clamp(5px, .8vw, 11px);
  border-radius: 2% / 3%;
  rotate: -5deg;
}
.showpiece-tablet {
  z-index: 2;
  width: 35%;
  right: 4%;
  bottom: 7%;
  aspect-ratio: .77;
  border-radius: 5% / 4%;
  rotate: 8deg;
}
.showpiece-mobile {
  z-index: 3;
  width: 18%;
  left: 15%;
  bottom: 2%;
  aspect-ratio: .49;
  border-radius: 10% / 5%;
  rotate: -9deg;
}
.hero-visual figcaption { color: #e2dcd0; margin-top: 16px; padding-inline: 3%; }

.collection { padding-block: var(--section-space); }
.section-head { border: 0; padding: 0 0 clamp(25px, 4vw, 53px); }
.section-head h2 { margin: 0; font-size: clamp(58px, 8.2vw, 128px); }
.section-head h2 em { font-weight: 400; color: var(--accent); }
.section-aside { max-width: 260px; }
.gallery {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(40px, 7vw, 104px) clamp(16px, 2.3vw, 36px);
}
.work-card:first-child .project-link { display: grid; grid-template-columns: 2.5fr 1fr; align-items: center; gap: clamp(24px, 4vw, 65px); }
.work-card:nth-child(2) { grid-column: 1 / 7; }
.work-card:nth-child(3) { grid-column: 8 / 13; margin-top: clamp(18px, 6vw, 96px); }
.work-card:nth-child(4) { grid-column: 1 / 6; }
.work-card:nth-child(5) { grid-column: 7 / 13; margin-top: clamp(18px, 5vw, 70px); }
.work-card, .case-showcase { --mount: #e7e5d8; --mount-shade: #bfc3ad; }
.work-card.janyun, .case-showcase.janyun { --mount: #aab39c; --mount-shade: #728368; }
.work-card.morne, .case-showcase.morne { --mount: #e9d9b6; --mount-shade: #c5a77c; }
.work-card.lumiere, .case-showcase.lumiere { --mount: #e6d9d4; --mount-shade: #bf9f96; }
.work-card.popplay, .case-showcase.popplay { --mount: #d5e5ee; --mount-shade: #92b8cf; }
.work-card.arcnodel, .case-showcase.arcnodel { --mount: #35495a; --mount-shade: #1b2a39; }
.work-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 1.52;
  background: radial-gradient(ellipse at 26% 7%, var(--mount), var(--mount-shade));
}
.work-stage::before {
  content: "";
  position: absolute;
  background: #f7f3e846;
  inset: -45% 28% -25% 9%;
  rotate: 27deg;
}
.work-card.lumiere .work-stage::before { inset: 7% 17% -49% 29%; border-radius: 50% 50% 0 0; rotate: 0deg; }
.work-card.popplay .work-stage::before { inset: -30% 5% 16% 40%; border-radius: 50%; }
.work-card.arcnodel .work-stage::before { inset: 10% -7% 12% 12%; background: transparent; border: 1px solid #f7f3e83d; rotate: -12deg; }
.work-desktop, .work-mobile {
  position: absolute;
  overflow: hidden;
  background: #202d26;
  border: clamp(2px, .33vw, 5px) solid #202d26;
  border-radius: 3px;
  box-shadow: 0 12px 30px #17251e57;
  transition: translate .45s cubic-bezier(.2,.75,.25,1);
}
.work-desktop { left: 8%; top: 14%; width: 76%; aspect-ratio: 1.58; }
.work-mobile { right: 7%; bottom: 8%; width: 18%; aspect-ratio: .47; border-radius: 9% / 4%; }
.work-card.morne .work-desktop, .work-card.morne .work-mobile { border-color: #f7f3e8; }
.work-card.lumiere .work-desktop { width: 72%; left: 15%; top: 11%; }
.work-card.lumiere .work-mobile { right: auto; left: 7%; }
.work-card.popplay .work-desktop { rotate: -4deg; }
.work-card.arcnodel .work-desktop { width: 80%; left: 10%; top: 12%; }
.work-stage img { object-position: center top; }
.project-link:hover .work-desktop, .project-link:focus-visible .work-desktop { translate: 0 -4px; }
.project-link:hover .work-mobile, .project-link:focus-visible .work-mobile { translate: 0 -8px; }
.work-card:first-child .work-stage { aspect-ratio: 1.82; }
.work-card:first-child .work-desktop { left: 11%; top: 12%; width: 72%; aspect-ratio: 1.65; }
.work-card:first-child .work-mobile { right: 10%; width: 15%; }
.work-card .card-caption { border: 0; padding-bottom: 0; align-items: center; }
.work-card:first-child .card-caption { display: block; padding: 0; }
.work-card:first-child h3 { font-size: clamp(28px, 3.8vw, 59px); }
.work-card:first-child .round-arrow { margin-top: 22px; width: 47px; height: 47px; }
.card-caption .kicker { color: var(--accent); min-height: 0; }
.card-caption p { max-width: 37em; font-size: 13px; word-break: keep-all; }

.studio { position: relative; background: var(--forest); color: var(--ivory); }
.studio-inner { min-height: 0; grid-template-columns: 1fr .86fr; padding: clamp(50px, 7vw, 105px) 0; }
.studio h2 { margin-top: 0; }
.studio-inner>div>p:last-child { color: #d7dbcf; }
.studio-lockup { padding: clamp(11px, 1.5vw, 25px); background: #ffffff09; }
.studio-lockup img { height: auto; object-fit: contain; }

#services, #pricing, .faq { border: 0; }
#services { padding-top: var(--section-space); }
.service-editorial { background: #e0e5d7; }
.industry-index a { color: var(--accent); }
#pricing { padding-top: 0; }
.packages { gap: 12px; border: 0; }
.package, .package:first-child { padding: clamp(20px, 2.5vw, 40px); background: var(--soft); }
.package+.package { border: 0; }
.package:nth-child(2) { background: #e0e5d7; }
.package:nth-child(3) { background: #e7ded1; }

.process { background: var(--forest); color: var(--ivory); }
.process li { border-color: #8b9b8280; }
.process .kicker, .process li::before { color: var(--taupe); }
.process li span { color: #d7dbcf; }
.brief-output { background: #e0e5d7; }
.brief-fields select, .brief-fields input, #brief-summary { border-color: #8d9989; background: #fbf9f0; }
.faq { padding-top: 0; }
.channel-section, .footer { background: var(--forest); color: var(--ivory); }
.channel-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: clamp(22px, 6vw, 90px);
  padding: clamp(50px, 7vw, 104px) 0;
}
.channel-inner .sales-heading h2 { margin-top: 0; }
.channel-inner .sales-heading > p:last-child { color: #e2dcd0; }
.project-actions { display: grid; justify-items: start; gap: 15px; justify-self: center; }
.inquiry-button { color: var(--forest); background: var(--ivory); }
.inquiry-button:hover { background: var(--taupe); }
.project-actions .underlink { color: var(--ivory); }
.project-actions .underlink:hover { color: var(--taupe); border-color: var(--taupe); }
.profile-link { font-size: 12px; padding-block: 5px; color: #e2dcd0; }
.profile-link:hover, .footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 30px;
  padding-block: 34px 20px;
  border-color: #8b9b8269;
  color: var(--ivory);
}
.foot .wordmark { width: clamp(152px, 15vw, 202px); }
.footer-brand p { margin-top: 9px; font: italic 20px/1.2 var(--serif); color: #e2dcd0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; }
.footer-nav a { display: inline-block; padding-block: 6px; }
.footer-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #e2dcd0;
}
.footer-top {
  grid-column: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--sage);
  border-radius: 50%;
  color: var(--ivory);
}
.footer-top span {
  width: 11px;
  height: 11px;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: translateY(2px) rotate(45deg);
}
.footer-top:hover { color: var(--forest); background: var(--ivory); }

.public-site { margin-top: 17px; }
.case-showcase { border: 0; background: var(--soft); padding: clamp(17px, 3vw, 43px); }
.case-showcase .screen-grid { max-width: 1040px; margin: 19px auto 0; }
.case-showcase .screen-grid figure > a { background: var(--ivory); border: 0; box-shadow: 0 6px 21px #102c2220; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: settle-in .64s both ease-out; }
  .hero-visual { animation: settle-in .78s .09s both ease-out; }
  @keyframes settle-in {
    from { opacity: .3; translate: 0 14px; }
    to { opacity: 1; translate: 0 0; }
  }
}
@media (max-width: 900px) {
  .hero { gap: 18px; }
  .hero h1 { font-size: clamp(40px, 6.28vw, 60px); }
}
@media (max-width: 730px) {
  .top { min-height: 68px; }
  .top nav { gap: 12px; }
  .hero { padding: 48px 0 43px; }
  .hero h1 { font-size: clamp(47px, 10.4vw, 75px); margin-top: .38em; }
  .hero-visual { margin: 38px 0 0; padding-top: 3%; }
  .hero-stage { max-width: 510px; margin-inline: auto; }
  .hero-description { margin-top: 9px; }
  .section-aside { max-width: none; }
  .gallery { grid-template-columns: 1fr; gap: 38px; }
  .work-card:first-child .project-link { display: block; }
  .gallery .work-card { grid-column: auto; margin: 0; }
  .work-card:first-child .card-caption { display: flex; padding-top: 10px; }
  .work-card:first-child h3, .card-caption h3 { font-size: 23px; }
  .work-card:first-child .round-arrow, .round-arrow { width: 36px; height: 36px; flex-basis: 36px; margin: 0; }
  .work-card:first-child .work-stage { aspect-ratio: 1.55; }
  .studio-inner { grid-template-columns: 1fr; }
  .channel-inner, .foot { grid-template-columns: 1fr; }
  .project-actions { justify-self: start; }
  .foot { gap: 17px; }
  .studio-lockup { width: min(100%, 352px); justify-self: center; }
}
@media (max-width: 460px) {
  .top { flex-wrap: wrap; padding: 12px 0 10px; gap: 6px; }
  .top nav { width: 100%; justify-content: space-between; gap: 6px; }
  .top nav .nav-contact { padding: 7px 8px; }
}
@media (max-width: 365px) {
  .hero h1 { font-size: clamp(36px, 12.8vw, 46px); }
  .hero-actions { gap: 12px; }
}
