:root {
  --paper: #f5f2ea;
  --paper-deep: #eae5da;
  --ink: #17201d;
  --muted: #606963;
  --line: #cbc8bd;
  --forest: #194d3a;
  --forest-soft: #dfe9df;
  --orange: #dd7a42;
  --white: #fffef9;
  --shadow: 0 24px 64px rgba(23, 32, 29, 0.11);
  --radius: 1.5rem;
  --shell: min(1120px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 3%, rgba(221, 122, 66, 0.11), transparent 24rem),
    var(--paper);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
  border-radius: 0.2rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ink);
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(23, 32, 29, 0.12);
}

.header-inner,
.footer-inner,
.section-heading-row,
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-inner {
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.04rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 1.55rem;
  height: 1.55rem;
  transform: rotate(-8deg);
  border: 2px solid var(--ink);
  border-radius: 40% 60% 48% 52%;
}

.brand-mark i {
  position: absolute;
  display: block;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--orange);
}

.brand-mark i:first-child {
  top: 0.2rem;
  right: -0.16rem;
}

.brand-mark i:last-child {
  bottom: 0.1rem;
  left: 0.1rem;
  background: var(--forest);
}

nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
}

nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(2.5rem, 8vw, 8rem);
  padding-block: 7rem;
}

.eyebrow,
.section-index {
  margin: 0 0 1.2rem;
  color: var(--forest);
  font-size: 0.73rem;
  font-weight: 760;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 2rem;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  line-height: 1.06;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.hero-object {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(25, 77, 58, 0.35);
  border-radius: 50%;
}

.orbit-one {
  width: 330px;
  height: 330px;
  transform: rotate(28deg);
}

.orbit-two {
  width: 235px;
  height: 370px;
  transform: rotate(58deg);
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 8px var(--paper);
}

.orbit::before {
  top: 19%;
  right: 6%;
}

.orbit::after {
  bottom: 10%;
  left: 18%;
  background: var(--forest);
}

.core-card {
  position: relative;
  z-index: 1;
  width: 210px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  transform: rotate(-5deg);
  border: 1px solid rgba(23, 32, 29, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.core-card span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
}

.core-card strong {
  color: var(--forest);
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section {
  padding-block: clamp(5.5rem, 10vw, 9rem);
  border-bottom: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 9vw, 8rem);
}

.body-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.body-copy > p {
  margin-bottom: 1.4rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 3rem 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--line);
}

.facts div {
  min-width: 0;
  padding: 1.15rem;
  background: rgba(255, 254, 249, 0.6);
}

.facts dt {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 680;
}

.section-tint {
  background: var(--forest);
  color: var(--white);
}

.section-tint .section-index,
.section-tint .section-note,
.section-tint .principle-number,
.section-tint .principle-list p {
  color: rgba(255, 254, 249, 0.72);
}

.section-heading-row {
  align-items: end;
  margin-bottom: 3.5rem;
}

.section-heading-row h2 {
  margin-bottom: 0;
}

.section-heading-row.compact {
  align-items: center;
  margin-bottom: 2rem;
}

.section-note {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
}

.principle-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 254, 249, 0.25);
}

.principle-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.25rem;
  padding: 2.1rem 0;
  border-bottom: 1px solid rgba(255, 254, 249, 0.25);
}

.principle-list p {
  max-width: 600px;
  margin-bottom: 0;
}

.principle-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
}

.products {
  background: var(--white);
}

.product-list {
  display: grid;
  gap: 1.25rem;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--paper);
}

.product-showcase.wongahannun {
  background: #fff7f0;
}

.product-showcase h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.public-product-status {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 750;
}

.public-product-status.pending {
  color: #98451f;
}

.product-lede {
  color: var(--muted);
  font-size: 1.04rem;
}

.product-facts {
  margin: 1.5rem 0 0;
}

.product-facts div {
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
}

.product-facts dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.product-facts dd {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  font-weight: 620;
}

.product-screen-figure {
  width: min(100%, 290px);
  margin: 0 auto;
}

.product-screen {
  aspect-ratio: 636 / 1048;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 18px 45px rgba(23, 32, 29, 0.12);
}

.product-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.product-screen-figure figcaption {
  margin-top: 0.65rem;
  text-align: center;
}

.empty-state {
  margin: 0;
  padding: 2.2rem;
  border: 1px dashed var(--line);
  border-radius: 1rem;
  color: var(--muted);
  background: var(--paper);
}

.english {
  background:
    linear-gradient(120deg, transparent 58%, rgba(25, 77, 58, 0.08) 58%),
    var(--paper);
}

.english-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: clamp(2rem, 8vw, 8rem);
}

.english-grid > div {
  max-width: 680px;
}

.english-grid p {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-inner {
  align-items: end;
}

.contact-link {
  color: var(--forest);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 760;
}

.site-footer {
  padding-block: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Internal product review only */
.review-body {
  background: #efeee9;
}

.review-banner {
  padding: 0.75rem 1rem;
  color: #fff;
  background: #672d2d;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 750;
}

.review-main {
  padding-block: 4rem 7rem;
}

.review-intro {
  max-width: 760px;
  margin-bottom: 3rem;
}

.review-intro h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.review-intro p {
  color: var(--muted);
}

.review-company {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 2rem 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--line);
}

.review-company div {
  padding: 1rem 1.15rem;
  background: var(--white);
}

.review-company dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.review-company dd {
  margin: 0.2rem 0 0;
  font-weight: 650;
}

.review-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 3rem;
  margin-bottom: 2rem;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--white);
}

.review-card-copy {
  align-self: start;
}

.status-pill {
  display: inline-flex;
  margin-bottom: 1.4rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 720;
}

.status-pill.pending {
  color: #98451f;
}

.review-meta {
  margin: 2rem 0 0;
}

.review-meta div {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.review-meta dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.review-meta dd {
  margin: 0.15rem 0 0;
  font-weight: 620;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.shot-grid figure {
  margin: 0;
}

.shot-crop {
  aspect-ratio: 636 / 1019;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #fff;
}

.shot-crop img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-crop.crop-preview-bar img {
  margin-top: -4.4%;
}

figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.review-checklist {
  margin-top: 3rem;
  padding: 1.5rem;
  border-left: 4px solid var(--orange);
  background: var(--white);
}

.review-checklist h2 {
  font-size: 1.25rem;
}

@media (max-width: 800px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  .header-inner {
    min-height: 68px;
  }

  nav a:not(:last-child) {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .section-grid,
  .english-grid,
  .review-card,
  .product-showcase {
    grid-template-columns: 1fr;
  }

  .product-screen-figure {
    width: min(82vw, 320px);
  }

  .hero-grid {
    gap: 1.5rem;
    padding-block: 4.5rem 3.5rem;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.6rem);
  }

  .hero-object {
    min-height: 300px;
    transform: scale(0.84);
  }

  .section-grid,
  .english-grid {
    gap: 2rem;
  }

  .section-heading-row,
  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .principle-list li {
    grid-template-columns: 48px 1fr;
  }

  .review-card {
    gap: 2rem;
    border-radius: 1.25rem;
  }

  .review-company {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .hero-object {
    margin-inline: -2rem;
    transform: scale(0.75);
  }

  .shot-grid {
    gap: 0.65rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
