@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --paper-deep: #eeece4;
  --ink: #24241f;
  --muted: #6a6961;
  --line: #d8d5cb;
  --lime: #b8c934;
  font-family: 'DM Sans', Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
img, svg { display: block; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid #66731e; outline-offset: 4px; }

.skip-link { position: absolute; z-index: 30; top: -50px; left: 12px; padding: 10px 14px; background: #fff; }
.skip-link:focus { top: 12px; }

.site-header { background: rgba(247,245,239,.97); position: relative; z-index: 5; }
.header-inner, .footer-inner { max-width: 1440px; margin: auto; padding: 0 clamp(24px,5.2vw,76px); display: flex; align-items: center; }
.header-inner { min-height: 88px; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 39px; height: 39px; }
.brand-name { font-size: 18px; font-weight: 500; letter-spacing: .22em; white-space: nowrap; line-height: 1.2; }
.brand-name span { font-weight: 300; }
.site-nav { display: flex; align-items: center; gap: clamp(22px,3vw,48px); }
.site-nav a { position: relative; padding: 10px 0; text-decoration: none; text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 700; }
.site-nav a::after { content: ''; height: 1px; position: absolute; left: 0; right: 100%; bottom: 4px; background: var(--ink); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.is-current::after { right: 0; }

.hero { min-height: clamp(470px,39vw,570px); display: grid; grid-template-columns: 35% 65%; background: #ede7dc; overflow: hidden; }
.hero-image { grid-column: 2; grid-row: 1; width: 100%; height: 100%; min-height: inherit; object-fit: cover; object-position: center 54%; }
.hero-shade { display: none; }
.hero-content { grid-column: 1; grid-row: 1; align-self: center; padding: 60px 28px 60px clamp(28px,5.2vw,76px); }
.eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: 11px; font-weight: 700; line-height: 1.6; }
.hero .eyebrow { margin: 0 0 26px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { font-size: clamp(43px,4vw,60px); line-height: 1.08; letter-spacing: -.055em; font-weight: 300; max-width: 450px; margin-bottom: 38px; }
.outline-button { min-height: 49px; display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; border: 1px solid var(--ink); padding: 0 17px 0 21px; text-decoration: none; text-transform: uppercase; letter-spacing: .19em; font-size: 10px; font-weight: 700; transition: background .2s, color .2s; }
.outline-button span { font-size: 17px; font-weight: 400; line-height: 1; }
.outline-button:hover { background: var(--ink); color: var(--paper); }

.section-shell { max-width: 1440px; margin: 0 auto; padding-left: clamp(24px,5.2vw,76px); padding-right: clamp(24px,5.2vw,76px); }
.collection { padding-top: 94px; padding-bottom: 110px; }
.section-heading { text-align: center; margin-bottom: 40px; }
.section-heading h2 { margin: 0; text-transform: uppercase; font-size: 17px; font-weight: 600; letter-spacing: .3em; line-height: 1.4; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(18px,2.1vw,30px); }
.product-card { min-width: 0; }
.product-image-button { width: 100%; display: block; position: relative; overflow: hidden; border: 0; padding: 0; background: #e8e5db; cursor: pointer; aspect-ratio: 1.24; }
.product-image-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.product-card:nth-child(1) img { object-position: 58% center; }
.product-card:nth-child(2) img { object-position: center 48%; }
.product-card:nth-child(3) img { object-position: 47% center; }
.product-image-button:hover img, .product-image-button:focus-visible img { transform: scale(1.045); }
.image-corner { position: absolute; right: 13px; bottom: 13px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--paper); font-size: 18px; opacity: 0; transform: translateY(7px); transition: opacity .2s, transform .2s; }
.product-image-button:hover .image-corner, .product-image-button:focus-visible .image-corner { opacity: 1; transform: translateY(0); }
.product-meta { position: relative; padding: 22px 0 0; }
.product-number { position: absolute; right: 0; top: 24px; font-size: 11px; letter-spacing: .15em; color: #8a897e; }
.product-meta h3 { margin: 0 35px 7px 0; text-transform: uppercase; font-size: 13px; letter-spacing: .24em; font-weight: 700; }
.product-meta p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.text-button, .text-link { background: none; border: 0; border-bottom: 1px solid transparent; padding: 0 0 4px; cursor: pointer; text-decoration: none; text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; gap: 17px; transition: border-color .2s; }
.text-button span, .text-link span { font-size: 17px; line-height: .7; font-weight: 400; }
.text-button:hover, .text-link:hover { border-color: currentColor; }

.about { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(320px,26vw,380px); background: #faf9f5; }
.about-photo { position: relative; overflow: hidden; min-height: inherit; background: #d7c6aa; }
.about-photo-frame { position: absolute; top: 0; left: 50%; height: 100%; width: auto; aspect-ratio: 562 / 286; transform: translateX(-50%); overflow: hidden; }
.about-photo-frame img { position: absolute; top: 0; left: 0; width: 200%; max-width: none; height: auto; transform: translateY(-65.7%); }
.about-content { align-self: center; width: min(100%,680px); padding: 42px clamp(42px,7vw,108px); }
.about-content .eyebrow { margin-bottom: 14px; }
.about-content h2 { font-size: clamp(32px,3vw,45px); line-height: 1.14; font-weight: 300; letter-spacing: -.045em; margin-bottom: 16px; }
.about-content > p:not(.eyebrow) { font-size: 13px; line-height: 1.7; color: #5c5b53; margin-bottom: 23px; max-width: 450px; }

.contact-section { background: #eae8df; }
.contact-inner { max-width: 1440px; margin: auto; padding: 66px clamp(24px,5.2vw,76px); display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 50px; }
.contact-inner .eyebrow { margin-bottom: 14px; }
.contact-inner h2 { font-size: clamp(34px,3.4vw,50px); line-height: 1.1; font-weight: 300; letter-spacing: -.05em; margin: 0; }
.contact-copy { max-width: 440px; }
.contact-copy p { margin: 0 0 22px; color: #5c5b53; font-size: 15px; line-height: 1.7; }
.contact-copy a { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 5px; border-bottom: 1px solid currentColor; text-decoration: none; font-size: 14px; letter-spacing: .02em; overflow-wrap: anywhere; }
.contact-copy a:hover, .contact-copy a:focus-visible { color: #667318; }

.site-footer { background: var(--paper); }
.footer-inner { min-height: 78px; gap: 35px; }
.footer-brand .brand-mark { width: 32px; height: 32px; }
.footer-brand .brand-name { font-size: 13px; }
.footer-inner p { border-left: 1px solid var(--line); padding-left: 35px; margin: 0; font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.back-to-top { margin-left: auto; text-decoration: none; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; white-space: nowrap; }
.back-to-top:hover { text-decoration: underline; text-underline-offset: 4px; }
.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-left: auto; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-size: 11px; letter-spacing: .04em; }
.social-links a:hover { color: #667318; }
.social-links svg { flex-shrink: 0; }

@media (max-width: 900px) {
  .brand-name { font-size: 15px; letter-spacing: .16em; }
  .hero { display: flex; flex-direction: column; }
  .hero-content { width: 100%; padding: 65px clamp(24px,6vw,55px); }
  .hero-image { width: 100%; min-height: 0; height: clamp(340px,48vw,490px); object-position: center; }
  .about-content { padding: 42px 38px; }
  .footer-inner { flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 76px; gap: 14px; }
  .brand { gap: 9px; }
  .brand-mark { width: 31px; height: 31px; }
  .brand-name { font-size: 12px; letter-spacing: .12em; white-space: normal; max-width: 150px; }
  .brand-name span { display: block; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 8px; letter-spacing: .05em; }
  .site-nav a:first-child { display: none; }
  .hero { min-height: 0; }
  .hero-image { height: 320px; object-position: center; }
  .hero-content { padding: 50px 25px 45px; }
  .hero .eyebrow { margin-bottom: 17px; }
  .hero h1 { font-size: clamp(43px,10vw,58px); margin-bottom: 30px; }
  .collection { padding-top: 70px; padding-bottom: 75px; }
  .section-heading { margin-bottom: 34px; }
  .product-grid { grid-template-columns: 1fr; gap: 43px; }
  .product-image-button { aspect-ratio: 1.3; }
  .product-meta { padding-top: 18px; }
  .product-number { top: 20px; }
  .about { grid-template-columns: 1fr; }
  .about-photo { min-height: 0; height: 51vw; }
  .about-content { padding: 55px 27px 60px; }
  .contact-inner { grid-template-columns: 1fr; gap: 20px; padding-top: 58px; padding-bottom: 60px; }
  .footer-inner { gap: 17px; }
  .footer-inner p { border: 0; padding: 0; width: 100%; order: 2; }
  .social-links { width: 100%; order: 3; margin-left: 0; }
  .back-to-top { margin-left: auto; }
}

@media (max-width: 380px) {
  .header-inner { flex-wrap: wrap; padding-top: 11px; padding-bottom: 8px; }
  .site-nav { width: 100%; justify-content: flex-end; }
}

.product-gallery { max-width: 1440px; margin: auto; display: grid; grid-template-columns: 3fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; aspect-ratio: 1.7; }
.product-gallery img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; }
.gallery-lifestyle { grid-column: 1; grid-row: 1 / 3; object-position: 58% center; }
.gallery-detail { grid-column: 2; grid-row: 1; }
.gallery-rear { grid-column: 3; grid-row: 1; }
.gallery-box { grid-column: 2 / 4; grid-row: 2; object-position: center 44%; }
.product-gallery-two { width: calc(100% - 48px); max-width: 1000px; margin: 24px auto 0; grid-template-columns: 1.58fr 1fr; grid-template-rows: minmax(0, 1fr); aspect-ratio: 2.18; }
.product-gallery-lamp { grid-template-columns: 16fr 9fr; aspect-ratio: 25 / 12; }
.product-gallery-speaker { grid-template-columns: 2fr 1fr; aspect-ratio: 9 / 4; }
.product-gallery-speaker img:first-child { object-fit: contain; object-position: center; }
.product-information { max-width: 1152px; padding-top: 45px; padding-bottom: 60px; }
.product-introduction, .product-specifications, .product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); }
.product-title-block .eyebrow { margin-bottom: 16px; }
.product-page h1 { font-weight: 300; font-size: clamp(42px, 5vw, 64px); letter-spacing: -.045em; line-height: 1.1; margin-bottom: 20px; }
.product-tagline { font-size: 21px; font-style: italic; color: var(--muted); margin-bottom: 28px; }
.product-price { font-size: 34px; font-weight: 400; margin-bottom: 12px; }
.product-edition { text-transform: uppercase; letter-spacing: .15em; font-size: 11px; margin-bottom: 0; }
.product-story { padding-top: 31px; }
.product-story p { font-size: 16px; line-height: 1.85; margin-bottom: 28px; max-width: 520px; }
.product-specifications { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; margin-top: 44px; }
.product-specifications h2 { text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .18em; margin-bottom: 19px; }
.product-specifications ul { padding-left: 19px; margin: 0; max-width: 410px; font-size: 15px; line-height: 1.85; }
.product-specifications li + li { margin-top: 4px; }
.product-actions { padding-top: 32px; gap: 26px; }
.product-action { display: flex; align-items: center; justify-content: center; gap: 17px; width: 100%; min-height: 58px; padding: 16px; background: transparent; border: 1px solid var(--ink); border-radius: 4px; color: var(--ink); font: inherit; font-size: 12px; font-weight: 700; text-transform: uppercase; text-align: center; letter-spacing: .17em; line-height: 1.4; }
.product-action-primary { background: var(--ink); color: var(--paper); }
.product-action-primary:hover:not(:disabled) { background: #414138; }
a.product-action { text-decoration: none; transition: background .2s; }
a.product-action:hover { background: var(--paper-deep); }
.product-action:disabled { opacity: 1; cursor: default; }
.product-action:not(:disabled) { cursor: pointer; }
.purchase-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; border: 1px solid var(--line); padding: clamp(25px, 5vw, 40px); background: var(--paper); color: var(--ink); box-shadow: 0 20px 70px #0003; }
.purchase-dialog::backdrop { background: #181a13aa; }
.purchase-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; color: var(--ink); font-size: 29px; width: 36px; height: 36px; cursor: pointer; }
.purchase-dialog .eyebrow { margin-bottom: 15px; padding-right: 20px; }
.purchase-dialog h2 { font-size: 36px; letter-spacing: -.04em; font-weight: 300; margin-bottom: 12px; }
.purchase-dialog > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.purchase-form { display: grid; gap: 9px; }
.purchase-form[hidden], .purchase-success[hidden] { display: none; }
.purchase-success p { font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.purchase-form label { font-size: 12px; font-weight: 600; margin-top: 7px; }
.purchase-form input, .purchase-form select { width: 100%; min-width: 0; min-height: 46px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--ink); padding: 10px 12px; font: inherit; font-size: 16px; }
.purchase-note, .purchase-status { font-size: 12px; line-height: 1.7; color: var(--muted); overflow-wrap: anywhere; margin: 12px 0 7px; }
.purchase-status[hidden] { display: none; }
.purchase-email-fallback { font-size: 12px; line-height: 1.7; margin: 0; }
.purchase-email-fallback a { text-underline-offset: 3px; }
.product-page .site-footer { border-top: 1px solid var(--line); }
.product-overview { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(30px, 6vw, 85px); padding-top: 45px; padding-bottom: 70px; min-height: 70vh; }
.product-overview > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-overview > div > p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.8; margin-bottom: 30px; }

@media (max-width: 640px) {
  .product-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; aspect-ratio: auto; gap: 7px; }
  .gallery-lifestyle { grid-column: 1 / 3; grid-row: 1; aspect-ratio: 1.15; }
  .gallery-detail { grid-column: 1; grid-row: 2; aspect-ratio: 1; }
  .gallery-rear { grid-column: 2; grid-row: 2; aspect-ratio: 1; }
  .gallery-box { grid-column: 1 / 3; grid-row: 3; aspect-ratio: 1.5; }
  .product-gallery-two { width: calc(100% - 32px); margin-top: 16px; grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .product-gallery-two img { height: auto; }
  .product-gallery-speaker img:first-child { aspect-ratio: 3 / 2; height: auto; }
  .product-information { padding-top: 35px; padding-bottom: 40px; }
  .product-introduction, .product-actions, .product-overview { grid-template-columns: 1fr; }
  .product-story { padding-top: 0; }
  .product-story p:last-child { margin-bottom: 0; }
  .product-specifications { grid-template-columns: 1fr; gap: 28px; margin-top: 30px; padding: 28px 0; }
  .product-actions { gap: 13px; padding-top: 26px; }
  .product-overview { padding-top: 15px; padding-bottom: 45px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
