:root {
  --bg: #08111d;
  --bg-deep: #050b13;
  --bg-soft: #0f1a2b;
  --surface: rgba(255, 248, 239, 0.92);
  --surface-strong: rgba(255, 251, 245, 0.98);
  --surface-dark: rgba(9, 17, 28, 0.9);
  --surface-dark-strong: rgba(12, 23, 37, 0.96);
  --ink: #121a24;
  --ink-soft: #4d5a69;
  --ink-inverse: #f7f2e9;
  --line: rgba(18, 26, 36, 0.1);
  --line-strong: rgba(247, 242, 233, 0.12);
  --accent: #da8a47;
  --accent-strong: #f4bc7a;
  --accent-soft: rgba(218, 138, 71, 0.14);
  --accent-pale: rgba(218, 138, 71, 0.07);
  --blue-soft: rgba(104, 159, 217, 0.18);
  --shadow: 0 40px 120px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 24px 70px rgba(3, 8, 15, 0.18);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --content-width: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--ink-inverse);
  background:
    radial-gradient(circle at 12% 12%, rgba(218, 138, 71, 0.18), transparent 24%),
    radial-gradient(circle at 85% 8%, rgba(94, 146, 216, 0.17), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(255, 245, 231, 0.06), transparent 32%),
    linear-gradient(180deg, #07101a 0%, #0a1321 35%, #101a28 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 88%);
  opacity: 0.36;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.28) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.background-orb {
  position: fixed;
  z-index: -1;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.42;
}

.background-orb-left {
  top: -10rem;
  left: -12rem;
  background: rgba(218, 138, 71, 0.16);
}

.background-orb-right {
  top: 8rem;
  right: -14rem;
  background: rgba(98, 155, 221, 0.15);
}

.background-orb-bottom {
  bottom: -16rem;
  left: 20%;
  background: rgba(229, 197, 157, 0.12);
}

.page-shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: 1rem 0 3.5rem;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  padding: 0.95rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(8, 15, 24, 0.85), rgba(7, 12, 20, 0.72));
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 11, 19, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, #ffdfbb, var(--accent) 58%, #8d4e1f 100%);
  color: #111923;
  font-size: 0.8rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 12px 30px rgba(218, 138, 71, 0.2);
}

.brand-text,
.site-nav,
.header-cta {
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: rgba(247, 242, 233, 0.74);
}

.site-nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--ink-inverse);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.header-cta {
  min-height: 2.95rem;
  padding: 0 1rem;
  background: var(--ink-inverse);
  color: #0a1220;
  font-weight: 800;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.panel-surface,
.timeline-item,
.tooling-card,
.contact-card,
.closing-banner,
.impact-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.feature-card,
.expertise-card,
.tooling-card,
.project-showcase,
.profile-note,
.credential-spotlight,
.timeline-item,
.contact-card,
.hero-panel,
.signature-rail,
.closing-banner,
.impact-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card:hover,
.expertise-card:hover,
.tooling-card:hover,
.project-showcase:hover,
.profile-note:hover,
.credential-spotlight:hover,
.timeline-item:hover,
.contact-card:hover,
.hero-panel:hover,
.signature-rail:hover,
.closing-banner:hover,
.impact-card:hover {
  transform: translateY(-3px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  gap: 1.2rem;
  padding: 5.4rem 0 2.7rem;
  align-items: stretch;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 3.4rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 252, 246, 0.98), rgba(247, 239, 226, 0.9)),
    linear-gradient(120deg, rgba(218, 138, 71, 0.12), transparent 45%);
  color: var(--ink);
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.24);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: auto -8% -34% auto;
  width: 21rem;
  height: 21rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 138, 71, 0.24), transparent 70%);
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(18, 26, 36, 0.06);
  border-radius: calc(var(--radius-xl) - 12px);
  pointer-events: none;
}

.eyebrow,
.section-label,
.timeline-period,
.location,
.status-pill,
.feature-kicker,
.proof-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.eyebrow,
.section-label,
.status-pill,
.feature-kicker,
.proof-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(218, 138, 71, 0.1);
  color: var(--accent);
}

.hero h1,
.section-heading h2,
.impact-card h2,
.closing-banner h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.hero h1 {
  max-width: 10.6ch;
  margin-top: 1rem;
  font-size: clamp(4rem, 7vw, 7.4rem);
}

.hero-text {
  max-width: 44rem;
  margin: 1.5rem 0 0;
  font-size: 1.07rem;
  line-height: 1.84;
  color: var(--ink-soft);
}

.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  min-height: 3.2rem;
  padding: 0 1.35rem;
  font-weight: 800;
}

.button-primary {
  background: #0d1521;
  color: var(--ink-inverse);
  box-shadow: 0 16px 45px rgba(13, 21, 33, 0.22);
}

.button-secondary {
  border: 1px solid rgba(18, 26, 36, 0.12);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
}

.button-tertiary {
  border: 1px solid rgba(18, 26, 36, 0.08);
  background: rgba(18, 26, 36, 0.04);
  color: var(--ink);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.45rem;
  border-top: 1px solid rgba(18, 26, 36, 0.08);
}

.hero-meta strong {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.97rem;
  line-height: 1.58;
}

.hero-side {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 1rem;
  align-content: stretch;
  height: 100%;
}

.hero-panel {
  padding: 1.85rem;
  border-radius: var(--radius-lg);
}

.hero-panel-dark {
  color: var(--ink-inverse);
  background:
    radial-gradient(circle at top right, rgba(218, 138, 71, 0.24), transparent 35%),
    linear-gradient(160deg, rgba(8, 14, 23, 0.98), rgba(16, 27, 42, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-panel-light {
  background:
    linear-gradient(145deg, rgba(255, 251, 244, 0.97), rgba(244, 233, 216, 0.9));
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.16);
}

.hero-panel-compact {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top right, rgba(218, 138, 71, 0.18), transparent 34%),
    linear-gradient(160deg, rgba(10, 18, 29, 0.98), rgba(16, 26, 39, 0.95));
  color: var(--ink-inverse);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.hero-panel-head {
  display: grid;
  gap: 0.65rem;
}

.location {
  color: rgba(247, 242, 233, 0.68);
}

.hero-panel-light .section-label {
  background: rgba(218, 138, 71, 0.12);
}

.hero-panel-light .principle-list {
  color: var(--ink-soft);
}

.hero-panel-compact .section-label,
.hero-panel-compact .compact-label {
  color: var(--accent-strong);
}

.hero-panel-compact .section-label {
  background: rgba(218, 138, 71, 0.1);
}

.compact-role,
.compact-grid {
  margin-top: 1rem;
}

.compact-role {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.compact-role strong,
.compact-grid strong {
  display: block;
  font-size: 1rem;
  line-height: 1.55;
}

.compact-role span {
  color: rgba(247, 242, 233, 0.7);
  line-height: 1.6;
}

.compact-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.compact-grid {
  display: grid;
  gap: 0.8rem;
  flex: 1 1 auto;
}

.compact-grid article {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.compact-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.compact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.compact-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink-inverse);
  font-size: 0.88rem;
  font-weight: 600;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: 1.4rem;
}

.metric-grid article {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-grid strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.metric-grid span {
  display: block;
  color: rgba(247, 242, 233, 0.78);
  font-size: 0.92rem;
  line-height: 1.62;
}

.principle-list,
.contact-list,
.impact-list {
  margin: 0;
}

.principle-list,
.impact-list,
.tooling-list {
  padding-left: 1.15rem;
}

.principle-list {
  display: grid;
  gap: 0.95rem;
  line-height: 1.75;
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.impact-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14, 22, 35, 0.84), rgba(9, 15, 24, 0.76));
  backdrop-filter: blur(12px);
}

.impact-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 138, 71, 0.16), transparent 70%);
}

.impact-card h2 {
  max-width: 10ch;
  margin-top: 1rem;
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.impact-card p:last-child {
  position: relative;
  margin: 1rem 0 0;
  color: rgba(247, 242, 233, 0.74);
  line-height: 1.8;
}

.signature-rail {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 248, 238, 0.96), rgba(243, 232, 216, 0.9));
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.18);
}

.signature-rail::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #f2be87, #da8a47);
}

.rail-label p,
.section-intro,
.feature-copy,
.credential-spotlight p,
.tooling-card p,
.muted-line,
.timeline-body p {
  color: rgba(247, 242, 233, 0.78);
  line-height: 1.8;
}

.signature-rail .rail-label p,
.signature-rail .section-label {
  color: var(--ink-soft);
}

.signature-rail .section-label {
  background: rgba(18, 26, 36, 0.06);
}

.rail-label p {
  margin: 0.75rem 0 0;
}

.chip-cloud,
.stack-tags,
.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chip-cloud span,
.stack-tags span,
.profile-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0 0.95rem;
  border-radius: 999px;
}

.chip-cloud span {
  background: rgba(18, 26, 36, 0.06);
  border: 1px solid rgba(18, 26, 36, 0.08);
  color: var(--ink);
}

.content-section {
  position: relative;
  margin-top: 1.5rem;
  padding: 1.8rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.content-section-dark {
  background:
    linear-gradient(180deg, rgba(248, 241, 228, 0.05), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.14);
}

.content-section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(218, 138, 71, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%);
  pointer-events: none;
}

.content-section-light {
  background:
    linear-gradient(145deg, rgba(252, 247, 239, 0.98), rgba(241, 232, 218, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.18);
  color: var(--ink);
}

.content-section-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(218, 138, 71, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), transparent 18%);
  pointer-events: none;
}

.section-heading {
  position: relative;
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.8rem;
}

.section-heading-wide {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: start;
  gap: 1.5rem;
}

.section-heading h2 {
  max-width: 16ch;
  font-size: clamp(2.35rem, 3.8vw, 4rem);
  line-height: 1;
}

.content-section-light .section-heading h2,
.content-section-light .section-intro,
.content-section-light .feature-copy,
.content-section-light .feature-kicker,
.content-section-light .muted-line {
  color: var(--ink-soft);
}

.content-section-light .section-label,
.content-section-light .feature-kicker {
  background: rgba(18, 26, 36, 0.06);
}

.content-section-light .section-heading h2,
.content-section-light .project-entry h3,
.content-section-light .credential-spotlight h3,
.content-section-light .timeline-company,
.content-section-light .timeline-item h3 {
  color: var(--ink);
}

.about-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.feature-card,
.credential-spotlight,
.expertise-card,
.tooling-card,
.project-showcase,
.profile-note {
  padding: 1.65rem;
  border-radius: var(--radius-lg);
  background: rgba(246, 241, 230, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card {
  min-height: 100%;
}

.credential-spotlight {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.credential-spotlight h3,
.credential-spotlight p {
  margin: 0;
}

.credential-spotlight h3 {
  margin-top: 0.3rem;
}

.credential-spotlight .credential-detail {
  margin-top: 0.1rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.credential-spotlight .muted-line {
  margin-top: 0.05rem;
  line-height: 1.4;
}

.feature-copy {
  margin-top: 0.95rem;
}

.feature-quote {
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  padding: 1.95rem;
  border-radius: var(--radius-lg);
  grid-column: span 3;
  background:
    linear-gradient(145deg, rgba(218, 138, 71, 0.94), rgba(146, 73, 24, 0.92));
  box-shadow: 0 26px 76px rgba(120, 54, 16, 0.34);
}

.feature-quote p {
  margin: 0;
  color: #fff7ef;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 15ch;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14.4rem;
  width: 1px;
  background: linear-gradient(rgba(18, 26, 36, 0.18), rgba(18, 26, 36, 0.04));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1.32fr);
  gap: 1.4rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.98), rgba(244, 236, 224, 0.94));
  color: var(--ink);
  box-shadow: 0 22px 55px rgba(19, 26, 34, 0.08);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 1.8rem;
  left: calc(14.4rem - 0.42rem);
  width: 0.84rem;
  height: 0.84rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(218, 138, 71, 0.12);
}

.timeline-meta {
  padding-right: 1rem;
  border-right: 1px solid rgba(18, 26, 36, 0.08);
}

.timeline-period {
  color: var(--accent);
}

.timeline-item h3,
.credential-spotlight h3,
.expertise-card h3,
.project-entry h3 {
  margin: 0.65rem 0 0.45rem;
  font-size: 1.18rem;
}

.timeline-company {
  margin: 0;
  font-weight: 800;
}

.timeline-body {
  display: grid;
  gap: 1rem;
}

.impact-list {
  display: grid;
  gap: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.stack-tags span {
  background: rgba(18, 26, 36, 0.06);
  border: 1px solid rgba(18, 26, 36, 0.08);
  color: var(--ink);
  font-size: 0.88rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.expertise-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.expertise-card p:last-child {
  margin: 0.9rem 0 0;
}

.tooling-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
  align-items: stretch;
}

.tooling-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.035));
}

.tooling-list {
  margin: 0;
  color: rgba(247, 242, 233, 0.82);
  line-height: 1.8;
}

.tooling-list li + li {
  margin-top: 0.7rem;
}

.projects-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 1rem;
  align-items: start;
}

.project-showcase {
  display: grid;
  gap: 1rem;
}

.project-entry {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-entry:first-of-type {
  padding-top: 0.25rem;
  border-top: 0;
}

.project-entry p,
.profile-note p {
  margin: 0.7rem 0 0;
  color: rgba(247, 242, 233, 0.78);
  line-height: 1.8;
}

.text-link {
  flex: 0 0 auto;
  color: var(--ink-inverse);
  font-weight: 800;
  white-space: nowrap;
}

.text-link:hover {
  color: #ffffff;
}

.content-section-light .project-showcase,
.content-section-light .credential-spotlight,
.content-section-light .profile-note {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(18, 26, 36, 0.08);
  box-shadow: 0 18px 44px rgba(19, 26, 34, 0.08);
}

.content-section-light .project-entry {
  border-top: 1px solid rgba(18, 26, 36, 0.08);
}

.content-section-light .project-entry p,
.content-section-light .profile-note p,
.content-section-light .contact-list,
.content-section-light .tooling-list {
  color: var(--ink-soft);
}

.content-section-light .text-link {
  color: var(--ink);
}

.content-section-light .text-link:hover {
  color: #000000;
}

.content-section-light .profile-badges span {
  background: #24303f;
  border: 1px solid #24303f;
  color: #f7f3ea;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.side-column {
  display: grid;
  gap: 1rem;
}

.profile-note {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.65rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(218, 138, 71, 0.16), transparent 32%),
    linear-gradient(160deg, rgba(11, 17, 25, 0.98), rgba(19, 27, 40, 0.94));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.2);
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li + li {
  margin-top: 1rem;
}

.contact-list span {
  display: block;
  margin-bottom: 0.15rem;
  color: rgba(247, 242, 233, 0.56);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-list a {
  color: var(--ink-inverse);
  font-weight: 700;
  word-break: break-word;
}

.closing-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
  padding: 1.9rem 2rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(246, 241, 230, 0.96), rgba(237, 228, 213, 0.88));
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.18);
}

.closing-banner h2 {
  max-width: 14ch;
  margin-top: 0.55rem;
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
}

.closing-banner .section-intro {
  max-width: 44rem;
  color: var(--ink-soft);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 0;
  color: rgba(247, 242, 233, 0.68);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero,
  .impact-strip,
  .signature-rail,
  .section-heading-wide,
  .expertise-grid,
  .tooling-board,
  .projects-layout {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr 1fr;
  }

  .feature-quote {
    grid-column: span 2;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .timeline::before,
  .timeline-item::before {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-meta {
    padding-right: 0;
    padding-bottom: 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(18, 26, 36, 0.08);
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--content-width));
  }

  .site-header,
  .site-footer,
  .closing-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
  }

  .hero {
    padding-top: 4.2rem;
  }

  .hero-copy,
  .hero-panel,
  .impact-card,
  .feature-card,
  .feature-quote,
  .timeline-item,
  .expertise-card,
  .tooling-card,
  .project-showcase,
  .profile-note,
  .credential-spotlight,
  .contact-card,
  .closing-banner {
    padding: 1.35rem;
  }

  .content-section {
    padding: 1.3rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3.1rem, 14vw, 5.2rem);
  }

  .metric-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .feature-quote {
    grid-column: span 1;
  }

  .project-entry {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand-text {
    display: none;
  }

  .site-header {
    border-radius: 28px;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .hero-actions,
  .closing-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
