:root {
  --paper: #fcfbe9;
  --ink: #172625;
  --red: #174c4b;
  --light: #fcfbe9;
  --muted: #52625c;
  --display: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.page-width { width: min(100% - 112px, 1240px); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 10; padding: 12px 16px; background: var(--light); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid #dbddc9; }
.navigation { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 78px; }
.nav-links, .footer-links { display: flex; align-items: center; gap: 26px; font-size: 13px; font-weight: 700; }
.nav-links a:hover, .footer-links a:hover { color: var(--red); text-decoration: underline; }
.wordmark { position: relative; display: block; width: 135px; height: 61px; overflow: hidden; }
.wordmark img { position: absolute; width: 135px; height: 135px; max-width: none; left: 0; top: 50%; transform: translateY(-50%); }
.nav-bag { justify-self: end; display: inline-flex; align-items: center; gap: 9px; border: 0; background: transparent; padding: 9px 0 9px 9px; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; }
.bag-count { display: grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 4px; border: 1px solid #8e9c8c; border-radius: 50%; font-size: 11px; }
.nav-bag:hover .bag-count { border-color: var(--red); background: var(--red); color: var(--light); }

.hero { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); background: var(--red); color: var(--light); }
.hero-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 52px 30px 62px max(56px, calc((100vw - 1240px) / 2)); }
.eyebrow { font: 700 11px/1.3 var(--body); text-transform: uppercase; letter-spacing: .16em; }
.hero h1 { margin: 25px 0 33px; font: 400 clamp(72px, 8.8vw, 132px)/.87 var(--display); letter-spacing: -.045em; }
.hero h1 em { display: block; font-weight: inherit; }
.hero-cta { display: inline-flex; align-items: center; gap: 29px; padding: 13px 18px; border: 1px solid var(--light); background: var(--light); color: var(--ink); font-size: 13px; font-weight: 700; transition: background .2s, color .2s; }
.hero-cta:hover { background: transparent; color: var(--light); }
.hero-cta span { font-size: 17px; line-height: 1; }
.hero-media { min-height: 500px; height: min(57vw, 640px); background: #153f4b; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }

.collection { padding-block: 72px 90px; scroll-margin-top: 20px; }
.collection-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.collection h2, .about h2 { font: 400 clamp(65px, 8vw, 111px)/.86 var(--display); letter-spacing: -.045em; }
.collection-notes { max-width: 37ch; padding-bottom: 3px; color: var(--muted); }
.checkout-status { font-size: 14px; font-weight: 600; color: var(--ink); }
.mockup-note { margin-top: 5px; font-size: 12px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 16px; }
.product-open { width: 100%; display: block; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; text-align: left; }
.product-image { position: relative; display: block; overflow: hidden; aspect-ratio: 1; background: #eeebe3; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-open:hover img { transform: scale(1.035); }
.view-product { position: absolute; right: 13px; bottom: 13px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--light); border-radius: 50%; font-size: 18px; transition: color .2s, background .2s; }
.product-open:hover .view-product { background: var(--red); color: var(--light); }
.product-summary { display: grid; gap: 4px; padding: 13px 1px 0; }
.product-name { font: 400 clamp(28px, 2.65vw, 39px)/1 var(--display); letter-spacing: -.015em; }
.product-color { font-size: 13px; color: var(--muted); }

.mallorca-divider { position: relative; overflow: hidden; height: clamp(330px, 44vw, 660px); background: #153f4b; }
.mallorca-divider-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.mallorca-divider-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(208px, 43vw, 620px);
  max-width: 72%;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 3px 6px rgb(0 0 0 / .52));
  pointer-events: none;
}

.concept-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.concept-badge { position: absolute; top: 13px; left: 13px; padding: 5px 10px; background: var(--light); color: var(--red); font: 700 11px/1.3 var(--body); }

.about { background: #dce5d8; }
.about-inner { padding-block: 65px 72px; }
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 35ch); align-items: end; gap: 24px 40px; margin-bottom: 34px; }
.about .eyebrow { color: var(--red); }
.about-intro .eyebrow { margin-bottom: 15px; }
.about-copy { max-width: 35ch; }
.about-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
.about-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #c8d8cf; }
.about-photo-brad { object-position: center 18%; }
.about-caption { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; padding-block: 12px; border-bottom: 1px solid #aabbb0; }
.about-caption h3 { margin-top: 4px; font: 400 clamp(32px, 4vw, 49px)/1 var(--display); letter-spacing: -.02em; }
.about-photo-note { color: var(--muted); font-size: 12px; }
.site-footer { padding-block: 16px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.footer-inner .wordmark { width: 110px; }
.footer-inner .wordmark img { width: 110px; height: 110px; }

@media (max-width: 900px) {
  .page-width { width: calc(100% - 64px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-content { padding-inline: 32px 14px; }
  .hero h1 { font-size: clamp(55px, 9vw, 82px); }
  .hero-media { min-height: 420px; }
  .about-intro { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 620px) {
  .page-width { width: calc(100% - 36px); }
  .navigation { min-height: 63px; }
  .nav-links { gap: 12px; font-size: 12px; }
  .nav-bag { gap: 5px; font-size: 11px; }
  .wordmark { width: 101px; height: 52px; }
  .wordmark img { width: 101px; height: 101px; }
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 32px 18px 36px; }
  .hero h1 { font-size: clamp(54px, 13.8vw, 86px); margin: 17px 0 20px; line-height: .91; }
  .hero-media { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .collection { padding-block: 44px 58px; }
  .collection-heading { display: block; margin-bottom: 19px; }
  .collection-notes { padding: 0; margin-top: 9px; font-size: 14px; }
  .product-grid { gap: 21px 12px; }
  .concept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .concept-badge { top: 7px; left: 7px; padding-inline: 7px; font-size: 10px; }
  .view-product { width: 30px; height: 30px; right: 7px; bottom: 7px; font-size: 14px; }
  .product-summary { padding-top: 8px; }
  .product-name { font-size: clamp(22px, 6.4vw, 32px); }
  .product-color { font-size: 11px; }
  .mallorca-divider { height: auto; aspect-ratio: 1440 / 812; }
  .about-inner { padding-block: 45px 51px; }
  .about-intro { margin-bottom: 25px; }
  .about h2 { font-size: clamp(54px, 12vw, 72px); }
  .about-copy { font-size: 15px; }
  .about-people { grid-template-columns: 1fr; }
  .footer-links { gap: 12px; font-size: 11px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
