:root {
  --paper: #f6f1e8;
  --paper-strong: #ece4d7;
  --ink: #17251f;
  --muted: #637068;
  --line: rgba(23, 37, 31, 0.16);
  --acid: #dfff72;
  --coral: #ff715f;
  --lavender: #b9a6ff;
  --blue: #5e7cff;
  --white: #fffdf8;
  --shadow: 0 24px 80px rgba(23, 37, 31, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(185, 166, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 98% 18%, rgba(223, 255, 114, 0.24), transparent 25rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--acid); color: var(--ink); }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: 1rem;
  padding: .75rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  min-height: 66px;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 12px;
  z-index: 50;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(23, 37, 31, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(23, 37, 31, 0.08);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
  font-size: 1.05rem;
}
.brand-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 8px -5px 0 -3px var(--lavender); }

.desktop-nav { display: flex; gap: clamp(16px, 2.2vw, 32px); align-items: center; }
.desktop-nav a { color: var(--muted); font-size: .86rem; font-weight: 650; text-decoration: none; transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switcher { display: flex; padding: 3px; background: rgba(23, 37, 31, 0.07); border-radius: 999px; }
.lang-button { border: 0; background: transparent; color: var(--muted); min-width: 34px; height: 30px; border-radius: 999px; font-size: .72rem; font-weight: 800; cursor: pointer; }
.lang-button.is-active { background: var(--white); color: var(--ink); box-shadow: 0 3px 12px rgba(23,37,31,.12); }
.mini-cta { padding: 10px 17px; border-radius: 999px; background: var(--ink); color: white; text-decoration: none; font-size: .82rem; font-weight: 750; }

.section-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.hero { min-height: calc(100svh - 96px); display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: clamp(48px, 7vw, 110px); align-items: center; padding-block: clamp(72px, 10vw, 140px); }
.eyebrow, .section-kicker { font-size: .76rem; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; }
.eyebrow { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); margin: 0 0 24px; }
.signal-dot { width: 9px; height: 9px; background: var(--coral); border-radius: 50%; box-shadow: 0 0 0 7px rgba(255, 113, 95, .13); }

h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 840px; margin-bottom: 24px; font-size: clamp(3rem, 6.3vw, 6.7rem); line-height: .97; letter-spacing: -.068em; font-weight: 760; }
h1 em { display: block; color: var(--coral); font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.055em; }
.hero-body { max-width: 690px; color: #48534d; font-size: clamp(1.03rem, 1.45vw, 1.25rem); line-height: 1.7; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 22px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); text-decoration: none; font-weight: 780; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); box-shadow: 0 10px 25px rgba(23,37,31,.16); }
.button-primary:hover { box-shadow: 0 16px 36px rgba(23,37,31,.22); }
.button-ghost { background: rgba(255,255,255,.24); }
.availability { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .82rem; }
.availability span:first-child { color: #3ca66b; font-size: .62rem; }

.hero-visual { position: relative; min-height: 390px; display: grid; place-items: center; }
.portrait-card { width: 230px; background: transparent; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.portrait-frame { width: 180px; height: 180px; overflow: hidden; border-radius: 50%; border: 5px solid var(--white); box-shadow: 0 14px 35px rgba(23,37,31,.18); background: var(--white); }
.portrait-photo { width: 100%; height: 100%; display: block; object-fit: cover; filter: grayscale(1) contrast(1.07); }
.portrait-label { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 18px 10px 0; text-align: center; }
.portrait-label span:first-child { font-weight: 820; }
.portrait-label span:last-child { max-width: 220px; color: var(--muted); font-size: .7rem; line-height: 1.35; text-align: center; }
.orbit { position: absolute; border: 1px solid rgba(23,37,31,.18); border-radius: 50%; animation: spin 24s linear infinite; }
.orbit::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--acid); border: 1px solid var(--ink); top: 12%; left: 12%; }
.orbit-one { width: 320px; height: 320px; }
.orbit-two { width: 410px; height: 245px; transform: rotate(62deg); animation-direction: reverse; animation-duration: 31s; }
.orbit-two::after { background: var(--lavender); }
@keyframes spin { to { transform: rotate(360deg); } }

.proof-strip { border-block: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.22); }
.proof-item { min-height: 145px; padding: 28px clamp(24px, 4vw, 58px); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.proof-item:last-child { border-right: 0; }
.proof-item strong { font-family: Georgia, serif; font-style: italic; font-size: 2.5rem; line-height: 1; color: var(--coral); }
.proof-item span { color: var(--muted); font-size: .78rem; max-width: 170px; line-height: 1.4; margin-top: 9px; }

.manifesto { padding-block: clamp(100px, 13vw, 180px); }
.section-kicker { color: var(--coral); margin-bottom: 20px; }
.manifesto-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(50px, 10vw, 150px); align-items: start; }
h2 { font-size: clamp(2.6rem, 5.4vw, 5.4rem); line-height: 1; letter-spacing: -.06em; font-weight: 760; }
.manifesto-copy { padding-top: 12px; }
.manifesto-copy .lead { font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.4; color: var(--ink); }
.manifesto-copy p { color: var(--muted); font-size: 1.03rem; }
.signature-line { margin-top: 30px; display: flex; gap: 12px; align-items: center; font-size: .82rem; font-weight: 800; }
.signature-line span:first-child { font-family: Georgia, serif; color: var(--coral); font-size: 2rem; }

.edge { padding: clamp(34px, 6vw, 70px); background: var(--ink); color: var(--white); border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.edge::before { content: ""; width: 420px; height: 420px; position: absolute; right: -180px; top: -210px; border-radius: 50%; border: 70px solid rgba(223,255,114,.1); }
.edge .section-kicker { color: var(--acid); }
.edge-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; margin-bottom: 56px; }
.edge-heading .section-kicker, .edge-heading h2 { grid-column: 1; }
.edge-heading h2 { max-width: 720px; margin-bottom: 0; }
.edge-heading-copy { grid-column: 2; grid-row: 2; max-width: 540px; }
.edge-heading-copy p { color: rgba(255,255,255,.72); font-size: 1.08rem; }
.edge-heading-copy .edge-research-line { color: rgba(255,255,255,.5); font-size: .82rem; line-height: 1.6; margin-top: 18px; }
.edge-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 15px; position: relative; }
.edge-card { min-height: 350px; padding: 30px; background: rgba(255,255,255,.065); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-md); display: flex; flex-direction: column; }
.edge-card-featured { background: var(--acid); color: var(--ink); }
.card-number { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; opacity: .62; }
.edge-card h3 { margin-top: auto; margin-bottom: 15px; font-size: clamp(1.5rem, 2.5vw, 2.2rem); letter-spacing: -.045em; }
.edge-card p { margin-bottom: 0; color: rgba(255,255,255,.65); }
.edge-card-featured p { color: rgba(23,37,31,.72); }
.method-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.method-tags span { border: 1px solid rgba(23,37,31,.28); border-radius: 999px; padding: 6px 9px; font-size: .66rem; font-weight: 800; }
.ethics-note { color: rgba(255,255,255,.48); max-width: 700px; margin: 30px 0 0; font-size: .77rem; }

.capabilities, .highlights, .process, .credentials, .contact { padding-block: clamp(100px, 13vw, 180px); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; margin-bottom: 65px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--muted); margin-bottom: 8px; max-width: 520px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-card { min-height: 285px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: background .25s ease, transform .25s ease; }
.capability-card:hover { background: var(--white); transform: translateY(-4px); }
.capability-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--accent); color: var(--ink); font-family: Georgia, serif; font-style: italic; font-size: 1.35rem; }
.capability-card h3 { margin: auto 0 12px; font-size: 1.35rem; letter-spacing: -.035em; }
.capability-card p { color: var(--muted); font-size: .88rem; margin-bottom: 0; }

.brand-world { background: var(--coral); padding-block: 52px; overflow: hidden; }
.brand-world .section-kicker { color: var(--ink); }
.brand-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.brand-track { width: max-content; display: flex; align-items: center; gap: 60px; animation: marquee 28s linear infinite; }
.brand-track span { color: var(--ink); font-size: clamp(1.6rem, 3.2vw, 3.2rem); font-weight: 820; letter-spacing: -.055em; white-space: nowrap; }
.brand-track span::after { content: "✦"; margin-left: 60px; font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

.highlight-list { border-top: 1px solid var(--line); }
.highlight-item { display: grid; grid-template-columns: 120px 1fr 1.05fr; gap: 30px; padding: 34px 8px; border-bottom: 1px solid var(--line); align-items: start; transition: background .2s ease, padding .2s ease; }
.highlight-item:hover { background: rgba(255,255,255,.35); padding-inline: 20px; }
.highlight-index { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--coral); font-size: .75rem; }
.highlight-item h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.04em; margin-bottom: 0; }
.highlight-item p { color: var(--muted); margin-bottom: 0; }

.process { border-top: 1px solid var(--line); display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.process-intro h2 { font-size: clamp(2.5rem, 4.5vw, 4.5rem); }
.process-list { list-style: none; padding: 0; margin: 0; counter-reset: process; }
.process-step { counter-increment: process; display: grid; grid-template-columns: 60px 170px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.process-step::before { content: "0" counter(process); color: var(--coral); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; }
.process-step h3 { margin-bottom: 0; font-size: 1.2rem; }
.process-step p { color: var(--muted); margin-bottom: 0; }

.credentials { padding-top: 0; }
.credentials-card { background: var(--lavender); border-radius: var(--radius-lg); padding: clamp(34px, 6vw, 74px); display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.credentials-card .section-kicker { color: var(--ink); }
.credentials-card h2 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); }
.credential-details p { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; padding: 18px 0; margin: 0; border-bottom: 1px solid rgba(23,37,31,.2); }
.credential-details strong { letter-spacing: -.02em; }
.credential-details span { font-size: .84rem; color: rgba(23,37,31,.7); }

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 10vw, 150px); align-items: start; }
.contact h2 { font-size: clamp(3rem, 5.4vw, 5.8rem); }
.contact-copy > p { color: var(--muted); max-width: 560px; }
.contact-links { display: grid; gap: 12px; margin-top: 40px; }
.contact-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-links span { color: var(--muted); font-size: .76rem; }
.contact-links strong { font-size: .88rem; }
.contact-form { background: var(--white); padding: clamp(28px, 4vw, 54px); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-row { margin-bottom: 24px; }
.form-row label { display: block; margin-bottom: 8px; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 850; }
.form-row input, .form-row textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 0; background: transparent; color: var(--ink); outline: 0; resize: vertical; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--coral); box-shadow: 0 2px 0 var(--coral); }
.form-row input::placeholder, .form-row textarea::placeholder { color: #9aa39e; }
.submit-button { width: 100%; border: 0; margin-top: 8px; }
.form-note, .form-status { font-size: .74rem; color: var(--muted); margin: 12px 0 0; }
.form-status { min-height: 24px; }
.form-status.is-success { color: #237b4b; }
.form-status.is-error { color: #b94335; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { min-height: 120px; width: min(calc(100% - 40px), var(--max)); margin-inline: auto; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--muted); font-size: .78rem; }
.site-footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.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; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr 430px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .edge-heading, .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .edge-heading-copy { grid-column: 1; grid-row: auto; }
  .edge-grid { grid-template-columns: 1fr 1fr; }
  .edge-card-featured { grid-column: 1 / -1; min-height: 300px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .site-header { width: calc(100% - 20px); top: 8px; margin-top: 8px; padding-left: 14px; }
  .mini-cta { display: none; }
  .language-switcher { margin-left: auto; }
  .section-shell { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 45px; padding-top: 75px; }
  .hero-visual { min-height: 350px; order: -1; }
  .portrait-card { width: 220px; }
  .orbit-one { width: 290px; height: 290px; }
  .orbit-two { width: 360px; height: 220px; }
  .manifesto-grid, .credentials-card, .contact, .process { grid-template-columns: 1fr; gap: 45px; }
  .edge { width: calc(100% - 20px); padding: 30px 20px; }
  .edge-grid { grid-template-columns: 1fr; }
  .edge-card-featured { grid-column: auto; }
  .capability-grid { grid-template-columns: 1fr; }
  .highlight-item { grid-template-columns: 48px 1fr; }
  .highlight-item p { grid-column: 2; }
  .process-step { grid-template-columns: 45px 1fr; }
  .process-step p { grid-column: 2; }
  .credential-details p { grid-template-columns: 1fr; gap: 6px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 30px; }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(2.75rem, 15vw, 4.4rem); }
  .brand-mark { font-size: .95rem; }
  .lang-button { min-width: 31px; }
  .hero-visual { min-height: 320px; }
  .portrait-frame { width: 160px; height: 160px; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-item { min-height: 112px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .hero-cta-row { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .contact-form { padding: 24px 20px; }
}

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