.header .language-switch {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .55em;
  font-size: var(--small);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.language-switch a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: .28em;
}

.language-switch a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .header .language-switch {
    margin-inline-start: .75rem;
  }

  .header .menu-toggle {
    margin-inline-start: auto;
  }
}

.header.landing-menu .brand {
  width: auto;
  padding-inline: 0;
  font-size: clamp(37px, 4.2vw, 44px);
}

.outfit-hero .outfit-meta {
  grid-template-columns: 1.15fr 1.55fr minmax(max-content, 1fr);
  align-items: start;
}

.outfit-hero .outfit-meta > .outfit-links {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  margin-inline: 0;
  transform: none;
}

.outfit-hero .outfit-meta > .outfit-description {
  grid-column: 2;
  grid-row: 1;
}

.outfit-hero .outfit-meta > .outfit-identity {
  grid-column: 3;
  grid-row: 1;
}

.outfit-meta > .language-switch {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  justify-self: end;
  gap: .65rem;
  padding-block: 0;
  font-size: var(--small);
  font-weight: 600;
}

.outfit-meta > .language-switch a {
  padding-block: .4rem;
}

@media (max-width: 1000px) {
  .outfit-hero .outfit-meta {
    grid-template-columns: minmax(0, 1fr) minmax(max-content, 1fr);
  }

  .outfit-hero .outfit-meta > .outfit-description {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .outfit-hero .outfit-meta > .outfit-identity {
    grid-column: 2;
  }

  .outfit-meta > .language-switch {
    grid-column: 2;
    grid-row: 3;
  }
}

@media (max-width: 560px) {
  .outfit-hero .outfit-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .outfit-hero .outfit-meta > .outfit-identity {
    grid-column: 1;
    grid-row: 3;
  }

  .outfit-meta > .language-switch {
    grid-column: 1;
    grid-row: 4;
  }
}

.header.landing-menu .menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.header.landing-menu .menu-toggle span {
  display: block;
  width: 22px;
  height: 8px;
  border-block: 1px solid currentColor;
}

.header.landing-menu #main-nav {
  display: none;
  position: absolute;
  inset: 0 54px 0 auto;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent !important;
  gap: clamp(.55rem, 1.4vw, 1.35rem);
}

.header.landing-menu #main-nav.open {
  display: flex;
}

@media (max-width: 900px) {
  .header.landing-menu:has(#main-nav.open) {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
  }

  .header.landing-menu #main-nav {
    position: static;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }
}

.header.landing-menu > .language-switch {
  margin-inline-start: auto;
  margin-inline-end: 1.8rem;
  gap: .6rem;
  font-size: 12px;
}
.header.landing-menu > .menu-toggle {
  margin-inline-start: 0;
}
.header.landing-menu #main-nav {
  right: 11.5rem;
}
.outfit-hero .outfit-meta {
  padding-bottom: 12px;
}

/* Responsive layout: fluid columns, comfortable touch targets and natural media flow. */
:root { --gap: clamp(16px, 1.6vw, 40px); }
html { -webkit-text-size-adjust: 100%; }
body { overflow-wrap: break-word; }
img, video, svg { max-width: 100%; }
:is(.section-grid, .sub-lead, .spec-row, .footer-grid, .outfit-meta) > * { min-width: 0; }
.legal-copy { overflow-wrap: anywhere; }
.header .language-switch a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 28px; }
.menu-toggle { touch-action: manipulation; }
summary { touch-action: manipulation; }
.intro .intro-copy p:first-child { white-space: normal; text-wrap: balance; }
.contact-title { white-space: normal; text-wrap: balance; }
@media (min-width: 1800px) {
  .intro .intro-copy, .about-copy { max-width: 850px; }
  .intro .intro-copy p { font-size: 26px; line-height: 1.4; }
  .about-copy p { font-size: 32px; }
  .legal-copy { max-width: 900px; font-size: 18px; }
}
@media (max-width: 1100px) {
  .header, body:has(.outfit-hero) > .header { height: auto; min-height: 76px; padding: 12px var(--gap); margin: 0; gap: 8px; flex-wrap: wrap; }
  .header .brand, body:has(.outfit-hero) > .header .brand { width: auto; padding: 0; font-size: clamp(32px, 4.5vw, 42px); }
  .header .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; font-size: 0; order: 3; margin: 0; }
  .header .menu-toggle span { display: block; font-size: 0; width: 22px; height: 8px; border-block: 1px solid currentColor; }
  .header > .language-switch, .header.landing-menu > .language-switch { order: 2; margin: 0 8px 0 auto; font-size: 13px; gap: 4px; }
  .header #main-nav, .header.landing-menu #main-nav, body:has(.outfit-hero) > .header #main-nav { display: none; position: static; inset: auto; order: 4; flex: 0 0 100%; width: 100%; height: auto; padding: 12px 0 4px; flex-direction: column; align-items: flex-end; gap: 0; border: 0; background: var(--paper) !important; font-size: 18px; }
  .header #main-nav.open, .header.landing-menu #main-nav.open { display: flex; }
  .header #main-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; }
  .product-hero.sub-hero { padding-top: 28px; min-height: 0; }
  .product-hero .back { margin-bottom: 40px; min-height: 32px; }
  .product-hero h1 { font-size: clamp(48px, 10vw, 110px); line-height: .95; margin-bottom: 32px; }
  .product-hero:has(.vinyl-create) { display: block; padding-bottom: 0; }
  .product-hero .sub-lead { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; margin-top: 0; margin-bottom: 56px; }
  .product-hero .sub-lead > .eyebrow { position: static; top: auto; transform: none; grid-area: auto; }
  .product-hero .sub-lead .ai-media, .product-hero .sub-lead .ai-media:has(.cd-slideshow), .product-hero .sub-lead .ai-media:has(.packaging-slideshow), .product-hero .sub-lead .ai-media:has(.vinyl-create) { position: static; inset: auto; top: auto; transform: none; margin: 0; width: 100%; grid-area: auto; }
  .product-hero:has(.cd-slideshow) .sub-lead, .product-hero:has(.packaging-slideshow) .sub-lead { margin-top: 0; margin-bottom: 56px; }
  .product-hero + section.specs, .product-hero:has(.cd-slideshow) + section.specs, .product-hero:has(.packaging-slideshow) + section.specs, .product-hero:has(.vinyl-detail-video) + section.specs { margin-top: 0 !important; }
  .product-hero .ai-credit { width: 100%; margin-top: 8px; }
  .vinyl-cover { width: 100%; margin: 0; }
  .about-hero + .about-body { margin-top: 0; }
  .about-body { column-gap: 28px; }
  .about-copy p { font-size: clamp(18px, 2.3vw, 26px); line-height: 1.45; }
}
@media (max-width: 760px) {
  .section-grid { grid-template-columns: minmax(0, 1fr); }
  .intro-curtain > .intro.section-grid { min-height: 0; padding: 64px var(--gap); align-items: start; gap: 32px; }
  .intro .intro-copy { grid-row: auto; top: auto; padding: 0; align-self: start; }
  .intro .intro-image { grid-row: auto; width: 100%; margin: 0; }
  .intro .intro-copy p, .intro .intro-copy p:not(:first-child) { font-size: 18px; line-height: 1.45; }
  .intro .intro-copy p:first-child { font-size: clamp(22px, 6vw, 36px); line-height: 1.1; margin-bottom: 28px; }
  .intro .intro-image img { width: 100%; height: auto; }
  .intro .intro-copy p .rda-line { white-space: normal; }
  :is(main,.intro-curtain) > section.outfit-hero { margin: 0; padding: 0 var(--gap) 24px; min-height: calc(100svh - 76px); grid-template-rows: minmax(230px, 42svh) auto; }
  .outfit-hero h1.kinetic-title { min-width: 0; padding: 12px 0; }
  .outfit-hero .outfit-meta { grid-template-columns: minmax(0,1fr); gap: 20px; padding: 0; }
  .outfit-hero .outfit-meta > .outfit-links, .outfit-hero .outfit-meta > .outfit-description, .outfit-hero .outfit-meta > .outfit-identity { grid-column: 1; grid-row: auto; padding: 0; margin: 0; max-width: none; justify-self: start; transform: none; }
  .outfit-meta > .outfit-identity strong { white-space: normal; }
  .outfit-meta .outfit-links { gap: 10px; }
  .outfit-meta .outfit-links a { min-height: 32px; display: inline-flex; align-items: center; }
  .product-hero .sub-lead { grid-template-columns: minmax(0,1fr); }
  .product-hero .sub-lead > .eyebrow { margin-bottom: 8px; }
  .product-hero .sub-lead img, .product-hero .sub-lead video { width: 100%; margin: 0; }
  .product-hero .sub-lead, .product-hero:has(.cd-slideshow) .sub-lead, .product-hero:has(.packaging-slideshow) .sub-lead { margin-bottom: 40px; }
  .spec-row { grid-template-columns: minmax(0,1fr); gap: 14px; padding-block: 24px; }
  .spec-row h2 { font-size: 28px; }
  .spec-row p { font-size: 18px; line-height: 1.45; }
  .product-hero:has(.cd-slideshow) + section.specs .spec-row { padding-block: 24px; gap: 14px; }
  .about-hero { padding-bottom: 36px; }
  .about-body { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .about-portrait { position: relative; }
  .about-portrait img { position: static; height: auto; width: 100%; }
  .about-copy { max-width: none; }
  .about-copy p { font-size: 19px; line-height: 1.45; }
  .section-note, .faq-heading p:last-child { margin-left: 0; max-width: 100%; width: auto; font-size: 18px; line-height: 1.4; }
  .step summary { grid-template-columns: 32px minmax(0,1fr) 28px; gap: 8px; min-height: 64px; }
  .step h3 { font-size: clamp(22px, 5.5vw, 32px); line-height: 1.12; }
  .step > p { margin-left: 40px; font-size: 17px; }
  .faq-group h3 { font-size: 24px; line-height: 1.15; }
  .faq-item > summary { font-size: 17px; line-height: 1.4; }
  .faq-item > p { font-size: 17px; }
  .footer-top { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .contact-copy, body:has(.outfit-hero) .contact-copy { justify-self: start; }
  .contact-title { font-size: clamp(27px, 7.5vw, 52px); }
  .contact-copy .contact-link { font-size: 18px; min-height: 44px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 18px; font-size: 15px; }
  .footer-grid a { display: inline-block; padding-block: 6px; }
  .legal-copy { margin: 0 var(--gap) 64px; padding: 0; max-width: none; }
  .legal-copy p { font-size: 17px; line-height: 1.6; }
}
@media (max-width: 380px) {
  .header, body:has(.outfit-hero) > .header { gap: 4px; }
  .header > .language-switch, .header.landing-menu > .language-switch { margin-inline-end: 0; gap: 0; }
  .footer-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kinetic-letter, .tm-ylem-word { transition: none !important; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); font-size: 15px; gap: 28px; }
  .intro .intro-copy p { font-size: 18px; line-height: 1.4; }
  .intro .intro-copy p:first-child { font-size: clamp(24px, 3vw, 34px); line-height: 1.12; }
  .outfit-meta > .outfit-identity strong { white-space: normal; }
}
@media (max-width: 760px) {
  .product-hero h1 { font-size: clamp(30px, 9.5vw, 72px); overflow-wrap: normal; }
  .sub-lead .packaging-slideshow { width: 100%; margin: 0; }
  .statement h2 { font-size: 12vw; }
  .statement-flap { white-space: normal; }
}
@media (max-height: 600px) and (max-width: 1100px) {
  :is(main,.intro-curtain) > section.outfit-hero { position: relative; min-height: 0; }
}

/* Keep the rotating product headline on one stable line on phones. */
@media (max-width: 760px) {
  .statement h2 #statement-word { display: block; min-height: 1.1em; white-space: nowrap; }
  .statement h2 .statement-flap { white-space: pre; }
}

/* Device-independent line icons, never emoji glyphs. */
.tm-icon { display: inline-block; width: 1em; height: 1em; overflow: visible; vertical-align: -.1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; flex: 0 0 auto; }
.plus .tm-icon, .faq-item > summary > span .tm-icon { vertical-align: 0; }
.product-index a span:last-child .tm-icon { margin-left: .3em; }
@media (max-width: 760px) {
  .product-index a span:last-child::after { content: none; }
  .product-index a span:last-child .tm-icon { font-size: 22px; margin-left: 0; }
}

/* Quieter phone hero: supporting copy and direct contact only. */
@media (max-width: 760px) {
  .outfit-hero .outfit-meta > .outfit-identity,
  .outfit-hero .outfit-meta > .outfit-links > a:first-child { display: none; }
  :is(main,.intro-curtain) > section.outfit-hero { grid-template-rows: minmax(230px, 1fr) auto; }
  .outfit-hero .outfit-meta { gap: 22px; padding-bottom: 20px; }
  .outfit-hero .outfit-meta > .outfit-description { grid-row: 1; max-width: 36rem; }
  .outfit-hero .outfit-meta > .outfit-links { grid-row: 2; gap: 0; }
  .outfit-description > .outfit-label { margin-bottom: 14px; }
  .outfit-description > p:last-child { line-height: 1.35; }
  .outfit-hero .outfit-meta > .outfit-links > a:last-child { min-height: 44px; gap: 10px; }
}
