/* Homepage composition; shared colors, typography, and navigation live in editorial.css. */
.home-page .home-magazine { margin: 0; padding: 0; overflow: visible; }
.home-magazine a { color: inherit; text-decoration: none; }
.home-magazine a:hover { color: var(--wine); }
.home-page a:focus-visible { outline: 2px solid var(--wine); outline-offset: 5px; }
.home-magazine h1, .home-magazine h2, .home-magazine h3 { color: inherit; font-family: "DM Serif Display", Georgia, serif; font-weight: 400; }
.home-edition, .home-deck { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.home-edition { color: var(--wine); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.home-masthead { border-bottom: 4px double var(--wine); margin-bottom: 32px; }
.home-masthead h1 { color: var(--wine); text-align: center; font-size: clamp(68px, 9vw, 130px); letter-spacing: -.055em; line-height: .83; padding: 26px 0 24px; margin: 0; }
.home-masthead h1 span { display: block; font-size: .91em; letter-spacing: -.065em; }
.home-deck { border-top: 1px solid var(--rule); padding: 12px 0; }
.home-deck p { font-family: Georgia, serif; font-style: italic; margin: 0; font-size: 16px; }
.home-deck time { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.home-front { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(240px, 1fr); gap: 36px; }
.hero-media, .story-media { display: block; overflow: hidden; background: #e6ddcd; align-self: start; }
.hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.hero-copy { padding: 22px 0 0; }
.home-kicker { display: block; color: var(--wine); font-family: "DM Sans", sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .13em; line-height: 1.6; text-transform: uppercase; margin: 0 0 12px; }
.home-kicker span { padding: 0 8px; }
.hero-title { font-size: clamp(30px, 3.3vw, 48px); line-height: 1.07; letter-spacing: -.025em; margin: 0 0 16px; text-wrap: pretty; }
.hero-hook { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 65ch; margin-bottom: 18px; }
.home-magazine .home-text-link { color: var(--wine); display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .045em; padding-block: 6px; border-bottom: 1px solid var(--wine); }
.home-text-link span { margin-left: 12px; }
.home-magazine .home-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-sidebar { border-left: 1px solid var(--rule); padding-left: 28px; }
.home-sidebar-heading { font-size: 34px; margin: 0 0 10px; }
.most-read-list { list-style: none; padding: 0; margin: 0; counter-reset: reading; }
.most-read-list li { counter-increment: reading; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; border-bottom: 1px solid var(--rule); padding: 18px 0; }
.most-read-list li::before { content: counter(reading, decimal-leading-zero); font-family: "DM Serif Display", Georgia, serif; font-size: 31px; font-style: italic; line-height: 1; color: #a38867; }
.most-read-list a { font-family: "DM Serif Display", Georgia, serif; font-size: 18px; line-height: 1.25; }
.home-finder { margin-top: 26px; padding: 25px 22px; background: #e9e2d3; border-top: 3px solid var(--wine); }
.home-finder h2 { font-size: 28px; line-height: 1.1; }
.home-finder > p:not(.home-kicker) { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 14px 0 8px; }
.home-latest { margin-top: 48px; border-top: 1px solid var(--ink); padding-top: 22px; }
.home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.home-section-heading .home-kicker { margin-bottom: 4px; }
.home-section-heading h2 { font-size: 42px; line-height: 1.1; margin: 0; letter-spacing: -.025em; }
.home-section-heading > a { flex-shrink: 0; }
.home-story-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.story-card { min-width: 0; }
.story-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.story-media:hover img { transform: scale(1.035); }
.story-card-body { padding-top: 16px; }
.story-card h3 { font-size: 23px; letter-spacing: -.015em; line-height: 1.2; margin-bottom: 14px; }
.home-discover { margin-top: 48px; padding: 30px 0; border-top: 4px double var(--wine); border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.home-discover h2 { font-size: 32px; color: var(--wine); line-height: 1.15; margin: 0; }
.home-discover > a { border-left: 1px solid var(--rule); padding-left: 28px; }
.home-discover h3 { font-size: 24px; line-height: 1.25; }
.home-shop { display: flex; align-items: center; justify-content: center; gap: 30px; padding: 36px 0; }
.home-shop img { width: 125px; height: 125px; object-fit: cover; }
.home-shop h2 { font-size: 27px; margin: 0 0 6px; }
.home-shop p:not(.home-kicker) { font-size: 13px; color: var(--muted); margin: 0; }
.home-shop .home-kicker { margin-bottom: 6px; }
.empty-state { padding: 24px; border: 1px solid var(--rule); color: var(--muted); line-height: 1.6; }
@media (min-width: 1200px) {
    .home-masthead h1 { position: relative; }
    .home-masthead h1::before, .home-masthead h1::after { position: absolute; top: 36%; font: italic 13px Georgia, serif; letter-spacing: 0; }
    .home-masthead h1::before { content: "The art of cheese."; left: 0; }
    .home-masthead h1::after { content: "The joy of discovery."; right: 0; }
}
@media (max-width: 991.98px) {
    .home-front { grid-template-columns: minmax(0, 1fr); }
    .home-sidebar { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 28px; border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 26px; }
    .home-finder { margin-top: 0; }
    .home-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
}
@media (max-width: 575.98px) {
    .home-edition { font-size: 8px; letter-spacing: .08em; gap: 14px; }
    .home-edition span:last-child { text-align: right; }
    .home-masthead h1 { font-size: clamp(46px, 11.4vw, 66px); padding-block: 24px; line-height: .95; }
    .home-deck { align-items: flex-start; }
    .home-deck p { font-size: 13px; max-width: 190px; }
    .home-deck time { font-size: 8px; letter-spacing: .06em; padding-top: 3px; }
    .home-front { gap: 28px; }
    .hero-title { font-size: 32px; }
    .hero-hook { font-size: 15px; }
    .home-sidebar { grid-template-columns: 1fr; }
    .home-latest { margin-top: 32px; }
    .home-section-heading h2 { font-size: 34px; }
    .home-story-grid { grid-template-columns: 1fr; }
    .story-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; border-bottom: 1px solid var(--rule); padding-bottom: 22px; }
    .story-media img { aspect-ratio: 1; }
    .story-card-body { padding: 0; }
    .story-card h3 { font-size: 22px; }
    .story-card .home-kicker { font-size: 9px; margin-bottom: 6px; }
    .home-discover { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
    .home-discover > a { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
    .home-shop { gap: 18px; }
    .home-shop img { width: 90px; height: 110px; }
    .home-shop h2 { font-size: 23px; }
    .home-page .mobile-nav-item { min-width: 0; padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) { .story-media img { transition: none; } }
