
:root {
  --bg: #090b10;
  --bg-soft: #11151d;
  --panel: rgba(18, 22, 31, .78);
  --paper: #fffaf7;
  --paper-2: #f7efeb;
  --ink: #1f2028;
  --muted: #77737d;
  --line: rgba(255,255,255,.13);
  --rose: #f3a5c6;
  --rose-2: #ffd6e7;
  --wine: #7f3452;
  --blue: #8eb8ff;
  --mint: #9fe0ce;
  --gold: #f2cf86;
  --white: #ffffff;
  --radius: 26px;
  --shadow: 0 30px 90px rgba(0,0,0,.32);
  --content: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 13% 8%, rgba(243,165,198,.13), transparent 24rem),
    radial-gradient(circle at 88% 24%, rgba(142,184,255,.10), transparent 30rem),
    radial-gradient(circle at 50% 92%, rgba(127,52,82,.12), transparent 32rem),
    var(--bg);
  font-family: "Segoe UI", "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .48;
  background-image:
    radial-gradient(circle at 15px 12px, rgba(255,255,255,.38) 0 1px, transparent 1.3px),
    radial-gradient(circle at 81px 54px, rgba(243,165,198,.28) 0 1px, transparent 1.4px),
    radial-gradient(circle at 135px 88px, rgba(142,184,255,.24) 0 1px, transparent 1.3px);
  background-size: 170px 110px;
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
::selection { background: var(--rose); color: #1e1118; }
.container { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }
.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; }

.site-header {
  position: fixed; z-index: 40; top: 18px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(10,12,17,.72);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: 0 16px 45px rgba(0,0,0,.22);
}
.brand { display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:.01em; white-space:nowrap; }
.brand-mark { width:36px; height:36px; border-radius:50%; display:grid; place-items:center; color:#191019; background:linear-gradient(135deg,var(--rose-2),var(--rose)); box-shadow:0 0 26px rgba(243,165,198,.26); }
.brand-mark svg { width:18px; }
.nav-links { display:flex; align-items:center; gap:6px; }
.nav-links a { padding:9px 14px; border-radius:999px; font-size:14px; color:rgba(255,255,255,.76); transition:.25s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background:rgba(255,255,255,.1); color:#fff; }
.menu-toggle { display:none; border:0; color:#fff; background:transparent; width:42px; height:42px; border-radius:50%; cursor:pointer; }
.menu-toggle svg { width:22px; }

.hero { min-height:100vh; display:grid; align-items:center; padding:140px 0 100px; position:relative; }
.hero-grid { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr); gap:70px; align-items:center; }
.eyebrow { display:inline-flex; align-items:center; gap:10px; margin:0 0 22px; color:var(--rose-2); font-size:13px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.eyebrow::before { content:""; width:34px; height:1px; background:var(--rose); }
h1,h2,h3,h4,p { overflow-wrap: break-word; }
.hero h1 { margin:0; max-width:780px; font-size:clamp(3.2rem,7vw,6.8rem); line-height:.93; letter-spacing:-.062em; font-weight:850; }
.hero h1 span { color:var(--rose); text-shadow:0 0 45px rgba(243,165,198,.18); }
.hero-copy { margin:30px 0 0; max-width:700px; font-size:clamp(1rem,1.5vw,1.2rem); color:rgba(255,255,255,.72); }
.hero-meta { display:flex; flex-wrap:wrap; gap:12px; margin:28px 0 0; }
.meta-chip { border:1px solid var(--line); background:rgba(255,255,255,.055); padding:10px 15px; border-radius:999px; font-size:14px; color:rgba(255,255,255,.82); }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:0 20px; border-radius:999px; font-weight:800; font-size:14px; transition:transform .25s ease, background .25s ease, border-color .25s ease; }
.button:hover { transform:translateY(-2px); }
.button-primary { background:linear-gradient(135deg,var(--rose-2),var(--rose)); color:#25131c; }
.button-secondary { border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.055); color:#fff; }
.button svg { width:18px; }

.portrait-wrap { position:relative; min-width:0; }
.portrait-card { position:relative; border-radius:36px; overflow:hidden; aspect-ratio:4/5; border:1px solid rgba(255,255,255,.18); box-shadow:var(--shadow); background:#111; }
.portrait-card img { width:100%; height:100%; object-fit:cover; object-position:50% 40%; transform:scale(1.02); }
.portrait-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 55%,rgba(4,5,8,.72)); }
.portrait-note { position:absolute; z-index:2; left:22px; right:22px; bottom:22px; padding:18px; border:1px solid rgba(255,255,255,.16); background:rgba(15,15,21,.58); backdrop-filter:blur(14px); border-radius:20px; }
.portrait-note strong { display:block; font-size:18px; }
.portrait-note span { color:rgba(255,255,255,.67); font-size:13px; }
.orbit { position:absolute; border:1px solid rgba(243,165,198,.28); border-radius:50%; pointer-events:none; }
.orbit-a { width:120px; height:120px; top:-40px; right:-30px; }
.orbit-b { width:68px; height:68px; bottom:14%; left:-28px; border-color:rgba(142,184,255,.35); }

.section { padding:130px 0; }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:32px; margin-bottom:50px; }
.section-head h2 { max-width:820px; margin:0; font-size:clamp(2.4rem,5vw,4.7rem); line-height:1; letter-spacing:-.05em; }
.section-head p { max-width:430px; margin:0; color:rgba(255,255,255,.64); }
.glass { border:1px solid rgba(255,255,255,.14); background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.035)); backdrop-filter:blur(16px); box-shadow:0 22px 65px rgba(0,0,0,.18); }
.about-grid { display:grid; grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); gap:24px; }
.about-card { padding:34px; border-radius:var(--radius); min-width:0; }
.about-card h3 { margin:0 0 15px; font-size:1.45rem; }
.about-card p { margin:0; color:rgba(255,255,255,.70); }
.about-card + .about-card p + p { margin-top:15px; }
.about-feature { min-height:100%; display:flex; flex-direction:column; justify-content:space-between; background:linear-gradient(145deg,rgba(243,165,198,.16),rgba(255,255,255,.045)); }
.about-feature .big-number { font-size:clamp(5rem,10vw,9rem); line-height:.8; letter-spacing:-.08em; font-weight:900; color:var(--rose); opacity:.88; }
.about-feature small { display:block; color:rgba(255,255,255,.55); font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.value-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:24px; }
.value { padding:24px; border-radius:22px; min-width:0; }
.value strong { display:block; margin-bottom:8px; font-size:1.03rem; }
.value span { color:rgba(255,255,255,.62); font-size:14px; }
.value-index { width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:rgba(243,165,198,.16); color:var(--rose-2); margin-bottom:28px; font-weight:900; }

.assignment-grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:18px; grid-auto-flow:dense; }
.assignment-card { position:relative; min-height:320px; padding:28px; border-radius:28px; overflow:hidden; display:flex; flex-direction:column; justify-content:space-between; transition:transform .35s ease,border-color .35s ease; min-width:0; }
.assignment-card:hover { transform:translateY(-7px); border-color:rgba(243,165,198,.38); }
.assignment-card:nth-child(1), .assignment-card:nth-child(4) { grid-column:span 7; }
.assignment-card:nth-child(2), .assignment-card:nth-child(3) { grid-column:span 5; }
.assignment-card:nth-child(5), .assignment-card:nth-child(6) { grid-column:span 6; }
.assignment-card::before { content:""; position:absolute; width:210px; height:210px; border-radius:50%; right:-80px; top:-100px; background:radial-gradient(circle,rgba(243,165,198,.22),transparent 68%); }
.assignment-card:nth-child(even)::before { background:radial-gradient(circle,rgba(142,184,255,.22),transparent 68%); }
.card-top { position:relative; z-index:1; }
.card-number { display:flex; justify-content:space-between; align-items:center; font-weight:900; color:var(--rose-2); }
.card-number span:last-child { font-size:12px; padding:6px 10px; border:1px solid rgba(255,255,255,.14); border-radius:999px; color:rgba(255,255,255,.62); }
.assignment-card h3 { margin:34px 0 12px; max-width:560px; font-size:clamp(1.6rem,2.5vw,2.5rem); line-height:1.06; letter-spacing:-.035em; }
.assignment-card p { margin:0; color:rgba(255,255,255,.63); max-width:620px; }
.card-link { position:relative; z-index:1; display:inline-flex; align-items:center; gap:10px; margin-top:34px; font-weight:850; font-size:14px; }
.card-link svg { width:18px; transition:transform .25s ease; }
.assignment-card:hover .card-link svg { transform:translateX(4px); }

.career { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr); gap:24px; }
.career-main { padding:45px; border-radius:30px; }
.career-main blockquote { margin:0; font-size:clamp(2rem,4vw,4rem); line-height:1.08; letter-spacing:-.045em; font-weight:800; }
.career-main p { color:rgba(255,255,255,.65); max-width:720px; }
.career-side { padding:34px; border-radius:30px; display:flex; flex-direction:column; justify-content:space-between; background:linear-gradient(160deg,rgba(142,184,255,.16),rgba(255,255,255,.04)); }
.skill-list { display:grid; gap:12px; margin-top:25px; }
.skill-row { display:flex; align-items:center; justify-content:space-between; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.75); }
.skill-row strong { color:#fff; }
.footer { padding:55px 0 80px; }
.footer-card { padding:38px; border-radius:30px; display:flex; justify-content:space-between; align-items:center; gap:30px; }
.footer-card h2 { margin:0 0 10px; font-size:clamp(2rem,4vw,3.8rem); line-height:1; letter-spacing:-.045em; }
.footer-card p { margin:0; color:rgba(255,255,255,.63); }
.footer-meta { text-align:right; color:rgba(255,255,255,.55); font-size:13px; white-space:nowrap; }

/* Assignment pages */
.assignment-body { background:var(--bg); }
.page-hero { padding:150px 0 70px; }
.page-hero-grid { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:35px; align-items:end; }
.page-hero h1 { margin:0; max-width:920px; font-size:clamp(3rem,6.4vw,6.6rem); line-height:.95; letter-spacing:-.06em; }
.page-hero p { margin:25px 0 0; max-width:760px; color:rgba(255,255,255,.68); font-size:1.08rem; }
.page-number { width:120px; height:120px; border-radius:50%; display:grid; place-items:center; border:1px solid rgba(255,255,255,.17); color:var(--rose-2); font-size:2.4rem; font-weight:900; background:rgba(255,255,255,.045); }
.article-shell { padding:0 0 100px; }
.article-grid { display:grid; grid-template-columns:250px minmax(0,1fr); gap:28px; align-items:start; }
.toc { position:sticky; top:100px; padding:22px; border-radius:22px; }
.toc strong { display:block; margin-bottom:12px; font-size:13px; letter-spacing:.13em; text-transform:uppercase; color:var(--rose-2); }
.toc a { display:block; padding:8px 0; color:rgba(255,255,255,.62); font-size:14px; border-bottom:1px solid rgba(255,255,255,.08); }
.toc a:hover { color:#fff; }
.article { min-width:0; background:var(--paper); color:var(--ink); border-radius:32px; padding:clamp(28px,5vw,66px); box-shadow:var(--shadow); }
.article section { scroll-margin-top:110px; }
.article section + section { margin-top:70px; padding-top:65px; border-top:1px solid #e5dcd8; }
.article h2 { margin:0 0 24px; font-size:clamp(1.9rem,3.2vw,3.25rem); line-height:1.08; letter-spacing:-.04em; color:#2e2027; }
.article h3 { margin:34px 0 14px; font-size:1.35rem; color:#3b2831; }
.article h4 { margin:24px 0 10px; font-size:1.08rem; color:#552a3d; }
.article p { margin:0 0 16px; color:#4f4b51; }
.article ul, .article ol { padding-left:22px; color:#4f4b51; }
.article li + li { margin-top:8px; }
.lead-box { padding:24px 26px; border-radius:20px; border:1px solid #ead8df; background:linear-gradient(135deg,#fff,#fff2f7); margin-bottom:28px; }
.lead-box strong { color:var(--wine); }
.prompt { position:relative; padding:20px 22px; background:#24181e; color:#f7f0f3; border-radius:18px; margin:14px 0 18px; white-space:pre-wrap; font-family:"Segoe UI","Noto Sans",Arial,sans-serif; line-height:1.66; }
.prompt-label { display:inline-flex; margin-bottom:8px; padding:5px 9px; border-radius:999px; background:#f4bdd4; color:#431d2e; font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.table-wrap { width:100%; overflow-x:auto; border:1px solid #dccfd4; border-radius:18px; margin:24px 0 34px; background:#fff; }
table { width:100%; border-collapse:collapse; min-width:740px; font-size:14px; }
th,td { text-align:left; vertical-align:top; padding:14px 15px; border-right:1px solid #e8dfe2; border-bottom:1px solid #e8dfe2; }
th:last-child,td:last-child { border-right:0; }
tr:last-child td { border-bottom:0; }
th { background:#f5e8ee; color:#52263a; font-weight:850; }
tbody tr:nth-child(even) { background:#fffafc; }
.figure { margin:28px 0 38px; }
.figure img { width:100%; max-height:700px; object-fit:contain; border-radius:18px; border:1px solid #ddd1d5; background:#0e1015; cursor:zoom-in; }
.figure figcaption { margin-top:10px; color:#7d7178; font-size:13px; }
.figure-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.tool-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:24px 0; }
.tool-card { padding:20px; border-radius:17px; border:1px solid #e6dadd; background:#fff; }
.tool-card strong { color:#4b2336; display:block; margin-bottom:8px; }
.note { border-left:4px solid var(--rose); padding:18px 20px; background:#fff0f6; border-radius:0 15px 15px 0; color:#513b45; margin:24px 0; }
.quote { margin:30px 0 0; padding:26px; background:#2b1b23; color:#fff7fa; border-radius:20px; font-size:1.2rem; font-weight:700; }
.page-actions { display:flex; justify-content:space-between; gap:14px; margin-top:30px; }
.page-actions a { flex:1; padding:18px; border-radius:18px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.055); color:#fff; }
.page-actions a:last-child { text-align:right; }
.source-link { display:inline-flex; align-items:center; gap:8px; margin-top:20px; color:var(--rose-2); font-weight:800; }
.source-link svg { width:18px; }

.lightbox { position:fixed; inset:0; z-index:100; display:none; align-items:center; justify-content:center; padding:28px; background:rgba(2,3,5,.92); }
.lightbox.open { display:flex; }
.lightbox img { max-width:96vw; max-height:90vh; object-fit:contain; border-radius:16px; }
.lightbox button { position:absolute; top:22px; right:22px; width:48px; height:48px; border-radius:50%; border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.1); color:#fff; cursor:pointer; }
.reveal { opacity:0; transform:translateY(24px); transition:opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 980px) {
  .nav-links { position:absolute; top:58px; left:0; right:0; display:none; flex-direction:column; align-items:stretch; padding:12px; border:1px solid rgba(255,255,255,.15); border-radius:22px; background:rgba(10,12,17,.96); }
  .nav-links.open { display:flex; }
  .menu-toggle { display:grid; place-items:center; }
  .hero-grid, .about-grid, .career { grid-template-columns:1fr; }
  .hero-grid { gap:45px; }
  .portrait-wrap { max-width:620px; width:100%; margin-inline:auto; }
  .value-grid { grid-template-columns:1fr; }
  .assignment-card:nth-child(n) { grid-column:span 12; }
  .section-head { display:block; }
  .section-head p { margin-top:18px; }
  .article-grid { grid-template-columns:1fr; }
  .toc { position:relative; top:auto; display:flex; gap:14px; overflow-x:auto; white-space:nowrap; }
  .toc strong { display:none; }
  .toc a { border:0; padding:7px 0; }
  .page-hero-grid { grid-template-columns:1fr; }
  .page-number { width:82px; height:82px; font-size:1.8rem; }
  .tool-grid { grid-template-columns:1fr; }
}
@media (max-width: 680px) {
  body { font-size:15px; }
  .container { width:min(100% - 24px,var(--content)); }
  .site-header { top:10px; width:calc(100% - 18px); }
  .brand span:last-child { display:none; }
  .hero { padding-top:115px; }
  .hero h1 { font-size:clamp(3rem,15vw,5rem); }
  .hero-meta { gap:8px; }
  .meta-chip { font-size:12px; }
  .section { padding:90px 0; }
  .about-card, .career-main, .career-side { padding:26px; }
  .figure-grid { grid-template-columns:1fr; }
  .article { border-radius:22px; padding:26px 20px; }
  .page-hero { padding-top:120px; }
  .footer-card { display:block; }
  .footer-meta { text-align:left; margin-top:28px; white-space:normal; }
  .page-actions { flex-direction:column; }
  .page-actions a:last-child { text-align:left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; }
  .reveal { opacity:1; transform:none; }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-header { position: absolute; }
  .hero { min-height: auto; }
}
