/*
Theme Name: Pyrolux
Description: Pyrolux ürün ve marka tanıtım sitesi.
Version: 1.2.0
Requires at least: 6.1
Requires PHP: 7.4
Text Domain: pyrolux
*/

@font-face {
  font-family: Anton;
  src: url('fonts/anton-latin-ext.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Anton;
  src: url('fonts/anton-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Montserrat;
  src: url('fonts/montserrat-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Montserrat;
  src: url('fonts/montserrat-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #0d0c0c;
  --white: #f2eeea;
  --muted: #c1b9b2;
  --fire: #e8806e;
  --rule: #39312f;
  --panel: #171515;
  --bar: 76px;
  --gutter: clamp(24px, 6.3vw, 112px);
  --section-space: clamp(64px, 9.6vw, 132px);
  --grid-gap: clamp(28px, 6vw, 96px);
  --body-font: Montserrat, Arial, sans-serif;
  --display-font: Anton, 'Arial Narrow', sans-serif;
  color-scheme: dark;
  scroll-padding-top: var(--bar);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--body-font); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { font: inherit; }
::selection { background: var(--fire); color: var(--black); }
:focus-visible { outline: 2px solid var(--fire); outline-offset: 5px; }
.wrap { width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 8px; left: 8px; transform: translateY(-150%); background: var(--black); padding: 12px; }
.skip:focus { transform: none; }

.topbar { position: sticky; top: 0; z-index: 3; height: var(--bar); background: var(--black); border-bottom: 1px solid var(--rule); }
.topbar-inner { display: flex; align-items: center; height: 100%; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand-lockup { position: relative; display: block; width: clamp(156px, 14vw, 196px); }
.brand .brand-lockup { view-transition-name: pyrolux-brand; }
.brand-lockup img { height: auto; }
.brand-lockup::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  mask: url('assets/pyrolux-logo.webp') center / contain no-repeat;
  background: linear-gradient(112deg, transparent 37%, #fff0dcab 49%, transparent 61%) 100% center / 275% 100%;
}
.desktop-nav { display: flex; align-items: center; gap: clamp(15px, 2.5vw, 39px); margin-left: auto; }
.topbar nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600; }
.topbar nav a[aria-current], .topbar a:hover { color: var(--fire); }
.mobile-menu { display: none; }
.mobile-menu summary { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::after { content: ''; width: 15px; height: 8px; border-block: 1px solid currentColor; }
.mobile-menu[open] summary::after { height: 1px; border-bottom: 0; }
.mobile-menu nav { position: absolute; inset: 100% 0 auto; display: grid; padding: 9px var(--gutter) 17px; background: var(--black); border-bottom: 1px solid var(--rule); }
.mobile-menu nav a { min-height: 47px; border-top: 1px solid var(--rule); }

.lede { max-width: 32ch; color: var(--muted); font-size: clamp(16px, 1.5vw, 21px); line-height: 1.48; }
.intro h1, .detail h2, .content-band h2, .documents-band h2, .collection h2, .catalog h1, .page-intro h1 {
  font-family: var(--display-font);
  font-weight: 400;
  letter-spacing: -.018em;
  line-height: 1.04;
  text-transform: uppercase;
}
.intro h1 { font-size: clamp(45px, 6.9vw, 120px); line-height: 1.11; margin-bottom: clamp(17px, 2.5vw, 34px); }
.intro .lede { padding-left: 15px; border-left: 1px solid var(--fire); }
.detail h2 { font-size: clamp(40px, 6vw, 93px); margin-bottom: 18px; }
.detail .lede { max-width: 33ch; }
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}
.detail-photo {
  position: relative;
  justify-self: center;
  width: clamp(172px, 35vw, 330px);
  max-width: 100%;
  aspect-ratio: 430 / 540;
  overflow: hidden;
  filter: drop-shadow(0 14px 25px #000a);
}
/* Isolate the center sachet from the original catalogue photograph. */
.detail-photo img {
  position: absolute;
  width: 349.07%;
  max-width: none;
  height: auto;
  left: -124.42%;
  top: -75%;
  clip-path: polygon(36.5% 27.7%, 63.5% 27.7%, 63.9% 62.2%, 36.1% 62.2%);
}
.detail-photo .custom-content-image {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  clip-path: none;
}

.stage {
  position: relative;
  isolation: isolate;
  padding: 60px var(--gutter);
  background: radial-gradient(ellipse at 77% 57%, #392d27 0%, #211a18 26%, var(--black) 65%);
}
.stage-warmth, .stage-footer, .story-waypoint { display: none; }
.product-visual { position: relative; width: min(100%, 850px); aspect-ratio: 32 / 21; margin: 18px 0; }
.product-catalog {
  position: absolute;
  top: 50%;
  height: auto;
  transform: translateY(-50%);
  opacity: clamp(0, calc(1 - 1.7 * var(--shift, 0)), 1);
  /* Mask follows the box and sachet in the original 1501 × 1501 catalogue photograph. */
  clip-path: polygon(13.15% 32.65%, 13.55% 32.25%, 67.1% 30.23%, 68.05% 30.6%, 73.32% 33.46%, 73.38% 34.05%, 73.38% 38.38%, 84.35% 39.25%, 81.89% 67.60%, 60.60% 65.87%, 60.77% 64.25%, 16.08% 66.24%, 13.05% 62.32%);
}
.product-catalog.custom-content-image { clip-path: none; }
.story.is-animated { position: relative; height: 171svh; }
.is-animated .story-waypoint { display: block; position: absolute; top: calc(100% - 100svh + var(--bar)); }
.is-animated .stage {
  --shift: 0;
  position: sticky;
  top: var(--bar);
  height: calc(100svh - var(--bar));
  overflow: clip;
  padding: 0;
}
.is-animated .stage-warmth { display: block; position: absolute; inset: 0; background: radial-gradient(ellipse at 76% 53%, #482724, #1f1615 42%, var(--black) 73%); opacity: var(--shift); z-index: -1; }
.is-animated .intro, .is-animated .detail { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); }
.is-animated .intro {
  top: clamp(40px, 14svh, 152px);
  opacity: clamp(0, calc(1 - var(--shift) / .46), 1);
  transform: translateY(calc(-22px * var(--shift)));
}
.is-animated .detail {
  top: 47%;
  opacity: clamp(0, calc((var(--shift) - .44) / .56), 1);
  transform: translateY(calc(-50% + 20px * (1 - var(--shift))));
}
.is-animated .detail-photo { width: clamp(155px, 33svh, 324px); }
.is-animated .detail-link { display: none; }
.is-animated .product-visual {
  position: absolute;
  width: min(69vw, 112svh, 1030px);
  right: clamp(-85px, -3vw, -18px);
  bottom: 2%;
  margin: 0;
  transform: translate3d(calc(-5vw * var(--shift)), calc(-2svh * var(--shift)), 0) scale(calc(1 + .19 * var(--shift)));
  transform-origin: 70% 55%;
}
.is-animated .stage-footer { display: block; position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(10px, 4svh, 42px); }

.content-band, .collection, .catalog, .inner-page { padding-block: var(--section-space); }
.content-band { border-top: 1px solid var(--rule); }
.usage-band { background: var(--panel); }
.editorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: var(--grid-gap); }
.content-band h2, .documents-band h2, .collection h2 { font-size: clamp(40px, 5.1vw, 82px); }
.catalog h1, .page-intro h1 { font-size: clamp(47px, 6.5vw, 106px); }
.editorial-copy p, .prose p { color: var(--muted); line-height: 1.6; font-size: clamp(16px, 1.45vw, 20px); max-width: 58ch; }
.editorial-copy h2 + p, .catalog h1 + p { margin-top: 18px; }
.editorial-copy p + p, .prose p + p { margin-top: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; width: fit-content; min-height: 44px; margin-top: 19px; border-bottom: 1px solid var(--rule); font-size: 15px; font-weight: 600; }
.text-link span, .map-link span { color: var(--fire); }
.text-link:hover { border-color: var(--fire); color: var(--fire); }
.action-button {
  --glass-fill: rgb(47 39 37 / 72%);
  --glass-hover: rgb(63 49 46 / 88%);
  --glass-rim: rgb(242 222 215 / 28%);
  --glass-rim-hover: rgb(242 222 215 / 52%);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  margin-top: 19px;
  padding: 7px 8px 7px 17px;
  border: 1px solid var(--glass-rim);
  border-radius: 14px;
  background-color: var(--glass-fill);
  background-image: linear-gradient(155deg, rgb(255 240 234 / 16%), transparent 70%);
  box-shadow: inset 0 1px 0 rgb(255 239 231 / 14%), 0 7px 19px rgb(0 0 0 / 24%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  color: var(--white);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-align: start;
}
.action-button > [aria-hidden="true"] {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgb(255 235 226 / 16%);
  border-radius: 7px;
  background: rgb(255 235 226 / 9%);
  color: inherit;
  font-size: 18px;
  line-height: 1;
}
.action-button--primary {
  --glass-fill: rgb(124 36 33 / 88%);
  --glass-hover: rgb(147 45 40 / 96%);
  --glass-rim: rgb(242 148 132 / 54%);
  --glass-rim-hover: rgb(252 175 160 / 75%);
}
.action-button:is(:hover, :focus-visible):not(:disabled) {
  background-color: var(--glass-hover);
  border-color: var(--glass-rim-hover);
  box-shadow: inset 0 1px 0 rgb(255 239 231 / 18%), 0 8px 24px rgb(0 0 0 / 32%);
}
.scroll-guide.action-button { margin-top: 0; }
.usage-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--black); object-fit: contain; }
.editorial-photo img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.78); }
.documents-band { padding-block: clamp(48px, 7vw, 96px); background: #211917; border-block: 1px solid var(--rule); }
.contact-band { border-top: 0; }
.contact-band .editorial-grid, .about-rows .editorial-grid { align-items: start; }
.contact-list { margin: 0; border-top: 1px solid var(--rule); }
.contact-list > div { display: grid; grid-template-columns: minmax(80px, 1fr) minmax(0, 2.4fr); align-items: baseline; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--rule); }
.contact-list dt { color: var(--muted); font-size: 14px; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; line-height: 1.45; }
.contact-list address { font-style: normal; }
.contact-list a { text-decoration: underline; text-underline-offset: .23em; }
.contact-list a:hover { color: var(--fire); }
.map-link { display: inline-block; margin-top: 8px; color: var(--muted); font-size: 14px; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 4vw, 64px);
}
.contact-layout .subheading, .contact-location .subheading { margin-bottom: 18px; }
.contact-layout .contact-list > div { padding-block: 8px; }
.contact-layout .contact-list > div:first-child { padding-block: 16px; }
.contact-layout .contact-list a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-message form { border-top: 1px solid var(--rule); padding-top: 16px; }
.contact-message form p { max-width: 54ch; color: var(--muted); font-size: 14px; line-height: 1.55; }
.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.contact-field-wide { grid-column: 1 / -1; }
.contact-fields label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; }
.contact-fields label span { color: var(--muted); font-size: 12px; font-weight: 400; }
.contact-fields :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #72615c;
  border-radius: 5px;
  background: var(--panel);
  color: var(--white);
  font: 400 16px/1.4 var(--body-font);
}
.contact-fields textarea { resize: vertical; }
.contact-message button { cursor: pointer; }
.contact-message button:disabled { cursor: wait; opacity: .72; }
.contact-fields select { color-scheme: dark; }
.contact-message .contact-status:not(:empty) { margin-top: 12px; }
.contact-location {
  margin-top: clamp(40px, 7vw, 90px);
  padding-top: clamp(24px, 4vw, 48px);
  border-top: 1px solid var(--rule);
}
.contact-map {
  display: block;
  width: 100%;
  height: clamp(310px, 34vw, 460px);
  border: 1px solid var(--rule);
  background: var(--panel);
  color-scheme: light;
}
.contact-map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.contact-map-actions .action-button { margin-top: 0; }

.collection > .lede { margin-top: 16px; max-width: 54ch; }
.package-strip, .catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.package-strip a { display: block; }
.package-strip a:hover { color: var(--fire); }
.package-strip img, .catalog-grid img { height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; }
.package-title { display: block; margin-top: 12px; font: 400 clamp(22px, 3vw, 40px)/1.25 var(--display-font); }
.package-summary, .catalog-grid p { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.footer { border-top: 1px solid var(--rule); background: var(--panel); }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 80px);
  padding-block: clamp(36px, 5vw, 76px) clamp(24px, 3.5vw, 52px);
}
.footer-brand { display: inline-block; max-width: 100%; }
.footer-brand .brand-lockup { width: clamp(166px, 19vw, 245px); max-width: 100%; }
.footer-identity p { max-width: 27ch; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-group h2 { margin-bottom: 5px; font: 400 24px/1.2 var(--display-font); }
.footer-group ul { padding: 0; margin: 0; list-style: none; }
.footer-group ul a, .footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-height: 44px;
  padding-block: 6px;
  overflow-wrap: anywhere;
}
.footer-group ul a { font-size: 14px; line-height: 1.5; }
.footer-group ul a span { color: var(--fire); }
.footer a:not(.action-button):is(:hover, [aria-current="page"]) { color: var(--fire); }
.footer-contact { margin-top: 12px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 22px;
  padding-block: 8px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 12px;
}
.product-overview, .product-information {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.product-overview { align-items: center; }
.product-overview h1 { font-size: clamp(38px, 5.3vw, 80px); line-height: 1.12; }
.product-overview .lede { max-width: 47ch; }
.product-overview-photo { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.product-information, .product-packages {
  margin-top: clamp(44px, 7vw, 100px);
  padding-top: clamp(22px, 4vw, 52px);
  border-top: 1px solid var(--rule);
}
.product-information h2 + p, .product-packages h2 + p {
  margin-top: 12px;
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.6;
}
.product-specs > div { grid-template-columns: minmax(100px, 1fr) minmax(0, 2.3fr); }
.product-specs dd { overflow-wrap: break-word; }
.catalog-grid li { border-top: 2px solid transparent; }
.catalog-grid li:target { border-color: var(--fire); }
.catalog-grid li:target .package-title { color: var(--fire); }
.catalog-grid .text-link { margin-top: 7px; }
.product-links { display: flex; flex-wrap: wrap; column-gap: 24px; margin-top: 20px; }

.page-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); align-items: start; margin-bottom: clamp(28px, 5vw, 70px); }
.page-intro .prose { padding-bottom: 4px; }
.safety-note { padding: 19px 22px; margin-bottom: clamp(38px, 6vw, 82px); border-left: 3px solid var(--fire); background: var(--panel); line-height: 1.55; }
.safety-note p { margin-top: 4px; max-width: 72ch; color: var(--muted); }
.safety-note a, .source-links a { color: var(--white); text-decoration: underline; text-underline-offset: .2em; }
.subheading { font: 400 clamp(26px, 3.4vw, 48px)/1.2 var(--display-font); }
.usage-steps, .document-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 24px 0 0; }
.usage-steps li, .document-list li { border-top: 1px solid var(--rule); }
.usage-steps img { height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.usage-pack-photo { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
/* Keep only the sachets from the original square catalog graphic. */
.usage-pack-photo img { width: 150%; aspect-ratio: auto; transform: translate(-16.667%, -25.7%); }
.usage-pack-photo .custom-content-image { width: 100%; height: 100%; transform: none; object-fit: cover; }
.usage-steps div { padding: 15px 0 20px; }
.usage-steps h3, .document-list h2 { font-size: clamp(18px, 1.9vw, 25px); font-weight: 700; }
.usage-steps h3 span { color: var(--fire); margin-right: 5px; }
.usage-steps p, .document-list p { margin-top: 8px; color: var(--muted); line-height: 1.5; }
.source-links { margin-top: 38px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.about-photo img { height: auto; filter: saturate(.78); }
.about-rows { margin-top: clamp(35px, 6vw, 86px); }
.about-rows > div { border-top: 1px solid var(--rule); padding-block: clamp(23px, 4vw, 56px); }
.about-rows h2 { font: 400 clamp(27px, 4.2vw, 59px)/1.15 var(--display-font); letter-spacing: -.015em; }
.document-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.document-list a { display: block; }
.document-list img { height: auto; max-height: 490px; object-fit: contain; background: #e9e5de; }
.document-list h2 { margin-top: 13px; }
.document-list h2 span, .document-list a:hover { color: var(--fire); }

@media (min-width: 1024px) {
  .usage-band .editorial-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
}

@media (prefers-reduced-motion: no-preference) {
  .action-button { transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease-out; }
  .action-button:active:not(:disabled) { transform: scale(.97); }
  html { scroll-behavior: smooth; }
  @view-transition { navigation: auto; }
  ::view-transition-group(root) { animation-duration: 300ms; }
  ::view-transition-old(pyrolux-brand) { animation: none; opacity: 0; }
  ::view-transition-new(pyrolux-brand) { animation: brand-arrives 420ms cubic-bezier(.2,.7,.3,1) both; }
  :is(.brand, .footer-brand):is(:hover, :focus-visible) .brand-lockup::after { animation: brand-glint 580ms ease-out both; }
  @keyframes brand-arrives {
    from { opacity: .54; clip-path: inset(0 74% 0 0); filter: brightness(1.34); }
    to { opacity: 1; clip-path: inset(0); filter: brightness(1); }
  }
  @keyframes brand-glint {
    0% { opacity: 0; background-position: 100% center; }
    28% { opacity: .9; }
    100% { opacity: 0; background-position: 0% center; }
  }
}

@media (max-width: 760px) {
  :root { --bar: 64px; --gutter: 23px; }
  .brand .brand-lockup { width: 146px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .intro h1 { font-size: clamp(43px, 11.5vw, 76px); }
  .is-animated .intro { top: 10%; }
  .is-animated .product-visual {
    width: min(118vw, 80svh, 680px);
    right: 50%;
    bottom: clamp(58px, calc(33svh - 100px), 185px);
    transform: translateX(50%) scale(calc(1 + .1 * var(--shift)));
    transform-origin: center;
  }
  .is-animated .stage-footer { bottom: 14px; }
  .detail {
    grid-template-columns: minmax(0, 1fr);
    border-top: 1px solid var(--rule);
    padding-top: 30px;
  }
  .detail-photo { width: clamp(172px, 52vw, 300px); }
  .is-animated .detail {
    top: 46%;
    gap: clamp(12px, 3svh, 28px);
    border: 0;
    padding: 0;
  }
  .is-animated .detail h2 { font-size: clamp(38px, 9vw, 61px); margin-bottom: 10px; }
  .is-animated .detail .lede { font-size: clamp(15px, 4vw, 19px); }
  .is-animated .detail-photo { width: min(47vw, 28svh, 235px); }
  .editorial-grid, .page-intro, .contact-layout, .product-overview, .product-information { grid-template-columns: minmax(0, 1fr); }
  .about-band figure { order: 1; }
  .usage-steps { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px 18px; }
  .footer-identity { grid-column: 1 / -1; }
  .package-strip, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 25px; }
}

@media (max-width: 600px) {
  .usage-video { width: min(100%, 350px); aspect-ratio: 9 / 16; justify-self: center; }
  .document-list, .contact-fields { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 370px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) and (max-height: 660px) {
  .is-animated .intro { top: 7%; }
  .is-animated .intro h1 { font-size: clamp(42px, 10.2vw, 65px); }
  .is-animated .product-visual { width: min(108vw, 69svh); bottom: 9%; }
}

@media (min-width: 570px) and (max-width: 760px) {
  .is-animated .intro h1 { font-size: clamp(45px, 9.3vw, 69px); }
  .is-animated .product-visual { width: min(100vw, 66svh, 620px); bottom: clamp(48px, 12svh, 130px); }
}

@media (min-width: 761px) and (max-height: 560px) {
  .is-animated .intro { top: 11%; }
  .is-animated .intro h1 { font-size: min(6.9vw, 13.5svh); }
  .is-animated .detail h2 { font-size: min(6vw, 11svh); }
  .is-animated .product-visual { width: min(58vw, 112svh); }
}

@media (max-width: 350px) {
  :root { --gutter: 16px; }
  .brand .brand-lockup { width: 132px; }
  .intro h1 { font-size: min(13.7vw, 51px); }
}

@media (max-width: 300px) {
  :root { --gutter: 12px; }
  .detail h2, .content-band h2, .documents-band h2, .collection h2, .catalog h1, .page-intro h1 { font-size: 39px; }
}

/* Keep the sticky site header below the WordPress toolbar when signed in. */
@media (min-width: 601px) {
  .admin-bar .topbar { top: var(--wp-admin--admin-bar--height, 32px); }
}
