@font-face {
  font-family: "Showcase Inter";
  src: url("assets/fonts/inter-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #091f33;
  --navy-2: #102f43;
  --ink: #102a39;
  --paper: #f4f0e7;
  --paper-2: #e9eee8;
  --white: #fffdf7;
  --coral: #ef6476;
  --orange: #f0785f;
  --mint: #53cdbb;
  --yellow: #ffe489;
  --muted: #667b83;
  --line: #b7c4c0;
  --radius: 1.35rem;
  --max: 88rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Showcase Inter", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: var(--yellow); color: var(--navy); font-weight: 800; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: .85rem clamp(1.1rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: rgba(9,31,51,.94);
  color: var(--white);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; width: max-content; font-size: .88rem; letter-spacing: .01em; }
.brand b { color: var(--yellow); }
.brand-mark { display: inline-grid; place-items: center; width: 2.35rem; height: 2.35rem; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: .72rem; font-weight: 900; letter-spacing: -.04em; }
nav { display: flex; gap: clamp(1rem, 2.5vw, 2.5rem); color: #c3d2d5; font-size: .78rem; font-weight: 650; }
nav a, .footer-links a { transition: color .18s ease; }
nav a:hover, nav a:focus-visible, .footer-links a:hover, .footer-links a:focus-visible { color: var(--yellow); }
.header-cta { justify-self: end; padding: .55rem .9rem; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; font-size: .72rem; font-weight: 750; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(28rem, .98fr);
  min-height: 47rem;
  padding: clamp(5rem, 8vw, 8.2rem) max(1.2rem, calc((100vw - var(--max)) / 2)) 5rem;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.hero:before { content: ""; position: absolute; width: 42rem; height: 42rem; right: -18rem; top: -20rem; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 7rem rgba(255,255,255,.025), 0 0 0 14rem rgba(255,255,255,.02); }
.hero-copy { position: relative; z-index: 2; padding: 2rem 2rem 0 0; }
.kicker { margin: 0 0 1rem; color: #2c8177; font-size: .68rem; font-weight: 800; letter-spacing: .16em; }
.hero .kicker { color: var(--mint); }
.hero .kicker span { display: inline-block; width: .5rem; height: .5rem; margin-right: .6rem; border-radius: 50%; background: var(--coral); }
h1, h2, h3 { margin-top: 0; letter-spacing: -.045em; }
h1 { max-width: 49rem; margin-bottom: 1.7rem; font-size: clamp(3.7rem, 7vw, 7.2rem); line-height: .91; }
h1 em, h2 em { color: var(--yellow); font-style: normal; }
.hero-deck { max-width: 43rem; margin: 0 0 2rem; color: #c1d0d4; font-size: clamp(1rem, 1.35vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 3.25rem; padding: .7rem 1.25rem; border-radius: 999px; font-size: .78rem; font-weight: 800; transition: transform .18s ease, background .18s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button.primary { background: var(--yellow); color: var(--navy); }
.button.secondary { border: 1px solid rgba(255,255,255,.3); color: var(--white); }
.button.light { background: var(--white); color: var(--navy); }
.button.ghost { border: 1px solid rgba(255,255,255,.3); color: var(--white); }
.build-stamp { margin: 1.25rem 0 0; color: #718c98; font-size: .7rem; }
.build-stamp code { color: #9fb7bf; }
.hero-visual { position: relative; z-index: 2; min-height: 34rem; }
.hero-card { position: absolute; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.28); border-radius: .8rem; background: #d9e1dc; box-shadow: 0 2.8rem 6rem rgba(0,0,0,.36); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.catalog-card { right: 10%; top: 0; width: 49%; aspect-ratio: 210 / 297; transform: rotate(5deg); }
.poster-card { left: 2%; bottom: 0; width: 39%; aspect-ratio: 1 / 1.414; transform: rotate(-5deg); }
.verified-seal { position: absolute; right: 0; bottom: 8%; display: grid; grid-template-columns: auto auto; align-items: center; gap: .7rem; width: 10.5rem; height: 10.5rem; padding: 1rem; border-radius: 50%; background: var(--coral); color: var(--navy); transform: rotate(7deg); box-shadow: 0 1.5rem 3rem rgba(0,0,0,.25); }
.verified-seal b { font-size: 2.25rem; letter-spacing: -.08em; }
.verified-seal span { font-size: .62rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; }

.signal-strip { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max); margin: -2.25rem auto 0; position: relative; z-index: 5; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1.3rem 3rem rgba(19,43,50,.15); }
.signal-strip div { min-height: 8.5rem; padding: 1.55rem; background: var(--white); border-right: 1px solid #d6ded9; }
.signal-strip div:nth-child(2) { background: var(--mint); }
.signal-strip div:nth-child(3) { background: var(--yellow); }
.signal-strip div:nth-child(4) { background: var(--coral); }
.signal-strip strong, .signal-strip span { display: block; }
.signal-strip strong { margin-bottom: .35rem; font-size: clamp(1.65rem, 2.6vw, 2.7rem); line-height: 1; letter-spacing: -.07em; }
.signal-strip span { color: #435c65; font-size: .72rem; font-weight: 700; }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(5.5rem, 9vw, 9rem) 1.2rem; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading .kicker { grid-column: 1 / -1; }
h2 { margin-bottom: 0; font-size: clamp(3rem, 5.2vw, 5.4rem); line-height: .94; }
.section-heading h2 em, .profile-copy h2 em, .fonts h2 em, .evidence h2 em { color: var(--coral); }
.section-heading > p:last-child { max-width: 34rem; margin: 0 0 .5rem; color: var(--muted); font-size: 1.02rem; }

.work-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr 1.1fr; gap: 1rem; }
.work-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.preview-frame { display: block; height: 28rem; overflow: hidden; background: #dfe6e0; }
.preview-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .35s ease; }
.work-card:hover .preview-frame img { transform: scale(1.015); }
.poster-work-card .preview-frame img { object-fit: contain; background: #19142c; }
.card-copy { display: grid; grid-template-columns: 1fr auto; padding: 1.25rem; }
.card-copy p, .card-copy h3, .card-copy span { grid-column: 1 / -1; }
.card-copy p { margin: 0 0 .55rem; color: #2b8177; font-size: .58rem; font-weight: 850; letter-spacing: .12em; }
.card-copy h3 { margin-bottom: .55rem; font-size: 1.45rem; }
.card-copy span { min-height: 4.5rem; color: var(--muted); font-size: .78rem; }
.card-copy a { margin-top: 1rem; font-size: .72rem; font-weight: 850; }

.profile-section { display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; max-width: none; padding-left: max(1.2rem, calc((100vw - var(--max)) / 2)); padding-right: max(1.2rem, calc((100vw - var(--max)) / 2)); background: var(--paper-2); }
.profile-visual { padding: 1rem; border-radius: var(--radius); background: var(--white); box-shadow: 0 2rem 5rem rgba(28,56,58,.12); transform: rotate(-1.2deg); }
.profile-copy h2 { margin-bottom: 1.7rem; }
.profile-copy > p:not(.kicker):not(.boundary) { max-width: 35rem; color: var(--muted); }
.profile-list { margin: 2rem 0 1.5rem; border-top: 1px solid var(--line); }
.profile-list a { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.profile-list span { font-weight: 800; }
.profile-list b { color: var(--muted); font-size: .73rem; font-weight: 600; }
.profile-list i { color: var(--coral); font-style: normal; }
.boundary { padding: 1rem 1.1rem; border-left: 5px solid var(--coral); background: #f9ded9; color: #6c403d; font-size: .76rem; }

.volume { max-width: none; padding-left: max(1.2rem, calc((100vw - var(--max)) / 2)); padding-right: max(1.2rem, calc((100vw - var(--max)) / 2)); background: var(--navy); color: var(--white); }
.volume-heading .kicker { color: var(--mint); }
.volume-heading > p:last-child { color: #a9bcc2; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.metric { min-height: 14rem; padding: 1.45rem; border-radius: var(--radius); color: var(--navy); }
.metric.coral { background: var(--coral); }
.metric.mint { background: var(--mint); }
.metric.yellow { background: var(--yellow); }
.metric.cream { background: var(--paper); }
.metric span, .metric strong, .metric p, .metric small { display: block; }
.metric span { min-height: 2.8rem; font-size: .6rem; font-weight: 900; letter-spacing: .12em; }
.metric strong { font-size: clamp(2.5rem, 4vw, 4.5rem); line-height: 1; letter-spacing: -.08em; }
.metric p { margin: .4rem 0 1.3rem; font-size: .78rem; font-weight: 800; }
.metric small { color: #46606a; font-size: .65rem; }
.volume-previews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.volume-previews figure { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); background: #133349; }
.volume-previews img { width: 100%; height: 24rem; object-fit: contain; background: #dfe5e0; }
.volume-previews figcaption { display: grid; grid-template-columns: 1fr auto; padding: 1rem 1.1rem; }
.volume-previews figcaption span { grid-column: 1 / -1; color: #9eb3ba; font-size: .7rem; }
.volume-previews figcaption a { grid-column: 2; grid-row: 1; color: var(--yellow); font-size: .7rem; font-weight: 800; }

.dotnet { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; max-width: none; padding-left: max(1.2rem, calc((100vw - var(--max)) / 2)); padding-right: max(1.2rem, calc((100vw - var(--max)) / 2)); background: #183e3a; color: var(--white); }
.dotnet .kicker { color: var(--yellow); }
.dotnet h2 { margin-bottom: 1.7rem; }
.dotnet h2 em { color: var(--mint); }
.dotnet-copy > p:not(.kicker):not(.hash-line) { max-width: 39rem; color: #c5d9d4; }
.dotnet code { color: var(--yellow); font-size: .88em; }
.check-list { margin: 2rem 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: .65rem 0 .65rem 2rem; border-bottom: 1px solid rgba(255,255,255,.14); color: #dce8e5; font-size: .86rem; }
.check-list li:before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 900; }
.dotnet-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.text-link { margin-left: .25rem; color: var(--yellow); font-size: .72rem; font-weight: 800; }
.hash-line { margin-top: 1.15rem; color: #82a7a0; font-size: .65rem; }
.dotnet-preview { margin: 0; padding: 1rem; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); background: rgba(6,24,36,.45); box-shadow: 0 2.5rem 5rem rgba(0,0,0,.25); transform: rotate(1.4deg); }

.font-heading { grid-template-columns: 1.15fr .85fr; }
.comparison { display: grid; grid-template-columns: .75fr 1.1fr 1.1fr; gap: 1rem; align-items: stretch; margin-bottom: 1rem; padding: 1rem; border-radius: var(--radius); background: #dfe7e1; }
.compare-copy { padding: 1.1rem 1rem; }
.issue-no { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 2rem; border-radius: 50%; background: var(--coral); color: var(--navy); font-size: .75rem; font-weight: 900; }
.compare-copy h3 { margin-bottom: .7rem; font-size: 1.7rem; }
.compare-copy p { color: var(--muted); font-size: .82rem; }
.comparison figure { position: relative; display: flex; align-items: center; margin: 0; min-height: 18rem; overflow: hidden; border-radius: .9rem; background: var(--white); }
.comparison figure > span { position: absolute; z-index: 2; left: .75rem; top: .75rem; padding: .4rem .6rem; border-radius: 999px; background: var(--navy); color: var(--white); font-size: .55rem; font-weight: 850; letter-spacing: .1em; }
.comparison .after > span { background: var(--mint); color: var(--navy); }
.comparison img { width: 100%; }
.vdp-comparison figure { justify-content: center; background: #cdd9d5; }
.vdp-comparison img { width: auto; height: 28rem; }
.report-link { display: flex; justify-content: space-between; align-items: center; margin-top: 1.2rem; padding: 1.4rem 1.6rem; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.report-link span { font-size: 1.1rem; font-weight: 800; }
.report-link b { color: var(--yellow); font-size: .72rem; }

.evidence { max-width: none; padding-left: max(1.2rem, calc((100vw - var(--max)) / 2)); padding-right: max(1.2rem, calc((100vw - var(--max)) / 2)); background: var(--paper-2); }
.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.evidence-grid a { display: grid; min-height: 14rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .18s ease, border-color .18s ease; }
.evidence-grid a:hover, .evidence-grid a:focus-visible { transform: translateY(-3px); border-color: var(--coral); }
.evidence-grid span { color: #2b8177; font-size: .58rem; font-weight: 850; letter-spacing: .12em; }
.evidence-grid h3 { align-self: end; margin: 1rem 0 .35rem; font-size: 1.5rem; }
.evidence-grid p { margin: 0; color: var(--muted); font-size: .75rem; }
.evidence-grid b { align-self: end; margin-top: 1rem; color: var(--coral); font-size: .68rem; }
.final-cta { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-top: 1rem; padding: clamp(2rem, 5vw, 4.5rem); border-radius: var(--radius); background: var(--navy); color: var(--white); }
.final-cta h2 { font-size: clamp(2.6rem, 4.5vw, 4.8rem); }
.final-cta .kicker { color: var(--mint); }

.site-footer { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 2rem; align-items: center; padding: 2.5rem max(1.2rem, calc((100vw - var(--max)) / 2)); background: #061725; color: #a6b9bf; }
.site-footer > div:first-child { display: flex; align-items: center; gap: .8rem; }
.site-footer p { margin: 0; font-size: .75rem; }
.site-footer small { color: #6e8993; }
.claim { max-width: 46rem; justify-self: center; color: #738c95; font-size: .65rem !important; }
.footer-links { justify-self: end; display: flex; gap: 1.4rem; font-size: .7rem; font-weight: 750; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr .82fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-frame { height: 34rem; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison { grid-template-columns: 1fr 1fr; }
  .compare-copy { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-header { padding: .7rem 1rem; }
  .header-cta { font-size: 0; }
  .header-cta:after { content: "Source ↗"; font-size: .68rem; }
  .hero { display: block; min-height: 0; padding: 5rem 1.2rem 4rem; }
  .hero-copy { padding-right: 0; }
  h1 { font-size: clamp(3.4rem, 16vw, 5.2rem); }
  .hero-visual { min-height: 31rem; margin-top: 3.5rem; }
  .catalog-card { right: 3%; width: 58%; }
  .poster-card { left: 0; width: 45%; }
  .verified-seal { width: 7.5rem; height: 7.5rem; right: 0; bottom: 0; }
  .verified-seal b { font-size: 1.45rem; }
  .signal-strip { grid-template-columns: repeat(2, 1fr); margin: 0; border-radius: 0; }
  .signal-strip div { min-height: 7rem; }
  .section { padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .section-heading { display: block; }
  .section-heading h2 { margin-bottom: 1.5rem; }
  .work-grid, .profile-section, .dotnet, .volume-previews, .evidence-grid { grid-template-columns: 1fr; }
  .preview-frame { height: auto; aspect-ratio: 4 / 5; }
  .profile-section, .dotnet { gap: 3rem; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric { min-height: 12rem; }
  .volume-previews img { height: 27rem; }
  .comparison { grid-template-columns: 1fr; }
  .compare-copy { grid-column: auto; }
  .comparison figure { min-height: 0; }
  .vdp-comparison img { height: auto; max-height: 35rem; }
  .final-cta { display: block; }
  .final-cta .button { margin-top: 2rem; }
  .site-footer { grid-template-columns: 1fr; }
  .claim, .footer-links { justify-self: start; }
}

@media (max-width: 480px) {
  .signal-strip, .metric-grid { grid-template-columns: 1fr; }
  .hero-actions, .dotnet-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .profile-list a { grid-template-columns: 1fr auto; }
  .profile-list b { grid-column: 1; }
  .profile-list i { grid-column: 2; grid-row: 1 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}
