.hero { padding-bottom: 38px; }
.hero p { max-width: 760px; }
.main { overflow: hidden; }
.digital-section { border-top: 1px solid #ffffff12; }
.tech-projects {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 31%);
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #53535c transparent;
  padding: 2px 4px 20px 0;
}
.tech-projects::-webkit-scrollbar { height: 7px; }
.tech-projects::-webkit-scrollbar-thumb { background: #53535c; border-radius: 999px; }
.tech-projects .poster { height: 225px; }
.tech-projects .poster-title h3 { font-size: 34px; }
.tech-projects .project-meta { margin-top: 12px; }
.poster.disco { background: radial-gradient(circle at 65% 35%, #562f35, #111 70%); }
.poster.disco > img { object-fit: contain; padding: 20px; opacity: 1; transform: none; }
.poster.disco:after { background: linear-gradient(0deg,#07090af5,transparent 75%); }
.poster.zeddo > img,.poster.earth > img,.poster.robot > img,.poster.access > img { object-fit: cover; opacity: .72; }
.poster.zeddo > img { object-position: 54% center; }
.poster.earth > img,.poster.robot > img,.poster.access > img { object-position: left center; }
.poster.zeddo:after,.poster.earth:after,.poster.robot:after,.poster.access:after { background: linear-gradient(0deg,#07090af5 2%,#07090a10 86%); }
.thesis-section { border-top: 1px solid #ffffff12; }
.thesis-feature {
  width: 100%;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: #fff;
  background: linear-gradient(135deg,#4b111c,#1a1719 70%);
  border: 1px solid #ffffff17;
  border-radius: 12px;
  min-height: 340px;
  transition: transform .25s,box-shadow .25s;
}
.thesis-feature:hover { transform: translateY(-5px); box-shadow: 0 18px 35px #0007; }
.thesis-copy { padding: clamp(28px,5vw,64px); display: flex; flex-direction: column; justify-content: center; }
.thesis-copy h3 { font-size: clamp(38px,5vw,65px); letter-spacing: -2.5px; line-height: 1; margin: 15px 0; }
.thesis-copy p { max-width: 580px; color: #d0cbd0; font-size: 17px; margin: 0 0 24px; }
.thesis-copy strong { margin-top: 28px; font-size: 14px; }
.thesis-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.thesis-tags span { border: 1px solid #ffffff32; border-radius: 4px; padding: 4px 9px; color: #d8d4d8; font-size: 12px; }
.thesis-visual { min-height: 100%; background: #eee; display: flex; align-items: center; }
.thesis-visual img { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.slide-grid a { background: #111; border-radius: 7px; overflow: hidden; }
.slide-grid img { aspect-ratio: 16/9; object-fit: contain; background: #090909; border-radius: 0; }
.slide-grid span { padding: 0 10px 10px; }
.detail-body > h3 { margin-top: 30px; }
@media (max-width: 980px) {
  header nav a:nth-child(3) { display: none; }
  .tech-projects { grid-auto-columns: minmax(280px, 48%); }
  .thesis-feature { grid-template-columns: 1fr; }
  .thesis-visual { min-height: 260px; }
  .thesis-visual img { object-position: left top; }
}
@media (max-width: 580px) {
  header nav a:nth-child(2), header nav a:nth-child(3) { display: none; }
  .hero { padding-top: 34px; }
  .quick-facts { max-width: 340px; }
  .tech-projects { grid-auto-columns: 88%; }
  .tech-projects .poster { height: 235px; }
  .thesis-feature { min-height: 0; }
  .thesis-copy { padding: 28px 24px; }
  .thesis-copy h3 { letter-spacing: -1.7px; }
  .thesis-visual { min-height: 200px; }
}

/* Editorial opening */
.hero.hero-editorial {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(480px,1.1fr);
  gap: clamp(34px,5vw,82px);
  align-items: center;
  min-height: 520px;
  padding: 56px 5.5% 50px;
  text-align: left;
  background:
    radial-gradient(circle at 14% 20%,#651b2a2e,transparent 32%),
    linear-gradient(115deg,#151113 0%,#101011 50%,#121214 100%);
  overflow: hidden;
}
.hero-copy { max-width: 680px; }
.hero-editorial .eyebrow { color: #db8793; letter-spacing: 2.4px; }
.hero-editorial h1 {
  margin: 17px 0 22px;
  font-size: clamp(58px,5.2vw,88px);
  line-height: .95;
  letter-spacing: -4.8px;
}
.hero-editorial p {
  max-width: 600px;
  margin: 0 0 28px;
  color: #bcbcc4;
  font-size: 18px;
}
.hero-editorial .actions { justify-content: flex-start; }
.focus-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 34px;
}
.focus-line span {
  padding: 6px 10px;
  border: 1px solid #ffffff19;
  border-radius: 999px;
  color: #92929d;
  font-size: 12px;
}
.hero-showcase {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 408px;
  transform: rotate(-1deg);
}
.feature-frame {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: #fff;
  text-align: left;
  background: #202024;
  border: 1px solid #ffffff1a;
  border-radius: 13px;
  box-shadow: 0 20px 48px #0007;
  transition: transform .25s,border-color .25s;
}
.feature-frame:hover { transform: translateY(-5px) rotate(1deg); border-color: #ffffff4a; }
.feature-main { grid-row: 1 / 3; }
.feature-frame img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: .77; transition: transform .4s,opacity .4s; }
.feature-frame:hover img { transform: scale(1.035); opacity: .9; }
.feature-main img { object-position: 48% center; }
.feature-frame:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#09090bf2 0%,transparent 65%); }
.feature-frame span { position: absolute; z-index: 1; left: 18px; right: 16px; bottom: 17px; display: flex; flex-direction: column; line-height: 1.15; }
.feature-frame small { margin-bottom: 6px; color: #d09aa2; font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; }
.feature-frame strong { font-family: Manrope,sans-serif; font-size: 21px; }
.feature-main strong { font-size: 28px; }
@media (min-width: 1500px) {
  .hero.hero-editorial { padding-left: max(5.5%,calc((100vw - 1500px)/2)); padding-right: max(5.5%,calc((100vw - 1500px)/2)); }
}
@media (max-width: 980px) {
  .hero.hero-editorial { grid-template-columns: 1fr; gap: 40px; padding-top: 46px; }
  .hero-copy { max-width: 760px; }
  .hero-showcase { height: 330px; transform: none; }
}
@media (max-width: 580px) {
  .hero.hero-editorial { padding: 38px 6% 34px; gap: 30px; }
  .hero-editorial h1 { font-size: clamp(48px,14vw,66px); letter-spacing: -3.2px; }
  .hero-editorial p { font-size: 16px; }
  .focus-line { margin-top: 26px; }
  .hero-showcase { height: 260px; gap: 9px; }
  .feature-frame { border-radius: 9px; }
  .feature-frame span { left: 12px; bottom: 12px; }
  .feature-frame small { display: none; }
  .feature-frame strong { font-size: 15px; }
  .feature-main strong { font-size: 20px; }
}

/* 2026 editorial marketing refresh */
:root {
  color-scheme: light;
  --bg: #f4f0e8;
  --panel: #fffdf8;
  --muted: #6f7180;
  --red: #e23d55;
  --ink: #17192d;
  --blue: #4057c8;
}
body { background: var(--bg); color: var(--ink); }
button:focus-visible, a:focus-visible { outline-color: var(--blue); }
header {
  height: 82px;
  background: #f4f0e8ed;
  border-color: #17192d17;
  box-shadow: 0 5px 28px #30291d0a;
}
.brand { color: var(--ink); }
nav a, .header-right { color: #686a78; }
nav a:hover, .header-right a:hover { color: var(--ink); }
.mini { background: var(--ink); border-radius: 50%; }
.hero.hero-editorial {
  grid-template-columns: minmax(0,.87fr) minmax(500px,1.13fr);
  min-height: 610px;
  padding-top: 68px;
  padding-bottom: 68px;
  background:
    radial-gradient(circle at 8% 8%,#ffc7cf70 0 13%,transparent 31%),
    radial-gradient(circle at 58% 100%,#dce1ff80 0 12%,transparent 33%),
    linear-gradient(135deg,#fffdf8 0%,#f5f0e8 68%,#ece7df 100%);
}
.hero-copy { position: relative; z-index: 1; max-width: 690px; }
.hero-editorial .eyebrow { color: var(--red); letter-spacing: 2px; }
.hero-editorial h1 {
  color: var(--ink);
  margin: 19px 0 25px;
  font-size: clamp(62px,5.35vw,92px);
  line-height: .91;
  letter-spacing: -5.2px;
}
.hero-editorial h1 em { color: var(--red); font-style: normal; }
.hero-editorial p { color: #5e6070; font-size: 18px; line-height: 1.62; }
.hero-editorial p strong { color: var(--ink); font-weight: 650; }
.button {
  min-height: 46px;
  border-radius: 999px;
  border-color: #17192d28;
  background: transparent;
  color: var(--ink);
  padding-inline: 24px;
}
.button.primary { background: var(--ink); border-color: var(--ink); color: #fffdf8; }
.button:hover { filter: none; transform: translateY(-2px); box-shadow: 0 9px 22px #17192d1a; }
.focus-line { margin-top: 31px; gap: 8px; }
.focus-line span {
  padding: 7px 12px;
  border-color: #17192d24;
  background: #fffdf890;
  color: #555867;
  font-size: 12px;
}
.hero-showcase { height: 450px; gap: 12px; transform: rotate(-.6deg); }
.feature-frame {
  border-color: #17192d22;
  border-radius: 18px;
  box-shadow: 0 22px 50px #25203324;
}
.feature-main { background: #dfe8dd; }
.feature-top { background: #dce8f1; }
.feature-bottom { background: #e4e2f2; }
.feature-frame img { opacity: .96; }
.feature-main img, .feature-bottom img { object-fit: contain; }
.feature-frame:hover { border-color: var(--red); }
.feature-frame:hover img { opacity: 1; }
.feature-frame:after { background: linear-gradient(0deg,#111428e8 0%,#11142812 64%); }
.feature-frame small { color: #ffbec8; }
.main { max-width: 1500px; margin: auto; }
.section { padding-top: 54px; padding-bottom: 55px; }
.section + .section { border-top: 1px solid #17192d14; }
.section-head { margin-bottom: 27px; }
.section-head h2 { color: var(--ink); font-size: 27px; letter-spacing: -1px; }
.section-head span { color: #737582; }
.section-head .count { color: var(--red); }
.project { color: var(--ink); }
.poster { border-color: #17192d18; box-shadow: 0 8px 24px #332b2110; }
.project:hover .poster { box-shadow: 0 19px 35px #25203326; }
.poster-title { color: #fff; text-shadow: 0 2px 12px #000b; }
.poster-title p { color: #fff; font-weight: 500; }
.poster .badge {
  color: #fff;
  border-color: #ffffff80;
  background: #17192ded;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.35;
  text-shadow: none;
}
.project-meta { color: #555766; }
.project-meta .accent { color: #b3263c; font-weight: 600; }
.tech-projects { scrollbar-color: #8a8d9e transparent; }
.tech-projects::-webkit-scrollbar-thumb { background: #8a8d9e; }
.thesis-section { border-color: #17192d14; }
.thesis-feature {
  background: linear-gradient(135deg,#1d2040,#25274a 66%,#4b2235);
  border-color: #17192d10;
  border-radius: 18px;
  box-shadow: 0 20px 42px #2520331e;
}
.thesis-copy .eyebrow { color: #ff9dad; }
.skills-section { border-color: #17192d14; }
.skill { border-color: var(--red); }
.skill:nth-child(even) { border-color: var(--blue); }
.skill .number { color: #777986; }
.skill h3 { color: var(--ink); }
.skill p { color: #606270; }
.about {
  background: linear-gradient(135deg,#e4e8ff,#f0e8ed);
  border: 1px solid #17192d10;
  border-radius: 20px;
  box-shadow: 0 18px 46px #25203312;
}
.about .eyebrow { color: var(--blue); }
.about h2 { color: var(--ink); }
.about p { color: #505363; }
.education { color: #6a6c79; }
.footer { background: var(--ink); border: 0; color: #d2d3dd; }
.footer a:hover { color: #fff; }
dialog { background: #17192d; color: #fff; border-color: #ffffff24; }
.close { background: #17192deb; }
dialog .button { color: #fff; border-color: #ffffff38; }
dialog .button.primary { color: #17192d; background: #fff; border-color: #fff; }
@media (max-width: 980px) {
  .hero.hero-editorial { grid-template-columns: 1fr; min-height: 0; padding-top: 54px; }
  .hero-copy { max-width: 720px; }
  .hero-showcase { height: 390px; }
}
@media (max-width: 580px) {
  header { height: 70px; }
  .hero.hero-editorial { padding-top: 42px; padding-bottom: 42px; }
  .hero-editorial h1 { font-size: clamp(51px,14vw,66px); line-height: .92; letter-spacing: -3.5px; }
  .hero-editorial p { font-size: 16px; }
  .hero-showcase { height: 285px; }
  .section { padding-top: 36px; padding-bottom: 38px; }
  .section-head h2 { font-size: 23px; }
  .about { border-radius: 15px; }
}
