/* ==========================================================================
   Belén Corvillo Guerra — Portfolio
   Art direction: warm cream & blush interiors, tomato-red signal colour,
   soft editorial serif. Cozy, but engineered.
   Type: Fraunces (display) · Figtree (text) · DM Mono (data & labels)
   ========================================================================== */

:root {
  --cream: #FBF4EC;
  --cream-2: #F6ECE1;
  --cream-3: #EFE1D3;
  --blush: #F7DDD6;
  --blush-2: #F2CCC3;
  --rose: #EBB4AA;
  --sky: #D9E5EE;
  --sand: #F3E3CF;

  --red: #D2301E;
  --red-2: #E2513E;
  --red-deep: #A6241A;
  --red-ink: #8E1D14;

  --ink: #2B1B17;
  --ink-2: #5B4740;
  --muted: #8E7A71;
  --line: rgba(43, 27, 23, 0.12);
  --line-strong: rgba(43, 27, 23, 0.24);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* soft paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.15 0 0 0 0 0.1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
ol,
ul,
figure {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection {
  background: var(--red);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

/* --------------------------------------------------------------- shared type */
.serif,
.hero__title,
.section__title,
.feature__title,
.card__title,
.about__statement,
.caps__title,
.exp__heading,
.contact__title,
.sheet__title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 100;
  font-weight: 500;
}

.label,
.kicker,
.tags li,
.instrument__head,
.instrument__readout,
.spec dt,
.card__play,
.sheet__index,
.footer,
.gallery__count,
.portrait figcaption {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.label,
.kicker,
.spec dt,
.instrument__head,
.sheet__index,
.portrait figcaption,
.footer {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-2);
}

.label span {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
}

.kicker {
  color: var(--muted);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.kicker span {
  color: var(--red);
}

.star {
  width: 22px;
  height: 22px;
  fill: var(--red);
  flex: none;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(210, 48, 30, 0.15);
  flex: none;
}

/* --------------------------------------------------------------- buttons */
.btn {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn .muted {
  opacity: 0.6;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
}

.btn--lg {
  min-height: 58px;
  padding: 0 28px;
  font-size: 16px;
}

.btn--accent {
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 10px 24px -12px rgba(166, 36, 26, 0.7);
}

.btn--accent:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
}

.btn--ink {
  background: var(--ink);
  color: var(--cream);
}

.btn--ink:hover {
  background: #000;
}

.btn--ghost {
  border-color: rgba(166, 36, 26, 0.35);
  color: var(--red-deep);
  background: rgba(251, 244, 236, 0.4);
}

.btn--ghost:hover {
  border-color: var(--red);
  background: var(--cream);
}

.btn--cream {
  background: var(--cream);
  color: var(--red-deep);
}

.btn--cream:hover {
  background: #fff;
  transform: translateY(-1px);
}

.btn--ghost-dark {
  border-color: rgba(251, 244, 236, 0.45);
  color: var(--cream);
}

.btn--ghost-dark:hover {
  background: var(--cream);
  color: var(--red-deep);
  border-color: var(--cream);
}

/* --------------------------------------------------------------- nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav.is-scrolled {
  background: rgba(251, 244, 236, 0.86);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.nav__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 6px 16px -8px rgba(166, 36, 26, 0.8);
}

.nav__name {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.nav__name small {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__links a {
  position: relative;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--ink);
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
}

.nav__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(166, 36, 26, 0.3);
  color: var(--red-deep);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.nav__icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.nav__icon:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
  transform: translateY(-1px);
}

/* CV dropdown */
.cv {
  position: relative;
}

.cv__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px 0 16px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px -10px rgba(166, 36, 26, 0.8);
  transition: background-color 0.2s;
}

.cv__btn:hover,
.cv__btn[aria-expanded="true"] {
  background: var(--red-deep);
}

.cv__btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}

.cv__btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.cv__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  padding: 6px;
  border-radius: 16px;
  background: var(--cream);
  box-shadow: 0 24px 50px -18px rgba(80, 25, 15, 0.4), 0 0 0 1px var(--line);
  animation: cv-in 0.22s var(--ease);
}

.cv__menu[hidden] {
  display: none;
}

@keyframes cv-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.cv__menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: background-color 0.15s;
}

.cv__menu a:hover,
.cv__menu a:focus-visible {
  background: var(--blush);
}

.cv__menu small {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.cv__lang,
.nav__extra span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--red);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.nav__extras {
  display: none;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  justify-self: end;
  position: relative;
}

.nav__toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav__toggle span:first-child {
  top: 17px;
}

.nav__toggle span:last-child {
  top: 25px;
}

.nav__toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------- hero */
.hero {
  padding-top: calc(var(--nav-h) + clamp(12px, 2vw, 24px));
  padding-bottom: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
  align-items: stretch;
}

.hero__copy {
  position: relative;
  background: var(--blush);
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__copy::before {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 65%);
  z-index: -1;
}

.hero__star {
  position: absolute;
  top: clamp(24px, 4vw, 44px);
  right: clamp(24px, 4vw, 48px);
  width: 30px;
  height: 30px;
}

.hero__dots {
  position: absolute;
  right: clamp(24px, 4vw, 48px);
  bottom: clamp(24px, 4vw, 40px);
  width: 46px;
  height: 46px;
  background-image: radial-gradient(circle, var(--red) 2px, transparent 2.4px);
  background-size: 15px 15px;
  opacity: 0.8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 26px;
}

.hero__title {
  font-size: clamp(3.2rem, 6.4vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--red);
  font-weight: 600;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  text-wrap: balance;
}

.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--red-deep);
}

.hero__lede {
  margin-top: 26px;
  max-width: 44ch;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* instrument (3D arm) */
.instrument {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--cream-2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px -44px rgba(110, 30, 20, 0.45);
}

.instrument__head {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  color: var(--ink-2);
}

.instrument__head span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(251, 244, 236, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.instrument__head span:nth-child(2) {
  margin-right: auto;
}

.instrument__mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red-deep);
}

.instrument__mode::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.instrument__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  aspect-ratio: 5 / 4;
  background: linear-gradient(var(--blush) 0 66%, var(--blush-2) 66%);
  cursor: crosshair;
  touch-action: pan-y;
}

.instrument__stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.instrument__hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--red-ink);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(251, 244, 236, 0.7);
  pointer-events: none;
  transition: opacity 0.4s;
}

.instrument.is-driven .instrument__hint {
  opacity: 0;
}

.instrument__readout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--cream-2);
}

.instrument__readout div {
  padding: 12px 16px 14px;
  border-left: 1px solid var(--line);
}

.instrument__readout div:first-child {
  border-left: 0;
}

.instrument__readout dt {
  color: var(--muted);
  font-size: 12px;
}
.instrument__readout dd {
  color: var(--ink);
  font-size: 14px;
  margin-top: 2px;
}

/* --------------------------------------------------------------- sections */
.section {
  padding-block: clamp(80px, 11vw, 140px);
}

.section--rule {
  padding-top: 0;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: 32px;
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section__head .label {
  margin-top: 0.7em;
}

.section__title {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}

/* --------------------------------------------------------------- feature (TARANTULA) */
.feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  background: var(--blush);
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 42% 60% at 32% 46%, rgba(255, 248, 242, 0.95), transparent 72%);
}

.feature__hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.feature__media {
  position: relative;
  min-height: clamp(380px, 44vw, 560px);
}

/* 3D TARANTULA */
.spider {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: grab;
  touch-action: pan-y;
}

.spider:active {
  cursor: grabbing;
}

.spider canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  outline: none;
}

.spider__fallback {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52%;
  max-width: 320px;
  transform: translate(-50%, -50%);
  border-radius: var(--r-md);
  box-shadow: 0 30px 60px -30px rgba(110, 30, 20, 0.5);
  display: none;
}

.spider.is-failed .spider__fallback {
  display: block;
}

.spider__loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red-ink);
}

.spider__loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(210, 48, 30, 0.25);
  border-top-color: var(--red);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spider.is-ready .spider__loading,
.spider.is-failed .spider__loading {
  display: none;
}

.spider__ui {
  position: absolute;
  left: clamp(18px, 2.6vw, 30px);
  right: clamp(18px, 2.6vw, 30px);
  top: clamp(18px, 2.6vw, 30px);
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  pointer-events: none;
}

.spider__ui > * {
  pointer-events: auto;
}

.spider__play {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 7px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--red-deep);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 24px -14px rgba(110, 30, 20, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.spider__short {
  display: none;
}

.spider__play:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -14px rgba(110, 30, 20, 0.7);
}

.spider__play svg {
  width: 28px;
  height: 28px;
  padding: 8px 7px 8px 9px;
  border-radius: 50%;
  background: var(--red);
  fill: var(--cream);
}

.spider__tag {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(251, 244, 236, 0.7);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.spider__hint {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 2.4vw, 26px);
  z-index: 4;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red-ink);
  opacity: 0.75;
  pointer-events: none;
  transition: opacity 0.4s;
}

.spider__hint::before,
.spider__hint::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.spider.is-touched ~ .spider__hint {
  opacity: 0;
}

.feature__body {
  padding: clamp(32px, 5vw, 64px) clamp(28px, 5vw, 64px) clamp(32px, 5vw, 64px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature__title {
  font-size: clamp(3.2rem, 6.6vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--red);
}

.feature__lede {
  margin-top: 22px;
  max-width: 40ch;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.spec {
  margin-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.spec div {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.spec dt {
  color: var(--muted);
  padding-top: 3px;
}

.spec dd {
  font-size: 15px;
  color: var(--ink);
}

.feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* --------------------------------------------------------------- cards */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 64px) clamp(16px, 2vw, 24px);
  margin-top: clamp(48px, 6vw, 72px);
}

.card {
  position: relative;
  --tint: var(--blush);
}

.work-grid .card:nth-child(4n + 2),
.also-grid .card:nth-child(2) {
  --tint: var(--sky);
}

.work-grid .card:nth-child(4n + 3),
.also-grid .card:nth-child(3) {
  --tint: var(--sand);
}

.work-grid .card:nth-child(4n + 4) {
  --tint: var(--blush);
}

.work-grid .card:nth-child(4n + 1) {
  --tint: var(--cream-3);
}

.card__hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--r-md);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 12px;
  border-radius: var(--r-md);
  background: var(--tint);
  transition: background-color 0.3s;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-sm);
  transition: transform 0.9s var(--ease);
}

.card__media::after {
  content: "→";
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  font-size: 18px;
  box-shadow: 0 8px 18px -8px rgba(110, 30, 20, 0.7);
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.card__play {
  position: absolute;
  left: 24px;
  top: 24px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(251, 244, 236, 0.94);
  color: var(--red-deep);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card__play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 6px solid var(--red);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.card:hover .card__media img,
.card:focus-within .card__media img {
  transform: scale(1.02);
}

.card:hover .card__media::after,
.card:focus-within .card__media::after {
  opacity: 1;
  transform: none;
}

.card .kicker {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card__title {
  font-size: clamp(1.9rem, 2.8vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-top: 8px;
  transition: color 0.3s;
}

.card:hover .card__title {
  color: var(--red);
}

.card__desc {
  margin-top: 10px;
  max-width: 50ch;
  color: var(--ink-2);
  text-wrap: pretty;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tags li {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--ink-2);
  font-size: 12px;
}

.also {
  margin-top: clamp(72px, 9vw, 120px);
}

.also__label {
  display: flex;
}

.also-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: 28px;
}

.card--sm .card__media {
  aspect-ratio: 1 / 1;
}

.card--sm .card__title {
  font-size: clamp(1.5rem, 2vw, 1.85rem);
}

.card--sm .kicker {
  margin-top: 16px;
}

/* --------------------------------------------------------------- skills */
.caps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}

.caps__row {
  position: relative;
  padding: 22px 26px 28px;
  border-radius: var(--r-md);
  background: var(--cream-2);
  transition: transform 0.4s var(--ease);
}

.caps__row:nth-child(6n + 2) {
  background: var(--blush);
}

.caps__row:nth-child(6n + 3) {
  background: var(--sky);
}

.caps__row:nth-child(6n + 4) {
  background: var(--sand);
}

.caps__row:nth-child(6n + 5) {
  background: var(--blush);
}

.caps__row:hover {
  transform: translateY(-3px);
}

.caps__icon {
  width: clamp(84px, 8vw, 104px);
  height: auto;
  margin: 2px 0 16px -4px;
  filter: drop-shadow(0 10px 14px rgba(110, 30, 20, 0.12));
  transition: transform 0.6s var(--ease);
}

.caps__row:hover .caps__icon {
  transform: translateY(-4px) rotate(-3deg);
}

.caps__title {
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.caps__tools {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* --------------------------------------------------------------- experience */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.portrait {
  padding: 12px 12px 16px;
  border-radius: var(--r-lg);
  background: var(--blush);
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--r-md);
}

.portrait figcaption {
  display: block;
  margin-top: 14px;
  padding-inline: 6px;
  color: var(--red-ink);
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
}

.about__statement {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.about__statement em {
  font-style: italic;
  color: var(--red);
}

.exp {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.exp__col {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 16px);
}

.exp__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  letter-spacing: -0.02em;
  padding-bottom: 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
}

.exp__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  flex: none;
}

.exp__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.exp__card {
  padding: 22px 24px 24px;
  border-radius: var(--r-md);
  background: var(--cream-2);
  transition: transform 0.4s var(--ease);
}

.exp__col:first-child .exp__card:nth-of-type(1),
.exp__col:last-child .exp__card:nth-of-type(2) {
  background: var(--blush);
}

.exp__col:first-child .exp__card:nth-of-type(2) {
  background: var(--sky);
}

.exp__col:last-child .exp__card:nth-of-type(1),
.exp__col:last-child .exp__card--honor {
  background: var(--sand);
}

.exp__col:first-child .exp__card {
  flex: 1; /* stretch so both columns end at the same height */
}

.exp__card:hover {
  transform: translateY(-3px);
}

.exp__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.exp__date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
}

.exp__now {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-size: 10px;
}

.exp__now::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cream);
}

.exp__logo {
  width: auto;
  object-fit: contain;
  opacity: 0.82;
  transition: opacity 0.3s;
}

.exp__card:hover .exp__logo {
  opacity: 1;
}

.exp__logo--siemens {
  height: 15px;
}

.exp__logo--mad {
  height: 22px;
}

.exp__logo--upm {
  height: 40px;
  margin: -6px 0;
}

.exp__role {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-weight: 500;
  font-size: clamp(1.25rem, 1.7vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.exp__org {
  margin-top: 4px;
  color: var(--ink-2);
  font-weight: 500;
}

.exp__desc {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 15px;
}

.exp__desc strong {
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------------- contact */
.contact {
  background: var(--red);
  color: var(--cream);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding-top: clamp(80px, 11vw, 140px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  right: clamp(-120px, -6vw, -40px);
  top: clamp(40px, 8vw, 100px);
  width: clamp(220px, 30vw, 420px);
  aspect-ratio: 3 / 4.4;
  border-radius: 999px 999px 0 0;
  border: 2px solid rgba(251, 244, 236, 0.25);
  z-index: -1;
}

.contact::after {
  content: "";
  position: absolute;
  right: clamp(-60px, -2vw, 20px);
  top: clamp(90px, 13vw, 170px);
  width: clamp(160px, 22vw, 300px);
  aspect-ratio: 3 / 4.4;
  border-radius: 999px 999px 0 0;
  background: rgba(166, 36, 26, 0.55);
  z-index: -1;
}

.contact .label {
  color: rgba(251, 244, 236, 0.8);
}

.contact .label span {
  background: var(--cream);
  color: var(--red);
}

.contact__title {
  font-size: clamp(3rem, 8.4vw, 8rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-top: 28px;
  max-width: 12ch;
}

.contact__title em {
  font-style: italic;
  font-weight: 400;
}

.contact__lede {
  margin-top: 24px;
  max-width: 46ch;
  color: rgba(251, 244, 236, 0.85);
  font-size: 17px;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.contact .btn--accent {
  background: var(--cream);
  color: var(--red-deep);
  box-shadow: 0 12px 28px -14px rgba(60, 10, 5, 0.6);
}

.contact .btn--accent:hover {
  background: #fff;
}

.footer {
  margin-top: clamp(80px, 11vw, 140px);
  border-top: 1px solid rgba(251, 244, 236, 0.25);
  color: rgba(251, 244, 236, 0.75);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
}

.footer a:hover {
  color: var(--cream);
}

/* --------------------------------------------------------------- project sheet (dialog) */
.sheet {
  width: min(1180px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 40px 120px -20px rgba(60, 15, 10, 0.5);
}

.sheet[open] {
  display: flex;
  flex-direction: column;
  animation: sheet-in 0.45s var(--ease);
}

.sheet::backdrop {
  background: rgba(60, 20, 15, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
}

.sheet__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 10px 22px;
  border-bottom: 1px solid var(--line);
  flex: none;
}

.sheet__index {
  color: var(--red);
}

.sheet__close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream-2);
  transition: background-color 0.2s, color 0.2s;
}

.sheet__close:hover {
  background: var(--red);
  color: var(--cream);
}

.sheet__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.sheet__content {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  min-height: 0;
  flex: 1;
}

.sheet__media {
  background: #1E1311;
  display: grid;
  place-items: center;
  min-height: 0;
  position: relative;
}

.sheet__media video,
.sheet__media > img {
  width: 100%;
  max-height: calc(100dvh - 120px);
  object-fit: contain;
}

.sheet__info {
  padding: clamp(24px, 3.5vw, 44px);
  overflow-y: auto;
  max-height: calc(100dvh - 32px - 61px);
  color: var(--ink-2);
}

.sheet__info p + p,
.sheet__info p + ul,
.sheet__info ul + dl,
.sheet__info p + dl {
  margin-top: 16px;
}

.sheet__info strong {
  color: var(--ink);
  font-weight: 600;
}

.sheet__title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--red);
  margin: 12px 0 22px;
}

.sheet__list li {
  position: relative;
  padding-left: 22px;
}

.sheet__list li + li {
  margin-top: 12px;
}

.sheet__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 11px;
  height: 11px;
  background: var(--red);
  clip-path: path("M5.5 0c.3 2.8 2.7 5.2 5.5 5.5-2.8.3-5.2 2.7-5.5 5.5-.3-2.8-2.7-5.2-5.5-5.5C2.8 5.2 5.2 2.8 5.5 0z");
}

.sheet__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.sheet__info .sheet__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.sheet__note span {
  display: inline-grid;
  place-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--blush);
  color: var(--red-deep);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* rotated video (Escaperoom) */
.sheet__media--rotated {
  --box: min(520px, calc(100dvh - 140px));
  overflow: hidden;
  align-self: stretch;
  height: 100%;
  min-height: var(--box);
}

.sheet__media--rotated video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--box);
  max-height: none;
  transform: translate(-50%, -50%) rotate(var(--rot, 270deg));
  transition: transform 0.5s var(--ease);
}

.rotate-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(251, 244, 236, 0.94);
  color: var(--red-deep);
  font-size: 13px;
  font-weight: 600;
}

.rotate-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* gallery (TUNABOT) */
.sheet__media--gallery {
  display: block;
}

.gallery {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.gallery__track {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__track > * {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  scroll-snap-align: center;
  background: #1E1311;
}

.gallery__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px;
  color: rgba(251, 244, 236, 0.7);
  font-size: 12px;
}

.gallery__nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(251, 244, 236, 0.3);
  color: var(--cream);
  display: grid;
  place-items: center;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.gallery__nav button:hover {
  background: var(--red);
  border-color: var(--red);
}

.gallery__nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------- reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .feature {
    grid-template-columns: 1fr;
  }

  .feature::before {
    background:
      radial-gradient(ellipse 60% 40% at 50% 28%, rgba(255, 247, 240, 0.9), transparent 70%);
  }

  .feature__body {
    padding: 0 clamp(24px, 5vw, 48px) clamp(32px, 5vw, 48px);
  }

  .caps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sheet__content {
    display: block;
    overflow-y: auto;
  }

  .sheet__media {
    min-height: auto;
  }

  .sheet__info {
    max-height: none;
    overflow: visible;
  }

  .sheet__media video,
  .sheet__media > img {
    max-height: 60dvh;
  }

  .sheet__media--rotated {
    --box: min(440px, 60dvh);
    height: var(--box);
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 64px;
    --r-lg: 22px;
  }

  .nav__inner {
    grid-template-columns: 1fr auto;
  }

  .nav__actions {
    display: none;
  }

  .nav__extras {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 12px 8px 4px;
    border-top: 1px solid var(--line);
  }

  .nav__links .nav__extra {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 8px;
    border-radius: 999px;
    border: 1.5px solid rgba(166, 36, 26, 0.3);
    font-size: 15px;
    font-weight: 600;
    color: var(--red-deep);
  }

  .nav__links .nav__icon {
    padding: 0;
    border-radius: 50%;
    color: var(--red-deep);
  }

  .nav__toggle {
    display: block;
  }

  .nav__mark {
    width: 38px;
    height: 38px;
  }

  .nav__links {
    position: fixed;
    top: calc(var(--nav-h) + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    border-radius: 20px;
    background: var(--cream);
    box-shadow: 0 30px 60px -20px rgba(80, 25, 15, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__links a {
    padding: 14px 16px;
    font-size: 17px;
    border-radius: 14px;
  }

  .nav__links a::after {
    display: none;
  }

  .nav__links a:hover,
  .nav__links a.is-active {
    background: var(--blush);
  }

  .nav.menu-open {
    background: var(--cream);
  }

  .hero__copy {
    padding: 36px 24px 40px;
  }

  .hero__title {
    font-size: clamp(2.9rem, 13vw, 4.2rem);
  }

  .hero__dots {
    display: none;
  }

  .hero__star {
    width: 24px;
    height: 24px;
    top: 22px;
    right: 22px;
  }

  .eyebrow {
    padding-right: 36px;
  }

  .instrument__head span:nth-child(2) {
    display: none;
  }

  .instrument__stage {
    aspect-ratio: 1 / 1;
  }

  .instrument__readout div {
    padding: 10px 8px 12px;
  }

  .instrument__readout dd {
    font-size: 12px;
  }

  .instrument__hint {
    display: none;
  }

  .hero__grid {
    gap: 10px;
  }

  .section__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section__head .label {
    margin-top: 0;
  }

  .feature__media {
    min-height: 400px;
  }

  .spider__play {
    font-size: 13px;
  }

  .spider__long {
    display: none;
  }

  .spider__short {
    display: inline;
  }

  .spider__ui {
    flex-wrap: nowrap;
  }

  .spider__tag {
    display: none;
  }

  .feature__title {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }

  .spec div {
    grid-template-columns: 96px 1fr;
  }

  .work-grid,
  .also-grid,
  .caps {
    grid-template-columns: 1fr;
  }

  .card__media::after {
    opacity: 1;
    transform: none;
  }

  .caps__row {
    display: grid;
    grid-template-columns: 78px 1fr;
    column-gap: 14px;
    align-items: center;
    padding: 18px 20px 20px;
  }

  .caps__icon {
    grid-row: 1 / span 2;
    width: 74px;
    margin: 0;
    align-self: center;
  }

  .caps__tools {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.7;
  }

  .intro,
  .exp {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 340px;
  }

  .exp__card {
    padding: 20px 20px 22px;
  }

  .contact::before,
  .contact::after {
    opacity: 0.5;
  }

  .contact__actions .btn {
    flex: 1 1 auto;
  }

  .footer__inner {
    flex-direction: column;
    gap: 6px;
  }

  .footer__mid {
    display: none;
  }

  .sheet {
    width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
  }

  .sheet__media--rotated {
    --box: min(340px, 50dvh);
  }
}

/* award badge + github icon in the IGNIS-SI sheet */
.sheet__info .sheet__award {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}

.btn__brand {
  fill: currentColor !important;
  stroke: none !important;
  width: 17px;
  height: 17px;
}


/* --------------------------------------------------------------- IGNIS-SI feature (sky variant) */
.feature--ignis {
  margin-top: clamp(48px, 6vw, 72px);
  background: var(--sky);
}

.feature--ignis::before {
  background: radial-gradient(ellipse 42% 60% at 32% 46%, rgba(255, 255, 255, 0.55), transparent 72%);
}

.feature__media--video {
  display: grid;
  place-items: center;
  padding: clamp(64px, 6vw, 80px) clamp(16px, 2.6vw, 32px) clamp(24px, 3vw, 40px);
  min-height: 0;
}

.ignis-loop {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: 0 24px 50px -30px rgba(43, 60, 90, 0.55);
  pointer-events: none;
}

.feature__award {
  align-self: flex-start;
  margin-bottom: 14px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}

.feature__award strong {
  color: var(--red-deep);
  font-weight: 600;
}

.feature--ignis .feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* honour card: same look as the other cards, on one line */
.exp__card--honor {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 6px 14px;
  padding-block: 18px 20px;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.exp__card--honor .exp__role,
.exp__card--honor .exp__org {
  white-space: nowrap;
}

.exp__card--honor .exp__role {
  font-size: clamp(1.1rem, 1.45vw, 1.3rem);
}

.exp__card--honor .exp__org {
  margin: 0 0 0 auto;
}

@media (max-width: 1100px) {
  .exp__card--honor {
    flex-wrap: wrap;
  }

  .exp__card--honor .exp__role {
    white-space: normal;
  }

  .exp__card--honor .exp__org {
    margin-left: 0;
    flex-basis: 100%;
  }
}

.exp__honor-link {
  color: var(--red-deep);
  font-weight: 600;
}

.exp__more {
  display: inline;
  margin-left: 4px;
  color: var(--red-deep);
  font-weight: 600;
}

.exp__more:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {

  .feature__media--video {
    padding-top: 72px;
  }
}
