/* Homepage case-study index, intentionally isolated from the project-page system. */
:root {
  --home-ink: #121316;
  --home-muted: #5d626b;
  --home-line: #dfdcd5;
  --home-paper: #f7f4ee;
  --home-card: #fffdf9;
  --home-coral: #f05c45;
  --home-green: #55b877;
  --home-dark: #0d1418;
}

html { scroll-behavior: smooth; }
.site-main.home-legacy-content { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.home-site-header { position: relative; z-index: 10; padding: 20px 28px 0; background: var(--home-paper); }
.home-site-nav, .home-page { max-width: 1240px; margin: 0 auto; }
.home-site-nav { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--home-ink); font-family: "Plus Jakarta Sans", sans-serif; font-size: 13px; font-weight: 800; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.home-brand-mark { width: 27px; height: 27px; overflow: hidden; border-radius: 50%; display: inline-grid; place-items: center; background: var(--home-coral); }
.home-brand-mark img { width: 100%; height: 100%; display: block; object-fit: cover; transform: scale(1.14); }
.home-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; margin: 0; }
.home-nav-links a { color: #565a61; font-family: "Plus Jakarta Sans", sans-serif; font-size: 11px; font-weight: 600; text-decoration: none; }
.home-nav-links a[aria-current="page"], .home-nav-links a:hover { color: var(--home-ink); }
.home-nav-links a[aria-current="page"]::after { content: ""; display: block; height: 1.5px; margin-top: 6px; background: currentColor; }
.home-contact-link { display: inline-flex; align-items: center; gap: 8px; padding: 11px 17px; border-radius: 999px; color: white; background: var(--home-ink); font: 700 11px/1 "Plus Jakarta Sans", sans-serif; text-decoration: none; white-space: nowrap; }
.home-contact-link span { font-size: 14px; line-height: 8px; }

.home-page { color: var(--home-ink); font-family: "Instrument Sans", "Plus Jakarta Sans", sans-serif; background: var(--home-paper); }
.home-hero { min-height: 566px; display: grid; grid-template-columns: minmax(0, .98fr) minmax(450px, .95fr); align-items: center; gap: 62px; padding: 64px 12px 42px; border-bottom: 1px solid var(--home-line); }
.home-kicker, .home-card-kicker, .home-section-heading > p { margin: 0; color: #67707a; font: 600 10px/1.4 "JetBrains Mono", monospace; letter-spacing: .08em; }
.home-kicker span { color: var(--home-coral); padding: 0 6px; }
.home-hero h1 { max-width: 600px; margin: 14px 0 16px; color: var(--home-ink); font: 700 clamp(48px, 5.15vw, 76px)/.94 "Plus Jakarta Sans", sans-serif; letter-spacing: -.082em; }
.home-hero h1 em { color: var(--home-coral); font-style: normal; }
.home-lead { max-width: 580px; margin: 0; color: #636a72; font-size: 18px; line-height: 1.48; letter-spacing: -.025em; }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.home-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 0 18px; border: 1px solid #d6d3cc; border-radius: 999px; color: var(--home-ink); background: transparent; font: 700 11px/1 "Plus Jakarta Sans", sans-serif; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.home-button:hover { transform: translateY(-2px); background: #ece9e2; }
.home-button-dark { border-color: var(--home-ink); color: #fff; background: var(--home-ink); }
.home-button-dark:hover { background: #30363a; }
.home-button-accent { border-color: var(--home-green); color: #0f261a; background: #8ce18d; }
.home-button-light { border-color: #566267; color: #fff; background: transparent; }
.home-button-light:hover { color: var(--home-dark); background: #fff; }
.home-meta-list { display: flex; flex-wrap: wrap; gap: 9px 22px; padding: 0; margin: 29px 0 0; color: #6a7076; font: 500 11px/1.4 "Plus Jakarta Sans", sans-serif; list-style: none; }
.home-meta-list li { display: inline-flex; align-items: center; gap: 6px; }
.availability-dot { width: 7px; height: 7px; border-radius: 50%; background: #32a465; }
.home-hero-visual { position: relative; min-height: 396px; display: flex; align-items: center; gap: 16px; }
.home-hero-visual::before { content: ""; position: absolute; inset: -38px 28px -38px -92px; border: 1px solid rgba(206, 199, 187, .42); border-radius: 50%; pointer-events: none; }
.home-portrait-frame { position: relative; z-index: 1; width: min(287px, 54%); height: 390px; margin: 0; overflow: hidden; border-radius: 12px; background: #ded9d0; box-shadow: 0 18px 38px rgba(41, 34, 24, .12); }
.home-portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.home-hero-aside { position: relative; z-index: 1; align-self: stretch; flex: 1; min-width: 180px; display: flex; flex-direction: column; padding: 16px; border: 1px solid #e3dfd8; border-radius: 10px; background: rgba(255,255,255,.42); }
.home-hero-aside blockquote { margin: 0; font: 700 15px/1.35 "Plus Jakarta Sans", sans-serif; letter-spacing: -.045em; }
.home-hero-aside cite { margin-top: 8px; color: #777c81; font: 500 10px/1.3 "Plus Jakarta Sans", sans-serif; font-style: normal; }
.home-hero-aside ul { display: grid; gap: 8px; padding: 0; margin: 27px 0 0; color: #747a80; font: 500 10px/1.15 "Plus Jakarta Sans", sans-serif; list-style: none; }
.home-hero-counts { display: flex; gap: 24px; margin-top: auto; padding-top: 22px; }
.home-hero-counts strong { color: var(--home-ink); font: 700 22px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.08em; }
.home-hero-counts small { display: block; margin-top: 5px; color: #7c8184; font: 500 8px/1.2 "Plus Jakarta Sans", sans-serif; letter-spacing: 0; white-space: nowrap; }

.home-work, .home-research, .home-experience, .home-about, .home-contact { padding: 48px 12px; }
.home-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.home-section-heading > a, .home-section-note { color: var(--home-ink); font: 700 11px/1 "Plus Jakarta Sans", sans-serif; text-decoration: none; }
.home-section-heading > a span { color: var(--home-coral); padding-left: 5px; font-size: 14px; }
.home-section-note::before { content: "↗"; margin-right: 7px; color: var(--home-coral); }
.home-featured-card { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; padding: 30px; overflow: hidden; border-radius: 13px; color: #f7f7f5; background: linear-gradient(115deg, #101c20, #081216); box-shadow: 0 20px 38px rgba(13, 20, 24, .12); cursor: pointer; }
.home-featured-card:hover, .home-project-card:hover, .home-research-card[data-home-project-url]:hover { transform: translateY(-3px); box-shadow: 0 18px 32px rgba(22, 27, 28, .11); }
.home-featured-copy { align-self: center; }
.home-featured-card .home-card-kicker { color: #ccd0d0; }
.home-featured-card h2 { margin: 12px 0 9px; font: 700 42px/.96 "Plus Jakarta Sans", sans-serif; letter-spacing: -.075em; }
.home-featured-copy > p:not(.home-card-kicker) { max-width: 360px; margin: 0; color: #c6cccd; font-size: 16px; line-height: 1.38; letter-spacing: -.025em; }
.home-project-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 24px; }
.home-project-metrics div { min-width: 0; }
.home-project-metrics dt { color: #fff; font: 700 23px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.07em; }
.home-project-metrics dd { margin: 5px 0 0; color: #a9b2b4; font: 500 9px/1.2 "Plus Jakarta Sans", sans-serif; }
.home-card-actions { display: flex; align-items: center; gap: 15px; }
.home-text-link { color: #e5e8e7; font: 700 11px/1 "Plus Jakarta Sans", sans-serif; text-decoration: none; }
.home-featured-shot { width: min(100%, 560px); align-self: center; justify-self: end; margin: 0; }
.home-featured-shot img { width: 100%; aspect-ratio: 16 / 10; display: block; object-fit: cover; object-position: center 58%; border: 1px solid rgba(190,205,207,.27); border-radius: 11px; box-shadow: 0 18px 26px rgba(0,0,0,.28); }
.home-featured-shot figcaption { margin-top: 8px; color: #9ba5a7; font: 500 9px/1.3 "Plus Jakarta Sans", sans-serif; }
.home-project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 15px; }
.home-project-card { position: relative; display: grid; grid-template-columns: 1fr .85fr; grid-template-rows: auto 1fr auto; min-height: 310px; gap: 10px 17px; padding: 20px; overflow: hidden; border: 1px solid #e3dfd8; border-radius: 12px; background: rgba(255,255,255,.38); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.home-card-topline { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--home-coral); font: 600 10px/1 "JetBrains Mono", monospace; letter-spacing: .05em; }
.home-card-topline a { color: var(--home-ink); font-size: 16px; text-decoration: none; }
.home-project-card-copy { align-self: center; }
.home-project-card h3, .home-research-card h3 { margin: 0; font: 700 28px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.07em; }
.home-project-card-copy p { max-width: 270px; margin: 9px 0 17px; color: var(--home-muted); font-size: 14px; line-height: 1.38; letter-spacing: -.02em; }
.home-project-card figure { align-self: center; margin: 0; overflow: hidden; border: 1px solid #e0ddd6; border-radius: 8px; background: #e8e8e5; }
.home-project-card figure img { display: block; width: 100%; aspect-ratio: 1.15 / 1; object-fit: cover; object-position: center; }
.home-project-card-s2 figure img { object-position: 55% center; }
.home-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.home-tags li, .home-research-card div > span, .home-research-card div > a { padding: 7px 10px; border: 1px solid #e4e0d9; border-radius: 7px; color: #62676c; background: #faf9f6; font: 600 9px/1 "Plus Jakarta Sans", sans-serif; text-decoration: none; }

.home-research { border-top: 1px solid var(--home-line); }
.home-research-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.home-research-card { min-height: 310px; display: grid; grid-template-rows: auto auto auto 1fr auto; padding: 18px; border: 1px solid #e3dfd8; border-radius: 10px; background: rgba(255,255,255,.37); transition: transform .2s ease, box-shadow .2s ease; }
.home-research-card[data-home-project-url] { cursor: pointer; }
.home-research-card .home-card-kicker { color: #8b9092; font-size: 9px; }
.home-research-card h3 { margin-top: 12px; font-size: 21px; }
.home-research-card > p:not(.home-card-kicker) { margin: 8px 0 0; color: #676d74; font-size: 12px; line-height: 1.38; }
.home-research-card img { width: 100%; max-height: 104px; align-self: end; margin-top: 13px; object-fit: cover; object-position: center; border: 1px solid #ece8e1; border-radius: 6px; }
.home-research-card > div { display: flex; flex-wrap: wrap; gap: 6px; align-items: end; margin-top: 12px; }
.home-research-light > div { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.home-research-light > div > span { grid-column: 1 / -1; width: fit-content; }
.home-research-light > div strong { color: var(--home-ink); font: 700 21px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.07em; }
.home-research-light > div small { display: block; margin-top: 4px; color: #777b80; font: 500 8px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: 0; }

.home-philosophy { display: grid; grid-template-columns: .72fr 1.28fr; gap: 52px; padding: 58px 40px; color: #f1f5f4; background: radial-gradient(circle at 80% 120%, #173436, transparent 34%), var(--home-dark); }
.home-philosophy .home-card-kicker { color: #a0afb1; }
.home-philosophy h2 { max-width: 370px; margin: 12px 0; color: #fff; font: 700 37px/.98 "Plus Jakarta Sans", sans-serif; letter-spacing: -.075em; }
.home-philosophy > div > p:not(.home-card-kicker) { max-width: 390px; margin: 0 0 20px; color: #b5c0c1; font-size: 15px; line-height: 1.45; }
.home-method { align-self: center; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0; margin: 0; counter-reset: list; list-style: none; }
.home-method li { min-height: 150px; padding: 17px; border: 1px solid rgba(167,188,186,.22); border-radius: 9px; background: rgba(255,255,255,.035); }
.home-method span { color: #64c987; font: 600 10px/1 "JetBrains Mono", monospace; }
.home-method strong { display: block; margin-top: 31px; color: #f7f8f5; font: 700 15px/1.1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.04em; }
.home-method p { margin: 7px 0 0; color: #9ba8a9; font-size: 10px; line-height: 1.35; }

.home-experience h2 { max-width: 650px; margin: 0 0 24px; font: 700 37px/.98 "Plus Jakarta Sans", sans-serif; letter-spacing: -.075em; }
.home-timeline { border-top: 1px solid var(--home-line); }
.home-timeline article { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--home-line); }
.home-timeline time { color: var(--home-coral); font: 600 10px/1.3 "JetBrains Mono", monospace; }
.home-timeline h3 { margin: 0; font: 700 16px/1.2 "Plus Jakarta Sans", sans-serif; letter-spacing: -.04em; }
.home-timeline p { max-width: 760px; margin: 7px 0 0; color: #6c7278; font-size: 13px; line-height: 1.45; }
.home-role-type { display: inline-block; margin-left: 7px; padding: 3px 7px; border: 1px solid #dfdcd5; border-radius: 999px; color: #6c7278; font: 600 9px/1 "JetBrains Mono", monospace; vertical-align: 2px; letter-spacing: .02em; }
.home-about { display: grid; grid-template-columns: 1.1fr .7fr 1fr; align-items: stretch; gap: 14px; border-top: 1px solid var(--home-line); }
.home-about h2 { margin: 11px 0; font: 700 35px/.98 "Plus Jakarta Sans", sans-serif; letter-spacing: -.075em; }
.home-about > div > p:not(.home-card-kicker) { max-width: 455px; margin: 0 0 18px; color: #676d74; font-size: 14px; line-height: 1.45; }
.home-now { padding: 17px; border: 1px solid #e3dfd8; border-radius: 10px; background: rgba(255,255,255,.38); }
.home-now ul { display: grid; gap: 10px; padding: 0; margin: 17px 0 0; color: #5f666d; font-size: 12px; list-style: none; }
.home-now li::before { content: "◇"; margin-right: 8px; color: var(--home-coral); }
.home-about-visual { position: relative; min-height: 205px; margin: 0; overflow: hidden; border-radius: 10px; background: #142126; }
.home-about-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.home-about-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent, rgba(6,15,18,.78)); }
.home-about-visual figcaption { position: absolute; z-index: 1; right: 18px; bottom: 17px; max-width: 160px; color: #fff; font: 700 13px/1.15 "Plus Jakarta Sans", sans-serif; letter-spacing: -.04em; text-align: right; }
.home-contact { text-align: center; border-top: 1px solid var(--home-line); }
.home-contact h2 { margin: 11px 0 8px; font: 700 38px/.98 "Plus Jakarta Sans", sans-serif; letter-spacing: -.075em; }
.home-contact > p:not(.home-card-kicker) { max-width: 550px; margin: 0 auto 22px; color: #696f75; font-size: 15px; line-height: 1.45; }
.home-contact-email { width: min(100%, 650px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 24px auto 11px; padding: 8px 9px 8px 15px; border: 1px solid #dfdcd5; border-radius: 12px; background: var(--home-card); text-align: left; }
.home-contact-email > span:first-child { color: #7b8186; font: 600 9px/1 "JetBrains Mono", monospace; letter-spacing: .07em; text-transform: uppercase; }
.home-contact-email a { min-width: 0; overflow-wrap: anywhere; color: var(--home-ink); font: 700 13px/1.2 "Plus Jakarta Sans", sans-serif; letter-spacing: -.03em; text-decoration: none; }
.home-copy-email { min-height: 35px; padding: 0 13px; border: 0; border-radius: 8px; color: white; background: var(--home-ink); font: 700 10px/1 "Plus Jakarta Sans", sans-serif; cursor: pointer; }
.home-copy-email:hover, .home-copy-email:focus-visible { background: #34393d; }
.home-copy-status { grid-column: 2 / 4; min-height: 1em; color: #43895a; font: 600 9px/1 "Plus Jakarta Sans", sans-serif; }
.home-contact-socials { display: flex; justify-content: center; gap: 10px; }
.home-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 21px 12px 29px; border-top: 1px solid var(--home-line); color: #85898c; font: 500 10px/1 "Plus Jakarta Sans", sans-serif; }
.home-footer nav { display: flex; gap: 18px; }
.home-footer a { color: inherit; text-decoration: none; }

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .home-hero-visual { width: min(610px, 100%); }
  .home-featured-card { grid-template-columns: 1fr; }
  .home-featured-shot { max-width: 700px; }
  .home-research-grid { grid-template-columns: repeat(2, 1fr); }
  .home-philosophy { grid-template-columns: 1fr; gap: 32px; }
  .home-about { grid-template-columns: 1fr 1fr; }
  .home-about > div { grid-column: 1 / -1; }
}

@media (max-width: 660px) {
  .home-site-header { padding: 13px 18px 0; }
  .home-site-nav { min-height: 44px; }
  .home-nav-links { display: none; }
  .home-page { width: 100%; }
  .home-hero, .home-work, .home-research, .home-experience, .home-about, .home-contact { padding-left: 18px; padding-right: 18px; }
  .home-hero { min-height: auto; padding-top: 47px; }
  .home-hero h1 { font-size: clamp(42px, 13vw, 57px); }
  .home-lead { font-size: 14px; }
  .home-meta-list { display: grid; gap: 8px; }
  .home-hero-visual { min-height: 316px; gap: 10px; }
  .home-hero-visual::before { inset: -18px 8px -18px -20px; }
  .home-portrait-frame { width: 58%; height: 316px; }
  .home-hero-aside { min-width: 0; padding: 12px; }
  .home-hero-aside ul { margin-top: 16px; }
  .home-hero-counts { gap: 11px; }
  .home-hero-counts strong { min-width: 0; font-size: 19px; }
  .home-hero-counts small { max-width: 62px; white-space: normal; }
  .home-featured-card { padding: 20px; }
  .home-project-metrics { grid-template-columns: repeat(2, 1fr); }
  .home-project-grid, .home-research-grid, .home-about { grid-template-columns: 1fr; }
  .home-project-card { grid-template-columns: 1fr; }
  .home-project-card figure { max-height: 235px; }
  .home-project-card figure img { aspect-ratio: 1.7 / 1; }
  .home-philosophy { padding: 48px 18px; }
  .home-method { grid-template-columns: repeat(2, 1fr); }
  .home-method li { min-height: 130px; }
  .home-experience h2, .home-philosophy h2, .home-contact h2 { font-size: 32px; }
  .home-timeline article { grid-template-columns: 1fr; gap: 7px; }
  .home-about > div { grid-column: auto; }
  .home-about-visual { min-height: 170px; }
  .home-footer { align-items: flex-start; flex-direction: column; }
  .home-contact-email { grid-template-columns: 1fr auto; gap: 8px; padding: 12px; }
  .home-contact-email > span:first-child { grid-column: 1 / -1; }
  .home-contact-email a { font-size: 12px; }
  .home-copy-status { grid-column: 1 / -1; }
}

@media (max-width: 390px) {
  .home-contact-link { padding: 9px 12px; }
  .home-brand { font-size: 11px; }
  .home-hero-visual { margin-right: -5px; }
  .home-hero-aside blockquote { font-size: 11px; }
}
