:root {
  --bg: #f0ebe4;
  --paper: #f8f3f1;
  --ink: #111214;
  --ink-soft: #30302d;
  --muted: #686660;
  --line: #ded7ce;
  --line-strong: #b8ad9e;
  --accent: #746b58;
  --accent-deep: #565042;
  --accent-soft: #eee5da;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(33, 30, 25, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(74, 68, 56, 0.05) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--bg);
  font-family: "Noto Sans KR", "Inter", system-ui, sans-serif;
  line-height: 1.72;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

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

p,
h1,
h2,
h3 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(221, 216, 207, 0.9);
  background: rgba(248, 243, 241, 0.93);
  padding: 14px clamp(20px, 4vw, 54px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(116, 107, 88, 0.28);
  border-radius: 999px;
  display: block;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 1px;
  font-family: "Inter", "Noto Sans KR", sans-serif;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 0.92rem;
  font-weight: 800;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.nav-links,
.language-switch {
  display: flex;
  align-items: center;
}

.nav-links {
  justify-content: center;
  gap: clamp(14px, 2.8vw, 30px);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-links a {
  color: var(--ink-soft);
}

.language-switch {
  gap: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px;
  font-family: "Inter", "Noto Sans KR", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.language-switch a {
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
}

.language-switch a[aria-current="page"] {
  background: var(--accent);
  color: var(--white);
}

.page-shell {
  width: min(100% - 40px, 1080px);
  margin: 34px auto 64px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(250px, 0.52fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  min-height: 560px;
  padding: clamp(42px, 7vw, 74px);
  border-bottom: 1px solid var(--line);
}

.logo-panel {
  display: grid;
  justify-items: center;
  align-self: stretch;
  align-content: center;
  gap: 20px;
  border-right: 1px solid var(--line);
  padding-right: clamp(24px, 4vw, 42px);
}

.logo-panel img {
  width: min(100%, 188px);
  height: auto;
}

.logo-panel p {
  max-width: 180px;
  margin: 0;
  color: var(--accent-deep);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker,
time,
.profile-card dt,
.reason-grid span {
  margin: 0;
  color: var(--accent);
  font-family: "Inter", "Noto Sans KR", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 14px;
  font-family: "Inter", "Noto Sans KR", sans-serif;
  font-size: 4.8rem;
  line-height: 1;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.34;
}

.hero-lead span,
.section h2 span {
  display: block;
}

.hero-copy {
  max-width: 600px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-main,
.profile-card,
.reason-grid article,
.timeline article > div,
.project-list article,
.service-list li {
  min-width: 0;
}

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

.button,
.contact-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.contact-link:hover {
  transform: translateY(-1px);
}

.button.primary,
.contact-link {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.primary:hover,
.contact-link:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.profile-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(116, 107, 88, 0.1), rgba(255, 255, 255, 0.84)),
    var(--paper);
  padding: 24px;
}

.profile-card h2 {
  margin: 0 0 18px;
  font-family: "Inter", sans-serif;
  font-size: 1.9rem;
  line-height: 1;
}

.profile-card dl {
  display: grid;
  gap: 15px;
  margin: 0;
}

.profile-card div {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}

.profile-card dd {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.5;
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #f5eee8;
}

.proof-bar span {
  display: grid;
  min-height: 70px;
  place-items: center;
  border-right: 1px solid var(--line);
  padding: 14px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 800;
  text-align: center;
}

.proof-bar span:last-child {
  border-right: 0;
}

.section {
  padding: clamp(44px, 7vw, 72px);
  border-bottom: 1px solid var(--line);
}

.section:last-of-type {
  border-bottom: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section h2 {
  margin: 10px 0 0;
  font-size: 3rem;
  line-height: 1.16;
  letter-spacing: 0;
}

:lang(zh-CN) p,
:lang(zh-CN) h1,
:lang(zh-CN) h2,
:lang(zh-CN) h3,
:lang(zh-CN) dd,
:lang(zh-CN) span {
  word-break: normal;
  word-break: auto-phrase;
  line-break: loose;
  overflow-wrap: break-word;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.reason-grid article,
.project-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.68);
  padding: 22px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.reason-grid article:hover,
.project-list article:hover {
  border-color: rgba(116, 107, 88, 0.42);
  box-shadow: 0 16px 42px rgba(44, 39, 31, 0.08);
  transform: translateY(-1px);
}

.reason-grid h3,
.project-list h3 {
  margin: 8px 0 10px;
  font-size: 1.16rem;
  line-height: 1.35;
}

.reason-grid p,
.project-list p,
.timeline p,
.service-list span,
.contact-section p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  border-top: 1px solid var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 30px;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.timeline article:last-child {
  border-bottom: 0;
}

.timeline h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.35;
}

.project-list {
  display: grid;
  gap: 14px;
}

.project-list dl {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.project-list dl div {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
}

.project-list dt {
  color: var(--ink-soft);
  font-weight: 800;
}

.project-list dd {
  margin: 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

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

.contact-section {
  background: #171613;
  color: var(--white);
}

.contact-section .section-kicker {
  color: #c9bda9;
}

.contact-section p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-link {
  margin-top: 24px;
}

.site-footer {
  display: flex;
  width: min(100% - 40px, 1080px);
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero-section {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
  }

  .logo-panel {
    grid-column: 1 / -1;
    grid-template-columns: 190px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 22px;
  }

  .logo-panel p {
    max-width: 280px;
    text-align: left;
  }

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

@media (max-width: 760px) {
  body {
    background: var(--bg);
  }

  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .language-switch {
    justify-self: start;
  }

  .page-shell {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .hero-section,
  .timeline article,
  .service-list li {
    grid-template-columns: 1fr;
  }

  .hero-section,
  .section {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 34px 24px;
  }

  .logo-panel {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
  }

  .logo-panel img {
    width: min(100%, 220px);
  }

  .logo-panel p {
    max-width: 312px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .hero-lead {
    font-size: 1.55rem;
  }

  :lang(zh-CN) .hero-lead {
    font-size: 1.44rem;
    line-height: 1.42;
  }

  .section h2 {
    font-size: 2.1rem;
  }

  .profile-card {
    padding: 20px;
  }

  .proof-bar {
    grid-template-columns: 1fr;
  }

  .proof-bar span {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-bar span:last-child {
    border-bottom: 0;
  }

  .project-list dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .button,
  .contact-link {
    width: 100%;
    max-width: 312px;
  }

  .hero-main,
  .profile-card,
  .logo-panel,
  .reason-grid,
  .timeline,
  .project-list,
  .service-list,
  .section-head {
    width: min(100%, 312px);
    max-width: 312px;
    min-width: 0;
  }

  .eyebrow,
  .hero-lead,
  .hero-copy,
  .profile-card dd,
  .reason-grid p,
  .reason-grid h3,
  .timeline h3,
  .timeline p,
  .project-list h3,
  .project-list p,
  .project-list dd,
  .service-list span,
  .contact-section p {
    width: min(100%, 312px);
    max-width: 312px;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .site-footer {
    width: 100%;
    display: grid;
    margin: 0;
    padding: 24px;
    background: var(--paper);
  }
}
