/*
 * Responsive Header + Hero — complete mobile implementation.
 * Scope is strictly 320–767px. Accepted layouts at 768px and above are not
 * overridden. The approved decoration plate remains the only artwork.
 */
@media (min-width: 320px) and (max-width: 767px) {
  .f4u-utility,
  .f4u-header,
  .f4u-hero {
    font-family: "F4U Bahnschrift", "Bahnschrift", "Segoe UI", sans-serif;
    font-synthesis: none;
  }

  .f4u-utility {
    height: 32px;
    overflow: hidden;
    border: 0;
    background: #f7d8dc;
    color: #292526;
    font-size: clamp(7px, 2.25vw, 9px);
    letter-spacing: .025em;
  }

  .f4u-utility .f4u-container {
    display: flex;
    width: auto;
    min-height: 32px;
    margin: 0 clamp(10px, 3vw, 16px);
    align-items: center;
    justify-content: center;
  }

  .f4u-utility__start {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
  }

  .f4u-utility__start svg {
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.35;
  }

  .f4u-utility__accent,
  .f4u-utility__end { display: none; }

  .f4u-header {
	  height: 111px;
    border: 0;
    background: rgba(255, 255, 255, .98);
  }

  .f4u-header__inner {
    position: relative;
    display: grid;
    width: auto;
	  min-height: 111px;
    margin: 0 clamp(10px, 3vw, 16px);
	  grid-template-columns: 44px clamp(64px, 18vw, 76px) minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(2px, .8vw, 4px);
  }

  .f4u-header__thread { display: none; }

  .f4u-menu-toggle {
    display: inline-flex;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 999px;
  }

  .f4u-menu-toggle .f4u-control__label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .f4u-brand {
    display: flex;
	  width: clamp(64px, 18vw, 76px);
	  height: 111px;
    grid-column: 2;
    align-items: center;
    overflow: visible;
  }

  .f4u-brand__link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
  }

  .f4u-brand img,
  .f4u-brand__logo {
	  width: clamp(64px, 18vw, 76px);
	  height: clamp(64px, 18vw, 76px);
    max-width: none;
    max-height: none;
    margin: 0;
    aspect-ratio: 1;
    object-fit: contain;
  }

  .f4u-nav {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    margin: 0;
    padding: 14px clamp(14px, 4vw, 20px) 18px;
    border-top: 1px solid rgba(207,95,107,.12);
    border-bottom: 1px solid rgba(207,95,107,.2);
    background: rgba(255,255,255,.99);
    box-shadow: 0 16px 28px rgba(74,47,43,.1);
  }

  .f4u-nav.is-open { display: block; }
  .f4u-nav ul {
    width: 100%;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .f4u-nav a,
  .f4u-nav .qa-nav span {
    display: block;
    padding: 11px 8px;
    color: #252223;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .045em;
    line-height: 1;
  }

  .f4u-header__actions {
    display: flex;
    width: auto;
    min-width: max-content;
    grid-column: 4;
    grid-template-columns: none;
    justify-self: end;
    align-items: center;
    gap: 0;
  }

  .f4u-header__actions .f4u-icon-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 999px;
  }

  .f4u-header__actions .f4u-control__label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .f4u-control__icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.45;
  }

  .f4u-hero {
    height: clamp(930px, calc(90.9vw + 639px), 1030px);
    padding: 0;
    overflow: hidden;
    background: #fff8f7;
  }

  .f4u-hero__frame,
  .f4u-hero__surface {
    width: 100%;
    height: clamp(930px, calc(90.9vw + 639px), 1030px);
    min-height: 0;
    margin: 0;
  }

  .f4u-hero__surface {
    position: relative;
    isolation: isolate;
    display: block;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #fff8f7;
    box-shadow: none;
  }

  .f4u-hero__surface::before,
  .f4u-hero__surface::after {
    display: none;
    background: none;
    content: none;
  }

  .f4u-hero__decoration {
    position: absolute;
    z-index: 0;
    top: 0;
    left: -65%;
    display: block;
    width: 230%;
    height: auto;
    max-width: none;
    opacity: 1;
    pointer-events: none;
  }

  .f4u-hero__brush,
  .f4u-hero .f4u-gold-stroke { display: none; }

  .f4u-hero__copy {
    position: absolute;
    z-index: 4;
    top: clamp(20px, 6vw, 26px);
    left: 50%;
    width: min(91vw, 620px);
    max-width: none;
    padding: 0;
    text-align: center;
    transform: translateX(-50%);
  }

  .f4u-hero .f4u-eyebrow {
    margin: 0 0 5px;
    color: #cf5f6b;
    font-size: clamp(10px, 3vw, 12px);
    font-weight: 600;
    letter-spacing: .18em;
    line-height: 1.2;
  }

  .f4u-hero h1,
  .f4u-hero .f4u-hero__slide-title {
    max-width: 100%;
    margin: 0;
    color: #202021;
    font-family: var(--f4u-hero-headline-font, Georgia, "Times New Roman", serif);
    font-size: min(var(--f4u-hero-headline-size, 126px), clamp(62px, 17vw, 74px));
    font-weight: 400;
    letter-spacing: -.058em;
    line-height: var(--f4u-hero-headline-line-height, .96);
    overflow-wrap: normal;
    text-wrap: balance;
    white-space: normal;
  }

  .f4u-hero .f4u-script {
    width: 100%;
    max-width: 100%;
    margin: -2px 0 0;
    color: #cf5f6b;
    font-family: var(--f4u-font-script);
    font-size: min(var(--f4u-hero-malvinas-size, 72px), clamp(34px, 10.2vw, 43px));
    font-style: normal;
    font-weight: 400;
    font-synthesis: none;
    letter-spacing: 0;
    line-height: var(--f4u-hero-malvinas-line-height, 1);
    white-space: normal;
  }

  .f4u-hero .f4u-script__ampersand {
    display: inline-block;
    margin: 0 .04em;
    color: inherit;
    font-family: Georgia, "Times New Roman", serif;
    font-size: .55em;
    font-style: italic;
    font-weight: 400;
    line-height: 1;
    transform: translateY(.1em);
  }

  .f4u-hero .f4u-lede {
    display: block;
    width: min(88vw, 520px);
    max-width: 100%;
    min-height: 0;
    margin: clamp(9px, 2.7vw, 12px) auto 0;
    color: #292627;
    font-size: min(var(--f4u-hero-supporting-copy-size, 17px), clamp(13px, 3.6vw, 15px));
    font-weight: 400;
    line-height: var(--f4u-hero-supporting-copy-line-height, 1.45);
  }

  .f4u-hero__ctas {
    display: flex;
    justify-content: center;
    gap: clamp(8px, 2.6vw, 12px);
    margin-top: clamp(10px, 3vw, 13px);
  }

  .f4u-hero__copy .f4u-button,
  .f4u-hero__copy .f4u-button--secondary {
    width: min(42vw, 178px);
    min-width: 0;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0 8px;
    border-radius: 5px;
    font-size: min(var(--f4u-hero-cta-label-size, 14px), clamp(9px, 2.7vw, 11px));
    font-weight: var(--f4u-hero-cta-label-weight, 600);
    letter-spacing: .04em;
    white-space: nowrap;
  }

  .f4u-hero__copy .f4u-button--secondary {
    border-color: #bb8534;
    background: rgba(255, 255, 255, .94);
    color: #a56d1d;
    box-shadow: none;
  }

  .f4u-media--hero {
    position: absolute;
    z-index: 3;
    top: clamp(338px, calc(12.7vw + 297px), 352px);
    left: 50%;
    width: clamp(230px, 67.5vw, 290px);
    height: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 458 / 657;
    border: 2px solid #c99022;
    border-radius: clamp(19px, 5.8vw, 24px);
    background: transparent;
    box-shadow: 0 0 0 5px rgba(255,255,255,.86), 0 12px 28px rgba(74,47,43,.12);
    transform: translateX(-50%);
  }

  .f4u-media--hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--f4u-hero-focal-x, 50%) var(--f4u-hero-focal-y, 50%);
  }

  .f4u-hero__media-placeholder,
  .f4u-media--hero-deferred {
    width: clamp(230px, 67.5vw, 290px);
    height: auto;
    aspect-ratio: 458 / 657;
  }

  .f4u-hero__benefits {
    position: absolute;
    z-index: 5;
    top: clamp(692px, calc(90.9vw + 401px), 792px);
    left: 50%;
    display: flex;
    width: min(94vw, 410px);
    height: 64px;
    align-items: center;
    gap: clamp(3px, 1.5vw, 7px);
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translateX(-50%);
  }

  .f4u-hero__benefit {
    display: grid;
    flex: 1 1 0;
    min-width: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 36px auto;
    align-items: center;
    justify-items: center;
    gap: 3px;
    padding: 0 clamp(2px, 1vw, 4px);
    border-right: 1px solid rgba(205, 141, 147, .35);
    text-align: center;
  }

  .f4u-hero__benefit:last-child { border-right: 0; }
  .f4u-hero__benefit-icon-frame {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
  }

  .f4u-hero--benefit-icons-outline .f4u-hero__benefit-icon-frame {
    border-color: rgba(207, 95, 107, .4);
    background: rgba(255, 255, 255, .58);
  }

  .f4u-hero--benefit-icons-blush .f4u-hero__benefit-icon-frame {
    border-color: transparent;
    background: #f8e8e8;
  }

  .f4u-hero__benefit-icon {
    display: block;
    width: min(var(--f4u-hero-benefit-icon-size, 36px), 31px);
    max-width: none;
    height: min(var(--f4u-hero-benefit-icon-size, 36px), 31px);
    margin: 0;
    object-fit: contain;
  }

  .f4u-hero__benefit .f4u-hero__benefit-label {
    color: #2f2b2b;
    font-family: "F4U Bahnschrift";
    font-size: min(var(--f4u-hero-benefit-text-size, 15px), clamp(10px, 3vw, 12px));
    font-weight: var(--f4u-hero-benefit-text-weight, 500);
    letter-spacing: 0;
    line-height: var(--f4u-hero-benefit-text-line-height, 1.25);
  }

  .f4u-hero__nav {
    position: absolute;
    z-index: 6;
    top: clamp(767px, calc(90.9vw + 476px), 867px);
    bottom: auto;
    left: 50%;
    display: flex;
    width: min(98vw, 424px);
    height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2px, 1vw, 5px);
    margin: 0;
    transform: translateX(-50%);
  }

  .f4u-hero__nav-track {
    display: flex;
    flex: 1;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2px, 1vw, 5px);
  }

  .f4u-hero__nav .f4u-hero__arrow {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    place-items: center;
  }

  .f4u-hero__arrow-control {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
  }

  .f4u-hero--selector-arrow-circle .f4u-hero__arrow-control {
    border-color: rgba(47, 43, 43, .18);
    background: rgba(255, 255, 255, .58);
  }

  .f4u-hero__arrow-icon {
    display: block;
    width: min(var(--f4u-hero-selector-arrow-glyph-size, 20px), 18px);
    height: min(var(--f4u-hero-selector-arrow-glyph-size, 20px), 18px);
    border-right: var(--f4u-hero-selector-arrow-stroke, 2.5px) solid #2f2b2b;
    border-bottom: var(--f4u-hero-selector-arrow-stroke, 2.5px) solid #2f2b2b;
    filter: contrast(var(--f4u-hero-selector-arrow-contrast, 1.1));
    transform: rotate(135deg);
    transform-origin: center;
  }

  .f4u-hero__arrow--next .f4u-hero__arrow-icon { transform: rotate(-45deg); }

  .f4u-hero__nav-track button {
    display: grid;
    flex: 1 1 0;
    min-width: 0;
    min-height: 52px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: center;
    gap: 2px;
    padding: 3px 1px 6px;
    border: 0;
    border-bottom: 2px solid rgba(207,95,107,.18);
    border-radius: 0;
    background: transparent;
    color: #343031;
    text-align: center;
  }

  .f4u-hero__nav-track button[aria-pressed="true"] { border-color: #cf5f6b; }
  .f4u-hero__nav-track button strong {
    color: #ba5b65;
    font-family: Georgia, "Times New Roman", serif;
    font-size: min(var(--f4u-hero-selector-number-size, 36px), clamp(23px, 7vw, 28px));
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1;
  }

  .f4u-hero__nav-track button span {
    color: #2f2b2b;
    font-size: min(var(--f4u-hero-selector-label-size, 11px), clamp(7px, 2.2vw, 9px));
    font-weight: 500;
    letter-spacing: .055em;
    line-height: 1;
    text-transform: uppercase;
  }
}

@media (min-width: 320px) and (max-width: 359px) {
  .f4u-hero,
  .f4u-hero__frame,
  .f4u-hero__surface { height: 960px; }

  .f4u-hero__ctas {
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }

  .f4u-hero__copy .f4u-button,
  .f4u-hero__copy .f4u-button--secondary { width: min(82vw, 260px); }

  .f4u-media--hero { top: 397px; }
  .f4u-hero__benefits { top: 751px; }
  .f4u-hero__nav { top: 826px; }
}
