:root {
  --ink: #1d1830;
  --paper: #f8f4ec;
  --purple: #6d45c6;
  --purple-dark: #40237e;
  --lilac: #d9c8ff;
  --pink: #f4b8cf;
  --yellow: #f3d57a;
  --line: rgba(29, 24, 48, 0.18);
  --white: #fffdf8;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--lilac); }

.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: .045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 5vw;
  background: rgba(248, 244, 236, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: .3s ease;
}

.site-header.scrolled { border-color: var(--line); }
.logo {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.logo span { color: var(--purple); }

.nav { display: flex; align-items: center; gap: 34px; font-size: .92rem; }
.nav a { position: relative; }
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width .25s ease;
}
.nav a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: .25s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--white); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--ink);
  transition: .25s ease;
}

.section { padding: 120px 7vw; }
.hero {
  min-height: 100vh;
  padding-top: 150px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 4vw;
  position: relative;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 20px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: "Playfair Display", serif;
  line-height: .98;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(3.6rem, 7.1vw, 7.5rem); margin-bottom: 32px; }
h2 { font-size: clamp(3rem, 5.6vw, 6rem); }
em { color: var(--purple); font-weight: 600; }
.hero-text { max-width: 580px; font-size: 1.08rem; color: rgba(29,24,48,.72); }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease;
}
.button:hover { transform: translateY(-3px); }
.primary { background: var(--purple); color: white; box-shadow: 0 12px 30px rgba(109,69,198,.25); }
.text-link { font-weight: 600; }
.text-link span { display: inline-block; transition: transform .25s ease; }
.text-link:hover span { transform: translate(4px,-4px); }

.hero-art { min-height: 560px; display: grid; place-items: center; position: relative; }
.portrait-card {
  width: min(370px, 75vw);
  aspect-ratio: .78;
  border-radius: 48% 48% 28px 28px;
  padding: 12px;
  background: var(--purple-dark);
  transform: rotate(3deg);
  box-shadow: 30px 35px 0 var(--pink);
  z-index: 2;
}
.portrait-inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.55);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.18), transparent 32%),
    linear-gradient(145deg, #7e56db, #3e217b);
}
.monogram {
  font-family: "Playfair Display", serif;
  font-size: 11rem;
  line-height: .8;
  opacity: .92;
}
.portrait-inner p { text-transform: uppercase; letter-spacing: .28em; font-size: .68rem; text-align: center; margin-top: 28px; }
.spark { position: absolute; font-size: 2.2rem; color: var(--yellow); }
.spark-one { top: 18%; left: 18%; }
.spark-two { right: 15%; bottom: 24%; }

.orb { position: absolute; border-radius: 50%; filter: blur(.2px); }
.orb-one { width: 120px; height: 120px; background: var(--yellow); top: 5%; right: 4%; }
.orb-two { width: 85px; height: 85px; background: var(--lilac); bottom: 8%; left: 3%; }
.floating-note {
  position: absolute;
  z-index: 3;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(29,24,48,.1);
  font-size: .8rem;
  font-weight: 700;
}
.note-one { left: 4%; top: 25%; transform: rotate(-8deg); }
.note-two { right: 0; bottom: 19%; transform: rotate(8deg); }
.scroll-cue {
  position: absolute;
  bottom: 35px;
  left: 7vw;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.scroll-cue span { display: inline-block; margin-left: 8px; animation: bob 1.5s infinite ease-in-out; }
@keyframes bob { 50% { transform: translateY(5px); } }

.section-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: rgba(29,24,48,.58);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 70px;
}

.about { background: var(--ink); color: var(--white); }
.about .section-label { color: rgba(255,255,255,.55); border-color: rgba(255,255,255,.16); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.about h2 em { color: var(--pink); }
.about-copy { padding-top: 15px; }
.large-copy { font-size: clamp(1.4rem, 2.3vw, 2.1rem); line-height: 1.35; }
.about-copy > p:not(.large-copy) { color: rgba(255,255,255,.68); max-width: 650px; }
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 55px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.mini-stats strong, .mini-stats span { display: block; }
.mini-stats strong { margin-bottom: 4px; }
.mini-stats span { font-size: .76rem; color: rgba(255,255,255,.5); }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 60px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { max-width: 380px; color: rgba(29,24,48,.65); }

.project-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.35);
  position: relative;
}
.project-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr .85fr; }
.project-number { position: absolute; top: 18px; left: 22px; z-index: 4; font-size: .75rem; font-weight: 700; }
.project-visual { min-height: 330px; position: relative; display: grid; place-items: center; overflow: hidden; }
.featured .project-visual { min-height: 470px; }
.visual-one { background: var(--lilac); }
.visual-two { background: var(--yellow); }
.visual-three { background: var(--pink); }
.visual-one span, .visual-two span, .visual-three span { font-family: "Playfair Display", serif; font-size: 2rem; position: relative; z-index: 2; }
.ring { position: absolute; border: 2px solid var(--purple); border-radius: 50%; }
.ring-a { width: 280px; height: 280px; }
.ring-b { width: 160px; height: 160px; border-style: dashed; animation: rotate 18s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.quote-mark { position: absolute; font-family: "Playfair Display",serif; font-size: 18rem; line-height: 1; opacity: .28; top: 5%; }
.book-shape {
  width: 120px; height: 165px; border-radius: 8px 18px 18px 8px;
  background: var(--purple-dark); position: absolute; transform: rotate(-12deg) translateX(-35px);
  box-shadow: -8px 8px 0 rgba(255,255,255,.55);
}
.book-shape.second { background: var(--white); transform: rotate(9deg) translateX(45px); }
.project-content { padding: 32px; }
.featured .project-content { display: flex; flex-direction: column; justify-content: center; padding: 50px; }
.project-type { text-transform: uppercase; font-size: .7rem; letter-spacing: .15em; color: var(--purple); font-weight: 700; }
.project-content h3 { font-family: "Playfair Display",serif; font-size: clamp(1.8rem,3vw,3.2rem); line-height: 1.05; margin-bottom: 18px; }
.project-content p:not(.project-type) { color: rgba(29,24,48,.65); }
.project-content a { font-weight: 700; margin-top: 15px; display: inline-block; }

.interests { padding-left: 0; padding-right: 0; }
.interests .section-label { margin-left: 7vw; margin-right: 7vw; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.marquee-track { width: max-content; display: flex; animation: marquee 24s linear infinite; }
.marquee-track span { font-family: "Playfair Display",serif; font-size: clamp(2rem,4vw,4.2rem); white-space: nowrap; margin-right: 30px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.interest-list { margin: 70px 7vw 0; }
.interest-row {
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.interest-row > span { font-size: .72rem; color: var(--purple); font-weight: 700; }
.interest-row h3 { font-family: "Playfair Display",serif; font-size: clamp(1.6rem,2.5vw,2.7rem); margin: 0; }
.interest-row p { margin: 0; color: rgba(29,24,48,.64); max-width: 480px; }

.contact { padding-top: 70px; }
.contact-card {
  background: var(--purple-dark);
  color: white;
  border-radius: 40px;
  padding: clamp(45px,8vw,100px);
  position: relative;
  overflow: hidden;
}
.contact-card::after {
  content: "✦";
  position: absolute;
  right: 7%;
  top: 8%;
  font-size: 12rem;
  color: rgba(255,255,255,.07);
}
.contact-card .eyebrow { color: var(--pink); }
.contact-card h2 { max-width: 900px; }
.contact-card h2 em { color: var(--pink); }
.contact-card > p:not(.eyebrow) { color: rgba(255,255,255,.7); max-width: 620px; font-size: 1.08rem; }
.button.light { background: white; color: var(--purple-dark); margin-top: 25px; }
.contact-footer {
  margin-top: 90px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}
.contact-footer div { display: flex; gap: 25px; }
footer {
  padding: 30px 7vw 45px;
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(29,24,48,.6);
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }

@media (max-width: 900px) {
  .section { padding: 90px 6vw; }
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-art { min-height: 500px; }
  .scroll-cue { display: none; }
  .about-grid, .project-card.featured { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card.featured { display: block; }
  .section-heading { align-items: start; flex-direction: column; }
  .interest-row { grid-template-columns: 45px 1fr; }
  .interest-row p { grid-column: 2; }
}

@media (max-width: 700px) {
  .site-header { padding: 18px 5vw; }
  .menu-toggle { display: block; z-index: 60; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    font-family: "Playfair Display",serif;
    font-size: 2.2rem;
    transform: translateY(-100%);
    transition: transform .4s cubic-bezier(.76,0,.24,1);
  }
  .nav.open { transform: translateY(0); }
  .nav-cta { font-family: "DM Sans",sans-serif; font-size: 1rem; }
  .menu-toggle.open span:first-child { transform: rotate(45deg) translate(3px,3px); }
  .menu-toggle.open span:last-child { transform: rotate(-45deg) translate(2px,-2px); }
  h1 { font-size: clamp(3.15rem,15vw,5.2rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-art { min-height: 420px; }
  .portrait-card { width: 270px; box-shadow: 18px 20px 0 var(--pink); }
  .monogram { font-size: 8rem; }
  .mini-stats { grid-template-columns: 1fr; }
  .featured .project-content { padding: 30px; }
  .contact-card { border-radius: 26px; }
  .contact-footer, footer { flex-direction: column; gap: 16px; }
}
