/* ============================================================================
   karrieraszallodaban.hu — PAGE / SECTION STYLES  (home)
   Extends base.css. Every value comes from tokens.css — no raw hex except the
   rgba() alpha steps of --green (#015046) that CSS cannot derive from a hex var.
   Layer order is inherited from base.css; this file sits above `components`.
   ========================================================================== */

/* VIEWPORT-HEIGHT TOKENS (BUILD-WP §5.1). `svh` is Chrome 108+; the CEO's
   Chrome 102 silently drops the whole declaration, so every use goes through a
   token with a plain `vh` base and an @supports upgrade. */
:root { --vh100: 100vh; --vh92: 92vh; --vh34: 34vh; }
@supports (height: 100svh) {
  :root { --vh100: 100svh; --vh92: 92svh; --vh34: 34svh; }
}


:root {
  --nav-h: 60px;
  /* The hero seam is at 45vw, but the hero text starts at shell-left + gutter,
     and shell-left grows once the viewport passes --page-max. So a plain
     percentage cap cannot know where the seam is: measured at 1780 the column
     ran 139 → 819 against a seam at 794, i.e. 25px OVER the rule and onto the
     photograph. Expressed against the same 45vw the seam uses, it holds at
     every width — checked at 1440 / 1780 / 1920 / 2560, clearance 48px each. */
  --hero-seam: 45vw;
  --shell-left: max(0px, (100vw - var(--page-max)) / 2);
  --hero-text-max: calc(var(--hero-seam) - var(--shell-left) - var(--gutter) - var(--s-7));
  --scrim-1: rgba(1, 80, 70, .94);
  --scrim-2: rgba(1, 80, 70, .88);
  --scrim-0: rgba(1, 80, 70, 0);

  /* Section tops are NOT symmetric with their bottoms. Measured at 1440 the
     symmetric `--section-y` left ~130px of empty ground between the sticky nav
     and every eyebrow — read as unfinished, not as air. The bottom keeps the
     full value so consecutive sections still separate. */
  --section-y-top: clamp(48px, 5vw, 84px);

  /* CONDENSE WAS INVERTED. base.css `@layer components` says
       .is-sticky.is-condensed { padding-block: var(--s-2); }
     so scrolling past 80px ADDED 8px top and bottom: the header measured 77px
     at rest and 93px "condensed" — it grew by 16px instead of shrinking. That
     is why the toggle was invisible; it was working, in the wrong direction.
     Overridden below (this file is unlayered, so it outranks the layer without
     needing to touch base.css). See the note on .site-header.is-condensed. */
  --nav-h-condensed: 51px;

  /* Anything that has to clear the STUCK header (anchor landings, the sticky
     filter bar) must use this, not --nav-h. The header is only ever stuck when
     it is ALSO condensed — app.js flips both past 80px — so this tracks the
     condensed height, +1px for the bottom hairline. */
  --nav-h-stuck: calc(var(--nav-h-condensed) + 1px);

  /* CONTRAST FIX — tokens.css labels --green-58 "large text / UI glyphs only,
     3.42:1" and --white-56 measured 4.09:1, yet both were carrying 12–15px TEXT
     (eyebrows, legends, the tally caption, the MINTA badge, the footer notes).
     Measured on the real painted grounds, every one of those sat at 3.07–4.09:1
     against a 4.5:1 floor — 13 elements failing AA on the home page alone.
     Solved for the alpha that clears 4.5:1 on the DARKEST light ground (paper,
     rgb(244,247,245)) and on --green, with margin rather than at the line:
       green .74 → 4.50 on paper  (at the floor, rejected)
       green .78 → 4.98 on paper, 5.23 on white   ✓
       white .62 → 4.65 on --green (at the floor, rejected)
       white .66 → 5.05 on --green                ✓
     The label still reads quieter than body copy: it is uppercase, 12px and
     letterspaced, so the hierarchy never depended on the contrast deficit. */
  --green-label: rgba(1, 80, 70, .78);
  --white-note: rgba(255, 255, 255, .66);
}

@media (min-width: 900px) {
  :root { --nav-h: 76px; --nav-h-condensed: 63px; }
}

/* base.css sets a symmetric `padding-block: var(--section-y)` inside @layer
   layout; this unlayered rule wins. scroll-margin keeps an anchored eyebrow
   clear of the sticky header instead of under it. */
.section {
  padding-block: var(--section-y-top) var(--section-y);
  scroll-margin-block-start: var(--nav-h-stuck);
}

/* --------------------------------------------------------------------------
   0. SHARED TILE INTERNALS
   -------------------------------------------------------------------------- */

/* base.css sets display on .btn/.chip/.tile-field via a cascade layer, which
   outranks the UA's [hidden] rule. app.js hides elements with the property,
   so restore it here (unlayered wins) and let more specific rules opt out. */
[hidden] { display: none; }

/* The job list is filtered by toggling .hidden on the cards. `.job-card { display: flex }`
   (and `.tile-field`'s grid) come LATER with the same specificity as the rule above, so the
   hidden cards stayed painted: the counter said 2 and ten cards showed. Beat them by
   specificity and !important, so no later display rule can ever resurrect a filtered-out card. */
[data-job-card][hidden],
[data-job-list][hidden],
[data-job-more][hidden],
[data-job-empty][hidden] { display: none !important; }

/* Tiles must never clip their own content: a spanned tile may grow past its
   nominal rows, it may not shrink below them. */
.tile-field { grid-auto-rows: minmax(var(--row), auto); }

.tile__media {
  display: block;
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.tile__media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.t-photo .tile__caption {
  position: absolute;
  z-index: 3;
  inset-inline: 0;
  inset-block-end: 0;
  background: linear-gradient(to top, var(--scrim-1) 0%, var(--scrim-2) 62%, var(--scrim-0) 100%);
  padding: var(--s-8) var(--s-5) var(--s-4);
  color: var(--white);
  font-size: var(--fs-small);
  line-height: 1.35;
  text-wrap: pretty;
}

.section--dark .tile,
.t-photo,
.t-rule,
.t-video {
  border-color: var(--mint-22);
}

/* the threshold tile ------------------------------------------------------ */
/* V4: at desktop widths this tile is one column wide and its label runs UP the
   rule, so it reads as a threshold marker instead of an empty column with a
   line in it. Below 768 it is a full-width band and the label stays flat. */
.t-rule {
  display: flex;
  align-items: stretch;
  gap: var(--s-4);
  padding: var(--s-5);
}

.t-rule .rule {
  flex: 0 0 var(--rule);
  block-size: auto;
  min-block-size: var(--s-8);
}

.t-rule .t-label {
  align-self: flex-end;
  color: var(--white);
  max-inline-size: 12ch;
}

/* Only where the tile is actually a one-column column (>=1200). Between 768 and
   1199 these tiles are full-width bands and a vertical label in a 768x150 band
   looks like a rendering fault, which is the bug we are fixing. */
@media (min-width: 1200px) {
  .t-rule {
    gap: var(--s-4);
    padding: var(--s-5) var(--s-4);
  }

  .t-rule .t-label {
    writing-mode: vertical-rl;
    align-self: flex-start;
    max-inline-size: none;
    max-block-size: 100%;
    overflow: hidden;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .t-rule .t-label { align-self: center; max-inline-size: none; }
}

/* statement tile ---------------------------------------------------------- */
.t-flat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
}

.t-flat > .t-label { color: var(--green-label); }

/* one number + one label -------------------------------------------------- */
.t-data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5);
}

.data__num {
  color: var(--green);
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: var(--ls-display);
  line-height: 1;
}

/* client 2026-11: the hotel-count tile shows a display numeral (~40% of the tile height).
   Scales with the viewport, capped so two digits still fit the narrowest (c-3) tile. */
.intern__data .data__num {
  font-size: clamp(6.5rem, 16vw, 12.5rem);
  line-height: 0.9;
  margin-inline-start: -0.04em;
}

.data__num--time {
  font-size: clamp(1.625rem, 2.6vw, 2.375rem);
  letter-spacing: var(--ls-h2);
}

.data__label {
  color: var(--green-82);
  font-size: var(--fs-small);
  line-height: 1.4;
}

/* section heading block --------------------------------------------------- */
.sec-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-block-end: var(--s-7);
  max-inline-size: 46ch;
}

.sec-head .t-label { color: var(--green-label); }
.section--dark .sec-head .t-label { color: var(--mint); }
.sec-head__lead { font-size: var(--fs-h3); line-height: 1.45; }

/* --------------------------------------------------------------------------
   1. HEADER + WORDMARK + NAV
   -------------------------------------------------------------------------- */

/* OUT OF FLOW + a constant spacer (header.php). The header used to be `position: sticky` IN
   flow and shrank 13px when condensed, which moved everything below it; the browser's scroll
   anchoring answered by pulling scrollY back under the threshold, the header un-condensed,
   grew again, and the menu "jumped" in a loop. A fixed header changes no document height, so
   there is nothing to anchor against; the spacer keeps the resting footprint (--nav-h + the
   1px hairline) whether the bar is condensed or not. */
.site-header {
  position: fixed;
  z-index: var(--z-nav);
  inset-block-start: 0;
  inset-inline: 0;
  background: var(--green);
  color: var(--white);
  border-block-end: var(--hairline) solid transparent;
  transition: border-color var(--t-base) var(--ease);
}

/* Cancel the layer's inverted padding, then make the condense a REAL reduction:
   77px → 64px at >=900 (76+1 → 63+1), 61px → 52px below it. Unlayered rules beat
   @layer components, so base.css does not have to change for this. */
.site-header.is-condensed {
  border-block-end-color: var(--mint-22);
  padding-block: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-block-size: var(--nav-h);
  transition: min-block-size 240ms var(--ease);
}

.site-header.is-condensed .site-header__inner { min-block-size: var(--nav-h-condensed); }

.site-header-spacer { block-size: calc(var(--nav-h) + 1px); }

/* the WordPress admin bar (logged-in editors) is 32px, 46px on a phone */
.admin-bar .site-header { inset-block-start: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { inset-block-start: 46px; }
}

.wordmark-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--white);
  text-decoration: none;
}

.wordmark { display: block; }

.wordmark--h {
  block-size: clamp(20px, 4vw, 30px);
  inline-size: auto;
  transition: block-size 240ms var(--ease);
}

/* one notch down, not a different lockup — the condensed bar is 13px shorter,
   so the mark has to give up a few of them or it crowds the new edge. */
.site-header.is-condensed .wordmark--h { block-size: clamp(18px, 3.2vw, 24px); }

.wordmark-link:focus-visible {
  outline: var(--rule) solid var(--mint);
  outline-offset: var(--rule);
}

/* toggle ------------------------------------------------------------------ */
.nav-toggle {
  display: none;
  position: relative;
  flex: 0 0 auto;
  margin-inline-start: auto;
  border: var(--hairline) solid var(--mint-22);
  background: transparent;
  inline-size: 44px;
  block-size: 44px;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  position: absolute;
  inset-inline-start: 12px;
  inline-size: 18px;
  block-size: 2px;
  background: var(--mint);
  content: "";
}

.nav-toggle__icon { inset-block-start: 21px; }
.nav-toggle__icon::before { inset-block-start: -6px; inset-inline-start: 0; }
.nav-toggle__icon::after { inset-block-start: 6px; inset-inline-start: 0; }

.nav-toggle[aria-expanded="true"] { border-color: var(--mint); }

.nav-toggle:focus-visible {
  outline: var(--rule) solid var(--mint);
  outline-offset: var(--rule);
}

/* menu -------------------------------------------------------------------- */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  margin-inline-start: auto;
}

.nav-menu__list {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  list-style: none;
}

.nav-menu__list a {
  position: relative;
  display: inline-block;
  padding-block: var(--s-2);
  color: var(--white);
  font-size: var(--fs-small);
  text-decoration: none;
}

.nav-menu__list a::after {
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  inline-size: 0;
  block-size: var(--rule);
  background: var(--mint);
  content: "";
  transition: inline-size var(--t-base) var(--ease);
}

.nav-menu__list a:hover::after,
.nav-menu__list a:focus-visible::after { inline-size: 100%; }

.nav-menu__list a:focus-visible {
  outline: var(--rule) solid var(--mint);
  outline-offset: var(--s-1);
}

.nav-menu__cta { flex: 0 0 auto; }

@media (max-width: 1099px) {
  .nav-toggle { display: block; }

  .nav-menu {
    display: none;
    position: absolute;
    z-index: var(--z-nav);
    inset-block-start: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-5);
    margin: 0;
    border-block-end: var(--rule) solid var(--mint);
    background: var(--green);
    padding: var(--s-5) var(--gutter) var(--s-6);
  }

  .site-header__inner { position: relative; }

  .nav-toggle[aria-expanded="true"] + .nav-menu { display: flex; }

  .nav-menu__list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-3);
  }

  .nav-menu__list a {
    display: block;
    padding-block: var(--s-3);
    border-block-end: var(--hairline) solid var(--mint-22);
    font-size: var(--fs-body);
  }
}

@media (min-width: 1100px) {
  .nav-menu[hidden] { display: flex; }
}

/* --------------------------------------------------------------------------
   2. HERO — the threshold
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-block-size: var(--vh100);
  overflow: hidden;
  background: var(--green);
}

.hero__media {
  position: absolute;
  z-index: 0;
  inset-block: 0;
  inset-inline-end: 0;
  inline-size: 55%;
  overflow: hidden;
}

.hero__media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: 28% 38%;
  animation: hero-zoom 1100ms var(--ease) both;
}

.hero__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--scrim-2) 0%, rgba(1, 80, 70, .22) 34%, rgba(1, 80, 70, .10) 100%);
}

.hero__seam {
  position: absolute;
  z-index: 2;
  inset-block: 0;
  /* 45% of the HERO BOX, the same box the photo takes 55% of from the right: the seam's
     left edge IS the photo's left edge. It was 45vw, and 100vw includes a classic
     scrollbar, so on any desktop with one the rule sat up to 0.45 x 17px off the photo. */
  inset-inline-start: 45%;
  inline-size: var(--rule);
  background: var(--mint);
  transform-origin: top;
  animation: seam-draw var(--t-scene) var(--ease) both;
}

.hero__inner {
  position: relative;
  z-index: 3;
  inline-size: 100%;
  padding-block: calc(var(--nav-h) + var(--s-7)) var(--s-8);
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-5);
  max-inline-size: min(680px, var(--hero-text-max));
}

/* Display scale, held back so `Egy nyitott ajtó.` always sets on ONE line
   inside the 45% panel — three ragged lines killed the composition. */
.hero__idea {
  margin-block-end: var(--s-1);
  font-size: clamp(2.5rem, 6.5vw, 6rem);
}

.hero__line {
  display: block;
  overflow: hidden;
  /* The clip box must clear the descenders (measured 4.9px of ink below the
     line box at 62px), but the reveal animation needs the overflow. So the
     padding grows and an equal negative margin gives the space back: the clip
     region is .12em taller, the layout is byte-identical to .06em. */
  padding-block-end: .18em;
  margin-block-end: -.12em;
}

.hero__line > span {
  display: block;
  animation: line-up 720ms var(--ease) both;
}

.hero__line:nth-child(2) > span { animation-delay: 90ms; }

.hero__idea em {
  color: var(--mint);
  font-style: normal;
  font-weight: 500;
}

/* V5 — TWO stops, not three. The display line is stop 1; the client's H1 is
   stop 2 and gets real size (was h3 scale, a hair above the sub); the Figma
   sub keeps its exact wording but drops to the metadata row beside the live
   counter, where it reads as a caption rather than a third headline.
   --white-78 on --green measures 6.4:1; --white-56 came out at 4.1:1, so the
   sub stays at 78%. */
.hero__promise {
  font-size: clamp(1.375rem, 2.1vw, 1.875rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: var(--ls-h2);
  max-inline-size: 24ch;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-5);
  margin-block-start: var(--s-2);
}

/* The meta row is the widest thing in the text column, so it is the one that
   can cross the mint seam. Measured at 1440 the counter chip ran to x=655
   against a seam at x=648; this stops the row at the seam and lets the chip
   drop to its own line instead of straddling the rule. */
@media (min-width: 900px) {
  .hero__meta { max-inline-size: calc(45vw - var(--gutter) - var(--s-5)); }
}

.hero__sub {
  color: var(--white-78);
  font-size: var(--fs-small);
  line-height: 1.45;
  max-inline-size: 62ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-block-start: var(--s-2);
}

.hero__live {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  border: var(--hairline) solid var(--mint-22);
  border-radius: var(--radius-pill);
  padding: var(--s-2) var(--s-4);
  color: var(--white);
  font-size: var(--fs-small);
}

.section--dark .hero__live { color: var(--white); }

.hero__dot {
  flex: 0 0 auto;
  inline-size: 8px;
  block-size: 8px;
  border-radius: var(--radius-pill);
  background: var(--mint);
  animation: dot-pulse 2s var(--ease) infinite;
}

/* Four-brand strip in the hero (client review 2026-08-11: the marks must be
   visible without scrolling). Logo sizes are the measured ink-mass ratios from
   the brands field, halved: a square pillow and a horizontal wordmark reach
   equal WEIGHT at very different box heights. The --trim values pull the
   transparent padding off the ibis pillows so the four marks share a baseline. */
/* Moved above the display line (user, 2026-08-11), so it no longer needs the
   hairline that used to separate it from the meta row — at the top of the
   column there is nothing to separate it from. Bottom margin only. */
.hero__brands {
  display: flex;
  flex-direction: column;
  inline-size: 100%;
  margin-block-end: var(--s-3);
}

/* max-content columns, not 1fr and not bare flex: the four marks pack tightly
   against each other rather than being spread across the text column. */
.hero__brands-list {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: start;
  align-items: center;
  gap: var(--s-4) var(--s-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-2);
  min-inline-size: 0;
}

.hero__brand-media {
  display: flex;
  align-items: center;
  block-size: 60px;
}

.hero__brand-logo {
  flex: 0 0 auto;
  display: block;
  inline-size: auto;
  /* base.css resets every img to max-width:100%. Here the parent is shrink-to-fit,
     so that 100% resolves circularly and Chrome hands back (box − |negative margin|):
     the 42px ibis pillow measured 35 × 42. The brands field never hit this because
     its container is 500px wide, so the cap never binds. Measured after: 42 × 42. */
  max-inline-size: none;
  block-size: var(--logo-h);
  margin-block: calc(var(--logo-h) * var(--trim-y, 0) * -1);
  margin-inline-start: calc(var(--logo-h) * var(--trim-x, 0) * -1);
}

.hero__brand-logo--badge   { --logo-h: 58px; --trim-y: .166; --trim-x: .166; }
.hero__brand-logo--mercure { --logo-h: 30px; }
.hero__brand-logo--novotel { --logo-h: 17px; }

/* One row at every width (user, 2026-08-11). A row of four costs
   2·badge + 3.78·mercure + 7.225·novotel + 3·gap — see the artwork aspects.
   Below 1200 that is 287.5px against the 318px the text column offers at 390,
   and 246.5px against ~288px at 320. The pillows give up proportionally less
   than the wordmarks: type inside a pillow stops being readable long before a
   wordmark does. */
@media (max-width: 1199px) {
  .hero__brands-list { gap: var(--s-3) var(--s-4); }
  .hero__brand-media { block-size: 50px; }
  .hero__brand-logo--badge   { --logo-h: 46px; }
  .hero__brand-logo--mercure { --logo-h: 18px; }
  .hero__brand-logo--novotel { --logo-h: 11px; }
}

@media (max-width: 380px) {
  .hero__brands-list { gap: var(--s-2) 10px; }
  .hero__brand-media { block-size: 46px; }
  .hero__brand-logo--badge   { --logo-h: 42px; }
  .hero__brand-logo--mercure { --logo-h: 16px; }
  .hero__brand-logo--novotel { --logo-h: 10px; }
}

@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes seam-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes line-up { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes dot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* MOBILE HERO — deliberate deviation from DESIGN-SPEC §5.1.
   Measured: hero-04 crops to a narrow vertical slice at 375px, and the
   receptionist's face lands exactly where the headline sits. Any scrim dark
   enough to clear 4.5:1 erases her; any scrim light enough to show her fails
   the ratio. So the photo gets its own band under the copy instead: text on
   solid --green (9.39:1) and a completely unwashed photograph. */
@media (max-width: 899px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr minmax(240px, var(--vh34));
    align-items: stretch;
    min-block-size: var(--vh92);
  }

  .hero__media {
    position: relative;
    grid-row: 2;
    grid-column: 1;
    inset: auto;
    inline-size: 100%;
  }

  .hero__media img { object-position: 52% 34%; }

  .hero__wash {
    background: linear-gradient(to bottom,
        rgba(1, 80, 70, .72) 0%,
        rgba(1, 80, 70, .16) 26%,
        rgba(1, 80, 70, 0) 58%);
  }

  .hero__seam { inset-inline-start: 0; }

  .hero__inner {
    grid-row: 1;
    grid-column: 1;
    display: flex;
    align-items: center;
    padding-block: var(--s-7) var(--s-7);
  }

  .hero__text { max-inline-size: 34ch; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .hero__text { max-inline-size: 42ch; }
}

@media (max-width: 767px) {
  /* full-width band: the 12ch cap was hyphenating "AMIT TÉNYLEG KAPSZ" into
     "AMIT TÉNY-/LEG KAPSZ" with 200px of empty tile beside it. */
  .t-rule .t-label { max-inline-size: none; align-self: center; }
}

/* --------------------------------------------------------------------------
   3. NYITOTT POZÍCIÓK
   -------------------------------------------------------------------------- */

.jobs-sec { padding-block-end: var(--section-y); }

.jobs__intro { justify-content: flex-start; }
.jobs__intro .t-h2 { margin-block-start: var(--s-1); }

.jobs__tally {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  margin-block-start: auto;
  padding-block-start: var(--s-4);
}

.jobs__tally-num {
  color: var(--green);
  /* client 2026-11: open-positions count as a display numeral */
  font-size: clamp(5rem, 11vw, 10rem);
  font-weight: 300;
  letter-spacing: var(--ls-display);
  line-height: 0.9;
}

.jobs__tally-label {
  color: var(--green-label);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

@media (max-width: 1199px) {
  .jobs__head .t-photo { grid-row: span 1; }
}

/* 900–1199 the field is 8 columns, so the c-8 + c-4 pair cannot share a row and
   the photo dropped under the intro. Split it into equal halves rather than
   5 + 3: measured at 1150 the old split gave 655 × 355 against 389 × 173 — not
   a pair, just two objects. 4 + 4 with the same row span makes both 528 × 355,
   and hero-02.jpg (2048 × 1319 = 1.553:1) covers that 1.49:1 box with almost no
   crop, so the photograph is not letterboxed either. */
@media (min-width: 900px) and (max-width: 1199px) {
  .jobs__head .jobs__intro,
  .jobs__head .jobs__photo {
    grid-column: span 4;
    grid-row: span 2;
  }
}

@media (max-width: 899px) {
  .jobs__head .jobs__photo { display: none; }
}

/* filter bar -------------------------------------------------------------- */
.filters {
  position: sticky;
  z-index: var(--z-sticky);
  inset-block-start: calc(var(--nav-h-stuck) - 1px);
  margin-block: var(--s-7);
  border-block: var(--hairline) solid var(--green-20);
  background: var(--white);
}

.filters__inner {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding-block: var(--s-4);
}

.filters__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--s-5);
}

.filters__row--groups { gap: var(--s-5) var(--s-7); }

.filters__search {
  flex: 1 1 240px;
  max-inline-size: 380px;
  gap: var(--s-1);
}

.filters__search .field__label { color: var(--green-label); }

.filters__clear { flex: 0 0 auto; }

.filters__group {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

.filters__legend {
  padding: 0;
  color: var(--green-label);
}

.filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.filters__chips .chip {
  min-block-size: 38px;
  padding-inline: var(--s-3);
  font-size: var(--fs-small);
}

/* TWO ROWS, not three. The stacked version spent row 1 on a 380px input and row
   3 on 300px of Munkarend chips, each leaving ~1000px of empty white to the
   right, so the bar read as thick without carrying more. Measured at 1440:
   Szálloda 420px + Terület 690px = 1110px against a 1328px shell, so the two
   wide groups pair on row 2 and the two narrow controls pair on row 1.
   `display: contents` promotes the semantic rows' children to grid items so the
   Munkarend group can move up a row without moving in the DOM — the source
   order stays Keresés → Szálloda → Terület → Munkarend for the keyboard. */
/* Applied from 768 — the whole range in which the bar is STICKY — not from 1200.
   At 1024 the old flex fallback broke into FOUR rows and a 318px sticky bar, a
   third of a 900px viewport; here Terület simply wraps to a second chip line
   inside its own cell and the bar stays two rows at every sticky width. */
@media (min-width: 768px) {
  .filters__inner {
    display: grid;
    align-items: end;
    gap: var(--s-5) var(--s-7);
    grid-template-columns: minmax(0, auto) minmax(0, auto) minmax(0, 1fr);
    grid-template-areas:
      "search work   clear"
      "brand  family family";
  }

  .filters__row { display: contents; }
  .filters__search { grid-area: search; }
  .filters__clear  { grid-area: clear; justify-self: end; }
  .filters__group[data-filter-group="brand"]      { grid-area: brand; }
  .filters__group[data-filter-group="family"]     { grid-area: family; }
  .filters__group[data-filter-group="employment"] { grid-area: work; }
}

@media (max-width: 767px) {
  .filters {
    position: static;
    margin-block: var(--s-6);
  }

  .filters__row--groups { flex-direction: column; align-items: stretch; }
}

/* ==========================================================================
   3.5  SZŰRŐ ELRENDEZÉS — KÉT VÁLTOZAT, EGY ATTRIBÚTUM
   ==========================================================================
   A váltás EGY SZÓ az index.html-ben:

       <section id="allasok" ... data-filter-layout="sidebar">   <- most ez
       <section id="allasok" ... data-filter-layout="bar">       <- a régi sáv

   Semmi mást nem kell átírni: ugyanaz a DOM szolgálja ki mindkettőt, a
   js/app.js horgai (data-filter-group, data-filter-value, data-job-search,
   data-job-list, data-job-count, data-job-empty, data-filter-clear és a
   <template data-job-card>) érintetlenek.

   MIÉRT: a ragadós fejléc (64px) + a ragadós 2 soros szűrősáv (~173px) 1440-en
   együtt ~236px-t takart ki a képernyő tetejéből, VÉGIG, amíg az ember a
   listát görgeti. Oldalsávban csak a fejléc marad ragadós felül: 64px.

   HATÁR: 900px alatt MINDIG a sáv fut, az attribútumtól függetlenül — lásd a
   (C) blokkot a végén. Egy 300px-es oszlop + kártyák ott már nem fér ki, egy
   ragadós oldalsáv pedig telefonon használhatatlan.

   MIÉRT 1024 ÉS NEM 1200: mérve 1024x768-on a sáv-változat 272px-t takar ki a
   768px-es képernyő tetejéből (35%), ami a legrosszabb érték az összes szélesség
   közül — a kártyák fotói félbevágva indulnak. Oldalsávban ugyanott 52px marad
   kitakarva, és a jobb oszlopban maradó 683px-be még kényelmesen befér 2 kártya
   (337px/kártya, szélesebb, mint a 288px-es mobilkártya, ami már most is megy).
   Ezért 1024–1199 között is az oldalsáv fut, 2 kártyával — nem keskenyebb
   oldalsáv 1 kártyával, mert 683px-en egy darab kártya sávplakáttá nyúlna.
   -------------------------------------------------------------------------- */

/* A wrapper alapból NEM létező doboz: `display: contents` mellett a .filters és
   a .jobs__results pontosan úgy viselkedik, mintha a <section> közvetlen
   gyereke lenne. Ez az, ami a "bar" változatot változatlanul hagyja. */
.jobs__body { display: contents; }

/* A találat-oszlop fejléce csak az oldalsávos változatban látszik. */
.jobs__resulthead { display: none; }

/* --------------------------------------------------------------------------
   (A)  data-filter-layout="bar"  — a VÍZSZINTES, RAGADÓS SÁV
   --------------------------------------------------------------------------
   Ehhez nincs külön szabály: ez a fenti ".filters" blokk (658–759. sor), ami
   változatlan. NE töröld — az attribútum egyetlen szavának átírásával ez a
   változat áll vissza teljes egészében.
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   (B)  data-filter-layout="sidebar"  — BAL OLDALI SZŰRŐOSZLOP  (>=900px)
   -------------------------------------------------------------------------- */
@media (min-width: 900px) {

  /* kétoszlopos rács: ~300px szűrő + a maradék a kártyáknak.
     A .shell szerepét (max-width + gutter) innentől ez a rács viszi, hogy a
     két oszlop egyetlen rácsban legyen és a köz pontosan --tile-gap maradjon. */
  [data-filter-layout="sidebar"] .jobs__body {
    display: grid;
    align-items: start;
    gap: var(--tile-gap);
    grid-template-columns: clamp(260px, 22vw, 320px) minmax(0, 1fr);
    max-inline-size: var(--page-max);
    margin-inline: auto;
    margin-block-start: var(--s-7);
    padding-inline: var(--gutter);
  }

  /* a két belső .shell már nem húz középre és nem tesz gutter-t: a rácsban ülnek */
  [data-filter-layout="sidebar"] .filters__inner,
  [data-filter-layout="sidebar"] .jobs__results {
    max-inline-size: none;
    margin-inline: 0;
    padding-inline: 0;
  }

  /* A panel a SZEKCIÓN BELÜL ragad, a becsukott fejléc alá igazítva. A max-height
     + overflow-y + overscroll-behavior hármas kell, hogy egy hosszú szűrőlista
     soha ne fogja meg az oldal görgetését. */
  [data-filter-layout="sidebar"] .filters {
    position: sticky;
    z-index: var(--z-sticky);
    inset-block-start: calc(var(--nav-h-stuck) + var(--tile-gap));
    align-self: start;
    max-block-size: calc(var(--vh100) - var(--nav-h-stuck) - var(--s-7));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    margin-block: 0;
    border: var(--hairline) solid var(--green-20);
    border-inline-start: var(--rule) solid var(--mint);   /* a küszöb-jel */
    background: var(--paper);
    padding: var(--s-5) var(--s-4);
  }

  /* Egy oszlop, a csoportok egymás alatt. A .filters__row továbbra is
     `display: contents` (a 768-as blokkból), így a DOM-sorrend — Keresés →
     Szálloda → Terület → Munkarend — érintetlen marad a billentyűzetnek,
     miközben a "Szűrők törlése" vizuálisan a panel aljára kerül. */
  [data-filter-layout="sidebar"] .filters__inner {
    display: grid;
    align-items: stretch;
    gap: var(--s-5);
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "search"
      "brand"
      "family"
      "work"
      "clear";
    padding-block: 0;
  }

  [data-filter-layout="sidebar"] .filters__search {
    flex: none;
    max-inline-size: none;
  }

  /* 1024-en a 260px-es oszlopba a placeholder nem fér ki teljesen — hármaspont,
     ne félbevágott szó ("…szálloda nev"). */
  [data-filter-layout="sidebar"] .filters__search input {
    text-overflow: ellipsis;
  }

  [data-filter-layout="sidebar"] .filters__clear {
    grid-area: clear;
    justify-self: stretch;
    margin-block-start: var(--s-2);
  }

  /* HELYFOGLALÁS: a gomb csak aktív szűrő mellett jelenik meg (app.js a [hidden]
     attribútumot billegteti), de a helyét mindig elfoglalja, így a panel alja
     nem ugrál. `visibility: hidden` — vagyis fókuszálni sem lehet, amíg rejtett. */
  [data-filter-layout="sidebar"] .filters__clear[hidden] {
    display: block;
    visibility: hidden;
  }

  /* találatszám a jobb oszlop tetején, ugyanabban az aria-live régióban */
  [data-filter-layout="sidebar"] .jobs__resulthead {
    display: flex;
    align-items: baseline;
    gap: var(--s-2);
    border-block-end: var(--hairline) solid var(--green-20);
    margin-block-end: var(--s-5);
    padding-block-end: var(--s-3);
  }

  .jobs__resulthead-num {
    color: var(--green);
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1;
  }

  .jobs__resulthead-label {
    color: var(--green-label);
    font-size: var(--fs-label);
    font-weight: 700;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
  }

  /* Kártyák 2 oszlopban a maradék szélességben (a tulaj kérése: "picit kisebbek
     a kártyák"). A .tile-field 12 oszlopa és a .c-4 (span 4) itt nem érvényes. */
  [data-filter-layout="sidebar"] .jobs__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-filter-layout="sidebar"] .jobs__list > .job-card {
    grid-column: span 1;
  }

  /* a nulla-találat állapot a találat-oszlop teljes szélességét kapja */
  [data-filter-layout="sidebar"] .jobs__empty {
    grid-template-columns: 1fr 1fr;
  }
}

/* Two cards fit from 900 once the card is allowed to be narrow; three once the
   card track passes ~1000px. User, 2026-08-11: "kettő is elférhetne kis
   képernyőn egymás mellett, normálon meg 3." */
@media (min-width: 1400px) {
  [data-filter-layout="sidebar"] .jobs__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   (C)  900px ALATT: mindig a sáv, az attribútum értékétől függetlenül.
   A (B) blokk egésze @media (min-width: 900px) alatt van, tehát itt semmit
   nem kell visszabontani — a .jobs__body `display: contents` marad, és a
   .filters a (A) szerinti vízszintes sávként rendereli magát. Ez a szabály
   csak dokumentálja a döntést; ha valaki mégis lejjebb vinné a határt, itt
   kezdje. Lásd a fejléc "HATÁR" bekezdését.
   -------------------------------------------------------------------------- */

/* job list ---------------------------------------------------------------- */
.jobs__list { grid-auto-rows: auto; }

.jobs__more {
  display: flex;
  justify-content: center;
  margin-block-start: var(--s-6);
}

.jobs__more-btn[hidden] { display: none; }

.jobs__more-count {
  margin-inline-start: var(--s-2);
  opacity: .7;
}

.job-card {
  display: flex;
  flex-direction: column;
  border-color: var(--green-20);
}

.job-card__media {
  position: static;
  inline-size: 100%;
  /* 16/10 → 2/1: the mark now carries the brand, so the photo is a band rather
     than a picture. Measured at 1021px / 463px-wide cards: 288px → 231px, and
     the flags row it replaces was another 34px. */
  aspect-ratio: 2 / 1;
}

.job-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
}

.job-card__flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
}

/* A dual-branded hotel has no logo chip. The empty-flags wrapper is no longer
   hidden with a Chrome 105+ pseudo-class — the template does not print it. */

.job-card__media img { object-position: var(--role-pos, 50% 42%); }

/* The mark sits on the photograph, so it needs its own ground: the four photos
   are a pale hotel room, a dark bar, a bright kitchen and a lit corridor, and
   no single logo colourway survives all four. A --green chip does, and it is
   the same pairing the hero strip already uses — white wordmarks for Mercure
   and Novotel, the brands' own coloured pillows for the two ibis houses.
   Sizes are the hero's ink-mass ratios again (badge : mercure : novotel). */
.job-card__logo {
  position: absolute;
  z-index: 3;
  inset-block-start: var(--s-3);
  inset-inline-end: var(--s-3);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-block-size: 44px;
  padding: var(--s-2) var(--s-3);
  /* White chip + brand-colour logos (client request 2026-10-15). */
  background: var(--white);
}

.job-card__logo[hidden] { display: none; }

.job-card__logo img {
  display: block;
  inline-size: auto;
  max-inline-size: none;
  block-size: var(--logo-h, 18px);
}

.job-card__logo img.is-badge   { --logo-h: 28px; }
.job-card__logo img.is-mercure { --logo-h: 18px; }
.job-card__logo img.is-novotel { --logo-h: 11px; }

.job-card__brand,
.job-card__sample {
  display: inline-block;
  padding: var(--s-1) var(--s-2);
}

.job-card__brand {
  background: var(--mint);
  color: var(--green);
}

.job-card__brand[hidden] { display: none; }

.job-card__sample {
  border: var(--hairline) solid var(--green-20);
  color: var(--green-label);
}

.job-card__sample[hidden] { display: none; }

.job-card__title { text-wrap: balance; }

.job-card__where {
  color: var(--green-82);
  font-size: var(--fs-small);
  line-height: 1.4;
}

.job-card__work {
  color: var(--green-label);
  font-size: var(--fs-small);
}

.job-card__salary {
  border-block-start: var(--hairline) solid var(--green-20);
  padding-block-start: var(--s-3);
  color: var(--green);
  font-weight: 500;
  font-size: var(--fs-small);
}

.job-card__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  list-style: none;
}

.job-card__benefit {
  border: var(--hairline) solid var(--green-20);
  border-radius: var(--radius-pill);
  padding: 2px var(--s-3);
  color: var(--green-82);
  font-size: .8125rem;
  line-height: 1.6;
  white-space: nowrap;
}

.job-card__link {
  margin-block-start: auto;
  padding-block-start: var(--s-3);
  color: var(--green);
  font-weight: 700;
  font-size: var(--fs-small);
  text-decoration: none;
}

.job-card__link::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  content: "";
}

.job-card__link:focus-visible {
  outline: var(--rule) solid var(--green);
  outline-offset: var(--rule);
}

/* zero-results state ------------------------------------------------------ */
.jobs__empty {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
  border: var(--hairline) solid var(--green-20);
  border-inline-start: var(--rule) solid var(--mint);
  background: var(--paper);
  padding: var(--s-6);
}

.jobs__empty[hidden] { display: none; }

.jobs__empty-copy { display: grid; gap: var(--s-3); }

.jobs__empty-form {
  display: grid;
  gap: var(--s-4);
  align-content: start;
}

.jobs__empty-submit { justify-self: start; }
/* the talent-pool button that replaced the job-alert form (2026-10-13) */
.jobs__empty-cta { justify-self: start; align-self: center; }

@media (min-width: 768px) {
  .jobs__empty { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .jobs__empty-form { grid-template-columns: 1fr 1fr; }
  .jobs__empty-form .field--trap,
  .jobs__empty-form .jobs__empty-submit,
  .jobs__empty-form .form-success { grid-column: 1 / -1; }
}

.field--trap {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.form-success {
  border-inline-start: var(--rule) solid var(--mint);
  background: var(--green-04);
  padding: var(--s-3) var(--s-4);
  color: var(--green);
  font-weight: 500;
}

.form-success[hidden] { display: none; }

.section--dark .form-success {
  background: var(--mint-12);
  color: var(--white);
}

/* no-JS list -------------------------------------------------------------- */
.jobs__nojs { display: none; }

.jobs__nojs ul {
  display: grid;
  gap: var(--s-3);
  margin-block-start: var(--s-4);
  list-style: none;
}

.jobs__nojs li {
  border-block-end: var(--hairline) solid var(--green-20);
  padding-block-end: var(--s-3);
}

/* --------------------------------------------------------------------------
   4. HOTELMÁRKÁK
   -------------------------------------------------------------------------- */

.brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-block-size: 0;
}

/* V1 — the flat full-tile scrim is GONE (it fogged hotel-04 into an unreadable
   green wash). The dark ground is now exactly as tall as the copy block, with
   an 80px gradient fading it out above. Anchoring it to the CONTENT rather than
   to a percentage of the tile means it stays correct at every tile height —
   a %-based ramp that clears the photo at 1440 buries it at 768.
   Everything above the fade is untouched photograph. */
.brand {
  --band: rgba(1, 80, 70, .95);
  --band-fade: 64px;
}

.brand__body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-5);
  background: var(--band);
}

.brand__body::before {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 100%;
  block-size: var(--band-fade);
  background: linear-gradient(to top, var(--band) 0%, rgba(1, 80, 70, .55) 42%, rgba(1, 80, 70, 0) 100%);
  content: "";
  pointer-events: none;
}

/* V2 — one treatment for all four marks: same left edge as the copy, same
   optical ink height band (~32–36px), no chip added by us. The ibis and ibis
   Styles files ARE pillow badges — the white ground is part of the mark, so it
   stays; the negative margins only trim the transparent canvas padding
   (measured on the alpha channel: ink runs 408–2044 of 2452) so the badge sits
   flush with the copy instead of floating in its own box. */
.brand__logo {
  display: block;
  align-self: flex-start;
  inline-size: auto;
  block-size: var(--logo-h);
  margin-block: calc(var(--logo-h) * var(--trim-y, 0) * -1);
  margin-inline-start: calc(var(--logo-h) * var(--trim-x, 0) * -1);
}

/* V3 — balanced on INK MASS, not on box height. Equal pixel height was the bug:
   a square pillow set to the same height as a wordmark reads as a stamp next to
   a nameplate, because the wordmark buys five times the horizontal reach.
   Alpha-channel measurements of the four source files:
     ibis / ibis Styles  pillow ink = 408–2043 of 2452 → 66.7% of box, 83% solid
     Mercure   lockup fills its box → ink 16.8% coverage, MERCURE cap = 44.1%
     Novotel   ink = x 28–2862, y 24–372 of 2890×400 → 98.1% × 87.3%, 29.4% cov
   Sizes below are solved so the four RENDERED ink areas land within 1.31× of
   each other — measured at 1440: 2613 / 2613 / 1989 / 2171 px², against the
   1.79× spread (1332 / 1458 / 1911) the old height-parity values produced.
   Optical (ink) widths end up 56 / 56 / 211.6 / 226.8 px — deliberately
   unequal, because a square badge and a horizontal wordmark reach equal WEIGHT
   at very different widths. At <480 the same ratios hold: 1517 / 1119 / 1325. */
.brand__logo--badge   { --logo-h: 84px; --trim-y: .166; --trim-x: .166; }
.brand__logo--mercure { --logo-h: 56px; --trim-y: 0;    --trim-x: 0;    }
.brand__logo--novotel { --logo-h: 32px; --trim-y: .062; --trim-x: .074; }

@media (max-width: 479px) {
  .brand__logo--badge   { --logo-h: 64px; }
  .brand__logo--mercure { --logo-h: 42px; }
  .brand__logo--novotel { --logo-h: 25px; }
}

.brand__body p {
  color: var(--white-78);
  font-size: var(--fs-small);
  line-height: 1.45;
  max-inline-size: 58ch;
}

.brand__name { color: var(--white); }

.brand__cta {
  align-self: flex-start;
  color: var(--mint);
  font-weight: 700;
  font-size: var(--fs-small);
  text-decoration: none;
}

.brand__cta::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  content: "";
}

.brand__cta:focus-visible {
  outline: var(--rule) solid var(--mint);
  outline-offset: var(--rule);
}

/* Hover reveals more PHOTO, never less contrast: the band that carries the
   copy is untouched, the picture scales under it (DESIGN-SPEC §5.2). */
.brand .tile__media img { transition: transform var(--t-slow) var(--ease); }

.brand:hover .tile__media img,
.brand:focus-within .tile__media img { transform: scale(1.045); }

.brands__rule { justify-content: flex-start; }

/* V2 — the band used to be 12 columns carrying two lines of prose and a link
   stranded at the far right: the lowest-value tile on the page per unit area.
   It now carries the ONE thing the postings actually prove — the three benefits
   that recur across them, each with its own tally — so the 12 columns buy three
   legible data items instead of one wrapped sentence. */
.brands__band {
  display: grid;
  align-items: start;
  gap: var(--s-6) var(--s-7);
  grid-template-columns: minmax(22ch, 1fr) 2fr;
  background-color: var(--green);
  border-color: var(--mint-22);
  color: var(--white);
}

.brands__band-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.brands__band-label { color: var(--mint); }

.brands__band-note {
  color: var(--white-78);
  font-size: var(--fs-small);
  line-height: 1.5;
  max-inline-size: 40ch;
}

.brands__band-note strong {
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}

.brands__band-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5) var(--s-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.brands__band-item {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding-block-start: var(--s-3);
  border-block-start: var(--rule) solid var(--mint-22);
}

.brands__band-tally {
  color: var(--mint);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 300;
  letter-spacing: var(--ls-display);
  line-height: 1;
}

.brands__band-of {
  font-size: .5em;
  letter-spacing: 0;
  opacity: .7;
}

.brands__band-name {
  color: var(--white);
  font-size: var(--fs-small);
  line-height: 1.35;
  text-wrap: balance;
}

.brands__band-link {
  grid-column: 1 / 2;
  justify-self: start;
  align-self: start;
  color: var(--mint);
  font-weight: 700;
  font-size: var(--fs-small);
  text-decoration: none;
}

.brands__band-link:hover .tile__arrow,
.brands__band-link:focus-visible .tile__arrow { transform: translateX(var(--s-2)); }

.brands__band-link .tile__arrow {
  display: inline-block;
  transition: transform var(--t-base) var(--ease);
}

.brands__band-link:focus-visible {
  outline: var(--rule) solid var(--mint);
  outline-offset: var(--rule);
}

/* brand field placement --------------------------------------------------- */
/* V4: the threshold tiles drop from two columns to ONE. At two columns they
   read as an empty tile that failed to load; at one column they read as a
   ruled seam between two photographs — which is what they are. */
@media (min-width: 1200px) {
  .brand--mercure  { grid-column: 1 / 7;   grid-row: 1 / 3; }
  .brands__rule--1 { grid-column: 7 / 8;   grid-row: 1 / 3; }
  .brand--novotel  { grid-column: 8 / 13;  grid-row: 1 / 3; }
  .brands__band    { grid-column: 1 / 13;  grid-row: 3 / 4; }
  .brand--ibis     { grid-column: 1 / 6;   grid-row: 4 / 6; }
  .brands__rule--2 { grid-column: 6 / 7;   grid-row: 4 / 6; }
  .brand--styles   { grid-column: 7 / 13;  grid-row: 4 / 6; }
}

@media (max-width: 1199px) {
  .brands > * { grid-column: 1 / -1; }
  /* three rows, not two: the tile has to stay tall enough that the copy band
     plus its fade still leave real photograph above them. */
  .brands .brand { grid-row: span 3; }
  .brands__rule,
  .brands__band { grid-row: span 1; }
  .brands__band { grid-template-columns: 1fr; gap: var(--s-5); }
  .brands__band-link { grid-column: 1 / -1; }
}

/* Below the two-column threshold the three tallies stack, and a stacked list of
   three 44px numerals is more air than information — so the numeral shrinks and
   the item goes horizontal, tally and name on one baseline. */
@media (max-width: 719px) {
  .brands__band-list { grid-template-columns: 1fr; gap: var(--s-4); }
  .brands__band-item {
    flex-direction: row;
    align-items: baseline;
    gap: var(--s-4);
  }
  .brands__band-tally { flex: 0 0 auto; font-size: 1.75rem; }
  .brands__band-name { text-wrap: initial; }
}

/* --------------------------------------------------------------------------
   5. MIÉRT MI — the culture tile field
   -------------------------------------------------------------------------- */

.culture__quote {
  color: var(--green);
  font-size: var(--fs-h3);
  font-style: italic;
  line-height: 1.4;
  text-wrap: balance;
}

/* --green-58 is documented in tokens.css as "large text / UI glyphs only"
   (3.42:1 on white). This is a 12px attribution, so it was riding a token it is
   not entitled to: measured 3.07:1 on the paper ground, against a 4.5:1 floor.
   --green-82 is the body-text step and measures 5.51:1 in the same place. */
.culture__cite {
  color: var(--green-82);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

.culture__f2 { gap: var(--s-4); }

/* Solved against the ADJACENCY LAW (DESIGN-SPEC §4): reading the field edge by
   edge, no photo touches a photo and no flat touches a flat. p2|p4 meet at one
   corner only, which is a point, not an edge. */
@media (min-width: 1200px) {
  .culture__p2 { grid-column: 1 / 8;   grid-row: 1 / 3; }
  .culture__f1 { grid-column: 8 / 13;  grid-row: 1 / 2; }
  .culture__d1 { grid-column: 8 / 13;  grid-row: 2 / 3; }
  /* BUILD-WP 5.10: the quote tile now has a portrait (Gurka-Valis Eszter) next to it.
     A portrait needs height, so f2 + p4 take two row units and the lower group moves down. */
  .culture__f2 { grid-column: 1 / 8;   grid-row: 3 / 5; }
  .culture__p4 { grid-column: 8 / 13;  grid-row: 3 / 5; }
  .culture__p3 { grid-column: 1 / 7;   grid-row: 5 / 7; }
  .culture__r1 { grid-column: 7 / 8;   grid-row: 5 / 7; }
  .culture__f3 { grid-column: 8 / 13;  grid-row: 5 / 7; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .culture__p2 { grid-column: span 8; grid-row: span 2; }
  .culture__f1 { grid-column: span 4; }
  .culture__d1 { grid-column: span 4; }
  .culture__p4 { grid-column: span 8; grid-row: span 2; }
  .culture__f2 { grid-column: span 8; }
  .culture__p3 { grid-column: span 4; grid-row: span 2; }
  .culture__r1 { grid-column: span 4; grid-row: span 2; }
  .culture__f3 { grid-column: span 8; }
}

@media (max-width: 767px) {
  .culture > * { grid-column: 1 / -1; }
  .culture .t-photo { grid-row: span 2; }
  .culture .t-flat,
  .culture .t-data,
  .culture .t-rule { grid-row: span 1; }
}

/* --------------------------------------------------------------------------
   5.5 KOLLÉGÁK MONDTÁK — the testimonial field
   Client review 2026-08-13: a testimonial section right after "Miért mi", in a
   photo AND a photo-free variant, because it is not yet known which colleagues
   will put their face on the site. The job list moves below this section.
   -------------------------------------------------------------------------- */

/* THE VARIANT SWITCH — one word on the <section>.
   In the prototype both tile sets sit in the DOM and the inactive one is hidden
   here, so the two variants can be compared by editing one attribute.
   tools/build_singlefile.py --variant strips the inactive set out of the
   delivered single file entirely: the photo-free build must not carry three
   base64 portraits it never shows. */
.say-sec[data-say-variant="photo"] .say__plate { display: none; }
.say-sec[data-say-variant="plain"] .say__photo { display: none; }

/* The quotes are SAMPLE content until the client supplies the real ones
   (DESIGN-SPEC §8: role + hotel attribution, never an invented person's name).
   Going live means replacing the text AND deleting this badge. */
.say__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}


/* the quote tile ---------------------------------------------------------- */
/* .t-flat centres its children; a quote reads better pinned to the top with the
   attribution on the floor of the tile. */
.say__quote-tile {
  justify-content: center;
  gap: var(--s-5);
}

.say__quote {
  color: var(--green);
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  font-style: italic;
  line-height: 1.4;
  text-wrap: pretty;
}

/* Measured like .culture__cite: --green-58 is documented as large-text-only
   (3.42:1), and this is a 12px attribution, so it rides --green-82 — 5.51:1 on
   the paper tile ground. */
.say__cite {
  color: var(--green-82);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

/* the photo-free companion ------------------------------------------------ */
/* Still a t-rule tile — "a mint rule + one label, mostly empty" (DESIGN-SPEC
   §4) — so the adjacency law and the hover set come for free. It is 4 columns
   wide rather than one, so its text is NOT given the .t-label class: that class
   is what the generic .t-rule turns vertical at >=1200, and vertical type in a
   490px-wide tile reads as a rendering fault. */
.say__plate-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-2);
  min-inline-size: 0;
}

.say__plate-area {
  color: var(--mint);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  line-height: 1.15;
  text-transform: uppercase;
}

.say__plate-hotel {
  color: var(--white-78);
  font-size: var(--fs-small);
  line-height: 1.4;
  text-wrap: pretty;
}

/* THE FIELD (BUILD-WP 5.9: five named colleagues) ------------------------- */
/* Solved against the ADJACENCY LAW (DESIGN-SPEC section 4), walked edge by edge,
   for each of the three breakpoints. p = photo (or plate), q = quote (flat), r0 = rule.

   >=1200  (12 columns, four 3-column groups, three 2-row bands)
     band 1:  p1 | q1 | p2 | q2          columns 1-3 / 4-6 / 7-9 / 10-12
     band 2:  q3 | p3 | q4 | p4
     band 3:  p5 | q5 | r0 (columns 7-12)
     horizontal: P-Q-P-Q, Q-P-Q-P, P-Q-rule: no photo|photo, no flat|flat.
     vertical per column: p1/q3/p5 · q1/p3/q5 · p2/q4/r0 · q2/p4/r0
                          = photo-flat-photo, flat-photo-flat, photo-flat-rule, flat-photo-rule.
     No violating pair.

   768-1199 (8 columns, one person per 2-row band, alternating sides)
     p1 q1 / q2 p2 / p3 q3 / q4 p4 / p5 q5, then r0 full width.
     Both columns alternate photo/flat top to bottom (cols 1-4: p q p q p, cols 5-8: q p q p q).
     No violating pair.

   <768    one column in DOM order: p1 q1 p2 q2 p3 q3 p4 q4 p5 q5 r0 = alternating
     photo / flat by construction. No violating pair.

   The photo-free (plain) variant puts c1..c5 in the same slots, so it inherits the audit. */
.say--five .say__quote-tile { padding: var(--s-5); }

.say--five .say__quote {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.45;
}

.say__cite { display: grid; gap: var(--s-1); }
.say__name { color: var(--green); font-weight: 700; }
.say__role { font-weight: 500; }
.say__extra {
  margin-block-start: var(--s-1);
  border-block-start: var(--hairline) solid var(--green-20);
  padding-block-start: var(--s-2);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: var(--fs-small);
}

.say__r0 { justify-content: flex-start; }
.say__r0-label { align-self: center; max-inline-size: none; }

@media (min-width: 1200px) {
  .say__p1, .say__c1 { grid-column: 1 / 4;   grid-row: 1 / 3; }
  .say__q1           { grid-column: 4 / 7;   grid-row: 1 / 3; }
  .say__p2, .say__c2 { grid-column: 7 / 10;  grid-row: 1 / 3; }
  .say__q2           { grid-column: 10 / 13; grid-row: 1 / 3; }
  .say__q3           { grid-column: 1 / 4;   grid-row: 3 / 5; }
  .say__p3, .say__c3 { grid-column: 4 / 7;   grid-row: 3 / 5; }
  .say__q4           { grid-column: 7 / 10;  grid-row: 3 / 5; }
  .say__p4, .say__c4 { grid-column: 10 / 13; grid-row: 3 / 5; }
  .say__p5, .say__c5 { grid-column: 1 / 4;   grid-row: 5 / 7; }
  .say__q5           { grid-column: 4 / 7;   grid-row: 5 / 7; }
  .say__r0           { grid-column: 7 / 13;  grid-row: 5 / 7; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .say--five > * { grid-column: span 4; grid-row: span 2; }
  .say--five .say__p1, .say--five .say__c1 { grid-column: 1 / 5; grid-row: 1 / 3; }
  .say--five .say__q1 { grid-column: 5 / 9; grid-row: 1 / 3; }
  .say--five .say__q2 { grid-column: 1 / 5; grid-row: 3 / 5; }
  .say--five .say__p2, .say--five .say__c2 { grid-column: 5 / 9; grid-row: 3 / 5; }
  .say--five .say__p3, .say--five .say__c3 { grid-column: 1 / 5; grid-row: 5 / 7; }
  .say--five .say__q3 { grid-column: 5 / 9; grid-row: 5 / 7; }
  .say--five .say__q4 { grid-column: 1 / 5; grid-row: 7 / 9; }
  .say--five .say__p4, .say--five .say__c4 { grid-column: 5 / 9; grid-row: 7 / 9; }
  .say--five .say__p5, .say--five .say__c5 { grid-column: 1 / 5; grid-row: 9 / 11; }
  .say--five .say__q5 { grid-column: 5 / 9; grid-row: 9 / 11; }
  .say--five .say__r0 { grid-column: 1 / -1; grid-row: 11 / 12; }
  .say--five .say__quote { font-size: clamp(1.05rem, 1.9vw, 1.35rem); }
}

/* Stacked below 768 the DOM order IS the visual order, and the DOM already
   alternates companion-quote-companion-quote. Quotes are not row-locked:
   .tile-field uses grid-auto-rows: minmax(var(--row), auto), so a long quote grows
   its tile instead of clipping. */
@media (max-width: 767px) {
  .say > * { grid-column: 1 / -1; }
  .say .t-photo { grid-row: span 2; }
  .say .t-flat,
  .say .t-rule { grid-row: span 1; }
  .say--five .say__quote { font-size: clamp(1.1rem, 4.4vw, 1.3rem); }
}

/* --------------------------------------------------------------------------
   6. VIDEÓ — grow to full bleed
   -------------------------------------------------------------------------- */

.video-band {
  display: flex;
  justify-content: center;
  inline-size: 100%;
  margin-block-start: var(--s-7);
}

.video-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  inline-size: calc(62% + 38% * var(--grow, 0));
  border-inline: 0;
}

@supports (animation-timeline: view()) {
  .video-card {
    inline-size: 62%;
    animation: video-grow linear both;
    animation-timeline: view();
    animation-range: entry 25% cover 55%;
  }
}

@keyframes video-grow { to { inline-size: 100%; } }

.video-card__media { z-index: 0; }

.video-card__play {
  position: absolute;
  z-index: 3;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  display: grid;
  place-items: center;
  margin: -48px 0 0 -48px;
  inline-size: 96px;
  block-size: 96px;
  border: var(--rule) solid var(--mint);
  border-radius: var(--radius-pill);
  background: rgba(1, 80, 70, .62);
  color: var(--mint);
}

.video-card__tri {
  inline-size: 0;
  block-size: 0;
  margin-inline-start: 6px;
  border-block: 14px solid transparent;
  border-inline-start: 22px solid currentColor;
}

.video-card__play:focus-visible {
  outline: var(--rule) solid var(--mint);
  outline-offset: var(--s-1);
}

@media (max-width: 767px) {
  .video-card { inline-size: 100%; animation: none; }
  .video-card__play { margin: -28px 0 0 -28px; inline-size: 56px; block-size: 56px; }
  .video-card__tri { border-block-width: 9px; border-inline-start-width: 14px; }
}

/* --------------------------------------------------------------------------
   7. GYAKORNOKI PROGRAM
   -------------------------------------------------------------------------- */

.intern__copy { justify-content: center; gap: var(--s-3); }
.intern__btn { align-self: flex-start; margin-block-start: var(--s-3); }
.intern__data { background: var(--paper); }

@media (max-width: 1199px) {
  .intern > * { grid-column: 1 / -1; }
  .intern .t-data { grid-row: span 1; }
}

/* --------------------------------------------------------------------------
   8. GYIK
   -------------------------------------------------------------------------- */

/* Not a tile field: an accordion inside `.tile` (overflow: hidden, fixed row
   units) fights its own container every time an item opens. Two columns of
   plain flow instead — heading rail left, questions right. */
.faq {
  display: grid;
  grid-template-columns: minmax(28ch, 4fr) 7fr;
  gap: var(--s-7) var(--s-8);
  align-items: start;
}

.faq__intro {
  display: grid;
  grid-template-columns: var(--rule) 1fr;
  gap: var(--s-5);
  align-items: stretch;
}

.faq__rule { block-size: 100%; }

.faq__intro-copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.faq__intro-copy .t-label { color: var(--green-label); }

.faq__lead {
  color: var(--green-82);
  font-size: var(--fs-small);
  line-height: 1.55;
}

.faq__items {
  display: flex;
  flex-direction: column;
  border-block-start: var(--hairline) solid var(--green-20);
}

.faq__item { border-block-end: var(--hairline) solid var(--green-20); }

.faq__q {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  padding-block: var(--s-5);
  color: var(--green);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h2);
  cursor: pointer;
  list-style: none;
  transition: color var(--t-fast) var(--ease);
}

.faq__q::-webkit-details-marker { display: none; }

/* The marker is a plus that becomes a minus — a rotating chevron reads as
   "next", a plus/minus reads as "more of this". Mint on paper is 1.31:1, so it
   is a decorative glyph beside a 11.4:1 label, never the only signal: the
   open state is also carried by the answer appearing. */
.faq__q::before {
  flex: 0 0 auto;
  align-self: center;
  inline-size: 14px;
  block-size: 14px;
  background:
    linear-gradient(var(--green), var(--green)) center / 100% var(--rule) no-repeat,
    linear-gradient(var(--green), var(--green)) center / var(--rule) 100% no-repeat;
  content: "";
  transition: background-size var(--t-base) var(--ease);
}

.faq__item[open] .faq__q::before { background-size: 100% var(--rule), var(--rule) 0; }

.faq__q:hover { color: var(--green-82); }

.faq__q:focus-visible {
  outline: var(--rule) solid var(--green);
  outline-offset: var(--s-1);
}

.faq__a {
  padding-block-end: var(--s-5);
  padding-inline-start: calc(14px + var(--s-4));
}

.faq__a p {
  color: var(--green-82);
  font-size: var(--fs-small);
  line-height: 1.6;
  max-inline-size: 62ch;
}

.faq__a a { color: var(--green); }

/* Stacked: the rail turns horizontal. `.rule--draw` animates scaleY, which
   would collapse a 2px-tall bar to nothing until the observer fires, so the
   transform is neutralised here and the rail is simply always drawn. */
@media (max-width: 1023px) {
  .faq { grid-template-columns: 1fr; gap: var(--s-7); }
  .faq__intro { grid-template-columns: 1fr; gap: var(--s-4); }
  .faq__rule { block-size: var(--rule); inline-size: 100%; transform: none; }
}

/* --------------------------------------------------------------------------
   9. CTA
   -------------------------------------------------------------------------- */

.cta {
  display: grid;
  gap: var(--s-8);
  grid-template-columns: 1fr;
  align-items: start;
}

.cta__copy {
  position: relative;
  display: grid;
  gap: var(--s-4);
  padding-inline-start: var(--s-5);
}

.cta__rule {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
}

.cta__form {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}

.section--dark .field__label { color: var(--white); }

.section--dark .field :is(input, select) {
  border-color: var(--mint-22);
  background: var(--green);
  color: var(--white);
}

.section--dark .field :is(input, select):focus-visible {
  outline-color: var(--mint);
}

.section--dark .field--error :is(input, select) { border-color: var(--mint); }
.section--dark .field__message { color: var(--mint); }

.cta__submit { justify-self: start; }

@media (min-width: 768px) {
  .cta__form { grid-template-columns: 1fr 1fr; }
  .cta__form .field--trap,
  .cta__submit,
  .cta__form .form-success { grid-column: 1 / -1; }
}

@media (min-width: 1100px) {
  .cta { grid-template-columns: 5fr 6fr; gap: var(--s-10); }
}

/* --------------------------------------------------------------------------
   10. FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
  border-block-start: var(--rule) solid var(--mint);
  background: var(--green);
  color: var(--white-78);
  padding-block: var(--s-9) var(--s-6);
}

.site-footer__inner {
  display: grid;
  gap: var(--s-8);
  grid-template-columns: 1fr;
}

.site-footer__brand {
  display: grid;
  gap: var(--s-4);
  justify-items: start;
  color: var(--white);
}

.wordmark--stack {
  inline-size: 220px;
  block-size: auto;
}

.site-footer__tag {
  color: var(--white-78);
  font-size: var(--fs-small);
  max-inline-size: 34ch;
}

/* Same four marks as the hero strip, same pairing (white wordmarks + the
   brands' own pillows) because the ground is the same --green. Smaller, and
   allowed to wrap: the brand column is ~300px and the row measures ~275px. */
.site-footer__brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4);
  margin-block-start: var(--s-5);
  padding: 0;
  list-style: none;
}

.site-footer__brand-logo {
  display: block;
  inline-size: auto;
  max-inline-size: none;
  block-size: var(--logo-h);
}

.site-footer__brand-logo--badge   { --logo-h: 48px; }
.site-footer__brand-logo--mercure { --logo-h: 24px; }
.site-footer__brand-logo--novotel { --logo-h: 14px; }

.site-footer__nav {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.site-footer__col .t-label {
  color: var(--mint);
  margin-block-end: var(--s-3);
}

.site-footer__col ul {
  display: grid;
  gap: var(--s-2);
  list-style: none;
}

.site-footer__col a {
  color: var(--white-78);
  font-size: var(--fs-small);
  text-decoration: none;
  border-block-end: var(--hairline) solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.site-footer__col a:hover,
.site-footer__col a:focus-visible {
  color: var(--white);
  border-block-end-color: var(--mint);
}

.site-footer__col a:focus-visible {
  outline: var(--rule) solid var(--mint);
  outline-offset: var(--s-1);
}

.site-footer__note {
  margin-block-start: var(--s-3);
  color: var(--white-note);
  font-size: .8125rem;
  line-height: 1.5;
  max-inline-size: 32ch;
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-4);
  border-block-start: var(--hairline) solid var(--mint-22);
  padding-block-start: var(--s-5);
}

.site-footer__sample,
.site-footer__copy {
  color: var(--white-note);
  font-size: .8125rem;
}

.site-footer__sample-mark {
  display: inline-block;
  margin-inline-end: var(--s-2);
  border: var(--hairline) solid var(--mint-22);
  padding: 1px var(--s-2);
  color: var(--mint);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .site-footer__inner { grid-template-columns: 5fr 7fr; }
  .site-footer__base { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   11. TOUCH + REDUCED MOTION
   -------------------------------------------------------------------------- */

@media (hover: none) {
  .brand:hover .tile__media img { transform: none; }
  .nav-menu__list a:hover::after { inline-size: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img,
  .hero__seam,
  .hero__line > span,
  .hero__dot,
  .video-card {
    animation: none !important;
  }

  .video-card { inline-size: 92%; }

  .brand .tile__media img { transition: none !important; }
  .brand:hover .tile__media img,
  .brand:focus-within .tile__media img { transform: none; }
}

/* ==========================================================================
   12. WORDPRESS PORT ADDITIONS (BUILD-WP 5)
   Everything below exists only because the prototype became a live site:
   rotating brand photos, server-side form states, the video without a button,
   the five-person colleague grid helpers. Nothing above this line was restyled.
   ========================================================================== */

/* 12.1 Rotating brand photos (5.11). The first image is the static fallback: it
   is visible without JS and under prefers-reduced-motion. assets/js/app.js only
   toggles .is-on on the following images, which crossfade over it. */
/* `.brand .tile__media img { transition: transform }` (0,2,1) used to outrank this (0,1,1),
   so the opacity transition was dropped and every swap was a hard cut. Same specificity+ here.
   Crossfade without a dip: the incoming image (.is-on, z-index 2) fades in OVER the outgoing
   one, which app.js keeps at full opacity (.is-prev, z-index 1) until the fade has finished. */
.brand .brand__rotor img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 1000ms ease-in-out, transform var(--t-slow) var(--ease);
}

.brand .brand__rotor img.is-prev { opacity: 1; z-index: 1; }
.brand .brand__rotor img.is-on { opacity: 1; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .brand .brand__rotor img { transition: none !important; }
}

/* 12.2 The benefits band without tallies (5.16): the name carries the item. */
.brands__band-item--plain .brands__band-name {
  font-size: var(--fs-h3);
  line-height: 1.3;
}

/* 12.3 Form result blocks and the consent line of the home forms (4.4). */
.form-error {
  border-inline-start: var(--rule) solid var(--green);
  background: var(--paper);
  padding: var(--s-3) var(--s-4);
  color: var(--green);
  font-weight: 500;
}

.section--dark .form-error {
  border-inline-start-color: var(--mint);
  background: var(--mint-12);
  color: var(--white);
}

.jobs__status { margin-block-end: var(--s-5); }

.field--consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: var(--s-3);
}

.field--consent input {
  inline-size: var(--s-5);
  min-block-size: var(--s-5);
  margin-block-start: var(--s-1);
  accent-color: var(--green);
}

.field--consent label {
  color: var(--green-82);
  font-size: var(--fs-small);
  font-weight: 400;
}

.section--dark .field--consent label { color: var(--white); }
.section--dark .field--consent input { accent-color: var(--mint); }
.field--consent .field__message { grid-column: 1 / -1; }

.section--dark .field :is(input, select, textarea) {
  border-color: var(--mint-22);
  background: var(--green);
  color: var(--white);
}

.section--dark .field input[type="file"]::file-selector-button { cursor: pointer; }

@media (min-width: 768px) {
  .cta__form .form-error,
  .cta__form .field--consent { grid-column: 1 / -1; }
  .jobs__empty-form .field--consent { grid-column: 1 / -1; }
}

/* 12.4 Video section with a native player (5.15). Without a configured file the
   figure only holds the poster and no play button is printed. */
.video-card__video {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  background: var(--green);
}

/* 12.5 Internship page: the contact line under the closing heading. */
.intern-cta__contact {
  margin-block-start: var(--s-3);
  color: var(--white-78);
  font-size: var(--fs-small);
}

.intern-cta__contact a { color: var(--mint); }

/* 12.6 A long e-mail address must wrap instead of widening the page at 390px. */

.site-footer__note a,

.intern-cta__contact a { overflow-wrap: anywhere; }

/* 12.7 No hyphenation in titles, labels or the hero (client reviewer: "Bizonyos
   képernyőméretnél furán néz ki, hogy elválaszt"). The hero idea is a <p>, which
   base.css hyphenates; the job/intern headings were hyphenated in subpages.css.
   Words stay whole; only a word wider than its box may break (overflow-wrap). */
:is(h1, h2, h3, h4, .t-display, .t-h1, .t-h2, .t-h3, .t-label, .hero__idea, .hero__promise) {
  hyphens: manual;
  overflow-wrap: break-word;
}

/* 12.8 Batch 2 fixes (orchestrator review 2026-10-07). */

/* Job-card benefit chips wrap instead of being cut (a chip is never truncated with an ellipsis). */
.job-card__benefit {
  white-space: normal;
  line-height: 1.4;
}

/* "Miért mi": the 2-row quote tile (Gurka-Valis) was a hollow box. Same cure as the colleague
   tiles of 2026-08-13: centre the block, bigger type, more air around it. */
@media (min-width: 1200px) {
  .culture__f2 {
    justify-content: center;
    gap: var(--s-6);
    padding: var(--s-7);
  }

  .culture__f2 .culture__quote {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    line-height: 1.3;
  }

  .culture__f2 .culture__cite {
    font-size: var(--fs-small);
    line-height: 1.5;
  }
}

/* Job detail: the sidebar facts stack in one column (a two-column split broke "egyeztetés" mid-word),
   and values only break a word when it cannot fit at all. */
.application-card__facts { grid-template-columns: 1fr; }
.job-facts dd { overflow-wrap: break-word; hyphens: manual; }

/* Application form: rows align to their top edge, so a field with a hint line under it does not
   stretch its neighbour (the phone input sat ~20px lower than the file input). */
.application-form__fields { align-items: start; }
.application-form .field { align-content: start; }

/* Job header: brand logo on its own row above the eyebrow, and air between header and breadcrumb. */
.job-header__identity {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
}

.job-header { padding-block-start: clamp(var(--s-7), 6vw, var(--s-9)); }

/* With hyphenation off, "Egy nyitott ajtó." has to FIT on one line in the 45% panel (the
   prototype relied on "nyi-tott" breaking). Size the display line from the real text column
   (--hero-text-max) instead of the viewport; below 900 the stacked layout keeps the old clamp. */
@media (min-width: 900px) {
  .hero__idea { font-size: clamp(2.5rem, calc(var(--hero-text-max) / 7.2), 6rem); }
}

.job-header__inner { gap: var(--s-6); }

/* 12.9 Brand / hotel names are never hyphenated; the rest of the body copy keeps Hungarian hyphenation. */
.nohy { hyphens: manual; overflow-wrap: normal; }

/* Footer legal links (Adatkezelési tájékoztató, Impresszum) sit under the contact note. */
.site-footer__col .site-footer__legal { margin-block-start: var(--s-3); }
