.hd-home {
    position: relative;
    width: 100%;
    overflow: clip;
    background: var(--hd-white);
}

.hd-campaign {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 46rem;
    isolation: isolate;
    overflow: hidden;
    background: var(--hd-ink);
    color: var(--hd-white);
}

.hd-campaign--hero {
    height: 100dvh;
    min-height: 42rem;
}

.hd-campaign--secondary {
    min-height: min(88rem, 92dvh);
}

.hd-campaign__media,
.hd-campaign__gradient {
    position: absolute;
    inset: 0;
}

.hd-campaign__media {
    z-index: -2;
    background: linear-gradient(135deg, #222, #050505);
}

.hd-campaign__media :where(img, video) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hd-campaign__gradient {
    z-index: -1;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.28) 0, transparent 32%),
        linear-gradient(to top, rgba(0, 0, 0, 0.62) 0, transparent 56%);
}

.hd-campaign__content {
    display: flex;
    width: min(100%, 78rem);
    align-self: end;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: calc(var(--hd-header-total) + clamp(5rem, 12vh, 10rem)) var(--hd-gutter) clamp(5.25rem, 10vh, 8rem);
}

.hd-campaign__content .hd-eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
}

.hd-campaign__content :where(h1, h2) {
    max-width: 11ch;
    font-size: clamp(3.65rem, 9vw, 9.5rem);
    letter-spacing: 0;
    line-height: 0.84;
    text-shadow: 0 0.08em 0.75em rgba(0, 0, 0, 0.18);
}

.hd-campaign__story {
    max-width: 39rem;
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.95rem, 1.3vw, 1.15rem);
    line-height: 1.7;
}

.hd-campaign__content .hd-button { margin-top: 0.75rem; }

.hd-campaign__scroll {
    position: absolute;
    right: var(--hd-gutter);
    bottom: clamp(2rem, 4vw, 3.5rem);
    color: var(--hd-white);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-decoration: none;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.hd-campaign__scroll::after {
    display: inline-block;
    width: 1px;
    height: 3rem;
    margin-top: 0.8rem;
    background: currentColor;
    content: "";
}

.hd-campaign__controls {
    position: absolute;
    right: var(--hd-gutter);
    bottom: clamp(5.75rem, 10vw, 8rem);
    display: flex;
    gap: 0.5rem;
}

.hd-campaign__controls button {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 0;
    background: rgba(0, 0, 0, 0.16);
    color: var(--hd-white);
    backdrop-filter: blur(0.25rem);
    cursor: pointer;
}

.hd-campaign__controls svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.35;
}

/* Editorial categories */
.hd-category-editorial {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--hd-white);
}

.hd-category-tile {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    background: var(--hd-paper);
    color: var(--hd-white);
    text-decoration: none;
}

.hd-category-tile__media {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.hd-category-tile__media::after {
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.56));
    content: "";
    pointer-events: none;
}

.hd-category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--hd-ease-out);
}

.hd-category-tile:hover img,
.hd-category-tile:focus-visible img {
    transform: scale(1.035);
}

.hd-category-tile__caption {
    position: absolute;
    right: clamp(0.75rem, 2vw, 1.75rem);
    bottom: clamp(1rem, 2.5vw, 2rem);
    left: clamp(0.75rem, 2vw, 1.75rem);
    z-index: 1;
    font-family: var(--hd-font-editorial);
    font-size: clamp(1.5rem, 3vw, 3.2rem);
    letter-spacing: 0;
    line-height: 1;
}

/* Services pause */
.hd-services {
    background: var(--hd-white);
    color: var(--hd-ink);
    padding: clamp(5.5rem, 11vw, 12rem) var(--hd-gutter);
}

.hd-services__inner {
    display: grid;
    width: min(100%, var(--hd-content-max));
    margin-inline: auto;
    gap: clamp(3rem, 8vw, 9rem);
}

.hd-services h2 {
    max-width: 8ch;
    margin-top: 1rem;
    font-size: clamp(3.5rem, 8vw, 8rem);
    letter-spacing: 0;
    line-height: 0.86;
}

.hd-services__links {
    border-top: 1px solid var(--hd-ink);
}

.hd-services__links a {
    display: grid;
    min-height: clamp(4.5rem, 7vw, 6.75rem);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-bottom: 1px solid var(--hd-line);
    color: var(--hd-ink);
    text-decoration: none;
}

.hd-services__links a span {
    font-size: clamp(0.85rem, 1.5vw, 1.05rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform var(--hd-speed) var(--hd-ease-out);
}

.hd-services__links a svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.2;
    transition: transform var(--hd-speed) var(--hd-ease-out);
}

.hd-services__links a:hover span { transform: translateX(0.5rem); }
.hd-services__links a:hover svg { transform: translateX(0.35rem); }

/* Newsletter bridge */
.hd-newsletter-panel {
    display: grid;
    min-height: min(48rem, 74dvh);
    place-items: center;
    background: var(--hd-ink);
    color: var(--hd-white);
    padding: clamp(5rem, 11vw, 11rem) var(--hd-gutter);
    text-align: center;
}

.hd-newsletter-panel__inner {
    display: flex;
    width: min(100%, 78rem);
    flex-direction: column;
    align-items: center;
}

.hd-newsletter-panel h2 {
    max-width: 18ch;
    margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
    font-size: clamp(2.75rem, 7vw, 7rem);
    letter-spacing: 0;
    line-height: 0.95;
}

.hd-newsletter-panel__trigger {
    margin-top: clamp(2rem, 5vw, 4rem);
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    background: transparent;
    color: var(--hd-white);
    padding: 0.6rem 0;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
}

.hd-newsletter-panel__form {
    width: min(100%, 38rem);
    margin-top: 2.5rem;
    text-align: left;
}

.hd-newsletter-panel__form > label {
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.625rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hd-newsletter-panel__form > div {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.hd-newsletter-panel__form input {
    width: 100%;
    min-height: 3.5rem;
    border: 0;
    background: transparent;
    color: var(--hd-white);
    padding: 0.75rem 0;
}

.hd-newsletter-panel__form input::placeholder { color: rgba(255, 255, 255, 0.55); }
.hd-newsletter-panel__form input:focus { outline: 0; }
.hd-newsletter-panel__form button {
    border: 0;
    background: transparent;
    color: var(--hd-white);
    padding-inline: 1rem 0;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
}

@media (min-width: 48rem) {
    .hd-category-editorial { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hd-services__inner { grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr); align-items: start; }
}

@media (max-width: 47.99rem) {
    .hd-campaign--hero { height: 100svh; min-height: 39rem; }
    .hd-campaign--secondary { min-height: 42rem; }
    .hd-campaign__content {
        gap: 1rem;
        padding: calc(var(--hd-header-total) + 5rem) 1.25rem 4.5rem;
    }
    .hd-campaign__content :where(h1, h2) { font-size: clamp(3.1rem, 16vw, 5.35rem); }
    .hd-campaign__story { max-width: 30rem; font-size: 0.9rem; line-height: 1.6; }
    .hd-campaign__scroll { display: none; }
    .hd-campaign__controls { right: 1.25rem; bottom: 1.25rem; }
    .hd-category-tile__caption { font-size: clamp(1.2rem, 6vw, 1.75rem); }
    .hd-services { padding-inline: 1.25rem; }
    .hd-services h2 { font-size: clamp(3.25rem, 16vw, 5rem); }
    .hd-newsletter-panel { min-height: 42rem; padding-inline: 1.25rem; }
}

@media (max-width: 24rem) {
    .hd-campaign__content :where(h1, h2) { font-size: 2.8rem; }
    .hd-category-tile__caption { font-size: 1.1rem; }
}

/* Product-first merchandising */
.hd-product-section {
    position: relative;
    background: var(--hd-white);
    color: var(--hd-ink);
    padding: clamp(4.5rem, 9vw, 9rem) 0 clamp(4rem, 8vw, 8rem);
}

.hd-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    width: min(100%, var(--hd-page-max));
    margin-inline: auto;
    padding-inline: var(--hd-gutter);
}

.hd-section-heading h2 {
    margin-top: 0.9rem;
    font-size: clamp(3rem, 7vw, 7rem);
    letter-spacing: 0;
    line-height: 0.84;
    text-transform: uppercase;
}

.hd-text-link {
    flex: 0 0 auto;
    border-bottom: 1px solid currentColor;
    padding-bottom: 0.45rem;
    color: inherit;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
}

.hd-text-link span { margin-left: 0.35rem; font-size: 0.9rem; }
.hd-text-link:hover { opacity: 0.6; }

.hd-product-rail {
    display: grid;
    grid-auto-columns: minmax(16rem, 24vw);
    grid-auto-flow: column;
    gap: clamp(0.7rem, 1.5vw, 1.5rem);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: clamp(2.5rem, 5vw, 5rem) var(--hd-gutter) 0;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.hd-product-rail::-webkit-scrollbar { display: none; }

.hd-home-product {
    min-width: 0;
    scroll-snap-align: start;
}

.hd-home-product__media {
    position: relative;
    overflow: hidden;
    background: var(--hd-mist);
    aspect-ratio: 3 / 4;
}

.hd-home-product__media > a,
.hd-home-product__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.hd-home-product__media img {
    object-fit: cover;
    transition: opacity 0.35s ease, transform 0.8s var(--hd-ease-out);
}

.hd-home-product__media .hover-image {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.hd-home-product:hover .main-image,
.hd-home-product:focus-within .main-image { opacity: 0; }
.hd-home-product:hover .hover-image,
.hd-home-product:focus-within .hover-image { opacity: 1; transform: scale(1.025); }

.hd-home-product__label {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 2;
    background: var(--hd-white);
    padding: 0.45rem 0.55rem;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hd-home-product__label.is-muted { background: var(--hd-ink); color: var(--hd-white); }

.hd-home-product__add {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 3;
    display: inline-flex;
    min-height: 2.65rem;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--hd-ink);
    background: var(--hd-white);
    color: var(--hd-ink);
    padding: 0.55rem 0.75rem;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    cursor: pointer;
}

.hd-home-product__add > span:first-child { font-size: 1.1rem; font-weight: 400; line-height: 0.7; }
.hd-home-product:hover .hd-home-product__add,
.hd-home-product:focus-within .hd-home-product__add { opacity: 1; transform: translateY(0); }
.hd-home-product__add:hover { background: var(--hd-ink); color: var(--hd-white); }

.hd-home-product__meta { padding: 1rem 0.1rem 0; }
.hd-home-product__category { margin: 0 0 0.45rem; color: var(--hd-grey); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.hd-home-product h3 { margin: 0; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; line-height: 1.35; }
.hd-home-product h3 a { color: inherit; text-decoration: none; }
.hd-home-product h3 a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.hd-home-product__price { display: flex; gap: 0.4rem; margin: 0.5rem 0 0; color: var(--hd-charcoal); font-size: 0.7rem; }
.hd-home-product__price s { color: var(--hd-grey); }
.hd-product-rail__hint { display: flex; align-items: center; gap: 0.65rem; width: min(100%, var(--hd-page-max)); margin: 2rem auto 0; padding-inline: var(--hd-gutter); color: var(--hd-grey); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hd-product-rail__hint i { display: block; width: 4rem; height: 1px; background: currentColor; }

.hd-category-tabs {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.5rem);
    overflow-x: auto;
    border-top: 1px solid var(--hd-line);
    border-bottom: 1px solid var(--hd-line);
    padding: 1.15rem var(--hd-gutter);
    scrollbar-width: none;
}

.hd-category-tabs::-webkit-scrollbar { display: none; }
.hd-category-tabs__label { flex: 0 0 auto; color: var(--hd-grey); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hd-category-tabs a { flex: 0 0 auto; color: var(--hd-ink); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.13em; text-decoration: none; text-transform: uppercase; }
.hd-category-tabs a:not(.is-active) { color: var(--hd-grey); }
.hd-category-tabs a:hover, .hd-category-tabs a.is-active { color: var(--hd-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.45rem; }

/* Catalogue-led collection shelves: each is a large, considered retail moment
   rather than a generic card row. */
.hd-home-shelf {
    background: var(--hd-white);
    color: var(--hd-ink);
    padding: clamp(5rem, 10vw, 10.5rem) var(--hd-gutter);
}

.hd-home-shelf--paper { background: var(--hd-paper); }

.hd-home-shelf__head {
    display: flex;
    width: min(100%, var(--hd-page-max));
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-inline: auto;
    border-bottom: 1px solid var(--hd-ink);
    padding-bottom: clamp(1.25rem, 2.4vw, 2rem);
}

.hd-home-shelf__head h2 {
    margin: 0.8rem 0 0;
    font-size: clamp(3.4rem, 8vw, 8.8rem);
    letter-spacing: 0;
    line-height: 0.78;
    text-transform: uppercase;
}

.hd-home-shelf__grid {
    display: grid;
    width: min(100%, var(--hd-page-max));
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.65rem, 1.35vw, 1.35rem);
    margin: clamp(2rem, 4vw, 4rem) auto 0;
}

.hd-home-shelf .hd-home-product__media { background: #e9e8e4; }
.hd-home-shelf--paper .hd-home-product__media { background: var(--hd-white); }

/* Culture closes the retail run with an unmistakable brand moment. */
.hd-community {
    display: grid;
    min-height: min(48rem, 76vw);
    grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
    background: var(--hd-ink);
    color: var(--hd-white);
}

.hd-community__visual { position: relative; min-height: 32rem; overflow: hidden; background: #191919; }
.hd-community__visual::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 45%, rgba(0,0,0,.36)); content: ""; }
.hd-community__visual img { width: 100%; height: 100%; object-fit: cover; }
.hd-community__visual span { position: absolute; right: clamp(1rem, 3vw, 3.25rem); bottom: clamp(1rem, 3vw, 3.25rem); z-index: 1; color: var(--hd-white); font-family: var(--hd-font-editorial); font-size: clamp(5rem, 14vw, 14rem); letter-spacing: 0; line-height: .7; }
.hd-community__copy { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: clamp(3rem, 7vw, 8rem); }
.hd-community__copy .hd-eyebrow { margin: 0; color: rgba(255,255,255,.66); }
.hd-community__copy h2 { max-width: 7ch; margin: 1.25rem 0 1.75rem; font-size: clamp(3.8rem, 7vw, 8rem); letter-spacing: 0; line-height: .82; text-transform: uppercase; }
.hd-community__copy p:not(.hd-eyebrow) { max-width: 28rem; margin: 0; color: rgba(255,255,255,.76); font-size: .95rem; line-height: 1.65; }
.hd-community__copy .hd-button { margin-top: 2.2rem; }

.hd-manifesto-band {
    display: grid;
    min-height: min(42rem, 70vw);
    align-content: center;
    justify-items: center;
    background: var(--hd-paper);
    color: var(--hd-ink);
    padding: clamp(5rem, 11vw, 11rem) var(--hd-gutter);
    text-align: center;
}

.hd-manifesto-band h2 { max-width: 8ch; margin: 1.25rem 0 2.5rem; font-size: clamp(3.5rem, 9vw, 9rem); letter-spacing: 0; line-height: 0.82; text-transform: uppercase; }
.hd-button--outline { border: 1px solid var(--hd-ink); color: var(--hd-ink); }
.hd-button--outline:hover { background: var(--hd-ink); color: var(--hd-white); }

.hd-product-section--featured { border-top: 1px solid var(--hd-line); }
.hd-featured-grid { display: grid; width: min(100%, var(--hd-page-max)); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.7rem, 1.5vw, 1.5rem); margin: 0 auto; padding: clamp(2.5rem, 5vw, 5rem) var(--hd-gutter) 0; }

@media (min-width: 64rem) {
    .hd-product-rail { grid-auto-columns: minmax(17rem, 22vw); }
    .hd-home-product__add { right: 1rem; bottom: 1rem; }
}

@media (max-width: 47.99rem) {
    .hd-section-heading { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
    .hd-section-heading h2 { font-size: clamp(2.75rem, 14vw, 5.3rem); }
    .hd-product-rail { grid-auto-columns: minmax(72vw, 18rem); padding-inline: 1.25rem; }
    .hd-product-rail__hint { padding-inline: 1.25rem; }
    .hd-home-product__add { opacity: 1; transform: none; }
    .hd-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 1.25rem; }
    .hd-featured-grid .hd-home-product__add { right: 0.5rem; bottom: 0.5rem; padding-inline: 0.6rem; }
    .hd-featured-grid .hd-home-product__add > span:last-child { display: none; }
    .hd-manifesto-band { min-height: 30rem; }
    .hd-home-shelf { padding: 4.5rem 1.25rem; }
    .hd-home-shelf__head { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
    .hd-home-shelf__head h2 { font-size: clamp(3.25rem, 15vw, 5rem); }
    .hd-home-shelf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 0.6rem; margin-top: 1.5rem; }
    .hd-home-shelf .hd-home-product__add { right: 0.5rem; bottom: 0.5rem; padding-inline: 0.6rem; }
    .hd-home-shelf .hd-home-product__add > span:last-child { display: none; }
    .hd-community { grid-template-columns: 1fr; min-height: 0; }
    .hd-community__visual { min-height: 30rem; }
    .hd-community__visual::after { background: linear-gradient(to top, rgba(0,0,0,.42), transparent 50%); }
    .hd-community__copy { padding: 4.5rem 1.25rem 5rem; }
    .hd-community__copy h2 { font-size: clamp(3.5rem, 15vw, 5.4rem); }
}

@media (max-width: 24rem) {
    .hd-featured-grid { gap: 0.55rem; }
    .hd-home-product__label { top: 0.5rem; left: 0.5rem; font-size: 0.48rem; }
}
