:root {
  --bg: #090909;
  --surface: #101010;
  --surface-2: #161616;
  --text: #f2f2ef;
  --muted: #92928d;
  --stroke: #292927;
  --accent-a: #89aacc;
  --accent-b: #4e85bf;
  --green: #6fbd87;
  --pad: clamp(20px, 4vw, 64px);
  --max: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
body.lightbox-open { overflow: hidden; }
img, svg { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.font-display { font-family: "Instrument Serif", serif; font-style: italic; }
.container { width: min(var(--max), calc(100% - (var(--pad) * 2))); margin-inline: auto; }
.section { padding: clamp(96px, 12vw, 180px) 0; }
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 10000; padding: 10px 14px;
  background: var(--text); color: var(--bg); transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

/* Loading */
.loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), visibility .7s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-label {
  position: absolute; top: 30px; left: var(--pad); color: var(--muted);
  font-size: 10px; letter-spacing: .28em;
}
.loader-words { position: absolute; inset: 0; display: grid; place-items: center; }
.loader-words span {
  position: absolute; opacity: 0; font-size: clamp(42px, 8vw, 100px);
  transition: opacity .4s ease, transform .4s ease; transform: translateY(18px);
}
.loader-count {
  position: absolute; right: var(--pad); bottom: 42px; font-size: clamp(70px, 15vw, 180px);
  line-height: .75; font-variant-numeric: tabular-nums;
}
.loader-progress { position: absolute; inset: auto 0 0; height: 2px; background: var(--stroke); }
.loader-progress i {
  display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 0 14px rgba(137,170,204,.38);
}

/* Navigation */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1200; display: flex; justify-content: center;
  padding: 20px var(--pad); pointer-events: none;
}
.nav-shell {
  pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 6px;
  background: rgba(15,15,15,.8); border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled .nav-shell { box-shadow: 0 10px 40px rgba(0,0,0,.45); background: rgba(12,12,12,.94); }
.brand { position: relative; width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; }
.brand-ring {
  position: absolute; inset: 0; border-radius: 50%; padding: 1px;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; transition: transform .45s ease;
}
.brand:hover .brand-ring { transform: rotate(180deg); }
.brand b { font-size: 14px; font-weight: 400; }
.nav-links { display: flex; align-items: center; }
.nav-links a {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  padding: 9px 11px; color: var(--muted); border-radius: 999px; font-size: 12px;
  transition: color .25s ease, background .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.06); }
.lang-toggle {
  display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px;
  border: 0; border-left: 1px solid var(--stroke); background: none; cursor: pointer;
  font-size: 10px; letter-spacing: .08em;
}
.lang-toggle i { width: 1px; height: 10px; background: var(--stroke); }
.lang-toggle span { color: #676763; transition: color .2s; }
.lang-toggle span.active { color: var(--text); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; }
.hero-art, .contact-art { position: absolute; inset: 0; }
.hero-art svg, .contact-art svg { width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) brightness(.42); }
.hero-grid {
  position: absolute; inset: 0; opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 8vw 8vw;
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 80%);
  mask-image: linear-gradient(to bottom, #000 10%, transparent 80%);
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.2) 55%, var(--bg)); }
.hero-content { position: relative; z-index: 2; text-align: center; width: min(920px, calc(100% - 40px)); padding-top: 40px; }
.eyebrow { color: var(--muted); font-size: 10px; line-height: 1.5; letter-spacing: .28em; text-transform: uppercase; }
.hero-name {
  margin: 26px 0 16px; font-size: clamp(76px, 15vw, 182px); line-height: .78;
  font-weight: 400; letter-spacing: 0;
}
.hero-role { font-size: clamp(17px, 2vw, 25px); }
.hero-role em { display: inline-block; font-size: 1.22em; font-weight: 400; }
.hero-copy { max-width: 550px; margin: 22px auto 38px; color: #b6b6b0; font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-width: 132px; min-height: 46px;
  border: 1px solid var(--stroke); border-radius: 999px; font-size: 12px; transition: transform .25s ease, border-color .25s, background .25s;
}
.button:hover { transform: translateY(-2px); border-color: var(--accent-a); }
.button-light { background: var(--text); border-color: var(--text); color: var(--bg); }
.button-dark { background: rgba(9,9,9,.58); backdrop-filter: blur(8px); }
.hero-index {
  position: absolute; z-index: 2; left: var(--pad); bottom: 36px; display: flex; gap: 22px;
  color: #70706d; font-size: 9px; letter-spacing: .16em;
}
.scroll-cue {
  position: absolute; z-index: 2; bottom: 25px; left: 50%; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px; color: var(--muted); font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
}
.scroll-cue i { position: relative; display: block; width: 1px; height: 34px; overflow: hidden; background: var(--stroke); }
.scroll-cue i::after {
  content: ""; position: absolute; inset: 0; background: var(--text); animation: scrollLine 1.6s ease-in-out infinite;
}

/* Shared section typography */
.section-heading {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .55fr);
  align-items: end; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid var(--stroke);
}
.section-heading h2 {
  margin-top: 20px; max-width: 780px; font-size: clamp(48px, 7vw, 94px);
  font-weight: 300; line-height: .95; letter-spacing: 0;
}
.section-heading h2 em { font-weight: 400; }
.section-heading > p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* About */
.about-layout {
  display: block; padding: 80px 0;
}
.about-copy { max-width: 850px; }
.about-statement { max-width: 650px; font-size: clamp(32px, 4.4vw, 62px); line-height: 1.08; }
.bio-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 58px 0 40px; }
.mini-label { display: block; margin-bottom: 14px; color: var(--muted); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.bio-columns p, .contact-meta p { font-size: 13px; line-height: 1.9; color: #c8c8c2; }
.text-link {
  display: flex; justify-content: space-between; align-items: center; max-width: 280px;
  padding: 15px 0; border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke);
  font-size: 12px; transition: color .2s, border-color .2s;
}
.text-link:hover { color: var(--accent-a); border-color: var(--accent-a); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.stats > div { display: flex; flex-direction: column; gap: 12px; padding: 34px; border-right: 1px solid var(--stroke); }
.stats > div:first-child { padding-left: 0; }
.stats > div:last-child { border-right: 0; }
.stats strong { font-size: clamp(42px, 5vw, 72px); line-height: 1; font-weight: 400; }
.stats span { color: var(--muted); font-size: 11px; }

/* Projects */
.architecture { background: #0c0c0c; }
.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; padding-top: 64px; }
.project-card {
  position: relative; grid-column: span 12; min-height: 480px; overflow: hidden;
  border: 1px solid var(--stroke); border-radius: 4px; background: var(--surface);
  min-width: 0;
}
.project-card:nth-child(1), .project-card:nth-child(4) { grid-column: span 7; aspect-ratio: 1.25 / 1; }
.project-card:nth-child(2), .project-card:nth-child(3) { grid-column: span 5; aspect-ratio: .89 / 1; }
.project-card > a { position: absolute; inset: 0; display: block; }
.project-art { position: absolute; inset: 0; }
.project-art svg, .project-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .4s; }
.project-card:hover .project-art svg, .project-card:hover .project-art img { transform: scale(1.035); filter: contrast(1.08); }
.project-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.88), transparent 58%);
}
.project-info {
  position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; display: grid;
  grid-template-columns: 1fr auto; align-items: end; gap: 20px;
}
.project-info > div { min-width: 0; }
.project-number { display: block; margin-bottom: 12px; color: var(--accent-a); font-size: 10px; letter-spacing: .22em; }
.project-info h3 { font-size: clamp(27px, 3vw, 44px); line-height: 1; font-weight: 400; }
.project-info p { margin-top: 9px; color: #b2b2ad; font-size: 11px; letter-spacing: .05em; }
.project-arrow {
  display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%; font-size: 18px; transition: background .25s, color .25s, transform .25s;
}
.project-card:hover .project-arrow { background: var(--text); color: var(--bg); transform: rotate(45deg); }

/* Others */
.others { position: relative; min-height: 300vh; }
.others-pin {
  position: sticky; top: 0; height: 100vh; display: grid; place-items: center; z-index: 1; text-align: center; pointer-events: none;
}
.others-intro { pointer-events: auto; }
.others-intro h2 { margin: 20px auto; font-size: clamp(56px, 9vw, 122px); line-height: .83; font-weight: 300; }
.others-intro p:last-child { max-width: 480px; margin-inline: auto; color: var(--muted); font-size: 13px; line-height: 1.8; }
.others-columns {
  position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 15vw, 240px); width: min(1180px, calc(100% - (var(--pad) * 2))); margin-inline: auto;
  pointer-events: none;
}
.others-col { display: flex; flex-direction: column; gap: 110px; padding-top: 22vh; }
.others-col:nth-child(2) { padding-top: 56vh; }
.other-card {
  width: min(100%, 390px); pointer-events: auto; cursor: zoom-in; will-change: transform;
}
.others-col:nth-child(2) .other-card { margin-left: auto; }
.other-art { aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--stroke); border-radius: 3px; background: var(--surface); }
.other-art svg { height: 100%; transition: transform .6s ease; }
.other-card:hover .other-art svg { transform: scale(1.025); }
.other-caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }
.other-caption strong { font-size: 12px; font-weight: 400; }
.other-caption span { color: var(--muted); font-size: 10px; text-align: right; }

/* Contact */
.contact {
  position: relative; min-height: 92vh; display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 36px; overflow: hidden; border-top: 1px solid var(--stroke);
}
.contact-art { opacity: .55; }
.contact-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.contact-marquee {
  position: absolute; top: 80px; left: 0; right: 0; z-index: 1; overflow: hidden; white-space: nowrap;
  color: rgba(255,255,255,.07); pointer-events: none;
}
.contact-marquee div { display: inline-flex; will-change: transform; }
.contact-marquee span { font-family: "Instrument Serif", serif; font-style: italic; font-size: clamp(65px, 11vw, 150px); }
.contact-content { position: relative; z-index: 2; text-align: center; margin-block: auto; }
.contact-content h2 { margin: 24px 0; font-size: clamp(60px, 10vw, 138px); line-height: .82; font-weight: 300; }
.contact-content > p:not(.eyebrow) { max-width: 490px; margin: 0 auto; color: #aaa9a4; font-size: 13px; line-height: 1.8; }
.email-link {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 48px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.28); font-size: clamp(25px, 4vw, 52px);
  transition: border-color .25s, color .25s;
}
.email-link:hover { color: var(--accent-a); border-color: var(--accent-a); }
.email-link span { font-family: "Inter", sans-serif; font-style: normal; font-size: .55em; }
.contact-meta { display: flex; justify-content: center; gap: 70px; margin-top: 64px; text-align: left; }
.availability { display: inline-flex; align-items: center; gap: 8px; }
.availability i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s ease-in-out infinite; }
.footer {
  position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: var(--muted); font-size: 10px; letter-spacing: .09em;
}
.social-links { display: flex; gap: 24px; }
.social-links a { transition: color .2s; }
.social-links a:hover { color: var(--text); }

/* Lightbox */
.lightbox {
  width: 100vw; max-width: none; height: 100vh; max-height: none; inset: 0; padding: clamp(20px, 4vw, 56px);
  border: 0; background: rgba(5,5,5,.96); color: var(--text);
}
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 18px; }
.lightbox::backdrop { background: rgba(0,0,0,.8); }
.lightbox-close {
  position: absolute; top: 18px; right: 20px; z-index: 2; width: 42px; height: 42px;
  border: 1px solid var(--stroke); border-radius: 50%; background: #0d0d0d; cursor: pointer; font-size: 24px;
}
.lightbox-art { min-height: 0; display: grid; place-items: center; overflow: hidden; }
.lightbox-art svg,
.lightbox-art img { width: min(92vw, 1500px); max-height: 82vh; object-fit: contain; }
.lightbox-caption { display: flex; justify-content: space-between; gap: 20px; width: min(86vw, 1000px); margin-inline: auto; }
.lightbox-caption strong { font-size: 13px; font-weight: 400; }
.lightbox-caption span { color: var(--muted); font-size: 11px; }

/* Project detail */
.project-page { min-height: 100vh; background: var(--bg); }
.project-topbar {
  position: fixed; inset: 0 0 auto; z-index: 70; display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--pad); mix-blend-mode: difference; color: white; pointer-events: none;
}
.project-topbar > * { pointer-events: auto; }
.back-link, .project-topbar .lang-toggle { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.back-link { display: inline-flex; gap: 10px; align-items: center; }
.project-hero {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(420px, 72svh) auto;
  overflow: hidden;
  background: #fff;
}
.project-hero-art { position: relative; min-height: 0; }
.project-hero-art svg, .project-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.project-hero::after { display: none; }
.project-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(34px, 5vw, 64px) var(--pad);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 50px;
  background: #fff;
  color: #111;
  border-bottom: 1px solid #d2d2cd;
}
.project-hero h1 {
  margin-top: 14px;
  max-width: 1000px;
  font-size: clamp(48px, 7.5vw, 104px);
  line-height: 1;
  font-weight: 400;
}
.project-hero .eyebrow { color: #777; }
.project-hero .subtitle { margin-top: 18px; color: #666; font-size: 14px; line-height: 1.7; }
.project-count { color: #777; font-size: 10px; letter-spacing: .2em; writing-mode: vertical-rl; }
.project-summary { padding: clamp(72px, 9vw, 120px) 0; }
.project-brief { border-top: 1px solid var(--stroke); }
.brief-row {
  display: grid; grid-template-columns: minmax(150px, .32fr) 1fr; gap: clamp(32px, 7vw, 110px);
  padding: 30px 0; border-bottom: 1px solid var(--stroke);
}
.brief-row span {
  color: var(--muted); font-size: 9px; letter-spacing: .16em; line-height: 1.7; text-transform: uppercase;
}
.brief-row p { max-width: 850px; color: #d0d0ca; font-size: clamp(15px, 1.7vw, 20px); line-height: 1.75; }
.project-media {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px;
  padding: clamp(70px, 9vw, 120px) 0 20px;
}
.project-hero-art[role="button"],
.media-frame[role="button"] { cursor: zoom-in; }
.media-frame { position: relative; min-height: 0; overflow: hidden; border: 1px solid var(--stroke); background: var(--surface); }
.media-frame:nth-child(n) { aspect-ratio: 1.414 / 1; }
.media-frame svg, .media-frame img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.media-label {
  position: absolute; left: 14px; bottom: 12px; padding: 7px 9px; background: rgba(0,0,0,.68);
  color: #c7c7c1; font-size: 8px; letter-spacing: .12em; text-transform: uppercase;
}
.project-next {
  display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--stroke);
}
.project-next a { padding: 50px var(--pad); transition: background .25s; }
.project-next a:last-child { text-align: right; border-left: 1px solid var(--stroke); }
.project-next a:hover { background: var(--surface); }
.project-next span { color: var(--muted); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.project-next strong { display: block; margin-top: 12px; font-family: "Instrument Serif", serif; font-size: clamp(28px, 4vw, 52px); font-style: italic; font-weight: 400; }

@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@keyframes roleIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .nav-links a { padding-inline: 8px; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .section-heading > p { max-width: 560px; }
  .about-layout { grid-template-columns: 1fr; }
  .project-card:nth-child(n) { grid-column: span 6; min-height: 0; aspect-ratio: .9 / 1; }
  .brief-row { grid-template-columns: 130px 1fr; gap: 35px; }
}

@media (max-width: 680px) {
  :root { --pad: 18px; }
  .site-header { padding-top: 12px; }
  .nav-shell { width: 100%; justify-content: space-between; gap: 2px; }
  .brand { width: 34px; height: 34px; }
  .nav-links { flex: 1; justify-content: center; }
  .nav-links a { padding: 8px 6px; font-size: 10px; }
  .lang-toggle { gap: 4px; padding-inline: 7px; }
  .hero-content { padding-top: 20px; }
  .hero-name { font-size: clamp(72px, 25vw, 110px); }
  .hero-copy { max-width: 92%; font-size: 13px; }
  .hero-index { display: none; }
  .section { padding: 94px 0; }
  .section-heading { padding-bottom: 32px; }
  .section-heading h2 { font-size: 48px; }
  .about-layout { padding: 50px 0 70px; gap: 48px; }
  .bio-columns { grid-template-columns: 1fr; gap: 30px; margin: 38px 0; }
  .stats { grid-template-columns: 1fr; }
  .stats > div { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--stroke); }
  .stats > div:last-child { border-bottom: 0; }
  .project-grid { grid-template-columns: 1fr; gap: 14px; padding-top: 42px; }
  .project-card:nth-child(n) { grid-column: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .project-info { left: 20px; right: 20px; bottom: 20px; }
  .project-info h3 { font-size: 32px; }
  .others { min-height: 245vh; }
  .others-columns { gap: 16px; width: calc(100% - 28px); }
  .others-col { gap: 70px; padding-top: 25vh; }
  .others-col:nth-child(2) { padding-top: 47vh; }
  .others-intro h2 { font-size: 58px; }
  .other-caption { display: block; }
  .other-caption span { display: block; margin-top: 5px; text-align: left; font-size: 8px; }
  .contact { min-height: 100svh; padding-top: 120px; }
  .contact-content h2 { font-size: 65px; }
  .email-link { font-size: clamp(22px, 7.5vw, 34px); }
  .contact-meta { flex-direction: column; align-items: center; gap: 30px; text-align: center; }
  .footer { flex-direction: column; align-items: flex-start; gap: 20px; }
  .project-hero-content { grid-template-columns: 1fr; }
  .project-count { display: none; }
  .project-hero h1 { font-size: clamp(68px, 22vw, 110px); }
  .project-summary { padding: 60px 0; }
  .brief-row { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .project-media { display: block; padding: 60px 0; }
  .media-frame:nth-child(n) { min-height: 0; aspect-ratio: 1.414 / 1; margin-bottom: 14px; }
  .project-next a { padding: 35px 18px; }
  .project-next strong { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Minimal application portfolio theme */
:root {
  --bg: #ffffff;
  --surface: #f5f5f3;
  --surface-2: #ececea;
  --text: #111111;
  --muted: #676763;
  --stroke: #d8d8d3;
}

html, body, .architecture, .project-page { background: var(--bg); color: var(--text); }

.loader { background: #fff; }
.loader-progress { background: #deded9; }

.site-header { mix-blend-mode: normal; }
.nav-shell {
  background: rgba(255,255,255,.9);
  border-color: rgba(0,0,0,.12);
  box-shadow: 0 5px 24px rgba(0,0,0,.06);
}
.site-header.scrolled .nav-shell { background: rgba(255,255,255,.96); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.brand span, .nav-links a:hover, .nav-links a.active { color: #111; }
.nav-links a { color: #686864; }
.nav-links a:hover, .nav-links a.active { background: rgba(0,0,0,.06); }
.lang-toggle { border-color: #d4d4cf; }
.lang-toggle span.active { color: #111; }

.hero { background: #fff; }
.hero-photo { opacity: 1; }
.hero-photo img {
  filter: none;
  object-position: center center;
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.62) 31%, rgba(255,255,255,.14) 62%, rgba(255,255,255,.04) 100%),
    linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.03) 44%, rgba(255,255,255,.38) 100%),
    radial-gradient(ellipse at 18% 70%, rgba(255,255,255,.78), rgba(255,255,255,0) 43%);
}
.hero-grid { display: none; }
.hero-name, .hero-role, .hero-copy { color: #111; }
.hero-content {
  position: absolute;
  left: 50%;
  top: clamp(210px, 47vh, 430px);
  transform: translate(-50%, -50%);
  width: min(1080px, calc(100% - 48px));
  padding-top: 0;
  text-shadow: 0 1px 18px rgba(255,255,255,.65);
}
.hero .reveal {
  opacity: 1;
  transform: none;
}
.hero-name {
  font-size: clamp(72px, 9.5vw, 148px);
  line-height: .92;
  white-space: nowrap;
  margin: clamp(16px, 2.2vw, 26px) 0 clamp(18px, 2.4vw, 30px);
}
.hero-role { line-height: 1.35; }
.hero-copy {
  max-width: 620px;
  margin: 18px auto 28px;
  color: #444440;
}
.button-light { background: #111; border-color: #111; color: #fff; }
.button-dark { background: rgba(255,255,255,.72); border-color: #aaa; color: #111; }
.hero-index, .scroll-cue { color: #666; }
.scroll-cue i { background: #ccc; }
.scroll-cue i::after { background: #111; }

.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-heading {
  display: block;
  padding-bottom: 24px;
  border-color: var(--stroke);
}
.section-heading h2, .others-intro h2, .contact-content h2 { display: none; }
.section-heading .eyebrow { margin-bottom: 0; }
.section-heading .eyebrow,
.others-intro > .eyebrow,
.contact-content > .eyebrow {
  color: #222;
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.35;
}
.section-heading > p {
  max-width: 720px;
  margin-top: 18px;
  color: #555550;
}

.about-layout {
  padding: 38px 0 28px;
}
.about.section { padding-bottom: 42px; }
.architecture.section { padding-top: 62px; }
.about-copy { max-width: 850px; }
.about-statement {
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-style: normal;
  max-width: 680px;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.65;
}
.bio-columns { margin: 40px 0 32px; }
.bio-columns p, .contact-meta p { color: #333330; }
.text-link { border-color: var(--stroke); }
.stats { border-color: var(--stroke); }
.stats > div { border-color: var(--stroke); }

.project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  padding-top: 40px;
}
.project-card {
  grid-column: auto !important;
  min-height: 0;
  aspect-ratio: auto !important;
  border-color: #d0d0cb;
  background: #fff;
  overflow: hidden;
}
.project-card::after { display: none; }
.project-card > a {
  position: static;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.project-art {
  position: relative;
  inset: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}
.project-art img { display: block; object-position: center; }
.project-info {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  flex: 1;
  min-height: 168px;
  padding: 22px 20px;
  background: #fff;
  color: #111;
}
.project-number { color: #777; margin-bottom: 9px; }
.project-info h3 {
  color: #111;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-style: normal;
  font-size: clamp(18px, 1.55vw, 27px);
  line-height: 1.2;
}
.project-info p { color: #666; line-height: 1.6; }
.project-arrow { border-color: #aaa; color: #111; }
.project-card:hover .project-arrow { background: #111; color: #fff; }

@media (max-width: 1100px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-info h3 { font-size: clamp(22px, 3vw, 30px); }
}

.others {
  min-height: auto;
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--stroke);
}
.others-pin {
  position: static;
  height: auto;
  display: block;
  text-align: left;
  pointer-events: auto;
}
.others-intro p:last-child {
  max-width: 720px;
  margin: 18px 0 38px;
  color: #555550;
  font-size: 14px;
  line-height: 1.8;
}
.others-columns {
  position: static;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  pointer-events: auto;
}
.others-col { gap: 0; padding: 0; }
.others-col:nth-child(2) { padding: 0; }
.other-card, .others-col:nth-child(2) .other-card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 17px 0;
  border-top: 1px solid var(--stroke);
  transform: none !important;
  cursor: default;
}
.others-col:last-child .other-card:last-child { border-bottom: 1px solid var(--stroke); }
.other-art { display: none; }
.other-caption { margin: 0; align-items: center; }
.other-caption strong { font-size: 13px; font-weight: 400; }
.other-caption span { color: #666; font-size: 10px; }

.contact {
  min-height: auto;
  padding: clamp(80px, 10vw, 130px) 0 32px;
  background: #f4f4f1;
  color: #111;
  border-color: var(--stroke);
}

.experience {
  background: #fff;
  border-top: 1px solid var(--stroke);
}
.experience .section-accent-dots {
  display: none;
}
.experience-list { padding-top: 36px; }
.experience-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px, .24fr) 1fr;
  gap: clamp(28px, 6vw, 90px);
  padding: 30px 0;
  border-top: 1px solid var(--stroke);
}
.experience-item:last-child { border-bottom: 1px solid var(--stroke); }
.experience-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 54px;
  height: 3px;
  background: var(--experience-accent);
  transform: scaleX(.22);
  transform-origin: left;
  transition: transform .35s ease;
}
.experience-item:hover::before { transform: scaleX(1); }
.experience-period {
  color: #666;
  font-size: 12px;
  letter-spacing: .08em;
}
.experience-item h3 {
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 500;
  line-height: 1.4;
}
.experience-role {
  margin-top: 7px;
  color: #333;
  font-size: 13px;
  font-weight: 500;
}
.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}
.experience-tags span,
.experience-dialog-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--experience-accent, #29AEE1), #fff 44%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--experience-accent, #29AEE1), #fff 78%);
  color: #222;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .02em;
}
.experience-detail {
  max-width: 900px;
  margin-top: 13px;
  color: #666;
  font-size: 13px;
  line-height: 1.85;
}
.experience-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid #999;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .08em;
}
.experience-more span {
  transition: transform .25s ease;
}
.experience-more:hover span,
.experience-more:focus-visible span {
  transform: translate(3px, -3px);
}
.experience-more:focus-visible {
  outline: 2px solid var(--experience-accent, #29AEE1);
  outline-offset: 5px;
}
.experience-dialog {
  width: min(920px, calc(100vw - 32px));
  max-height: min(780px, calc(100svh - 32px));
  padding: 0;
  border: 1px solid #d3d3ce;
  border-radius: 8px;
  background: #fbfbf8;
  color: #111;
  box-shadow: 0 24px 90px rgba(0,0,0,.22);
}
.experience-dialog::backdrop {
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(14px);
}
.experience-dialog-inner {
  max-height: min(780px, calc(100svh - 32px));
  overflow: auto;
  padding: clamp(28px, 5vw, 58px);
}
.experience-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid #bbb;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: #111;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.experience-dialog-period {
  color: #777;
  font-size: 12px;
  letter-spacing: .12em;
}
.experience-dialog h3 {
  max-width: 760px;
  margin-top: 24px;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.28;
}
.experience-dialog-role {
  margin-top: 12px;
  color: #444;
  font-size: 14px;
}
.experience-dialog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.experience-dialog-body {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #d6d6d1;
}
.experience-dialog-body p {
  max-width: 780px;
  color: #333;
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.95;
}
.experience-dialog-body mark {
  padding: 1px 4px 2px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--experience-accent, #FFD600), #fff 58%);
  color: #111;
}
.contact-art, .contact-overlay, .contact-marquee { display: none; }
.contact-content { text-align: left; }
.contact-content > p:not(.eyebrow) { max-width: 680px; margin: 18px 0 0; color: #555550; }
.email-link {
  margin-top: 38px;
  color: #111;
  border-color: #999;
  font-size: clamp(24px, 4vw, 48px);
}
.contact-meta { justify-content: flex-start; margin-top: 48px; }
.footer { border-color: #ccc; color: #666; }
.availability i { background: #2d8b52; }

.project-summary { background: #fff; }
.project-brief { border-color: var(--stroke); }
.brief-row { border-color: var(--stroke); }
.brief-row p { color: #222; }
.project-media { background: #fff; }
.media-frame { border-color: #d2d2cd; }
.media-label { background: rgba(255,255,255,.88); color: #444; }
.project-next { border-color: var(--stroke); }
.project-next a:last-child { border-color: var(--stroke); }
.project-next a:hover { background: #f4f4f1; }

@media (max-width: 680px) {
  .section { padding: 70px 0; }
  .about-layout { grid-template-columns: 1fr; padding: 30px 0 14px; }
  .about.section { padding-bottom: 24px; }
  .architecture.section { padding-top: 46px; }
  .hero-content {
    left: 20px !important;
    top: 55% !important;
    width: calc(100% - 40px) !important;
    padding: 20px !important;
    transform: translateY(-50%) !important;
  }
  .hero-name {
    max-width: 100%;
    margin: 24px auto 26px;
    font-size: clamp(64px, 21vw, 88px);
    line-height: .9;
    white-space: normal;
    overflow-wrap: normal;
  }
  .hero-role { margin-bottom: 14px; }
  .others { padding: 70px 0; }
  .other-caption { display: flex; }
  .other-caption span { margin-top: 0; text-align: right; }
  .contact { padding-top: 72px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-info { min-height: 132px; padding: 20px; }
  .project-info h3 { font-size: 24px; }
  .project-hero { grid-template-rows: minmax(300px, 48svh) auto; }
  .project-hero-content { padding: 28px 20px 34px; gap: 20px; }
  .project-hero h1 { font-size: clamp(44px, 14vw, 68px); line-height: 1.04; }
  .project-hero .subtitle { margin-top: 14px; font-size: 12px; }
  .experience-item { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .experience-detail { line-height: 1.75; }
}

/* Architect guide and five-color micro interactions */
main > section,
.project-brief,
.project-media,
.project-next {
  position: relative;
  isolation: isolate;
}

.section-accent-dots {
  --accent-yellow: #FFD600;
  --accent-red: #F05A49;
  --accent-pink: #EA86B2;
  --accent-blue: #29AEE1;
  --accent-green: #08AE68;
  --move-x-1: 0px;
  --move-y-1: 0px;
  --move-x-2: 0px;
  --move-y-2: 0px;
  --move-x-3: 0px;
  --move-y-3: 0px;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  contain: paint;
}

.section-accent-dots::before {
  content: "";
  position: absolute;
  width: clamp(560px, 68vw, 1040px);
  height: clamp(420px, 52vw, 780px);
  border-radius: 46% 61% 43% 57% / 55% 42% 64% 45%;
  opacity: .18;
  filter: blur(34px) saturate(1.04);
  background:
    conic-gradient(from 210deg at 52% 48%,
      transparent 0deg 34deg,
      rgba(41,174,225,.26) 58deg,
      rgba(234,134,178,.34) 101deg,
      rgba(240,90,73,.28) 151deg,
      rgba(255,214,0,.3) 202deg,
      rgba(8,174,104,.24) 252deg,
      rgba(41,174,225,.18) 296deg,
      transparent 330deg 360deg);
  -webkit-mask:
    radial-gradient(ellipse 58% 43% at 44% 52%, transparent 0 43%, #000 55% 64%, transparent 75%),
    radial-gradient(ellipse 32% 20% at 76% 28%, #000 0 42%, transparent 64%);
  mask:
    radial-gradient(ellipse 58% 43% at 44% 52%, transparent 0 43%, #000 55% 64%, transparent 75%),
    radial-gradient(ellipse 32% 20% at 76% 28%, #000 0 42%, transparent 64%);
  -webkit-mask-composite: source-over;
  transform: translate3d(var(--move-x-2), var(--move-y-2), 0) rotate(-18deg);
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}

.section-accent-dots::after {
  content: "";
  position: absolute;
  width: clamp(300px, 34vw, 560px);
  height: clamp(220px, 27vw, 420px);
  border-radius: 64% 36% 58% 42% / 45% 60% 40% 55%;
  opacity: .12;
  filter: blur(38px) saturate(1.15);
  background:
    radial-gradient(ellipse at 18% 42%, rgba(255,214,0,.46), transparent 46%),
    radial-gradient(ellipse at 52% 32%, rgba(234,134,178,.42), transparent 50%),
    radial-gradient(ellipse at 74% 61%, rgba(41,174,225,.38), transparent 54%),
    radial-gradient(ellipse at 36% 76%, rgba(8,174,104,.26), transparent 48%);
  transform: translate3d(var(--move-x-3), var(--move-y-3), 0) rotate(8deg);
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}

.accent-scene-1::before,
.accent-scene-3::before,
.accent-scene-5::before { right: -30%; top: -22%; }
.accent-scene-2::before,
.accent-scene-4::before {
  left: -32%;
  bottom: -20%;
  transform: translate3d(var(--move-x-2), var(--move-y-2), 0) rotate(138deg);
}

.accent-scene-1::after,
.accent-scene-4::after { left: -9%; bottom: 8%; }
.accent-scene-2::after,
.accent-scene-5::after { right: -10%; top: 16%; }
.accent-scene-3::after { left: 48%; bottom: -8%; }

main > section > :not(.section-accent-dots),
.project-brief > :not(.section-accent-dots),
.project-media > :not(.section-accent-dots),
.project-next > :not(.section-accent-dots) {
  position: relative;
  z-index: 2;
}

.accent-shape {
  position: absolute;
  display: block;
  border-radius: 50%;
  mix-blend-mode: multiply;
  opacity: .74;
  z-index: 0;
  transition: transform .65s cubic-bezier(.22,.61,.36,1);
}

.accent-solid {
  width: clamp(70px, 10vw, 164px);
  height: clamp(70px, 10vw, 164px);
  opacity: .54;
  background: var(--shape-color);
  transform: translate3d(var(--move-x-1), var(--move-y-1), 0);
}

.accent-ring {
  width: clamp(34px, 4.5vw, 74px);
  height: clamp(34px, 4.5vw, 74px);
  border: clamp(4px, .45vw, 7px) solid var(--shape-color);
  opacity: .7;
  background: transparent;
  transform: translate3d(var(--move-x-2), var(--move-y-2), 0);
}

.accent-halftone {
  width: clamp(68px, 8vw, 122px);
  height: clamp(68px, 8vw, 122px);
  background-color: transparent;
  background-image: radial-gradient(circle, var(--shape-color) 1.5px, transparent 1.9px);
  background-size: 9px 9px;
  opacity: .38;
  transform: translate3d(var(--move-x-3), var(--move-y-3), 0);
}

.accent-scene-1 .accent-solid { left: -3%; top: 20%; }
.accent-scene-1 .accent-ring { right: 10%; top: 22%; }
.accent-scene-1 .accent-halftone { right: -1%; bottom: 13%; }

.accent-scene-2 .accent-solid { right: -4%; top: 18%; }
.accent-scene-2 .accent-ring { left: 6%; bottom: 18%; }
.accent-scene-2 .accent-halftone { left: -3%; top: 40%; }

.accent-scene-3 .accent-solid { left: -5%; top: 10%; }
.accent-scene-3 .accent-ring { right: 6%; top: 14%; }
.accent-scene-3 .accent-halftone { right: -3%; bottom: 18%; }

.accent-scene-4 .accent-solid { right: -5%; top: 28%; }
.accent-scene-4 .accent-ring { left: 6%; top: 16%; }
.accent-scene-4 .accent-halftone { left: -4%; bottom: 14%; }

.accent-scene-5 .accent-solid { left: -4%; top: 18%; }
.accent-scene-5 .accent-ring { right: 8%; top: 10%; }
.accent-scene-5 .accent-halftone { right: -3%; bottom: 10%; }

.accent-solid::after {
  content: "";
  position: absolute;
  width: 28%;
  height: 28%;
  right: -46%;
  top: 8%;
  border-radius: 50%;
  background: var(--shape-color);
  opacity: .9;
}

main > section > .container,
main > section > .hero-index,
main > section > .scroll-cue,
.project-brief > *,
.project-media > *,
.project-next > * {
  position: relative;
  z-index: 2;
}

.hero > .hero-content {
  position: absolute !important;
  left: clamp(42px, 7vw, 128px);
  bottom: clamp(82px, 11vh, 142px);
  top: auto;
  z-index: 6;
  width: min(880px, calc(100% - 96px)) !important;
  padding: 0 !important;
  text-align: left !important;
  transform: none !important;
  text-shadow: none !important;
}

.hero > .hero-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: -34px;
  bottom: -36px;
  width: min(820px, 82vw);
  z-index: -1;
  border-left: 1px solid rgba(17,17,17,.82);
  background:
    linear-gradient(90deg, rgba(255,255,255,.86), rgba(255,255,255,.58) 48%, rgba(255,255,255,.18) 82%, rgba(255,255,255,0)),
    radial-gradient(ellipse at 24% 55%, rgba(255,255,255,.9), rgba(255,255,255,0) 64%);
  box-shadow: 0 24px 86px rgba(255,255,255,.62);
  backdrop-filter: blur(1.5px);
}

.hero > .hero-content .eyebrow {
  display: inline-flex;
  margin-left: clamp(20px, 2.4vw, 36px);
  color: #555550;
  font-size: clamp(10px, .8vw, 12px);
  letter-spacing: .32em;
  text-transform: uppercase;
}

.hero > .hero-content .hero-name {
  max-width: 820px;
  margin: 20px 0 20px clamp(20px, 2.4vw, 36px);
  color: #111;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: clamp(58px, 8.7vw, 140px);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .86;
  text-transform: uppercase;
  white-space: normal;
}

.hero > .hero-content .hero-role {
  display: inline-flex;
  margin-left: clamp(20px, 2.4vw, 36px);
  padding: 9px 13px 10px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(17,17,17,.12);
  color: #111;
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.35;
}

.hero > .hero-content .hero-role em {
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: 1.08em;
  font-style: normal;
  font-weight: 500;
}

.hero > .hero-content .hero-copy {
  max-width: 660px;
  margin: 22px 0 0 clamp(20px, 2.4vw, 36px);
  color: #33332f;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.85;
}

.hero > .hero-content::after {
  content: "ARCHITECTURE PORTFOLIO";
  position: absolute;
  left: clamp(20px, 2.4vw, 36px);
  bottom: -65px;
  width: min(520px, 64vw);
  padding-top: 13px;
  border-top: 1px solid rgba(17,17,17,.35);
  color: rgba(17,17,17,.46);
  font-size: 10px;
  letter-spacing: .32em;
}

.hero-actions {
  display: none !important;
}

@media (max-width: 680px) {
  .hero > .hero-content {
    left: 20px !important;
    right: 20px;
    bottom: 86px !important;
    top: auto !important;
    width: auto !important;
    padding: 0 !important;
    transform: none !important;
  }

  .hero > .hero-content::before {
    top: -22px;
    bottom: -26px;
    width: 100%;
    background:
      linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.56) 78%, rgba(255,255,255,0)),
      radial-gradient(ellipse at 25% 55%, rgba(255,255,255,.9), rgba(255,255,255,0) 72%);
  }

  .hero > .hero-content .eyebrow {
    margin-left: 18px;
    font-size: 10px;
    letter-spacing: .22em;
  }

  .hero > .hero-content .hero-name {
    margin: 16px 0 16px 18px;
    font-size: clamp(44px, 14.5vw, 74px);
    line-height: .88;
  }

  .hero > .hero-content .hero-role {
    margin-left: 18px;
    font-size: 15px;
  }

  .hero > .hero-content .hero-copy {
    max-width: calc(100% - 18px);
    margin: 18px 0 0 18px;
    font-size: 13px;
    line-height: 1.75;
  }

  .hero > .hero-content::after {
    left: 18px;
    bottom: -54px;
    width: min(360px, calc(100vw - 76px));
    font-size: 9px;
    letter-spacing: .22em;
  }
}

.hero {
  --hero-x: 0;
  --hero-y: 0;
  min-height: 100svh;
  background: #070707;
  color: #f5f5f0;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero::before {
  background:
    radial-gradient(circle at calc(50% + (var(--hero-x) * 16px)) calc(42% + (var(--hero-y) * 12px)), rgba(137,170,204,.22), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(78,133,191,.16), transparent 20%),
    radial-gradient(circle at 18% 78%, rgba(255,255,255,.1), transparent 26%);
  mix-blend-mode: screen;
  opacity: .82;
}

.hero::after {
  background:
    linear-gradient(180deg, rgba(5,5,5,.32) 0%, rgba(5,5,5,.18) 34%, rgba(5,5,5,.62) 74%, #070707 100%),
    linear-gradient(90deg, rgba(5,5,5,.55), rgba(5,5,5,.04) 38%, rgba(5,5,5,.46));
}

.hero-photo {
  transform: translate3d(calc(var(--hero-x) * -11px), calc(var(--hero-y) * -8px), 0) scale(1.045);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}

.hero-photo img {
  filter: grayscale(1) brightness(.54) contrast(1.18);
  object-position: center center;
}

.hero-grid {
  display: block;
  z-index: 3;
  opacity: .34;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.42) 1px, transparent 1.4px),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 9px 9px, 12vw 12vw, 12vw 12vw;
  background-position:
    calc(var(--hero-x) * 9px) calc(var(--hero-y) * 9px),
    center,
    center;
  -webkit-mask-image: radial-gradient(ellipse at 50% 48%, transparent 0 28%, #000 52%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 48%, transparent 0 28%, #000 52%, transparent 78%);
}

.hero-shade {
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(255,255,255,.12), rgba(255,255,255,0) 34%),
    radial-gradient(ellipse at 50% 88%, rgba(7,7,7,.92), rgba(7,7,7,0) 50%),
    linear-gradient(180deg, rgba(7,7,7,.16), rgba(7,7,7,.54));
}

.hero > .hero-content {
  left: 50% !important;
  bottom: clamp(94px, 15vh, 158px) !important;
  top: auto !important;
  z-index: 6;
  width: min(1050px, calc(100% - 48px)) !important;
  text-align: center !important;
  transform: translate3d(calc(var(--hero-x) * 6px), calc(var(--hero-y) * 4px), 0) translateX(-50%) !important;
}

.hero > .hero-content::before {
  left: 50%;
  top: -58px;
  bottom: -56px;
  width: min(760px, 84vw);
  transform: translateX(-50%);
  border-left: 0;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(8,8,8,.52), rgba(8,8,8,.28) 52%, rgba(8,8,8,0) 74%),
    linear-gradient(90deg, rgba(137,170,204,0), rgba(137,170,204,.18), rgba(78,133,191,0));
  box-shadow: 0 34px 110px rgba(0,0,0,.48);
  backdrop-filter: blur(2px);
}

.hero > .hero-content .eyebrow {
  margin-left: 0;
  color: rgba(245,245,240,.68);
  font-size: clamp(10px, .72vw, 12px);
  letter-spacing: .42em;
}

.hero > .hero-content .hero-name {
  max-width: 1050px;
  margin: 22px auto 18px;
  color: #f6f6f1;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: clamp(64px, 10.8vw, 168px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .78;
  text-transform: uppercase;
  text-shadow: 0 18px 70px rgba(0,0,0,.46);
}

.hero > .hero-content .hero-role {
  margin-left: 0;
  padding: 8px 13px 9px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: rgba(245,245,240,.9);
  backdrop-filter: blur(12px);
  font-size: clamp(14px, 1.25vw, 19px);
}

.hero > .hero-content .hero-role em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.hero > .hero-content .hero-copy {
  max-width: 580px;
  margin: 22px auto 0;
  color: rgba(245,245,240,.7);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.9;
}

.hero > .hero-content::after {
  left: 50%;
  bottom: -54px;
  width: min(420px, 58vw);
  transform: translateX(-50%);
  padding-top: 12px;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #89AACC, #4E85BF) 1;
  color: rgba(245,245,240,.46);
  content: "ARCHITECTURE PORTFOLIO";
}

.hero-index {
  z-index: 6;
  color: rgba(245,245,240,.48);
}

.scroll-cue {
  z-index: 6;
  color: rgba(245,245,240,.58);
}

.scroll-cue i {
  background: rgba(245,245,240,.2);
}

.scroll-cue i::after {
  background: linear-gradient(180deg, #89AACC, #4E85BF);
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 680px) {
  .hero > .hero-content {
    left: 22px !important;
    right: 22px;
    bottom: 110px !important;
    width: auto !important;
    text-align: left !important;
    transform: translate3d(calc(var(--hero-x) * 4px), calc(var(--hero-y) * 3px), 0) !important;
  }

  .hero > .hero-content::before {
    left: 0;
    top: -28px;
    bottom: -36px;
    width: 100%;
    transform: none;
    border-radius: 28px;
    background: linear-gradient(90deg, rgba(7,7,7,.66), rgba(7,7,7,.34) 80%, rgba(7,7,7,0));
  }

  .hero > .hero-content .eyebrow,
  .hero > .hero-content .hero-role,
  .hero > .hero-content .hero-copy {
    margin-left: 18px;
  }

  .hero > .hero-content .hero-name {
    margin: 18px 0 18px 18px;
    font-size: clamp(48px, 17vw, 80px);
    line-height: .82;
  }

  .hero > .hero-content .hero-copy {
    max-width: calc(100% - 36px);
  }

.hero > .hero-content::after {
    left: 18px;
    transform: none;
    width: min(320px, calc(100vw - 84px));
  }
}

.hero {
  --model-rot-x: -13deg;
  --model-rot-y: -24deg;
  --model-rise: 1;
  min-height: 100svh;
  background:
    radial-gradient(circle at 74% 34%, rgba(255,214,0,.14), transparent 16%),
    radial-gradient(circle at 83% 70%, rgba(41,174,225,.12), transparent 18%),
    linear-gradient(180deg, #fff 0%, #f7f7f4 100%);
  color: #111;
  overflow: hidden;
}

.hero::before,
.hero::after {
  pointer-events: none;
}

.hero::before {
  z-index: 1;
  opacity: .48;
  mix-blend-mode: normal;
  background:
    radial-gradient(circle at 8% 28%, rgba(255,214,0,.42) 0 52px, transparent 54px),
    radial-gradient(circle at 95% 26%, rgba(234,134,178,.26) 0 46px, transparent 48px),
    radial-gradient(circle at 86% 86%, rgba(8,174,104,.2) 0 34px, transparent 36px);
}

.hero::after {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.78) 38%, rgba(255,255,255,.18) 72%, rgba(255,255,255,.72) 100%),
    linear-gradient(180deg, rgba(255,255,255,.3), rgba(245,245,241,.95));
}

.hero-photo {
  display: none;
}

.hero-grid {
  display: block;
  z-index: 1;
  opacity: .22;
  background-image:
    linear-gradient(rgba(17,17,17,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 48%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 48%, #000 100%);
}

.hero-shade {
  z-index: 2;
  background:
    radial-gradient(ellipse at 72% 56%, rgba(255,255,255,0), rgba(255,255,255,.76) 62%),
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.9));
}

.hero-model {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center end;
  padding-right: clamp(40px, 9vw, 150px);
  pointer-events: none;
  perspective: 1200px;
}

.model-stage {
  position: relative;
  width: clamp(330px, 42vw, 640px);
  height: clamp(330px, 42vw, 640px);
  display: grid;
  place-items: center;
  transform: translate3d(calc(var(--hero-x) * 10px), calc(var(--hero-y) * 8px), 0);
  transition: transform .35s ease;
}

.model-ground {
  position: absolute;
  width: 78%;
  height: 42%;
  left: 12%;
  bottom: 16%;
  border: 1px solid rgba(17,17,17,.16);
  border-radius: 50%;
  transform: rotateX(72deg) rotateZ(-14deg);
  background:
    radial-gradient(ellipse, rgba(17,17,17,.08), rgba(17,17,17,0) 64%),
    repeating-linear-gradient(90deg, rgba(17,17,17,.12) 0 1px, transparent 1px 18px);
  filter: blur(.1px);
}

.model-building {
  position: relative;
  width: 1px;
  height: 1px;
  transform-style: preserve-3d;
  transform: rotateX(var(--model-rot-x)) rotateY(var(--model-rot-y)) rotateZ(0deg);
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
  animation: modelBreath 5.8s ease-in-out infinite;
}

.mass,
.face {
  position: absolute;
  transform-style: preserve-3d;
}

.mass {
  left: calc(var(--w) / -2);
  top: calc(var(--h) / -2);
  width: var(--w);
  height: var(--h);
  transform:
    translate3d(var(--x), var(--y), var(--z))
    scaleY(var(--model-rise));
  transform-origin: center bottom;
  animation: modelGrow .9s cubic-bezier(.2,.7,.2,1) both;
  animation-delay: var(--delay);
}

.face {
  inset: 0;
  border: 1px solid rgba(17,17,17,.17);
  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(226,226,220,.86)),
    repeating-linear-gradient(90deg, rgba(17,17,17,.13) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(17,17,17,.1) 0 1px, transparent 1px 20px);
  box-shadow: inset 0 0 22px rgba(255,255,255,.5);
}

.face.front { transform: translateZ(calc(var(--d) / 2)); }
.face.back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.face.left {
  width: var(--d);
  transform: rotateY(-90deg) translateZ(calc(var(--d) / 2));
  transform-origin: left center;
}
.face.right {
  width: var(--d);
  left: auto;
  right: 0;
  transform: rotateY(90deg) translateZ(calc(var(--d) / 2));
  transform-origin: right center;
}
.face.top {
  height: var(--d);
  transform: rotateX(90deg) translateZ(calc(var(--d) / 2));
  transform-origin: center top;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(235,235,230,.9)),
    repeating-linear-gradient(90deg, rgba(17,17,17,.1) 0 1px, transparent 1px 16px);
}

.mass-a { --w: 190px; --h: 164px; --d: 118px; --x: -78px; --y: 6px; --z: 0px; --delay: .05s; }
.mass-b { --w: 120px; --h: 240px; --d: 100px; --x: 72px; --y: -36px; --z: 26px; --delay: .16s; }
.mass-c { --w: 94px; --h: 128px; --d: 94px; --x: -178px; --y: 38px; --z: 40px; --delay: .27s; }
.mass-d { --w: 116px; --h: 88px; --d: 156px; --x: 10px; --y: 108px; --z: -36px; --delay: .36s; }
.mass-e { --w: 76px; --h: 94px; --d: 76px; --x: 156px; --y: 62px; --z: -24px; --delay: .48s; }

.accent-mass .face {
  border-color: rgba(17,17,17,.2);
  background:
    linear-gradient(135deg, rgba(255,214,0,.95), rgba(240,90,73,.88)),
    repeating-linear-gradient(90deg, rgba(17,17,17,.13) 0 1px, transparent 1px 18px);
}

.model-axis {
  position: absolute;
  width: 1px;
  height: clamp(160px, 16vw, 250px);
  background: rgba(17,17,17,.22);
  transform-style: preserve-3d;
}

.axis-a { transform: translate3d(-230px, -130px, -40px) rotateZ(0deg); }
.axis-b { transform: translate3d(220px, -108px, 30px) rotateZ(0deg); }
.axis-c { transform: translate3d(26px, -210px, 70px) rotateZ(0deg); }

.model-orbit {
  position: absolute;
  width: 84%;
  height: 34%;
  left: 7%;
  bottom: 13%;
  border: 1px solid rgba(17,17,17,.2);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-13deg);
}

.model-orbit i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.model-orbit i:nth-child(1) { left: 12%; top: 44%; background: #FFD600; }
.model-orbit i:nth-child(2) { left: 34%; top: 82%; background: #F05A49; }
.model-orbit i:nth-child(3) { left: 56%; top: 8%; background: #EA86B2; }
.model-orbit i:nth-child(4) { left: 76%; top: 70%; background: #29AEE1; }
.model-orbit i:nth-child(5) { left: 89%; top: 32%; background: #08AE68; }

.hero > .hero-content {
  left: clamp(32px, 7vw, 118px) !important;
  bottom: clamp(92px, 15vh, 150px) !important;
  top: auto !important;
  z-index: 6;
  width: min(560px, calc(100% - 64px)) !important;
  text-align: left !important;
  transform: none !important;
  color: #111;
}

.hero > .hero-content::before {
  display: none;
}

.hero > .hero-content .eyebrow {
  margin-left: 0;
  color: #656560;
  font-size: clamp(10px, .72vw, 12px);
  letter-spacing: .34em;
}

.hero > .hero-content .hero-name {
  max-width: 560px;
  margin: 18px 0 18px;
  color: #090909;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(72px, 9.5vw, 145px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .82;
  text-transform: none;
  text-shadow: none;
}

.hero > .hero-content .hero-role {
  margin-left: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #111;
  backdrop-filter: none;
  font-size: clamp(18px, 1.85vw, 28px);
}

.hero > .hero-content .hero-role em {
  font-family: var(--font-display);
  font-style: italic;
}

.hero > .hero-content .hero-copy {
  max-width: 510px;
  margin: 18px 0 0;
  color: #565650;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.9;
}

.hero > .hero-content::after {
  left: 0;
  bottom: -54px;
  width: min(360px, 72vw);
  transform: none;
  padding-top: 12px;
  border-top: 1px solid rgba(17,17,17,.24);
  border-image: none;
  color: rgba(17,17,17,.48);
}

.scroll-cue {
  z-index: 7;
  color: #777;
}

.scroll-cue i {
  background: #d8d8d2;
}

.scroll-cue i::after {
  background: #111;
}

@keyframes modelGrow {
  from { transform: translate3d(var(--x), calc(var(--y) + 40px), var(--z)) scaleY(.08); opacity: 0; }
  to { transform: translate3d(var(--x), var(--y), var(--z)) scaleY(var(--model-rise)); opacity: 1; }
}

@keyframes modelBreath {
  0%, 100% { transform: rotateX(var(--model-rot-x)) rotateY(var(--model-rot-y)) translateY(0); }
  50% { transform: rotateX(var(--model-rot-x)) rotateY(var(--model-rot-y)) translateY(-8px); }
}

@media (max-width: 900px) {
  .hero-model {
    place-items: center;
    padding: 0;
    transform: translateY(-84px) scale(.82);
    opacity: .82;
  }

  .hero > .hero-content {
    left: 24px !important;
    right: 24px;
    bottom: 94px !important;
    width: auto !important;
  }

  .hero > .hero-content .hero-name {
    font-size: clamp(56px, 18vw, 92px);
  }
}

@media (max-width: 680px) {
  .hero-model {
    transform: translateY(-120px) scale(.66);
    opacity: .74;
  }

  .hero > .hero-content {
    left: 22px !important;
    right: 22px;
    bottom: 96px !important;
    text-align: left !important;
    transform: none !important;
  }

  .hero > .hero-content .eyebrow,
  .hero > .hero-content .hero-role,
  .hero > .hero-content .hero-copy {
    margin-left: 0;
  }

  .hero > .hero-content .hero-name {
    margin-left: 0;
    font-size: clamp(54px, 18vw, 82px);
    line-height: .84;
  }

  .hero > .hero-content::after {
    left: 0;
    transform: none;
    width: min(300px, calc(100vw - 60px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .model-building,
  .mass {
    animation: none;
  }
}

/* Final hero concept: white portfolio cover + interactive architectural model */
.hero {
  --model-rot-x: -12deg;
  --model-rot-y: -32deg;
  min-height: 100svh;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 83% 28%, rgba(255,214,0,.08), transparent 13%),
    radial-gradient(circle at 93% 76%, rgba(41,174,225,.08), transparent 16%),
    linear-gradient(180deg, #fff 0%, #f7f7f4 100%);
  color: #111;
  cursor: default;
}

.hero.is-dragging {
  cursor: grabbing;
}

.hero::before {
  z-index: 1;
  opacity: .42;
  background:
    radial-gradient(circle at 6% 30%, rgba(255,214,0,.28) 0 54px, transparent 56px),
    radial-gradient(circle at 91% 26%, rgba(234,134,178,.18) 0 42px, transparent 44px),
    radial-gradient(circle at 88% 88%, rgba(8,174,104,.15) 0 30px, transparent 32px);
}

.hero::after {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 41%, rgba(255,255,255,.14) 58%, rgba(255,255,255,.68) 100%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(248,248,244,.95));
}

.hero-photo {
  display: none !important;
}

.hero-grid {
  display: block;
  z-index: 1;
  opacity: .16;
  background-image:
    linear-gradient(rgba(17,17,17,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 42%, #000 82%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 42%, #000 82%);
}

.hero-shade {
  z-index: 2;
  background:
    radial-gradient(ellipse at 71% 56%, rgba(255,255,255,0), rgba(255,255,255,.9) 65%),
    linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.96));
}

.hero > .hero-content {
  position: absolute !important;
  left: clamp(54px, 7.4vw, 132px) !important;
  top: 50% !important;
  bottom: auto !important;
  z-index: 7;
  width: min(460px, 38vw) !important;
  transform: translateY(-42%) !important;
  text-align: left !important;
  color: #111;
}

.hero > .hero-content::before {
  display: none !important;
}

.hero > .hero-content .eyebrow {
  margin: 0 0 22px;
  color: #6f6f69;
  font-size: clamp(10px, .72vw, 12px);
  letter-spacing: .3em;
  white-space: normal;
}

.hero > .hero-content .hero-name {
  max-width: 450px;
  margin: 0 0 24px;
  color: #080808;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(64px, 7.2vw, 118px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .82;
  text-transform: none;
  text-shadow: none;
}

.hero > .hero-content .hero-role {
  display: block;
  width: fit-content;
  margin: 0 0 22px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(17,17,17,.22);
  background: transparent;
  color: #151515;
  font-size: clamp(17px, 1.55vw, 24px);
  line-height: 1.38;
  white-space: nowrap;
}

.hero > .hero-content .hero-role em {
  color: #4c4c47;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.hero > .hero-content .hero-copy {
  max-width: 430px;
  margin: 0;
  color: #5e5e58;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.95;
}

.hero > .hero-content::after {
  left: 0;
  bottom: -56px;
  width: min(330px, 100%);
  transform: none;
  padding-top: 12px;
  border-top: 1px solid rgba(17,17,17,.24);
  border-image: none;
  color: rgba(17,17,17,.48);
  font-size: 10px;
  letter-spacing: .32em;
  content: "ARCHITECTURE PORTFOLIO";
}

.hero-model {
  z-index: 5;
  display: grid;
  place-items: center end;
  padding-right: clamp(70px, 11vw, 185px);
  pointer-events: none;
  perspective: 1300px;
}

.model-stage {
  width: clamp(390px, 43vw, 650px);
  height: clamp(390px, 43vw, 650px);
  transform: translate3d(calc(var(--hero-x) * 8px), calc(var(--hero-y) * 6px), 0);
}

.model-stage::before {
  content: "DRAG TO ROTATE";
  position: absolute;
  right: 10%;
  bottom: 7%;
  color: rgba(17,17,17,.38);
  font-size: 9px;
  letter-spacing: .24em;
}

.model-ground {
  width: 76%;
  height: 37%;
  left: 13%;
  bottom: 16%;
  border-color: rgba(17,17,17,.32);
  background:
    radial-gradient(ellipse, rgba(17,17,17,.12), rgba(17,17,17,0) 62%),
    repeating-linear-gradient(90deg, rgba(17,17,17,.16) 0 1px, transparent 1px 22px);
}

.model-building {
  transform: rotateX(var(--model-rot-x)) rotateY(var(--model-rot-y)) rotateZ(0deg);
  animation: modelBreath 7s ease-in-out infinite;
}

.mass {
  filter: drop-shadow(24px 26px 24px rgba(0,0,0,.1));
}

.face {
  border-color: rgba(17,17,17,.22);
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(224,224,218,.9)),
    repeating-linear-gradient(90deg, rgba(17,17,17,.08) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, rgba(17,17,17,.07) 0 1px, transparent 1px 24px);
}

.face.top {
  background:
    linear-gradient(135deg, rgba(255,255,255,1), rgba(238,238,232,.94)),
    repeating-linear-gradient(90deg, rgba(17,17,17,.08) 0 1px, transparent 1px 18px);
}

.mass-a { --w: 205px; --h: 128px; --d: 132px; --x: -92px; --y: 64px; --z: 0px; --delay: .05s; }
.mass-b { --w: 108px; --h: 268px; --d: 108px; --x: 56px; --y: -22px; --z: 38px; --delay: .16s; }
.mass-c { --w: 88px; --h: 156px; --d: 90px; --x: -196px; --y: 34px; --z: 54px; --delay: .27s; }
.mass-d { --w: 240px; --h: 22px; --d: 136px; --x: 12px; --y: -124px; --z: 18px; --delay: .36s; }
.mass-e { --w: 82px; --h: 76px; --d: 82px; --x: 170px; --y: 82px; --z: -28px; --delay: .48s; }

.accent-mass .face {
  border-color: rgba(17,17,17,.16);
  background:
    linear-gradient(135deg, rgba(255,214,0,.86), rgba(240,90,73,.42)),
    repeating-linear-gradient(90deg, rgba(17,17,17,.1) 0 1px, transparent 1px 18px);
}

.model-axis {
  background: rgba(17,17,17,.28);
}

.axis-a { transform: translate3d(-245px, -118px, -45px); }
.axis-b { transform: translate3d(240px, -120px, 36px); }
.axis-c { transform: translate3d(10px, -226px, 78px); }

.model-orbit {
  width: 76%;
  height: 30%;
  left: 12%;
  bottom: 16%;
  border-color: rgba(17,17,17,.34);
}

.model-orbit i {
  width: 8px;
  height: 8px;
  opacity: .9;
}

.scroll-cue {
  z-index: 8;
  color: #777;
}

.scroll-cue i {
  background: #d8d8d2;
}

.scroll-cue i::after {
  background: #111;
}

@media (max-width: 1060px) {
  .hero > .hero-content {
    width: min(430px, 46vw) !important;
    left: clamp(28px, 5vw, 72px) !important;
  }

  .hero > .hero-content .hero-name {
    font-size: clamp(58px, 8.5vw, 96px);
  }

  .hero-model {
    padding-right: clamp(24px, 5vw, 72px);
  }

  .model-stage {
    width: clamp(330px, 42vw, 500px);
    height: clamp(330px, 42vw, 500px);
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.2) 40%, rgba(255,255,255,.96) 74%),
      linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.72));
  }

  .hero-model {
    place-items: start center;
    padding: 88px 0 0;
    transform: scale(.78);
    opacity: .72;
  }

  .model-stage {
    width: 360px;
    height: 360px;
  }

  .model-stage::before {
    display: none;
  }

  .hero > .hero-content {
    left: 22px !important;
    right: 22px !important;
    top: auto !important;
    bottom: 88px !important;
    width: auto !important;
    transform: none !important;
  }

  .hero > .hero-content .eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
    letter-spacing: .22em;
  }

  .hero > .hero-content .hero-name {
    max-width: 330px;
    margin-bottom: 18px;
    font-size: clamp(48px, 15.5vw, 72px);
    line-height: .86;
  }

  .hero > .hero-content .hero-role {
    white-space: normal;
    font-size: 16px;
    margin-bottom: 16px;
  }

  .hero > .hero-content .hero-copy {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.75;
  }
}

/* FINAL GRADIENT CLEANUP: no rectangular residue, edges fade into white center. */
body[data-page="home"] .hero {
  background:
    radial-gradient(ellipse at center, #fff 0 42%, rgba(255,255,255,.96) 55%, rgba(255,255,255,.72) 72%, transparent 100%),
    radial-gradient(circle at 0% 25%, rgba(255,214,0,.25), transparent 30%),
    radial-gradient(circle at 12% 0%, rgba(234,134,178,.16), transparent 30%),
    radial-gradient(circle at 100% 18%, rgba(41,174,225,.18), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(255,214,0,.18), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(239,90,76,.16), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(8,174,104,.1), transparent 30%),
    #f8f8f8 !important;
}

body[data-page="home"] .hero-model,
body[data-page="home"] .hero-model::before,
body[data-page="home"] .hero-model::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

body[data-page="home"] .hero::before {
  inset: 0 !important;
  height: auto !important;
  border-radius: inherit !important;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,.9) 0 44%, transparent 78%),
    radial-gradient(ellipse at 0% 100%, rgba(255,214,0,.16), transparent 38%),
    radial-gradient(ellipse at 100% 100%, rgba(239,90,76,.14), transparent 40%),
    radial-gradient(ellipse at 100% 0%, rgba(41,174,225,.14), transparent 38%) !important;
  opacity: 1 !important;
  filter: blur(26px) !important;
  pointer-events: none !important;
}

/* FINAL TOP-CORNER CLEANUP: remove blurred color blocks near the top corners. */
body[data-page="home"] .hero {
  background:
    radial-gradient(ellipse at center, #fff 0 44%, rgba(255,255,255,.97) 58%, rgba(255,255,255,.76) 75%, transparent 100%),
    radial-gradient(circle at 0% 100%, rgba(255,214,0,.16), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(239,90,76,.14), transparent 36%),
    radial-gradient(circle at 55% 100%, rgba(8,174,104,.08), transparent 32%),
    #f8f8f8 !important;
}

body[data-page="home"] .hero::before {
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,.94) 0 48%, transparent 82%),
    radial-gradient(ellipse at 0% 100%, rgba(255,214,0,.12), transparent 38%),
    radial-gradient(ellipse at 100% 100%, rgba(239,90,76,.1), transparent 40%) !important;
}

/* FINAL EDGE TREATMENT: full-bleed square hero with a soft transition into content. */
body[data-page="home"] .hero {
  min-height: 100svh !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body[data-page="home"] .hero::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: clamp(120px, 18vh, 210px) !important;
  background: linear-gradient(
    180deg,
    rgba(248,248,248,0) 0%,
    rgba(248,248,248,.55) 58%,
    #f8f8f8 100%
  ) !important;
  pointer-events: none !important;
}

body[data-page="home"] .hero > .hero-content,
body[data-page="home"] .site-header {
  z-index: 5 !important;
}

/* FINAL FULL-BLEED HERO: square corners, no outer whitespace. */
html,
body[data-page="home"] {
  margin: 0 !important;
  padding: 0 !important;
  background: #f8f8f8 !important;
}

body[data-page="home"] .hero {
  width: 100vw !important;
  min-height: 100svh !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body[data-page="home"] .site-header {
  inset: 24px 0 auto !important;
  padding-inline: clamp(24px, 4vw, 64px) !important;
}

/* FINAL SECTION BLEND: hero fades smoothly into About without a hard seam. */
body[data-page="home"] .hero {
  margin-bottom: -120px !important;
}

body[data-page="home"] .hero::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 2 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -1px !important;
  height: 260px !important;
  background:
    linear-gradient(180deg, rgba(248,248,248,0) 0%, rgba(248,248,248,.58) 48%, #f8f8f8 100%),
    radial-gradient(ellipse at 0% 20%, rgba(255,214,0,.08), transparent 42%),
    radial-gradient(ellipse at 100% 20%, rgba(239,90,76,.08), transparent 42%) !important;
  pointer-events: none !important;
}

body[data-page="home"] #about {
  position: relative !important;
  z-index: 3 !important;
  padding-top: clamp(150px, 17vw, 230px) !important;
  background:
    linear-gradient(180deg, rgba(248,248,248,0) 0%, #f8f8f8 130px),
    #f8f8f8 !important;
}

.bear-guide {
  --bear-accent: #FFD600;
  --guide-rx: 0deg;
  --guide-ry: 0deg;
  position: fixed;
  right: clamp(18px, 2.4vw, 38px);
  bottom: clamp(18px, 2.4vw, 34px);
  z-index: 950;
  width: 118px;
  height: 156px;
  padding: 0 5px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  box-shadow: none;
  cursor: pointer;
  filter: drop-shadow(0 4px 7px rgba(0,0,0,.12));
  transform: perspective(560px) rotateX(var(--guide-rx)) rotateY(var(--guide-ry)) translateY(0) scale(1);
  transform-style: preserve-3d;
  transition: transform .28s ease, filter .28s ease;
}

.bear-guide:hover {
  transform: perspective(560px) rotateX(var(--guide-rx)) rotateY(var(--guide-ry)) translateY(-6px) scale(1.06);
  filter: drop-shadow(0 7px 12px rgba(0,0,0,.16));
}

.bear-guide:focus-visible {
  outline: 3px solid var(--bear-accent);
  outline-offset: 4px;
}

.bear-svg {
  display: block;
  width: 108px;
  height: 144px;
  object-fit: contain;
  overflow: visible;
  mix-blend-mode: normal;
  transition: opacity .22s ease, transform .28s ease;
}

.guide-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 104px;
  height: 104px;
  border: 1px solid var(--bear-accent);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.78);
  transition: opacity .28s ease, transform .28s ease;
}

.guide-orbit::before,
.guide-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.guide-orbit::before {
  inset: 12px;
  border: 1px dashed var(--bear-accent);
  animation: guideOrbitSpin 12s linear infinite;
}

.guide-orbit::after {
  right: 9px;
  bottom: 18px;
  width: 10px;
  height: 10px;
  background: var(--bear-accent);
  box-shadow: 0 0 18px rgba(0,0,0,.12);
}

.bear-guide:hover .guide-orbit,
.bear-guide:focus-visible .guide-orbit {
  opacity: .82;
  transform: translate(-50%, -50%) scale(1);
}

.guide-hint {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 34px;
  width: max-content;
  max-width: 160px;
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: rgba(0,0,0,.62);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateX(8px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  white-space: nowrap;
}

.bear-guide:hover .guide-hint,
.bear-guide:focus-visible .guide-hint {
  opacity: 1;
  transform: translateX(0);
}

.bear-character {
  transform-origin: 50% 100%;
  animation: bearBreathe 3.2s ease-in-out infinite;
}

.bear-guide.is-switching .bear-character {
  animation: bearSwitch .42s ease both;
}

.bear-head,
.bear-ear,
.bear-body {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bear-helmet {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bear-helmet .helmet-fill {
  fill: var(--bear-accent);
  stroke: currentColor;
}

.bear-eye {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.bear-muzzle,
.bear-arm,
.bear-blueprint,
.bear-pointer,
.bear-medal {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bear-arm {
  transform-box: fill-box;
  transform-origin: top center;
  transition: transform .35s ease;
}

.bear-blueprint,
.bear-pointer,
.bear-medal {
  opacity: 0;
  transition: opacity .25s ease;
}

.bear-blueprint rect { fill: rgba(255,255,255,.94); }
.bear-medal circle { fill: var(--bear-accent); }

.bear-guide[data-state="home"] .bear-arm-right,
.bear-guide[data-state="contact"] .bear-arm-right {
  animation: bearWave 1.3s ease-in-out infinite;
}

.bear-guide[data-state="hero"] .bear-blueprint,
.bear-guide[data-state="about"] .bear-blueprint,
.bear-guide[data-state="brief"] .bear-blueprint { opacity: 1; }

.bear-guide[data-state="hero"] .bear-arm-right,
.bear-guide[data-state="about"] .bear-arm-right,
.bear-guide[data-state="brief"] .bear-arm-right { transform: rotate(-20deg); }

.bear-guide[data-state="architecture"] .bear-pointer,
.bear-guide[data-state="media"] .bear-pointer { opacity: 1; }

.bear-guide[data-state="architecture"] .bear-arm-right,
.bear-guide[data-state="media"] .bear-arm-right { transform: rotate(-42deg); }

.bear-guide[data-state="others"] .bear-medal,
.bear-guide[data-state="next"] .bear-medal { opacity: 1; }

.bear-guide[data-state="others"] .bear-arm-left,
.bear-guide[data-state="next"] .bear-arm-left { transform: rotate(18deg); }

.guide-progress {
  position: absolute;
  left: 50%;
  bottom: 2px;
  display: flex;
  gap: 3px;
  transform: translateX(-50%);
}

.guide-step {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--step-color);
  opacity: .25;
  transition: opacity .25s ease, transform .25s ease;
}

.guide-step.active {
  opacity: 1;
  transform: scale(1.45);
}

@keyframes bearBreathe {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(-1px) scaleY(1.018); }
}

@keyframes bearSwitch {
  0% { opacity: .45; transform: translateY(8px) scale(.92) rotate(-2deg); }
  55% { opacity: 1; transform: translateY(-4px) scale(1.05) rotate(1deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@keyframes guideOrbitSpin {
  to { transform: rotate(360deg); }
}

@keyframes bearWave {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-26deg); }
}

.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #29AEE1;
  opacity: 0;
  transform: translate(-50%, 4px) scale(.5);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.nav-links a.active::after {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.project-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --card-accent: #FFD600;
  transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform .2s ease, box-shadow .28s ease, border-color .28s ease;
  will-change: transform;
}

.project-art::after {
  display: none;
}

.project-card.is-pointing .project-art::after,
.project-card:hover .project-art::after,
.project-card:focus-within .project-art::after {
  display: none;
}

.project-card::before {
  content: "";
  position: absolute;
  right: 16px;
  top: calc(75% + 14px);
  z-index: 4;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--card-accent);
  box-shadow: -42px 7px 0 -7px var(--card-accent);
  opacity: 0;
  transform: scale(.5);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.project-card:hover,
.project-card:focus-within {
  transform: perspective(1100px) translateY(-5px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  border-color: var(--card-accent);
  box-shadow: 0 15px 35px rgba(0,0,0,.09);
}

.project-card:hover::before,
.project-card:focus-within::before {
  opacity: 1;
  transform: scale(1);
}

.project-arrow {
  transition: transform .25s ease, color .25s ease, background .25s ease;
}
.project-card:hover .project-arrow,
.project-card:focus-within .project-arrow {
  transform: translate(3px, -3px);
}

.project-hero-art,
.media-frame {
  --image-x: 50%;
  --image-y: 50%;
}

.image-lens {
  position: absolute;
  left: var(--image-x);
  top: var(--image-y);
  z-index: 4;
  width: 110px;
  height: 110px;
  border: 2px solid var(--image-accent);
  border-radius: 50%;
  background-image: radial-gradient(circle, var(--image-accent) 1.3px, transparent 1.5px);
  background-size: 8px 8px;
  opacity: 0;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%) scale(.7);
  transition: opacity .2s ease, transform .25s ease;
  pointer-events: none;
}

.project-hero-art.is-pointing .image-lens,
.media-frame.is-pointing .image-lens,
.project-hero-art:hover .image-lens,
.media-frame:hover .image-lens {
  opacity: .62;
  transform: translate(-50%, -50%) scale(1);
}

body[data-page="project"] .image-lens {
  display: none !important;
}

.section-heading .eyebrow,
.others-intro > .eyebrow,
.contact-content > .eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.loader-bar {
  background: #29AEE1;
  animation: loaderAccent 2.2s steps(1, end) infinite;
}

@keyframes loaderAccent {
  0% { background: #FFD600; }
  20% { background: #F05A49; }
  40% { background: #EA86B2; }
  60% { background: #29AEE1; }
  80%, 100% { background: #08AE68; }
}

@media (max-width: 680px) {
  .section-heading .eyebrow,
  .others-intro > .eyebrow,
  .contact-content > .eyebrow {
    font-size: 17px;
    letter-spacing: .1em;
  }
  .bear-guide {
    right: 12px;
    bottom: 12px;
    width: 70px;
    height: 97px;
    padding: 0 2px 8px;
  }
  .bear-svg { width: 66px; height: 89px; }
  .guide-progress { bottom: 2px; gap: 2px; }
  .guide-step { width: 3px; height: 3px; }
  .accent-solid { width: 86px; height: 86px; }
  .accent-ring { width: 42px; height: 42px; border-width: 5px; }
  .accent-halftone { width: 66px; height: 66px; background-size: 7px 7px; }
  .section-accent-dots::before {
    width: 440px;
    height: 330px;
    opacity: .22;
    filter: blur(30px);
  }
  .section-accent-dots::after {
    width: 240px;
    height: 180px;
    opacity: .14;
  }
  .image-lens { display: none; }
}

@media (hover: none) {
  .project-card,
  .project-card:hover,
  .project-card:focus-within {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .accent-shape,
  .bear-breathe,
  .bear-guide[data-state] .bear-arm-right,
  .loader-bar {
    animation: none !important;
  }
  .bear-guide,
  .project-card,
  .project-card:hover,
  .project-card:focus-within,
  .project-arrow {
    transform: none !important;
    transition-duration: .01ms !important;
  }
  .image-lens,
  .project-art::after {
    display: none !important;
  }
}

/* Bonsai-reference hero layout: white editorial cover + right 3D architecture model */
body[data-page="home"] .site-header {
  top: 0;
  padding-top: 18px;
}

body[data-page="home"] .nav-shell {
  min-width: min(760px, calc(100vw - 190px));
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-page="home"] .brand {
  position: fixed;
  top: 0;
  left: clamp(52px, 6vw, 88px);
  width: 58px;
  height: 112px;
  color: #fff;
  background: #222522;
  z-index: 1300;
}

body[data-page="home"] .brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  border-top: 20px solid #222522;
  border-left: 29px solid transparent;
  border-right: 29px solid transparent;
}

body[data-page="home"] .brand-ring {
  display: none;
}

body[data-page="home"] .brand b {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 18px;
}

body[data-page="home"] .nav-links {
  gap: clamp(22px, 4vw, 60px);
}

body[data-page="home"] .nav-links a {
  padding: 9px 2px;
  border-radius: 0;
  color: #555;
  font-size: 12px;
  letter-spacing: .02em;
}

body[data-page="home"] .nav-links a:hover,
body[data-page="home"] .nav-links a.active {
  background: transparent;
  color: #111;
}

body[data-page="home"] .nav-links a.active::after {
  bottom: 1px;
  width: 28px;
  height: 1px;
  border-radius: 0;
  background: #111;
}

body[data-page="home"] .lang-toggle {
  position: fixed;
  right: clamp(52px, 6vw, 88px);
  top: 30px;
  border: 0;
  color: #111;
}

.hero {
  --model-rot-x: -10deg;
  --model-rot-y: -34deg;
  min-height: 100svh;
  background: #fff;
  color: #111;
  border: clamp(4px, .55vw, 8px) solid #203f39;
  overflow: hidden;
}

.hero::before {
  z-index: 2;
  opacity: 1;
  mix-blend-mode: normal;
  background:
    linear-gradient(90deg, transparent 0 47.5%, #e9eeee 47.5% 100%),
    linear-gradient(180deg, transparent 0 41%, rgba(226,233,233,.78) 41% 61%, transparent 61% 100%);
  clip-path: inset(0 0 0 0);
}

.hero::after {
  content: "01";
  z-index: 3;
  display: grid;
  place-items: center;
  inset: 35% clamp(36px, 5vw, 78px) auto auto;
  width: clamp(160px, 18vw, 270px);
  height: clamp(128px, 13vw, 190px);
  background: transparent;
  color: rgba(255,255,255,.86);
  font-family: var(--font-display);
  font-size: clamp(110px, 14vw, 210px);
  line-height: 1;
  pointer-events: none;
}

.hero-photo,
.hero-shade {
  display: none !important;
}

.hero-grid {
  display: block;
  z-index: 1;
  opacity: .14;
  background-image:
    linear-gradient(rgba(17,17,17,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,.08) 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: linear-gradient(90deg, #000 0 34%, transparent 34% 45%, #000 45% 100%);
  mask-image: linear-gradient(90deg, #000 0 34%, transparent 34% 45%, #000 45% 100%);
}

.hero > .hero-content {
  position: absolute !important;
  left: clamp(106px, 11vw, 170px) !important;
  top: 29% !important;
  bottom: auto !important;
  z-index: 8;
  width: min(430px, 36vw) !important;
  transform: none !important;
  text-align: left !important;
  color: #111;
}

.hero > .hero-content::before {
  content: "cynthia";
  display: block !important;
  position: absolute;
  left: clamp(-92px, -5.9vw, -62px);
  top: -8px;
  width: auto;
  height: auto;
  transform: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #111;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: clamp(48px, 5.3vw, 86px);
  font-weight: 300;
  line-height: .78;
  letter-spacing: -.08em;
}

.hero > .hero-content .eyebrow {
  position: relative;
  margin: 0 0 22px;
  padding-left: 78px;
  color: #111;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: none;
  white-space: nowrap;
}

.hero > .hero-content .eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 50px;
  height: 1px;
  background: #111;
}

.hero > .hero-content .eyebrow::after {
  content: "";
  position: absolute;
  left: -14px;
  top: calc(50% - 2px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #111;
}

.hero > .hero-content .hero-name {
  max-width: 420px;
  margin: 0 0 12px;
  color: #111;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-style: normal;
  font-size: clamp(42px, 4vw, 68px);
  font-weight: 300;
  letter-spacing: .08em;
  line-height: 1.03;
  text-transform: uppercase;
  text-shadow: none;
}

.hero > .hero-content .hero-role {
  display: block;
  width: fit-content;
  margin: 0 0 38px;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 2px solid #111;
  background: transparent;
  color: #111;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.35;
  white-space: nowrap;
}

.hero > .hero-content .hero-role em {
  color: #111;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-style: normal;
  font-weight: 400;
}

.hero > .hero-content .hero-copy {
  max-width: 330px;
  margin: 0;
  color: #777;
  font-size: 11px;
  line-height: 1.9;
}

.hero > .hero-content::after {
  display: none;
}

.hero-model {
  z-index: 6;
  display: grid;
  place-items: center;
  inset: 0 0 0 34%;
  padding: 0;
  pointer-events: none;
  perspective: 1300px;
}

.model-stage {
  width: clamp(420px, 44vw, 690px);
  height: clamp(420px, 44vw, 690px);
  transform: translate3d(calc(var(--hero-x) * 7px), calc(var(--hero-y) * 5px), 0);
}

.model-stage::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 16%;
  height: 30%;
  border: 2px solid #111;
  border-radius: 50%;
  transform: rotateX(70deg);
}

.model-stage::after {
  content: "DRAG TO ROTATE";
  position: absolute;
  left: 50%;
  bottom: 5.5%;
  transform: translateX(-50%);
  color: rgba(17,17,17,.42);
  font-size: 9px;
  letter-spacing: .18em;
  white-space: nowrap;
}

.model-ground {
  display: none;
}

.model-building {
  transform: rotateX(var(--model-rot-x)) rotateY(var(--model-rot-y)) rotateZ(0deg);
  animation: modelBreath 7s ease-in-out infinite;
}

.mass {
  filter: drop-shadow(22px 28px 22px rgba(0,0,0,.1));
}

.face {
  border-color: rgba(17,17,17,.23);
  background:
    linear-gradient(135deg, #fff, #e8e8e2),
    repeating-linear-gradient(90deg, rgba(17,17,17,.08) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, rgba(17,17,17,.06) 0 1px, transparent 1px 24px);
}

.face.top {
  background:
    linear-gradient(135deg, #fff, #f0f0eb),
    repeating-linear-gradient(90deg, rgba(17,17,17,.07) 0 1px, transparent 1px 18px);
}

.mass-a { --w: 190px; --h: 122px; --d: 124px; --x: -74px; --y: 62px; --z: 0px; --delay: .05s; }
.mass-b { --w: 108px; --h: 272px; --d: 102px; --x: 74px; --y: -34px; --z: 38px; --delay: .16s; }
.mass-c { --w: 82px; --h: 148px; --d: 86px; --x: -178px; --y: 42px; --z: 48px; --delay: .27s; }
.mass-d { --w: 246px; --h: 18px; --d: 132px; --x: 4px; --y: -128px; --z: 16px; --delay: .36s; }
.mass-e { --w: 78px; --h: 72px; --d: 78px; --x: 166px; --y: 82px; --z: -28px; --delay: .48s; }

.accent-mass .face {
  border-color: rgba(17,17,17,.16);
  background:
    linear-gradient(135deg, rgba(255,214,0,.9), rgba(240,90,73,.42)),
    repeating-linear-gradient(90deg, rgba(17,17,17,.1) 0 1px, transparent 1px 18px);
}

.model-axis {
  height: clamp(150px, 14vw, 220px);
  background: rgba(17,17,17,.2);
}

.axis-a { transform: translate3d(-240px, -118px, -45px); }
.axis-b { transform: translate3d(230px, -118px, 36px); }
.axis-c { transform: translate3d(8px, -220px, 78px); }

.model-orbit {
  width: 76%;
  height: 30%;
  left: 12%;
  bottom: 16%;
  border: 0;
  transform: rotateX(68deg) rotateZ(-8deg);
}

.model-orbit i {
  width: 8px;
  height: 8px;
}

.model-orbit i:nth-child(1) { left: 13%; top: 44%; background: #FFD600; }
.model-orbit i:nth-child(2) { left: 35%; top: 82%; background: #F05A49; }
.model-orbit i:nth-child(3) { left: 57%; top: 10%; background: #EA86B2; }
.model-orbit i:nth-child(4) { left: 76%; top: 70%; background: #29AEE1; }
.model-orbit i:nth-child(5) { left: 88%; top: 32%; background: #08AE68; }

.scroll-cue {
  z-index: 8;
  bottom: 34px;
  color: #aaa;
}

.scroll-cue span {
  display: none;
}

.scroll-cue::before,
.scroll-cue::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1px;
  bottom: -7px;
  background: #111;
}

.scroll-cue::before {
  right: 50%;
  transform: rotate(-18deg);
  transform-origin: right center;
}

.scroll-cue::after {
  left: 50%;
  transform: rotate(18deg);
  transform-origin: left center;
}

.hero .hero-content + .scroll-cue {}

.hero::selection {
  background: #FFD600;
}

.hero .model-stage + .hero-detail-card {
  display: none;
}

.hero .hero-content ~ .hero-corner-card {
  display: none;
}

.hero .hero-content {
  --decor-green: #08AE68;
}

.hero .hero-content .hero-copy::after {
  content: "";
  position: fixed;
  left: clamp(72px, 9vw, 138px);
  bottom: clamp(42px, 7vw, 88px);
  width: clamp(150px, 15vw, 235px);
  height: clamp(52px, 5.5vw, 86px);
  border: 2px solid #111;
  background:
    linear-gradient(90deg, transparent 0 36%, #08AE68 36% 78%, transparent 78%),
    linear-gradient(90deg, transparent, transparent);
  box-shadow: inset 0 -2px 0 rgba(17,17,17,.2);
  pointer-events: none;
}

@media (max-width: 820px) {
  body[data-page="home"] .brand {
    left: 22px;
    width: 48px;
    height: 84px;
  }

  body[data-page="home"] .brand::after {
    bottom: -16px;
    border-top-width: 16px;
    border-left-width: 24px;
    border-right-width: 24px;
  }

  body[data-page="home"] .nav-shell {
    min-width: 0;
  }

  body[data-page="home"] .nav-links {
    gap: 14px;
  }

  body[data-page="home"] .nav-links a:nth-child(n+4) {
    display: none;
  }

  body[data-page="home"] .lang-toggle {
    right: 18px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero::before {
    background:
      linear-gradient(180deg, transparent 0 33%, #e9eeee 33% 52%, transparent 52%),
      linear-gradient(90deg, transparent, transparent);
  }

  .hero::after {
    inset: 32% 14px auto auto;
    width: 126px;
    height: 100px;
    font-size: 92px;
  }

  .hero-model {
    inset: 70px 0 0 0;
    place-items: start center;
    transform: scale(.7);
    transform-origin: top center;
    opacity: .9;
  }

  .hero > .hero-content {
    left: 84px !important;
    right: 22px;
    top: auto !important;
    bottom: 106px !important;
    width: auto !important;
  }

  .hero > .hero-content::before {
    left: -60px;
    top: -6px;
    font-size: 46px;
  }

  .hero > .hero-content .eyebrow {
    padding-left: 54px;
    margin-bottom: 16px;
    white-space: normal;
  }

  .hero > .hero-content .eyebrow::before {
    width: 36px;
  }

  .hero > .hero-content .hero-name {
    max-width: 280px;
    font-size: clamp(34px, 10vw, 52px);
  }

  .hero > .hero-content .hero-role {
    white-space: normal;
    margin-bottom: 18px;
  }

  .hero > .hero-content .hero-copy {
    max-width: 260px;
  }

  .hero .hero-content .hero-copy::after {
    display: none;
  }
}

/* Dia-inspired final hero: prism glow on white stationery, no hero image. */
:root {
  --portfolio-spectrum: linear-gradient(90deg, #EA86B2 0%, #EF5A4C 22%, #FFD600 46%, #29AEE1 72%, #08AE68 100%);
}

body[data-page="home"] {
  background: #f8f8f8;
  color: #000;
}

body[data-page="home"] .site-header {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0 clamp(16px, 4vw, 48px);
  border: 0;
  background: transparent;
  pointer-events: none;
}

body[data-page="home"] .nav-shell {
  width: min(980px, calc(100vw - 32px));
  min-height: 58px;
  padding: 7px 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(10px, 2vw, 20px);
  align-items: center;
  border: 0;
  border-radius: 30px;
  background: rgba(239, 239, 239, .78);
  box-shadow: rgba(0, 0, 0, .08) 0 0 8px 0;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  pointer-events: auto;
}

body[data-page="home"] .brand {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  color: #000;
  transform: none;
}

body[data-page="home"] .brand::after {
  display: none;
}

body[data-page="home"] .brand-ring {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 50%;
  color: #000;
  font-size: 16px;
  background: rgba(255,255,255,.62);
}

body[data-page="home"] .brand-ring::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #29AEE1;
}

body[data-page="home"] .nav-links {
  position: static;
  justify-self: center;
  gap: clamp(12px, 2.8vw, 34px);
}

body[data-page="home"] .nav-links a {
  min-width: 0;
  height: auto;
  padding: 9px 4px;
  border-radius: 16px;
  background: transparent !important;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

body[data-page="home"] .nav-links a:hover,
body[data-page="home"] .nav-links a.active {
  color: #000;
}

body[data-page="home"] .nav-links a.active::after {
  bottom: 1px;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--portfolio-spectrum);
}

body[data-page="home"] .lang-toggle {
  position: static;
  justify-self: end;
  min-width: 86px;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 30px;
  background: #d9d9d9;
  box-shadow: none;
  color: rgba(0,0,0,.85);
  font-size: 14px;
}

body[data-page="home"] .hero {
  min-height: 100svh;
  padding: clamp(112px, 15vh, 154px) clamp(18px, 5vw, 56px) clamp(52px, 7vh, 76px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(34px, 5vh, 58px);
  border: 0;
  background:
    radial-gradient(circle at 14% 24%, rgba(255,214,0,.14), transparent 18%),
    radial-gradient(circle at 84% 20%, rgba(234,134,178,.12), transparent 22%),
    #f8f8f8;
  color: #000;
  overflow: hidden;
  isolation: isolate;
}

body[data-page="home"] .hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: clamp(290px, 46vh, 440px);
  width: min(980px, 82vw);
  height: clamp(130px, 19vw, 230px);
  border-radius: 999px;
  background: var(--portfolio-spectrum);
  opacity: .32;
  filter: blur(48px);
  transform: translateX(-50%) rotate(-3deg);
  pointer-events: none;
}

body[data-page="home"] .hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: clamp(382px, 61vh, 585px);
  width: min(780px, 72vw);
  height: 5px;
  border-radius: 999px;
  background: var(--portfolio-spectrum);
  transform: translateX(-50%);
  pointer-events: none;
}

body[data-page="home"] .hero-photo,
body[data-page="home"] .hero-grid,
body[data-page="home"] .hero-shade,
body[data-page="home"] .hero-corner-card {
  display: none !important;
}

body[data-page="home"] .hero > .hero-content {
  position: relative !important;
  inset: auto !important;
  z-index: 3;
  width: min(820px, 100%) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: none !important;
  text-align: center !important;
  color: #000;
}

body[data-page="home"] .hero > .hero-content::before,
body[data-page="home"] .hero > .hero-content::after,
body[data-page="home"] .hero > .hero-content .hero-copy::after {
  display: none !important;
  content: none !important;
}

body[data-page="home"] .hero > .hero-content .eyebrow {
  order: 1;
  margin: 0 0 20px;
  color: #636363;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

body[data-page="home"] .hero > .hero-content .eyebrow::before,
body[data-page="home"] .hero > .hero-content .eyebrow::after {
  display: none;
}

body[data-page="home"] .hero > .hero-content .hero-name {
  order: 2;
  max-width: 760px;
  margin: 0;
  color: #000;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-style: normal;
  font-size: clamp(54px, 7.2vw, 92px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.04em;
  text-transform: none;
}

body[data-page="home"] .hero > .hero-content .hero-copy {
  order: 3;
  max-width: 680px;
  margin: 22px auto 0;
  color: #636363;
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 400;
  line-height: 1.64;
  letter-spacing: 0;
}

body[data-page="home"] .hero > .hero-content .hero-role {
  order: 4;
  width: auto;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 0;
  padding: 13px 28px;
  border: 0;
  border-radius: 30px;
  background: #d9d9d9;
  box-shadow: none;
  color: rgba(0,0,0,.85);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: normal;
}

body[data-page="home"] .hero > .hero-content .hero-role::before,
body[data-page="home"] .hero > .hero-content .hero-role::after {
  display: none;
}

body[data-page="home"] .hero > .hero-content .hero-role em {
  color: rgba(0,0,0,.85);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-style: normal;
  font-weight: 500;
}

body[data-page="home"] .hero-model {
  position: relative;
  z-index: 2;
  inset: auto;
  width: min(1080px, 100%);
  height: clamp(210px, 29vw, 360px);
  display: block;
  margin: 0 auto;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.82)),
    rgba(255,255,255,.9);
  box-shadow: rgba(0,0,0,.08) 0 0 8px 0;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translate3d(calc(var(--hero-x, 0) * 6px), calc(var(--hero-y, 0) * 4px), 0);
  transition: transform .2s ease;
  pointer-events: none;
  overflow: hidden;
}

body[data-page="home"] .hero-model > * {
  display: none !important;
}

body[data-page="home"] .hero-model::before {
  content: "";
  position: absolute;
  inset: 26px 28px 72px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.08) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(rgba(0,0,0,.06) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(248,248,248,.9));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
}

body[data-page="home"] .hero-model::after {
  content: "";
  position: absolute;
  left: clamp(34px, 5vw, 76px);
  right: clamp(34px, 5vw, 76px);
  bottom: 32px;
  height: 86px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 50%, #FFD600 0 10px, transparent 11px),
    radial-gradient(circle at 31% 50%, #EF5A4C 0 10px, transparent 11px),
    radial-gradient(circle at 50% 50%, #EA86B2 0 10px, transparent 11px),
    radial-gradient(circle at 69% 50%, #29AEE1 0 10px, transparent 11px),
    radial-gradient(circle at 88% 50%, #08AE68 0 10px, transparent 11px),
    rgba(0,0,0,.035);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
}

body[data-page="home"] .scroll-cue {
  display: none !important;
}

@media (max-width: 820px) {
  body[data-page="home"] .site-header {
    inset: 12px 0 auto;
    padding-inline: 12px;
  }

  body[data-page="home"] .nav-shell {
    grid-template-columns: auto 1fr auto;
    min-height: 54px;
    border-radius: 27px;
  }

  body[data-page="home"] .nav-links {
    justify-self: center;
    gap: 12px;
  }

  body[data-page="home"] .nav-links a:nth-child(n+4) {
    display: none;
  }

  body[data-page="home"] .nav-links a {
    font-size: 13px;
  }

  body[data-page="home"] .brand-ring {
    width: 38px;
    height: 38px;
  }

  body[data-page="home"] .hero {
    min-height: 820px;
    padding-top: 104px;
    gap: 28px;
  }

  body[data-page="home"] .hero > .hero-content {
    width: min(560px, 100%) !important;
  }

  body[data-page="home"] .hero > .hero-content .hero-name {
    font-size: clamp(46px, 14vw, 66px);
  }

  body[data-page="home"] .hero > .hero-content .hero-copy {
    max-width: 440px;
  }

  body[data-page="home"] .hero-model {
    height: 250px;
    border-radius: 24px;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .nav-links {
    display: none;
  }

  body[data-page="home"] .lang-toggle {
    min-width: 74px;
  }

  body[data-page="home"] .hero {
    min-height: 760px;
    padding-inline: 16px;
  }

  body[data-page="home"] .hero > .hero-content .eyebrow {
    font-size: 14px;
  }

  body[data-page="home"] .hero > .hero-content .hero-name {
    font-size: clamp(40px, 15vw, 56px);
  }

  body[data-page="home"] .hero > .hero-content .hero-role {
    padding-inline: 20px;
    font-size: 14px;
  }

  body[data-page="home"] .hero-model {
    height: 220px;
  }
}

/* Final hero direction: white editorial card with architectural model. */
body[data-page="home"] .hero {
  min-height: 100svh;
  padding: clamp(62px, 7vw, 92px) clamp(24px, 5vw, 58px) clamp(34px, 4vw, 52px);
  background: #24483f;
  color: #111;
  overflow: hidden;
  isolation: isolate;
}

body[data-page="home"] .hero::before {
  content: "";
  position: absolute;
  inset: clamp(54px, 7vw, 86px) clamp(24px, 5vw, 54px) clamp(34px, 4vw, 48px);
  z-index: 1;
  background: #fff;
  box-shadow: 0 28px 70px rgba(8, 24, 20, .28);
}

body[data-page="home"] .hero::after {
  content: "01";
  position: absolute;
  z-index: 2;
  right: clamp(46px, 7vw, 92px);
  top: 39%;
  width: min(51vw, 720px);
  height: clamp(96px, 14vw, 165px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: clamp(34px, 5vw, 82px);
  background: #e8eeee;
  color: #fff;
  font-family: "Instrument Serif", serif;
  font-size: clamp(92px, 12vw, 190px);
  line-height: .75;
  pointer-events: none;
}

body[data-page="home"] .hero-photo,
body[data-page="home"] .hero-grid,
body[data-page="home"] .hero-shade {
  display: none !important;
}

body[data-page="home"] .site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: clamp(58px, 7vw, 90px) clamp(54px, 8vw, 115px) 0;
  background: transparent;
  border: 0;
  pointer-events: none;
}

body[data-page="home"] .nav-shell {
  position: relative;
  width: 100%;
  min-height: 56px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  pointer-events: auto;
}

body[data-page="home"] .brand {
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 92px;
  display: grid;
  place-items: center;
  background: #202020;
  color: #fff;
  border-radius: 0;
  transform: translateY(-1px);
}

body[data-page="home"] .brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  border-left: 27px solid transparent;
  border-right: 27px solid transparent;
  border-top: 20px solid #202020;
}

body[data-page="home"] .brand-ring {
  width: 24px;
  height: 24px;
  border-color: rgba(255,255,255,.7);
  color: #fff;
  font-size: 12px;
}

body[data-page="home"] .nav-links {
  position: absolute;
  top: 19px;
  left: clamp(116px, 13vw, 190px);
  gap: clamp(34px, 5vw, 72px);
}

body[data-page="home"] .nav-links a {
  min-width: auto;
  height: auto;
  padding: 0;
  background: transparent !important;
  color: #444;
  font-size: 11px;
  letter-spacing: .04em;
}

body[data-page="home"] .nav-links a.active {
  color: #111;
}

body[data-page="home"] .nav-links a.active::after {
  bottom: -10px;
  width: 20px;
  height: 2px;
  border-radius: 0;
  background: #111;
}

body[data-page="home"] .lang-toggle {
  position: absolute;
  top: 16px;
  right: clamp(24px, 3vw, 44px);
  min-width: 84px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #444;
  font-size: 11px;
}

body[data-page="home"] .hero > .hero-content {
  position: absolute;
  z-index: 6;
  top: 32%;
  left: clamp(118px, 13vw, 200px);
  bottom: auto;
  width: min(420px, 34vw);
  transform: none !important;
  color: #111;
  text-align: left;
}

body[data-page="home"] .hero > .hero-content::before {
  content: "cynthia";
  position: absolute;
  left: clamp(-94px, -5.8vw, -62px);
  top: -8px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #111;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: clamp(50px, 5.6vw, 86px);
  font-weight: 300;
  line-height: .82;
  letter-spacing: -.08em;
  text-transform: lowercase;
  opacity: .94;
}

body[data-page="home"] .hero > .hero-content::after {
  content: "";
  position: absolute;
  left: clamp(-74px, -4.8vw, -48px);
  top: 18px;
  width: 42px;
  height: 2px;
  background: #111;
}

body[data-page="home"] .hero > .hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: #222;
  font-size: 11px;
  letter-spacing: .2em;
}

body[data-page="home"] .hero > .hero-content .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef5a4c;
}

body[data-page="home"] .hero > .hero-content .eyebrow::after {
  content: "";
  width: 48px;
  height: 2px;
  background: #111;
  order: 2;
}

body[data-page="home"] .hero > .hero-content .hero-name {
  max-width: 420px;
  margin: 0;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-style: normal;
  font-size: clamp(34px, 3.7vw, 58px);
  font-weight: 300;
  line-height: .96;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body[data-page="home"] .hero > .hero-content .hero-role {
  width: auto;
  min-height: 0;
  margin: 12px 0 0;
  color: #111;
  font-size: clamp(13px, 1.15vw, 17px);
  line-height: 1.6;
  letter-spacing: .12em;
  white-space: normal;
}

body[data-page="home"] .hero > .hero-content .hero-role em {
  color: #111;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-style: normal;
  font-weight: 400;
}

body[data-page="home"] .hero > .hero-content .hero-copy {
  max-width: 330px;
  margin-top: 28px;
  color: #7a7a7a;
  font-size: 11px;
  line-height: 1.85;
  letter-spacing: .04em;
}

body[data-page="home"] .hero > .hero-content .hero-copy::after {
  content: none;
  display: none;
}

body[data-page="home"] .hero-model {
  position: absolute;
  z-index: 5;
  inset: clamp(96px, 11vw, 140px) clamp(58px, 8vw, 112px) clamp(70px, 8vw, 104px) 38%;
  display: block;
  background: none;
  transform: translate3d(calc(var(--hero-x, 0) * 8px), calc(var(--hero-y, 0) * 5px), 0);
  transition: transform .28s ease-out;
  pointer-events: none;
}

body[data-page="home"] .hero-model > * {
  display: none !important;
}

body[data-page="home"] .hero-model::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 8%;
  bottom: 8%;
  height: 21%;
  border: 2px solid rgba(17,17,17,.9);
  border-radius: 50%;
  transform: rotateX(68deg);
  transform-origin: center;
}

body[data-page="home"] .hero-model::after {
  content: "";
  position: absolute;
  left: 29%;
  right: 19%;
  bottom: 5%;
  height: 7%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.18), rgba(0,0,0,0) 66%);
  filter: blur(10px);
}

body[data-page="home"] .hero-corner-card {
  position: absolute;
  display: block;
  z-index: 7;
  left: clamp(84px, 8vw, 140px);
  bottom: clamp(56px, 6vw, 86px);
  width: clamp(160px, 16vw, 236px);
  height: clamp(54px, 5.6vw, 82px);
  border: 2px solid #111;
}

body[data-page="home"] .hero-corner-card::before {
  content: "";
  position: absolute;
  left: 35%;
  bottom: -2px;
  width: 48%;
  height: 62%;
  background: #08ae68;
}

body[data-page="home"] .hero-corner-card::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -28px;
  width: 66px;
  height: 50px;
  border: 2px solid #111;
  background: transparent;
}

body[data-page="home"] .hero-corner-card span {
  position: absolute;
  left: -2px;
  bottom: 18px;
  z-index: 2;
  width: 48%;
  height: 2px;
  background: #111;
}

body[data-page="home"] .scroll-cue {
  display: block;
  z-index: 7;
  right: clamp(72px, 8vw, 118px);
  bottom: clamp(48px, 5vw, 78px);
  color: #555;
}

body[data-page="home"] .scroll-cue span {
  opacity: .45;
}

body[data-page="home"] .scroll-cue i {
  background: #111;
}

@media (max-width: 980px) {
  body[data-page="home"] .hero {
    min-height: 900px;
    padding: 22px;
  }

  body[data-page="home"] .hero::before {
    inset: 22px;
  }

  body[data-page="home"] .site-header {
    padding: 22px 34px 0;
  }

  body[data-page="home"] .brand {
    width: 44px;
    height: 72px;
  }

  body[data-page="home"] .brand::after {
    bottom: -16px;
    border-left-width: 22px;
    border-right-width: 22px;
    border-top-width: 16px;
  }

  body[data-page="home"] .nav-links {
    left: 88px;
    gap: 22px;
  }

  body[data-page="home"] .nav-links a:nth-child(n+5) {
    display: none;
  }

  body[data-page="home"] .hero > .hero-content {
    top: 190px !important;
    left: 112px !important;
    width: min(360px, calc(100% - 145px)) !important;
  }

  body[data-page="home"] .hero-model {
    inset: auto 22px 92px 22px;
    height: 48vh;
    min-height: 330px;
  }

  body[data-page="home"] .hero::after {
    top: auto;
    bottom: 190px;
    right: 22px;
    width: calc(100% - 44px);
    height: 100px;
  }

  body[data-page="home"] .hero-corner-card {
    display: none;
  }
}

@media (max-width: 620px) {
  body[data-page="home"] .hero {
    min-height: 820px;
  }

  body[data-page="home"] .nav-links {
    display: none;
  }

  body[data-page="home"] .lang-toggle {
    right: 0;
  }

  body[data-page="home"] .hero > .hero-content {
    top: 152px !important;
    left: 86px !important;
    width: calc(100% - 112px) !important;
  }

  body[data-page="home"] .hero > .hero-content::before {
    left: -58px;
    font-size: 46px;
  }

  body[data-page="home"] .hero > .hero-content::after {
    left: -46px;
    width: 30px;
  }

  body[data-page="home"] .hero > .hero-content .hero-name {
    font-size: clamp(30px, 10vw, 42px);
  }

  body[data-page="home"] .hero-model {
    height: 40vh;
    min-height: 280px;
  }
}

/* YOURHOME-reference hero: centered editorial copy + lower architecture model */
body[data-page="home"] .site-header {
  top: 0;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(17,17,17,.08);
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body[data-page="home"] .nav-shell {
  width: min(1180px, 100%);
  min-width: 0;
  justify-content: space-between;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-page="home"] .brand {
  position: relative;
  top: auto;
  left: auto;
  z-index: 2;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111;
  background: transparent;
}

body[data-page="home"] .brand::after {
  display: none;
}

body[data-page="home"] .brand-ring {
  display: block;
  position: relative;
  width: 26px;
  height: 26px;
  border: 1px solid #111;
  border-radius: 50%;
}

body[data-page="home"] .brand b {
  color: #111;
  font-size: 20px;
  letter-spacing: .04em;
}

body[data-page="home"] .nav-links {
  gap: clamp(22px, 4vw, 54px);
}

body[data-page="home"] .nav-links a {
  padding: 7px 0;
  color: #555;
  border-radius: 0;
  font-size: 12px;
}

body[data-page="home"] .nav-links a:hover,
body[data-page="home"] .nav-links a.active {
  color: #111;
  background: transparent;
}

body[data-page="home"] .nav-links a.active::after {
  bottom: 0;
  width: 26px;
  height: 1px;
  background: #111;
  border-radius: 0;
}

body[data-page="home"] .lang-toggle {
  position: relative;
  top: auto;
  right: auto;
  border: 0;
}

.hero {
  --model-rot-x: -8deg;
  --model-rot-y: -28deg;
  min-height: 100svh;
  border: 0;
  background:
    linear-gradient(90deg, rgba(17,17,17,.055) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(17,17,17,.045) 1px, transparent 1px) 0 0 / 64px 64px,
    #fff;
  color: #111;
}

.hero::before {
  z-index: 1;
  opacity: 1;
  background:
    radial-gradient(circle at 12% 82%, rgba(255,214,0,.18), transparent 14%),
    radial-gradient(circle at 86% 28%, rgba(234,134,178,.12), transparent 13%),
    radial-gradient(circle at 92% 76%, rgba(41,174,225,.1), transparent 14%);
}

.hero::after {
  display: none;
}

.hero-photo,
.hero-grid,
.hero-shade {
  display: none !important;
}

.hero > .hero-content {
  position: absolute !important;
  left: 50% !important;
  top: clamp(130px, 17vh, 178px) !important;
  bottom: auto !important;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(820px, calc(100% - 40px)) !important;
  transform: translateX(-50%) !important;
  text-align: center !important;
}

.hero > .hero-content::before,
.hero > .hero-content::after,
.hero .hero-content .hero-copy::after {
  display: none !important;
}

.hero > .hero-content .eyebrow {
  order: 1;
  margin: 0 0 16px;
  padding: 0;
  color: #777;
  font-size: 11px;
  letter-spacing: .28em;
  white-space: normal;
}

.hero > .hero-content .eyebrow::before,
.hero > .hero-content .eyebrow::after {
  display: none;
}

.hero > .hero-content .hero-name {
  order: 2;
  max-width: 720px;
  margin: 0;
  color: #111;
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(52px, 5.6vw, 86px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .98;
  text-transform: none;
}

.hero > .hero-content .hero-copy {
  order: 3;
  max-width: 650px;
  margin: 24px auto 0;
  color: #777;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.82;
}

.hero > .hero-content .hero-role {
  order: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  width: min(760px, 92vw);
  min-height: 64px;
  margin: clamp(34px, 5vh, 54px) auto 0;
  padding: 10px 20px;
  border: 1px solid rgba(17,17,17,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 54px rgba(0,0,0,.06);
  color: #111;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}

.hero > .hero-content .hero-role::before,
.hero > .hero-content .hero-role::after {
  content: "";
  width: 26px;
  height: 26px;
  border: 1px solid rgba(17,17,17,.25);
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 45%, #FFD600 0 3px, transparent 3.5px),
    #fff;
}

.hero > .hero-content .hero-role::after {
  border-radius: 8px;
  background:
    linear-gradient(90deg, #29AEE1 0 20%, transparent 20% 40%, #EA86B2 40% 60%, transparent 60% 80%, #08AE68 80%),
    #fff;
}

.hero > .hero-content .hero-role em {
  color: #111;
  font-family: var(--font-display);
  font-style: italic;
}

.hero-model {
  z-index: 5;
  inset: auto 0 0;
  height: clamp(330px, 45vh, 500px);
  display: grid;
  place-items: center;
  padding: 0;
  perspective: 1400px;
}

.model-stage {
  width: clamp(430px, 50vw, 760px);
  height: clamp(300px, 35vw, 520px);
  transform: translate3d(calc(var(--hero-x) * 7px), calc(var(--hero-y) * 5px), 0);
}

.model-stage::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 15%;
  height: 26%;
  border: 1.5px solid rgba(17,17,17,.48);
  border-radius: 50%;
  transform: rotateX(70deg);
}

.model-stage::after {
  content: "";
  position: absolute;
  left: 26%;
  right: 26%;
  bottom: 8%;
  height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,.12);
  filter: blur(16px);
}

.model-ground {
  display: none;
}

.model-building {
  transform: rotateX(var(--model-rot-x)) rotateY(var(--model-rot-y)) rotateZ(0deg) translateY(18px);
  animation: modelBreath 7s ease-in-out infinite;
}

.mass {
  filter: drop-shadow(18px 24px 20px rgba(0,0,0,.09));
}

.face {
  border-color: rgba(17,17,17,.2);
  background:
    linear-gradient(135deg, #fff, #e6e6e0),
    repeating-linear-gradient(90deg, rgba(17,17,17,.08) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(0deg, rgba(17,17,17,.06) 0 1px, transparent 1px 22px);
}

.face.top {
  background:
    linear-gradient(135deg, #fff, #f1f1ec),
    repeating-linear-gradient(90deg, rgba(17,17,17,.07) 0 1px, transparent 1px 18px);
}

.mass-a { --w: 260px; --h: 74px; --d: 128px; --x: -32px; --y: 64px; --z: 0px; --delay: .05s; }
.mass-b { --w: 86px; --h: 190px; --d: 92px; --x: 66px; --y: -40px; --z: 42px; --delay: .16s; }
.mass-c { --w: 92px; --h: 114px; --d: 90px; --x: -150px; --y: 26px; --z: 52px; --delay: .27s; }
.mass-d { --w: 310px; --h: 16px; --d: 116px; --x: 8px; --y: -112px; --z: 16px; --delay: .36s; }
.mass-e { --w: 68px; --h: 58px; --d: 68px; --x: 176px; --y: 44px; --z: -28px; --delay: .48s; }

.accent-mass .face {
  border-color: rgba(17,17,17,.18);
  background:
    linear-gradient(135deg, rgba(255,214,0,.9), rgba(240,90,73,.45)),
    repeating-linear-gradient(90deg, rgba(17,17,17,.1) 0 1px, transparent 1px 18px);
}

.model-axis {
  height: clamp(128px, 13vw, 210px);
  background: rgba(17,17,17,.18);
}

.axis-a { transform: translate3d(-240px, -78px, -45px); }
.axis-b { transform: translate3d(238px, -70px, 36px); }
.axis-c { transform: translate3d(8px, -188px, 78px); }

.model-orbit {
  width: 72%;
  height: 28%;
  left: 14%;
  bottom: 16%;
  border: 0;
  transform: rotateX(68deg) rotateZ(-4deg);
}

.model-orbit i {
  width: 7px;
  height: 7px;
}

.model-stage .model-orbit::before,
.model-stage .model-orbit::after {
  content: "";
  position: absolute;
  left: 48%;
  bottom: -18px;
  width: 18px;
  height: 1px;
  background: #111;
}

.model-stage .model-orbit::before {
  transform: rotate(-22deg);
}

.model-stage .model-orbit::after {
  transform: translateX(18px) rotate(22deg);
}

.scroll-cue {
  display: none;
}

@media (max-width: 820px) {
  body[data-page="home"] .site-header {
    padding: 14px 18px;
  }

  body[data-page="home"] .brand-ring {
    width: 22px;
    height: 22px;
  }

  body[data-page="home"] .nav-links {
    gap: 16px;
  }

  body[data-page="home"] .nav-links a:nth-child(n+4) {
    display: none;
  }

  .hero > .hero-content {
    top: 120px !important;
    width: min(520px, calc(100% - 32px)) !important;
  }

  .hero > .hero-content .hero-name {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero > .hero-content .hero-copy {
    margin-top: 16px;
    max-width: 360px;
    font-size: 12px;
  }

  .hero > .hero-content .hero-role {
    width: min(440px, 94vw);
    min-height: 54px;
    gap: 12px;
    margin-top: 24px;
    font-size: 12px;
    white-space: normal;
  }

  .hero-model {
    height: 42vh;
  }

  .model-stage {
    width: 420px;
    height: 310px;
    transform: scale(.78);
  }
}

/* FINAL ACTIVE HERO: Dia reference, five-color prism, no image. */
body[data-page="home"] {
  background: #f8f8f8 !important;
}

body[data-page="home"] .site-header {
  position: fixed !important;
  inset: 18px 0 auto !important;
  z-index: 50 !important;
  display: flex !important;
  justify-content: center !important;
  padding: 0 16px !important;
  border: 0 !important;
  background: transparent !important;
  pointer-events: none !important;
}

body[data-page="home"] .nav-shell {
  position: relative !important;
  width: min(980px, calc(100vw - 32px)) !important;
  min-height: 58px !important;
  padding: 7px 10px !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  gap: clamp(10px, 2vw, 20px) !important;
  align-items: center !important;
  border: 0 !important;
  border-radius: 30px !important;
  background: rgba(239, 239, 239, .78) !important;
  box-shadow: rgba(0, 0, 0, .08) 0 0 8px 0 !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  pointer-events: auto !important;
}

body[data-page="home"] .brand {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  background: transparent !important;
  color: #000 !important;
  transform: none !important;
}

body[data-page="home"] .brand::after {
  display: none !important;
}

body[data-page="home"] .brand-ring {
  width: 42px !important;
  height: 42px !important;
  border: 1px solid rgba(0,0,0,.2) !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.62) !important;
  color: #000 !important;
}

body[data-page="home"] .nav-links {
  position: static !important;
  justify-self: center !important;
  gap: clamp(12px, 2.8vw, 34px) !important;
}

body[data-page="home"] .nav-links a {
  min-width: 0 !important;
  height: auto !important;
  padding: 9px 4px !important;
  border-radius: 16px !important;
  background: transparent !important;
  color: #000 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

body[data-page="home"] .nav-links a.active::after {
  bottom: 1px !important;
  width: 28px !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: var(--portfolio-spectrum) !important;
}

body[data-page="home"] .lang-toggle {
  position: static !important;
  justify-self: end !important;
  min-width: 86px !important;
  height: 38px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 30px !important;
  background: #d9d9d9 !important;
  box-shadow: none !important;
  color: rgba(0,0,0,.85) !important;
  font-size: 14px !important;
}

body[data-page="home"] .hero {
  min-height: 100svh !important;
  padding: clamp(112px, 15vh, 154px) clamp(18px, 5vw, 56px) clamp(52px, 7vh, 76px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: clamp(34px, 5vh, 58px) !important;
  border: 0 !important;
  background:
    radial-gradient(circle at 14% 24%, rgba(255,214,0,.14), transparent 18%),
    radial-gradient(circle at 84% 20%, rgba(234,134,178,.12), transparent 22%),
    #f8f8f8 !important;
  color: #000 !important;
  overflow: hidden !important;
}

body[data-page="home"] .hero::before {
  content: "" !important;
  position: absolute !important;
  z-index: 0 !important;
  left: 50% !important;
  top: clamp(290px, 46vh, 440px) !important;
  width: min(980px, 82vw) !important;
  height: clamp(130px, 19vw, 230px) !important;
  border-radius: 999px !important;
  background: var(--portfolio-spectrum) !important;
  opacity: .32 !important;
  filter: blur(48px) !important;
  transform: translateX(-50%) rotate(-3deg) !important;
  pointer-events: none !important;
}

body[data-page="home"] .hero::after {
  content: "" !important;
  position: absolute !important;
  z-index: 0 !important;
  left: 50% !important;
  top: clamp(382px, 61vh, 585px) !important;
  width: min(780px, 72vw) !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: var(--portfolio-spectrum) !important;
  transform: translateX(-50%) !important;
  pointer-events: none !important;
}

body[data-page="home"] .hero-photo,
body[data-page="home"] .hero-grid,
body[data-page="home"] .hero-shade,
body[data-page="home"] .hero-corner-card {
  display: none !important;
}

body[data-page="home"] .hero > .hero-content {
  position: relative !important;
  inset: auto !important;
  z-index: 3 !important;
  width: min(820px, 100%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  transform: none !important;
  text-align: center !important;
  color: #000 !important;
}

body[data-page="home"] .hero > .hero-content::before,
body[data-page="home"] .hero > .hero-content::after,
body[data-page="home"] .hero > .hero-content .hero-copy::after,
body[data-page="home"] .hero > .hero-content .eyebrow::before,
body[data-page="home"] .hero > .hero-content .eyebrow::after,
body[data-page="home"] .hero > .hero-content .hero-role::before,
body[data-page="home"] .hero > .hero-content .hero-role::after {
  display: none !important;
  content: none !important;
}

body[data-page="home"] .hero > .hero-content .eyebrow {
  order: 1 !important;
  margin: 0 0 20px !important;
  color: #636363 !important;
  font-size: clamp(15px, 1.3vw, 18px) !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body[data-page="home"] .hero > .hero-content .hero-name {
  order: 2 !important;
  max-width: 760px !important;
  margin: 0 !important;
  color: #000 !important;
  font-family: "Inter", "Noto Sans SC", sans-serif !important;
  font-style: normal !important;
  font-size: clamp(54px, 7.2vw, 92px) !important;
  font-weight: 300 !important;
  line-height: 1.06 !important;
  letter-spacing: -.04em !important;
  text-transform: none !important;
}

body[data-page="home"] .hero > .hero-content .hero-copy {
  order: 3 !important;
  max-width: 680px !important;
  margin: 22px auto 0 !important;
  color: #636363 !important;
  font-size: clamp(14px, 1.25vw, 17px) !important;
  font-weight: 400 !important;
  line-height: 1.64 !important;
  letter-spacing: 0 !important;
}

body[data-page="home"] .hero > .hero-content .hero-role {
  order: 4 !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 28px auto 0 !important;
  padding: 13px 28px !important;
  border: 0 !important;
  border-radius: 30px !important;
  background: #d9d9d9 !important;
  box-shadow: none !important;
  color: rgba(0,0,0,.85) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
}

body[data-page="home"] .hero > .hero-content .hero-role em {
  color: rgba(0,0,0,.85) !important;
  font-family: "Inter", "Noto Sans SC", sans-serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
}

body[data-page="home"] .hero-model {
  position: relative !important;
  z-index: 2 !important;
  inset: auto !important;
  width: min(1080px, 100%) !important;
  height: clamp(210px, 29vw, 360px) !important;
  display: block !important;
  margin: 0 auto !important;
  border-radius: 30px !important;
  background: rgba(255,255,255,.9) !important;
  box-shadow: rgba(0,0,0,.08) 0 0 8px 0 !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  transform: translate3d(calc(var(--hero-x, 0) * 6px), calc(var(--hero-y, 0) * 4px), 0) !important;
  transition: transform .2s ease !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

body[data-page="home"] .hero-model > * {
  display: none !important;
}

body[data-page="home"] .hero-model::before {
  content: "" !important;
  position: absolute !important;
  inset: 26px 28px 72px !important;
  border: 0 !important;
  border-radius: 10px !important;
  transform: none !important;
  background:
    linear-gradient(90deg, rgba(0,0,0,.08) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(rgba(0,0,0,.06) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(248,248,248,.9)) !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05) !important;
  filter: none !important;
}

body[data-page="home"] .hero-model::after {
  content: "" !important;
  position: absolute !important;
  left: clamp(34px, 5vw, 76px) !important;
  right: clamp(34px, 5vw, 76px) !important;
  bottom: 32px !important;
  height: 86px !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 12% 50%, #FFD600 0 10px, transparent 11px),
    radial-gradient(circle at 31% 50%, #EF5A4C 0 10px, transparent 11px),
    radial-gradient(circle at 50% 50%, #EA86B2 0 10px, transparent 11px),
    radial-gradient(circle at 69% 50%, #29AEE1 0 10px, transparent 11px),
    radial-gradient(circle at 88% 50%, #08AE68 0 10px, transparent 11px),
    rgba(0,0,0,.035) !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04) !important;
  filter: none !important;
  transform: none !important;
}

body[data-page="home"] .scroll-cue {
  display: none !important;
}

@media (max-width: 820px) {
  body[data-page="home"] .nav-links a:nth-child(n+4) {
    display: none !important;
  }

  body[data-page="home"] .hero {
    min-height: 820px !important;
    padding-top: 104px !important;
    gap: 28px !important;
  }

  body[data-page="home"] .hero > .hero-content .hero-name {
    font-size: clamp(46px, 14vw, 66px) !important;
  }

  body[data-page="home"] .hero-model {
    height: 250px !important;
    border-radius: 24px !important;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .nav-links {
    display: none !important;
  }

  body[data-page="home"] .hero {
    min-height: 760px !important;
  }

  body[data-page="home"] .hero > .hero-content .hero-name {
    font-size: clamp(40px, 15vw, 56px) !important;
  }

  body[data-page="home"] .hero-model {
    height: 220px !important;
  }
}

/* FINAL REFERO/DIA HERO: rounded browser canvas + five-color ambient gradient. */
body[data-page="home"] {
  background: #f8f8f8 !important;
  color: #000 !important;
}

body[data-page="home"] .site-header {
  position: absolute !important;
  inset: 38px 0 auto !important;
  z-index: 60 !important;
  display: flex !important;
  justify-content: center !important;
  padding: 0 clamp(34px, 4vw, 56px) !important;
  border: 0 !important;
  background: transparent !important;
  pointer-events: none !important;
}

body[data-page="home"] .nav-shell {
  width: min(1370px, calc(100vw - 68px)) !important;
  min-height: 48px !important;
  display: grid !important;
  grid-template-columns: minmax(360px, 1fr) auto minmax(160px, 1fr) !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: auto !important;
}

body[data-page="home"] .brand {
  justify-self: start !important;
  gap: 10px !important;
}

body[data-page="home"] .brand-ring {
  width: 24px !important;
  height: 24px !important;
  border: 0 !important;
  background:
    radial-gradient(circle at 38% 52%, #000 0 8px, transparent 8.5px),
    radial-gradient(circle at 64% 52%, #000 0 8px, transparent 8.5px) !important;
  border-radius: 999px !important;
  color: transparent !important;
}

body[data-page="home"] .brand b {
  color: #222 !important;
  font-family: "Instrument Serif", serif !important;
  font-size: 22px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: -.02em !important;
}

body[data-page="home"] .nav-links {
  position: static !important;
  justify-self: start !important;
  margin-left: 16px !important;
  display: inline-flex !important;
  gap: 22px !important;
}

body[data-page="home"] .nav-links::after {
  display: none !important;
  content: none !important;
}

body[data-page="home"] .nav-shell::after {
  display: none !important;
  content: none !important;
}

body[data-page="home"] .nav-links a {
  display: inline-flex !important;
  align-items: center !important;
  height: 34px !important;
  padding: 0 !important;
  background: transparent !important;
  color: #636363 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

body[data-page="home"] .nav-links a.active,
body[data-page="home"] .nav-links a:hover {
  color: #000 !important;
}

body[data-page="home"] .nav-links a.active::after {
  display: none !important;
}

body[data-page="home"] .lang-toggle {
  justify-self: end !important;
  width: auto !important;
  min-width: 96px !important;
  height: 44px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: rgba(217,217,217,.58) !important;
  color: #222 !important;
  box-shadow: none !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

body[data-page="home"] .lang-toggle::before {
  display: none !important;
  content: none !important;
}

body[data-page="home"] .lang-toggle span,
body[data-page="home"] .lang-toggle i {
  display: inline-flex !important;
}

body[data-page="home"] .lang-toggle i {
  width: 1px !important;
  height: 16px !important;
  background: rgba(0,0,0,.22) !important;
}

body[data-page="home"] .hero {
  min-height: calc(100svh - 48px) !important;
  margin: 24px !important;
  padding: clamp(148px, 19vh, 190px) clamp(24px, 5vw, 64px) 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
  border: 1px solid rgba(124,124,124,.22) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,1) 0 34%, rgba(255,255,255,.92) 46%, rgba(255,255,255,.52) 62%, transparent 74%),
    radial-gradient(ellipse at 0% 12%, rgba(234,134,178,.18), transparent 32%),
    radial-gradient(ellipse at 100% 14%, rgba(41,174,225,.18), transparent 34%),
    radial-gradient(ellipse at 0% 100%, rgba(255,214,0,.24), transparent 36%),
    radial-gradient(ellipse at 100% 100%, rgba(239,90,76,.22), transparent 38%),
    radial-gradient(ellipse at 50% 100%, rgba(8,174,104,.11), transparent 34%),
    #f8f8f8 !important;
  box-shadow: rgba(0,0,0,.08) 0 0 8px 0 !important;
  color: #000 !important;
  overflow: hidden !important;
}

body[data-page="home"] .hero::before {
  content: "" !important;
  position: absolute !important;
  z-index: 0 !important;
  inset: auto -8% -6% !important;
  height: 38% !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #FFD600 0%, #EF5A4C 24%, #EA86B2 47%, #29AEE1 72%, #08AE68 100%) !important;
  opacity: .18 !important;
  filter: blur(70px) !important;
  transform: none !important;
  pointer-events: none !important;
}

body[data-page="home"] .hero::after {
  display: none !important;
  content: none !important;
}

body[data-page="home"] .hero-grid,
body[data-page="home"] .hero-shade,
body[data-page="home"] .hero-corner-card,
body[data-page="home"] .hero-photo {
  display: none !important;
}

body[data-page="home"] .hero > .hero-content {
  position: relative !important;
  inset: auto !important;
  z-index: 4 !important;
  width: min(740px, 100%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  transform: none !important;
  text-align: center !important;
}

body[data-page="home"] .hero > .hero-content .eyebrow {
  order: 1 !important;
  margin: 0 0 22px !important;
  color: #636363 !important;
  font-size: clamp(15px, 1.4vw, 19px) !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body[data-page="home"] .hero > .hero-content .hero-name {
  order: 2 !important;
  margin: 0 !important;
  max-width: 760px !important;
  color: #000 !important;
  font-family: "Inter", "Noto Sans SC", sans-serif !important;
  font-style: normal !important;
  font-size: clamp(48px, 5.6vw, 76px) !important;
  font-weight: 300 !important;
  line-height: 1.04 !important;
  letter-spacing: -.055em !important;
  text-transform: none !important;
}

body[data-page="home"] .hero > .hero-content .hero-copy {
  order: 3 !important;
  max-width: 560px !important;
  margin: 22px auto 0 !important;
  color: #636363 !important;
  font-size: clamp(14px, 1.15vw, 16px) !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}

body[data-page="home"] .hero > .hero-content .hero-role {
  order: 4 !important;
  min-height: 0 !important;
  width: auto !important;
  margin: 30px auto 0 !important;
  padding: 15px 30px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: #000 !important;
  color: #fff !important;
  box-shadow: rgba(0,0,0,.12) 0 8px 24px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

body[data-page="home"] .hero > .hero-content .hero-role em,
body[data-page="home"] .hero > .hero-content .hero-role span {
  color: #fff !important;
  font-family: "Inter", "Noto Sans SC", sans-serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
}

body[data-page="home"] .hero > .hero-content::before,
body[data-page="home"] .hero > .hero-content::after,
body[data-page="home"] .hero > .hero-content .eyebrow::before,
body[data-page="home"] .hero > .hero-content .eyebrow::after,
body[data-page="home"] .hero > .hero-content .hero-copy::after,
body[data-page="home"] .hero > .hero-content .hero-role::before,
body[data-page="home"] .hero > .hero-content .hero-role::after {
  display: none !important;
  content: none !important;
}

body[data-page="home"] .hero-model {
  position: absolute !important;
  z-index: 2 !important;
  left: 50% !important;
  right: auto !important;
  bottom: clamp(72px, 10vh, 116px) !important;
  width: min(940px, 66vw) !important;
  height: min(250px, 26vh) !important;
  min-height: 190px !important;
  margin: 0 !important;
  border-radius: 14px !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: translateX(-50%) !important;
  overflow: visible !important;
  pointer-events: none !important;
}

body[data-page="home"] .hero-model > * {
  display: none !important;
}

body[data-page="home"] .hero-model::before {
  content: "" !important;
  position: absolute !important;
  inset: 30px 7% 0 !important;
  border: 1px solid rgba(124,124,124,.14) !important;
  border-radius: 12px !important;
  background:
    linear-gradient(90deg, rgba(124,124,124,.12) 1px, transparent 1px) 0 0 / 50% 100%,
    linear-gradient(180deg, rgba(255,255,255,.46), rgba(255,255,255,.16)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65) !important;
  filter: none !important;
  transform: none !important;
}

body[data-page="home"] .hero-model::after {
  display: none !important;
  content: none !important;
}

body[data-page="home"] .scroll-cue {
  display: none !important;
}

@media (max-width: 900px) {
  body[data-page="home"] .site-header {
    inset: 30px 0 auto !important;
    padding-inline: 28px !important;
  }

  body[data-page="home"] .nav-shell {
    width: calc(100vw - 56px) !important;
    grid-template-columns: auto 1fr auto !important;
    padding-inline: 18px !important;
  }

  body[data-page="home"] .nav-links a:nth-child(n+4) {
    display: none !important;
  }

  body[data-page="home"] .nav-links::after {
    display: none !important;
  }

  body[data-page="home"] .hero {
    margin: 18px !important;
    min-height: calc(100svh - 36px) !important;
    padding-top: 138px !important;
  }

  body[data-page="home"] .hero > .hero-content .hero-name {
    font-size: clamp(46px, 12vw, 66px) !important;
  }

  body[data-page="home"] .hero-model {
    width: 86vw !important;
    height: 220px !important;
    bottom: 58px !important;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .nav-links {
    display: none !important;
  }

  body[data-page="home"] .lang-toggle {
    min-width: 102px !important;
    height: 40px !important;
  }

  body[data-page="home"] .hero {
    margin: 12px !important;
    border-radius: 24px !important;
    min-height: 760px !important;
    padding-inline: 20px !important;
  }

  body[data-page="home"] .hero > .hero-content .hero-name {
    font-size: clamp(40px, 14vw, 54px) !important;
  }

  body[data-page="home"] .hero-model {
    width: 92vw !important;
    height: 190px !important;
  }
}

/* FINAL PATCH: fix header overlap, remove frame blocks, soften gradient. */
body[data-page="home"] .nav-shell {
  grid-template-columns: auto minmax(560px, 1fr) auto !important;
  gap: 28px !important;
  overflow: visible !important;
}

body[data-page="home"] .nav-links {
  justify-self: center !important;
  margin-left: 0 !important;
  gap: clamp(22px, 3vw, 42px) !important;
}

body[data-page="home"] .nav-links a {
  display: inline-flex !important;
  white-space: nowrap !important;
}

body[data-page="home"] .nav-links a:nth-child(n) {
  display: inline-flex !important;
}

body[data-page="home"] .nav-shell::after {
  top: 76px !important;
  padding: 8px 26px !important;
  max-width: calc(100vw - 120px) !important;
  text-align: center !important;
}

body[data-page="home"] .lang-toggle {
  min-width: 76px !important;
  height: 34px !important;
  padding: 0 12px !important;
  border-radius: 15px !important;
  font-size: 13px !important;
  gap: 8px !important;
}

body[data-page="home"] .lang-toggle i {
  height: 14px !important;
}

body[data-page="home"] .hero {
  background:
    radial-gradient(ellipse at center, #fff 0 38%, rgba(255,255,255,.96) 50%, rgba(255,255,255,.78) 64%, rgba(255,255,255,.36) 78%, transparent 100%),
    radial-gradient(ellipse at 0% 0%, rgba(234,134,178,.18), transparent 42%),
    radial-gradient(ellipse at 100% 0%, rgba(41,174,225,.17), transparent 44%),
    radial-gradient(ellipse at 0% 100%, rgba(255,214,0,.22), transparent 45%),
    radial-gradient(ellipse at 100% 100%, rgba(239,90,76,.2), transparent 46%),
    radial-gradient(ellipse at 50% 100%, rgba(8,174,104,.1), transparent 42%),
    #f8f8f8 !important;
}

body[data-page="home"] .hero::before {
  inset: auto -10% -12% !important;
  height: 42% !important;
  opacity: .12 !important;
  filter: blur(86px) !important;
}

body[data-page="home"] .hero-model {
  display: none !important;
}

body[data-page="home"] .hero > .hero-content {
  width: min(860px, 100%) !important;
}

body[data-page="home"] .hero > .hero-content .hero-copy {
  max-width: 820px !important;
  text-align: center !important;
  line-height: 1.7 !important;
}

@media (max-width: 1120px) {
  body[data-page="home"] .nav-shell {
    grid-template-columns: auto 1fr auto !important;
    gap: 18px !important;
  }

  body[data-page="home"] .nav-links {
    gap: 18px !important;
  }

  body[data-page="home"] .nav-links a {
    font-size: 12px !important;
  }
}

@media (max-width: 900px) {
  body[data-page="home"] .nav-links a:nth-child(n+4) {
    display: inline-flex !important;
  }

  body[data-page="home"] .nav-shell::after {
    top: 82px !important;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .nav-links a:nth-child(n+4) {
    display: none !important;
  }
}

/* FINAL ALIGNMENT: center the hero text block within the header canvas. */
body[data-page="home"] .hero {
  min-height: calc(100svh - 48px) !important;
  padding: 0 clamp(24px, 5vw, 64px) !important;
  justify-content: center !important;
}

body[data-page="home"] .hero > .hero-content {
  position: absolute !important;
  left: 50% !important;
  top: 49% !important;
  width: min(820px, calc(100% - 48px)) !important;
  transform: translate(-50%, -50%) !important;
  text-align: center !important;
}

body[data-page="home"] .hero > .hero-content .eyebrow {
  margin-bottom: 22px !important;
}

body[data-page="home"] .hero > .hero-content .hero-name {
  font-size: clamp(56px, 5.8vw, 82px) !important;
  line-height: 1.02 !important;
}

body[data-page="home"] .hero > .hero-content .hero-copy {
  margin-top: 24px !important;
}

body[data-page="home"] .hero > .hero-content .hero-role {
  margin-top: 34px !important;
}

@media (max-width: 760px) {
  body[data-page="home"] .hero > .hero-content {
    top: 51% !important;
    width: min(560px, calc(100% - 32px)) !important;
  }

  body[data-page="home"] .hero > .hero-content .hero-name {
    font-size: clamp(42px, 13vw, 58px) !important;
  }
}

/* FINAL HERO-TO-ABOUT BLEND: remove the card seam and dissolve into section 01. */
body[data-page="home"] {
  background:
    linear-gradient(180deg, #f8f8f8 0%, #f8f8f8 100%) !important;
}

body[data-page="home"] .hero {
  width: 100% !important;
  margin: 0 0 -150px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body[data-page="home"] .hero::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 3 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -150px !important;
  height: 300px !important;
  background:
    linear-gradient(180deg, rgba(248,248,248,0) 0%, rgba(248,248,248,.42) 38%, #f8f8f8 78%, #f8f8f8 100%),
    radial-gradient(ellipse at 0% 18%, rgba(255,214,0,.08), transparent 48%),
    radial-gradient(ellipse at 100% 18%, rgba(239,90,76,.07), transparent 48%),
    radial-gradient(ellipse at 58% 32%, rgba(41,174,225,.05), transparent 52%) !important;
  pointer-events: none !important;
}

body[data-page="home"] #about {
  position: relative !important;
  z-index: 4 !important;
  margin-top: 0 !important;
  padding-top: clamp(180px, 18vw, 260px) !important;
  background:
    linear-gradient(180deg, rgba(248,248,248,0) 0%, #f8f8f8 120px),
    #f8f8f8 !important;
}

/* FINAL SEAMLESS TRANSITION: extend the color field into section 01 with no band. */
body[data-page="home"] .hero {
  margin-bottom: -240px !important;
}

body[data-page="home"] .hero::after {
  bottom: -240px !important;
  height: 520px !important;
  z-index: 1 !important;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.2) 24%,
      rgba(248,248,248,.54) 52%,
      rgba(248,248,248,.88) 78%,
      #f8f8f8 100%),
    radial-gradient(ellipse at 0% 0%, rgba(255,214,0,.11), transparent 58%),
    radial-gradient(ellipse at 100% 0%, rgba(239,90,76,.08), transparent 56%),
    radial-gradient(ellipse at 46% 34%, rgba(41,174,225,.07), transparent 62%),
    radial-gradient(ellipse at 30% 68%, rgba(234,134,178,.045), transparent 64%) !important;
}

body[data-page="home"] #about {
  margin-top: 0 !important;
  padding-top: clamp(260px, 23vw, 340px) !important;
  background:
    linear-gradient(180deg,
      rgba(248,248,248,0) 0%,
      rgba(248,248,248,.5) 30%,
      #f8f8f8 72%,
      #f8f8f8 100%) !important;
}

/* FINAL FIVE-COLOR HERO FIELD: one continuous gradient, no rectangular overlays. */
body[data-page="home"] {
  background: #fff !important;
}

body[data-page="home"] .hero {
  background:
    radial-gradient(ellipse at center,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.98) 30%,
      rgba(255,255,255,.9) 48%,
      rgba(255,255,255,.62) 68%,
      rgba(255,255,255,.28) 86%,
      rgba(255,255,255,0) 100%),
    radial-gradient(ellipse at 0% 22%, rgba(255,214,0,.22), rgba(255,214,0,.1) 24%, transparent 54%),
    radial-gradient(ellipse at 100% 24%, rgba(41,174,225,.15), rgba(41,174,225,.07) 28%, transparent 58%),
    radial-gradient(ellipse at 86% 94%, rgba(239,90,76,.2), rgba(239,90,76,.08) 30%, transparent 62%),
    radial-gradient(ellipse at 12% 96%, rgba(8,174,104,.1), rgba(8,174,104,.05) 30%, transparent 62%),
    radial-gradient(ellipse at 4% 0%, rgba(234,134,178,.14), transparent 50%),
    linear-gradient(180deg, #fff 0%, #fff 44%, rgba(255,255,255,.92) 72%, #fff 100%) !important;
}

body[data-page="home"] .hero::before {
  display: none !important;
  content: none !important;
}

body[data-page="home"] .hero::after {
  bottom: -260px !important;
  height: 560px !important;
  z-index: 1 !important;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.18) 26%,
      rgba(255,255,255,.58) 58%,
      #fff 100%),
    radial-gradient(ellipse at 0% 20%, rgba(255,214,0,.08), transparent 58%),
    radial-gradient(ellipse at 92% 8%, rgba(239,90,76,.055), transparent 58%),
    radial-gradient(ellipse at 44% 24%, rgba(41,174,225,.045), transparent 64%) !important;
}

body[data-page="home"] #about {
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.52) 30%,
      #fff 76%,
      #fff 100%) !important;
}

/* FINAL HARD-EDGE REMOVAL: no pseudo overlay, only one continuous five-color field. */
body[data-page="home"] .hero {
  margin-bottom: 0 !important;
  overflow: hidden !important;
  background:
    radial-gradient(ellipse at center,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.99) 28%,
      rgba(255,255,255,.94) 46%,
      rgba(255,255,255,.78) 66%,
      rgba(255,255,255,.52) 84%,
      rgba(255,255,255,.34) 100%),
    radial-gradient(ellipse 72% 68% at -8% 22%,
      rgba(255,214,0,.2) 0%,
      rgba(255,214,0,.09) 34%,
      rgba(255,214,0,0) 76%),
    radial-gradient(ellipse 80% 74% at 108% 18%,
      rgba(41,174,225,.16) 0%,
      rgba(41,174,225,.07) 36%,
      rgba(41,174,225,0) 78%),
    radial-gradient(ellipse 86% 76% at 104% 100%,
      rgba(239,90,76,.16) 0%,
      rgba(239,90,76,.07) 35%,
      rgba(239,90,76,0) 80%),
    radial-gradient(ellipse 76% 68% at 6% 102%,
      rgba(8,174,104,.11) 0%,
      rgba(8,174,104,.045) 38%,
      rgba(8,174,104,0) 82%),
    radial-gradient(ellipse 74% 66% at 0% 0%,
      rgba(234,134,178,.13) 0%,
      rgba(234,134,178,.055) 36%,
      rgba(234,134,178,0) 78%),
    #fff !important;
}

body[data-page="home"] .hero::before,
body[data-page="home"] .hero::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

body[data-page="home"] #about {
  margin-top: 0 !important;
  padding-top: clamp(96px, 12vw, 180px) !important;
  background: #fff !important;
}

/* FINAL SHARED COLOR FIELD: carry the hero gradient into About with no white strip. */
body[data-page="home"] .hero {
  margin-bottom: -86px !important;
  overflow: visible !important;
  background:
    radial-gradient(ellipse at center,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.99) 27%,
      rgba(255,255,255,.94) 46%,
      rgba(255,255,255,.78) 66%,
      rgba(255,255,255,.5) 84%,
      rgba(255,255,255,.3) 100%),
    radial-gradient(ellipse 76% 70% at -8% 24%,
      rgba(255,214,0,.2) 0%,
      rgba(255,214,0,.085) 36%,
      rgba(255,214,0,0) 78%),
    radial-gradient(ellipse 82% 74% at 108% 18%,
      rgba(41,174,225,.16) 0%,
      rgba(41,174,225,.07) 36%,
      rgba(41,174,225,0) 80%),
    radial-gradient(ellipse 90% 78% at 104% 98%,
      rgba(239,90,76,.16) 0%,
      rgba(239,90,76,.065) 36%,
      rgba(239,90,76,0) 82%),
    radial-gradient(ellipse 84% 72% at 0% 104%,
      rgba(8,174,104,.12) 0%,
      rgba(8,174,104,.048) 38%,
      rgba(8,174,104,0) 84%),
    radial-gradient(ellipse 74% 66% at 0% 0%,
      rgba(234,134,178,.13) 0%,
      rgba(234,134,178,.052) 36%,
      rgba(234,134,178,0) 78%),
    #fff !important;
}

body[data-page="home"] #about {
  padding-top: clamp(148px, 15vw, 220px) !important;
  background:
    radial-gradient(ellipse 70% 54% at -5% -20%,
      rgba(255,214,0,.085) 0%,
      rgba(255,214,0,.035) 36%,
      rgba(255,214,0,0) 82%),
    radial-gradient(ellipse 78% 58% at 108% -18%,
      rgba(239,90,76,.07) 0%,
      rgba(239,90,76,.03) 36%,
      rgba(239,90,76,0) 84%),
    radial-gradient(ellipse 62% 46% at 42% -16%,
      rgba(41,174,225,.045) 0%,
      rgba(41,174,225,.018) 42%,
      rgba(41,174,225,0) 86%),
    linear-gradient(180deg,
      rgba(255,255,255,.72) 0%,
      rgba(255,255,255,.9) 38%,
      #fff 100%) !important;
}

/* FINAL UNIFIED PAGE GRADIENT: one uninterrupted field behind hero and section 01. */
body[data-page="home"] {
  background: #fff !important;
}

body[data-page="home"] main {
  background:
    radial-gradient(ellipse 62% 46% at 50% 18%,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.96) 46%,
      rgba(255,255,255,.72) 72%,
      rgba(255,255,255,.38) 100%),
    radial-gradient(ellipse 60% 48% at -4% 18%,
      rgba(255,214,0,.22) 0%,
      rgba(255,214,0,.08) 42%,
      rgba(255,214,0,0) 82%),
    radial-gradient(ellipse 64% 50% at 104% 17%,
      rgba(41,174,225,.16) 0%,
      rgba(41,174,225,.06) 42%,
      rgba(41,174,225,0) 82%),
    radial-gradient(ellipse 66% 48% at 106% 70%,
      rgba(239,90,76,.14) 0%,
      rgba(239,90,76,.05) 42%,
      rgba(239,90,76,0) 84%),
    radial-gradient(ellipse 58% 46% at 0% 72%,
      rgba(8,174,104,.11) 0%,
      rgba(8,174,104,.04) 44%,
      rgba(8,174,104,0) 86%),
    radial-gradient(ellipse 58% 45% at 0% 0%,
      rgba(234,134,178,.13) 0%,
      rgba(234,134,178,.05) 42%,
      rgba(234,134,178,0) 84%),
    #fff !important;
  background-repeat: no-repeat !important;
  background-size: 100% clamp(1180px, 132vw, 1680px) !important;
  background-position: top center !important;
}

body[data-page="home"] .hero,
body[data-page="home"] #about {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body[data-page="home"] .hero {
  margin-bottom: -120px !important;
  overflow: visible !important;
}

body[data-page="home"] .hero::before,
body[data-page="home"] .hero::after,
body[data-page="home"] #about::before,
body[data-page="home"] #about::after {
  display: none !important;
  content: none !important;
  background: none !important;
  box-shadow: none !important;
}

body[data-page="home"] #about {
  margin-top: 0 !important;
  padding-top: clamp(190px, 18vw, 270px) !important;
}

/* FINAL CONTACT EMAIL SCALE */
.email-link {
  font-size: clamp(24px, 3.2vw, 42px) !important;
}

@media (max-width: 760px) {
  .email-link {
    font-size: clamp(20px, 6vw, 26px) !important;
  }
}

/* FINAL MOBILE NAV: keep all six sections visible. */
body[data-page="home"] .nav-links,
body[data-page="home"] .nav-links a,
body[data-page="home"] .nav-links a:nth-child(n),
body[data-page="home"] .nav-links a:nth-child(n+4),
body[data-page="home"] .nav-links a:nth-child(n+5) {
  display: inline-flex !important;
}

body[data-page="home"] .nav-links {
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: clamp(12px, 2vw, 26px) !important;
}

body[data-page="home"] .nav-links a {
  padding: 8px 4px !important;
  font-size: clamp(12px, 1.55vw, 15px) !important;
}

@media (max-width: 760px) {
  body[data-page="home"] .site-header {
    padding-inline: 18px !important;
  }

  body[data-page="home"] .nav-shell {
    width: calc(100vw - 36px) !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 10px !important;
    padding-inline: 14px !important;
  }

  body[data-page="home"] .brand b {
    font-size: 18px !important;
  }

  body[data-page="home"] .nav-links {
    gap: 10px !important;
  }

  body[data-page="home"] .nav-links a {
    font-size: 12px !important;
    padding-inline: 2px !important;
  }

  body[data-page="home"] .lang-toggle {
    min-width: 70px !important;
    padding: 0 10px !important;
  }
}

@media (max-width: 520px) {
  body[data-page="home"] .nav-shell {
    grid-template-columns: 1fr auto !important;
    row-gap: 8px !important;
  }

  body[data-page="home"] .brand {
    display: none !important;
  }

  body[data-page="home"] .nav-links {
    justify-self: start !important;
    gap: 8px !important;
  }

  body[data-page="home"] .nav-links a {
    font-size: 11px !important;
  }
}

/* FINAL ABOUT COMPOSITION: balance the web layout of section 01. */
body[data-page="home"] #about .container {
  width: min(1180px, calc(100% - 96px)) !important;
}

body[data-page="home"] #about .section-heading {
  display: grid !important;
  grid-template-columns: minmax(240px, .38fr) minmax(460px, .62fr) !important;
  align-items: end !important;
  gap: clamp(48px, 7vw, 120px) !important;
  padding-bottom: 42px !important;
  border-bottom: 1px solid rgba(0,0,0,.16) !important;
}

body[data-page="home"] #about .section-heading .eyebrow {
  font-size: clamp(24px, 2.6vw, 34px) !important;
  letter-spacing: .12em !important;
}

body[data-page="home"] #about .section-heading > p {
  max-width: 720px !important;
  margin: 0 !important;
  color: rgba(0,0,0,.55) !important;
  font-size: clamp(14px, 1.25vw, 17px) !important;
  line-height: 2 !important;
}

body[data-page="home"] #about .about-layout {
  padding: clamp(54px, 6vw, 82px) 0 clamp(92px, 9vw, 140px) !important;
}

body[data-page="home"] #about .about-copy {
  display: grid !important;
  grid-template-columns: minmax(460px, 1.08fr) minmax(320px, .92fr) !important;
  align-items: start !important;
  gap: clamp(64px, 9vw, 150px) !important;
  max-width: none !important;
}

body[data-page="home"] #about .about-statement {
  max-width: 760px !important;
  margin: 0 !important;
  color: rgba(0,0,0,.86) !important;
  font-size: clamp(30px, 3.2vw, 52px) !important;
  line-height: 1.35 !important;
}

body[data-page="home"] #about .bio-columns {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 32px !important;
  width: min(420px, 100%) !important;
  margin: 8px 0 0 !important;
  justify-self: end !important;
}

body[data-page="home"] #about .bio-columns > div {
  padding-top: 20px !important;
  border-top: 1px solid rgba(0,0,0,.12) !important;
}

body[data-page="home"] #about .bio-columns p {
  margin-top: 18px !important;
  color: rgba(0,0,0,.56) !important;
  font-size: clamp(14px, 1.1vw, 16px) !important;
  line-height: 1.9 !important;
}

body[data-page="home"] #about .section-accent-dots {
  opacity: .45 !important;
}

@media (max-width: 980px) {
  body[data-page="home"] #about .container {
    width: min(100% - 48px, 760px) !important;
  }

  body[data-page="home"] #about .section-heading,
  body[data-page="home"] #about .about-copy {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  body[data-page="home"] #about .bio-columns {
    justify-self: stretch !important;
    width: 100% !important;
  }
}

/* FINAL HERO SCROLL HINT: subtle animated cue inspired by Portfolio Cosmic. */
body[data-page="home"] .scroll-cue {
  position: absolute !important;
  z-index: 20 !important;
  left: 50% !important;
  right: auto !important;
  bottom: clamp(42px, 5vh, 68px) !important;
  display: grid !important;
  justify-items: center !important;
  gap: 10px !important;
  color: rgba(0,0,0,.46) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: .22em !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transform: translateX(-50%) !important;
  opacity: .88 !important;
  pointer-events: auto !important;
}

body[data-page="home"] .scroll-cue span {
  display: block !important;
  opacity: .72 !important;
}

body[data-page="home"] .scroll-cue i {
  position: relative !important;
  display: block !important;
  width: 1px !important;
  height: 42px !important;
  overflow: hidden !important;
  background: rgba(0,0,0,.16) !important;
}

body[data-page="home"] .scroll-cue i::before {
  content: "" !important;
  position: absolute !important;
  left: -3px !important;
  top: -12px !important;
  width: 7px !important;
  height: 14px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #FFD600 0%, #EF5A4C 28%, #EA86B2 52%, #29AEE1 76%, #08AE68 100%) !important;
  animation: heroScrollCue 1.65s ease-in-out infinite !important;
  box-shadow: 0 0 14px rgba(41,174,225,.25) !important;
}

body[data-page="home"] .scroll-cue:hover {
  color: rgba(0,0,0,.72) !important;
}

@keyframes heroScrollCue {
  0% {
    opacity: 0;
    transform: translateY(-12px);
  }
  18% {
    opacity: 1;
  }
  78% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(54px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .scroll-cue i::before {
    animation: none !important;
    top: 10px !important;
    opacity: .9 !important;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .scroll-cue {
    bottom: 34px !important;
    font-size: 9px !important;
  }
}

/* FINAL ABOUT RE-LAYOUT: workflow note + professional skills. */
body[data-page="home"] #about .about-layout {
  padding: clamp(46px, 5vw, 70px) 0 clamp(90px, 9vw, 132px) !important;
}

body[data-page="home"] #about .about-copy {
  grid-template-columns: minmax(420px, .92fr) minmax(380px, .8fr) !important;
  gap: clamp(56px, 8vw, 128px) !important;
  align-items: start !important;
}

body[data-page="home"] #about .about-statement {
  max-width: 620px !important;
  padding: 28px 0 0 !important;
  border-top: 1px solid rgba(0,0,0,.14) !important;
  color: rgba(0,0,0,.72) !important;
  font-family: "Inter", "Noto Sans SC", sans-serif !important;
  font-size: clamp(14px, 1.15vw, 17px) !important;
  font-weight: 500 !important;
  line-height: 1.85 !important;
  letter-spacing: 0 !important;
}

body[data-page="home"] #about .about-skills {
  margin-top: clamp(52px, 6vw, 86px) !important;
  padding-top: clamp(32px, 4vw, 54px) !important;
  border-top: 1px solid rgba(0,0,0,.16) !important;
}

body[data-page="home"] #about .skills-title {
  margin: 0 0 28px !important;
  color: #111 !important;
  font-size: clamp(22px, 2.2vw, 30px) !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
}

body[data-page="home"] #about .skills-title::before {
  content: "▹";
  display: inline-block;
  margin-right: 10px;
  font-size: .72em;
  transform: translateY(-1px);
}

body[data-page="home"] #about .skills-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(34px, 5vw, 76px) !important;
}

body[data-page="home"] #about .skills-grid article {
  position: relative !important;
  padding-left: 24px !important;
  border-left: 3px solid rgba(0,0,0,.58) !important;
}

body[data-page="home"] #about .skills-grid .mini-label {
  color: #111 !important;
  font-size: clamp(18px, 1.55vw, 23px) !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
}

body[data-page="home"] #about .skills-grid p {
  margin: 22px 0 0 !important;
  color: rgba(0,0,0,.68) !important;
  font-size: clamp(14px, 1.1vw, 16px) !important;
  line-height: 2 !important;
}

@media (max-width: 980px) {
  body[data-page="home"] #about .about-copy,
  body[data-page="home"] #about .skills-grid {
    grid-template-columns: 1fr !important;
  }

  body[data-page="home"] #about .about-statement {
    max-width: none !important;
  }
}

/* FINAL ABOUT SKILLS ENTRY: keep detailed skills hidden until clicked. */
body[data-page="home"] #about .about-skills {
  max-width: 980px !important;
  margin: clamp(52px, 6vw, 86px) auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body[data-page="home"] #about .skills-trigger {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  min-height: 76px !important;
  padding: 0 28px !important;
  border: 1px solid rgba(0,0,0,.16) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.72) !important;
  color: #111 !important;
  cursor: pointer !important;
  list-style: none !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.06) !important;
  transition: border-color .25s ease, background .25s ease, transform .25s ease !important;
}

body[data-page="home"] #about .skills-trigger::-webkit-details-marker {
  display: none !important;
}

body[data-page="home"] #about .skills-trigger span {
  font-size: clamp(19px, 1.8vw, 26px) !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
}

body[data-page="home"] #about .skills-trigger span::before {
  content: "▹";
  display: inline-block;
  margin-right: 12px;
  font-size: .72em;
  transform: translateY(-1px);
}

body[data-page="home"] #about .skills-trigger small {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: rgba(0,0,0,.48) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
  white-space: nowrap !important;
}

body[data-page="home"] #about .skills-trigger small::after {
  content: "+" !important;
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

body[data-page="home"] #about .about-skills[open] .skills-trigger {
  border-color: rgba(0,0,0,.34) !important;
  background: rgba(255,255,255,.9) !important;
  transform: translateY(-2px) !important;
}

body[data-page="home"] #about .about-skills[open] .skills-trigger small::after {
  content: "-" !important;
}

body[data-page="home"] #about .about-skills .skills-grid {
  margin-top: 30px !important;
  padding: clamp(26px, 3vw, 42px) !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.7) !important;
}

@media (max-width: 760px) {
  body[data-page="home"] #about .skills-trigger {
    min-height: 66px !important;
    padding: 0 20px !important;
  }

  body[data-page="home"] #about .skills-trigger small {
    font-size: 12px !important;
  }
}

/* FINAL ABOUT CLEANUP: remove the two divider lines above the AI workflow note. */
body[data-page="home"] #about .section-heading {
  border-bottom: 0 !important;
}

body[data-page="home"] #about .about-statement {
  border-top: 0 !important;
  padding-top: 0 !important;
}

/* FINAL ABOUT SKILLS COMPACT BUTTON. */
body[data-page="home"] #about .about-skills {
  max-width: 620px !important;
  margin-top: clamp(34px, 4.2vw, 58px) !important;
}

body[data-page="home"] #about .skills-trigger {
  min-height: 52px !important;
  padding: 0 14px 0 22px !important;
  gap: 14px !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.045) !important;
}

body[data-page="home"] #about .skills-trigger span {
  font-size: clamp(16px, 1.25vw, 19px) !important;
  letter-spacing: .02em !important;
}

body[data-page="home"] #about .skills-trigger span::before {
  content: none !important;
}

body[data-page="home"] #about .skills-trigger small {
  gap: 9px !important;
  font-size: 12px !important;
}

body[data-page="home"] #about .skills-trigger small::after {
  width: 28px !important;
  height: 28px !important;
  font-size: 17px !important;
}

/* FINAL ABOUT COMPACT RHYTHM. */
body[data-page="home"] #about {
  padding-top: clamp(54px, 6vw, 92px) !important;
}

body[data-page="home"] #about .section-heading {
  gap: clamp(28px, 4vw, 68px) !important;
  padding-bottom: clamp(22px, 2.8vw, 38px) !important;
}

body[data-page="home"] #about .section-heading .eyebrow {
  margin-bottom: 0 !important;
}

body[data-page="home"] #about .section-heading > p {
  margin: 0 !important;
  line-height: 1.75 !important;
}

body[data-page="home"] #about .about-layout {
  padding: clamp(24px, 3vw, 42px) 0 clamp(64px, 7vw, 96px) !important;
}

body[data-page="home"] #about .about-copy {
  gap: clamp(26px, 4.6vw, 72px) !important;
}

body[data-page="home"] #about .about-statement {
  line-height: 1.65 !important;
}

body[data-page="home"] #about .bio-columns {
  gap: clamp(18px, 2.4vw, 30px) !important;
  margin-top: 0 !important;
}

body[data-page="home"] #about .bio-columns > div {
  padding-top: 14px !important;
}

body[data-page="home"] #about .bio-columns p {
  margin-top: 10px !important;
  line-height: 1.65 !important;
}

body[data-page="home"] #about .about-skills {
  margin-top: clamp(24px, 3vw, 38px) !important;
}

body[data-page="home"] #about .about-skills .skills-grid {
  margin-top: 18px !important;
}

/* FINAL ABOUT SKILLS QUIET ENTRY. */
body[data-page="home"] #about .about-skills {
  max-width: 520px !important;
}

body[data-page="home"] #about .skills-trigger {
  min-height: 42px !important;
  padding: 0 2px !important;
  border: 0 !important;
  border-top: 1px solid rgba(0,0,0,.12) !important;
  border-bottom: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-page="home"] #about .skills-trigger span {
  color: rgba(0,0,0,.78) !important;
  font-size: clamp(14px, 1vw, 16px) !important;
  font-weight: 600 !important;
}

body[data-page="home"] #about .skills-trigger small {
  color: rgba(0,0,0,.44) !important;
  font-size: 11px !important;
  letter-spacing: .06em !important;
}

body[data-page="home"] #about .skills-trigger small::after {
  width: auto !important;
  height: auto !important;
  margin-left: 2px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(0,0,0,.52) !important;
  font-size: 16px !important;
}

body[data-page="home"] #about .about-skills[open] .skills-trigger {
  border-color: rgba(0,0,0,.16) !important;
  background: transparent !important;
  transform: none !important;
}

/* FINAL ABOUT DESKTOP COMPOSITION: keep section 01 compact and balanced. */
body[data-page="home"] #about .container {
  width: min(100% - 72px, 1240px) !important;
}

body[data-page="home"] #about .section-heading {
  display: grid !important;
  grid-template-columns: minmax(260px, .38fr) minmax(500px, .62fr) !important;
  gap: clamp(34px, 5vw, 74px) !important;
  align-items: start !important;
  padding-bottom: clamp(24px, 3vw, 40px) !important;
}

body[data-page="home"] #about .section-heading > p {
  max-width: 660px !important;
  justify-self: start !important;
  padding-top: 6px !important;
}

body[data-page="home"] #about .about-layout {
  display: grid !important;
  grid-template-columns: minmax(260px, .38fr) minmax(500px, .62fr) !important;
  gap: clamp(34px, 5vw, 74px) !important;
  align-items: start !important;
  padding: clamp(18px, 2.2vw, 32px) 0 clamp(66px, 7vw, 98px) !important;
}

body[data-page="home"] #about .about-copy {
  display: contents !important;
}

body[data-page="home"] #about .about-statement {
  grid-column: 1 !important;
  max-width: 430px !important;
  margin: 0 !important;
  color: rgba(0,0,0,.72) !important;
  font-size: clamp(15px, 1.16vw, 18px) !important;
  font-weight: 650 !important;
  line-height: 1.72 !important;
}

body[data-page="home"] #about .bio-columns {
  grid-column: 2 !important;
  width: min(560px, 100%) !important;
  justify-self: start !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  margin: 0 !important;
}

body[data-page="home"] #about .bio-columns > div {
  padding-top: 12px !important;
}

body[data-page="home"] #about .bio-columns p {
  margin-top: 8px !important;
  font-size: clamp(13px, .98vw, 15px) !important;
  line-height: 1.58 !important;
}

body[data-page="home"] #about .about-skills {
  grid-column: 2 !important;
  width: min(560px, 100%) !important;
  max-width: 560px !important;
  justify-self: start !important;
  margin: 16px 0 0 !important;
}

body[data-page="home"] #about .skills-trigger {
  min-height: 38px !important;
}

@media (max-width: 900px) {
  body[data-page="home"] #about .container {
    width: min(100% - 36px, 720px) !important;
  }

  body[data-page="home"] #about .section-heading,
  body[data-page="home"] #about .about-layout {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  body[data-page="home"] #about .section-heading > p,
  body[data-page="home"] #about .about-statement,
  body[data-page="home"] #about .bio-columns,
  body[data-page="home"] #about .about-skills {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: none !important;
  }

  body[data-page="home"] #about .about-layout {
    padding-top: 16px !important;
  }
}

/* FINAL ABOUT TITLE SCALE: match section 02 heading size. */
body[data-page="home"] #about .section-heading .eyebrow {
  font-size: clamp(18px, 1.6vw, 23px) !important;
  font-weight: 600 !important;
  letter-spacing: .14em !important;
  line-height: 1.35 !important;
}

/* FINAL ABOUT SKILLS WIDTH: align the skills row with the full section content. */
body[data-page="home"] #about .about-skills {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  justify-self: stretch !important;
  margin: clamp(18px, 2.4vw, 30px) 0 0 !important;
}

body[data-page="home"] #about .skills-trigger {
  width: 100% !important;
}

/* FINAL HERO SCROLL CUE VISIBILITY: keep the cue out of the about section. */
body[data-page="home"] .scroll-cue {
  transition: opacity .28s ease, visibility .28s ease, transform .28s ease !important;
}

body[data-page="home"].hide-scroll-cue .scroll-cue {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate(-50%, 10px) !important;
}

/* FINAL ABOUT FLOW: place the intro under the section title on desktop. */
body[data-page="home"] #about .section-heading {
  grid-template-columns: 1fr !important;
  gap: clamp(18px, 2vw, 28px) !important;
  max-width: 980px !important;
  padding-bottom: clamp(28px, 3.4vw, 46px) !important;
}

body[data-page="home"] #about .section-heading > p {
  max-width: 920px !important;
  justify-self: start !important;
  padding-top: 0 !important;
  color: rgba(0,0,0,.52) !important;
}

body[data-page="home"] #about .about-layout {
  grid-template-columns: minmax(290px, .38fr) minmax(520px, .62fr) !important;
  padding-top: clamp(20px, 2.6vw, 36px) !important;
}

@media (max-width: 900px) {
  body[data-page="home"] #about .section-heading {
    max-width: none !important;
  }
}

/* FINAL EXPERIENCE CLEANUP: remove the extra divider above the first internship. */
body[data-page="home"] #experience .section-heading {
  border-bottom: 0 !important;
  padding-bottom: 18px !important;
}

body[data-page="home"] #experience .experience-list {
  padding-top: 28px !important;
}

body[data-page="home"] #experience .experience-item:first-child {
  border-top: 0 !important;
}

body[data-page="home"] #experience .experience-item:first-child::before {
  top: 0 !important;
}

/* FINAL WORDLESS HERO SCROLL CUE: no label, no overlap with the about section. */
body[data-page="home"] .scroll-cue {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  bottom: clamp(88px, 10vh, 132px) !important;
  width: 30px !important;
  height: 58px !important;
  display: block !important;
  transform: translateX(-50%) !important;
  z-index: 12 !important;
  color: transparent !important;
  text-decoration: none !important;
  opacity: .72 !important;
  pointer-events: auto !important;
  transition: opacity .28s ease, visibility .28s ease, transform .28s ease !important;
}

body[data-page="home"] .scroll-cue span {
  display: none !important;
}

body[data-page="home"] .scroll-cue i {
  position: absolute !important;
  left: 50% !important;
  top: 4px !important;
  width: 1px !important;
  height: 40px !important;
  display: block !important;
  overflow: hidden !important;
  background: rgba(0,0,0,.14) !important;
  transform: translateX(-50%) !important;
}

body[data-page="home"] .scroll-cue i::before {
  content: "" !important;
  position: absolute !important;
  left: -3px !important;
  top: -14px !important;
  width: 7px !important;
  height: 15px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #FFD600 0%, #F05A49 26%, #EA86B2 52%, #29AEE1 76%, #08AE68 100%) !important;
  animation: heroScrollFlow 1.55s cubic-bezier(.45,0,.2,1) infinite !important;
  box-shadow: 0 0 14px rgba(41,174,225,.22) !important;
}

body[data-page="home"] .scroll-cue::before,
body[data-page="home"] .scroll-cue::after {
  content: "" !important;
  position: absolute !important;
  bottom: 3px !important;
  width: 13px !important;
  height: 1.5px !important;
  background: rgba(0,0,0,.56) !important;
  animation: heroScrollArrow 1.55s ease-in-out infinite !important;
}

body[data-page="home"] .scroll-cue::before {
  right: 50% !important;
  transform: rotate(24deg) !important;
  transform-origin: right center !important;
}

body[data-page="home"] .scroll-cue::after {
  left: 50% !important;
  transform: rotate(-24deg) !important;
  transform-origin: left center !important;
}

@keyframes heroScrollFlow {
  0% { opacity: 0; transform: translateY(-10px); }
  18% { opacity: 1; }
  78% { opacity: 1; }
  100% { opacity: 0; transform: translateY(52px); }
}

@keyframes heroScrollArrow {
  0%, 100% { opacity: .38; bottom: 6px; }
  50% { opacity: .82; bottom: 1px; }
}

body[data-page="home"].hide-scroll-cue .scroll-cue {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate(-50%, 12px) !important;
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .scroll-cue i::before,
  body[data-page="home"] .scroll-cue::before,
  body[data-page="home"] .scroll-cue::after {
    animation: none !important;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .scroll-cue {
    bottom: 72px !important;
    transform: translateX(-50%) scale(.86) !important;
  }
}

/* FINAL HERO/ABOUT SPACING: put the cue in the open gap and lower section 01. */
body[data-page="home"] .scroll-cue {
  bottom: clamp(150px, 16vh, 214px) !important;
}

body[data-page="home"] #about {
  padding-top: clamp(104px, 9vw, 142px) !important;
}

@media (max-width: 760px) {
  body[data-page="home"] .scroll-cue {
    bottom: 98px !important;
  }

  body[data-page="home"] #about {
    padding-top: 94px !important;
  }
}

/* FINAL CONTACT DETAILS: smaller email plus phone number. */
body[data-page="home"] .email-link {
  font-size: clamp(20px, 2.45vw, 34px) !important;
  margin-top: clamp(28px, 4vw, 54px) !important;
}

body[data-page="home"] .phone-link {
  display: inline-block !important;
  margin-top: 16px !important;
  color: rgba(0,0,0,.58) !important;
  font-size: clamp(13px, 1vw, 15px) !important;
  letter-spacing: .18em !important;
  border-bottom: 1px solid rgba(0,0,0,.24) !important;
  padding-bottom: 8px !important;
}

body[data-page="home"] .phone-link:hover,
body[data-page="home"] .phone-link:focus-visible {
  color: #111 !important;
  border-color: #111 !important;
}

@media (max-width: 760px) {
  body[data-page="home"] .email-link {
    font-size: clamp(18px, 5.2vw, 23px) !important;
  }

  body[data-page="home"] .phone-link {
    font-size: 12px !important;
  }
}

/* FINAL GUIDE REMOVAL: hide all guide characters site-wide. */
.bear-guide,
.guide-orbit,
.guide-hint,
.guide-progress,
.bear-character,
[data-guide-character] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* FINAL ABOUT BIO ALIGNMENT: keep education and honors with the left intro block. */
body[data-page="home"] #about .about-layout {
  grid-template-columns: minmax(320px, .45fr) minmax(480px, .55fr) !important;
  gap: clamp(36px, 5.2vw, 86px) !important;
}

body[data-page="home"] #about .about-copy {
  display: grid !important;
  grid-column: 1 !important;
  gap: clamp(24px, 3vw, 40px) !important;
  align-content: start !important;
}

body[data-page="home"] #about .about-statement {
  grid-column: auto !important;
  max-width: 520px !important;
}

body[data-page="home"] #about .bio-columns {
  grid-column: auto !important;
  width: 100% !important;
  max-width: 520px !important;
  gap: clamp(16px, 1.9vw, 24px) !important;
}

body[data-page="home"] #about .bio-columns > div {
  padding-top: clamp(14px, 1.4vw, 20px) !important;
}

body[data-page="home"] #about .bio-columns .mini-label {
  font-size: clamp(12px, .92vw, 14px) !important;
  letter-spacing: .14em !important;
  color: rgba(0,0,0,.48) !important;
}

body[data-page="home"] #about .about-skills {
  grid-column: 2 !important;
  align-self: end !important;
  margin-top: clamp(72px, 9vw, 138px) !important;
}

@media (max-width: 900px) {
  body[data-page="home"] #about .about-copy,
  body[data-page="home"] #about .about-skills {
    grid-column: 1 !important;
  }

  body[data-page="home"] #about .about-skills {
    margin-top: clamp(18px, 5vw, 32px) !important;
  }
}
