/* The home page (job W6, BC-057): the approved Codex home page of 22 Oct 2026 (0x-inbox/2026-10-22-homepage/dist/,
   home.css + homepage-refinements.css), on the tokens. Classes start with "hp-" (WooCommerce and the shell use names
   such as "featured", "newsletter" and "search"). The sections use the shell's width (Owl, 23 Oct: 1,320 px, in line
   with the header and footer; the draft drew 1,200 px). */

.hp { color: var(--color-ink); }
.hp.site-main { padding-bottom: 0; } /* the reviews band meets the newsletter strip (Owl, 23 Oct) */
.hp-wrap { width: var(--container); margin-inline: auto; }
.hp h1, .hp h2, .hp h3, .hp p { margin: 0; }
.hp h2, .hp h3 { line-height: 1.25; }

/* Section heading row */
.hp-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.hp-title h2 { font-size: 25px; font-weight: var(--weight-heavy); letter-spacing: -.7px; color: var(--color-ink); }
.hp-title > span, .hp-title > a { font-size: 12px; color: var(--color-muted); }
.hp-title > a { text-decoration: underline; text-underline-offset: 5px; }

/* Hero: the artwork on the brand red; the H1 at the bottom, regular weight */
.hp-hero { position: relative; background: var(--color-red); color: var(--color-on-red); text-align: center; }
.hp-hero__frame { position: relative; height: 385px; max-width: 1600px; margin: auto; }
.hp-hero__frame > img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hp-hero__title {
	position: absolute; bottom: 15px; left: 0; width: 100%;
	color: var(--color-on-red); font-size: 12px; line-height: 1.25; letter-spacing: .5px; text-transform: uppercase;
	font-weight: var(--weight-regular);
}
.hp-hero__play {
	position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%);
	display: grid; place-items: center; width: 56px; height: 56px; padding: 0;
	border: 2px solid var(--color-on-red); border-radius: 50%; background: rgba(0, 0, 0, .13); color: var(--color-on-red);
	cursor: pointer; transition: background .2s;
}
.hp-hero__play:hover { background: rgba(0, 0, 0, .4); }
.hp-hero__play svg { width: 31px; height: 31px; margin-left: 2px; fill: currentColor; }

/* The video dialog (made on a click) */
.hp-video { width: min(900px, 94%); padding: 45px 15px 15px; border: 0; background: #151515; color: var(--color-on-red); box-shadow: var(--shadow-panel); }
.hp-video::backdrop { background: var(--color-backdrop); }
.hp-video__frame { aspect-ratio: 16 / 9; }
.hp-video__frame iframe { width: 100%; height: 100%; border: 0; }
.hp-video__close { position: absolute; top: 4px; right: 10px; padding: 0; border: 0; background: none; color: var(--color-on-red); font-size: 30px; line-height: 1; cursor: pointer; }
.hp-video__link { display: inline-block; padding-top: 10px; color: var(--color-on-red); font-size: 12px; }

/* The four seals (the shared component, at the draft's size; no line below) */
.hp-seals { padding: 38px 0 35px; }
.hp-seals .seals { gap: 90px; }
.hp-seals .seals__item { flex-basis: 117px; max-width: 117px; }

/* What are we firing up? */
.hp-find { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 40px; padding: 40px 0 30px; }
.hp-find__heading h2 { font-size: 23px; letter-spacing: -.6px; color: var(--color-ink); }
.hp-find__heading p { margin-top: 7px; color: var(--color-muted); font-size: 12px; }
.hp-find__form {
	display: flex; align-items: center; min-height: 53px; padding: 0 9px 0 22px;
	border: 1px solid #d1d3d3; border-radius: 50px; background: #f7f7f7;
}
.hp-find__form input[type="search"] { flex: 1; min-width: 0; height: auto; min-height: 0; padding: 0; border-radius: 0; border: 0; background: transparent; outline: none; color: var(--color-ink); font: inherit; font-size: 13px; box-shadow: none; }
.hp-find__form button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--color-ink); cursor: pointer; }
.hp-find__form button svg { width: 23px; height: 23px; }
.hp-find__form:focus-within { outline: 2px solid var(--color-red); outline-offset: 2px; }

/* Shop by category */
.hp-cats { padding: 24px 0 40px; }
.hp-cats__tabs { display: flex; gap: 36px; border-bottom: 1px solid var(--color-line); }
.hp-cats__tabs button {
	margin-bottom: -1px; padding: 13px 3px 14px; border: 0; border-bottom: 3px solid transparent; background: none;
	color: var(--color-ink); font: inherit; font-size: 16px; font-weight: var(--weight-semibold); cursor: pointer;
}
.hp-cats__tabs button[aria-selected="true"] { color: var(--color-red); border-bottom-color: var(--color-red); }
.hp-cats__tabs button:hover { color: var(--color-red-dark); }
.hp-cats__top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 20px; font-size: 12px; }
.hp-cats__top p { color: var(--color-muted); font-size: 12px; }
.hp-cats__top a { font-weight: var(--weight-semibold); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.hp-cats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; margin-top: 22px; }
.hp-cats__item {
	display: flex; flex-direction: column; align-items: center; gap: 11px; padding: 6px 5px 15px;
	border-radius: var(--radius); color: var(--color-ink); font-size: 12px; font-weight: var(--weight-semibold); text-align: center; text-decoration: none;
}
.hp-cats__item img { width: 78px; height: 78px; object-fit: contain; border-radius: 50%; transition: transform .2s; }
.hp-cats__item:hover { background: #faf7f7; color: var(--color-red-dark); }
.hp-cats__item:hover img { transform: translateY(-4px); }
.hp-cats__also {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; margin-top: 20px; padding: 17px 0;
	border-top: 1px solid var(--color-line); font-size: 11px;
}
.hp-cats__also > span { color: var(--color-muted); }
.hp-cats__also a { font-weight: var(--weight-semibold); }

/* Featured mosaic: half-width Gas Braais, tall Built-in Braais, two stacked quarters */
.hp-featured { padding: 15px 0 56px; }
.hp-featured__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 2.02; gap: 16px; }
.hp-feature { position: relative; display: block; min-width: 0; min-height: 0; overflow: hidden; isolation: isolate; border-radius: var(--radius); }
.hp-feature > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hp-feature--gas-braais { grid-column: 1; grid-row: 1 / 3; }
.hp-feature--built-in-braais { grid-column: 2; grid-row: 1 / 3; }
.hp-feature--wood-charcoal-braais { grid-column: 3; grid-row: 1; }
.hp-feature--pizza-ovens { grid-column: 3; grid-row: 2; }
.hp-feature--gas-braais > img { object-position: 77% 50%; transform: scale(1.03); }
.hp-feature--built-in-braais > img { object-position: 40% 50%; transform: none; }
.hp-feature--wood-charcoal-braais > img { object-position: 78% 50%; transform: scale(1.04); }
.hp-feature--pizza-ovens > img { object-position: 79% 54%; transform: scale(1.1); }
.hp-feature:hover > img { transform: scale(1.15); }
.hp-feature--built-in-braais:hover > img { transform: scale(1.03); }
.hp-feature__label {
	position: absolute; top: 16px; left: 16px; max-width: calc(100% - 32px); padding: 12px 15px;
	border-radius: var(--radius); background: var(--color-ink-strong); color: var(--color-on-red);
}
.hp-feature__label h3 { margin: 0; color: var(--color-on-red); font-size: 20px; line-height: 1.22; font-weight: var(--weight-bold); letter-spacing: -.3px; text-transform: uppercase; }
.hp-feature--gas-braais .hp-feature__label h3 { font-size: 27px; }
.hp-feature--built-in-braais .hp-feature__label { top: auto; right: 16px; bottom: 16px; }
.hp-feature--built-in-braais .hp-feature__label h3 { font-size: 22px; }
.hp-feature--wood-charcoal-braais .hp-feature__label { top: auto; bottom: 16px; }

/* The slim red buttons: Shop All, Read All */
.hp-big-button {
	display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; height: 34px; min-height: 34px;
	margin-top: 40px; padding: 0 20px; border-radius: var(--radius); background: var(--color-red); color: var(--color-on-red);
	font-size: 12.8px; line-height: 1.25; font-weight: var(--weight-bold); letter-spacing: .2px; text-decoration: none;
}
.hp-big-button:hover { background: var(--color-red-dark); color: var(--color-on-red); }

/* Magazine */
.hp-magazine { padding: 0 0 60px; }
.hp-magazine .hp-big-button { margin-top: 36px; }
.hp-magazine__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.hp-story { display: block; color: var(--color-ink); text-decoration: none; }
.hp-story > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: var(--color-cream); }
.hp-story__section { display: block; margin-top: 18px; color: var(--color-red); font-size: 10px; line-height: 1.5; font-weight: var(--weight-bold); letter-spacing: 1px; }
.hp-story h3 { margin-top: 8px; color: var(--color-ink); font-size: 18px; line-height: 1.5; font-weight: var(--weight-bold); letter-spacing: -.4px; }
.hp-story:hover h3 { color: var(--color-red-dark); }

/* Our community (reviews) */
.hp-community { padding: 48px 0 55px; background: var(--color-cream); }
.hp-community__intro { display: flex; align-items: center; justify-content: space-between; margin: 0 0 27px; }
.hp-community__intro > div { display: flex; align-items: center; gap: 16px; }
.hp-community__intro p { color: var(--color-muted); font-size: 12px; text-align: right; }
.hp-rating { font-size: 42px; letter-spacing: -2px; line-height: 1; }
.hp-rating span { margin-left: 7px; color: var(--color-muted); font-size: 16px; font-weight: var(--weight-regular); letter-spacing: 0; }
.hp-stars { color: var(--color-red); letter-spacing: 3px; white-space: nowrap; }
.hp-google { font-size: 12px; font-weight: var(--weight-semibold); }
.hp-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hp-review { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border: 1px solid #e8e8e8; border-radius: var(--radius); background: var(--color-surface); }
.hp-review__author { display: flex; align-items: center; gap: 12px; line-height: 1.5; }
.hp-review__photo { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; overflow: hidden; border-radius: 50%; background: var(--color-cream); }
.hp-review__author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.hp-review__photo.is-letter { background: var(--color-ink-strong); }
.hp-review__photo.is-letter::before { content: attr(data-letter); color: var(--color-on-red); font-size: 18px; font-weight: 600; line-height: 1; }
.hp-review__author strong { display: block; font-size: 12px; }
.hp-review__author time { color: var(--color-muted); font-size: 10px; }
.hp-review .hp-stars { margin-top: 16px; font-size: 14px; }
.hp-review blockquote { margin: 11px 0 20px; padding: 0; border: 0; font-size: 13px; line-height: 1.85; font-style: normal; }
.hp-review > a { margin-top: auto; color: var(--color-muted); font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }

/* Newsletter strip (thinner; "JOIN THE CLUB FOR" black; black button) */
.hp-newsletter { padding: 23px 0; background: var(--color-red); color: var(--color-on-red); }
.hp-newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.hp-newsletter h2 { margin: 0 0 5px; color: var(--color-on-red); font-size: 18px; line-height: 1.25; }
.hp-newsletter h2 > span { color: #282828; }
.hp-newsletter p { margin: 0; color: #282828; font-size: 11px; line-height: 1.5; }
.hp-newsletter__button {
	display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 310px; height: 34px; padding: 0 20px;
	border-radius: var(--radius); background: var(--color-ink-strong); color: var(--color-on-red);
	font-size: 12.8px; line-height: 1.25; font-weight: var(--weight-bold); text-decoration: none;
}
.hp-newsletter__button:hover { background: #303030; color: var(--color-on-red); }

@media (min-width: 1500px) {
	.hp-hero__frame { height: 430px; }
}

@media (max-width: 1100px) {
	.hp-seals .seals { gap: 65px; }
	.hp-find { gap: 20px; }
	.hp-find__heading h2 { font-size: 21px; }
	.hp-cats__also { gap: 16px; }
}

@media (min-width: 601px) and (max-width: 1000px) {
	.hp-featured__grid { aspect-ratio: 1.65; gap: 12px; }
	.hp-feature__label { top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 10px; }
	.hp-feature__label h3 { font-size: 15px; }
	.hp-feature--gas-braais .hp-feature__label h3 { font-size: 23px; }
	.hp-feature--built-in-braais .hp-feature__label { right: 12px; bottom: 12px; }
	.hp-feature--built-in-braais .hp-feature__label h3 { font-size: 18px; }
	.hp-feature--wood-charcoal-braais .hp-feature__label { bottom: 12px; }
	.hp-newsletter__button { width: 230px; }
}

@media (max-width: 760px) {
	.hp-hero__frame { height: 265px; }
	.hp-hero__frame > img { object-position: 53% center; }
	.hp-hero__title { bottom: 14px; font-size: 9px; }
	.hp-hero__play { left: 52%; width: 46px; height: 46px; }
	.hp-hero__play svg { width: 24px; }
	.hp-seals { padding: 26px 0; }
	.hp-seals .seals { gap: 25px; }
	.hp-seals .seals__item { flex-basis: 88px; max-width: 88px; }
	.hp-find { display: block; padding: 28px 0 20px; }
	.hp-find__heading h2 { font-size: 22px; }
	.hp-find__heading p { font-size: 11px; }
	.hp-find__form { min-height: 50px; margin-top: 18px; padding-left: 16px; }
	.hp-find__form input[type="search"] { font-size: 12px; }
	.hp-title { align-items: start; margin-bottom: 20px; }
	.hp-title h2 { font-size: 22px; }
	.hp-title > span { display: none; }
	.hp-cats { padding: 18px 0 30px; }
	.hp-cats__tabs { gap: 24px; }
	.hp-cats__tabs button { padding: 11px 2px; font-size: 14px; }
	.hp-cats__top { align-items: start; }
	.hp-cats__top p { max-width: 55%; font-size: 10px; }
	.hp-cats__top a { font-size: 10px; }
	.hp-cats__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
	.hp-cats__item { gap: 8px; padding: 4px 0 10px; font-size: 11px; }
	.hp-cats__item img { width: 72px; height: 72px; }
	.hp-cats__also { justify-content: flex-start; gap: 10px 17px; font-size: 10px; }
	.hp-cats__also > span { width: 100%; margin-bottom: 3px; }
	.hp-featured { padding-top: 10px; }
	.hp-magazine { padding-bottom: 40px; }
	.hp-magazine__grid { gap: 18px; }
	.hp-story h3 { font-size: 14px; }
	.hp-story__section { margin-top: 13px; font-size: 9px; }
	.hp-community { padding-block: 35px; }
	.hp-community .hp-title { flex-direction: column; gap: 8px; }
	.hp-community .hp-title > a { font-size: 11px; }
	.hp-community__intro { align-items: start; gap: 16px; }
	.hp-community__intro > div { flex-wrap: wrap; gap: 10px; }
	.hp-community__intro p { flex-shrink: 0; font-size: 10px; }
	.hp-rating { font-size: 36px; }
	.hp-rating span { font-size: 12px; }
	.hp-stars { font-size: 12px; letter-spacing: 2px; }
	.hp-google { font-size: 10px; }
	.hp-reviews { grid-template-columns: 1fr; gap: 12px; }
	.hp-review { padding: 20px; }
	.hp-review blockquote { font-size: 12px; }
	.hp-review:nth-child(n+4) { display: none; }
	.hp-newsletter { padding: 22px 0; }
	.hp-newsletter__inner { flex-direction: column; align-items: flex-start; gap: 18px; }
	.hp-newsletter h2 { font-size: 16px; }
	.hp-newsletter__button { width: 100%; max-width: 310px; }
}

@media (max-width: 600px) {
	.hp-hero__frame { height: 235px; }
	.hp-hero__title { bottom: 10px; font-size: 8px; }
	.hp-seals { padding-bottom: 33px; } /* the draft's seal boxes are 7 px taller than the ring (inline SVG line box) */
	.hp-seals .seals { justify-content: space-between; gap: 16px; }
	.hp-seals .seals__item { flex: 1 1 0; max-width: none; }
	.hp-featured__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 220px 220px; aspect-ratio: auto; gap: 12px; }
	.hp-feature--gas-braais { grid-column: 1 / 3; grid-row: 1; }
	.hp-feature--built-in-braais { grid-column: 1; grid-row: 2 / 4; }
	.hp-feature--wood-charcoal-braais { grid-column: 2; grid-row: 2; }
	.hp-feature--pizza-ovens { grid-column: 2; grid-row: 3; }
	.hp-feature__label { top: 12px; left: 10px; max-width: calc(100% - 20px); padding: 10px; }
	.hp-feature__label h3 { font-size: 15px; letter-spacing: -.3px; }
	.hp-feature--gas-braais .hp-feature__label h3 { font-size: 23px; }
	.hp-feature--built-in-braais .hp-feature__label { right: 10px; bottom: 12px; }
	.hp-feature--built-in-braais .hp-feature__label h3 { font-size: 18px; }
	.hp-feature--gas-braais > img { object-position: 65% 53%; }
	.hp-feature--wood-charcoal-braais > img { object-position: 77% 50%; }
	.hp-feature--pizza-ovens > img { object-position: 77% 50%; }
	.hp-big-button { margin-top: 32px; }
	.hp-magazine .hp-big-button { margin-top: 30px; }
	.hp-magazine__grid { grid-template-columns: 1fr; gap: 26px; }
	.hp-story > img { aspect-ratio: 16 / 9; }
	.hp-story h3 { font-size: 18px; }
	.hp-community__intro p { display: none; }
}

@media (max-width: 360px) {
	.hp-cats__tabs { gap: 18px; }
	.hp-cats__tabs button { font-size: 13px; }
	.hp-featured__grid { grid-template-rows: 235px 190px 190px; }
	.hp-feature__label h3 { font-size: 13px; }
	.hp-feature--built-in-braais .hp-feature__label h3 { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.hp-feature > img, .hp-cats__item img, .hp-hero__play { transition: none; }
}
