/* Feria 2026 · direct font loading (no Google Fonts stylesheet dependency) */
@font-face {
  font-family: "FeriaBodoni";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/bodoni-moda:vf@5.3.0/latin-wght-normal.woff2") format("woff2-variations");
}

@font-face {
  font-family: "FeriaBodoni";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/bodoni-moda@5.3.0/latin-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "FeriaInter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/inter:vf@5.3.0/latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --fez26-coral: #ff5a3a;
  --fez26-coral-soft: #ff8a70;
  --fez26-paper-strong: rgba(248, 244, 238, .98);
  --fez26-paper-body: rgba(248, 244, 238, .92);
  --fez26-paper-muted: rgba(248, 244, 238, .72);
  --fez26-paper-line: rgba(248, 244, 238, .12);
  --fez26-paper: #f8f4ee;
  --fez26-ink: #070a0c;
  --fez26-deep: #07131c;
  --fez26-line: rgba(248, 244, 238, .18);
  --fez26-serif: "FeriaBodoni", "Bodoni Moda", "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --fez26-sans: "FeriaInter", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fez26-ease: cubic-bezier(.16, 1, .3, 1);
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-section: clamp(3rem, 2rem + 4vw, 6rem);
  --dur-fast: 160ms;
  --dur-base: 240ms;
  --dur-display: 320ms;
}


html,
body {
  margin: 0;
  background: var(--fez26-ink);
}

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

.fez26-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: max(700px, 100dvh);
  overflow: hidden;
  background: var(--fez26-ink);
  color: var(--fez26-paper);
  font-family: var(--fez26-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.fez26-hero ::selection {
  background: var(--fez26-coral);
  color: #0a0908;
}

.fez26-hero a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: .18em;
}

.fez26-tabular { font-variant-numeric: tabular-nums; white-space: nowrap; }

.fez26-hero__media,
.fez26-hero__photo,
.fez26-hero__scrim,
.fez26-hero__vignette,
.fez26-hero__warmth {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fez26-hero__media {
  z-index: -10;
  overflow: hidden;
  background: var(--fez26-deep);
}

.fez26-hero__photo {
  z-index: 0;
  background: url("https://feriaempleo.camarazamora.com/wp-content/uploads/2026/08/hero-final.webp") center center / cover no-repeat;
}

.fez26-hero__scrim {
  z-index: 2;
  background:
    linear-gradient(90deg,
      rgba(4, 5, 6, .99) 0%,
      rgba(4, 5, 6, .975) 18%,
      rgba(4, 5, 6, .92) 31%,
      rgba(4, 5, 6, .78) 43%,
      rgba(4, 5, 6, .43) 55%,
      rgba(4, 5, 6, .11) 66%,
      rgba(4, 5, 6, 0) 78%),
    linear-gradient(180deg,
      rgba(0, 0, 0, .16) 0%,
      rgba(0, 0, 0, 0) 42%,
      rgba(0, 0, 0, .08) 70%,
      rgba(0, 0, 0, .58) 100%);
}

.fez26-hero__vignette {
  z-index: 3;
  background: radial-gradient(circle at 78% 42%, rgba(0,0,0,0) 28%, rgba(0,0,0,.08) 62%, rgba(0,0,0,.34) 100%);
}

.fez26-hero__warmth {
  z-index: 4;
  opacity: .62;
  background: radial-gradient(circle at 77% 38%, rgba(255, 90, 58, .12), transparent 42%);
  mix-blend-mode: soft-light;
}

.fez26-hero__edition {
  position: absolute;
  z-index: 20;
  top: clamp(38px, 6.8vh, 76px);
  left: clamp(34px, 4.25vw, 82px);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: calc(100% - 68px);
  color: rgba(248, 244, 238, .86);
  font: 700 clamp(9px, .62vw, 12px)/1.2 var(--fez26-sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fez26-hero__edition-line {
  width: clamp(30px, 2.5vw, 48px);
  height: 2px;
  flex: 0 0 auto;
  background: var(--fez26-coral);
}

.fez26-hero__edition-accent { color: var(--fez26-coral-soft); }
.fez26-hero__edition-sep { color: rgba(248, 244, 238, .42); }

.fez26-hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: max(700px, 100dvh);
  padding: clamp(132px, 16vh, 176px) clamp(34px, 4.25vw, 82px) clamp(42px, 5.8vh, 68px);
  display: flex;
  align-items: center;
}

.fez26-hero__copy {
  width: min(48vw, 820px);
  min-width: 0;
}

.fez26-hero__lead,
.fez26-hero__decision { min-width: 0; }

.fez26-hero__title {
  margin: 0;
  color: var(--fez26-paper);
  font-family: var(--fez26-serif);
  font-size: clamp(66px, 5.3vw, 96px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.fez26-hero__mask {
  display: block;
  overflow: hidden;
  padding: .08em .04em .14em 0;
  margin-bottom: -.05em;
}

.fez26-hero__mask--last {
  width: min(48vw, 900px);
  overflow: visible;
}

.fez26-hero__title-line {
  display: block;
}

.fez26-hero__title-row {
  display: flex;
  align-items: baseline;
  width: max-content;
  max-width: 100%;
}

.fez26-hero__title-row--employment { display: block; }

.fez26-hero__title-row--last {
  gap: .13em;
  line-height: 1.02;
}

.fez26-hero__title-and {
  color: var(--fez26-paper);
  font-family: var(--fez26-serif);
  font-style: normal;
  font-weight: 400;
}

.fez26-hero__title-and--desktop {
  font-size: .67em;
  letter-spacing: -.02em;
}

.fez26-hero__title-and--mobile { display: none; }

.fez26-hero__title-line--accent {
  color: var(--fez26-coral);
  font-weight: 400;
  font-style: italic;
}

.fez26-hero__title-line--last {
  font-size: .67em;
  line-height: 1.06;
  letter-spacing: -.03em;
  white-space: nowrap;
}

.fez26-hero__title-rule {
  display: block;
  width: 56px;
  height: 2px;
  margin-top: clamp(var(--space-5), 2.6vh, var(--space-6));
  background: var(--fez26-coral);
  transform-origin: left center;
}

.fez26-hero__claim {
  margin: clamp(var(--space-4), 2.2vh, var(--space-5)) 0 0;
  max-width: 66ch;
  color: rgba(248, 244, 238, .82);
  font: 400 clamp(16px, .95vw, 18px)/1.55 var(--fez26-sans);
  letter-spacing: -.01em;
}

.fez26-hero__claim strong { color: var(--fez26-paper); font-weight: 650; }

.fez26-hero__decision { margin-top: clamp(var(--space-5), 3vh, var(--space-6)); }

.fez26-hero__meta {
  width: min(100%, 780px);
  display: grid;
  grid-template-columns: .82fr .9fr 1.55fr;
  border-top: 1px solid var(--fez26-line);
  border-bottom: 1px solid var(--fez26-line);
}

.fez26-hero__meta-item {
  min-width: 0;
  padding: 14px 22px 15px 0;
  margin-right: 22px;
  border-right: 1px solid var(--fez26-line);
}

.fez26-hero__meta-item--place {
  margin-right: 0;
  padding-right: 0;
  border-right: 0;
}

.fez26-hero__meta-label,
.fez26-hero__meta-value { display: block; }

.fez26-hero__meta-label {
  margin-bottom: 6px;
  color: var(--fez26-coral-soft);
  font: 700 10px/1.2 var(--fez26-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.fez26-hero__meta-value {
  overflow-wrap: anywhere;
  color: var(--fez26-paper-strong);
  font: 600 clamp(13px, .82vw, 16px)/1.35 var(--fez26-sans);
  letter-spacing: -.01em;
}

.fez26-hero__actions {
  margin-top: clamp(var(--space-5), 2.8vh, var(--space-6));
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.fez26-hero__button {
  min-height: 60px;
  padding: 0 18px 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(248, 244, 238, .32);
  color: var(--fez26-paper);
  font: 650 clamp(14px, .84vw, 16px)/1 var(--fez26-sans);
  letter-spacing: -.01em;
  transition: transform .24s ease, background-color .24s ease, border-color .24s ease;
}

.fez26-hero__button--primary {
  min-width: 286px;
  border-color: var(--fez26-coral);
  background: var(--fez26-coral);
  color: #0a0908;
}

.fez26-hero__button--secondary {
  min-width: 220px;
  background: rgba(8, 8, 8, .22);
}

.fez26-hero__button-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) and (pointer: fine) {
  .fez26-hero__button:hover { transform: translateY(-2px); }
  .fez26-hero__button--primary:hover { background: var(--fez26-coral); border-color: var(--fez26-coral); }
  .fez26-hero__button--secondary:hover { background: rgba(248, 244, 238, .08); border-color: rgba(248, 244, 238, .54); }
}

.fez26-hero__button:active { transform: translateY(0); }
.fez26-hero__button:focus-visible { outline: 2px solid var(--fez26-paper); outline-offset: 4px; }

.fez26-hero__date {
  position: absolute;
  z-index: 12;
  top: clamp(74px, 8.8vh, 98px);
  bottom: clamp(28px, 4.6vh, 50px);
  left: 54.2%;
  width: 126px;
  pointer-events: none;
}

.fez26-hero__date-top {
  position: absolute;
  top: 0;
  left: 50%;
  width: 120px;
  transform: translateX(-50%);
  text-align: center;
}

.fez26-hero__date-number,
.fez26-hero__date-month,
.fez26-hero__date-year { display: block; }

.fez26-hero__date-number {
  color: var(--fez26-paper-strong);
  font: 400 clamp(66px, 4.9vw, 92px)/.88 var(--fez26-serif);
  letter-spacing: -.035em;
}

.fez26-hero__date-month {
  margin-top: 8px;
  color: var(--fez26-coral);
  font: 400 clamp(24px, 1.8vw, 34px)/1 var(--fez26-serif);
  letter-spacing: -.025em;
}

.fez26-hero__date-year { display: none; }

.fez26-hero__date-line {
  position: absolute;
  top: clamp(148px, 16.8vh, 178px);
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, var(--fez26-coral) 0%, rgba(255, 90, 58, .88) 76%, rgba(255, 90, 58, .38) 100%);
  transform-origin: top center;
}

.fez26-hero__date-side {
  position: absolute;
  left: calc(50% - 17px);
  bottom: clamp(88px, 11vh, 120px);
  color: rgba(248, 244, 238, .82);
  font: 650 clamp(9px, .6vw, 11px)/1 var(--fez26-sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* One authored entrance. Default content remains usable without JS. */
.fez26-hero__edition {
  animation: fez26-resolve var(--dur-base) var(--fez26-ease) 40ms both;
}

.fez26-hero__title-line[data-fz="title-1"],
.fez26-hero__title-row--employment,
.fez26-hero__title-row--last {
  animation: fez26-title-in var(--dur-display) var(--fez26-ease) both;
}

.fez26-hero__title-line[data-fz="title-1"] { animation-delay: 120ms; }
.fez26-hero__title-row--employment { animation-delay: 190ms; }
.fez26-hero__title-row--last { animation-delay: 260ms; }

/* The visual rows animate as one typographic gesture. */
.fez26-hero__title-row .fez26-hero__title-line { animation: none; }

.fez26-hero__title-rule {
  animation: fez26-rule-in var(--dur-base) var(--fez26-ease) 320ms both;
}

.fez26-hero__claim {
  animation: fez26-resolve-up var(--dur-base) var(--fez26-ease) 360ms both;
}

.fez26-hero__meta {
  animation: fez26-resolve-up var(--dur-base) var(--fez26-ease) 420ms both;
}

.fez26-hero__actions {
  animation: fez26-resolve-up var(--dur-base) var(--fez26-ease) 480ms both;
}

.fez26-hero__date-number {
  animation: fez26-resolve-up var(--dur-base) var(--fez26-ease) 120ms both;
}

.fez26-hero__date-month {
  animation: fez26-resolve-up var(--dur-base) var(--fez26-ease) 180ms both;
}

.fez26-hero__date-line {
  animation: fez26-date-line var(--dur-display) var(--fez26-ease) 240ms both;
}

.fez26-hero__date-side {
  animation: fez26-date-side var(--dur-base) var(--fez26-ease) 340ms both;
}

@keyframes fez26-title-in {
  from { opacity: .12; transform: translateY(46%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fez26-resolve {
  from { opacity: .35; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fez26-resolve-up {
  from { opacity: .28; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fez26-rule-in {
  from { opacity: .35; transform: scaleX(.08); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes fez26-date-line {
  from { transform: scaleY(.08); opacity: .3; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes fez26-date-side {
  from { opacity: .25; transform: rotate(180deg) translateY(7px); }
  to { opacity: 1; transform: rotate(180deg) translateY(0); }
}

@media (max-width: 1180px) {
  .fez26-hero__copy { width: min(51vw, 700px); }
  .fez26-hero__title { font-size: clamp(60px, 5.8vw, 84px); }
  .fez26-hero__title-line--last { font-size: .63em; }
  .fez26-hero__date { left: 57%; }
}

/* Mobile V12 · TasteCheck pass.
   Preserve: heritage photo, warm coral, editorial display type, single clear CTA.
   Normalize: spacing, intrinsic metadata reflow, text-safe dark reading field.
   Avoid: glass-card styling, equal decorative cards, device-name layout assumptions. */
@media (max-width: 700px) {
  .fez26-hero {
    --fez26-m-edge: clamp(1rem, .65rem + 2vw, 1.5rem);
    --fez26-m-title-1: clamp(3rem, 2.35rem + 3.4vw, 3.9rem);
    --fez26-m-title-2: clamp(3.75rem, 2.75rem + 5vw, 4.9rem);
    --fez26-m-title-3: clamp(1.9rem, 1.35rem + 2.7vw, 2.5rem);

    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    overflow: hidden;
    background: var(--fez26-deep);
  }

  .fez26-hero__photo {
    background-image: url("https://feriaempleo.camarazamora.com/wp-content/uploads/2026/08/hero-final-mobile.webp");
    background-position: 60% 20%;
  }

  /* Taste pass: preserve the theatre as the subject and darken only the text-safe zones. */
  .fez26-hero__scrim {
    background:
      linear-gradient(180deg,
        rgba(3, 8, 12, .02) 0%,
        rgba(3, 8, 12, .06) 16%,
        rgba(3, 8, 12, .12) 34%,
        rgba(3, 8, 12, .24) 50%,
        rgba(5, 15, 22, .54) 68%,
        rgba(7, 19, 28, .82) 84%,
        rgba(7, 19, 28, .96) 100%),
      linear-gradient(90deg,
        rgba(2, 7, 10, .48) 0%,
        rgba(2, 7, 10, .30) 20%,
        rgba(2, 7, 10, .14) 40%,
        rgba(2, 7, 10, .03) 62%,
        rgba(2, 7, 10, .08) 100%);
  }

  .fez26-hero__vignette {
    background:
      radial-gradient(circle at 72% 24%, rgba(255, 90, 58, .04), transparent 28%),
      linear-gradient(180deg, rgba(0,0,0,.02), transparent 34%, rgba(0,0,0,.08) 76%, rgba(0,0,0,.18));
  }

  .fez26-hero__warmth { opacity: .16; }

  .fez26-hero__edition {
    top: max(var(--space-4), env(safe-area-inset-top));
    left: var(--fez26-m-edge);
    right: 7.5rem;
    max-width: none;
    gap: var(--space-2);
    font-size: .5rem;
    letter-spacing: .14em;
  }

  .fez26-hero__edition-line { width: 1.375rem; }
  .fez26-hero__edition-name,
  .fez26-hero__edition-sep,
  .fez26-hero__edition-place { display: none; }

  .fez26-hero__date {
    top: max(.9375rem, env(safe-area-inset-top));
    right: var(--fez26-m-edge);
    bottom: auto;
    left: auto;
    width: auto;
    height: auto;
  }

  .fez26-hero__date-top {
    position: static;
    width: auto;
    transform: none;
    display: flex;
    align-items: baseline;
    gap: .375rem;
    text-align: right;
  }

  .fez26-hero__date-number,
  .fez26-hero__date-month,
  .fez26-hero__date-year {
    font-family: var(--fez26-sans);
    line-height: 1;
    letter-spacing: .05em;
  }

  .fez26-hero__date-number,
  .fez26-hero__date-month {
    font-size: .8125rem;
    font-weight: 700;
  }

  .fez26-hero__date-month {
    margin: 0;
    color: var(--fez26-paper);
  }

  .fez26-hero__date-year {
    display: block;
    color: var(--fez26-coral-soft);
    font-size: .5625rem;
    font-weight: 700;
  }

  .fez26-hero__date-line,
  .fez26-hero__date-side { display: none; }

  .fez26-hero__date-number,
  .fez26-hero__date-month,
  .fez26-hero__date-year {
    animation: fez26-resolve var(--dur-base) var(--fez26-ease) 80ms both;
  }

  .fez26-hero__content {
    min-height: 100vh;
    min-height: 100dvh;
    padding:
      max(4.125rem, calc(env(safe-area-inset-top) + 3.125rem))
      0
      max(var(--space-4), calc(env(safe-area-inset-bottom) + .25rem));
    display: flex;
    align-items: stretch;
  }

  /* Copy lives on the image. Support comes from a lower-stage gradient, not a dark panel. */
  .fez26-hero__copy {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: clamp(1.25rem, 2.8vh, 1.75rem);
    padding:
      max(8.75rem, 26vh)
      var(--fez26-m-edge)
      max(var(--space-4), calc(env(safe-area-inset-bottom) + .5rem));
  }

  .fez26-hero__copy::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: min(56%, 27rem);
    background:
      linear-gradient(180deg,
        rgba(7, 19, 28, 0) 0%,
        rgba(7, 19, 28, .10) 12%,
        rgba(7, 19, 28, .38) 34%,
        rgba(7, 19, 28, .72) 66%,
        rgba(7, 19, 28, .92) 88%,
        rgba(7, 19, 28, .98) 100%);
    pointer-events: none;
    z-index: 0;
  }

  .fez26-hero__lead,
  .fez26-hero__decision {
    position: relative;
    z-index: 1;
    width: min(100%, 21rem);
    min-width: 0;
    margin-inline: auto;
  }

  .fez26-hero__lead { max-width: 18.9rem; }
  .fez26-hero__decision { max-width: 21rem; }

  .fez26-hero__decision {
    container-type: inline-size;
  }

  .fez26-hero__title {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: .625rem;
    font-size: initial;
    line-height: 1;
    letter-spacing: 0;
    text-wrap: nowrap;
    text-shadow: 0 10px 28px rgba(0, 0, 0, .30), 0 2px 10px rgba(0, 0, 0, .20);
  }

  .fez26-hero__mask {
    display: block;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    padding: .04em .04em .10em 0;
    margin: 0;
  }

  .fez26-hero__mask--last {
    width: 100%;
    overflow: hidden;
  }

  .fez26-hero__title-line[data-fz="title-1"] {
    width: max-content;
    max-width: 100%;
    font-size: var(--fez26-m-title-1);
    line-height: 1;
    letter-spacing: -.024em;
  }

  .fez26-hero__title-row--employment {
    display: block;
    width: fit-content;
    max-width: 100%;
  }

  .fez26-hero__title-line--accent {
    display: block;
    width: max-content;
    max-width: 100%;
    padding-bottom: .11em;
    font-size: var(--fez26-m-title-2);
    line-height: 1.08;
    letter-spacing: -.02em;
  }

  .fez26-hero__title-and--mobile { display: none; }

  .fez26-hero__title-row--last {
    display: flex;
    align-items: baseline;
    gap: .16em;
    width: max-content;
    max-width: 100%;
    line-height: 1.08;
  }

  .fez26-hero__title-and--desktop {
    display: inline-block;
    flex: 0 0 auto;
    font-size: var(--fez26-m-title-3);
    line-height: 1.08;
    letter-spacing: -.01em;
  }

  .fez26-hero__title-line--last {
    width: max-content;
    max-width: 100%;
    font-size: var(--fez26-m-title-3);
    line-height: 1.03;
    letter-spacing: -.012em;
    white-space: nowrap;
  }

  .fez26-hero__title-rule {
    width: 2.625rem;
    height: 2px;
    margin-top: .75rem;
  }

  .fez26-hero__claim {
    margin-top: .75rem;
    max-width: 25ch;
    color: var(--fez26-paper-strong);
    font-size: 1rem;
    line-height: 1.56;
    letter-spacing: .002em;
    text-wrap: pretty;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .30);
  }

  .fez26-hero__decision { margin-top: .125rem; }

  /* Metadata stays light but readable, with just enough support to sit on the image. */
  .fez26-hero__meta {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-block: 1px solid rgba(248,244,238,.14);
    background: linear-gradient(180deg, rgba(3, 10, 15, .10), rgba(3, 10, 15, .20));
    backdrop-filter: blur(6px) saturate(112%);
    -webkit-backdrop-filter: blur(6px) saturate(112%);
  }

  .fez26-hero__meta-item {
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: var(--space-3) 0;
    border: 0;
    border-top: 1px solid rgba(248,244,238,.12);
    background: none;
  }

  .fez26-hero__meta-item:first-child { border-top: 0; }
  .fez26-hero__meta-item:nth-child(2) { padding-left: 0; border-left: 0; }
  .fez26-hero__meta-item--place { grid-column: auto; }

  .fez26-hero__meta-label {
    margin-bottom: var(--space-1);
    color: var(--fez26-coral-soft);
    font-size: .625rem;
    letter-spacing: .13em;
  }

  .fez26-hero__meta-value {
    font-size: .875rem;
    line-height: 1.4;
    text-wrap: pretty;
  }

  @container (min-width: 22.5rem) {
    .fez26-hero__meta {
      grid-template-columns: .92fr 1.08fr;
    }

    .fez26-hero__meta-item {
      padding: var(--space-3) var(--space-3) var(--space-3) 0;
      border-top: 0;
    }

    .fez26-hero__meta-item:nth-child(2) {
      padding-left: var(--space-3);
      padding-right: 0;
      border-left: 1px solid rgba(248,244,238,.14);
    }

    .fez26-hero__meta-item--place {
      grid-column: 1 / -1;
      padding: var(--space-3) 0;
      border-top: 1px solid rgba(248,244,238,.12);
    }
  }

  @container (min-width: 28.5rem) {
    .fez26-hero__meta {
      grid-template-columns: .9fr 1fr 1.3fr;
    }

    .fez26-hero__meta-item,
    .fez26-hero__meta-item:nth-child(2),
    .fez26-hero__meta-item--place {
      grid-column: auto;
      padding: var(--space-3);
      border-top: 0;
      border-left: 1px solid rgba(248,244,238,.14);
    }

    .fez26-hero__meta-item:first-child {
      padding-left: 0;
      border-left: 0;
    }

    .fez26-hero__meta-item--place { padding-right: 0; }
  }

  .fez26-hero__actions {
    margin-top: .875rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .fez26-hero__button {
    width: 100%;
    min-width: 0;
    min-height: 3.25rem;
    padding: 0 var(--space-4) 0 1.125rem;
    font-size: .9375rem;
  }

  .fez26-hero__button--primary {
    min-width: 0;
  }

  .fez26-hero__button--secondary {
    min-height: 2.75rem;
    padding-left: 0;
    padding-right: 0;
    border-color: transparent;
    background: transparent;
    justify-content: flex-start;
    gap: var(--space-2);
    color: rgba(248, 244, 238, .94);
  }

  .fez26-hero__button--secondary .fez26-hero__button-icon {
    width: 1.125rem;
    height: 1.125rem;
  }
}

/* Short phones: scale typography before collapsing the intended rhythm. */
@media (max-width: 700px) and (max-height: 720px) {
  .fez26-hero {
    --fez26-m-title-1: clamp(45px, 12.6vw, 53px);
    --fez26-m-title-2: clamp(55px, 15.5vw, 65px);
    --fez26-m-title-3: clamp(27px, 7.6vw, 33px);

    overflow: visible;
  }

  .fez26-hero__content {
    align-items: stretch;
    padding-top: 60px;
  }

  .fez26-hero__copy {
    gap: var(--space-4);
    padding-top: max(7.25rem, 22vh);
  }

  .fez26-hero__claim {
    font-size: 16px;
    line-height: 1.48;
  }

  .fez26-hero__meta-item { padding-top: var(--space-2); padding-bottom: var(--space-2); }
  .fez26-hero__button--primary { min-height: 50px; }
}

@media (max-width: 390px) {
  .fez26-hero {
    --fez26-m-edge: 18px;
    --fez26-m-title-1: clamp(47px, 13.5vw, 53px);
    --fez26-m-title-2: clamp(58px, 16.6vw, 66px);
    --fez26-m-title-3: clamp(27px, 7.8vw, 31px);
  }

  .fez26-hero__edition { right: 102px; font-size: 7.5px; letter-spacing: .11em; }
  .fez26-hero__edition-line { width: 18px; }
}

@media (max-width: 340px) {
  .fez26-hero {
    --fez26-m-edge: 15px;
    --fez26-m-title-1: 43px;
    --fez26-m-title-2: 52px;
    --fez26-m-title-3: 25px;
  }

  .fez26-hero__claim { font-size: 16px; }
  .fez26-hero__meta-value { font-size: 13px; }
}

/* Landscape: context changes, so topology changes. */
@media (max-width: 700px) and (orientation: landscape) {
  .fez26-hero {
    min-height: 100dvh;
    overflow: visible;
  }

  .fez26-hero__content {
    min-height: 100dvh;
    padding-top: 58px;
    align-items: center;
  }

  .fez26-hero__copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(15rem, .95fr);
    gap: 1.5rem;
    align-items: end;
    padding: var(--space-4) var(--fez26-m-edge);
  }

  .fez26-hero__copy::before { display: none; }

  .fez26-hero__lead,
  .fez26-hero__decision {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .fez26-hero__decision { margin: 0; }
}

@media (pointer: coarse) {
  .fez26-hero__button { min-height: 52px; }
  .fez26-hero__button--secondary { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .fez26-hero__edition,
  .fez26-hero__title-line,
  .fez26-hero__title-row,
  .fez26-hero__title-rule,
  .fez26-hero__claim,
  .fez26-hero__meta,
  .fez26-hero__actions,
  .fez26-hero__date-number,
  .fez26-hero__date-month,
  .fez26-hero__date-year,
  .fez26-hero__date-line,
  .fez26-hero__date-side {
    animation: none !important;
  }
}


/* V4 mobile redesign: remove the dead opening gap by separating the hero into a top editorial block and a bottom decision block. */
@media (max-width: 700px) and (orientation: portrait) {
  .fez26-hero__scrim {
    background:
      linear-gradient(180deg,
        rgba(3, 8, 12, .03) 0%,
        rgba(3, 8, 12, .06) 18%,
        rgba(3, 8, 12, .12) 36%,
        rgba(3, 8, 12, .22) 52%,
        rgba(5, 15, 22, .48) 70%,
        rgba(7, 19, 28, .78) 86%,
        rgba(7, 19, 28, .95) 100%),
      linear-gradient(90deg,
        rgba(2, 7, 10, .58) 0%,
        rgba(2, 7, 10, .42) 18%,
        rgba(2, 7, 10, .20) 38%,
        rgba(2, 7, 10, .05) 60%,
        rgba(2, 7, 10, .08) 100%);
  }

  .fez26-hero__copy {
    display: grid;
    grid-template-rows: auto 1fr auto;
    align-content: stretch;
    justify-items: center;
    gap: 0;
    padding:
      max(4.75rem, calc(env(safe-area-inset-top) + 3.5rem))
      var(--fez26-m-edge)
      max(var(--space-4), calc(env(safe-area-inset-bottom) + .5rem));
  }

  .fez26-hero__copy::before {
    height: min(34%, 18rem);
    background:
      linear-gradient(180deg,
        rgba(7, 19, 28, 0) 0%,
        rgba(7, 19, 28, .08) 18%,
        rgba(7, 19, 28, .28) 38%,
        rgba(7, 19, 28, .62) 72%,
        rgba(7, 19, 28, .90) 100%);
  }

  .fez26-hero__lead,
  .fez26-hero__decision {
    width: min(100%, 20.75rem);
    margin-inline: auto;
  }

  .fez26-hero__lead {
    align-self: start;
    max-width: 18.9rem;
  }

  .fez26-hero__decision {
    align-self: end;
    max-width: 20.75rem;
    margin-top: 0;
  }

  .fez26-hero__title {
    max-width: 11.5ch;
  }

  .fez26-hero__title-rule {
    margin-top: .625rem;
  }

  .fez26-hero__claim {
    max-width: 24ch;
    margin-top: .75rem;
  }

  .fez26-hero__meta {
    margin-top: .625rem;
  }

  .fez26-hero__actions {
    margin-top: .75rem;
  }
}

@media (max-width: 700px) and (orientation: portrait) and (max-height: 760px) {
  .fez26-hero__copy {
    padding-top: max(4.25rem, calc(env(safe-area-inset-top) + 3rem));
  }

  .fez26-hero__lead {
    max-width: 18.2rem;
  }
}

@media (max-width: 390px) and (orientation: portrait) {
  .fez26-hero__copy {
    padding-top: max(4rem, calc(env(safe-area-inset-top) + 2.8rem));
  }

  .fez26-hero__lead,
  .fez26-hero__decision {
    width: min(100%, 19.5rem);
  }

  .fez26-hero__claim {
    max-width: 23ch;
  }
}


/* V5 mobile title fix: rebuild the lockup so no line gets clipped. */
@media (max-width: 700px) and (orientation: portrait) {
  .fez26-hero__lead {
    max-width: 20.75rem;
  }

  .fez26-hero__title {
    gap: .45rem;
    text-wrap: initial;
  }

  .fez26-hero__mask,
  .fez26-hero__mask--last {
    width: 100%;
    overflow: visible;
  }

  .fez26-hero__title-line[data-fz="title-1"] {
    font-size: clamp(46px, 12.8vw, 58px);
  }

  .fez26-hero__title-line--accent {
    font-size: clamp(56px, 15.6vw, 70px);
    line-height: 1.02;
  }

  .fez26-hero__title-row--last {
    display: block;
    width: 100%;
    max-width: 100%;
    line-height: 1;
  }

  .fez26-hero__title-and--desktop {
    display: block;
    font-size: clamp(24px, 6.8vw, 31px);
    line-height: .95;
    margin-bottom: .12em;
  }

  .fez26-hero__title-line--last {
    display: block;
    width: 100%;
    max-width: none;
    font-size: clamp(24px, 6.8vw, 31px);
    line-height: 1;
    letter-spacing: -.016em;
    white-space: normal;
    text-wrap: balance;
  }

  .fez26-hero__claim {
    max-width: 24.5ch;
  }
}

@media (max-width: 390px) and (orientation: portrait) {
  .fez26-hero__lead,
  .fez26-hero__decision {
    width: min(100%, 20rem);
  }

  .fez26-hero__title-line[data-fz="title-1"] {
    font-size: clamp(43px, 12.4vw, 50px);
  }

  .fez26-hero__title-line--accent {
    font-size: clamp(52px, 15vw, 60px);
  }

  .fez26-hero__title-and--desktop,
  .fez26-hero__title-line--last {
    font-size: clamp(23px, 6.6vw, 28px);
  }
}


/* V6 Apple-like mobile refinement */
@media (max-width: 700px) and (orientation: portrait) {
  .fez26-hero__scrim {
    background:
      linear-gradient(180deg,
        rgba(5, 10, 14, .06) 0%,
        rgba(5, 10, 14, .08) 16%,
        rgba(5, 10, 14, .12) 34%,
        rgba(5, 10, 14, .24) 52%,
        rgba(7, 18, 27, .54) 74%,
        rgba(7, 18, 27, .88) 100%),
      linear-gradient(90deg,
        rgba(7, 18, 27, .62) 0%,
        rgba(7, 18, 27, .34) 28%,
        rgba(7, 18, 27, .10) 52%,
        rgba(7, 18, 27, .02) 100%);
  }

  .fez26-hero__copy {
    padding:
      max(4.9rem, calc(env(safe-area-inset-top) + 3.85rem))
      var(--fez26-m-edge)
      max(1rem, calc(env(safe-area-inset-bottom) + .65rem));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.1rem;
  }

  .fez26-hero__copy::before {
    height: min(42%, 18rem);
    background: linear-gradient(180deg,
      rgba(7, 18, 27, 0) 0%,
      rgba(7, 18, 27, .08) 18%,
      rgba(7, 18, 27, .22) 38%,
      rgba(7, 18, 27, .52) 66%,
      rgba(7, 18, 27, .86) 100%);
  }

  .fez26-hero__lead,
  .fez26-hero__decision {
    margin-inline: 0;
  }

  .fez26-hero__lead {
    width: min(100%, 19.25rem);
    max-width: 19.25rem;
    align-self: flex-start;
    padding-top: .1rem;
  }

  .fez26-hero__decision {
    width: 100%;
    max-width: none;
    align-self: stretch;
    margin-top: 0;
  }

  .fez26-hero__title {
    gap: .2rem;
    text-wrap: initial;
    text-shadow: 0 8px 24px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.16);
  }

  .fez26-hero__mask,
  .fez26-hero__mask--last {
    width: auto;
    max-width: 100%;
    overflow: visible;
    padding: .02em .02em .06em 0;
  }

  .fez26-hero__title-line[data-fz="title-1"] {
    font-size: clamp(43px, 11.8vw, 50px);
    line-height: .98;
    letter-spacing: -.03em;
    white-space: nowrap;
  }

  .fez26-hero__title-row--employment,
  .fez26-hero__title-line--accent {
    white-space: nowrap;
  }

  .fez26-hero__title-line--accent {
    padding-bottom: .02em;
    font-size: clamp(56px, 15.2vw, 66px);
    line-height: .96;
    letter-spacing: -.032em;
  }

  .fez26-hero__title-row--last {
    display: flex;
    align-items: baseline;
    gap: .28rem;
    width: auto;
    max-width: 100%;
    flex-wrap: nowrap;
    line-height: 1;
  }

  .fez26-hero__title-and--desktop,
  .fez26-hero__title-line--last {
    font-size: clamp(22px, 6vw, 26px);
    line-height: 1;
    white-space: nowrap;
  }

  .fez26-hero__title-line--last {
    letter-spacing: -.018em;
  }

  .fez26-hero__title-rule {
    margin-top: .65rem;
    width: 2.4rem;
  }

  .fez26-hero__claim {
    margin-top: .8rem;
    max-width: 18.25rem;
    font-size: .98rem;
    line-height: 1.5;
    color: var(--fez26-paper-body);
  }

  .fez26-hero__meta {
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--fez26-paper-line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(7, 19, 28, .22), rgba(7, 19, 28, .30));
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    overflow: hidden;
  }

  .fez26-hero__meta-item {
    padding: .85rem .95rem;
    border-top: 0;
  }

  .fez26-hero__meta-item:nth-child(2) {
    border-left: 1px solid rgba(248,244,238,.1);
  }

  .fez26-hero__meta-item--place {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(248,244,238,.1);
  }

  .fez26-hero__meta-label {
    font-size: .6rem;
    letter-spacing: .16em;
    color: rgba(255, 138, 112, .96);
    margin-bottom: .28rem;
  }

  .fez26-hero__meta-value {
    font-size: .84rem;
    line-height: 1.34;
  }

  .fez26-hero__actions {
    margin-top: .8rem;
    gap: .4rem;
  }

  .fez26-hero__button {
    min-height: 3.15rem;
    border-radius: 14px;
  }

  .fez26-hero__button--primary {
    box-shadow: 0 8px 20px rgba(255, 90, 58, .18);
  }

  .fez26-hero__button--secondary {
    min-height: 2.4rem;
    padding-left: .1rem;
  }
}

@media (max-width: 390px) and (orientation: portrait) {
  .fez26-hero__lead {
    width: min(100%, 18.4rem);
    max-width: 18.4rem;
  }

  .fez26-hero__title-line[data-fz="title-1"] {
    font-size: clamp(40px, 11.4vw, 46px);
  }

  .fez26-hero__title-line--accent {
    font-size: clamp(51px, 14.4vw, 59px);
  }

  .fez26-hero__title-and--desktop,
  .fez26-hero__title-line--last {
    font-size: clamp(20px, 5.8vw, 24px);
  }

  .fez26-hero__claim {
    max-width: 17.2rem;
    font-size: .95rem;
  }
}

@media (max-width: 350px) and (orientation: portrait) {
  .fez26-hero__lead {
    width: min(100%, 17.5rem);
    max-width: 17.5rem;
  }

  .fez26-hero__title-line[data-fz="title-1"] { font-size: 38px; }
  .fez26-hero__title-line--accent { font-size: 47px; }
  .fez26-hero__title-and--desktop,
  .fez26-hero__title-line--last { font-size: 19px; }
}


/* V7 refinement pass: lighter reading field, quieter secondary CTA, cleaner event rail. */
@media (min-width: 701px) {
  .fez26-hero__scrim {
    background:
      linear-gradient(90deg,
        rgba(4, 5, 6, .95) 0%,
        rgba(4, 5, 6, .92) 16%,
        rgba(4, 5, 6, .83) 29%,
        rgba(4, 5, 6, .66) 41%,
        rgba(4, 5, 6, .34) 54%,
        rgba(4, 5, 6, .10) 66%,
        rgba(4, 5, 6, 0) 78%),
      linear-gradient(180deg,
        rgba(0, 0, 0, .10) 0%,
        rgba(0, 0, 0, 0) 44%,
        rgba(0, 0, 0, .06) 72%,
        rgba(0, 0, 0, .5) 100%);
  }

  .fez26-hero__claim {
    color: var(--fez26-paper-body);
    max-width: 62ch;
  }

  .fez26-hero__claim strong {
    color: var(--fez26-paper);
  }

  .fez26-hero__meta {
    width: min(100%, 760px);
  }

  .fez26-hero__meta-item {
    padding: 16px 26px 17px 0;
    margin-right: 26px;
  }

  .fez26-hero__meta-label {
    margin-bottom: 8px;
    color: rgba(255, 138, 112, .96);
  }

  .fez26-hero__meta-value {
    color: var(--fez26-paper-strong);
  }

  .fez26-hero__actions {
    align-items: center;
    gap: 18px;
  }

  .fez26-hero__button {
    border-radius: 12px;
  }

  .fez26-hero__button--primary {
    min-width: 286px;
    box-shadow: 0 12px 30px rgba(255, 90, 58, .16);
  }

  .fez26-hero__button--primary .fez26-hero__button-icon {
    width: 18px;
    height: 18px;
    stroke-width: 1.55;
  }

  .fez26-hero__button--secondary {
    min-width: 0;
    min-height: auto;
    padding: 0 0 3px;
    gap: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--fez26-paper-body);
    font-weight: 600;
    justify-content: flex-start;
    box-shadow: inset 0 -1px 0 rgba(248, 244, 238, .2);
  }

  .fez26-hero__button--secondary .fez26-hero__button-icon {
    width: 17px;
    height: 17px;
    stroke-width: 1.45;
  }

  .fez26-hero__date {
    width: 118px;
    left: 54.4%;
  }

  .fez26-hero__date-top {
    width: 112px;
  }

  .fez26-hero__date-number {
    color: var(--fez26-paper-strong);
  }

  .fez26-hero__date-month {
    color: rgba(255, 138, 112, .96);
  }

  .fez26-hero__date-line {
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 90, 58, .9) 0%, rgba(255, 90, 58, .68) 72%, rgba(255, 90, 58, .22) 100%);
  }

  .fez26-hero__date-side {
    left: calc(50% - 15px);
    color: var(--fez26-paper-muted);
    letter-spacing: .16em;
  }
}

@media (hover: hover) and (pointer: fine) {
  .fez26-hero__button--secondary:hover {
    transform: none;
    color: rgba(248, 244, 238, 1);
    box-shadow: inset 0 -1px 0 rgba(248, 244, 238, .42);
    background: transparent;
    border-color: transparent;
  }
}

@media (max-width: 700px) {
  .fez26-hero__button--secondary {
    box-shadow: inset 0 -1px 0 rgba(248, 244, 238, .18);
  }

  .fez26-hero__button--secondary .fez26-hero__button-icon {
    width: 1rem;
    height: 1rem;
    stroke-width: 1.45;
  }

  .fez26-hero__claim {
    color: var(--fez26-paper-body);
  }
}


/* V8 mobile corrections: normalize first metadata cell and quiet secondary action. */
@media (max-width: 700px) {
  .fez26-hero__meta-item,
  .fez26-hero__meta-item:first-child,
  .fez26-hero__meta-item:nth-child(2),
  .fez26-hero__meta-item--place {
    padding: .85rem .95rem;
    margin: 0;
  }

  .fez26-hero__meta-item:first-child {
    border-left: 0;
  }

  .fez26-hero__meta-item:nth-child(2) {
    border-left: 1px solid rgba(248,244,238,.10);
  }

  .fez26-hero__meta-item--place {
    border-top: 1px solid rgba(248, 244, 238, .10);
  }

  .fez26-hero__button--secondary {
    width: fit-content;
    min-width: 0;
    min-height: 2.1rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: .4rem;
    justify-content: flex-start;
    color: rgba(248,244,238,.72);
    font-size: .86rem;
    font-weight: 600;
  }

  .fez26-hero__button--secondary .fez26-hero__button-icon {
    width: .9rem;
    height: .9rem;
    opacity: .78;
    stroke-width: 1.35;
  }
}

@media (hover: hover) and (pointer: fine) {
  .fez26-hero__button--secondary:hover {
    color: rgba(248,244,238,.96);
    box-shadow: none;
  }
}

/* =========================================================
   V12 MOTION PASS · editorial, restrained, institutional
   One authored entrance; the hero is static after it resolves.
   ========================================================= */

/* 1) Background: almost imperceptible settle-in, no ongoing movement. */
.fez26-hero__photo {
  transform-origin: 58% 42%;
  animation: fez26-photo-settle 1600ms var(--fez26-ease) both;
}

/* 2) Editorial header. */
.fez26-hero__edition {
  animation: fez26-motion-edition 520ms var(--fez26-ease) 20ms both;
}

/* 3) Headline: authored line-by-line reveal. */
.fez26-hero__title-line[data-fz="title-1"] {
  animation: fez26-motion-title 620ms var(--fez26-ease) 100ms both;
}

.fez26-hero__title-row--employment {
  animation: fez26-motion-accent 680ms var(--fez26-ease) 190ms both;
}

.fez26-hero__title-row--last {
  animation: fez26-motion-title 620ms var(--fez26-ease) 290ms both;
}

/* Keep nested title glyphs from double-animating. */
.fez26-hero__title-row .fez26-hero__title-line {
  animation: none;
}

/* 4) Coral rule draws after the title. */
.fez26-hero__title-rule {
  animation: fez26-motion-rule 520ms var(--fez26-ease) 390ms both;
}

/* 5) Supporting content resolves in one direction. */
.fez26-hero__claim {
  animation: fez26-motion-content 560ms var(--fez26-ease) 460ms both;
}

.fez26-hero__meta {
  animation: fez26-motion-content 560ms var(--fez26-ease) 590ms both;
}

.fez26-hero__actions {
  animation: fez26-motion-content 540ms var(--fez26-ease) 720ms both;
}

/* 6) Desktop date rail: number → month → line → vertical label. */
.fez26-hero__date-number {
  animation: fez26-motion-date 560ms var(--fez26-ease) 150ms both;
}

.fez26-hero__date-month {
  animation: fez26-motion-date 520ms var(--fez26-ease) 250ms both;
}

.fez26-hero__date-line {
  animation: fez26-motion-date-line 720ms var(--fez26-ease) 340ms both;
}

.fez26-hero__date-side {
  animation: fez26-motion-date-side 520ms var(--fez26-ease) 540ms both;
}

/* Mobile date is compact; resolve it as one small gesture. */
@media (max-width: 700px) {
  .fez26-hero__date-number,
  .fez26-hero__date-month,
  .fez26-hero__date-year {
    animation: fez26-motion-edition 460ms var(--fez26-ease) 60ms both;
  }

  /* Mobile sequence stays under ~1.1 s. */
  .fez26-hero__title-line[data-fz="title-1"] {
    animation-delay: 120ms;
  }

  .fez26-hero__title-row--employment {
    animation-delay: 210ms;
  }

  .fez26-hero__title-row--last {
    animation-delay: 300ms;
  }

  .fez26-hero__title-rule { animation-delay: 400ms; }
  .fez26-hero__claim { animation-delay: 470ms; }
  .fez26-hero__meta { animation-delay: 590ms; }
  .fez26-hero__actions { animation-delay: 710ms; }
}

/* 7) Interactions: no card lift, only color + icon travel. */
.fez26-hero__button {
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.fez26-hero__button-icon {
  transition: transform 260ms var(--fez26-ease), opacity 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .fez26-hero__button:hover,
  .fez26-hero__button:active {
    transform: none;
  }

  .fez26-hero__button--primary:hover {
    background: #ff6849;
    border-color: #ff6849;
  }

  .fez26-hero__button:hover .fez26-hero__button-icon {
    transform: translate(2px, -2px);
  }

  .fez26-hero__button--secondary:hover {
    background: transparent;
  }
}

@keyframes fez26-photo-settle {
  from { transform: scale(1.025); }
  to   { transform: scale(1); }
}

@keyframes fez26-motion-edition {
  from {
    opacity: 0;
    filter: blur(3px);
    transform: translateY(-7px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes fez26-motion-title {
  from {
    opacity: 0;
    filter: blur(3px);
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes fez26-motion-accent {
  from {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes fez26-motion-rule {
  from {
    opacity: .25;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes fez26-motion-content {
  from {
    opacity: 0;
    filter: blur(2px);
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes fez26-motion-date {
  from {
    opacity: 0;
    filter: blur(3px);
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes fez26-motion-date-line {
  from {
    opacity: .15;
    transform: scaleY(0);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes fez26-motion-date-side {
  from {
    opacity: 0;
    transform: rotate(180deg) translateY(8px);
  }
  to {
    opacity: 1;
    transform: rotate(180deg) translateY(0);
  }
}

/* Accessibility: all movement is optional. */
@media (prefers-reduced-motion: reduce) {
  .fez26-hero__photo,
  .fez26-hero__edition,
  .fez26-hero__title-line,
  .fez26-hero__title-row,
  .fez26-hero__title-rule,
  .fez26-hero__claim,
  .fez26-hero__meta,
  .fez26-hero__actions,
  .fez26-hero__date-number,
  .fez26-hero__date-month,
  .fez26-hero__date-year,
  .fez26-hero__date-line,
  .fez26-hero__date-side {
    animation: none !important;
    filter: none !important;
    transform: none;
  }

  .fez26-hero__button,
  .fez26-hero__button-icon {
    transition: none !important;
  }
}

/* =========================================================
   V13 MOTION TUNING · slightly slower, more relaxed pacing
   ========================================================= */
.fez26-hero__photo {
  animation: fez26-photo-settle 1950ms var(--fez26-ease) both;
}

.fez26-hero__edition {
  animation: fez26-motion-edition 620ms var(--fez26-ease) 40ms both;
}

.fez26-hero__title-line[data-fz="title-1"] {
  animation: fez26-motion-title 760ms var(--fez26-ease) 140ms both;
}

.fez26-hero__title-row--employment {
  animation: fez26-motion-accent 820ms var(--fez26-ease) 280ms both;
}

.fez26-hero__title-row--last {
  animation: fez26-motion-title 760ms var(--fez26-ease) 430ms both;
}

.fez26-hero__title-rule {
  animation: fez26-motion-rule 620ms var(--fez26-ease) 570ms both;
}

.fez26-hero__claim {
  animation: fez26-motion-content 660ms var(--fez26-ease) 690ms both;
}

.fez26-hero__meta {
  animation: fez26-motion-content 660ms var(--fez26-ease) 860ms both;
}

.fez26-hero__actions {
  animation: fez26-motion-content 620ms var(--fez26-ease) 1040ms both;
}

.fez26-hero__date-number {
  animation: fez26-motion-date 640ms var(--fez26-ease) 220ms both;
}

.fez26-hero__date-month {
  animation: fez26-motion-date 600ms var(--fez26-ease) 350ms both;
}

.fez26-hero__date-line {
  animation: fez26-motion-date-line 860ms var(--fez26-ease) 470ms both;
}

.fez26-hero__date-side {
  animation: fez26-motion-date-side 620ms var(--fez26-ease) 710ms both;
}

@media (max-width: 700px) {
  .fez26-hero__date-number,
  .fez26-hero__date-month,
  .fez26-hero__date-year {
    animation: fez26-motion-edition 540ms var(--fez26-ease) 90ms both;
  }

  .fez26-hero__title-line[data-fz="title-1"] {
    animation-delay: 150ms;
  }

  .fez26-hero__title-row--employment {
    animation-delay: 290ms;
  }

  .fez26-hero__title-row--last {
    animation-delay: 430ms;
  }

  .fez26-hero__title-rule { animation-delay: 560ms; }
  .fez26-hero__claim { animation-delay: 690ms; }
  .fez26-hero__meta { animation-delay: 860ms; }
  .fez26-hero__actions { animation-delay: 1020ms; }
}

/* =========================================================
   V14 APPLE-LIKE MOTION · fewer beats, more intention
   ========================================================= */
:root {
  --fez26-motion-apple-ease: cubic-bezier(.16, 1, .3, 1);
}

/* Background: nearly static, only a very soft settle. */
.fez26-hero__photo {
  animation: fez26-apple-photo 2100ms var(--fez26-motion-apple-ease) both;
}

/* Quiet preface. */
.fez26-hero__edition {
  animation: fez26-apple-fade-up 560ms var(--fez26-motion-apple-ease) 120ms both;
}

/* Headline resolves as one composition with deliberate beats. */
.fez26-hero__title-line[data-fz="title-1"] {
  animation: fez26-apple-headline 760ms var(--fez26-motion-apple-ease) 260ms both;
}

.fez26-hero__title-row--employment {
  animation: fez26-apple-headline-accent 820ms var(--fez26-motion-apple-ease) 420ms both;
}

.fez26-hero__title-row--last {
  animation: fez26-apple-headline 760ms var(--fez26-motion-apple-ease) 570ms both;
}

.fez26-hero__title-rule {
  animation: fez26-apple-rule 560ms var(--fez26-motion-apple-ease) 720ms both;
}

/* Claim + meta arrive as a single supporting layer. */
.fez26-hero__claim {
  animation: fez26-apple-support 620ms var(--fez26-motion-apple-ease) 860ms both;
}

.fez26-hero__meta {
  animation: fez26-apple-support 640ms var(--fez26-motion-apple-ease) 900ms both;
}

/* CTA is the final beat. */
.fez26-hero__actions {
  animation: fez26-apple-support 600ms var(--fez26-motion-apple-ease) 1120ms both;
}

/* Desktop date rail keeps its own restrained choreography. */
.fez26-hero__date-number {
  animation: fez26-apple-fade-up 560ms var(--fez26-motion-apple-ease) 300ms both;
}

.fez26-hero__date-month {
  animation: fez26-apple-fade-up 520ms var(--fez26-motion-apple-ease) 470ms both;
}

.fez26-hero__date-line {
  animation: fez26-apple-line 760ms var(--fez26-motion-apple-ease) 620ms both;
}

.fez26-hero__date-side {
  animation: fez26-apple-date-side 560ms var(--fez26-motion-apple-ease) 900ms both;
}

@media (max-width: 700px) {
  /* Mobile date resolves as one small gesture. */
  .fez26-hero__date-number,
  .fez26-hero__date-month,
  .fez26-hero__date-year {
    animation: fez26-apple-fade-up 500ms var(--fez26-motion-apple-ease) 120ms both;
  }

  .fez26-hero__title-line[data-fz="title-1"] { animation-delay: 250ms; }
  .fez26-hero__title-row--employment { animation-delay: 410ms; }
  .fez26-hero__title-row--last { animation-delay: 560ms; }
  .fez26-hero__title-rule { animation-delay: 710ms; }
  .fez26-hero__claim { animation-delay: 860ms; }
  .fez26-hero__meta { animation-delay: 900ms; }
  .fez26-hero__actions { animation-delay: 1080ms; }
}

/* Interactions stay restrained. */
.fez26-hero__button {
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    color 240ms ease,
    box-shadow 240ms ease;
}

.fez26-hero__button-icon {
  transition: transform 280ms var(--fez26-motion-apple-ease), opacity 220ms ease;
}

@keyframes fez26-apple-photo {
  from { transform: scale(1.015); }
  to   { transform: scale(1); }
}

@keyframes fez26-apple-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fez26-apple-headline {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fez26-apple-headline-accent {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fez26-apple-rule {
  from {
    opacity: .2;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes fez26-apple-support {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fez26-apple-line {
  from {
    opacity: .15;
    transform: scaleY(0);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes fez26-apple-date-side {
  from {
    opacity: 0;
    transform: rotate(180deg) translateY(6px);
  }
  to {
    opacity: 1;
    transform: rotate(180deg) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fez26-hero__photo,
  .fez26-hero__edition,
  .fez26-hero__title-line,
  .fez26-hero__title-row,
  .fez26-hero__title-rule,
  .fez26-hero__claim,
  .fez26-hero__meta,
  .fez26-hero__actions,
  .fez26-hero__date-number,
  .fez26-hero__date-month,
  .fez26-hero__date-year,
  .fez26-hero__date-line,
  .fez26-hero__date-side {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
}


/* Font loading hardening for WordPress/Astra */
.fez26-hero__title,
.fez26-hero__title-and,
.fez26-hero__date-number,
.fez26-hero__date-month {
  font-family: "FeriaBodoni", "Bodoni Moda", "Iowan Old Style", Baskerville, "Times New Roman", serif !important;
  font-optical-sizing: auto;
}

.fez26-hero,
.fez26-hero__edition,
.fez26-hero__claim,
.fez26-hero__meta,
.fez26-hero__button,
.fez26-hero__date-side {
  font-family: "FeriaInter", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* V2 font enforcement against Astra / Elementor descendant rules */
.fez26-hero .fez26-hero__title,
.fez26-hero .fez26-hero__title .fez26-hero__mask,
.fez26-hero .fez26-hero__title .fez26-hero__title-line,
.fez26-hero .fez26-hero__title .fez26-hero__title-row,
.fez26-hero .fez26-hero__title .fez26-hero__title-and,
.fez26-hero .fez26-hero__date-number,
.fez26-hero .fez26-hero__date-month {
  font-family: "FeriaBodoni", "Bodoni Moda", Baskerville, "Times New Roman", serif !important;
}

.fez26-hero .fez26-hero__title-line--accent {
  font-family: "FeriaBodoni", "Bodoni Moda", Baskerville, "Times New Roman", serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
}

.fez26-hero,
.fez26-hero .fez26-hero__edition,
.fez26-hero .fez26-hero__claim,
.fez26-hero .fez26-hero__meta,
.fez26-hero .fez26-hero__meta-label,
.fez26-hero .fez26-hero__meta-value,
.fez26-hero .fez26-hero__button,
.fez26-hero .fez26-hero__date-side {
  font-family: "FeriaInter", "Inter", ui-sans-serif, system-ui, sans-serif !important;
}

/* =========================================================
   MOBILE BACKGROUND STABILITY FIX
   Keep the theatre image completely static on phones.
   Avoid dynamic viewport resizing when browser chrome changes.
   ========================================================= */
@media (max-width: 700px) {
  .fez26-hero {
    min-height: 100svh;
  }

  .fez26-hero__content {
    min-height: 100svh;
  }

  .fez26-hero__photo {
    animation: none !important;
    transform: none !important;
    transition: none !important;
    will-change: auto;
    background-position: 60% 20%;
  }
}

/* Fallback for older mobile browsers without svh support. */
@supports not (height: 100svh) {
  @media (max-width: 700px) {
    .fez26-hero,
    .fez26-hero__content {
      min-height: 100vh;
    }
  }
}

/* =========================================================
   MOBILE IMAGE FRAME LOCK · final fix
   The photo is sized against the stable mobile viewport, not
   against the content-driven hero height. This prevents the
   apparent zoom when fonts/layout/browser chrome settle.
   ========================================================= */
@media (max-width: 700px) {
  .fez26-hero {
    position: relative;
    min-height: 100svh;
    background: var(--fez26-deep);
  }

  /* The media container may follow the full hero, but the actual
     image frame is locked to the stable viewport height. */
  .fez26-hero__media {
    position: absolute;
    inset: 0;
    min-height: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--fez26-deep);
  }

  .fez26-hero__photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 100svh !important;
    min-height: 100svh !important;
    max-height: 100svh !important;
    animation: none !important;
    transition: none !important;
    transform: none !important;
    scale: 1 !important;
    will-change: auto !important;
    background-image: url("https://feriaempleo.camarazamora.com/wp-content/uploads/2026/08/hero-final-mobile.webp") !important;
    background-size: cover !important;
    background-position: 60% 20% !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
  }

  /* Keep photo-related overlays locked to exactly the same frame. */
  .fez26-hero__scrim,
  .fez26-hero__vignette,
  .fez26-hero__warmth {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 100svh !important;
    min-height: 100svh !important;
    max-height: 100svh !important;
    transform: none !important;
  }

  .fez26-hero__content {
    min-height: 100svh;
  }
}

@supports not (height: 100svh) {
  @media (max-width: 700px) {
    .fez26-hero__photo,
    .fez26-hero__scrim,
    .fez26-hero__vignette,
    .fez26-hero__warmth {
      height: 100vh !important;
      min-height: 100vh !important;
      max-height: 100vh !important;
    }
  }
}

/* =========================================================
   HERO → FIRST SECTION · Lovera-inspired scroll transition
   Motion only: no visual redesign of either section.
   The hero stays behind while the next section naturally
   rises over it as the user scrolls.
   ========================================================= */

.fez26-scroll-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
}

.fez26-scroll-stage__hero {
  position: sticky !important;
  top: 0;
  z-index: 1 !important;
  width: 100%;
}

.fez26-scroll-stage__next {
  position: relative !important;
  z-index: 2 !important;
  margin-top: 0 !important;
  transform: none !important;
}

/* The photo itself never moves. Only a tiny darkening of the
   media layer occurs while the next section covers the hero. */
.fez26-scroll-stage .fez26-hero::after {
  content: "";
  position: absolute;
  z-index: 9;
  inset: 0;
  pointer-events: none;
  background: var(--fez26-deep);
  opacity: calc(var(--fez26-cover-progress, 0) * .13);
}

/* Keep the actual hero content above the subtle dim layer. */
.fez26-scroll-stage .fez26-hero__edition,
.fez26-scroll-stage .fez26-hero__content {
  z-index: 10;
}

/* No scale, parallax or transform is introduced by this transition. */
.fez26-scroll-stage .fez26-hero__photo {
  scale: 1 !important;
}

@media (max-width: 700px) {
  .fez26-scroll-stage__hero {
    top: 0;
  }

  /* Preserve the locked mobile image frame created in the previous pass. */
  .fez26-scroll-stage .fez26-hero__photo {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    scale: 1 !important;
  }

  .fez26-scroll-stage .fez26-hero::after {
    opacity: calc(var(--fez26-cover-progress, 0) * .10);
  }
}

/* Respect reduced-motion preference: normal document flow, no sticky stage. */
@media (prefers-reduced-motion: reduce) {
  .fez26-scroll-stage__hero {
    position: relative !important;
    top: auto !important;
  }

  .fez26-scroll-stage .fez26-hero::after {
    display: none !important;
  }
}

/* =========================================================
   CTA HOLD · let the conversion area breathe before cover
   The hero remains fully visible for a short scroll distance
   before the first content section starts rising over it.
   ========================================================= */
.fez26-scroll-stage__hold {
  position: relative;
  z-index: 0;
  width: 100%;
  height: clamp(120px, 15vh, 180px);
  pointer-events: none;
}

@media (max-width: 700px) {
  .fez26-scroll-stage__hold {
    height: clamp(84px, 12svh, 112px);
  }
}

@supports not (height: 1svh) {
  @media (max-width: 700px) {
    .fez26-scroll-stage__hold {
      height: clamp(84px, 12vh, 112px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .fez26-scroll-stage__hold {
    display: none !important;
  }
}


/* =========================================================
   V6 PRODUCTION INTERACTION · native scroll + protected CTA
   No scroll hijacking, no touch interception, no snap lock.
   ========================================================= */

/* Slightly longer neutral runway before the first section starts
   covering the sticky hero. This gives the original CTA more time. */
.fez26-scroll-stage__hold {
  height: clamp(170px, 18vh, 230px);
}

@media (max-width: 700px) {
  .fez26-scroll-stage__hold {
    height: clamp(210px, 28svh, 320px) !important;
  }
}

@supports not (height: 1svh) {
  @media (max-width: 700px) {
    .fez26-scroll-stage__hold {
      height: clamp(210px, 28vh, 320px) !important;
    }
  }
}

/* The dock only exists on mobile. It is created by JS from the real
   primary CTA, so URL, target and accessible text stay in sync. */
.fez26-mobile-cta-dock {
  display: none;
}

@media (max-width: 700px) {
  .fez26-mobile-cta-dock {
    position: fixed;
    z-index: 9998;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(14px, calc(env(safe-area-inset-bottom) + 10px));
    left: max(16px, env(safe-area-inset-left));
    display: block;
    pointer-events: none;
    opacity: 0;
    transform: translateY(18px) scale(.985);
    transition:
      opacity 320ms var(--fez26-motion-apple-ease, var(--fez26-ease)),
      transform 420ms var(--fez26-motion-apple-ease, var(--fez26-ease));
  }

  .fez26-mobile-cta-dock.is-visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .fez26-mobile-cta-dock__button {
    width: min(100%, 31rem);
    min-height: 3.4rem;
    margin-inline: auto;
    padding: 0 1.05rem 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--fez26-coral);
    border-radius: 15px;
    background: var(--fez26-coral);
    color: #0a0908 !important;
    box-shadow:
      0 16px 42px rgba(0, 0, 0, .24),
      0 6px 20px rgba(255, 90, 58, .14);
    font-family: "FeriaInter", "Inter", ui-sans-serif, system-ui, sans-serif !important;
    font-size: .94rem;
    font-weight: 650;
    line-height: 1;
    letter-spacing: -.01em;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  .fez26-mobile-cta-dock__button .fez26-hero__button-icon {
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
    opacity: .9;
  }

  /* When the dock takes over, fade only the original primary CTA so
     the user never sees two equally strong coral buttons at once. */
  .fez26-scroll-stage.fez26-dock-active .fez26-hero__button--primary {
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .fez26-scroll-stage:not(.fez26-dock-active) .fez26-hero__button--primary {
    opacity: 1;
    transition: opacity 220ms ease;
  }
}

/* Reduced motion keeps native flow and removes the dock transformation.
   The CTA remains available in its original location. */
@media (prefers-reduced-motion: reduce) {
  .fez26-mobile-cta-dock {
    display: none !important;
  }

  .fez26-scroll-stage__hold {
    display: none !important;
  }
}

/* =========================================================
   V7 FINAL RESPONSIVE MOTION POLICY
   Desktop: keep the Lovera-inspired sticky cover transition.
   Mobile: completely native document flow. No sticky stage,
   no hold runway, no cover dim, no floating CTA.
   ========================================================= */
@media (max-width: 700px) {
  .fez26-scroll-stage {
    position: relative !important;
    isolation: auto !important;
  }

  .fez26-scroll-stage__hero {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
  }

  .fez26-scroll-stage__hold {
    display: none !important;
    height: 0 !important;
  }

  .fez26-scroll-stage__next {
    position: relative !important;
    z-index: auto !important;
    margin-top: 0 !important;
    transform: none !important;
  }

  .fez26-scroll-stage .fez26-hero::after {
    display: none !important;
    opacity: 0 !important;
  }

  .fez26-mobile-cta-dock {
    display: none !important;
  }

  .fez26-scroll-stage.fez26-dock-active .fez26-hero__button--primary,
  .fez26-scroll-stage:not(.fez26-dock-active) .fez26-hero__button--primary {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}
