/* Explain: Homepage partnerships section and split layout utilities. */
.site-container {
    width: 100%;
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

@media (min-width: 640px) {
    .site-container { padding-inline: 2rem; }
}

@media (min-width: 1024px) {
    .site-container { padding-inline: 2.5rem; }
}

.section-pad {
    padding-block: 3.5rem;
}

@media (min-width: 768px) {
    .section-pad { padding-block: 6rem; }
}

.section-head {
    max-width: 40rem;
}

.section-head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
}

.section-title {
    margin-top: 0.75rem;
    font-size: 1.85rem;
    line-height: 1.15;
}

@media (min-width: 640px) {
    .section-title { font-size: 2.4rem; }
}

/* Split editorial hero */
.hero-section {
    padding-block: 1.5rem 2.5rem;
}

@media (min-width: 768px) {
    .hero-section { padding-block: 2.5rem 4rem; }
}

.hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4.5rem;
    }
}

.hero-panel { max-width: 34rem; }

.hero-figure {
    order: -1;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
}

@media (min-width: 1024px) {
    .hero-figure { order: 0; }
}

.hero-title {
    margin-top: 1rem;
    font-size: clamp(2.1rem, 5.5vw, 3.6rem);
    line-height: 1.05;
}

.hero-lead {
    margin-top: 1.25rem;
    max-width: 30rem;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

/* Full-bleed hero (inner pages) */
.hero-shell {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 70vh;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 19, 18, 0.35) 0%, rgba(20, 19, 18, 0.78) 100%);
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 80rem;
    margin-inline: auto;
    padding: 4rem 1.25rem;
    color: #fff;
}

@media (min-width: 640px) {
    .hero-content { padding-inline: 2rem; }
}

/* Featured product grid */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (min-width: 640px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Shop by collection — two columns on mobile */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}

@media (min-width: 1024px) {
    .collection-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Three-step order process */
.step-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    list-style: none;
    padding: 0;
}

@media (min-width: 768px) {
    .step-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Preserved inner-page layout */
.split-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .split-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4.5rem;
    }
}

.frame-media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--surface-color);
}

.frame-media--wide { aspect-ratio: 16 / 11; }

/* About — "A considered collection" two-rings photograph: a square frame keeps
   both rings fully in view, with a hairline inset trimming the thin dark border
   baked into the source file (non-destructive — no scaling or repositioning). */
.frame-media--square { aspect-ratio: 1 / 1; }

.frame-media img.ring-crop {
    clip-path: inset(2% 2% 2% 2%);
}

.frame-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The House portrait: trim only a hairline from the top edge (a thin dark line
   baked into the photograph) without scaling, cropping or repositioning the
   left, right or bottom framing. The frame background is matched to the
   surrounding section so the trimmed sliver leaves no visible seam. */
.frame-media.house-portrait-frame {
    background: var(--background-color);
}

.frame-media img.house-portrait {
    clip-path: inset(3px 0 0 0);
}

.page-hero {
    background: var(--surface-deep);
    color: #f6f1e8;
    padding-block: 4.5rem 3.5rem;
}

@media (min-width: 768px) {
    .page-hero { padding-block: 6rem 4.5rem; }
}

/* Mobile hero — tightened vertical rhythm (desktop unchanged) */
@media (max-width: 767px) {
    .hero-section { padding-block: 1.25rem 2rem; }
    .hero-grid { gap: 1.25rem; }
    .hero-panel .eyebrow { letter-spacing: 0.2em; }
    .hero-title { margin-top: 0.6rem; }
    .hero-lead { margin-top: 0.85rem; }
    .hero-actions { margin-top: 1.25rem; }
}

/* Homepage partnerships feature — compact editorial block.
   Desktop caps the photograph height so the whole section stays near the
   460–480px target; mobile keeps a natural, stacked image-first layout. */
.partnership-frame {
    overflow: hidden;
    background: var(--surface-color);
    aspect-ratio: 4 / 5;
}

@media (min-width: 1024px) {
    .partnership-frame {
        aspect-ratio: auto;
        height: 470px;
    }
}

.partnership-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.partnership-feature {
    padding-block: 3rem;
}

@media (min-width: 768px) {
    .partnership-feature { padding-block: 3.5rem; }
}

@media (min-width: 1024px) {
    .partnership-feature .split-grid { gap: 4rem; }
}