@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/inter-variable-latin-v20.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --carmim: #b8283e;
  --marfim: #fbf9f5;
  --preto: #0f0f0f;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(1.5rem, 5vw, 5rem);
  --hair: rgba(15, 15, 15, .16);
  --font-body: "Inter", sans-serif;
  --font-display: "Inter", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--preto); }
body { margin: 0; font-family: var(--font-body); font-weight: 300; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
::selection { color: var(--marfim); background: var(--carmim); }
.skip { position: fixed; z-index: 100; top: 1rem; left: 1rem; transform: translateY(-180%); padding: .7rem 1rem; background: var(--marfim); color: var(--preto); }
.skip:focus { transform: none; }
.nav { position: absolute; z-index: 20; inset: 0 0 auto; min-height: 6.2rem; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 14%, transparent); }
.mark { font-family: var(--font-display); font-size: 1.25rem; font-weight: 300; }
.nav nav { display: flex; gap: clamp(1rem, 3vw, 3.4rem); font-size: .66rem; letter-spacing: .16em; }
.edition { justify-self: end; font-size: .6rem; letter-spacing: .2em; opacity: .54; }
.hero { position: relative; overflow: hidden; min-height: 100svh; padding: clamp(10rem, 17vh, 13rem) var(--pad) clamp(3rem, 6vh, 5rem); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr auto; align-items: start; }
.kicker { margin: 0; font-size: .7rem; letter-spacing: .22em; font-weight: 400; }
.role { margin: .5rem 0 0; grid-column: 1; font-family: Inter, sans-serif; font-size: clamp(1.15rem, 1.7vw, 1.7rem); font-weight: 300; }
.hero h1 { position: relative; z-index: 2; grid-column: 1 / -1; align-self: center; max-width: 14ch; margin: 7vh 0; font-family: var(--font-display); font-size: clamp(3.3rem, 8.2vw, 8.6rem); line-height: .94; letter-spacing: -.052em; font-weight: 200; }
.hero-meta { position: relative; z-index: 2; grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; font-size: clamp(.72rem, 1vw, .92rem); letter-spacing: .08em; }
.hero-meta p { margin: 0; }
.hero-meta a, .main-action, .contact a { font-size: .68rem; letter-spacing: .18em; }
.section { position: relative; overflow: hidden; min-height: 90svh; padding: clamp(7rem, 12vw, 12rem) var(--pad); }
.section-title { display: block; }
.section-title p { margin: 0 0 .6rem; font-size: .64rem; letter-spacing: .2em; opacity: .52; }
.section-title h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2.2rem, 5.3vw, 5.5rem); line-height: .92; letter-spacing: -.035em; font-weight: 300; }
.section-lead { width: min(40rem, 72%); margin: clamp(4rem, 8vw, 8rem) 0 clamp(4rem, 8vw, 7rem) auto; font-size: clamp(1.3rem, 2.3vw, 2.4rem); line-height: 1.25; }
.project-list { border-top: 1px solid var(--hair); }
.project { min-height: 6.8rem; display: grid; grid-template-columns: minmax(13rem, 1.35fr) minmax(10rem, .8fr) minmax(16rem, 1.4fr); align-items: center; gap: 2rem; border-bottom: 1px solid var(--hair); transition: padding 500ms var(--ease), background 500ms var(--ease), color 500ms var(--ease); }
.project:hover { padding-inline: 1.2rem; }
.project:not(a) { cursor: default; }
.project:not(a):hover { padding-inline: 0; background: transparent; color: inherit; }
.project-name { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2.5rem); font-weight: 300; letter-spacing: -.02em; }
.project > span:not(.project-name) { font-size: .83rem; line-height: 1.6; opacity: .68; }
.project small { font-size: .68rem; letter-spacing: .04em; opacity: .62; }
.project em { margin-left: .8rem; color: var(--carmim); font-family: Inter, sans-serif; font-size: .56rem; font-style: normal; letter-spacing: .16em; vertical-align: .35em; }
.project--tall { min-height: 9rem; }
.direction { min-height: 100svh; }
.direction-grid { position: relative; z-index: 2; margin-top: clamp(5rem, 10vw, 11rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 8rem); }
.direction-statement { font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 4.7rem); line-height: 1.04; letter-spacing: -.035em; }
.direction-statement p { margin: 0 0 2.5rem; }
.direction-matter { justify-self: end; width: min(31rem, 100%); font-size: clamp(1.15rem, 1.8vw, 1.75rem); line-height: 1.56; }
.direction-matter p { margin: 0 0 3rem; }
.direction-close { grid-column: 2; margin: 5rem 0 0; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 3.4rem); line-height: 1.12; letter-spacing: -.025em; }
.offers { margin: clamp(5rem, 9vw, 9rem) 0 4rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.offer { min-height: 39rem; padding: 2rem clamp(1rem, 2.7vw, 3rem) 3rem 0; display: flex; flex-direction: column; border-right: 1px solid var(--hair); transition: color 450ms var(--ease), background 450ms var(--ease), padding 450ms var(--ease); }
.offer + .offer { padding-left: clamp(1rem, 2.7vw, 3rem); }
.offer:last-child { border-right: 0; }
.offer:hover { padding-inline: clamp(1rem, 2.7vw, 3rem); color: var(--marfim); background: var(--preto); }
.offers h3 { margin: 1rem 0 .8rem; font-family: var(--font-display); font-size: clamp(1.65rem, 2.5vw, 2.7rem); font-weight: 300; }
.offers h4 { margin: 0 0 3rem; font-size: .68rem; letter-spacing: .14em; font-weight: 400; }
.offers p { max-width: 28ch; font-size: .94rem; line-height: 1.65; opacity: .72; }
.offer-action { margin-top: auto; padding-top: 3rem; font-size: .6rem; letter-spacing: .14em; opacity: .62; }
.main-action { display: inline-block; margin-top: 2rem; }
.letters { min-height: 72svh; }
.letters-grid { margin: clamp(5rem, 9vw, 9rem) 0 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.letters-grid p { max-width: 27ch; margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 3rem); line-height: 1.2; }
.letters-grid p + p { justify-self: end; font-family: Inter, sans-serif; font-size: clamp(1rem, 1.5vw, 1.35rem); line-height: 1.55; }
.contact { position: relative; overflow: hidden; min-height: 100svh; padding: clamp(7rem, 10vw, 10rem) var(--pad); }
.contact-head { position: relative; z-index: 2; }
.contact-kicker { margin: 0 0 2rem; font-size: .62rem; letter-spacing: .2em; opacity: .52; }
.contact-head h2 { max-width: 11ch; margin: 0; font-family: var(--font-display); font-size: clamp(3.4rem, 8vw, 8.8rem); line-height: .9; letter-spacing: -.045em; font-weight: 200; }
.aura { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(52px); opacity: .56; }
.aura--one { width: min(46vw, 43rem); aspect-ratio: 1; right: -8vw; top: 14vh; background: radial-gradient(circle at 42% 40%, rgba(184,40,62,.32), rgba(184,40,62,.08) 38%, transparent 68%); }
.aura--two { width: 52vw; aspect-ratio: 1; left: -18vw; bottom: -22vw; background: radial-gradient(circle, rgba(184,40,62,.3), transparent 66%); }
.aura--three { width: 62vw; aspect-ratio: 1; right: -15vw; bottom: -32vw; background: radial-gradient(circle, rgba(184,40,62,.5), transparent 67%); }
.carmine-plane { display: none; }

.letter-previews { margin: clamp(5rem, 9vw, 9rem) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.letter-preview { min-height: 31rem; padding: 2rem clamp(1.2rem, 2.8vw, 3rem) 2.4rem 0; display: flex; flex-direction: column; border-right: 1px solid var(--hair); }
.letter-preview + .letter-preview { padding-left: clamp(1.2rem, 2.8vw, 3rem); }
.letter-preview:last-child { border-right: 0; }
.letter-preview__meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .68rem; letter-spacing: .04em; opacity: .56; }
.letter-preview h3 { margin: clamp(5rem, 9vw, 8rem) 0 1.5rem; font-family: var(--font-display); font-size: clamp(1.55rem, 2.5vw, 2.7rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 300; }
.letter-preview p { max-width: 31ch; margin: 0; font-size: .9rem; line-height: 1.65; opacity: .68; }
.letter-preview__state { margin-top: auto; padding-top: 3rem; font-size: .58rem; letter-spacing: .15em; color: var(--carmim); }

.correspondence-form { width: min(48rem, 100%); margin: clamp(5rem, 9vw, 8rem) 0 0 auto; display: grid; grid-template-columns: .72fr 1.28fr; column-gap: clamp(2rem, 5vw, 5rem); }
.correspondence-form > div { display: flex; flex-direction: column; }
.correspondence-form label { margin-bottom: .7rem; font-size: .58rem; font-weight: 400; letter-spacing: .14em; opacity: .52; }
.correspondence-form input { width: 100%; padding: .8rem 0; color: inherit; background: transparent; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; outline: 0; font: inherit; font-size: 1rem; font-weight: 300; opacity: .72; }
.correspondence-form input:focus { opacity: 1; border-bottom-color: var(--carmim); }
.correspondence-line { display: flex; align-items: flex-end; border-bottom: 1px solid currentColor; }
.correspondence-line input { border: 0; }
.correspondence-line button, .conversation-entry-foot button, .conversation-composer button { flex: none; padding: .8rem 0 .8rem 1rem; color: inherit; background: transparent; border: 0; font: inherit; font-size: .62rem; letter-spacing: .14em; cursor: pointer; white-space: nowrap; }
.correspondence-form .consent { grid-column: 2; margin-top: 1rem; display: flex; gap: .8rem; align-items: flex-start; font-size: .66rem; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.correspondence-form .consent input { flex: none; width: .85rem; height: .85rem; margin: .15rem 0 0; accent-color: var(--carmim); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 1.4rem; margin: .8rem 0 0; font-size: .72rem; line-height: 1.5; opacity: .6; }

.conversation-grid { position: relative; z-index: 2; margin-top: clamp(5rem, 9vw, 10rem); display: grid; grid-template-columns: minmax(14rem, .8fr) minmax(20rem, 1.2fr); gap: clamp(4rem, 10vw, 12rem); align-items: center; }
.lotus-presence { display: flex; align-items: center; justify-content: center; }
.lotus-orb { width: clamp(12rem, 24vw, 20rem); max-width: 76vw; aspect-ratio: 1; transform-origin: center; }
.lotus-orb__membrane { width: 100%; height: 100%; border: clamp(7px, 1.15vw, 13px) solid var(--marfim); border-radius: 50%; background: transparent; transition: opacity 900ms var(--ease); }
.lotus-idle-anim { animation: organic-breathe 7s ease-in-out infinite; transform-origin: center; }
.lotus-orb[data-state="listening"] .lotus-orb__membrane { animation: organic-listen 2.5s ease-in-out infinite; }
.lotus-orb[data-state="thinking"] .lotus-orb__membrane { animation: organic-think 4.5s ease-in-out infinite; }
.lotus-orb[data-state="speaking"] .lotus-orb__membrane { animation: organic-speak 1.6s ease-in-out infinite; }
.conversation-surface { width: 100%; max-width: 38rem; justify-self: end; }
.conversation-chat { width: 100%; }
.conversation-composer textarea::placeholder { color: rgba(251,249,245,.42); }
.conversation-chat { overflow: visible; }
.conversation-transcript { display: flex; flex-direction: column; gap: 1.75rem; min-height: 13rem; max-height: 48svh; overflow-y: auto; padding-bottom: 2rem; }
.transcript-entry { display: flex; flex-direction: column; gap: .45rem; }
.transcript-speaker { font-size: .58rem; letter-spacing: .14em; opacity: .48; }
.transcript-entry--user .transcript-speaker { color: #e45c70; opacity: 1; }
.transcript-text { margin: 0; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.conversation-form { display: flex; flex-direction: column; }
.conversation-context { margin: 0 0 1rem; color: #e45c70; font-size: .62rem; letter-spacing: .1em; }
.conversation-context[hidden] { display: none; }
.conversation-composer { display: flex; align-items: flex-end; gap: .75rem; padding: 1rem 0 .8rem; border-bottom: 1px solid rgba(251,249,245,.46); }
.conversation-composer textarea { flex: 1; min-width: 0; min-height: 2.4rem; max-height: 10rem; padding: .4rem 0; color: inherit; background: transparent; border: 0; outline: 0; resize: none; font: inherit; font-size: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@keyframes organic-breathe {
  0%, 100% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; transform: scale(1) rotate(0deg); }
  33% { border-radius: 54% 46% 52% 48% / 48% 53% 47% 52%; transform: scale(1.02) rotate(1.5deg); }
  66% { border-radius: 47% 53% 48% 52% / 53% 47% 53% 47%; transform: scale(.98) rotate(-1.5deg); }
}
@keyframes organic-listen {
  0%, 100% { border-radius: 50%; transform: scale(1.03); }
  50% { border-radius: 42% 58% 38% 62% / 55% 45% 55% 45%; transform: scale(1.09) rotate(-3deg); }
}
@keyframes organic-think {
  0% { border-radius: 50%; transform: scale(1.02) rotate(0); }
  50% { border-radius: 45% 55% 48% 52% / 52% 45% 55% 48%; transform: scale(.96) rotate(180deg); }
  100% { border-radius: 50%; transform: scale(1.02) rotate(360deg); }
}
@keyframes organic-speak {
  0%, 100% { border-radius: 50%; transform: scale(1); }
  35% { border-radius: 55% 45% 50% 50% / 46% 54% 44% 56%; transform: scale(1.04); }
  70% { border-radius: 46% 54% 43% 57% / 54% 46% 57% 43%; transform: scale(.99); }
}

.theme-ivory { --hair: rgba(15,15,15,.16); color: var(--preto); background: var(--marfim); }
.theme-ivory .hero, .theme-ivory .now, .theme-ivory .work { background: var(--marfim); }
.theme-ivory .direction, .theme-ivory .contact { color: var(--marfim); background: var(--preto); --hair: rgba(251,249,245,.16); }
.theme-ivory .letters { background: #eeeae3; }
.theme-ivory .project:hover { color: var(--marfim); background: var(--preto); }

.theme-black { --hair: rgba(251,249,245,.14); color: var(--marfim); background: var(--preto); }
.theme-black .hero, .theme-black .now, .theme-black .work, .theme-black .contact { background: var(--preto); }
.theme-black .direction { color: var(--preto); background: var(--marfim); --hair: rgba(15,15,15,.16); }
.theme-black .letters { color: var(--preto); background: #d9d2c9; --hair: rgba(15,15,15,.16); }
.theme-black .project:hover { background: rgba(184,40,62,.16); }
.theme-black .project em { color: #e45c70; }

.theme-carmine { --hair: rgba(15,15,15,.16); color: var(--preto); background: var(--marfim); }
.theme-carmine .hero { background: var(--marfim); }
.theme-carmine .carmine-plane { display: block; position: absolute; inset: 0 0 0 68%; background: var(--carmim); }
.theme-carmine .now { color: var(--marfim); background: var(--preto); --hair: rgba(251,249,245,.15); }
.theme-carmine .project:hover { color: var(--marfim); background: var(--carmim); }
.theme-carmine .project em { color: #ea7183; }
.theme-carmine .project:hover em { color: var(--marfim); }
.theme-carmine .direction { color: var(--marfim); background: var(--carmim); --hair: rgba(251,249,245,.2); }
.theme-carmine .direction .aura { background: radial-gradient(circle, rgba(251,249,245,.2), transparent 65%); }
.theme-carmine .work { background: var(--marfim); }
.theme-carmine .letters { color: var(--marfim); background: var(--preto); --hair: rgba(251,249,245,.15); }
.theme-carmine .contact { color: var(--marfim); background: var(--preto); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

.study-index { min-height: 100svh; color: var(--marfim); background: var(--preto); }
.study-shell { min-height: 100svh; padding: var(--pad); display: flex; flex-direction: column; }
.study-head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: end; padding: 3rem 0 clamp(5rem, 10vw, 9rem); }
.micro { grid-column: 1 / -1; margin: 0; font-size: .62rem; letter-spacing: .2em; opacity: .5; }
.study-head h1 { margin: 0; font-family: Inter, sans-serif; font-size: clamp(3.5rem, 7vw, 7.4rem); line-height: .9; letter-spacing: -.05em; font-weight: 200; }
.study-intro { max-width: 32rem; margin: 0; font-size: clamp(1rem, 1.6vw, 1.4rem); line-height: 1.55; opacity: .64; }
.study-grid { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 32rem; border-top: 1px solid rgba(251,249,245,.16); border-bottom: 1px solid rgba(251,249,245,.16); }
.study-card { padding: 2rem; display: flex; flex-direction: column; border-right: 1px solid rgba(251,249,245,.16); transition: flex 500ms var(--ease), transform 500ms var(--ease); }
.study-card:last-child { border: 0; }
.study-card:hover { transform: translateY(-.75rem); }
.study-number { font-size: .6rem; letter-spacing: .16em; opacity: .48; }
.study-title { margin-top: auto; font-family: Inter, sans-serif; font-size: clamp(1.8rem, 3vw, 3.3rem); font-weight: 300; }
.study-note { margin-top: .8rem; font-size: .72rem; letter-spacing: .08em; opacity: .62; }
.study-action { margin-top: 4rem; font-size: .62rem; letter-spacing: .17em; }
.study-card--ivory { color: var(--preto); background: var(--marfim); }
.study-card--black { background: #171717; }
.study-card--carmine { background: linear-gradient(145deg, var(--carmim), #631726); }
.study-foot { display: flex; justify-content: space-between; padding-top: 2rem; font-size: .58rem; letter-spacing: .14em; opacity: .4; }

@media (max-width: 760px) {
  .nav { min-height: 4.8rem; grid-template-columns: 1fr 1fr; }
  .nav nav { display: none; }
  .edition { font-size: .52rem; }
  .hero { min-height: 92svh; padding-top: 8.5rem; grid-template-columns: 1fr; }
  .hero h1 { margin: 12vh 0 7vh; font-size: clamp(3.25rem, 15vw, 5.6rem); }
  .hero-meta { align-items: start; gap: 3rem; }
  .hero-meta p { max-width: 17rem; line-height: 1.6; }
  .section { padding-block: 7rem; }
  .section-lead { width: 100%; margin: 4rem 0; }
  .project { padding: 1.7rem 0; grid-template-columns: 1fr; gap: .4rem; }
  .project:hover { padding-inline: .8rem; }
  .project-name { margin-bottom: .6rem; }
  .direction-grid { grid-template-columns: 1fr; }
  .direction-matter { justify-self: start; }
  .direction-close { grid-column: 1; margin-top: 2rem; }
  .offers { grid-template-columns: 1fr; }
  .offer, .offer + .offer { min-height: 25rem; padding: 2rem 0 3rem; border-right: 0; border-bottom: 1px solid var(--hair); }
  .offer:last-child { border-bottom: 0; }
  .offer:hover { padding-inline: 1rem; }
  .offers h3 { margin-top: 3rem; }
  .offers h4 { margin-bottom: 2rem; }
  .letters-grid { grid-template-columns: 1fr; gap: 3rem; }
  .letters-grid p + p { justify-self: start; }
  .letter-previews { grid-template-columns: 1fr; }
  .letter-preview, .letter-preview + .letter-preview { min-height: 24rem; padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--hair); }
  .letter-preview:last-child { border-bottom: 0; }
  .letter-preview h3 { margin-top: 4rem; }
  .correspondence-form { grid-template-columns: 1fr; gap: 2rem; }
  .correspondence-form .consent { grid-column: 1; }
  .correspondence-line { display: block; border-bottom: 0; }
  .correspondence-line input { border-bottom: 1px solid currentColor; }
  .correspondence-line button { width: 100%; padding: 1.2rem 0 .4rem; text-align: left; }
  .contact { min-height: 100svh; padding-block: 7rem; }
  .conversation-grid { grid-template-columns: 1fr; gap: 4rem; }
  .conversation-surface { max-width: none; justify-self: stretch; }
  .lotus-orb { width: clamp(10rem, 52vw, 14rem); }
  .theme-carmine .carmine-plane { inset: 66% 0 0; }
  .study-shell { padding: 1.5rem; }
  .study-head { grid-template-columns: 1fr; padding-top: 2rem; }
  .study-grid { grid-template-columns: 1fr; }
  .study-card { min-height: 22rem; border-right: 0; border-bottom: 1px solid rgba(251,249,245,.16); }
  .study-foot { flex-direction: column; gap: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .study-card, .project { transition: none; }
}
