:root {
  --ink: #111111;
  --muted: rgba(17, 17, 17, 0.52);
  --paper: #ffffff;
  --mist: #eef5f0;
  --mint: #afccc0;
  --green: #0a7a66;
  --coral: #ec694f;
  --violet: #6d63d8;
  --radius: 8px;
  --gutter: clamp(24px, 6.25vw, 120px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px var(--gutter);
  color: #fff;
  mix-blend-mode: difference;
}

.brand-mark,
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  font-size: 13px;
  font-weight: 800;
}

.brand-symbol {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  line-height: 1;
}

.request-pill {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  padding: 0 18px;
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.menu-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  width: 15px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.24s ease;
}

body.menu-open .menu-button span:nth-child(1) {
  transform: translateY(2px) rotate(45deg);
}

body.menu-open .menu-button span:nth-child(2) {
  transform: translateY(-2px) rotate(-45deg);
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 92px var(--gutter) 48px;
  background: rgba(255, 255, 255, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

body.menu-open .menu-panel {
  opacity: 1;
  visibility: visible;
}

.menu-grid {
  display: grid;
  width: min(980px, 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.menu-grid a {
  min-height: 260px;
  padding: 30px;
  background: var(--mist);
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease;
}

.menu-grid a:hover {
  color: #fff;
  background: var(--green);
}

.menu-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 48px);
  line-height: 1;
}

.menu-grid span {
  font-size: 16px;
  line-height: 1.7;
}

.hero {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #8fb6ad;
}

section[id] {
  scroll-margin-top: 108px;
}

@supports (height: 100dvh) {
  .hero {
    min-height: 100dvh;
    height: 100dvh;
  }
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(15, 70, 63, 0.34), rgba(140, 196, 184, 0.16)),
    url("https://images.unsplash.com/photo-1740989475605-355ada18c3fb?auto=format&fit=crop&fm=jpg&q=80&w=2400")
      center 42% / cover;
  filter: saturate(0.92) contrast(0.96);
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.2)),
    radial-gradient(circle at 18% 84%, rgba(236, 105, 79, 0.34), transparent 26%);
}

.hero-copy {
  position: absolute;
  top: clamp(118px, 19vh, 182px);
  left: var(--gutter);
  z-index: 1;
}

.eyebrow {
  margin: 0 0 4px;
  font-size: clamp(14px, 2.4vw, 48px);
  font-weight: 500;
  line-height: 1.1;
}

.eyebrow.dark {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(88px, 17vw, 300px);
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 0.86;
}

.hero-side {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(48px, 11vh, 100px);
  z-index: 1;
  max-width: 420px;
  text-align: right;
}

.hero-side strong {
  display: block;
  font-size: clamp(22px, 3vw, 48px);
  font-weight: 950;
  line-height: 1.12;
}

.hero-side p {
  margin: 30px 0 0;
  font-size: clamp(16px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.5;
}

.studio-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(48px, 9vw, 150px);
  padding: clamp(160px, 22vw, 280px) var(--gutter) clamp(110px, 16vw, 220px);
}

.intro-heading h2,
.section-title h2,
.services-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(52px, 8.4vw, 138px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.14;
}

.intro-copy {
  align-self: end;
  max-width: 820px;
  margin: 0;
  padding-top: 32px;
  box-shadow: inset 0 8px var(--green);
  font-size: clamp(20px, 2.1vw, 32px);
  font-weight: 500;
  line-height: 1.76;
  word-break: keep-all;
}

.works {
  overflow: hidden;
  padding: 0 0 clamp(170px, 24vw, 330px);
}

.section-title {
  padding: 0 var(--gutter);
}

.section-title h2 {
  line-height: 0.94;
}

.work-rail {
  display: grid;
  grid-auto-columns: clamp(260px, 31vw, 480px);
  grid-auto-flow: column;
  gap: clamp(22px, 3vw, 48px);
  margin-top: clamp(56px, 8vw, 120px);
  padding: 0 var(--gutter) 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.work-rail::-webkit-scrollbar {
  display: none;
}

.work-card {
  position: relative;
  display: flex;
  min-height: clamp(360px, 42vw, 610px);
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #202020;
  border-radius: var(--radius);
  scroll-snap-align: center;
}

.work-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.25s ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.64));
}

.work-card div {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 3vw, 44px) clamp(22px, 2.3vw, 34px);
}

.work-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 900;
  line-height: 1.18;
}

.work-card span {
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 600;
  line-height: 1.6;
}

.work-card:hover img {
  filter: saturate(0.75) brightness(0.82);
}

.accent-card {
  min-height: clamp(300px, 34vw, 520px);
}

.accent-card::after {
  display: none;
}

.accent-card.coral {
  background: var(--coral);
}

.accent-card.green {
  background: var(--green);
}

.accent-card.ink {
  background: #27253e;
}

.services {
  padding: 0 var(--gutter) clamp(150px, 20vw, 290px);
}

.services-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(400px, 1fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: end;
  text-align: right;
}

.services-heading p {
  justify-self: end;
  max-width: 780px;
  margin: 0;
  padding-top: 28px;
  box-shadow: inset 0 8px var(--coral);
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 500;
  line-height: 1.72;
  text-align: left;
  word-break: keep-all;
}

.services-heading h2 {
  font-size: clamp(48px, 6.7vw, 116px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(70px, 9vw, 150px);
}

.service-grid article {
  min-height: 310px;
  padding: clamp(24px, 2.4vw, 38px);
  color: #fff;
  background: var(--green);
  border-radius: var(--radius);
}

.service-grid article:nth-child(2) {
  background: var(--violet);
}

.service-grid article:nth-child(3) {
  color: var(--ink);
  background: var(--mist);
}

.service-grid article:nth-child(4) {
  background: var(--coral);
}

.service-grid span {
  display: block;
  margin-bottom: 72px;
  font-size: 14px;
  font-weight: 900;
  opacity: 0.7;
}

.service-grid strong {
  display: block;
  margin-bottom: 22px;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.22;
}

.service-grid p {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  word-break: keep-all;
}

.journal {
  padding: 0 var(--gutter) clamp(140px, 16vw, 240px);
}

.section-title.compact h2 {
  font-size: clamp(50px, 7vw, 106px);
  line-height: 1.1;
}

.journal-list {
  margin-top: clamp(50px, 6vw, 86px);
}

.journal-list a {
  display: block;
  padding: 8px 0;
  color: rgba(17, 17, 17, 0.22);
  font-size: clamp(30px, 5vw, 82px);
  font-weight: 600;
  line-height: 1.38;
  word-break: keep-all;
  transition: color 0.2s ease;
}

.journal-list a:hover {
  color: var(--ink);
}

.journal-list em {
  color: var(--ink);
  font-style: normal;
}

.contact {
  position: relative;
  display: grid;
  min-height: 84svh;
  place-items: center;
  padding: 140px var(--gutter);
  color: #fff;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.48)),
    url("https://images.unsplash.com/photo-1768471125958-78556538fadc?auto=format&fit=crop&fm=jpg&q=80&w=1800")
      center / cover;
}

.contact h2 {
  margin: 8px 0 34px;
  max-width: 980px;
}

.contact-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  padding: 0 26px;
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
  padding: 34px var(--gutter);
  font-size: 14px;
  color: rgba(17, 17, 17, 0.58);
}

.site-footer strong {
  color: var(--ink);
}

.section-observe {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.section-observe.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero.section-observe {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .menu-grid,
  .studio-intro,
  .services-heading,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-heading {
    text-align: left;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 24px;
  }

  .site-header {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .brand-mark span:last-child {
    display: none;
  }

  .request-pill {
    min-height: 30px;
    padding: 0 14px;
    font-size: 12px;
  }

  .menu-grid,
  .studio-intro,
  .services-heading,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .menu-grid a {
    min-height: 140px;
  }

  .hero-media {
    background-position: center top;
  }

  .hero-copy {
    top: 132px;
  }

  .hero-side {
    right: 24px;
    bottom: 34px;
    max-width: 270px;
  }

  .hero-side p {
    margin-top: 18px;
  }

  .intro-copy,
  .services-heading p {
    padding-top: 22px;
    box-shadow: inset 0 5px var(--green);
  }

  .services-heading p {
    box-shadow: inset 0 5px var(--coral);
  }

  .work-rail {
    grid-auto-columns: 78vw;
  }

  .service-grid span {
    margin-bottom: 52px;
  }

  .journal-list a {
    font-size: clamp(24px, 8vw, 42px);
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 480px) {
  .request-pill {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
