@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css');

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #777777;
  --line: #e7e7e7;
  --soft: #f6f6f4;
  --accent: #d9ff54;
  --max-width: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Pretendard, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.site-shell { width: min(var(--max-width), calc(100% - 80px)); margin: 0 auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 27px 0; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.topbar-right { display: flex; align-items: center; gap: 25px; }
.nav-link { font-size: 12px; letter-spacing: .12em; font-weight: 650; }
.nav-link:hover, .text-link:hover { opacity: .55; }
.language-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: 12px; font-weight: 650; transition: background .2s, border-color .2s; }
.language-link:hover { background: var(--soft); border-color: #c9c9c9; }
.flag { font-size: 17px; line-height: 1; }
.hero { padding: 100px 0 86px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 24px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 920px; margin-bottom: 25px; font-size: clamp(44px, 7vw, 88px); line-height: .98; letter-spacing: -.065em; font-weight: 750; }
.hero h1 .accent { display: inline; text-decoration: underline; text-decoration-thickness: .065em; text-underline-offset: .1em; text-decoration-color: var(--accent); }
.hero-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; }
.hero {
  position: relative;
}

.hero-side-note {
  position: absolute;
  top: 32px;
  right: 0;
  width: 290px;
  height: 375px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.hero-side-caption {
  display: none;
}
.hero-copy { max-width: 570px; margin: 0; color: #555; font-size: 17px; line-height: 1.75; word-break: keep-all; }
.hero-side-note { flex: 0 0 190px; color: var(--muted); font-size: 11px; line-height: 1.7; letter-spacing: .06em; text-align: right; }
.metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 62px; }
.metric { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px 26px; background: var(--soft); border-radius: 4px; }
.metric-label { color: #656565; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.metric-value { margin: 20px 0 10px; font-size: clamp(48px, 7vw, 76px); font-weight: 750; letter-spacing: -.065em; line-height: .95; }
.metric-note { color: #666; font-size: 12px; line-height: 1.6; }
.measurement-note { margin: 15px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.section { padding: 83px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 38px; }
.section-index { margin: 3px 0 0; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.section-title { margin: 0; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.05; letter-spacing: -.05em; font-weight: 730; }
.section-lede { max-width: 620px; margin: 16px 0 0; color: #666; font-size: 14px; line-height: 1.8; word-break: keep-all; }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.expertise-card {
  min-height: 200px;
  padding: 22px 19px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.expertise-card { min-height: 200px; padding: 22px 19px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.expertise-number { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.expertise-card h3 { margin: 35px 0 12px; font-size: 18px; letter-spacing: -.025em; }
.expertise-card p { margin: 0; color: #666; font-size: 12px; line-height: 1.75; word-break: keep-all; }
.case-list { display: flex; flex-direction: column; gap: 0; }
.case { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 36px 0; border-top: 1px solid var(--line); }
.case:first-child { border-top: 1px solid var(--line); }
.case-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.case-tag { display: inline-block; padding: 7px 9px; background: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.case-meta p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.case-content h3 { max-width: 700px; margin: 0 0 14px; font-size: clamp(25px, 3.2vw, 37px); line-height: 1.1; letter-spacing: -.045em; }
.case-summary { max-width: 720px; margin: 0 0 25px; color: #555; font-size: 14px; line-height: 1.85; word-break: keep-all; }
.case-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.case-detail { padding-top: 15px; border-top: 1px solid var(--line); }
.case-detail h4 { margin: 0 0 9px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.case-detail p { margin: 0; color: #666; font-size: 12px; line-height: 1.8; word-break: keep-all; }
.platform-block { margin-top: 23px; padding: 22px; background: var(--soft); }
.platform-block + .platform-block { margin-top: 12px; }
.platform-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.platform-heading h4 { margin: 0; font-size: 15px; }
.platform-heading span { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.platform-block p { margin: 0; color: #555; font-size: 13px; line-height: 1.85; word-break: keep-all; }
.process-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 28px; border: 1px solid var(--line); }
.process-step { position: relative; padding: 17px 14px; font-size: 11px; font-weight: 700; line-height: 1.5; }
.process-step + .process-step { border-left: 1px solid var(--line); }
.process-step span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 10px; }
.outcome-note { margin-top: 20px; padding: 18px 20px; border-left: 3px solid var(--accent); background: #fbfbf9; color: #555; font-size: 12px; line-height: 1.8; }
.experience-row { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 24px 0; border-top: 1px solid var(--line); }
.experience-date { color: var(--muted); font-size: 12px; line-height: 1.7; }
.experience-main h3 { margin: 0 0 7px; font-size: 20px; }
.experience-role { margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.experience-main p { max-width: 650px; margin: 0; color: #555; font-size: 13px; line-height: 1.8; word-break: keep-all; }
.contact { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 75px 0 65px; }
.contact h2 { max-width: 680px; margin: 0; font-size: clamp(36px, 6vw, 68px); line-height: 1; letter-spacing: -.06em; }
.contact-meta { color: var(--muted); font-size: 11px; line-height: 1.9; text-align: right; }
.contact-meta a { color: var(--text); border-bottom: 1px solid var(--line); }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .05em; }
@media (max-width: 800px) {
  .site-shell { width: min(100% - 40px, var(--max-width)); }
  .topbar { padding: 20px 0; }
  .topbar-right { gap: 13px; }
  .nav-link { display: none; }
  .hero { padding: 70px 0 58px; }
  .hero-intro { display: block; }
  .hero-copy { font-size: 15px; }
  .hero-side-note { margin-top: 20px; text-align: left; }
  .metrics { margin-top: 38px; gap: 10px; }
  .metric { min-height: 150px; padding: 17px; }
  .metric-value { font-size: clamp(42px, 11vw, 64px); }
  .section { padding: 60px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 17px; margin-bottom: 27px; }
  .expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expertise-card { min-height: 175px; padding: 17px 14px; }
  .expertise-card h3 { margin-top: 26px; }
  .case { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .case-meta { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .case-columns { grid-template-columns: 1fr; gap: 16px; }
  .process-strip { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .process-step:nth-child(4) { border-top: 1px solid var(--line); }
  .experience-row { grid-template-columns: 1fr; gap: 9px; }
  .contact { display: block; padding: 60px 0 45px; }
  .contact-meta { margin-top: 25px; text-align: left; }
}
@media (max-width: 420px) {
  .site-shell { width: calc(100% - 32px); }
  .wordmark { font-size: 12px; }
  .language-link { padding: 8px 10px; gap: 6px; }
  .metrics { grid-template-columns: 1fr; }
  .metric { min-height: 130px; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .expertise-card p { font-size: 11px; }
  .platform-block { padding: 17px; }
  .footer { flex-direction: column; gap: 8px; }
}
.hero-headshot {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  margin: 0;
}
/* Hero layout: keep existing content in its original layout */
.hero {
  position: relative;
}

.hero-intro {
  position: static;
}

/* Keep the original text in the right-side note area */
.hero-side-note {
  position: absolute;
  top: 32px;
  right: 0;
  width: 190px;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .06em;
  text-align: right;
}

/* Place only the headshot inside the reserved photo area */
.hero-headshot {
  position: absolute;
  top: 90px;
  right: 0;
  display: block;
  width: 220px;
  height: 315px;
  margin: 0;
  object-fit: cover;
  object-position: center top;
}

/* Keep the existing metric cards unchanged */
.metrics {
  position: relative;
  width: 100%;
}

/* Responsive layout */
@media (max-width: 800px) {
  .hero-side-note {
    position: static;
    width: auto;
    margin-top: 20px;
    text-align: left;
  }

  .hero-headshot {
    position: static;
    width: min(100%, 220px);
    height: auto;
    aspect-ratio: 3 / 4;
    margin: 24px 0 0 auto;
  }
}
/* Keep the photo in the top-right area without affecting other elements */
.hero-headshot {
  position: absolute;
  top: 90px;
  right: 0;
  display: block;
  width: 220px;
  height: 260px;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}

.hero-side-note {
  position: absolute;
  top: 32px;
  right: 0;
  width: 190px;
  margin: 0;
  padding: 0;
  text-align: right;
}

/* Mobile layout */
@media (max-width: 800px) {
  .hero-headshot {
    position: static;
    width: min(100%, 220px);
    height: auto;
    aspect-ratio: 3 / 4;
    margin: 24px 0 0 auto;
  }

  .hero-side-note {
    position: static;
    width: auto;
    margin-top: 20px;
    text-align: left;
  }
}