
:root {
  --bg: #dce6f4;
  --bg-soft: #eef5ff;
  --bg-alt: #ffffff;
  --ink: #171a22;
  --text: #252936;
  --muted: #626b7d;
  --muted-2: #7c8799;
  --accent: #315efb;
  --accent-2: #f27d42;
  --accent-soft: #dce6ff;
  --border: rgba(28, 37, 61, 0.12);
  --shadow: 0 18px 55px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.07);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: radial-gradient(circle at top left, #ffffff 0, var(--bg) 46%, #f2f4f8 100%); line-height: 1.65; min-height: 100vh; }
body::before { content: ""; position: fixed; inset: -20vh -10vw auto auto; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(49, 94, 251, .13), transparent 62%); pointer-events: none; z-index: -1; }
a { color: inherit; }
img, video, iframe { max-width: 100%; }
img { display: block; }
.container { width: min(100% - 36px, var(--max)); margin-inline: auto; }
.section { padding: clamp(4rem, 7vw, 7rem) 0; position: relative; }
.section-dark { background: rgba(255,255,255,.72); border-block: 1px solid rgba(255,255,255,.65); }
.section-accent { background: linear-gradient(135deg, rgba(49,94,251,.10), rgba(242,125,66,.09)); }
.skip-link { position: absolute; left: 1rem; top: .5rem; transform: translateY(-160%); background: #fff; color: var(--ink); padding: .65rem .9rem; border-radius: 999px; z-index: 100; box-shadow: var(--shadow-soft); }
.skip-link:focus { transform: translateY(0); outline: 3px solid var(--accent); outline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(28,37,61,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.logo-link { text-decoration: none; flex: 0 0 auto; }
.logo-mark { display: inline-flex; flex-direction: column; justify-content: center; padding: .45rem .85rem; border-radius: 999px; border: 1px solid rgba(28,37,61,.08); background: linear-gradient(135deg, #ffffff, #edf2ff); box-shadow: 0 8px 22px rgba(15, 23, 42, .06); transition: transform .18s ease, box-shadow .18s ease; }
.logo-link:hover .logo-mark { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(49,94,251,.14); }
.logo-top { font-family: "Oswald", system-ui, sans-serif; font-weight: 700; letter-spacing: .07em; font-size: .92rem; color: var(--ink); line-height: 1; }
.logo-bottom { font-family: "Oswald", system-ui, sans-serif; letter-spacing: .19em; font-size: .56rem; text-transform: uppercase; color: var(--muted); margin-top: .1rem; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: .25rem; }
.main-nav a { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); text-decoration: none; padding: .74rem .82rem; border-radius: 999px; position: relative; transition: color .18s ease, background .18s ease; }
.main-nav a:hover, .main-nav a.active, .main-nav a[aria-current="page"] { color: var(--ink); background: rgba(49,94,251,.08); }
.main-nav .nav-cta { color: #fff; background: var(--accent); box-shadow: 0 10px 20px rgba(49,94,251,.23); }
.main-nav .nav-cta:hover, .main-nav .nav-cta.active, .main-nav .nav-cta[aria-current="page"] { background: #244ce0; color: #fff; }
.menu-toggle { display: none; appearance: none; background: #fff; border: 1px solid var(--border); border-radius: 999px; width: 46px; height: 46px; align-items: center; justify-content: center; box-shadow: var(--shadow-soft); }
.menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 99px; position: relative; content: ""; }
.menu-toggle-lines::before { position: absolute; top: -7px; }
.menu-toggle-lines::after { position: absolute; top: 7px; }
.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; }
.hero-video { position: relative; width: 100%; min-height: 390px; height: clamp(390px, 58vh, 760px); overflow: hidden; background: #d5ddea; }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.video-scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(12,15,22,.05), rgba(220,230,244,.34)); pointer-events: none; }
.hero { min-height: 62vh; display: flex; align-items: center; overflow: hidden; padding-top: clamp(4rem, 6vw, 6rem); }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 0% 0%, rgba(49,94,251,.16), transparent 55%), radial-gradient(circle at 85% 100%, rgba(242,125,66,.15), transparent 60%); opacity: .92; pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 980px; }
.eyebrow, .section-kicker { font-family: "Oswald", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; color: var(--muted); margin: 0 0 .9rem; }
.hero-title, .page-title { font-family: "Oswald", system-ui, sans-serif; font-weight: 700; font-size: clamp(3.4rem, 8.6vw, 7.2rem); line-height: .88; letter-spacing: .055em; text-transform: uppercase; color: var(--ink); margin: 0 0 1.35rem; max-width: 1050px; }
.page-title { font-size: clamp(2.7rem, 6vw, 5.5rem); max-width: 1080px; }
.hero-intro { max-width: 780px; color: #3d4554; font-size: clamp(1.05rem, 2vw, 1.28rem); margin: 0 0 1.8rem; }
.lead { max-width: 820px; color: #444c5b; font-size: 1.02rem; }
.large-lead { font-size: clamp(1.08rem, 1.8vw, 1.32rem); max-width: 920px; }
.hero-meta { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin: 2rem 0; }
.meta-block { border-radius: 18px; border: 1px solid rgba(28,37,61,.08); padding: 1rem 1.05rem; background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(244,247,255,.92)); box-shadow: var(--shadow-soft); }
.meta-label { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: .25rem; }
.meta-value { font-size: .96rem; font-weight: 600; color: var(--text); }
.accent-text { color: var(--accent); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .78rem 1.25rem; border-radius: 999px; border: 1px solid transparent; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; text-decoration: none; cursor: pointer; transition: transform .14s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible,
.main-nav a:focus-visible,
.logo-link:focus-visible,
.menu-toggle:focus-visible,
.card a:focus-visible,
.gallery-link:focus-visible,
.text-link:focus-visible,
.contact-card a:focus-visible,
.footer-links a:focus-visible,
.footer-meta a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 14px 32px rgba(49,94,251,.30); }
.btn-primary:hover { background: #244ce0; box-shadow: 0 18px 40px rgba(49,94,251,.38); }
.btn-ghost { color: var(--ink); border-color: rgba(28,37,61,.16); background: rgba(255,255,255,.72); }
.btn-ghost:hover { background: #fff; border-color: rgba(49,94,251,.30); }
.btn-subtle { color: var(--accent); border-color: rgba(49,94,251,.18); background: rgba(49,94,251,.08); }
.section-title { font-family: "Oswald", system-ui, sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: .96; text-transform: uppercase; letter-spacing: .09em; margin: 0 0 1.25rem; color: var(--ink); }
.grid { display: grid; gap: 1.35rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .resume-card, .discipline-card, .contact-card, .callout-card { background: rgba(255,255,255,.86); border: 1px solid rgba(28,37,61,.10); border-radius: var(--radius); padding: 1.35rem; box-shadow: var(--shadow-soft); }
.card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(49,94,251,.20); }
.card h3, .discipline-card h3, .resume-card h3, .contact-card h2, .callout-card h3, .web-card h2, .timeline-item h3, .process-step span, .split h3 { font-family: "Oswald", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .10em; line-height: 1.1; color: var(--ink); }
.card h3 { margin: .4rem 0 .55rem; font-size: 1.05rem; }
.card p { color: var(--muted); }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: top center; border-radius: 18px; border: 1px solid rgba(28,37,61,.08); background: #f7f9fc; margin-bottom: 1rem; }
.card-image-link { display: block; text-decoration: none; }
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; margin: .2rem 0 .75rem; }
.chip-row span { display: inline-flex; padding: .34rem .58rem; border-radius: 999px; background: rgba(49,94,251,.08); color: #2850d6; border: 1px solid rgba(49,94,251,.13); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.text-link { display: inline-flex; margin-top: .35rem; color: var(--accent); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.discipline-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.discipline-card { min-height: 280px; display: flex; flex-direction: column; }
.discipline-card a { margin-top: auto; color: var(--accent); font-weight: 700; text-decoration: none; }
.discipline-number { font-family: "Oswald"; font-size: 2.6rem; line-height: 1; color: rgba(49,94,251,.28); font-weight: 700; }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.split-balanced { align-items: center; }
.process-list { display: grid; gap: .9rem; }
.process-step { background: rgba(255,255,255,.82); border: 1px solid rgba(28,37,61,.10); border-radius: 18px; padding: 1rem 1.1rem; }
.process-step span { display: block; margin-bottom: .2rem; color: var(--accent); }
.process-step p { margin: 0; color: var(--muted); }
.profile-panel { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.profile-panel h3 { margin-top: 0; color: #fff; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .68rem; }
.check-list li { position: relative; padding-left: 1.7rem; color: inherit; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .48em; width: .72rem; height: .72rem; border-radius: 99px; background: var(--accent); box-shadow: inset 0 0 0 3px rgba(255,255,255,.55); }
.check-list.compact { gap: .45rem; }
.resume-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.small-note { color: var(--muted-2); font-size: .9rem; }
.callout-card { background: #fff; }
.callout-card .section-title { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.case-header { display: grid; grid-template-columns: 1.3fr .9fr; gap: 2rem; align-items: center; }
.case-cover, .inline-image { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-soft); border: 1px solid rgba(28,37,61,.10); background: #fff; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin: 2rem 0; }
.metric-grid div { background: rgba(255,255,255,.9); border: 1px solid rgba(28,37,61,.10); border-radius: 18px; padding: 1rem; }
.metric-grid span { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: .64rem; }
.metric-grid strong { display: block; color: var(--ink); margin-top: .18rem; }
.stat-card .stat-number { font-family: "Oswald"; font-size: 3.2rem; color: var(--accent); font-weight: 700; line-height: .9; }
.image-band { display: grid; grid-template-columns: 1.5fr .85fr; gap: 1rem; align-items: stretch; margin-top: 2rem; }
.image-band img { width: 100%; height: 100%; object-fit: contain; background: #fff; border-radius: var(--radius); border: 1px solid rgba(28,37,61,.10); padding: 1rem; box-shadow: var(--shadow-soft); }
.timeline { display: grid; gap: .9rem; counter-reset: steps; }
.timeline-item { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: start; background: rgba(255,255,255,.86); border: 1px solid rgba(28,37,61,.10); border-radius: 20px; padding: 1rem; }
.timeline-item span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-family: "Oswald"; font-size: 1.25rem; }
.timeline-item h3 { margin: .15rem 0 .25rem; }
.timeline-item p { margin: 0; color: var(--muted); }
.project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.project-gallery-large { grid-template-columns: repeat(3, minmax(0,1fr)); }
.project-gallery figure { margin: 0; background: #fff; border-radius: var(--radius); border: 1px solid rgba(28,37,61,.10); overflow: hidden; box-shadow: var(--shadow-soft); }
.project-gallery img { width: 100%; height: 260px; object-fit: cover; background: #fff; }
.project-gallery figcaption { padding: .85rem 1rem 1rem; color: var(--muted); font-size: .92rem; }
.embed-shell { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(28,37,61,.12); background: #f7f9fc; box-shadow: var(--shadow-soft); margin: 1.5rem 0 1rem; }
.embed-shell iframe { width: 100%; height: 100%; border: 0; display: block; }
.small-embed { min-height: 340px; }
.figma-embed { min-height: 620px; }
.video-pair, .video-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-top: 1.4rem; }
.video-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.video-pair video { width: 100%; border-radius: var(--radius); background: #000; box-shadow: var(--shadow-soft); }
.video-embed { aspect-ratio: 16/9; margin: 0; }
.web-grid { display: grid; gap: 1.2rem; }
.web-card { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 1.5rem; align-items: center; background: rgba(255,255,255,.9); border: 1px solid rgba(28,37,61,.10); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow-soft); }
.web-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top center; border-radius: 18px; background: #fff; border: 1px solid rgba(28,37,61,.08); }
.web-card h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); margin: 0 0 .7rem; }
.web-card p { color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: 360px 1fr; gap: 1.4rem; align-items: start; }
.contact-card p { margin-bottom: 1.1rem; }
.contact-card a, .footer-meta a, .footer-links a { color: var(--accent); text-decoration: none; }
.contact-card a:hover, .footer-meta a:hover, .footer-links a:hover { text-decoration: underline; }
.contact-form { background: #fff; border: 1px solid rgba(28,37,61,.10); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 1.35rem; }
.form-row { display: grid; gap: .35rem; margin-bottom: 1rem; }
label { font-weight: 700; color: var(--ink); }
input, select, textarea { width: 100%; border: 1px solid rgba(28,37,61,.16); border-radius: 14px; padding: .86rem .95rem; font: inherit; background: #f8fbff; color: var(--text); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(49,94,251,.18); border-color: var(--accent); }
.hidden-field { display: none; }
.site-footer { background: #fff; border-top: 1px solid rgba(28,37,61,.08); padding: 2.4rem 0; }
.footer-inner { display: grid; grid-template-columns: 1.3fr .9fr 1.4fr; gap: 1.5rem; align-items: start; }
.footer-logo { font-family: "Oswald"; font-size: 1rem; text-transform: uppercase; letter-spacing: .18em; color: var(--ink); margin: 0 0 .45rem; }
.footer-note, .footer-meta p { color: var(--muted); font-size: .88rem; margin: 0 0 .7rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .45rem .75rem; }
.footer-links a { font-weight: 700; }
.reveal { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .btn, .card, .logo-mark { transition: none; } .hero-video video { display: none !important; } }
@media (max-width: 1020px) { .grid-3, .discipline-grid, .resume-grid, .video-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .hero-meta, .metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .project-gallery-large { grid-template-columns: repeat(2, minmax(0,1fr)); } .web-card, .case-header, .contact-layout { grid-template-columns: 1fr; } .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 780px) { .header-inner { min-height: 70px; } .menu-toggle { display: inline-flex; } .main-nav { position: absolute; left: 18px; right: 18px; top: calc(100% + 10px); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .35rem; padding: .7rem; border-radius: 22px; background: rgba(255,255,255,.96); border: 1px solid rgba(28,37,61,.10); box-shadow: var(--shadow); transform-origin: top; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transition: opacity .18s ease, visibility .18s ease, transform .18s ease; } .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); } .main-nav a { margin: 0; text-align: center; } .hero-video { height: 48vh; min-height: 300px; } .section { padding: 3.7rem 0; } .hero-title, .page-title { letter-spacing: .035em; } .hero-meta, .metric-grid, .grid-3, .grid-2, .discipline-grid, .resume-grid, .video-pair, .video-grid, .project-gallery, .project-gallery-large, .image-band, .split { grid-template-columns: 1fr; } .project-gallery img { height: auto; max-height: 360px; object-fit: contain; padding: .4rem; } .figma-embed { min-height: 520px; } .small-embed { min-height: 300px; } .footer-inner { grid-template-columns: 1fr; } }
@media (max-width: 470px) { .container { width: min(100% - 24px, var(--max)); } .main-nav { grid-template-columns: 1fr; } .hero-buttons .btn { width: 100%; } .hero-video { height: 42vh; min-height: 250px; } .card, .resume-card, .discipline-card, .contact-card, .callout-card, .contact-form { border-radius: 18px; padding: 1rem; } .web-card { padding: .85rem; border-radius: 18px; } .embed-shell { border-radius: 16px; } .figma-embed { min-height: 440px; } .footer-links { grid-template-columns: 1fr; } }

.resume-download { margin: 1.4rem 0 .75rem; }

/* Art & AV digital painting archive */
.painting-archive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}
.painting-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(238,245,255,.88));
  border: 1px solid rgba(28,37,61,.10);
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.painting-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(49,94,251,.22);
}
.painting-card figure { margin: 0; background: #fff; }
.painting-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  background: #fff;
}
.painting-card-wide { grid-column: span 2; grid-template-columns: minmax(280px, .95fr) 1fr; grid-template-rows: auto; align-items: stretch; }
.painting-card-wide img { height: 100%; min-height: 360px; }
.painting-copy { padding: 1.25rem 1.35rem 1.35rem; }
.painting-type {
  display: inline-flex;
  margin-bottom: .7rem;
  font-family: "Oswald", system-ui, sans-serif;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.painting-copy h3 {
  margin: 0 0 .65rem;
  font-family: "Oswald", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: .98;
  font-size: clamp(1.35rem, 2.6vw, 2.25rem);
  color: var(--ink);
}
.painting-copy p { margin: 0; color: var(--muted); }
@media (max-width: 920px) {
  .painting-archive { grid-template-columns: 1fr; }
  .painting-card-wide { grid-column: auto; grid-template-columns: 1fr; }
  .painting-card img,
  .painting-card-wide img { height: auto; max-height: 520px; object-fit: contain; padding: .45rem; }
}


/* AIM-informed portfolio refresh: warmer paper, calmer navy, coded signature, and pointer sparkle. */
:root {
  --bg: #f3efe6;
  --bg-soft: #fbf8f0;
  --bg-alt: #fffdf8;
  --ink: #14243a;
  --text: #253044;
  --muted: #667084;
  --muted-2: #8790a0;
  --accent: #6f7f46;
  --accent-2: #c59346;
  --accent-soft: #eef2df;
  --border: rgba(20, 36, 58, 0.13);
  --shadow: 0 22px 58px rgba(20, 36, 58, 0.12);
  --shadow-soft: 0 12px 34px rgba(20, 36, 58, 0.08);
}
body {
  background:
    radial-gradient(circle at 5% 0%, rgba(255,255,255,.92) 0, rgba(255,255,255,0) 30%),
    radial-gradient(circle at 88% 8%, rgba(197,147,70,.16), transparent 36%),
    linear-gradient(135deg, var(--bg-soft), var(--bg) 54%, #edf0e4 100%);
}
body::before {
  background: radial-gradient(circle, rgba(111, 127, 70, .16), transparent 62%);
}
.site-header {
  background: rgba(255, 253, 248, 0.90);
  border-bottom-color: rgba(20,36,58,.10);
}
.logo-mark {
  background: linear-gradient(135deg, #fffdf8, #f0eadc);
  border-color: rgba(20,36,58,.12);
}
.logo-link:hover .logo-mark,
.logo-link:focus-visible .logo-mark {
  box-shadow: 0 16px 34px rgba(111,127,70,.18);
}
.logo-top.code-signature,
.code-signature,
.spark-signature {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  letter-spacing: .02em;
  text-transform: none;
}
.logo-top.code-signature {
  font-size: .82rem;
  color: var(--ink);
}
.logo-bottom { color: var(--accent); }
.main-nav a:hover,
.main-nav a.active,
.main-nav a[aria-current="page"] {
  background: rgba(111,127,70,.12);
}
.main-nav .nav-cta,
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 30px rgba(20,36,58,.22);
}
.main-nav .nav-cta:hover,
.main-nav .nav-cta.active,
.main-nav .nav-cta[aria-current="page"],
.btn-primary:hover {
  background: #213a59;
  color: #fff;
}
.btn-subtle,
.chip-row span {
  color: #53622f;
  background: rgba(111,127,70,.12);
  border-color: rgba(111,127,70,.22);
}
.btn-ghost:hover,
.card:hover,
.painting-card:hover,
.smart-back-btn:hover {
  border-color: rgba(111,127,70,.28);
}
.accent-text,
.text-link,
.contact-card a,
.footer-meta a,
.footer-links a,
.painting-type {
  color: #53622f;
}
.hero-overlay {
  background:
    radial-gradient(circle at 0% 0%, rgba(111,127,70,.16), transparent 55%),
    radial-gradient(circle at 85% 100%, rgba(197,147,70,.16), transparent 60%);
}
.section-accent {
  background: linear-gradient(135deg, rgba(111,127,70,.12), rgba(197,147,70,.12));
}
.contact-layout > *,
.grid > *,
.grid-2 > *,
.grid-3 > *,
.split > *,
.web-card > *,
.footer-inner > * {
  min-width: 0;
}
.contact-card a,
.footer-meta a,
.spark-signature {
  overflow-wrap: anywhere;
}
.footer-logo.footer-code {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  padding: .36rem .62rem;
  border: 1px solid rgba(20,36,58,.12);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(240,234,220,.86));
}
.signature-spark,
.spark-signature span[aria-hidden="true"] {
  display: inline-block;
  color: var(--accent-2);
  transform: translateY(-.08em);
  filter: drop-shadow(0 0 8px rgba(197,147,70,.45));
}
.spark-signature {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .12rem .38rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink) !important;
  background: rgba(111,127,70,.10);
  border: 1px solid rgba(111,127,70,.18);
}
.spark-signature:hover,
.spark-signature:focus-visible {
  background: rgba(197,147,70,.16);
  text-decoration: none !important;
}
.spark-trail {
  position: fixed;
  left: 0;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 9999;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(197,147,70,.12), 0 0 18px rgba(197,147,70,.58);
  animation: sparkFade .78s ease-out forwards;
}
.spark-trail::before,
.spark-trail::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 1px;
  background: rgba(197,147,70,.86);
  transform: translate(-50%, -50%);
}
.spark-trail::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
@keyframes sparkFade {
  0% { opacity: .96; transform: translate3d(var(--spark-x, 0), var(--spark-y, 0), 0) scale(1); }
  100% { opacity: 0; transform: translate3d(calc(var(--spark-x, 0) + 8px), calc(var(--spark-y, 0) - 16px), 0) scale(.25); }
}
@media (prefers-reduced-motion: reduce) {
  .spark-trail { display: none !important; animation: none !important; }
}

/* Prevent decorative fixed glows from adding fractional horizontal scroll on very small screens. */
html,
body {
  overflow-x: clip;
}
@supports not (overflow: clip) {
  html,
  body { overflow-x: hidden; }
}
body::before {
  inset: -20vh 0 auto auto;
  width: min(60vw, 100vw);
}
@media (max-width: 360px) {
  .hero-title,
  .page-title {
    font-size: clamp(2.25rem, 13.5vw, 3rem);
    letter-spacing: .02em;
    overflow-wrap: anywhere;
  }
}

/* UX page capstone refresh */
.ux-filmstrip { min-height: 420px; height: clamp(420px, 62vh, 760px); }
.ux-filmstrip .video-scrim {
  background:
    linear-gradient(to bottom, rgba(20,36,58,.05), rgba(20,36,58,.28)),
    linear-gradient(to top, rgba(243,239,230,.82), rgba(243,239,230,0) 46%);
}
.ux-filmstrip-label {
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  bottom: clamp(18px, 5vw, 62px);
  z-index: 2;
  display: inline-grid;
  gap: .15rem;
  max-width: min(520px, calc(100% - 36px));
  padding: .82rem 1rem;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 18px;
  background: rgba(255,253,248,.74);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}
.ux-filmstrip-label span,
.ux-brief-card span,
.ux-team-strip strong,
.ux-big-stat span,
.ux-quest-map span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ux-filmstrip-label span { color: var(--accent); }
.ux-filmstrip-label strong { color: var(--ink); font-family: "Oswald", system-ui, sans-serif; font-size: clamp(1.2rem, 2.6vw, 2rem); letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.ux-capstone-hero { padding-top: clamp(3rem, 6vw, 5.5rem); }
.ux-section-intro { max-width: 960px; margin-bottom: 2rem; }
.ux-section-intro.narrow { max-width: 820px; }
.ux-brief-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.ux-brief-card { min-height: 220px; }
.ux-brief-card span { color: var(--accent); }
.ux-team-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .7rem;
  margin-top: 1.1rem;
}
.ux-team-strip div {
  min-width: 0;
  padding: .85rem .9rem;
  border: 1px solid rgba(20,36,58,.11);
  border-radius: 16px;
  background: rgba(255,253,248,.72);
}
.ux-team-strip strong { display: block; color: var(--accent); line-height: 1.35; }
.ux-team-strip span { display: block; color: var(--ink); font-weight: 700; margin-top: .2rem; line-height: 1.3; }
.ux-insight-panel { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin: 2rem 0 1rem; }
.ux-big-stat { border-radius: 22px; border: 1px solid rgba(20,36,58,.11); background: linear-gradient(145deg, rgba(255,253,248,.96), rgba(238,242,223,.82)); padding: 1.25rem; box-shadow: var(--shadow-soft); }
.ux-big-stat strong { display: block; font-family: "Oswald", system-ui, sans-serif; font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: .9; color: var(--ink); letter-spacing: .04em; }
.ux-big-stat span { display: block; margin-top: .65rem; color: var(--muted); line-height: 1.45; }
.ux-chart-band { grid-template-columns: repeat(4, minmax(0,1fr)); align-items: stretch; margin: 1rem 0 1.4rem; }
.ux-chart-band img { width: 100%; height: 220px; object-fit: contain; padding: .8rem; background: #fff; border-radius: 18px; border: 1px solid rgba(20,36,58,.10); box-shadow: var(--shadow-soft); }
.ux-two-column-notes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.ux-two-column-notes article { padding: 1.1rem 1.2rem; border-radius: 20px; border: 1px solid rgba(20,36,58,.10); background: rgba(255,253,248,.78); }
.ux-two-column-notes h3,
.ux-quest-map h3,
.ux-reflection-grid h3 { font-family: "Oswald", system-ui, sans-serif; letter-spacing: .09em; line-height: 1.05; text-transform: uppercase; color: var(--ink); }
.ux-two-column-notes p { color: var(--muted); margin-bottom: 0; }
.ux-quest-map { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 1.6rem; }
.ux-quest-map article { position: relative; min-height: 245px; padding: 1.2rem; border-radius: 22px; border: 1px solid rgba(20,36,58,.10); background: rgba(255,253,248,.84); box-shadow: var(--shadow-soft); overflow: hidden; }
.ux-quest-map article::after { content: ""; position: absolute; right: -32px; bottom: -38px; width: 108px; height: 108px; border-radius: 999px; background: rgba(197,147,70,.13); }
.ux-quest-map span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: #fff; background: var(--ink); margin-bottom: .9rem; }
.ux-quest-map p { color: var(--muted); margin-bottom: 0; }
.ux-process-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ux-process-gallery figure { display: flex; flex-direction: column; }
.ux-process-gallery img { height: 250px; object-fit: contain; padding: .7rem; background: #fff; }
.ux-process-gallery figcaption { flex: 1; }
.ux-process-gallery figcaption strong { color: var(--ink); }
.ux-reflection-card { padding: clamp(1.4rem, 4vw, 2.6rem); }
.ux-reflection-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-top: 1.3rem; }
.ux-reflection-grid div { border-radius: 18px; border: 1px solid rgba(20,36,58,.10); background: rgba(255,255,255,.62); padding: 1rem 1.1rem; }
.ux-reflection-grid p { color: var(--muted); margin-bottom: 0; }
.ux-support-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.1rem; margin-top: 1.4rem; }
.ux-support-card { display: flex; flex-direction: column; min-width: 0; }
.ux-support-grid > *, .ux-support-card .embed-shell, .ux-support-card iframe { min-width: 0; max-width: 100%; }
.ux-support-card .embed-shell { margin-top: auto; }
.ux-support-card .btn { margin-top: .85rem; width: fit-content; }
.ux-support-card .card-img { object-fit: contain; padding: .55rem; background: #fff; }
@media (max-width: 1020px) {
  .ux-brief-grid,
  .ux-team-strip,
  .ux-chart-band,
  .ux-quest-map,
  .ux-process-gallery,
  .ux-support-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 780px) {
  .ux-filmstrip { min-height: 300px; height: 46vh; }
  .ux-brief-grid,
  .ux-team-strip,
  .ux-insight-panel,
  .ux-chart-band,
  .ux-two-column-notes,
  .ux-quest-map,
  .ux-process-gallery,
  .ux-support-grid,
  .ux-reflection-grid { grid-template-columns: 1fr; }
  .ux-quest-map article { min-height: 0; }
  .ux-process-gallery img,
  .ux-chart-band img { height: auto; max-height: 360px; }
}

/* 3D page fabrication refresh */
.threed-hero { padding-top: clamp(3.6rem, 6vw, 6rem); }
.threed-hero-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 2rem;
}
.threed-hero-grid div,
.threed-project-note,
.threed-analysis-card,
.threed-feature-image,
.threed-reflection-grid div {
  min-width: 0;
  border: 1px solid rgba(28,37,61,.10);
  background: rgba(255,255,255,.86);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}
.threed-hero-grid div { padding: 1rem 1.05rem; }
.threed-hero-grid span,
.threed-project-note strong,
.threed-analysis-card h3,
.threed-reflection-grid h3 {
  display: block;
  font-family: "Oswald", system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: .74rem;
  line-height: 1.2;
}
.threed-hero-grid strong {
  display: block;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.35;
  margin-top: .45rem;
}
.threed-section-intro { max-width: 920px; margin-bottom: 2rem; }
.threed-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.threed-gallery .gallery-link { text-decoration: none; }
.threed-gallery figure { height: 100%; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.threed-gallery figure:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(49,94,251,.22); }
.threed-gallery img { height: 230px; object-fit: contain; padding: .65rem; }
.threed-gallery figcaption strong { display: block; color: var(--ink); margin-bottom: .2rem; }
.threed-thinking-layout { align-items: start; }
.threed-process-stack { display: grid; gap: .85rem; }
.threed-process-stack .process-step { background: rgba(255,255,255,.86); }
.threed-project { scroll-margin-top: 96px; }
.threed-project-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 1.2rem;
  align-items: end;
  margin-bottom: 1.3rem;
}
.threed-project-note { padding: 1.1rem 1.15rem; background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(220,230,255,.70)); }
.threed-project-note span { display: block; color: var(--ink); line-height: 1.4; margin-top: .5rem; font-weight: 700; }
.threed-project-grid {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin: 1.2rem 0 1.35rem;
}
.threed-project-grid.flip { grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr); }
.threed-project-grid.flip .threed-feature-image { order: 2; }
.threed-feature-image { margin: 0; overflow: hidden; background: #fff; }
.threed-feature-image img { width: 100%; height: 100%; min-height: 360px; object-fit: contain; padding: 1rem; background: #fff; }
.threed-feature-image figcaption { padding: .8rem 1rem 1rem; color: var(--muted); font-size: .92rem; border-top: 1px solid rgba(28,37,61,.08); }
.threed-analysis-card { padding: clamp(1.1rem, 3vw, 1.55rem); }
.threed-analysis-card h3,
.threed-reflection-grid h3 { color: var(--ink); font-size: 1rem; margin: 0 0 .7rem; }
.threed-analysis-card p { color: var(--muted); margin-top: 0; }
.threed-analysis-card .check-list { margin-top: 1rem; }
.threed-deck { margin-top: 1.4rem; min-height: 420px; }
.threed-reflection-card { padding: clamp(1.35rem, 4vw, 2.5rem); }
.threed-reflection-card > p:not(.eyebrow) { max-width: 940px; }
.threed-reflection-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-top: 1.4rem; }
.threed-reflection-grid div { padding: 1.1rem 1.2rem; background: rgba(255,255,255,.70); }
.threed-reflection-grid p { color: var(--muted); margin: 0; }
@media (max-width: 1120px) {
  .threed-hero-grid,
  .threed-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 780px) {
  .threed-hero-grid,
  .threed-gallery,
  .threed-project-header,
  .threed-project-grid,
  .threed-project-grid.flip,
  .threed-reflection-grid { grid-template-columns: 1fr; }
  .threed-project-grid.flip .threed-feature-image { order: 0; }
  .threed-feature-image img { min-height: 0; max-height: 380px; }
  .threed-deck { min-height: 300px; }
}
@media (max-width: 470px) {
  .threed-hero-grid div,
  .threed-project-note,
  .threed-analysis-card,
  .threed-reflection-grid div { border-radius: 18px; padding: 1rem; }
  .threed-gallery img { height: auto; max-height: 300px; }
  .threed-deck { min-height: 240px; }
}

/* Homepage clean-video hero overlay refresh */
.hero-home-stage {
  display: flex;
  align-items: flex-end;
  min-height: clamp(620px, calc(100svh - 78px), 860px);
  height: auto;
  isolation: isolate;
  background: #14243a;
}
.hero-home-stage video {
  z-index: 0;
  object-position: center center;
}
.hero-home-stage .video-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9,15,26,.82) 0%, rgba(9,15,26,.60) 42%, rgba(9,15,26,.18) 74%, rgba(9,15,26,.08) 100%),
    linear-gradient(to bottom, rgba(9,15,26,.05) 0%, rgba(9,15,26,.25) 45%, rgba(9,15,26,.78) 100%);
}
.home-hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(3rem, 6vw, 5.75rem);
  color: #fff;
}
.home-hero-content .eyebrow {
  color: rgba(255,255,255,.78);
  text-shadow: 0 2px 16px rgba(0,0,0,.28);
}
.home-hero-title {
  color: #fff;
  max-width: 980px;
  text-shadow: 0 4px 30px rgba(0,0,0,.34);
}
.home-hero-intro {
  color: rgba(255,255,255,.90);
  max-width: 760px;
  text-shadow: 0 2px 18px rgba(0,0,0,.32);
}
.home-hero-meta {
  max-width: 980px;
}
.home-hero-meta .meta-block {
  background: rgba(255,253,248,.82);
  border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 45px rgba(0,0,0,.14);
}
.home-hero-meta .meta-label {
  color: rgba(20,36,58,.68);
}
.home-hero-meta .meta-value {
  color: #14243a;
}
.home-hero-meta .accent-text {
  color: #53622f;
}
.home-hero-buttons .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}
.home-hero-buttons .btn-ghost:hover {
  color: #14243a;
  background: rgba(255,255,255,.90);
}
.home-hero-buttons .btn-subtle {
  color: #fff;
  border-color: rgba(197,147,70,.40);
  background: rgba(197,147,70,.26);
  backdrop-filter: blur(12px);
}
.home-hero-buttons .btn-subtle:hover {
  background: rgba(197,147,70,.38);
}
@media (max-width: 780px) {
  .hero-home-stage {
    min-height: 760px;
    align-items: flex-end;
  }
  .hero-home-stage video {
    object-position: 52% center;
  }
  .hero-home-stage .video-scrim {
    background:
      linear-gradient(to bottom, rgba(9,15,26,.16) 0%, rgba(9,15,26,.44) 34%, rgba(9,15,26,.86) 100%);
  }
  .home-hero-content {
    padding: 3.4rem 0 2.6rem;
  }
  .home-hero-title {
    font-size: clamp(3rem, 13vw, 5.2rem);
    line-height: .9;
    letter-spacing: .035em;
  }
  .home-hero-intro {
    font-size: 1rem;
    line-height: 1.58;
  }
  .home-hero-meta {
    grid-template-columns: 1fr;
    gap: .68rem;
    margin: 1.25rem 0;
  }
  .home-hero-meta .meta-block {
    padding: .82rem .9rem;
  }
}
@media (max-width: 470px) {
  .hero-home-stage {
    min-height: 800px;
  }
  .home-hero-title {
    font-size: clamp(2.55rem, 13.6vw, 3.75rem);
  }
  .home-hero-buttons .btn {
    width: 100%;
  }
}


/* Domain-safe homepage hero: text must never depend on JS or video load state */
.hero-home-stage {
  background-color: #14243a;
  background-image: linear-gradient(90deg, rgba(9,15,26,.72), rgba(9,15,26,.24)), url("images/indexhero-poster-20260710-domain-safe.jpg");
  background-size: cover;
  background-position: center;
}
.hero-home-stage video {
  display: block;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.home-hero-content,
.hero-home-stage .reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Split-screen / narrow-desktop correction — preserves full desktop and phone layouts. */
@media (min-width: 781px) and (max-width: 1050px) {
  .header-inner {
    gap: .55rem;
  }

  .logo-mark {
    padding-inline: .7rem;
  }

  .logo-top {
    font-size: .82rem;
  }

  .main-nav {
    gap: .05rem;
  }

  .main-nav a {
    padding: .68rem .58rem;
    font-size: .68rem;
    letter-spacing: .105em;
  }

  .hero-home-stage {
    min-height: clamp(650px, calc(100svh - 78px), 820px);
  }

  .home-hero-content {
    width: min(calc(100% - 44px), var(--max));
    padding-top: clamp(3.2rem, 5vw, 4.8rem);
    padding-bottom: clamp(2.5rem, 4vw, 4rem);
  }

  .home-hero-title {
    max-width: 820px;
    font-size: clamp(3.5rem, 7.25vw, 5.15rem);
    line-height: .91;
    letter-spacing: .035em;
  }

  .home-hero-intro {
    max-width: 700px;
    font-size: clamp(1rem, 1.75vw, 1.15rem);
  }

  .home-hero-meta {
    gap: .75rem;
  }

  .home-hero-meta .meta-block {
    padding: .88rem .9rem;
  }

  .home-hero-buttons .btn {
    padding-inline: 1rem;
    font-size: .72rem;
    letter-spacing: .11em;
  }
}
