:root {
  --ink: #081a33;
  --blue: #1768e5;
  --sky: #a9d8ff;
  --paper: #f5f2e9;
  --white: #fffdf8;
  --coral: #ff694f;
  --line: rgba(8, 26, 51, 0.18);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
  --serif: "Fraunces", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(8, 26, 51, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 26, 51, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  font-family: var(--sans);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.page-glow {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: rgba(169, 216, 255, 0.28);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  transition: left 0.9s ease, top 0.9s ease;
}

.site-header {
  width: min(1420px, calc(100% - 64px));
  height: 96px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark { display: flex; align-items: center; gap: 13px; font-weight: 700; }
.wordmark-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font: 500 12px var(--mono);
}

nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); font-size: 14px; font-weight: 600; }
nav a { transition: color 0.2s ease; }
nav a:hover { color: var(--blue); }
.nav-contact { padding: 13px 20px; color: var(--white); background: var(--blue); border-radius: 999px; }
.nav-contact:hover { color: var(--white); background: var(--ink); }

.section-shell { width: min(1420px, calc(100% - 64px)); margin-inline: auto; }
.hero {
  min-height: calc(100vh - 96px);
  padding: 80px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  align-items: center;
  gap: clamp(50px, 8vw, 140px);
  position: relative;
}

.eyebrow, .section-index, .project-type {
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--blue); }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 28px 0;
  font: 700 clamp(4.2rem, 8.1vw, 8.6rem)/0.88 var(--serif);
  letter-spacing: -0.06em;
}
h1 em, .contact h2 em { color: var(--blue); font-weight: 600; }
.hero-intro { max-width: 640px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.7; color: rgba(8, 26, 51, 0.72); }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.primary-action {
  padding: 16px 22px;
  display: inline-flex;
  gap: 24px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}
.primary-action:hover { transform: translateY(-3px); background: var(--blue); }
.text-action { font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

.identity-card {
  aspect-ratio: 0.82;
  max-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 46% 46% 18px 18px;
  overflow: hidden;
  background: var(--sky);
  border: 1px solid var(--ink);
  box-shadow: 18px 18px 0 var(--ink);
}
.portrait-placeholder {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--blue);
  color: var(--white);
  position: relative;
  z-index: 2;
}
.portrait-placeholder span { font: 700 clamp(4rem, 8vw, 7rem)/1 var(--serif); }
.portrait-placeholder small { margin-top: 8px; font: 400 10px var(--mono); text-transform: uppercase; letter-spacing: 0.1em; }
.orbit { position: absolute; border: 1px solid rgba(8, 26, 51, 0.35); border-radius: 50%; animation: rotate 16s linear infinite; }
.orbit::after { content: ""; width: 15px; height: 15px; border-radius: 50%; background: var(--coral); position: absolute; top: 12%; left: 10%; }
.orbit-one { width: 95%; aspect-ratio: 1; }
.orbit-two { width: 74%; aspect-ratio: 1; animation-direction: reverse; animation-duration: 11s; }
.identity-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(10px);
}
.identity-note p { margin: 0; font-size: 12px; line-height: 1.5; }
.status-dot { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: #22a56c; box-shadow: 0 0 0 5px rgba(34, 165, 108, 0.15); }
.scroll-note { position: absolute; bottom: 26px; left: 0; display: flex; align-items: center; gap: 14px; font: 400 9px var(--mono); letter-spacing: 0.14em; }
.scroll-note span { width: 70px; height: 1px; background: var(--ink); }

.about, .work, .now { padding: 130px 0; border-top: 1px solid var(--line); }
.section-index { margin-bottom: 48px; color: var(--blue); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(50px, 9vw, 160px); }
h2 { font: 600 clamp(3.2rem, 5.7vw, 6.2rem)/0.98 var(--serif); letter-spacing: -0.045em; }
.about-copy { max-width: 700px; }
.about-copy p { line-height: 1.8; color: rgba(8, 26, 51, 0.72); }
.about-copy .lead { font: 500 clamp(1.3rem, 2vw, 1.8rem)/1.5 var(--sans); color: var(--ink); }
.quick-facts { margin-top: 48px; border-top: 1px solid var(--line); }
.quick-facts div { padding: 20px 0; display: grid; grid-template-columns: 150px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.quick-facts span { font: 400 10px var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); }
.quick-facts strong { font-size: 14px; }

.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; margin-bottom: 70px; }
.section-heading h2 { max-width: 870px; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.project-card { background: var(--white); border: 1px solid var(--ink); border-radius: 18px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.project-card:hover { transform: translateY(-7px); box-shadow: 10px 10px 0 var(--ink); }
.project-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 0.7fr; }
.project-visual { min-height: 360px; overflow: hidden; position: relative; display: grid; place-items: center; }
.project-featured .project-visual { min-height: 480px; }
.project-visual span { position: relative; z-index: 2; font: 600 clamp(5rem, 12vw, 11rem)/1 var(--serif); color: var(--white); }
.project-visual i { position: absolute; width: 56%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 35px rgba(255, 255, 255, 0.12), 0 0 0 70px rgba(255, 255, 255, 0.08); }
.visual-one { background: var(--blue); }
.visual-two { background: var(--coral); }
.visual-three { background: var(--ink); }
.project-copy { padding: clamp(28px, 4vw, 58px); display: flex; flex-direction: column; justify-content: center; }
.project-copy h3 { margin-bottom: 18px; font: 600 clamp(2rem, 3vw, 3.5rem)/1 var(--serif); }
.project-copy p:not(.project-type) { color: rgba(8, 26, 51, 0.68); line-height: 1.7; }
.project-copy a { width: fit-content; margin-top: 22px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-weight: 700; }

.now { background: var(--ink); color: var(--white); width: 100%; padding-inline: max(32px, calc((100% - 1420px) / 2)); }
.now .section-index { color: var(--sky); }
.now-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(60px, 10vw, 180px); }
.now .eyebrow { color: var(--sky); }
.now-list { border-top: 1px solid rgba(255,255,255,0.25); }
.now-item { min-height: 105px; display: grid; grid-template-columns: 120px 1fr 30px; gap: 20px; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.25); }
.now-item span, .now-item small { font: 400 10px var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--sky); }
.now-item strong { font: 500 clamp(1.15rem, 2vw, 1.6rem) var(--sans); }

.contact { min-height: 720px; padding: 130px 0; display: flex; align-items: center; justify-content: space-between; gap: 50px; position: relative; }
.contact-inner { max-width: 920px; }
.contact h2 { margin-bottom: 32px; }
.contact-inner > p:not(.section-index) { color: rgba(8, 26, 51, 0.65); }
.contact-inner > a { margin-top: 22px; display: inline-flex; gap: 25px; font: 600 clamp(1.1rem, 2vw, 1.5rem) var(--sans); border-bottom: 2px solid var(--blue); padding-bottom: 8px; color: var(--blue); }
.contact-stamp { width: 180px; aspect-ratio: 1; flex: 0 0 auto; display: grid; place-items: center; border: 2px solid var(--coral); border-radius: 50%; color: var(--coral); font: 500 12px/1.5 var(--mono); text-align: center; transform: rotate(9deg); }

footer { min-height: 110px; width: min(1420px, calc(100% - 64px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); font: 400 10px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-one { transition-delay: 0.13s; }
.delay-two { transition-delay: 0.24s; }
@keyframes rotate { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .site-header, .section-shell, footer { width: min(100% - 36px, 1420px); }
  nav a:not(.nav-contact) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { order: 1; }
  .identity-card { order: 2; width: min(100%, 480px); justify-self: center; }
  .scroll-note { display: none; }
  .about-grid, .now-layout { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .project-featured { display: block; }
  .project-featured .project-visual { min-height: 370px; }
  .contact-stamp { width: 135px; }
}

@media (max-width: 620px) {
  .site-header { height: 78px; }
  .wordmark > span:last-child { display: none; }
  .hero { min-height: auto; padding-bottom: 90px; }
  h1 { font-size: clamp(3.6rem, 18vw, 5.2rem); }
  .identity-card { box-shadow: 10px 10px 0 var(--ink); }
  .about, .work, .now { padding-top: 90px; padding-bottom: 90px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-featured { grid-column: auto; }
  .project-visual, .project-featured .project-visual { min-height: 310px; }
  .quick-facts div { grid-template-columns: 1fr; gap: 8px; }
  .now-item { grid-template-columns: 88px 1fr 20px; }
  .contact { min-height: 650px; display: block; }
  .contact-stamp { margin: 70px 0 0 auto; }
  footer { padding: 34px 0; flex-direction: column; align-items: flex-start; }
}

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