@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=Inter:wght@400;500;600;700;800&family=Staatliches&display=swap');

:root {
  --ink: #101010;
  --paper: #fdfdfd;
  --orange: #ff5700;
  --sand: #dad3c4;
  --headline: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --heading-font: Staatliches, var(--headline);
  font-family: Inter, Arial, sans-serif;
  color: var(--paper);
  background: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; opacity: .4; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #f17526; outline-offset: 4px; }
h1, h2, p { margin: 0; }
h1, .section h2, .newsletter h2, .editorial h2 { font: 400 clamp(2.1rem, 4.35vw, 4.4rem)/.98 var(--heading-font); text-transform: uppercase; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 20; background: white; color: black; padding: 12px; }
.icon { width: 23px; height: 23px; object-fit: contain; }
.cta { display: inline-flex; align-items: center; justify-content: space-between; gap: clamp(14px, 2.3vw, 34px); min-height: 48px; padding: .55em 1em; border: 0; background: var(--orange); color: white; font: 800 clamp(1.12rem, 2vw, 1.9rem)/1 var(--headline); text-transform: uppercase; }
.cta:hover, .newsletter button:hover { background: #e84d00; }
.cta .icon { width: 1.12em; height: 1.12em; }

#header { position: relative; z-index: 5; background: var(--ink); }
.header-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; height: clamp(88px, 13.1vw, 176px); padding-inline: 6%; border-bottom: 3px solid var(--orange); }
.brand { align-self: center; width: clamp(105px, 13vw, 182px); }
.brand img { filter: brightness(0) invert(1); }
#navigation, .header-tools { display: flex; align-items: stretch; gap: clamp(20px, 3vw, 45px); }
#navigation > a, .nav-trigger { display: flex; height: 100%; align-items: center; gap: .6em; padding: 0; border: 0; background: transparent; font-size: clamp(.82rem, 1.4vw, 1.22rem); font-weight: 700; text-transform: uppercase; }
#navigation > a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--orange); }
.chevron { width: .52em; height: .52em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-20%) rotate(45deg); }
.header-tools { justify-self: end; align-items: center; gap: clamp(8px, 1.45vw, 22px); }
.tool, .mobile-menu { position: relative; display: grid; place-items: center; min-width: 38px; min-height: 44px; border: 0; background: transparent; }
.tool .icon { width: clamp(18px, 2vw, 29px); height: auto; filter: brightness(0) invert(1); }
.tool[data-drawer="cart"]:focus-visible { outline: none; }
.tool[data-drawer="cart"]:focus-visible .icon { filter: brightness(0) invert(1) drop-shadow(0 0 3px #fff); }
#cart-count:not([hidden]) { position: absolute; top: calc(50% - 22px); left: calc(50% + 5px); display: grid; place-items: center; min-width: 19px; height: 19px; padding-inline: 3px; border-radius: 999px; background: var(--orange); color: #111; font-size: .7rem; font-weight: 800; line-height: 1; pointer-events: none; }
.mobile-menu { display: none; }
.dropdown { position: absolute; top: calc(100% - 3px); left: 0; right: 0; background: var(--paper); color: var(--ink); border-top: 3px solid var(--orange); clip-path: inset(0 0 100%); visibility: hidden; transform: translateY(-12px); transition: clip-path .24s ease, transform .24s ease, visibility 0s .24s; }
.nav-trigger[aria-expanded="true"] + .dropdown { clip-path: inset(0); visibility: visible; transform: translateY(0); transition-delay: 0s; }
.shop-menu { display: grid; grid-template-columns: 57% 43%; }
.shop-menu img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; }
.menu-links { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; padding: clamp(26px, 4vw, 65px) 5.5%; text-transform: uppercase; font-size: clamp(.9rem, 1.45vw, 1.5rem); }
.menu-links > div, .contact-menu > div, .contact-details > div { display: grid; align-content: start; gap: clamp(12px, 1.6vw, 30px); }
.dropdown a:hover { color: var(--orange); text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }
.muted { color: #666; }
.contact-menu, .contact-details { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2rem; padding: 4vw 12vw; font-size: clamp(1rem, 2.15vw, 2rem); }
.contact-menu strong, .contact-details strong { text-transform: uppercase; }
.contact-details { padding: 1rem 0; }

.hero { display: grid; align-items: center; min-height: clamp(410px, 55vw, 850px); padding: 5% 8% 7%; background: linear-gradient(90deg,#000c,#0008 45%,#0003 85%), url("assets/home.jpg") center / cover; }
.hero-content { width: clamp(235px, 30vw, 470px); text-align: center; }
.hero-content > img { width: 100%; margin-inline: auto; }
.hero h1 { margin: 12px 0 16px; font: 800 clamp(.9rem, 1.5vw, 1.5rem)/1.15 Inter, Arial, sans-serif; color: var(--orange); }
.promo { position: relative; overflow: hidden; margin-top: -5.4vw; padding: 3vw 0; pointer-events: none; }
.promo-track { display: flex; width: max-content; background: var(--orange); color: #101010; transform: rotate(-3deg); transform-origin: 50vw center; }
.promo-track > div { display: flex; flex: none; animation: marquee 23s linear infinite; }
.promo-track span { display: inline-flex; flex: none; align-items: center; gap: .75em; padding: .52em .8em .52em 0; font: 800 clamp(1rem, 2.25vw, 2.1rem)/1 var(--headline); text-transform: uppercase; white-space: nowrap; }
.promo-track .icon { width: 1.15em; height: 1.15em; }
@keyframes marquee { to { transform: translateX(-100%); } }
.section { padding: clamp(32px, 4.2vw, 66px) 6% clamp(42px, 5.6vw, 80px); }
.section > h2, .collection-section > h1 { text-align: center; margin: 0 0 clamp(24px, 3.8vw, 52px); }
.featured { padding-top: clamp(14px, 1.8vw, 28px); }
.carousel { position: relative; }
.featured-grid, .grid { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.carousel-control { position: absolute; top: 50%; width: clamp(26px, 4.2vw, 58px); aspect-ratio: 1; display: grid; place-items: center; padding: 0; border: 1.5px solid #fff; border-radius: 50%; background: var(--ink); z-index: 1; }
.carousel-control:hover { background: #373737; }
.carousel-control .icon { filter: brightness(0) invert(1); width: 60%; height: auto; }
.prev { right: calc(100% + 10px); }
.prev img { transform: rotate(180deg); }
.next { left: calc(100% + 10px); }
.card { min-width: 0; }
.card-media { position: relative; background: var(--sand); }
.photo-link { display: grid; place-items: center; position: relative; aspect-ratio: 1; overflow: hidden; }
.photo-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.photo-link img[src$=".png"] { padding: 7%; }
.photo-link:has(.front-preview) img, .main-photo:has(.front-preview) img { transition: opacity .3s ease; }
.photo-link .front-preview, .main-photo .front-preview { opacity: 0; pointer-events: none; }
@media (hover: hover) {
  .photo-link:hover .front-preview, .main-photo:hover .front-preview { opacity: 1; }
  .photo-link:has(.front-preview):hover img:not(.front-preview), .main-photo:has(.front-preview):hover img:not(.front-preview) { opacity: 0; }
}
.photo-link:focus-visible .front-preview { opacity: 1; }
.photo-link:has(.front-preview):focus-visible img:not(.front-preview) { opacity: 0; }
.photo-link:focus-visible { outline-offset: -4px; }
.no-photo { color: #3a3227; padding: 8px; text-align: center; font-size: .88rem; }
.new-tag { position: absolute; top: 0; left: 0; padding: .55em .85em; background: var(--orange); color: var(--ink); font-size: clamp(.56rem, .8vw, .75rem); font-weight: 800; text-transform: uppercase; pointer-events: none; }
.card-body { display: grid; align-content: start; gap: 8px; background: var(--paper); color: var(--ink); padding: clamp(9px, 1.65vw, 24px); }
.product-name { font-weight: 800; text-transform: uppercase; }
.product-name:hover { text-decoration: underline; }
.price { color: #a93400; font-size: .87rem; }
.featured .product-name { font-size: clamp(.8rem, 1.7vw, 1.6rem); }
.quick-sizes, .quick-row { display: flex; align-items: center; justify-content: space-between; min-height: 24px; }
.quick-sizes .size { min-width: 25px; border: 0; background: transparent; font-size: .74rem; padding: 4px; }
.quick-sizes .size[aria-pressed="true"] { background: var(--ink); color: white; }
.quick-add { display: grid; place-items: center; padding: 3px; border: 1px solid #777; background: transparent; border-radius: 3px; }
.quick-add img { width: 19px; height: 19px; object-fit: contain; mix-blend-mode: multiply; }
.quick-add:hover { background: #eee; }
.card-colors, .detail-colors { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.collection .card-colors { position: absolute; bottom: 10px; left: 12px; }
.swatch { width: clamp(18px, 2.3vw, 30px); aspect-ratio: 1; border-radius: 50%; border: 1px solid #575757; padding: 0; background: var(--swatch); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px #474747; }
.card-status:empty, .product-status:empty, .newsletter-status:empty { display: none; }
.card-status, .product-status { font-size: .82rem; color: #9d2f00; }
.editorial { position: relative; isolation: isolate; min-height: clamp(320px, 37vw, 570px); display: flex; align-items: center; justify-content: end; text-align: right; padding: 4% 9%; background: #203c43; }
.editorial::before { content: ''; position: absolute; z-index: -1; inset: 0 36% 0 0; background: url("assets/shore.jpg") left center / cover no-repeat; mask-image: linear-gradient(90deg,#000 59%,transparent); }
.editorial h2 { font-size: clamp(2.5rem, 6.1vw, 6rem); }
.editorial p { font-weight: 800; font-size: clamp(1rem, 2.55vw, 2.4rem); line-height: 1.16; text-transform: uppercase; margin: .7em 0; }
.feature .photo-link { aspect-ratio: .84; }
.feature img { object-fit: contain; }
.collection-hero { width: 100%; aspect-ratio: 2.34; object-fit: cover; }
.collection-section { padding: clamp(25px, 3.4vw, 50px) 0.75% clamp(30px, 3.8vw, 58px); }
.collection .card-body { padding: 10px 13px; }
.collection .photo-link { aspect-ratio: .94; }
.category .photo-link { aspect-ratio: .92; }
.category .swatch { width: clamp(16px, 2.05vw, 28px); }
.category .swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--paper); }
.empty-collection { text-align: center; margin-bottom: 2rem; }

.product-detail { --tear-height: clamp(22px, 4vw, 54px); display: grid; grid-template-columns: 59.7% 40.3%; position: relative; background: var(--paper); color: var(--ink); }
.product-detail::after { content: ''; position: absolute; inset: auto 0 -1px; height: var(--tear-height); background: var(--charcoal); mask: url("assets/tear.png") center / 100% 100% no-repeat; pointer-events: none; }
.product-gallery { background: var(--sand); display: grid; align-content: center; padding-bottom: 32px; }
.product-gallery:has(.gallery-thumbs button) { padding-bottom: calc(var(--tear-height) + 16px); }
.main-photo { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.main-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.main-photo img[src$=".png"] { padding: 7%; }
.gallery-thumbs { display: flex; justify-content: center; gap: 8px; }
.gallery-thumbs button { width: 58px; aspect-ratio: 1; padding: 2px; border: 1px solid #888; background: white; }
.gallery-thumbs button[aria-pressed="true"] { border: 2px solid #181818; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: clamp(25px, 4vw, 70px) clamp(23px, 5.6vw, 92px) clamp(50px, 6vw, 86px); line-height: 1.55; }
.product-info h1 { font-size: clamp(2rem, 3.65vw, 3.8rem); }
.detail-price { color: #a93400; font: 800 clamp(1.3rem, 2.4vw, 2.35rem)/1.2 var(--headline); margin: 4px 0; }
.garment { color: #5b5b5b; margin-bottom: .55em; }
.color-label { text-transform: uppercase; }
.color-label strong { margin-left: .4em; }
.detail-colors { margin: 12px 0 25px; gap: 16px; }
.detail-colors .swatch { width: clamp(35px, 4.3vw, 60px); }
.detail-sizes { display: flex; gap: 8px; }
.detail-sizes .size { flex: 1; padding: 10px 3px; background: transparent; border: 1px solid #aaa; }
.detail-sizes .size[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.size-note { font-size: .9rem; }
.product-info h2, .info-page h2 { font-size: clamp(1rem, 1.85vw, 1.65rem); text-transform: uppercase; line-height: 1.15; }
.product-info h2 { margin: 1.45em 0 .26em; }
.product-info ul { padding-left: 1.25em; margin: .5em 0 0; }
.buy-row { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.buy-row label { display: grid; gap: 4px; font-size: .78rem; }
.buy-row input { height: 48px; width: 76px; padding-left: 10px; border: 1px solid #888; }
.buy-row .cta { flex: 1; white-space: nowrap; }
.product-status { margin-top: 10px; }
.product-detail, .related { --charcoal: #1c1c1c; }
.related { padding-inline: .75%; background: var(--charcoal); }

.info-page { background: var(--paper); color: var(--ink); padding: clamp(38px, 6vw, 96px) 5.65%; line-height: 1.55; font-size: clamp(.92rem, 1.5vw, 1.35rem); }
.info-page h1 { margin-bottom: .48em; }
.info-page section + section { margin-top: 2em; }
.info-page .cta { margin-top: 1.4em; }
.info-page a:not(.cta) { text-decoration: underline; overflow-wrap: anywhere; }
table { width: 100%; table-layout: fixed; text-align: left; margin-top: 1.5em; border-collapse: collapse; }
th, td { padding: .5em .45em .5em 0; vertical-align: top; }
thead th { text-transform: uppercase; line-height: 1.15; }
tbody th { font-weight: 400; }

#footer { display: grid; grid-template-columns: 25% 17% minmax(0, 1fr); align-items: stretch; padding: clamp(28px, 4.4vw, 70px) 3.5%; background: #1c1c1c url("assets/footer-illustration.jpg") right center / auto 100% no-repeat; }
.footer-brand { display: grid; align-items: center; padding-right: 20%; border-right: 1px solid #101010; }
.footer-brand img { width: 100%; max-width: 280px; }
#footer nav { display: grid; align-content: center; justify-items: center; gap: clamp(14px, 2.4vw, 36px); border-right: 1px solid #101010; font-weight: 700; font-size: clamp(.83rem, 1.4vw, 1.3rem); text-transform: uppercase; }
#footer nav a:hover { color: var(--orange); }
.newsletter { padding-left: 8%; }
.newsletter h2 { font-size: clamp(1.8rem, 3.35vw, 3.5rem); }
.newsletter p { margin-top: .55em; font-size: clamp(.95rem, 1.85vw, 1.7rem); }
.newsletter form { display: flex; width: min(100%, 365px); margin-top: clamp(14px, 2vw, 35px); }
.newsletter input { width: 0; flex: 1; background: #2a2a2a; border: 1px solid #111; padding: 0 .9em; color: white; }
.newsletter button { display: grid; place-items: center; flex: 0 0 22%; min-height: 54px; background: var(--orange); border: 1px solid #111; }
.newsletter .newsletter-status { font-size: .85rem; }

body:has(dialog[open]) { overflow: hidden; }
dialog { width: min(100%, 480px); max-width: none; height: 100%; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #000a; }
.drawer-heading { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; z-index: 1; padding: 16px 24px; background: var(--ink); color: white; border-bottom: 3px solid var(--orange); }
.drawer-heading h2 { font: 400 2rem/1 var(--heading-font); text-transform: uppercase; }
.close { border: 0; background: transparent; color: white; font-size: 2rem; }
.drawer-content { display: grid; gap: 18px; padding: 24px; }
.drawer-content > .cta { justify-self: start; }
.drawer-content input { width: 100%; padding: 12px; }
.results a { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid #ddd; }
.cart-photo, .results img { background: var(--sand); align-self: start; }
.cart-photo { display: grid; place-items: center; aspect-ratio: 1; }
.cart-photo img { width: 100%; height: 100%; object-fit: contain; }
.cart-photo .no-photo { font-size: .7rem; }
dialog[data-mode="cart"] { width: min(calc(100% - 24px), 726px); height: fit-content; max-height: calc(100dvh - 24px); margin: 12px 12px auto auto; }
[data-mode="cart"] .drawer-heading { justify-content: flex-end; padding: 10px 12px; background: var(--paper); border: 0; }
[data-mode="cart"] .close { display: flex; align-items: center; gap: 5px; min-height: 38px; padding: 0 13px; background: var(--orange); color: var(--ink); font-size: 1.15rem; font-weight: 800; text-transform: uppercase; }
[data-mode="cart"] .close:focus-visible { outline: none; text-decoration: underline; text-underline-offset: .18em; }
[data-mode="cart"] .close span { font-size: 1.65rem; line-height: 1; }
[data-mode="cart"] .drawer-content { gap: 10px; padding: 0 12px 12px; }
.cart-lines { border-top: 1px solid #bbb; }
.cart-line { display: grid; grid-template-columns: minmax(76px, 22%) minmax(0, 1fr); align-items: start; gap: clamp(10px, 4vw, 28px); padding-block: clamp(16px, 4vw, 30px); border-bottom: 1px solid #bbb; }
.cart-line .product-name { font-size: clamp(.95rem, 2.5vw, 1.3rem); }
.bag-variant { margin-top: 6px; font-size: clamp(.76rem, 2vw, .95rem); text-transform: uppercase; }
.line-controls { display: inline-flex; align-items: center; margin-top: clamp(9px, 3vw, 26px); border: 1px solid #bbb; font-weight: 800; }
.line-controls button { min-width: 32px; min-height: 40px; padding: 0 5px; border: 0; background: transparent; font-size: 1.25rem; }
.line-controls button:hover:not(:disabled) { background: #eee; }
.line-controls span { min-width: 18px; text-align: center; }
.cart-totals p { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; }
.cart-totals p:first-child { margin-bottom: 6px; font-size: clamp(.95rem, 2.5vw, 1.3rem); font-weight: 800; text-transform: uppercase; }
.bag-checkout { width: 100%; min-height: clamp(50px, 9vw, 70px); }
.cart-totals .checkout-status:empty { display: none; }
.results a:hover span { text-decoration: underline; }

@media (max-width: 1000px) {
  .carousel-control { width: 32px; }
  .prev { right: calc(100% + 5px); }
  .next { left: calc(100% + 5px); }
}
@media (max-width: 760px) {
  .header-bar { grid-template-columns: 1fr auto auto; gap: 9px; height: 82px; padding-inline: 5%; }
  .mobile-menu { display: grid; font-weight: 700; text-transform: uppercase; font-size: .78rem; align-self: center; }
  #navigation { display: none; position: absolute; inset: 100% 0 auto; background: var(--ink); max-height: calc(100dvh - 82px); overflow: auto; }
  #navigation.mobile-open { display: block; }
  #navigation > a, .nav-trigger { width: 100%; height: auto; min-height: 46px; padding: 12px 5%; }
  .dropdown { display: none; position: static; transform: none; clip-path: none; }
  .nav-trigger[aria-expanded="true"] + .dropdown { display: grid; clip-path: none; }
  .shop-menu { display: block; }
  .shop-menu img { display: none; }
  .menu-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-menu, .contact-details { grid-template-columns: 1fr; gap: 18px; }
  .contact-menu { padding: 22px 5%; }
  .hero { min-height: 420px; padding: 26px 5% 32px; background-position: 58% center; background-image: linear-gradient(90deg,#000b,#0003 80%), url("assets/home.jpg"); }
  .hero-content { width: clamp(180px, 48vw, 295px); }
  .promo { margin-top: -25px; padding-block: 18px; }
  .section { padding-inline: 5%; }
  .featured { padding-inline: 9%; }
  .featured-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 8px) / 2); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .featured-grid .card { scroll-snap-align: start; }
  .carousel-control { width: 26px; }
  .prev { right: calc(100% + 3px); }
  .next { left: calc(100% + 3px); }
  .editorial { padding-inline: 5%; }
  .editorial::before { right: 0; opacity: .56; }
  .collection-hero { aspect-ratio: 1.8; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: 1fr; }
  .product-gallery { padding-bottom: 12px; }
  .product-info { padding-inline: 6%; }
  #footer { grid-template-columns: 1fr 1fr; gap: 24px; padding: 28px 6%; background-size: auto 60%; background-position: right bottom; }
  #footer nav { border-right: 0; justify-items: start; }
  .footer-brand img { max-width: 160px; }
  .newsletter { grid-column: 1 / -1; padding-left: 0; }
}
@media (max-width: 400px) {
  .hero { min-height: 360px; }
  .carousel-control { width: 22px; }
  .card-body { gap: 6px; }
  .collection .card-body { padding: 8px; font-size: .83rem; }
  .collection .card-colors { bottom: 8px; }
}
@media (max-width: 760px) {
  .mobile-menu span { width: 26px; height: 17px; border-block: 2px solid currentColor; position: relative; }
  .mobile-menu span::before { content: ''; position: absolute; inset: 50% 0 auto; border-top: 2px solid currentColor; transform: translateY(-50%); }
  body:is([data-page="home"], [data-page="product"], [data-id="new-arrivals"]) .header-bar { grid-template-columns: 1fr auto; }
  body:is([data-page="product"], [data-id="new-arrivals"]) .header-bar { position: relative; grid-template-columns: 1fr; height: clamp(138px, 46vw, 185px); }
  body:is([data-page="product"], [data-id="new-arrivals"]) .brand { justify-self: center; width: clamp(145px, 47vw, 195px); }
  body:is([data-page="product"], [data-id="new-arrivals"]) .mobile-menu { position: absolute; right: 4%; }
  body:is([data-page="home"], [data-page="product"], [data-id="new-arrivals"]) #navigation { padding-top: 52px; max-height: min(68dvh, 520px); }
  body:is([data-page="home"], [data-page="product"], [data-id="new-arrivals"]) .header-tools { display: none; }
  body:is([data-page="home"], [data-page="product"], [data-id="new-arrivals"]) #navigation.mobile-open + .header-tools { display: flex; position: absolute; top: calc(100% + 4px); right: 5%; }

  [data-page="home"] .hero { min-height: clamp(490px, 169vw, 740px); justify-items: center; padding: 48px 5% 72px; background-position: 58% center; }
  [data-page="home"] .hero-content { width: min(87%, 375px); }
  [data-page="home"] .hero h1 { font-size: clamp(.75rem, 4vw, 1.15rem); }
  [data-page="home"] .hero .cta, [data-page="home"] .editorial .cta { font-size: clamp(1.35rem, 6vw, 2rem); min-height: 54px; }
  [data-page="home"] .promo-track span { font-size: clamp(1.1rem, 6vw, 1.7rem); }
  [data-page="home"] :is(.featured, .dragon) { padding-inline: 2%; }
  [data-page="home"] :is(.featured-grid, .dragon .grid) { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; overflow: visible; gap: 9px; }
  [data-page="home"] .carousel-control { display: none; }
  [data-page="home"] .featured .photo-link { aspect-ratio: 1.24; }
  [data-page="home"] .featured .photo-link img { object-fit: cover; }
  [data-page="home"] .featured .product-name { font-size: clamp(1.1rem, 6vw, 1.8rem); }
  [data-page="home"] .featured .card-body { padding: 15px 7% 17px; gap: 10px; }
  [data-page="home"] .featured .quick-sizes .size { min-width: 38px; min-height: 34px; }
  [data-page="home"] .editorial { min-height: 0; justify-content: start; text-align: left; padding: 9% 7%; background: #1c1c1c; }
  [data-page="home"] .editorial::before { display: none; }
  [data-page="home"] .editorial h2 { max-width: 8ch; font-size: clamp(3rem, 13vw, 5rem); }
  [data-page="home"] .editorial p { font-size: clamp(1.35rem, 5.8vw, 2.15rem); max-width: 16ch; }
  [data-page="home"] .editorial br { display: none; }
  [data-page="home"] .dragon h2 { max-width: 8ch; margin-inline: auto; }

  [data-id="new-arrivals"] .collection-hero { aspect-ratio: 2.05; }
  [data-id="new-arrivals"] .collection-section { padding: 36px 2.75% 45px; }
  [data-id="new-arrivals"] .collection-section h1 { margin-bottom: 36px; font-size: clamp(2.35rem, 10vw, 4rem); }
  [data-id="new-arrivals"] .collection-section .grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  [data-id="new-arrivals"] .collection .photo-link { aspect-ratio: .75; }
  [data-id="new-arrivals"] .collection .card-body { display: none; }
  [data-id="new-arrivals"] .collection .swatch { width: clamp(24px, 8vw, 36px); }

  [data-page="product"] .product-detail::after, [data-page="product"] .related { display: none; }
  [data-page="product"] .product-gallery { position: relative; }
  [data-page="product"] .product-gallery, [data-page="product"] .product-gallery:has(.gallery-thumbs button) { padding-bottom: 0; }
  [data-page="product"] .main-photo { aspect-ratio: .9; }
  [data-page="product"] .gallery-thumbs { position: absolute; inset: auto 0 7px; gap: 6px; }
  [data-page="product"] .gallery-thumbs button { width: 36px; }
  [data-page="product"] .product-info { padding: 36px 8.5% 46px; font-size: clamp(1rem, 5vw, 1.3rem); }
  [data-page="product"] .product-info h1 { font-size: clamp(2.15rem, 10.3vw, 4rem); }
  [data-page="product"] .detail-price { font-size: 1.65rem; }
  [data-page="product"] .garment, [data-page="product"] .buy-row label { display: none; }
  [data-page="product"] .detail-colors .swatch { width: clamp(44px, 15vw, 59px); }
  [data-page="product"] .detail-sizes .size { min-height: 56px; }
  [data-page="product"] .product-info h2 { font-size: 1.4rem; }
  [data-page="product"] .buy-row .cta { flex: 0 1 92%; min-height: 62px; font-size: clamp(1.4rem, 7vw, 2rem); }

  body:is([data-page="home"], [data-page="product"], [data-id="new-arrivals"]) #footer { display: grid; grid-template-columns: 1fr; place-items: center; padding: clamp(65px, 24vw, 110px) 10%; background: #1c1c1c; }
  body:is([data-page="home"], [data-page="product"], [data-id="new-arrivals"]) #footer :is(nav, .newsletter) { display: none; }
  body:is([data-page="home"], [data-page="product"], [data-id="new-arrivals"]) .footer-brand { border: 0; padding: 0; width: min(100%, 270px); }
  body:is([data-page="home"], [data-page="product"], [data-id="new-arrivals"]) .footer-brand img { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .promo-track > div { animation: none; }
}
