.sd-home { overflow: clip; }
.sd-home-eyebrow { display: block; color: #66746a; font-size: .68rem; font-weight: 600; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.sd-home-primary-link, .sd-home-secondary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; width: max-content; max-width: 100%; text-decoration: none; }
.sd-home-primary-link { min-width: 226px; padding: 16px 0 11px; border-bottom: 1px solid var(--sd-ink); color: var(--sd-ink); font-size: .85rem; font-weight: 600; }
.sd-home-secondary-link { padding-bottom: 8px; border-bottom: 1px solid currentColor; color: var(--sd-ink); font-size: .8rem; font-weight: 500; }
.sd-home-primary-link span, .sd-home-secondary-link span { font-size: 1.1rem; line-height: 1; transition: transform .22s ease; }
.sd-home-primary-link:hover span, .sd-home-secondary-link:hover span { transform: translate(3px, -3px); }

.sd-home-hero { display: grid; grid-template-columns: 50% 50%; height: calc(100svh - 60px); min-height: 620px; background: var(--sd-cream); }
.sd-home-hero-copy { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: clamp(45px, 8vh, 100px) clamp(36px, 6vw, 110px) 38px max(4vw, calc((100vw - 1440px) / 2)); }
.sd-home-hero-main { max-width: 620px; margin: auto 0; padding: 24px 0; }
.sd-home-hero h1 { max-width: 650px; margin: 28px 0 28px; font-family: var(--sd-serif); font-size: clamp(4rem, 6vw, 7rem); font-weight: 400; letter-spacing: -.06em; line-height: .98; }
.sd-home-hero-main > p { max-width: 395px; margin-bottom: 35px; color: #4f6055; font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.65; }
.sd-home-hero-media { position: relative; min-width: 0; overflow: hidden; background: #e5dfd7; }
.sd-home-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--slide-desktop-position, center 70%); }
.sd-home-hero-slide { opacity: 0; transition: opacity .9s ease; }
.sd-home-hero-slide.is-active { opacity: 1; }
.sd-home-slide-controls { position: absolute; z-index: 2; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 2px; padding: 5px; border: 1px solid rgba(32, 57, 47, .12); background: rgba(248, 247, 243, .92); color: var(--sd-ink); }
.sd-home-slide-controls button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: inherit; font: 400 1.1rem/1 var(--sd-sans); cursor: pointer; transition: background .2s ease; }
.sd-home-slide-controls button:hover { background: rgba(36, 64, 52, .08); }
.sd-home-slide-controls button:focus-visible { outline: 2px solid var(--sd-ink); outline-offset: 1px; }
.sd-home-slide-counter { min-width: 60px; color: #58675b; font-size: .67rem; font-weight: 600; letter-spacing: .1em; text-align: center; white-space: nowrap; }

.sd-home-categories { padding-top: clamp(72px, 7vw, 110px); }
.sd-home-categories .sd-home-section-head { margin-bottom: 28px; }
.sd-home-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.sd-home-section-head h2 { margin-top: 15px; font-family: var(--sd-serif); font-size: clamp(2.8rem, 4.6vw, 5rem); font-weight: 400; letter-spacing: -.05em; line-height: 1.05; }
.sd-home-section-head > .sd-home-secondary-link { margin-bottom: 8px; }
.sd-home-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 30px); }
.sd-home-category { min-width: 0; display: block; }
.sd-home-category-media { display: block; width: 100%; aspect-ratio: 3 / 4; max-height: 60svh; overflow: hidden; background: #e6e2dc; }
.sd-home-category-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transition: transform .6s ease; }
.sd-home-category:hover .sd-home-category-media img { transform: scale(1.035); }
.sd-home-category-meta { display: grid; grid-template-columns: 28px 1fr 20px; align-items: baseline; gap: 10px; padding: 16px 0 12px; border-bottom: 1px solid var(--sd-line); }
.sd-home-category-meta > span:first-child { color: var(--sd-muted); font-size: .68rem; }
.sd-home-category-meta strong { font-family: var(--sd-serif); font-size: clamp(1.35rem, 2.2vw, 2.25rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.1; }
.sd-home-category-meta > span:last-child { justify-self: end; font-size: 1.12rem; transition: transform .22s ease; }
.sd-home-category:hover .sd-home-category-meta > span:last-child { transform: translate(3px, -3px); }

.sd-home-featured { padding-top: clamp(80px, 7.5vw, 120px); padding-bottom: clamp(85px, 8vw, 125px); }
.sd-home-featured .sd-product-grid { max-width: 1200px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(15px, 1.7vw, 26px); margin-inline: auto; }
.sd-home-product { position: relative; min-width: 0; }
.sd-home-product > .sd-favorite-toggle { position: absolute; top: 12px; right: 12px; background: rgba(248, 247, 243, .9); border-radius: 50%; }
.sd-home-product .sd-card-arrow { display: none; }
.sd-home-featured .sd-product-card-media { background: #ebe8e2; }
.sd-home-featured .sd-product-card-meta { display: block; padding-top: 15px; }
.sd-home-featured .sd-product-card-title-wrap { gap: 7px; }
.sd-home-featured .sd-product-card-title { font-size: clamp(1.35rem, 1.9vw, 1.85rem); }
.sd-home-featured .sd-product-card-price { display: block; margin-top: 8px; font-size: .84rem; }
.sd-home-availability { display: block; margin-top: 9px; color: #8a746d; font-size: .7rem; }

.sd-home-story { padding: clamp(55px, 5vw, 80px) 0; background: #f0ede7; }
.sd-home-story-inner { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: clamp(36px, 6vw, 96px); }
.sd-home-story-detail, .sd-home-story-silhouette { min-width: 0; margin: 0; }
.sd-home-story-detail-media { width: 100%; aspect-ratio: 4 / 5; max-height: 620px; overflow: hidden; background: #e4dfd7; }
.sd-home-story-detail-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.sd-home-story-detail--from-photo img { object-position: center 72%; transform: scale(1.55); transform-origin: center 72%; }
.sd-home-story-detail figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; color: var(--sd-muted); font: 400 .68rem/1.5 var(--sd-sans); letter-spacing: .02em; }
.sd-home-story-copy { max-width: 530px; padding: 0; }
.sd-home-story-copy h2 { margin: 18px 0 22px; font-family: var(--sd-serif); font-size: clamp(2.7rem, 3.8vw, 4.6rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.04; }
.sd-home-story-copy p { max-width: 430px; margin-bottom: 22px; color: #58675b; font-size: .96rem; line-height: 1.75; }
.sd-home-story-silhouette { width: min(100%, 360px); margin-top: 34px; margin-left: auto; }
.sd-home-story-silhouette img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; object-position: center; }
.sd-home-story-silhouette figcaption { padding-top: 12px; color: var(--sd-muted); font: 400 .68rem/1.5 var(--sd-sans); letter-spacing: .02em; }

.sd-home-promotion { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 7vw, 100px); min-height: 450px; padding-top: 100px; padding-bottom: 100px; border-bottom: 1px solid var(--sd-line); }
.sd-home-promotion-copy h2 { margin: 18px 0 22px; font-family: var(--sd-serif); font-size: clamp(2.7rem, 4vw, 5rem); font-weight: 400; letter-spacing: -.05em; }
.sd-home-promotion-copy p { max-width: 450px; margin-bottom: 28px; color: #58675b; font-size: 1rem; line-height: 1.7; }
.sd-home-promotion > img { width: 100%; height: 420px; object-fit: cover; }
.sd-home-promotion:not(:has(> img)) { display: block; min-height: 0; }
.sd-home-journal { padding-top: 120px; padding-bottom: 140px; }
.sd-home-journal .sd-news-grid { gap: clamp(16px, 2vw, 30px); }

@media (max-width: 1000px) {
  .sd-home-hero { min-height: 650px; }
  .sd-home-hero h1 { font-size: clamp(3.5rem, 6vw, 5.5rem); }
  .sd-home-featured .sd-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
}

@media (max-width: 800px) {
  .sd-home-hero { display: flex; flex-direction: column-reverse; height: auto; min-height: 0; }
  .sd-home-hero-media { height: min(85vw, 590px); min-height: 340px; margin-bottom: 48px; overflow: visible; }
  .sd-home-hero-media img { object-position: var(--slide-mobile-position, center 64%); }
  .sd-home-slide-controls { right: 0; bottom: -48px; left: 0; height: 48px; justify-content: center; gap: 4px; padding: 4px 0; border: 0; border-bottom: 1px solid var(--sd-line); background: var(--sd-cream); }
  .sd-home-hero-copy { min-height: 380px; padding: 35px max(20px, 5vw) 30px; }
  .sd-home-hero-main { margin: 0; padding: 0; }
  .sd-home-hero h1 { max-width: 620px; margin: 18px 0 19px; font-size: clamp(3.35rem, 8vw, 5.7rem); }
  .sd-home-hero-main > p { margin-bottom: 26px; }
  .sd-home-story-inner { grid-template-columns: 1fr; gap: 32px; }
  .sd-home-story-detail-media { aspect-ratio: 5 / 4; max-height: 480px; }
  .sd-home-story-copy { max-width: 600px; padding: 0; }
  .sd-home-story-copy h2 { max-width: 560px; font-size: clamp(2.7rem, 6vw, 4rem); }
}

@media (max-width: 640px) {
  .sd-home-hero-media { height: 105vw; min-height: 390px; max-height: 560px; }
  .sd-home-hero-copy { min-height: 360px; padding: 28px 18px 28px; }
  .sd-home-hero h1 { max-width: 440px; font-size: clamp(3.3rem, 12vw, 5rem); }
  .sd-home-section-head { display: block; margin-bottom: 26px; }
  .sd-home-section-head h2 { font-size: clamp(2.7rem, 9vw, 4.4rem); }
  .sd-home-section-head > .sd-home-secondary-link { margin-top: 22px; }
  .sd-home-categories { padding-top: 68px; }
  .sd-home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  .sd-home-category-media { aspect-ratio: 3 / 4; }
  .sd-home-category-meta { grid-template-columns: 1fr 16px; gap: 2px; padding: 10px 0 12px; }
  .sd-home-category-meta > span:first-child { display: none; }
  .sd-home-category-meta strong { font-size: clamp(1.3rem, 4.8vw, 1.8rem); }
  .sd-home-category-meta > span:last-child { font-size: .95rem; }
  .sd-home-category--wide-mobile { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 20px; background: var(--sd-sand); }
  .sd-home-category--wide-mobile .sd-home-category-meta { display: flex; flex-direction: column; align-items: flex-start; align-self: end; gap: 12px; padding: 0 12px 20px 0; border: 0; }
  .sd-home-category--wide-mobile .sd-home-category-meta strong { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .sd-home-category--wide-mobile .sd-home-category-meta > span:last-child { display: block; }
  .sd-home-featured { padding-top: 80px; padding-bottom: 80px; }
  .sd-home-featured .sd-product-grid { gap: 32px 12px; }
  .sd-home-featured .sd-product-card-meta { padding-top: 12px; }
  .sd-home-featured .sd-product-card-title { font-size: 1.4rem; }
  .sd-home-featured .sd-product-card .sd-overline { font-size: .54rem; }
  .sd-home-story { padding: 30px 0 55px; }
  .sd-home-story-detail-media { aspect-ratio: 1 / 1; }
  .sd-home-story-copy h2 { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  .sd-home-story-detail figcaption { font-size: .6rem; }
  .sd-home-story-silhouette { width: 85%; max-width: 360px; margin-top: 28px; }
  .sd-home-promotion { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 35px; padding-top: 80px; padding-bottom: 80px; }
  .sd-home-promotion > img { height: 75vw; }
  .sd-home-journal { padding-top: 95px; padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  .sd-home-category-media img, .sd-home-primary-link span, .sd-home-secondary-link span { transition: none; }
  .sd-home-hero-slide { transition: none; }
  .sd-home-slide-pause { display: none !important; }
}
