:root {
  --paper: #f8f5ef;
  --porcelain: #fffdf8;
  --mist: #edf2ed;
  --ink: #161812;
  --soft-ink: #3e443c;
  --muted: #73796e;
  --line: rgba(22, 24, 18, .14);
  --moss: #212c26;
  --leaf: #526854;
  --plum: #6d303d;
  --brass: #a47c3c;
  --shadow: 0 28px 80px rgba(22, 24, 18, .16);
  --photo-radius: clamp(20px, 2vw, 32px);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  word-break: keep-all;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(22, 24, 18, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 24, 18, .02) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .55;
  z-index: 10;
}

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

a:focus-visible,
summary:focus-visible,
#main-content:focus-visible {
  outline: 3px solid rgba(109, 48, 61, .72);
  outline-offset: 4px;
}

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

figure {
  margin: 0;
}

h1,
h2,
h3,
p,
li,
summary {
  word-break: keep-all;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--moss);
  color: #fff;
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 30;
  max-width: var(--max);
  min-height: 62px;
  margin: 12px auto 0;
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: rgba(248, 245, 239, .76);
  backdrop-filter: blur(22px);
  box-shadow: 0 14px 42px rgba(22, 24, 18, .08);
  transition: background .28s ease, box-shadow .28s ease;
}

.site-header.is-scrolled {
  background: rgba(248, 245, 239, .94);
  box-shadow: 0 18px 55px rgba(22, 24, 18, .12);
}

.brand,
.nav,
.hero-actions,
.contact-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--moss);
  color: #fff;
  font-family: "Songti SC", "AppleMyungjo", "Batang", serif;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.nav {
  gap: 28px;
  color: #4a5149;
  font-size: .9rem;
  font-weight: 800;
}

.nav a,
.footer-links a {
  transition: color .2s ease;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--plum);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform .24s ease, background .24s ease, color .24s ease, box-shadow .24s ease;
}

.nav-cta {
  min-height: 42px;
  padding: 0 18px;
  background: var(--moss);
  color: #fff;
  font-size: .9rem;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-3px);
}

.hero {
  position: relative;
  min-height: calc(84svh - 86px);
  margin-top: 14px;
  padding: 72px max(24px, calc((100% - var(--max)) / 2)) 56px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #1d241f;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -18% -12%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 0%, rgba(255, 253, 248, .08) 20%, rgba(255, 253, 248, .24) 31%, rgba(255, 253, 248, .06) 44%, transparent 62%);
  opacity: .42;
  mix-blend-mode: soft-light;
  transform: translate3d(-16%, 0, 0) skewX(-7deg);
  animation: hero-light 15s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(248, 245, 239, .96) 0%, rgba(248, 245, 239, .82) 29%, rgba(248, 245, 239, .36) 51%, rgba(22, 24, 18, .06) 72%), linear-gradient(180deg, rgba(22, 24, 18, .05), rgba(22, 24, 18, .26));
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.06) translate3d(-.7%, -.4%, 0);
  transform-origin: 58% 50%;
  will-change: transform;
  animation: hero-drift 18s cubic-bezier(.45, 0, .2, 1) infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(620px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--plum);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 20px;
  font-family: "Playfair Display", "Noto Sans KR", serif;
  font-size: 5.9rem;
  line-height: .96;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
}

.hero-desc {
  max-width: 560px;
  margin: 0;
  color: #404940;
  font-size: 1.18rem;
  line-height: 1.74;
  font-weight: 700;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.btn {
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--moss);
  color: #fff;
  box-shadow: 0 18px 46px rgba(33, 44, 38, .25);
}

.btn.secondary {
  background: rgba(255, 255, 255, .78);
  border-color: rgba(22, 24, 18, .16);
  color: var(--moss);
}

.answer-band,
.section,
.editorial,
.dark-feature,
.contact,
.footer {
  max-width: var(--max);
  margin: 0 auto;
}

.answer-band {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 52px;
  align-items: start;
  padding: 76px 24px 84px;
}

.answer-band h2,
.section h2,
.editorial-copy h2,
.dark-copy h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: 3.35rem;
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
}

.answer-band h2,
.section-head h2,
.editorial-copy h2,
.dark-copy h2,
.contact h2 {
  margin-top: 12px;
}

.answer-band p,
.section-head p,
.editorial-copy p,
.dark-copy p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.84;
}

.editorial {
  display: grid;
  grid-template-columns: 1.08fr .82fr;
  grid-template-rows: auto auto;
  gap: 18px;
  padding: 0 24px 96px;
  align-items: end;
}

.editorial-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--photo-radius);
  background: #e9e2d8;
}

.editorial-photo img,
.dark-feature img,
.gallery img,
.contact figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .76, .18, 1);
}

.editorial-photo:hover img,
.dark-feature figure:hover img,
.gallery figure:hover img,
.contact figure:hover img {
  transform: scale(1.035);
}

.editorial-photo-large {
  grid-row: 1 / span 2;
  min-height: 680px;
}

.editorial-copy {
  padding: 12px 0 22px 18px;
}

.editorial-photo-small {
  height: 320px;
}

.section {
  padding: 94px 24px;
}

.section-head {
  max-width: 920px;
  margin-bottom: 42px;
}

.keep-phrase {
  display: inline-block;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item {
  min-height: 260px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, .28);
  transition: background .25s ease, transform .25s ease;
}

.service-item:last-child {
  border-right: 0;
}

.service-item:hover {
  background: rgba(255, 255, 255, .58);
  transform: translateY(-4px);
}

.service-item span {
  color: var(--plum);
  font-weight: 800;
}

.service-item h3 {
  margin: 82px 0 14px;
  font-size: 1.52rem;
  line-height: 1.28;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.dark-feature {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 42px;
  align-items: center;
  margin-top: 12px;
  padding: 78px 24px;
  color: #fff;
  background: var(--moss);
}

.dark-feature .eyebrow {
  color: #d6b16d;
}

.dark-copy {
  padding-left: max(0px, calc((100vw - var(--max)) / 2));
}

.dark-copy h2,
.dark-copy p {
  color: #fff;
}

.dark-copy p {
  color: rgba(255, 255, 255, .72);
}

.dark-feature figure {
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--photo-radius);
}

.gallery {
  padding-top: 104px;
}

.gallery .section-head {
  max-width: 1060px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr .92fr;
  grid-auto-rows: 290px;
  gap: 14px;
}

.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--photo-radius);
  background: #e9e2d8;
}

.gallery-tall {
  grid-row: span 2;
}

.gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(248, 245, 239, .82);
  color: var(--moss);
  font-size: .78rem;
  font-weight: 800;
}

.area {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 48px;
  align-items: center;
}

.area-copy h2 {
  margin-bottom: 18px;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-list li {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(33, 44, 38, .16);
  border-radius: 8px;
  background: var(--mist);
  color: var(--moss);
}

.area-list strong {
  font-size: 1.22rem;
}

.area-list span {
  color: #59655b;
  font-size: .92rem;
  line-height: 1.5;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  counter-reset: step;
}

.timeline li {
  min-height: 214px;
  padding: 28px 24px 26px;
  background: rgba(255, 255, 255, .58);
}

.timeline li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 48px;
  color: var(--brass);
  font-weight: 800;
}

.timeline span {
  display: block;
  margin-bottom: 10px;
  font-size: 1.22rem;
  font-weight: 800;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .64);
  overflow: hidden;
}

.faq-list summary {
  min-height: 72px;
  padding: 22px 24px;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  list-style-position: inside;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.78;
}

.contact {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 52px;
  align-items: center;
  padding: 40px 24px 112px;
}

.contact figure {
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--photo-radius);
  background: #e9e2d8;
}

.contact-copy {
  max-width: 600px;
}

.contact h2 {
  margin-bottom: 18px;
}

.contact-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 30px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}

.contact-link:hover {
  transform: translateX(4px);
  border-color: rgba(109, 48, 61, .38);
  background: #fff;
}

.contact-link.strong {
  background: var(--moss);
  color: #fff;
  border-color: var(--moss);
}

.contact-link span {
  opacity: .72;
  font-size: .88rem;
  font-weight: 800;
}

.contact-link b {
  font-size: 1.02rem;
  text-align: right;
  overflow-wrap: anywhere;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 24px 54px;
  color: #5f685f;
  border-top: 1px solid var(--line);
}

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

.footer p {
  margin: 6px 0 0;
}

.footer-links {
  gap: 18px;
  font-weight: 800;
}

.section-reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(8px);
  transition: opacity .95s cubic-bezier(.22, 1, .36, 1), transform .95s cubic-bezier(.22, 1, .36, 1), filter .95s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform, filter;
}

.section-reveal.visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1), filter .9s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.section-reveal.visible .reveal-item {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal-media {
  clip-path: inset(10% 0 10% 0);
  opacity: 0;
  transform: translateY(24px) scale(.985);
  transition: clip-path 1.05s cubic-bezier(.22, 1, .36, 1), opacity 1.05s cubic-bezier(.22, 1, .36, 1), transform 1.05s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: clip-path, opacity, transform;
}

.section-reveal.visible .reveal-media {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: none;
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(-.7%, -.4%, 0);
  }
  to {
    transform: scale(1.115) translate3d(1.1%, .55%, 0);
  }
}

@keyframes hero-light {
  from {
    opacity: .24;
    transform: translate3d(-18%, 0, 0) skewX(-7deg);
  }
  to {
    opacity: .52;
    transform: translate3d(13%, 0, 0) skewX(-7deg);
  }
}

@media (max-width: 1020px) {
  .nav {
    display: none;
  }

  .hero h1 {
    font-size: 4.45rem;
  }

  .answer-band,
  .editorial,
  .dark-feature,
  .area,
  .contact {
    grid-template-columns: 1fr;
  }

  .editorial-photo-large,
  .dark-feature figure,
  .contact figure {
    min-height: 520px;
  }

  .editorial-copy {
    padding: 18px 0 0;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-item:nth-child(2) {
    border-right: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .answer-band h2,
  .section h2,
  .editorial-copy h2,
  .dark-copy h2,
  .contact h2 {
    font-size: 2.85rem;
  }
}

@media (max-width: 720px) {
  section[id] {
    scroll-margin-top: 88px;
  }

  .site-header {
    top: 8px;
    min-height: 58px;
    margin: 8px 10px 0;
    padding: 9px 10px 9px 12px;
  }

  .brand {
    font-size: .96rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: .74rem;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 13px;
    font-size: .82rem;
  }

  .hero {
    min-height: calc(86svh - 66px);
    padding: 46px 20px 34px;
    align-items: flex-end;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(248, 245, 239, .88) 0%, rgba(248, 245, 239, .64) 44%, rgba(248, 245, 239, .9) 100%);
  }

  .hero-media::before {
    opacity: .28;
    animation-duration: 18s;
  }

  .hero-media img {
    object-position: 56% center;
    transform-origin: 56% 50%;
  }

  .hero h1 {
    margin: 14px 0 16px;
    font-size: 3.35rem;
    line-height: 1.02;
  }

  .hero-desc {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 24px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    padding: 11px 16px;
  }

  .answer-band,
  .section,
  .editorial,
  .dark-feature,
  .contact {
    padding-left: 20px;
    padding-right: 20px;
  }

  .answer-band {
    gap: 18px;
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .answer-band h2,
  .section h2,
  .editorial-copy h2,
  .dark-copy h2,
  .contact h2 {
    font-size: 2.2rem;
    line-height: 1.18;
  }

  .keep-phrase {
    display: inline;
  }

  .editorial {
    gap: 16px;
    padding-bottom: 72px;
  }

  .editorial-photo-large,
  .dark-feature figure,
  .contact figure {
    min-height: 420px;
  }

  .editorial-photo-small {
    height: 260px;
  }

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .service-grid,
  .timeline,
  .area-list,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }

  .service-item:last-child {
    border-bottom: 0;
  }

  .service-item h3 {
    margin-top: 46px;
  }

  .dark-feature {
    margin-top: 0;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .gallery-grid {
    grid-auto-rows: 290px;
  }

  .gallery-tall {
    grid-row: span 1;
  }

  .timeline li {
    min-height: auto;
  }

  .timeline li::before {
    margin-bottom: 34px;
  }

  .faq-list summary {
    padding: 20px;
  }

  .faq-list p {
    padding: 0 20px 22px;
  }

  .contact {
    gap: 28px;
    padding-top: 20px;
    padding-bottom: 64px;
  }

  .contact-link {
    align-items: flex-start;
    flex-direction: column;
    min-height: 92px;
  }

  .contact-link b {
    text-align: left;
  }

  .footer {
    flex-direction: column;
    padding: 28px 20px 42px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 3rem;
  }

  .answer-band h2,
  .section h2,
  .editorial-copy h2,
  .dark-copy h2,
  .contact h2 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .section-reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .reveal-item,
  .reveal-media {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
  }
}
