:root {
  color-scheme: dark;
  --ink: #eaf2f5;
  --muted: #9eb0bd;
  --night: #07111f;
  --night-2: #0b1b2b;
  --line: rgba(223, 238, 247, 0.16);
  --mint: #7df6c5;
  --amber: #ffbe69;
  --violet: #8c67ff;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  background: var(--night);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 92% 4%, rgba(38, 105, 142, 0.17), transparent 28rem),
    var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: white;
  color: #07111f;
  border-radius: 0.45rem;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header,
.site-footer,
main {
  width: min(1280px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  min-height: 7.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.site-header > p,
.header-tools > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-tools,
.language-switch {
  display: flex;
  align-items: center;
}

.header-tools { gap: 1.25rem; }

.language-switch {
  gap: 0.45rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.language-switch a {
  padding: 0.35rem 0.15rem;
  color: inherit;
  text-decoration: none;
}

.language-switch a:hover { color: var(--ink); }
.language-switch .is-current { color: var(--mint); }
.language-switch a:focus-visible { outline: 3px solid white; outline-offset: 3px; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-lockup {
  width: 10rem;
  aspect-ratio: 1141 / 405;
  display: block;
  border-radius: 0.35rem;
  background-image: url("assets/ubidklogosmall.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.wordmark-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--night);
  border-radius: 0.55rem;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
}

.intro {
  max-width: 61rem;
  padding: clamp(4.5rem, 9vw, 8.5rem) 0 clamp(3.5rem, 6vw, 6rem);
}

.kicker,
.section-label {
  margin: 0 0 1.2rem;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker { display: flex; align-items: center; gap: 0.7rem; }
.kicker span { width: 1.7rem; height: 1px; background: currentColor; }

.intro h1 {
  max-width: 56rem;
  margin: 0;
  font-size: clamp(3rem, 7.2vw, 6.9rem);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
}

.lede {
  max-width: 43rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.projects {
  display: grid;
  gap: 1.5rem;
}

.project {
  min-height: 36rem;
  display: grid;
  grid-template-columns: minmax(19rem, 0.84fr) minmax(28rem, 1.16fr);
  overflow: hidden;
  border-radius: 1.6rem;
}

.project-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(2.2rem, 5vw, 4.5rem);
}

.project-topline {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: auto;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-index { font-weight: 800; }
.project-kind { opacity: 0.68; text-align: right; }

.project h2 {
  margin: 4rem 0 1.2rem;
  font-size: clamp(2.7rem, 5.5vw, 5.8rem);
  font-weight: 790;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.project-copy > p {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.55;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem 1.5rem;
  margin-top: 2.25rem;
}

.button {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.15rem;
  border-radius: 0.6rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .season-scene:focus-visible, .wordmark:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}

.button--light { background: var(--mint); color: #061017; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); }
.button--dark { background: #101425; color: white; box-shadow: 0 12px 30px rgba(58, 29, 84, 0.19); }

.text-link {
  font-weight: 700;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.3rem;
}

.project--mc {
  background: linear-gradient(135deg, #101f2c, #0b2835);
  border: 1px solid rgba(125, 246, 197, 0.13);
}

.mc-window {
  width: calc(100% - clamp(2rem, 5vw, 5rem));
  align-self: center;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(224, 247, 239, 0.32);
  border-right: 0;
  border-radius: 0.7rem 0 0 0.7rem;
  background: #07141c;
  box-shadow: -25px 35px 80px rgba(0, 0, 0, 0.32);
  color: #cceadf;
  font-family: var(--mono);
  font-size: clamp(0.58rem, 0.9vw, 0.78rem);
  transform: perspective(1500px) rotateY(-3deg);
  transform-origin: right center;
}

.window-bar,
.mc-tabs,
.mc-paths,
.mc-keys {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(204, 234, 223, 0.14);
}

.window-bar {
  justify-content: space-between;
  height: 2.8rem;
  padding: 0 1rem;
  background: #173040;
}

.window-title { display: flex; align-items: center; gap: 0.6rem; }
.window-title b { color: var(--night); background: var(--mint); padding: 0.12rem 0.28rem; border-radius: 0.2rem; }
.window-controls { opacity: 0.7; letter-spacing: 0.6rem; }

.mc-tabs { padding: 0.45rem 0.7rem 0; gap: 0.25rem; background: #0c1c27; }
.mc-tabs span { padding: 0.45rem 0.8rem; color: #87a095; border-radius: 0.25rem 0.25rem 0 0; }
.mc-tabs .active { background: #132e32; color: var(--mint); }

.mc-paths { display: grid; grid-template-columns: 1fr 1fr; }
.mc-paths span { padding: 0.75rem; border-right: 1px solid rgba(204, 234, 223, 0.14); color: #fff; }

.mc-panes { display: grid; grid-template-columns: 1fr 1fr; min-height: 20rem; }
.mc-pane:first-child { border-right: 1px solid rgba(204, 234, 223, 0.14); }
.mc-row { min-height: 2.5rem; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 0 0.8rem; border-bottom: 1px solid rgba(204, 234, 223, 0.075); }
.mc-row.head { color: #779184; font-size: 0.85em; text-transform: uppercase; }
.mc-row.selected { background: #3fc792; color: #03150e; font-weight: 800; }
.mc-keys { justify-content: space-around; gap: 0.4rem; padding: 0.8rem; border: 0; background: #132734; }
.mc-keys span { white-space: nowrap; }

.project--sparks {
  background: #f0d5ff;
  color: #201329;
}

.project--sparks .project-index { color: #7040ab; }
.project--sparks h2 { color: #23142c; }
.project--sparks h2 span { color: #9a4ce0; font-size: 0.42em; vertical-align: top; margin-left: 0.18em; }
.project--sparks .project-copy > p { color: #553d5b; }
.text-link--dark { text-decoration-color: rgba(32, 19, 41, 0.28); }

.season-scene {
  position: relative;
  min-height: 36rem;
  display: block;
  overflow: hidden;
  background-image:
    linear-gradient(to top, rgba(15, 11, 42, 0.7), transparent 46%),
    url("aarstidsgnister/assets/seasons.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  background-position: 50% 100%;
  color: white;
  text-decoration: none;
}

.scene-label {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  background: rgba(15, 18, 58, 0.35);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scene-prompt {
  position: absolute;
  inset: auto 1.7rem 1.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 800;
}

.scene-prompt b {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: #24182d;
  transition: transform 180ms ease;
}

.season-scene:hover .scene-prompt b { transform: translateX(0.25rem); }

.now {
  display: grid;
  grid-template-columns: minmax(10rem, 0.33fr) 1fr;
  gap: 2rem;
  margin: clamp(5rem, 10vw, 9rem) 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.now p { margin-top: 0; }
.now div { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; color: var(--muted); }
.now div p { max-width: 26rem; font-size: clamp(1.1rem, 2vw, 1.45rem); }

.site-footer {
  min-height: 10rem;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.wordmark--small { color: var(--ink); }
.wordmark--small .wordmark-mark { width: 1.65rem; height: 1.65rem; border-radius: 0.42rem; font-size: 1.05rem; }
.wordmark--small .brand-lockup { width: 8rem; border-radius: 0.3rem; }

.project-page {
  width: min(1100px, calc(100% - 3rem));
  margin-inline: auto;
}

.project-page .site-header { width: 100%; }

.project-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 3rem;
}

.project-hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 7.6rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.project-hero .lede { max-width: 52rem; }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.feature-strip div { padding: 1.6rem 1rem 1.6rem 0; }
.feature-strip div + div { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.feature-strip strong { display: block; margin-bottom: 0.3rem; color: var(--ink); }
.feature-strip span { color: var(--muted); font-size: 0.92rem; }

.demo-section { padding: 4rem 0; }
.demo-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(125, 246, 197, 0.22);
  border-radius: 1rem;
  background: #08131d;
  box-shadow: 0 35px 90px rgba(0,0,0,0.35);
}
.demo-frame iframe { width: 100%; min-height: 680px; display: block; border: 0; }

.project-story {
  display: grid;
  grid-template-columns: 0.48fr 1fr;
  gap: 3rem;
  padding: 4rem 0 7rem;
}

.project-story h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.04em; line-height: 1; }
.story-copy { max-width: 44rem; }
.story-copy p { margin: 0 0 1.4rem; color: var(--muted); font-size: 1.1rem; }

@media (max-width: 900px) {
  .project { grid-template-columns: 1fr; }
  .project-copy { min-height: 31rem; }
  .mc-window { width: calc(100% - 2rem); margin: 0 0 2rem 2rem; }
  .season-scene { min-height: min(118vw, 40rem); }
  .project-story { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 620px) {
  .site-header, .site-footer, main, .project-page { width: min(100% - 1.5rem, 1280px); }
  .site-header { min-height: 5.5rem; }
  .site-header > p, .header-tools > p { font-size: 0.68rem; }
  .intro { padding-top: 4rem; }
  .intro h1 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
  .project { border-radius: 1rem; }
  .project-copy { min-height: 30rem; padding: 1.5rem; }
  .project h2 { margin-top: 3.5rem; }
  .project-topline { align-items: flex-start; }
  .project-kind { max-width: 13rem; }
  .mc-window { font-size: 0.52rem; }
  .mc-panes { min-height: 15rem; }
  .mc-row { min-height: 2rem; padding: 0 0.45rem; }
  .mc-keys { padding: 0.65rem 0.3rem; }
  .now, .now div { grid-template-columns: 1fr; gap: 0.7rem; }
  .site-footer { grid-template-columns: 1fr auto; padding: 2rem 0; }
  .site-footer > p:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .demo-frame iframe { min-height: 520px; }
}

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

/* Four-product portfolio */
.intro--portfolio {
  max-width: 72rem;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.intro--portfolio h1 {
  max-width: 70rem;
  font-size: clamp(3.25rem, 7.8vw, 7.5rem);
}

.intro--portfolio h1 em {
  color: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.product-card {
  position: relative;
  min-width: 0;
  min-height: 42rem;
  display: grid;
  grid-template-rows: auto auto minmax(13rem, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  isolation: isolate;
}

.product-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1.5rem, 3vw, 2.25rem) 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.product-card__topline span:last-child {
  opacity: 0.65;
  text-align: right;
}

.product-card__copy {
  position: relative;
  z-index: 2;
  padding: clamp(2.8rem, 5vw, 4.2rem) clamp(1.5rem, 3vw, 2.25rem) 2rem;
}

.product-card h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  font-weight: 790;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-wrap: balance;
}

.product-card h2 + p,
.title-with-note + p {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.55;
}

.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  margin-top: 1.8rem;
}

.card-button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.72rem 1rem;
  border-radius: 0.62rem;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.card-link {
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration-color: rgba(255, 255, 255, 0.32);
  text-underline-offset: 0.3rem;
}

.card-button:focus-visible,
.card-link:focus-visible,
.game-card-visual:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}

.card-button--mint { background: var(--mint); color: #061017; }
.card-button--ink { background: #1b1423; color: #fff; }
.card-button--gold { background: #efb65c; color: #191005; }
.card-button--blue { background: #168bf0; color: #fff; }
.card-link--ink { color: #24182d; text-decoration-color: rgba(36, 24, 45, 0.3); }

.product-card__visual {
  position: relative;
  min-height: 13rem;
  align-self: end;
}

.product-card--mc {
  background:
    radial-gradient(circle at 85% 20%, rgba(72, 200, 157, 0.12), transparent 16rem),
    linear-gradient(145deg, #10212d, #081722 70%);
  color: #edf9f5;
}

.product-card--mc .product-card__topline { color: #a5daca; }
.product-card--mc .product-card__copy > p { color: #abc0bb; }

.mc-card-visual {
  min-height: 15rem;
  margin-left: clamp(1.5rem, 6vw, 5rem);
}

.mc-card-visual > img {
  position: absolute;
  z-index: 3;
  top: -1.3rem;
  left: -2.4rem;
  width: 5rem;
  height: 5rem;
  image-rendering: auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
}

.mc-mini-window {
  height: 100%;
  min-height: 15rem;
  overflow: hidden;
  border: 1px solid rgba(207, 240, 229, 0.27);
  border-right: 0;
  border-radius: 0.75rem 0 0 0;
  background: #08131b;
  box-shadow: -18px 30px 55px rgba(0, 0, 0, 0.3);
  color: #cceadf;
  font-family: var(--mono);
  font-size: 0.68rem;
}

.mc-mini-bar {
  height: 2.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.8rem;
  background: #173241;
  border-bottom: 1px solid rgba(207, 240, 229, 0.16);
}

.mc-mini-bar b { color: var(--mint); }
.mc-mini-bar i { margin-left: auto; opacity: 0.6; font-style: normal; letter-spacing: 0.3em; }
.mc-mini-paths,
.mc-mini-panes { display: grid; grid-template-columns: 1fr 1fr; }
.mc-mini-paths { border-bottom: 1px solid rgba(207, 240, 229, 0.13); }
.mc-mini-paths span { padding: 0.65rem; border-right: 1px solid rgba(207, 240, 229, 0.13); }
.mc-mini-panes > div { display: grid; align-content: start; border-right: 1px solid rgba(207, 240, 229, 0.13); }
.mc-mini-panes span { min-height: 2rem; display: flex; align-items: center; padding: 0 0.7rem; border-bottom: 1px solid rgba(207, 240, 229, 0.07); }
.mc-mini-panes .active { background: #3fc792; color: #041711; font-weight: 800; }

.product-card--game {
  background: linear-gradient(145deg, #f1d8ff, #d9c3ef);
  color: #24162d;
  border-color: rgba(80, 43, 105, 0.16);
}

.product-card--game .product-card__topline { color: #674278; }
.product-card--game .product-card__copy > p { color: #5e4767; }

.title-with-note {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.title-with-note > span {
  margin-bottom: 0.15rem;
  padding: 0.4rem 0.62rem;
  border: 1px solid rgba(60, 29, 72, 0.22);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.game-card-visual {
  min-height: 15rem;
  display: block;
  overflow: hidden;
  background-image:
    linear-gradient(to top, rgba(15, 11, 42, 0.75), transparent 58%),
    url("aarstidsgnister/assets/seasons.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  background-position: 50% 100%;
  color: white;
  text-decoration: none;
}

.visual-chip {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(20, 18, 57, 0.36);
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-caption {
  position: absolute;
  inset: auto 1.25rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.08rem;
  font-weight: 800;
}

.visual-caption b {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: #24182d;
  transition: transform 180ms ease;
}

.game-card-visual:hover .visual-caption b { transform: translateX(0.25rem); }

.product-card--smorg {
  background:
    radial-gradient(circle at 88% 76%, rgba(42, 147, 201, 0.25), transparent 18rem),
    linear-gradient(145deg, #161c32, #0c1020 72%);
  color: #f5f5ff;
}

.product-card--smorg .product-card__topline { color: #aab9e6; }
.product-card--smorg .product-card__copy > p { color: #b7bed6; }
.smorg-card-visual { min-height: 16.5rem; }

.smorg-card-visual > img {
  position: absolute;
  right: clamp(1.1rem, 3vw, 2.1rem);
  bottom: -2.7rem;
  width: min(48%, 18rem);
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.48));
}

.feature-pills {
  position: absolute;
  left: clamp(1.5rem, 3vw, 2.25rem);
  bottom: 1.7rem;
  display: grid;
  gap: 0.55rem;
}

.feature-pills span {
  width: max-content;
  max-width: 100%;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(185, 204, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 11, 24, 0.55);
  color: #dfe7ff;
  font-size: 0.73rem;
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.product-card--ygg {
  background:
    radial-gradient(circle at 85% 20%, rgba(10, 132, 255, 0.17), transparent 17rem),
    linear-gradient(145deg, #25262b, #131419 74%);
  color: #f5f7fa;
}

.product-card--ygg .product-card__topline { color: #a9c9eb; }
.product-card--ygg .product-card__copy > p { color: #b8bcc4; }
.product-card--ygg h2 span { color: #168bf0; }
.ygg-card-visual { min-height: 15rem; padding: 0 0 0 clamp(1.5rem, 5vw, 4rem); }

.ygg-window {
  min-height: 15rem;
  overflow: hidden;
  border: 1px solid #46484f;
  border-right: 0;
  border-radius: 0.65rem 0 0 0;
  background: #1c1c1e;
  box-shadow: -18px 30px 58px rgba(0, 0, 0, 0.34);
  color: #d0d0d0;
  font-family: "Segoe UI", var(--sans);
  font-size: 0.72rem;
}

.ygg-titlebar,
.ygg-toolbar,
.ygg-row {
  display: flex;
  align-items: center;
}

.ygg-titlebar {
  justify-content: space-between;
  min-height: 2.65rem;
  padding: 0 0.8rem;
  background: linear-gradient(#303035, #242428);
  color: white;
}

.ygg-titlebar span { display: inline-flex; align-items: center; gap: 0.45rem; }
.ygg-titlebar img { width: 1.4rem; height: 1.4rem; object-fit: contain; }
.ygg-titlebar i { font-style: normal; opacity: 0.7; letter-spacing: 0.35em; }
.ygg-toolbar { justify-content: space-between; min-height: 2.9rem; padding: 0 0.85rem; background: #242426; border-bottom: 1px solid #333; }
.ygg-toolbar span { padding: 0.35rem 0.55rem; border-radius: 0.25rem; background: #0a84ff; color: white; font-weight: 700; }
.ygg-row { min-height: 3rem; display: grid; grid-template-columns: minmax(6rem, 1.25fr) 1fr auto; gap: 0.6rem; padding: 0 0.8rem; border-bottom: 1px solid #2e2e2e; }
.ygg-row strong { color: #e6e6e6; font-weight: 600; }
.ygg-row button { min-width: 4.3rem; padding: 0.35rem 0.45rem; border: 0; border-radius: 0.24rem; background: #0a84ff; color: white; font: inherit; }
.state { font-size: 0.68rem; }
.state--ok { color: #66cf72; }
.state--warn { color: #ffbd38; }

.product-summary {
  display: grid;
  grid-template-columns: 0.3fr minmax(18rem, 0.7fr) 1fr;
  gap: 2rem;
  align-items: start;
  margin: clamp(5rem, 9vw, 8rem) 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.product-summary > p { margin-top: 0; }
.product-summary > p:nth-child(2) { max-width: 32rem; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.product-summary dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; }
.product-summary dl div { min-width: 0; padding-left: 1rem; border-left: 1px solid var(--line); }
.product-summary dt { color: var(--mint); font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 800; line-height: 1; }
.product-summary dd { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.82rem; }

@media (max-width: 940px) {
  .product-card { min-height: 39rem; }
  .product-card h2 { font-size: clamp(2.6rem, 6.5vw, 4rem); }
  .title-with-note { align-items: flex-start; flex-direction: column; gap: 0.8rem; }
  .product-summary { grid-template-columns: 0.5fr 1fr; }
  .product-summary dl { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 40rem; }
  .product-card h2 { font-size: clamp(3rem, 12vw, 5rem); }
  .title-with-note { flex-direction: row; align-items: flex-end; }
}

@media (max-width: 520px) {
  .site-header > p { max-width: 9rem; text-align: right; line-height: 1.35; }
  .header-tools { gap: 0; }
  .header-tools > p { display: none; }
  .language-switch { padding-left: 0; border-left: 0; }
  .intro--portfolio h1 { font-size: clamp(2.9rem, 14vw, 4.4rem); }
  .product-card { min-height: 38rem; border-radius: 1rem; }
  .product-card__topline { align-items: flex-start; padding-inline: 1.25rem; }
  .product-card__topline span:last-child { max-width: 12rem; }
  .product-card__copy { padding-inline: 1.25rem; }
  .product-card h2 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .title-with-note { align-items: flex-start; flex-direction: column; }
  .mc-card-visual { margin-left: 2.5rem; }
  .smorg-card-visual > img { width: 55%; right: 0.5rem; }
  .feature-pills { left: 1.25rem; }
  .ygg-card-visual { padding-left: 1.25rem; }
  .ygg-row { grid-template-columns: minmax(5rem, 1fr) auto; }
  .ygg-row .state { display: none; }
  .product-summary { grid-template-columns: 1fr; gap: 0.8rem; }
  .product-summary dl { grid-column: auto; gap: 0.5rem; }
  .product-summary dl div { padding-left: 0.65rem; }
  .product-summary dd { overflow-wrap: anywhere; }
}
