:root {
  color-scheme: light;
  --paper: #f8f6f1;
  --ink: #211c17;
  --body: #5f574e;
  --bronze: #785436;
  --gutter: clamp(1.25rem, 6.7vw, 6.75rem);
  font-family: "Noto Sans", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.65;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body, h1, h2, h3, p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.frame {
  width: min(calc(100% - var(--gutter) * 2), 78rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset: 0.5rem auto auto 0.5rem;
  z-index: 2;
  padding: 0.65rem 1rem;
  transform: translateY(-150%);
  background: var(--paper);
}

.skip-link:focus { transform: none; }

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-inner { min-height: 5.1rem; }

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32em;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  white-space: nowrap;
  text-decoration: none;
}

.wordmark strong {
  font-size: 1.32em;
  font-weight: inherit;
  letter-spacing: -0.065em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.6rem);
  font-size: 0.9375rem;
  font-weight: 650;
}

.main-nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  white-space: nowrap;
  text-decoration: none;
  text-underline-offset: 0.35em;
}

.main-nav a:hover { text-decoration: underline; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(36rem, 48vw, 46rem);
  overflow: clip;
  color: #fff9f0;
  background: #21170f;
}

.hero-image, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: 63% 52%;
}

.hero::after {
  z-index: -1;
  background: linear-gradient(90deg, rgb(23 15 10 / 58%), rgb(23 15 10 / 23%) 57%, transparent 87%);
  content: "";
}

.hero-inner { padding-block: 4.5rem; }

.hero-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-block-end: 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  color: #f0c79c;
}

.hero-name::before {
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  content: "";
}

h1 {
  font-size: clamp(2.45rem, 5.8vw, 5.65rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.07em;
  word-break: keep-all;
}

h1 span { color: #efcaa4; }

.hero-description {
  max-width: 23rem;
  margin-block-start: 1.4rem;
  color: #f2e7db;
  font-size: clamp(1.02rem, 1.8vw, 1.16rem);
  word-break: keep-all;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 3.2rem;
  margin-block-start: 1.85rem;
  padding: 0.52rem 1.3rem;
  border: 1px solid #e4bd91;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.hero-link:hover {
  color: var(--ink);
  background: #efcaa4;
}

.about, .approach, .principles {
  padding-block: clamp(3.75rem, 7.5vw, 7.25rem);
  scroll-margin-block-start: 1rem;
}

.about-inner, .approach-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6.25vw, 6.5rem);
}

.about-inner { align-items: center; }

.section-label {
  margin-block-end: 0.8rem;
  color: var(--bronze);
  font-size: 0.9375rem;
  font-weight: 750;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.85rem);
  line-height: 1.2;
  letter-spacing: -0.065em;
  word-break: keep-all;
}

.about-content > p:not(.section-label),
.approach-intro > p:not(.section-label),
.steps p, .principles-grid p {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.about-content > p:not(.section-label) {
  max-width: 26rem;
  margin-block-start: 1rem;
  color: var(--body);
  line-height: 1.82;
}

.about-content > .about-lead:not(.section-label) {
  margin-block-start: 1.55rem;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 650;
}

.about-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.12;
  object-fit: cover;
  object-position: center 53%;
  background: #ded4c6;
}

.approach {
  background: #252019;
  color: #fcf6ee;
}

.approach .section-label { color: #efc393; }

.approach-intro > p:not(.section-label) {
  max-width: 19rem;
  margin-block-start: 1rem;
  color: #d7cabc;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-block-end: 1px solid #54493e;
}

.steps li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: clamp(0.65rem, 2vw, 1.4rem);
  padding-block: 1.3rem;
  border-block-start: 1px solid #54493e;
}

.step-number {
  color: #efc393;
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.7;
}

.steps h3, .principles-grid h3 {
  margin-block-end: 0.35rem;
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.45;
  letter-spacing: -0.035em;
}

.steps p { color: #d7cabc; }

.principles { background: #eee9e0; }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-block-start: clamp(1.7rem, 4vw, 3rem);
}

.principles-grid article {
  padding-block-start: 1.15rem;
  border-block-start: 1px solid #ae9278;
}

.principles-grid p { color: var(--body); }

.contact { padding-block: clamp(2.75rem, 5.2vw, 4.5rem); }

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem 2rem;
}

.contact .section-title { font-size: clamp(1.75rem, 3.3vw, 2.75rem); }

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 3.4rem;
  max-width: 100%;
  padding: 0.65rem 1.45rem;
  color: #fff7ed;
  background: #292119;
  font-size: 1.0625rem;
  font-weight: 650;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-link:hover { background: #503a28; }

.contact-link:focus-visible { outline-color: var(--bronze); }

.site-footer {
  color: #eee8df;
  background: #211c17;
}

.footer-inner {
  min-height: 6rem;
  justify-content: start;
  flex-wrap: wrap;
  padding-block: 0.75rem;
}

.footer-name { font-weight: 700; }

.footer-company { min-width: 0; }

.footer-company small {
  display: block;
  margin-block-start: 0.35rem;
}

.footer-business {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.2rem;
  margin: 0;
  font-size: 0.875rem;
}

.footer-business > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.45rem;
  align-items: baseline;
}

.footer-business dt { color: #c9bdaf; }

.footer-business dd {
  margin: 0;
  color: #f8f2e8;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.footer-inner small {
  color: #c9bdaf;
  font-size: 0.8125rem;
  letter-spacing: 0.045em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.4rem;
  margin-inline-start: auto;
}

.footer-links a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.875rem;
  text-underline-offset: 0.32em;
}

.footer-links a:first-child { font-weight: 700; }

@media (max-width: 30rem) {
  .footer-inner { gap: 0.25rem 1rem; }
  .footer-links { flex-basis: 100%; margin-inline-start: 0; }
}

@media (max-width: 44rem) {
  .header-inner { min-height: 4.4rem; }

  .hero { min-height: clamp(32rem, 98vw, 36rem); }

  .hero-image { object-position: 70% center; }

  .hero::after {
    background: linear-gradient(90deg, rgb(23 15 10 / 78%), rgb(23 15 10 / 46%) 69%, rgb(23 15 10 / 24%));
  }

  .about-inner, .approach-inner, .principles-grid, .contact-inner { grid-template-columns: 1fr; }

  .about-content > p:not(.section-label) { max-width: 35rem; }

  .about-image { aspect-ratio: 1.22; }

  .approach-intro > p:not(.section-label) { max-width: none; }
}

@media (max-width: 34rem) {
  .header-inner {
    display: grid;
    justify-content: stretch;
    gap: 0.35rem;
    padding-block-start: 0.85rem;
  }

  .wordmark { justify-self: start; }

  .main-nav {
    justify-content: space-between;
    gap: 0.45rem;
    border-block-start: 1px solid #dfd8cc;
  }
}

@media (max-width: 31rem) {
  h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-link { transition: none; }
}
