:root {
  --ink: #261f33;
  --muted: #5e5470;
  --line: #d4c9e6;
  --mint: #ede7f8;
  --sage: #c3b1e8;
  --accent: #6d48c4;
  --deep: #432882;
  --paper: #f8f6fc;
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .18; background-image: linear-gradient(#cfc2e6 1px, transparent 1px), linear-gradient(90deg, #cfc2e6 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 70%); z-index: -1; }
a { color: inherit; text-decoration: none; }
.ambient { position: fixed; pointer-events: none; z-index: -1; }
.ambient-left { width: 38vw; height: 28vw; top: 0; left: 0; background: #e8dff7; }
.ambient-right { width: 28vw; height: 36vw; right: 0; bottom: 0; background: #eee7f9; }
.section-shell, .site-header { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.site-header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 2px solid var(--ink); }
.brand { display: inline-flex; color-scheme: light; }
.brand img { display: block; width: 138px; height: auto; }
.nav-links { display: flex; gap: 30px; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { min-width: 39px; padding-inline: 0; justify-content: center; cursor: pointer; font-family: inherit; color: var(--ink); font-size: 14px; }
.nav-links a, .text-link, .site-footer a { transition: color .2s ease; }
.nav-links a:hover, .text-link:hover, .site-footer a:hover { color: var(--deep); }
.glass-button { --mx: 0px; --my: 0px; position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 45px; padding: 0 17px; border: 2px solid var(--ink); border-radius: 0; background: #fff; box-shadow: 5px 5px 0 var(--ink); font-size: 13px; font-weight: 800; transform: translate3d(var(--mx), var(--my), 0); transition: box-shadow .2s ease, background .2s ease, transform .2s ease; }
.glass-button:hover { background: var(--mint); box-shadow: 2px 2px 0 var(--ink); }
.glass-button span { position: relative; z-index: 1; }
.glass-button.compact { min-height: 39px; padding-inline: 15px; font-size: 12px; }
.glass-button.primary { min-height: 49px; padding-inline: 21px; background: var(--accent); color: #fff; box-shadow: 5px 5px 0 var(--deep); }
.glass-button.primary:hover { background: var(--deep); box-shadow: 2px 2px 0 var(--ink); }
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 44px; min-height: 670px; padding-block: 54px 84px; }
.hero-copy { position: relative; z-index: 2; padding-left: clamp(0px, 4vw, 58px); }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 560px; margin-bottom: 24px; font-size: clamp(48px, 6.2vw, 82px); line-height: .98; letter-spacing: -.075em; font-weight: 800; }
h1 em, h2 em { color: var(--accent); font-style: normal; }
.hero-lede { max-width: 470px; margin-bottom: 30px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 23px; }
.text-link { color: var(--deep); font-size: 13px; font-weight: 800; }
.hero-visual { position: relative; min-height: 505px; overflow: hidden; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--sage); isolation: isolate; transition: transform .3s ease; }
.hero-visual::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.88); pointer-events: none; z-index: 2; }
.hero-visual picture { display: block; width: 100%; height: 100%; }
.hero-visual img { width: 100%; height: 100%; min-height: 505px; object-fit: cover; object-position: 56% center; display: block; }
.visual-glass { position: absolute; z-index: 3; border: 2px solid var(--ink); background: #fff; box-shadow: 5px 5px 0 var(--ink); }
.visual-note { right: 22px; bottom: 22px; display: grid; gap: 4px; min-width: 205px; padding: 15px 17px; }
.note-kicker { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.visual-note strong { color: var(--ink); font-size: 15px; }
.note-line { color: var(--muted); font-size: 11px; }
.visual-chip { top: 20px; left: 20px; padding: 5px 8px; background: var(--accent); color: #fff; }
.visual-chip span { display: block; width: 102px; height: 30px; background: currentColor; mask: url("assets/lyraster-logo.svg") center / contain no-repeat; }
.intro-grid, .people-section, .work-section { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 44px; padding-block: 108px; border-top: 2px solid var(--ink); }
.section-label { display: flex; flex-direction: column; gap: 11px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.section-label span:first-child { color: var(--accent); }
.intro-content { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, .8fr); gap: 65px; }
h2 { margin-bottom: 0; font-size: clamp(35px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -.065em; }
.intro-text { padding-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.intro-text p { margin-bottom: 22px; }
.quote-line { display: flex; align-items: baseline; gap: 10px; margin-top: 36px; color: var(--deep); font-size: 13px; font-weight: 800; }
.quote-line span:first-child { font-family: Georgia, serif; font-size: 32px; font-weight: 400; line-height: 0; }
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.person-card { --rx: 0deg; --ry: 0deg; min-height: 350px; padding: 22px; border: 2px solid var(--ink); border-radius: 0; background: #fff; box-shadow: 8px 8px 0 var(--sage); transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .3s ease, box-shadow .2s ease; }
.person-card:hover { box-shadow: 3px 3px 0 var(--deep); }
.founder { background: var(--mint); }
.partner { background: #ebe8f5; }
.person-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.person-symbol { color: var(--accent); font-size: 23px; }
.person-avatar { display: grid; place-items: center; width: 68px; height: 68px; margin-top: 42px; margin-bottom: 21px; border: 2px solid var(--ink); background: var(--accent); color: #fff; font-size: 27px; font-weight: 800; }
.partner .person-avatar { background: #7b68a6; }
.person-card h3 { margin-bottom: 10px; font-size: 25px; letter-spacing: -.05em; }
.person-card p { max-width: 360px; min-height: 55px; margin-bottom: 21px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.person-link { color: var(--deep); font-size: 12px; font-weight: 800; }
.person-link span { color: var(--muted); font-weight: 500; }
.work-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.work-intro { max-width: 390px; margin-top: 25px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.work-right { display: grid; gap: 18px; align-content: start; }
.work-statement { display: grid; align-content: center; gap: 14px; min-height: 180px; padding: 26px; border: 2px solid var(--ink); background: var(--accent); color: #fff; box-shadow: 8px 8px 0 var(--deep); }
.statement-mark { display: block; width: 40px; height: 40px; background: currentColor; mask: url("assets/lyraster-mark.svg") center / contain no-repeat; }
.work-statement strong { font-size: 30px; letter-spacing: -.06em; }
.work-statement span:last-child { color: #ece5fa; font-size: 13px; }
.work-card { --mx: 0px; --my: 0px; display: grid; gap: 8px; padding: 22px 24px; border: 2px solid var(--ink); background: #fff; box-shadow: 8px 8px 0 var(--sage); transform: translate3d(var(--mx), var(--my), 0); transition: box-shadow .2s ease, background .2s ease, transform .2s ease; }
.work-card:hover { background: var(--mint); box-shadow: 3px 3px 0 var(--deep); }
.work-card-top { display: flex; justify-content: space-between; align-items: center; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.work-card strong { font-size: 20px; letter-spacing: -.04em; }
.work-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.contact-section { padding-block: 48px 116px; }
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 50px; border: 2px solid var(--ink); background: var(--sage); box-shadow: 10px 10px 0 var(--deep); }
.contact-panel .section-kicker { color: var(--deep); }
.contact-panel h2 em { color: #2c1859; }
.contact-actions { display: grid; align-content: center; gap: 11px; }
.contact-actions .glass-button { width: 100%; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 0 30px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.site-footer a { color: var(--deep); font-weight: 800; }
@media (max-width: 860px) {
  .section-shell, .site-header { width: min(100% - 40px, 680px); }
  .site-header { min-height: 72px; padding-block: 14px; flex-wrap: wrap; gap: 12px; }
  .brand img { width: 116px; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 24px; padding-top: 10px; border-top: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; gap: 38px; min-height: 0; padding-top: 44px; }
  .hero-copy { padding-left: 0; }
  .hero-visual, .hero-visual img { min-height: 400px; }
  .intro-grid, .people-section, .work-section { grid-template-columns: 1fr; gap: 26px; padding-block: 76px; }
  .section-label { flex-direction: row; gap: 12px; }
  .intro-content, .work-layout, .contact-panel { grid-template-columns: 1fr; gap: 30px; }
  .people-grid { grid-template-columns: 1fr; }
  .person-card { min-height: 0; }
  .contact-panel { padding: 30px 24px; }
  .contact-section { padding-bottom: 82px; }
  .site-footer { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .header-actions .compact { gap: 12px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
html[data-theme="dark"] {
  --ink: #ede7f6;
  --muted: #aba0c2;
  --line: #34294a;
  --mint: #1d1729;
  --sage: #312547;
  --accent: #9f7aea;
  --deep: #c4b5fd;
  --paper: #100d17;
}
html[data-theme="dark"] body::before {
  opacity: .16;
  background-image: linear-gradient(#2d2342 1px, transparent 1px), linear-gradient(90deg, #2d2342 1px, transparent 1px);
}
html[data-theme="dark"] .ambient-left { background: #181324; }
html[data-theme="dark"] .ambient-right { background: #1b1529; }
html[data-theme="dark"] .brand { color-scheme: dark; }
html[data-theme="dark"] .glass-button { background: #191424; box-shadow: 5px 5px 0 #453366; }
html[data-theme="dark"] .glass-button:hover { background: #261e38; box-shadow: 2px 2px 0 #644a94; }
html[data-theme="dark"] .glass-button.primary { background: #6d48c4; color: #ffffff; box-shadow: 5px 5px 0 #311d61; }
html[data-theme="dark"] .glass-button.primary:hover { background: #5634a6; box-shadow: 2px 2px 0 #311d61; }
html[data-theme="dark"] .hero-visual { box-shadow: 10px 10px 0 #312547; }
html[data-theme="dark"] .hero-visual::after { border-color: rgba(196, 181, 253, .25); }
html[data-theme="dark"] .visual-glass { background: #181324; box-shadow: 5px 5px 0 #453366; }
html[data-theme="dark"] .visual-chip { background: #5b3aa8; color: #ffffff; }
html[data-theme="dark"] .person-card { box-shadow: 8px 8px 0 #312547; }
html[data-theme="dark"] .person-card:hover { box-shadow: 3px 3px 0 #644a94; }
html[data-theme="dark"] .founder { background: #1d1729; }
html[data-theme="dark"] .partner { background: #1b1726; }
html[data-theme="dark"] .person-avatar { background: #6d48c4; color: #ffffff; }
html[data-theme="dark"] .partner .person-avatar { background: #685594; }
html[data-theme="dark"] .work-statement { background: #533399; color: #ffffff; box-shadow: 8px 8px 0 #261647; }
html[data-theme="dark"] .work-statement span:last-child { color: #e2d9f7; }
html[data-theme="dark"] .work-card { background: #191424; box-shadow: 8px 8px 0 #312547; }
html[data-theme="dark"] .work-card:hover { background: #231b33; box-shadow: 3px 3px 0 #644a94; }
html[data-theme="dark"] .contact-panel { background: #291e3d; box-shadow: 10px 10px 0 #120c1c; }
html[data-theme="dark"] .contact-panel .section-kicker { color: var(--accent); }
html[data-theme="dark"] .contact-panel h2 em { color: var(--accent); }
