:root {
  color-scheme: light dark;
  --paper: #f4f0e7;
  --paper-deep: #e8e0d2;
  --ink: #1e2923;
  --ink-muted: #617068;
  --green: #557363;
  --green-deep: #2e493b;
  --green-soft: #cadbce;
  --line: rgba(30, 41, 35, 0.14);
  --card: rgba(255, 253, 248, 0.72);
  --white: #fffdf8;
  --radius: 28px;
  --shadow: 0 22px 60px rgba(46, 73, 59, 0.1);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 5%, rgba(202, 219, 206, 0.55), transparent 28rem),
    var(--paper);
  color: var(--ink);
  line-height: 1.7;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

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

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wordmark-symbol {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--white);
}

.site-header nav,
footer nav {
  display: flex;
  gap: 24px;
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-header nav a:hover,
footer nav a:hover {
  color: var(--ink);
}

main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  min-height: 710px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 72px;
  padding: 70px 0 110px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 650;
}

h1 em {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.hero-lead,
.section-heading > p:last-child,
.about-lead {
  max-width: 620px;
  color: var(--ink-muted);
  font-size: 1.12rem;
}

.hero-actions,
.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green-deep);
  color: var(--white);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.54);
}

.hero-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 48% 48% 30% 30% / 38% 38% 22% 22%;
  background: linear-gradient(180deg, #dbe6d9 0%, #efdcb9 55%, #9bb4a3 100%);
  box-shadow: var(--shadow);
}

.sun {
  position: absolute;
  top: 13%;
  right: 18%;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: rgba(255, 244, 212, 0.9);
  box-shadow: 0 0 55px rgba(255, 244, 212, 0.8);
}

.landscape {
  position: absolute;
  right: -20%;
  bottom: -28%;
  left: -20%;
  height: 72%;
  border-radius: 50% 50% 0 0;
  transform: rotate(-7deg);
}

.landscape-back {
  bottom: -18%;
  background: rgba(85, 115, 99, 0.45);
}

.landscape-front {
  right: -30%;
  bottom: -42%;
  left: -5%;
  height: 78%;
  background: var(--green-deep);
  transform: rotate(9deg);
}

.rhythm-line {
  position: absolute;
  width: 52%;
  height: 1px;
  background: rgba(46, 73, 59, 0.35);
  transform: rotate(-11deg);
}

.rhythm-line-one {
  top: 38%;
  left: 8%;
}

.rhythm-line-two {
  top: 45%;
  left: 13%;
}

.note {
  position: absolute;
  color: var(--green-deep);
  font-family: Georgia, serif;
}

.note-one {
  top: 28%;
  left: 27%;
  font-size: 3rem;
}

.note-two {
  top: 38%;
  left: 60%;
  font-size: 3.2rem;
}

.section {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 54px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 8px 30px rgba(46, 73, 59, 0.04);
}

.project-featured {
  min-height: 490px;
  background: var(--green-deep);
  color: var(--white);
}

.project-studio {
  min-height: 490px;
}

.project-factory {
  grid-column: 1 / -1;
  min-height: 430px;
  background:
    linear-gradient(135deg, rgba(215, 230, 217, 0.58), transparent 58%),
    var(--card);
}

.factory-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: end;
  min-height: 360px;
}

.factory-intro .project-meta {
  margin-bottom: 54px;
}

.factory-intro .eyebrow {
  margin-bottom: 14px;
}

.factory-intro > p:not(.eyebrow) {
  max-width: 520px;
}

.factory-intro .text-link {
  margin-top: 22px;
}

.factory-capabilities {
  display: grid;
}

.factory-capabilities article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.factory-capabilities article:last-child {
  border-bottom: 1px solid var(--line);
}

.factory-capabilities span {
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 0.78rem;
}

.factory-capabilities h4,
.factory-capabilities p {
  margin: 0;
}

.factory-capabilities h4 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.factory-capabilities p {
  color: var(--ink-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.project-number {
  position: absolute;
  top: 16px;
  right: 25px;
  color: rgba(97, 112, 104, 0.18);
  font-family: Georgia, serif;
  font-size: 5.5rem;
  line-height: 1;
}

.project-featured .project-number {
  color: rgba(255, 255, 255, 0.12);
}

.project-content {
  position: relative;
  z-index: 1;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-bottom: 70px;
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.project-featured .project-meta,
.project-featured .project-name,
.project-featured p {
  color: rgba(255, 253, 248, 0.72);
}

.status {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
}

.status-active {
  background: #d7e6d9;
}

.project-card h3 {
  margin-bottom: 4px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.project-name {
  margin-top: 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.project-details {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.project-details li::before {
  content: "·";
  margin-right: 8px;
  color: var(--green-soft);
}

.project-note {
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.service-list {
  display: grid;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.service-list h4,
.service-list p {
  margin: 0;
}

.service-list h4 {
  margin-bottom: 4px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.service-list p {
  color: var(--ink-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.service-index {
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 0.78rem;
}

.service-status {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 0.68rem;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-size: 0.9rem;
  font-weight: 750;
}

.philosophy-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.principle-grid {
  display: grid;
  gap: 0;
}

.principle-grid article {
  display: grid;
  grid-template-columns: 48px 0.8fr 1.2fr;
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.principle-grid span {
  color: var(--green);
  font-family: Georgia, serif;
}

.principle-grid h3,
.principle-grid p {
  margin: 0;
}

.principle-grid h3 {
  font-size: 1.05rem;
}

.principle-grid p {
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.about {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 80px;
  align-items: center;
}

.portrait-mark {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(145deg, var(--green-soft), var(--green));
  box-shadow: var(--shadow);
}

.portrait-mark span {
  color: rgba(255, 253, 248, 0.9);
  font-family: Georgia, serif;
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: -0.08em;
}

.role {
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 1.1rem;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.skill-list span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.contact {
  margin-bottom: 40px;
  padding: 80px;
  border-radius: 36px;
  background: var(--green-deep);
  color: var(--white);
  text-align: center;
}

.contact .eyebrow {
  color: var(--green-soft);
}

.contact h2 {
  max-width: 720px;
  margin-inline: auto;
}

.button-light {
  margin-top: 18px;
  background: var(--white);
  color: var(--green-deep);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0 56px;
  color: var(--ink-muted);
  font-size: 0.82rem;
}

footer > div {
  display: flex;
  gap: 14px;
}

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

@media (max-width: 820px) {
  .site-header nav a:not(:last-child) {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 60px 0 90px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .project-grid,
  .factory-layout,
  .philosophy-layout,
  .about {
    grid-template-columns: 1fr;
  }

  .factory-layout {
    gap: 42px;
  }

  .project-featured {
    grid-row: auto;
  }

  .principle-grid article {
    grid-template-columns: 38px 1fr;
  }

  .principle-grid p {
    grid-column: 2;
  }

  .portrait-mark {
    width: min(72vw, 420px);
  }

  .contact {
    padding: 60px 24px;
  }
}

@media (max-width: 520px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding-top: 20px;
  }

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

  .hero {
    padding-top: 42px;
  }

  .hero-visual {
    min-height: 330px;
    border-radius: 44% 44% 24% 24% / 34% 34% 18% 18%;
  }

  .sun {
    width: 88px;
    height: 88px;
  }

  .section {
    padding: 88px 0;
  }

  .project-card {
    min-height: auto;
    padding: 26px;
  }

  .factory-intro .project-meta {
    margin-bottom: 52px;
  }

  .project-meta {
    margin-bottom: 52px;
  }

  .project-number {
    font-size: 4.4rem;
  }

  .principle-grid article {
    grid-template-columns: 34px 1fr;
  }

  footer,
  footer > div {
    align-items: flex-start;
    flex-direction: column;
  }

  footer nav {
    gap: 14px;
    flex-wrap: wrap;
  }
}

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

  .button {
    transition: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121914;
    --paper-deep: #1d2821;
    --ink: #edf2ec;
    --ink-muted: #a7b3aa;
    --green: #a9c9b4;
    --green-deep: #263e32;
    --green-soft: #b7d3bf;
    --line: rgba(237, 242, 236, 0.14);
    --card: rgba(31, 43, 36, 0.75);
    --white: #f7faf6;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  }

  body {
    background:
      radial-gradient(circle at 80% 5%, rgba(67, 97, 78, 0.45), transparent 28rem),
      var(--paper);
  }

  .project-featured,
  .contact {
    background: #20372c;
  }

  .project-factory {
    background:
      linear-gradient(135deg, rgba(72, 105, 85, 0.3), transparent 58%),
      var(--card);
  }

  .button-secondary {
    background: rgba(255, 255, 255, 0.04);
  }
}
