:root {
  --white: #f7f5f2;
  --beige: #ebe7e0;
  --indigo: #5756cb;
  --indigo-deep: #4442a6;
  --ink: #1c2528;
  --ink-soft: #4f585b;
  --coral: #eb6d4a;
  --teal: #1599b4;
  --sky: #b9d1e4;
  --maxw: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(18px, 1.05vw, 19px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
.display {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 56px);
}

.eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--indigo);
  flex: none;
}

.lead {
  color: var(--ink-soft);
  font-size: 1.12rem;
  max-width: 62ch;
  margin-top: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9em 1.75em;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    transform 0.25s,
    background 0.25s,
    color 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}

.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(87, 86, 203, 0.9);
}

.btn-primary:hover {
  background: var(--indigo-deep);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--indigo);
}

.btn-outline:hover {
  background: var(--indigo);
  color: #fff;
  transform: translateY(-2px);
}

.btn .arrow {
  transition: transform 0.25s;
}

.btn:hover .arrow {
  transform: translate(3px, -3px);
}

:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

.s {
  position: absolute;
  display: block;
  pointer-events: none;
}

.s.circle {
  border-radius: 50%;
}

.s.dome {
  border-radius: 999px 999px 0 0;
}

.s.domeb {
  border-radius: 0 0 999px 999px;
}

.c-indigo {
  background: var(--indigo);
}

.c-coral {
  background: var(--coral);
}

.c-teal {
  background: var(--teal);
}

.c-sky {
  background: var(--sky);
}

header.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(10px);
  background: rgba(247, 245, 242, 0.85);
  border-bottom: 1px solid var(--beige);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.7rem clamp(22px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  height: 65px;
  width: auto;
  max-width: 60vw;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-soft);
  position: relative;
  padding: 0.2em 0;
  transition: color 0.2s;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 0;
  background: var(--indigo);
  transition: width 0.28s;
}

.nav-links a:not(.btn):hover {
  color: var(--ink);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.nav-links a.btn,
.nav-links a.btn:hover {
  color: #fff;
}

.nav-links .btn {
  padding: 0.6em 1.3em;
  font-size: 0.95rem;
}

.hamb {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4em;
  width: 44px;
  height: 44px;
}

.hamb span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: 0.3s;
}

@media (max-width: 860px) {
  .hamb {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--beige);
    padding: 0.5rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav-links.open {
    max-height: 440px;
  }

  .nav-links a {
    padding: 0.9rem clamp(22px, 5vw, 56px);
  }

  .nav-links a:not(.btn)::after {
    display: none;
  }

  .nav-links .btn {
    margin: 0.6rem clamp(22px, 5vw, 56px);
    text-align: center;
    justify-content: center;
  }
}

/* hero */
.hero {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-name {
  font-size: clamp(3.4rem, 10vw, 7.5rem);
  font-weight: 500;
  line-height: 0.94;
  margin-top: 0.3rem;
}

.hero-bio {
  display: flex;
  gap: 1.2rem;
  margin-top: 2rem;
  max-width: 470px;
}

.hero-bio .bar {
  width: 2px;
  background: var(--beige);
  flex: none;
}

.hero-bio p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.socials a {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--beige);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: 0.25s;
}

.socials a:hover {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
  transform: translateY(-2px);
}

.socials svg {
  width: 18px;
  height: 18px;
}

.hero-media {
  position: relative;
}

.hero-media .photo {
  position: relative;
  z-index: 2;
  border-radius: 340px 340px 20px 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 40px 80px -40px rgba(28, 37, 40, 0.45);
}

.hero-media .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media .s1 {
  width: clamp(120px, 22vw, 210px);
  aspect-ratio: 1;
  top: -7%;
  right: -7%;
  z-index: 1;
}

.hero-media .s2 {
  width: clamp(130px, 24vw, 240px);
  aspect-ratio: 1;
  bottom: -6%;
  left: -9%;
  z-index: 1;
}

.hero-media .s3 {
  width: 64px;
  aspect-ratio: 1;
  top: 34%;
  left: -7%;
  z-index: 3;
}

.hero-media .s4 {
  width: clamp(120px, 20vw, 190px);
  height: clamp(60px, 10vw, 95px);
  bottom: -8%;
  right: 16%;
  z-index: 1;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 1.8rem 0;
  border-top: 1px solid var(--beige);
}

.hero-facts .lbl {
  display: block;
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.hero-facts .val {
  font-family: "Bodoni Moda", serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
}

.hero-facts > div:nth-child(2) {
  text-align: left;
}

.hero-facts > div:nth-child(3) {
  text-align: right;
}

section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}

.bg-beige {
  background: var(--beige);
}

.sec-head {
  max-width: 64ch;
  margin-bottom: 2.6rem;
}

.sec-head h2 {
  font-size: clamp(2.3rem, 5.5vw, 3.9rem);
}

.sublabel {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 2.6rem 0 1.4rem;
}

/* about */
.about-head h2 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  max-width: 18ch;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 2.6rem;
  position: relative;
  z-index: 1;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-right: 1px solid rgba(28, 37, 40, 0.12);
  padding-right: 2rem;
}

.stat .num {
  font-family: "Bodoni Moda", serif;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
}

.stat .cap {
  color: var(--ink-soft);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.about-body p {
  color: var(--ink-soft);
  margin: 0 0 1.3rem;
}

.about-body p:last-of-type {
  margin-bottom: 0;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 1.9rem;
  flex-wrap: wrap;
}

.signature {
  font-family: "Bodoni Moda", serif;
  font-style: italic;
  font-size: 1.5rem;
  opacity: 0.8;
}

.about .s-a {
  width: clamp(120px, 18vw, 180px);
  aspect-ratio: 1;
  bottom: -5%;
  left: -4%;
  z-index: 0;
}

.about .s-b {
  width: 70px;
  aspect-ratio: 1;
  bottom: 8%;
  left: 9%;
  z-index: 0;
}

.about .s-c {
  width: clamp(90px, 14vw, 130px);
  aspect-ratio: 1;
  bottom: -4%;
  right: 6%;
  z-index: 0;
}

.about .s-d {
  width: clamp(110px, 16vw, 150px);
  height: clamp(55px, 8vw, 80px);
  top: 16%;
  right: -3%;
  z-index: 0;
}

.about .s-e {
  width: 56px;
  aspect-ratio: 1;
  top: 40%;
  right: 15%;
  z-index: 0;
}

/* experience */
.timeline {
  position: relative;
  z-index: 1;
}

.tl-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.8rem;
  padding: 0 0 2.4rem;
  position: relative;
}

.tl-row::before {
  content: "";
  position: absolute;
  left: 125px;
  top: 16px;
  bottom: -8px;
  width: 2px;
  background: var(--sky);
}

.tl-row:last-child::before {
  display: none;
}

.tl-row .yr {
  font-family: "Bodoni Moda", serif;
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--indigo);
  text-align: right;
}

.tl-row .bodyc {
  position: relative;
  padding-left: 1.7rem;
}

.tl-row .bodyc::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--indigo);
  border: 3px solid var(--white);
}

.bg-beige .tl-row .bodyc::before {
  border-color: var(--beige);
}

.tl-row h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.1rem;
}

.tl-row .org {
  color: var(--indigo);
  font-weight: 700;
  font-size: 0.95rem;
}

.tl-row p {
  color: var(--ink-soft);
  margin: 0.55rem 0 0;
  font-size: 1rem;
  max-width: 60ch;
}

.creds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin-top: 1.2rem;
}

.cred {
  border-top: 2px solid var(--indigo);
  padding-top: 1rem;
}

.cred .t {
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.3;
}

.cred .s {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 0.2rem;
}

/* awards */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.award {
  background: #fff;
  border: 1px solid var(--beige);
  border-radius: 16px;
  padding: 2rem 1.7rem;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.bg-beige .award {
  background: var(--white);
}

.award:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 46px -32px rgba(28, 37, 40, 0.28);
}

.award .name {
  font-family: "Bodoni Moda", serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.award .place {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.award .desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.add-note {
  margin-top: 2rem;
  padding: 1.4rem 1.7rem;
  border-left: 4px solid var(--indigo);
  background: var(--white);
  border-radius: 0 12px 12px 0;
  color: var(--ink-soft);
  position: relative;
  z-index: 1;
}

.bg-beige .add-note {
  background: var(--white);
}

.add-note b {
  color: var(--ink);
  font-weight: 700;
}

/* gallery full-bleed */
.gallery {
  padding: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--beige);
}

.g-tile {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--beige);
  display: grid;
  place-items: center;
}

.g-tile:nth-child(even) {
  background: #e3ded4;
}

.g-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-tile .ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(28, 37, 40, 0.4);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.g-tile .ph svg {
  width: 26px;
  height: 26px;
}

/* arkidect */
.ak-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.ak-body p {
  color: var(--ink-soft);
  margin: 0 0 1.3rem;
}

.ak-body p strong {
  color: var(--ink);
  font-weight: 700;
}

.ak-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 30px 60px -36px rgba(28, 37, 40, 0.4);
}

.ak-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}

.keyinfo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.8rem 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(28, 37, 40, 0.12);
  position: relative;
  z-index: 1;
}

.keyinfo .lbl {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.keyinfo .val {
  font-family: "Bodoni Moda", serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.25;
}

.stepup-panel {
  background: var(--indigo);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  z-index: 1;
}

.stepup-panel .txt {
  padding: clamp(2rem, 4vw, 3.4rem);
}

.stepup-panel .eyebrow {
  color: #cfd0f4;
}

.stepup-panel .eyebrow::before {
  background: #fff;
}

.stepup-panel h3 {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 1rem;
  font-weight: 500;
}

.stepup-panel p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.2rem;
}

.stepup-panel p strong {
  color: #fff;
  font-weight: 700;
}

.stepup-panel .btn-primary {
  background: #fff;
  color: var(--indigo-deep);
  box-shadow: none;
  margin-top: 0.6rem;
}

.stepup-panel .btn-primary:hover {
  background: var(--beige);
  color: var(--indigo-deep);
}

.stepup-panel .media {
  position: relative;
  min-height: 260px;
}

.stepup-panel .media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* footer */
footer {
  background: var(--indigo-deep);
  color: #e7e5df;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.4rem;
  position: relative;
  overflow: hidden;
}

footer .eyebrow {
  color: #aeb4b6;
}

footer .eyebrow::before {
  background: var(--sky);
}

footer h2 {
  color: #fff;
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  max-width: 18ch;
  position: relative;
  z-index: 1;
}

footer .lead {
  color: rgba(231, 229, 223, 0.7);
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin: 2.4rem 0;
  position: relative;
  z-index: 1;
}

.contact-grid .lbl {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aeb4b6;
  margin-bottom: 0.5rem;
}

.contact-grid a,
.contact-grid span {
  color: #e7e5df;
  text-decoration: none;
  font-size: 1.02rem;
  word-break: break-word;
}

.contact-grid a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--indigo-deep);
}

footer .foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(231, 229, 223, 0.16);
  font-size: 0.85rem;
  color: rgba(231, 229, 223, 0.6);
  position: relative;
  z-index: 1;
}

footer .s-f {
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(4, 0, 255, 0.169);
  bottom: -90px;
  right: -40px;
  filter: blur(8px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .ak-grid,
  .stepup-panel {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 420px;
    margin: 0 auto;
  }

  .awards-grid,
  .creds,
  .keyinfo,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.6rem 2.4rem;
    border-right: 0;
    border-bottom: 1px solid rgba(28, 37, 40, 0.12);
    padding-right: 0;
    padding-bottom: 1.6rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .hero-facts > div:nth-child(2),
  .hero-facts > div:nth-child(3) {
    text-align: left;
  }

  .ak-media {
    aspect-ratio: 4/3;
  }

  .stepup-panel .media {
    min-height: 220px;
  }

  .tl-row {
    grid-template-columns: 64px 1fr;
    gap: 1rem;
  }

  .tl-row::before {
    left: 75px;
  }

  .tl-row .yr {
    font-size: 1.1rem;
  }
}

@media (max-width: 560px) {
  .awards-grid,
  .creds,
  .keyinfo,
  .contact-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .btn,
  .award,
  .contact-link,
  .socials a {
    transition: none;
  }
}

/* deploy: moved from inline */
.hero-media .photo img {
  object-position: 70% 36%;
}

.ak-body h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 1.4rem;
}
