/* Base styles are the mobile layout. Larger screens enhance the same sections. */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--color-white); color: var(--color-ink); font: 400 14px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button, a, summary, input { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 400; }
button, input, fieldset { border-radius: 0; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 5px; }
section[id], details[id], p[id] { scroll-margin-top: 24px; }
main:focus { outline: none; }

.container { width: min(calc(100% - var(--gutter) * 2), var(--container-max)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 20px; transform: translateY(-160%); background: var(--color-white); border: 1px solid var(--color-ink); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { font-size: 12px; font-weight: 500; line-height: 1.65; letter-spacing: .2em; text-transform: uppercase; }
.small-print, .section-note, .imagery-note { color: var(--color-muted); font-size: 12px; line-height: 1.6; }
.icon { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-button { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; }
.enhanced-only { display: none; }
.js .enhanced-only { display: inline-flex; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 16px; padding: 12px 20px; border: 1px solid var(--color-ink); background: var(--color-ink); color: var(--color-white); font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s; }
.button span { font-size: 22px; font-weight: 400; line-height: .7; }
.button--light { border-color: var(--color-white); background: var(--color-white); color: var(--color-ink); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.text-link span { font-size: 20px; font-weight: 400; }

/* 01 — Announcement */
.announcement { display: flex; min-height: 30px; align-items: center; justify-content: center; padding: 7px 12px; background: var(--color-ink); color: var(--color-white); text-align: center; }
.announcement p { font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.announcement span { margin-inline: 6px; }

/* 02 — Header */
.site-header { position: relative; z-index: 10; background: var(--color-white); }
.header-inner { display: grid; min-height: 76px; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: block; width: 120px; }
.brand img { width: 100%; mix-blend-mode: multiply; }
.header-actions { display: flex; justify-content: flex-end; margin-right: -8px; }
.desktop-navigation { display: none; }
.mobile-navigation { margin-left: -8px; }
.mobile-navigation > summary { list-style: none; }
.mobile-navigation > summary::-webkit-details-marker { display: none; }
.mobile-navigation[open] > summary { background: var(--color-ivory); }
.mobile-navigation__panel { position: absolute; top: 100%; right: 0; left: 0; padding: 25px var(--gutter) 20px; border-block: 1px solid var(--color-line); background: var(--color-white); box-shadow: 0 18px 22px rgb(10 10 10 / 8%); }
.mobile-navigation__panel > a { display: flex; min-height: 49px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--color-line); font: 400 25px/1.5 var(--font-display); }
.mobile-navigation__panel .eyebrow { margin-bottom: 12px; }
.mobile-navigation__panel .small-print { margin-top: 20px; }

/* 03 — Hero */
.hero { position: relative; min-height: 360px; height: 93vw; max-height: 470px; isolation: isolate; overflow: hidden; background: #e7dcca; }
.hero__picture { position: absolute; z-index: -2; inset: 0; }
.hero__picture img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; }
.hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(248 245 238 / 35%), transparent 62%); content: ""; }
.hero__inner { display: flex; height: 100%; align-items: center; }
.hero__copy { width: 53%; padding-block: 22px; }
.hero .eyebrow { margin-bottom: 12px; }
.hero h1 { margin-left: -2px; font-size: clamp(43px, 11.5vw, 58px); line-height: 1.02; letter-spacing: -.025em; }
.hero__description { margin-block: 16px 18px; font-size: 12px; font-weight: 500; line-height: 1.65; letter-spacing: .17em; text-transform: uppercase; }
.hero .button { gap: 13px; padding-inline: 16px; }

/* 04 — Categories */
.categories { padding-block: 14px 7px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.category { min-width: 0; text-align: center; }
.category__image { display: block; aspect-ratio: 1 / 1.04; overflow: hidden; background: var(--color-ivory); }
.category__image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; transform: scale(1.7); transition: transform .4s; }
.category__image--tops img { transform: scale(1.35); object-position: 50% 67%; }
.category__image--sets img { transform: scale(1.65); object-position: 50% 46%; transform-origin: center 35%; }
.category__image--new img { transform: scale(1.6); object-position: center top; transform-origin: center 12%; }
.category__name { display: flex; min-height: 39px; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.imagery-note { margin-top: 2px; font-size: 12px; text-align: center; }

/* 05 / 08 — Product sections */
.product-section { padding-block: 15px 24px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.section-heading h2 { font-size: clamp(19px, 4.9vw, 24px); line-height: 1.25; letter-spacing: .07em; text-transform: uppercase; }
.section-heading .text-link { flex: none; font-size: 12px; letter-spacing: .08em; }
.section-note { margin-block: 0 14px; font-size: 12px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
.product-card { min-width: 0; }
.product-card--extended { display: none; }
.product-card__link { display: block; }
.product-card__image { aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-ivory); }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.product-card h3 { margin-top: 9px; font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.product-card__price { margin-top: 2px; color: var(--color-muted); font-size: 12px; line-height: 1.5; }
.swatches { display: flex; gap: 7px; margin-top: 8px; }
.swatch { display: block; width: 13px; height: 13px; border: 1px solid rgb(10 10 10 / 10%); border-radius: 50%; }
.swatch--black { background: var(--color-ink); outline: 1px solid var(--color-stone); outline-offset: 2px; }
.swatch--sand { background: var(--color-sand); }
.swatch--ivory { background: #e8e2d6; }
.mobile-product-disclosure { margin-top: 18px; color: var(--color-muted); font-size: 12px; }
.mobile-product-disclosure summary { display: flex; min-height: 44px; align-items: center; justify-content: space-between; padding-block: 8px; border-block: 1px solid var(--color-line); list-style: none; }
.mobile-product-disclosure summary::-webkit-details-marker { display: none; }
.mobile-product-disclosure summary span { font-size: 18px; }
.mobile-product-disclosure p { padding-top: 10px; }
.mobile-product-disclosure a { text-decoration: underline; text-underline-offset: 3px; }
.product-section:has(.mobile-product-disclosure[open]) .product-card--extended { display: block; }
.mobile-product-disclosure[open] summary span { transform: rotate(45deg); }

/* 06 — Brand statement */
.brand-story { overflow: hidden; background: var(--color-ivory); }
.brand-story__inner { display: grid; position: relative; min-height: 268px; grid-template-columns: 55% 45%; }
.brand-story__copy { z-index: 1; padding-block: 25px 22px; }
.brand-story__copy .eyebrow { font-size: 12px; }
.brand-story h2 { position: relative; width: max-content; margin-top: 10px; font-size: 27px; line-height: 1.25; letter-spacing: .015em; }
.editorial-rule { display: block; width: 22px; height: 1px; margin-block: 12px; background: var(--color-muted); }
.brand-story__copy > p:not(.eyebrow) { max-width: 185px; padding-right: 8px; font-size: 12px; line-height: 1.65; }
.brand-story__copy .text-link { margin-top: 6px; font-size: 12px; }
.brand-story__image { position: absolute; top: 0; right: calc(-1 * var(--gutter)); bottom: 0; width: 51%; }
.brand-story__image::after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--color-ivory), transparent 35%); content: ""; }
.brand-story__image img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 28%; filter: grayscale(1); }

/* 07 — Lifestyle */
.lifestyle { position: relative; min-height: 230px; margin-top: 6px; isolation: isolate; overflow: hidden; background: #8c7863; }
.lifestyle__image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; }
.lifestyle::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(29 23 19 / 75%), rgb(29 23 19 / 34%) 50%, transparent 82%); content: ""; }
.lifestyle__inner { padding-block: 28px; }
.lifestyle h2 { margin-bottom: 20px; color: var(--color-white); font-size: 31px; line-height: 1.08; letter-spacing: .025em; text-transform: uppercase; }
.lifestyle .button { gap: 12px; padding-inline: 13px; font-size: 12px; letter-spacing: .08em; }
.product-section--arrivals { padding-block: 19px 25px; }

/* 09 — Shopping information */
.shopping-info { padding-block: 20px; border-top: 1px solid var(--color-line); }
.shopping-info__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.shopping-info__item { display: flex; align-items: center; flex-direction: column; gap: 9px; text-align: center; }
.shopping-info__item + .shopping-info__item { border-left: 1px solid var(--color-line); }
.shopping-info__item .icon { flex: none; width: 27px; height: 27px; }
.shopping-info__item h3 { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.shopping-info__item p { max-width: 105px; margin-top: 3px; color: var(--color-muted); font-size: 12px; line-height: 1.5; }

/* 10 — Newsletter */
.newsletter { padding-block: 25px 22px; background: var(--color-ivory); text-align: center; }
.newsletter h2 { font: 600 12px/1.6 var(--font-ui); letter-spacing: .15em; text-transform: uppercase; }
.newsletter > .container > p { margin-top: 8px; color: var(--color-muted); font-size: 12px; }
.newsletter-form { max-width: 570px; margin: 17px auto 0; }
.newsletter-form__row { display: flex; }
.newsletter input { width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; border: 1px solid var(--color-line); border-right: 0; background: var(--color-white); color: var(--color-ink); font-size: 16px; line-height: 1.4; }
.newsletter input::placeholder { color: var(--color-muted); font-size: 12px; opacity: 1; }
.newsletter-form .button { padding-inline: 13px; font-size: 12px; letter-spacing: .08em; }
.newsletter-form .small-print { margin-top: 10px; font-size: 12px; }
.form-status:empty { display: none; }
.form-status { margin-top: 12px; font-size: 12px; }

/* 11 — Footer */
.site-footer { padding-block: 22px 15px; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 17px 12px; }
.brand--footer { width: 100px; }
.footer-navigation { display: grid; width: 100%; grid-template-columns: 1fr 1fr; gap: 0 24px; order: 2; }
.footer-navigation a { display: flex; min-height: 44px; align-items: center; justify-content: space-between; font-size: 12px; }
.footer-navigation span { font-size: 18px; }
.back-to-top { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; font-size: 12px; }
.copyright { width: 100%; order: 3; color: var(--color-muted); font-size: 12px; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.prototype-details { margin-top: 15px; padding-top: 5px; border-top: 1px solid var(--color-line); }
.prototype-details summary { display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 10px; color: var(--color-muted); font-size: 12px; list-style: none; }
.prototype-details summary::after { content: "+"; font-size: 16px; }
.prototype-details details[open] summary::after { content: "−"; }
.prototype-details__body { max-width: 780px; margin-inline: auto; padding-block: 10px; color: var(--color-muted); font-size: 12px; }
.prototype-details__body p + p { margin-top: 12px; }

/* Progressive enhancements: native dialogs provide Escape and focus trapping. */
dialog { position: fixed; width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 32px 22px; overflow-y: auto; border: 0; background: var(--color-white); color: var(--color-ink); }
dialog::backdrop { background: rgb(10 10 10 / 55%); }
dialog h2 { margin-block: 14px; font-size: 32px; line-height: 1.2; }
dialog .eyebrow { padding-right: 32px; font-size: 12px; }
.dialog-close { position: absolute; z-index: 1; top: 6px; right: 6px; background: var(--color-white); font-size: 30px; font-weight: 400; }
.dialog-description { max-width: 540px; color: var(--color-muted); font-size: 13px; }
.search-field { margin-block: 22px; }
.search-field label { display: block; margin-bottom: 8px; font-size: 12px; }
.search-field input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--color-stone); background: var(--color-white); font-size: 16px; }
#catalogue-result-count { margin-top: 16px; }
.dialog-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; margin-top: 14px; }
.dialog-product { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.dialog-product img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.dialog-product span { display: block; margin-top: 8px; font-size: 12px; font-weight: 500; }
.dialog-product small { display: block; margin-top: 3px; color: var(--color-muted); font-size: 12px; }
.dialog-empty { margin-top: 25px; }
.product-dialog { width: min(850px, calc(100% - 32px)); padding: 0; }
.product-dialog__layout { display: grid; grid-template-columns: 1fr; }
.product-dialog__layout > img { width: 100%; max-height: 40dvh; object-fit: cover; object-position: center 35%; background: var(--color-ivory); }
.product-dialog__copy { padding: 25px 22px; }
.product-dialog__copy > p:not(.eyebrow) { color: var(--color-muted); font-size: 13px; }
.product-dialog__notice { margin-block: 18px; padding-top: 16px; border-top: 1px solid var(--color-line); }
.product-dialog .button { width: 100%; }
.info-dialog { max-width: 500px; padding-top: 45px; }
.info-dialog > p:not(.eyebrow) { color: var(--color-muted); }
.info-dialog .button { margin-top: 25px; }

@media (hover: hover) {
  .button:hover { background: #302c29; }
  .button--light:hover { border-color: var(--color-ivory); background: var(--color-ivory); }
  .text-link:hover, .desktop-navigation a:hover, .footer-navigation a:hover { text-decoration: underline; text-underline-offset: 5px; }
  .product-card__link:hover img { transform: scale(1.025); }
  .category:hover .category__name { text-decoration: underline; text-underline-offset: 4px; }
}

@media (min-width: 480px) {
  :root { --gutter: 24px; }
  .hero__copy { width: 48%; }
  .hero h1 { font-size: 62px; }
  .hero__description { font-size: 13px; }
  .category-grid { gap: 14px; }
  .brand-story__inner { min-height: 310px; }
  .brand-story h2 { font-size: 35px; }
  .brand-story__copy > p:not(.eyebrow) { max-width: 240px; font-size: 14px; }
  .lifestyle { min-height: 290px; }
  .lifestyle h2 { font-size: 38px; }
}

@media (min-width: 768px) {
  :root { --gutter: 36px; }
  .announcement { min-height: 32px; }
  .header-inner { min-height: 86px; }
  .brand { width: 140px; }
  .hero { height: 540px; min-height: 0; max-height: none; }
  .hero__picture img { object-position: center 10%; }
  .hero__copy { width: 46%; padding-left: 22px; }
  .hero h1 { font-size: 72px; }
  .hero .eyebrow { margin-bottom: 20px; font-size: 13px; }
  .hero__description { margin-block: 24px; letter-spacing: .2em; }
  .hero .button { min-width: 176px; }
  .categories { padding-top: 18px; }
  .category__image { aspect-ratio: 1.6; }
  .category__image img { transform: scale(1.35); object-position: center 63%; }
  .category__image--tops img { transform: scale(1.05); object-position: center 58%; }
  .category__image--sets img { transform: scale(1.1); object-position: center 45%; }
  .category__image--new img { transform: scale(1.2); object-position: center 12%; }
  .category__name { min-height: 44px; background: var(--color-ivory); letter-spacing: .2em; }
  .imagery-note { margin-top: 8px; }
  .product-section { padding-block: 24px 36px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading .text-link { font-size: 12px; }
  .section-note { margin-bottom: 17px; font-size: 12px; }
  .product-grid { gap: 28px 20px; }
  .product-card h3 { margin-top: 12px; }
  .brand-story__inner { min-height: 365px; grid-template-columns: 1fr 1fr; }
  .brand-story__copy { align-self: center; padding-block: 38px; padding-left: 22px; }
  .brand-story__copy .eyebrow { font-size: 12px; }
  .brand-story h2 { font-size: 41px; }
  .brand-story__copy > p:not(.eyebrow) { max-width: 285px; }
  .brand-story__copy .text-link { margin-top: 14px; font-size: 12px; }
  .brand-story__image { right: calc(-1 * var(--gutter)); width: 53%; }
  .brand-story__image img { object-position: center 8%; }
  .lifestyle { min-height: 320px; }
  .lifestyle__inner { padding-block: 45px; padding-left: 22px; }
  .lifestyle__image { object-position: center 8%; }
  .lifestyle h2 { font-size: 46px; }
  .lifestyle .button { min-height: 44px; padding-inline: 20px; font-size: 12px; }
  .shopping-info { padding-block: 26px; background: var(--color-ivory); }
  .shopping-info__item { flex-direction: row; justify-content: center; gap: 18px; text-align: left; }
  .shopping-info__item h3 { font-size: 12px; }
  .shopping-info__item p { max-width: none; font-size: 12px; }
  .newsletter { padding-block: 30px 26px; }
  .newsletter > .container > p br { display: none; }
  .newsletter-form .button { min-width: 155px; font-size: 12px; }
  .newsletter input { padding-inline: 20px; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; }
  .brand--footer { width: 120px; }
  .footer-navigation { display: flex; gap: 26px; order: 0; }
  .footer-navigation a { gap: 9px; }
  .back-to-top { justify-self: end; }
  .copyright { grid-column: 1 / -1; }
  .prototype-details { margin-top: 12px; }
  .product-dialog__layout { grid-template-columns: 1fr 1fr; align-items: center; }
  .product-dialog__layout > img { height: 100%; max-height: 600px; aspect-ratio: 4 / 5; }
  .product-dialog__copy { padding: 32px; }
  dialog { padding: 40px; }
  .product-dialog { padding: 0; }
}

@media (min-width: 1024px) {
  :root { --gutter: var(--gutter-desktop); }
  .mobile-navigation { display: none; }
  .desktop-navigation { display: flex; align-items: center; gap: 25px; margin-left: -8px; }
  .desktop-navigation a { display: inline-flex; min-height: 44px; align-items: center; padding-inline: 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .header-actions { gap: 10px; }
  .hero { height: clamp(540px, 42vw, 650px); }
  .hero__picture { left: 8%; }
  .hero__picture img { object-position: center top; }
  .hero::after { background: linear-gradient(90deg, #e7dcca 2%, rgb(231 220 202 / 25%) 30%, transparent 60%); }
  .hero__copy { padding-left: 60px; }
  .hero h1 { font-size: clamp(80px, 6.2vw, 96px); }
  .hero__description { font-size: 14px; }
  .category-grid { gap: 18px; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-card--extended { display: block; }
  .mobile-product-disclosure { display: none; }
  .brand-story__copy { padding-left: 60px; }
  .brand-story h2 { font-size: 48px; }
  .brand-story__inner { min-height: 370px; }
  .lifestyle__inner { padding-left: 60px; }
  .lifestyle h2 { font-size: 50px; }
  .product-section--arrivals .product-card__image { aspect-ratio: 1.65; }
  .product-section--arrivals .product-card__image img { object-position: center 53%; }
}

@media (min-width: 1440px) {
  .brand-story__image { right: calc((1280px - 100vw) / 2); width: calc(50% + (100vw - 1280px) / 2); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
