:root {
  color-scheme: light;
  --paper: #f6f5ef;
  --ink: #102e39;
  --muted: #61777a;
  --line: #d8ded6;
  --green: #285d4a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.7 system-ui, -apple-system, 'Segoe UI', 'Malgun Gothic', sans-serif;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid #cf7d43; outline-offset: 5px; }
header, main, footer { max-width: 1200px; margin: auto; padding-left: 40px; padding-right: 40px; }

/* header */
header { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.wordmark { font-size: 29px; font-weight: 760; letter-spacing: -1.5px; }
.wordmark span { color: #dc6466; }
.header-right { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.languages { display: flex; gap: 5px; }
.languages button {
  font: inherit; border: 1px solid transparent; padding: 6px 10px; background: none;
  border-radius: 20px; color: var(--muted); cursor: pointer;
}
.languages [aria-pressed=true] { border-color: #bbc9c1; color: var(--ink); }
html[lang=ko] .en-only, html[lang=en] .ko-only { display: none !important; }

/* intro */
.intro { padding: 76px 0 75px; border-top: 1px solid var(--line); }
.eyebrow { font-size: 11px; letter-spacing: 2px; color: var(--green); margin: 0 0 28px; font-weight: 650; }
h1 {
  font-size: clamp(32px, 4.6vw, 58px); line-height: 1.3; letter-spacing: -2.4px;
  font-weight: 620; margin: 0; word-break: keep-all;
}
.intro-copy { font-size: 17px; color: var(--muted); line-height: 1.9; margin: 26px 0; max-width: 760px; word-break: keep-all; }
.text-link {
  display: inline-flex; align-items: center; gap: 32px; font-size: 14px;
  border-bottom: 1px solid #a9bbb0; padding: 8px 0;
}

/* sections */
.approach, .services { border-top: 1px solid var(--line); padding: 30px 0 50px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 25px; }
.section-heading h2 { font-size: 18px; font-weight: 550; margin: 0; }
.section-number { font-size: 11px; letter-spacing: 1.5px; color: var(--muted); }
h3 { font-size: 20px; line-height: 1.5; margin: 0 0 10px; font-weight: 620; letter-spacing: -.4px; }

/* principles */
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.principles h3 { font-size: 17px; }
.principles p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.8; word-break: keep-all; }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 26px 24px 24px;
}
.card-tag { font-size: 12px; letter-spacing: 1.5px; color: var(--green); font-weight: 650; margin: 0 0 14px; }
.card-tag-en { letter-spacing: 0; font-weight: 450; color: var(--muted); margin-left: 6px; }
.card h3 { font-size: 20px; }
.card-desc { font-size: 14px; margin: 0 0 12px; word-break: keep-all; }
.card-note { font-size: 11px; color: var(--muted); line-height: 1.7; margin: 0 0 18px; }
.project-link {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 20px; margin-top: auto;
  white-space: nowrap; border: 1px solid #a9bbb0; border-radius: 24px; padding: 11px 20px; font-size: 13px;
}
.card-desc + .project-link { margin-top: auto; }
.project-link:hover { background: #e7eee5; }

/* contact */
.contact { border-top: 1px solid var(--line); padding: 30px 0 44px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.contact h2 { font-size: 18px; font-weight: 550; margin: 0 0 8px; }
.contact p { font-size: 13px; color: var(--muted); margin: 0; }
.contact > a { font-size: 17px; border-bottom: 1px solid #a9bbb0; padding-bottom: 4px; white-space: nowrap; }
.contact > a span { margin-left: 18px; }

/* footer */
footer { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 32px; font-size: 12px; color: var(--muted); }
.biz p { margin: 0; line-height: 1.8; }
.foot-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 18px; font-size: 11px; }

.skip { position: absolute; left: 12px; top: -80px; padding: 12px; background: white; z-index: 3; }
.skip:focus { top: 10px; }

@media (max-width: 860px) {
  .principles, .cards { grid-template-columns: 1fr; }
  .principles { gap: 22px; }
}
@media (max-width: 650px) {
  header, main, footer { padding-left: 22px; padding-right: 22px; }
  header { min-height: 78px; }
  .wordmark { font-size: 26px; }
  .header-right { gap: 12px; }
  .header-right > a { display: none; }
  .intro { padding: 48px 0 50px; }
  h1 { font-size: 30px; letter-spacing: -1.4px; line-height: 1.4; }
  .eyebrow { font-size: 10px; letter-spacing: 1.5px; margin-bottom: 22px; }
  .intro-copy { font-size: 15px; }
  .desktop-break { display: none; }
  .contact { display: block; }
  .contact > a { display: inline-block; margin-top: 20px; font-size: 16px; }
  .foot-bottom { display: block; }
  .foot-bottom a { display: block; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
