/* ==========================================================================
   A&S Home Tex — homepage
   Hero, category tiles, spotlight, fabric guide, tracking banner.
   Breakpoints: sm 640px · md 768px · lg 1024px (mobile first)
   ========================================================================== */

/* 8. Homepage
   ========================================================================== */

/* Hero. The photo is the background: --ans-hero-wall matches its plain wall so the copy
   can sit on that colour wherever the photo does not reach. */
.ans-hero {
	--ans-hero-wall: #8c9c80;
	position: relative;
	background: var(--ans-hero-wall);
	border-bottom: 1px solid var(--ans-border);
	overflow: hidden;
}

/* Phones/tablets: the whole photo runs along the bottom, the copy sits on the wall above it. */
.ans-hero__media {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
}

.ans-hero__img {
	display: block;
	width: 100%;
	height: auto;
}

/* Blend the top edge of the photo into the flat wall colour above it. */
.ans-hero__media::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 35%;
	background: linear-gradient(var(--ans-hero-wall), transparent);
}

.ans-hero__inner {
	position: relative;
	z-index: 1;
	padding-top: 3rem;
	/* The top ~45% of the photo is empty wall, so the copy may overlap it. */
	padding-bottom: calc(23vw + 1.5rem);
	text-align: center;
}

/* Soft light glow on the wall behind the copy: the mid-tone green flattens dark text, a
   brighter patch behind it gives the heading and buttons proper contrast. */
.ans-hero__inner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(ellipse 55% 38% at 50% 30%, rgb(250 247 240 / .55), rgb(250 247 240 / .25) 55%, rgb(250 247 240 / 0) 100%);
	pointer-events: none;
}

.ans-hero__copy {
	max-width: 34rem;
	margin-inline: auto;
}

.ans-hero__copy > * + * {
	margin-top: 1.25rem;
}

.ans-hero__pill {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .25rem .75rem;
	border-radius: 9999px;
	background: var(--ans-pill);
	color: var(--ans-brand-dark);
	font-size: 11px;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .24em;
	font-weight: 600;
}

.ans-hero__pill .ans-icon {
	width: .875rem;
	height: .875rem;
}

.ans-hero__title {
	font-family: var(--ans-font-serif);
	font-size: 2.25rem;
	line-height: 1.08;
	font-weight: 400;
	letter-spacing: -.025em;
	color: var(--ans-text);
}

/* Darker than the usual body grey so it stays readable on the green wall. */
.ans-hero__text {
	font-size: .9375rem;
	line-height: 1.625;
	color: var(--ans-text-2);
}

.ans-hero__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: .75rem;
	padding-top: .25rem;
}

.ans-hero .ans-btn--primary {
	background: var(--ans-brand-dark);
	border-color: var(--ans-brand-dark);
}

.ans-hero .ans-btn--primary:hover {
	background: var(--ans-text);
	border-color: var(--ans-text);
}

.ans-hero .ans-btn--outline {
	background: rgb(250 247 240 / .85);
	border-color: var(--ans-brand-dark);
	color: var(--ans-brand-dark);
}

.ans-hero .ans-btn--outline:hover {
	background: #fff;
}

.ans-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .5rem;
	padding-top: 1rem;
	border-top: 1px solid rgb(28 25 23 / .2);
	font-size: .75rem;
	color: var(--ans-text-2);
}

.ans-hero__stat-value {
	display: block;
	font-family: var(--ans-font-serif);
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-weight: 500;
	color: var(--ans-text);
}

.ans-hero__stat-label {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: .05em;
}

@media (min-width: 640px) {
	.ans-hero__inner {
		padding-top: 4rem;
	}

	.ans-hero__title {
		font-size: 3rem;
	}

	.ans-hero__text {
		font-size: 1rem;
	}

	.ans-hero__actions {
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: 1rem;
	}
}

/* Desktop: the photo covers the whole section and the copy is centred in the empty wall
   between the two towel stacks (roughly the middle third of the photo). */
@media (min-width: 1024px) {
	.ans-hero {
		min-height: calc(100vw * 914 / 2400);
	}

	.ans-hero__media {
		top: 0;
	}

	.ans-hero__img {
		height: 100%;
		object-fit: cover;
		object-position: center bottom;
	}

	.ans-hero__media::after {
		display: none;
	}

	.ans-hero__inner {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: inherit;
		padding-top: 2.5rem;
		/* Room for the stats row on the table top. */
		padding-bottom: 7rem;
	}

	/* Centred on the copy, which sits a little above the middle of the section. */
	.ans-hero__inner::before {
		background: radial-gradient(ellipse 34% 46% at 50% 44%, rgb(250 247 240 / .6), rgb(250 247 240 / .28) 55%, rgb(250 247 240 / 0) 100%);
	}

	/* The empty wall between the towel stacks runs from about 34% to 65% of the photo. */
	.ans-hero__copy {
		max-width: clamp(20rem, 28vw, 33rem);
	}

	.ans-hero__title {
		font-size: clamp(2rem, 2.6vw, 3.25rem);
	}

	.ans-hero__text {
		font-size: clamp(.875rem, 1vw, 1.0625rem);
	}

	/* One row even when a little wider than the text: a second row makes the hero taller than
	   the photo, which then crops the towels at the sides. */
	.ans-hero__actions {
		flex-wrap: nowrap;
		gap: .75rem;
	}

	.ans-hero .ans-btn--lg {
		flex-shrink: 0;
		padding: .8125rem 1.25rem;
		letter-spacing: .14em;
		white-space: nowrap;
	}

	/* Stats sit on the empty table top, between the lavender and the sponge. */
	.ans-hero__stats {
		position: absolute;
		left: calc(50% - 1.5vw);
		bottom: 5%;
		width: clamp(24rem, 40vw, 40rem);
		margin: 0;
		padding-top: 0;
		border-top: 0;
		transform: translateX(-50%);
	}

	.ans-hero__stats > div + div {
		border-left: 1px solid rgb(28 25 23 / .2);
	}

	.ans-hero__stat-value {
		font-size: clamp(1.125rem, 1.4vw, 1.5rem);
	}

	.ans-hero__stat-label {
		font-size: clamp(10px, .75vw, 12px);
		white-space: nowrap;
	}
}

/* Small desktops: tighter spacing so the hero stays close to the photo's own height. */
@media (min-width: 1024px) and (max-width: 1279px) {
	.ans-hero__inner {
		padding-top: 1.75rem;
		padding-bottom: 6rem;
	}

	.ans-hero__copy > * + * {
		margin-top: 1rem;
	}

	.ans-hero__title {
		font-size: 1.875rem;
	}

	.ans-hero__text {
		font-size: .8125rem;
	}

	.ans-hero .ans-btn--lg {
		padding: .6875rem 1rem;
		letter-spacing: .1em;
	}

	.ans-hero__stats {
		bottom: 4%;
	}
}

/* Category tiles */
.ans-cat-grid {
	display: grid;
	gap: .75rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
	.ans-cat-grid {
		gap: 1.5rem;
	}
}

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

.ans-cat-tile {
	display: block;
	position: relative;
	overflow: hidden;
	background: var(--ans-sand);
	border: 1px solid var(--ans-border);
	box-shadow: var(--ans-shadow-sm);
	transition: box-shadow .15s;
}

.ans-cat-tile:hover {
	box-shadow: var(--ans-shadow-md);
}

.ans-cat-tile__media {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--stone-200);
}

.ans-cat-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--ans-ease);
}

.ans-cat-tile:hover .ans-cat-tile__media img {
	transform: scale(1.05);
}

.ans-cat-tile__body {
	padding: 1.25rem;
	text-align: center;
	background: var(--ans-bg);
}

.ans-cat-tile__count {
	display: block;
	margin-bottom: .25rem;
	font-size: 10px;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 700;
	color: var(--ans-brand);
}

.ans-cat-tile__title {
	font-family: var(--ans-font-serif);
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: var(--ans-text);
}

/* Hover: a short brand-coloured rule grows out from the centre under the title. */
.ans-cat-tile__title {
	position: relative;
	padding-bottom: .375rem;
	transition: color .3s var(--ans-ease);
}

.ans-cat-tile__title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 2.5rem;
	height: 1px;
	background: var(--ans-brand);
	transform: translateX(-50%) scaleX(0);
	transition: transform .35s var(--ans-ease);
}

.ans-cat-tile:hover .ans-cat-tile__title {
	color: var(--ans-brand-dark);
}

.ans-cat-tile:hover .ans-cat-tile__title::after {
	transform: translateX(-50%) scaleX(1);
}

.ans-cat-tile__tagline {
	margin-top: .25rem;
	font-size: .75rem;
	line-height: 1rem;
	font-weight: 300;
	color: var(--ans-muted);
}

/* Category with no products yet: softened photo with a stitched "Coming Soon" label that
   clears on hover, like lifting the tissue paper off a new delivery. */
.ans-cat-tile--soon .ans-cat-tile__media {
	position: relative;
}

.ans-cat-tile--soon .ans-cat-tile__media img {
	filter: saturate(.5) blur(2px) brightness(1.04);
	transform: scale(1.06);
	transition: transform .6s var(--ans-ease), filter .6s var(--ans-ease);
}

.ans-cat-tile--soon:hover .ans-cat-tile__media img {
	filter: saturate(.9) blur(0) brightness(1);
	transform: scale(1.03);
}

.ans-cat-tile--soon .ans-cat-tile__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgb(250 247 240 / .1), rgb(63 91 85 / .25));
	transition: opacity .6s var(--ans-ease);
}

.ans-cat-tile--soon:hover .ans-cat-tile__media::after {
	opacity: .4;
}

.ans-cat-tile__soon {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .25rem;
	width: max-content;
	max-width: 84%;
	padding: 1.125rem 1.5rem;
	background: rgb(250 247 240 / .86);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	/* Dashed inner line: a stitched fabric label. */
	outline: 1px dashed rgb(63 91 85 / .55);
	outline-offset: -6px;
	box-shadow: 0 10px 30px -12px rgb(28 25 23 / .35);
	text-align: center;
	transform: translate(-50%, -50%) rotate(-3deg);
	transition: transform .4s var(--ans-ease);
}

.ans-cat-tile--soon:hover .ans-cat-tile__soon {
	transform: translate(-50%, -50%) rotate(0deg) scale(1.03);
}

.ans-cat-tile__soon-kicker {
	font-size: 9px;
	line-height: 1rem;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--ans-brand);
}

.ans-cat-tile__soon-text {
	font-family: var(--ans-font-serif);
	font-size: 1.5rem;
	line-height: 1.1;
	font-style: italic;
	color: var(--ans-text);
}

.ans-cat-tile__soon-hint {
	margin-top: .125rem;
	font-size: 10px;
	line-height: 1rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ans-brand-dark);
}

.ans-cat-tile--soon .ans-cat-tile__count {
	color: #a16207;
}

@media (max-width: 639px) {
	.ans-cat-tile__soon {
		padding: .75rem .875rem;
	}

	.ans-cat-tile__soon-text {
		font-size: 1.125rem;
	}

	.ans-cat-tile__soon-hint {
		display: none;
	}
}

/* Towel colour spotlight ("Find Your Colour"): arch-framed photo + live colour swatches. */
.ans-tedit {
	position: relative;
	overflow: hidden;
	padding: 4rem 0;
	background: var(--ans-linen);
	border-top: 1px solid var(--ans-border-2);
	border-bottom: 1px solid var(--ans-border-2);
}

.ans-tedit__inner {
	display: grid;
	gap: 3rem;
	align-items: center;
}

.ans-tedit__visual {
	position: relative;
	width: min(100%, 24rem);
	margin-inline: auto;
	padding: 0 1rem 1.5rem 0;
}

/* Soft tinted disc behind the arch. */
.ans-tedit__visual::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: 14%;
	left: -12%;
	width: 78%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgb(81 121 112 / .16), rgb(81 121 112 / 0) 70%);
}

/* Thin offset arch outline for depth. */
.ans-tedit__visual::after {
	content: "";
	position: absolute;
	z-index: 0;
	top: 1rem;
	right: 0;
	bottom: .5rem;
	left: 1rem;
	border: 1px solid rgb(63 91 85 / .45);
	border-radius: 999px 999px 0 0;
}

.ans-tedit__arch {
	position: relative;
	z-index: 1;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 999px 999px 0 0;
	background: var(--stone-200);
	box-shadow: 0 30px 60px -30px rgb(28 25 23 / .35);
}

.ans-tedit__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Shown whole: product photos carry printed labels in different places, so any crop
	   would cut some of them badly. */
	object-position: center;
	transition: opacity .3s var(--ans-ease), transform .6s var(--ans-ease);
}

.ans-tedit__img.is-swapping {
	opacity: 0;
	transform: scale(1.03);
}

/* Floating label card: the towel being shown. */
.ans-tedit__tag {
	position: absolute;
	z-index: 2;
	left: -.5rem;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: .75rem;
	max-width: calc(100% - 1rem);
	padding: .75rem 1rem .75rem .75rem;
	background: var(--ans-bg);
	border: 1px solid var(--ans-border);
	box-shadow: 0 12px 28px -14px rgb(28 25 23 / .35);
}

.ans-tedit__tag-dot {
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgb(28 25 23 / .12), 0 0 0 3px #fff, 0 0 0 4px var(--ans-border);
	transition: background-color .3s;
}

.ans-tedit__tag-body {
	min-width: 0;
}

.ans-tedit__tag-name {
	display: block;
	font-family: var(--ans-font-serif);
	font-size: 1rem;
	line-height: 1.3;
	color: var(--ans-text);
}

.ans-tedit__tag-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .125rem .75rem;
	font-size: .75rem;
	color: var(--ans-text-4);
}

.ans-tedit__tag-price {
	font-weight: 600;
	color: var(--ans-brand-dark);
}

.ans-tedit__copy > * + * {
	margin-top: 1.25rem;
}

.ans-tedit__title {
	font-family: var(--ans-font-serif);
	font-size: 2.25rem;
	line-height: 1.1;
	font-weight: 400;
	letter-spacing: -.02em;
	color: var(--ans-text);
}

.ans-tedit__text {
	max-width: 32rem;
	font-size: .9375rem;
	line-height: 1.625;
	color: var(--ans-text-3);
}

.ans-tedit__tabs {
	display: inline-flex;
	gap: .25rem;
	padding: .25rem;
	background: rgb(255 255 255 / .6);
	border: 1px solid var(--ans-border);
}

.ans-tedit__tab {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .5rem .875rem;
	border: 0;
	background: transparent;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ans-text-4);
	cursor: pointer;
	transition: background-color .2s, color .2s;
}

.ans-tedit__tab:hover {
	color: var(--ans-text);
}

.ans-tedit__tab.is-active {
	background: var(--ans-brand-dark);
	color: #fff;
}

.ans-tedit__tab-count {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0;
	opacity: .75;
}

.ans-tedit__panel[hidden] {
	display: none;
}

.ans-tedit__swatches {
	display: flex;
	flex-wrap: wrap;
	gap: .625rem;
	max-width: 30rem;
}

/* Each swatch is a little rolled-towel disc in the product's colour. */
.ans-tedit__swatch {
	position: relative;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background:
		radial-gradient(circle at 50% 50%, rgb(0 0 0 / .14) 0 18%, transparent 19%),
		repeating-radial-gradient(circle at 50% 50%, var(--swatch) 0 3px, color-mix(in srgb, var(--swatch) 82%, #000) 3px 4px);
	box-shadow: inset 0 0 0 1px rgb(28 25 23 / .12);
	transition: transform .2s var(--ans-ease), box-shadow .2s;
}

.ans-tedit__swatch:hover {
	transform: translateY(-2px) scale(1.06);
}

.ans-tedit__swatch.is-active {
	box-shadow: inset 0 0 0 1px rgb(28 25 23 / .12), 0 0 0 3px var(--ans-linen), 0 0 0 5px var(--ans-brand-dark);
}

.ans-tedit__swatch:focus-visible {
	outline: 2px solid var(--ans-brand-dark);
	outline-offset: 4px;
}

.ans-tedit__more {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	margin-top: .875rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ans-brand-dark);
}

.ans-tedit__more .ans-icon {
	width: .875rem;
	height: .875rem;
	transition: transform .2s var(--ans-ease);
}

.ans-tedit__more:hover .ans-icon {
	transform: translateX(3px);
}

.ans-tedit__points {
	display: grid;
	gap: .625rem;
	padding-top: .25rem;
	font-size: .875rem;
	color: var(--ans-text-3);
}

.ans-tedit__points li {
	display: flex;
	align-items: flex-start;
	gap: .625rem;
}

.ans-tedit__points .ans-icon {
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	margin-top: .125rem;
	color: var(--ans-brand);
}

.ans-tedit__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	padding-top: .5rem;
}

@media (min-width: 640px) {
	.ans-tedit__title {
		font-size: 3rem;
	}
}

@media (min-width: 1024px) {
	.ans-tedit {
		padding: 6rem 0;
	}

	.ans-tedit__inner {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: 5rem;
	}

	.ans-tedit__visual {
		width: min(100%, 28rem);
	}
}

/* Spotlight */
.ans-spotlight {
	background: var(--ans-linen);
	border-top: 1px solid var(--ans-border-2);
	border-bottom: 1px solid var(--ans-border-2);
	padding: 4rem 0;
}

.ans-spotlight__inner {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

.ans-spotlight__collage {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.ans-spotlight__tall,
.ans-spotlight__square {
	overflow: hidden;
	border-radius: 2px;
	box-shadow: var(--ans-shadow-md);
	background: var(--stone-200);
}

.ans-spotlight__tall {
	aspect-ratio: 3 / 4;
}

.ans-spotlight__square {
	aspect-ratio: 1 / 1;
}

.ans-spotlight__tall img,
.ans-spotlight__square img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--ans-ease);
}

.ans-spotlight__tall img:hover,
.ans-spotlight__square img:hover {
	transform: scale(1.05);
}

.ans-spotlight__stack {
	padding-top: 1.5rem;
}

.ans-spotlight__stack > * + * {
	margin-top: 1rem;
}

.ans-spotlight__note {
	padding: 1rem;
	background: var(--ans-bg);
	border: 1px solid var(--ans-border);
	border-radius: 2px;
	font-size: .75rem;
}

.ans-spotlight__note > * + * {
	margin-top: .25rem;
}

.ans-spotlight__note-label {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 700;
	color: var(--ans-brand);
}

.ans-spotlight__note-title {
	font-family: var(--ans-font-serif);
	font-size: .875rem;
	line-height: 1.25rem;
	font-weight: 600;
	color: var(--ans-text);
}

.ans-spotlight__note-text {
	font-size: 11px;
	color: var(--ans-text-4);
}

.ans-spotlight__copy > * + * {
	margin-top: 1.5rem;
}

.ans-spotlight__eyebrow {
	font-size: 11px;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .2em;
	font-weight: 600;
	color: var(--slate-blue);
}

.ans-spotlight__title {
	font-family: var(--ans-font-serif);
	font-size: 1.875rem;
	line-height: 1.375;
	font-weight: 400;
	color: var(--ans-text);
}

.ans-spotlight__text {
	font-size: .875rem;
	line-height: 1.625;
	color: var(--ans-text-4);
}

.ans-spotlight__points {
	padding-top: .5rem;
}

.ans-spotlight__points li {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	font-size: .75rem;
	line-height: 1rem;
	color: var(--ans-text-3);
}

.ans-spotlight__points li + li {
	margin-top: .75rem;
}

.ans-spotlight__points .ans-icon {
	width: 1rem;
	height: 1rem;
	margin-top: .125rem;
	color: var(--emerald-800);
}

.ans-spotlight__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	padding-top: 1rem;
}

@media (min-width: 640px) {
	.ans-spotlight {
		padding: 6rem 0;
	}

	.ans-spotlight__title {
		font-size: 2.25rem;
	}
}

@media (min-width: 1024px) {
	.ans-spotlight__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ans-spotlight__copy {
		padding-left: 1.5rem;
	}
}

/* Section bar (heading + link) */
.ans-section-bar {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--ans-border);
}

.ans-section-bar .ans-eyebrow {
	display: block;
	margin-bottom: .25rem;
}

@media (min-width: 640px) {
	.ans-section-bar {
		flex-direction: row;
		align-items: flex-end;
	}
}

/* Fabric guide */
.ans-guide-wrap {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.ans-home > .ans-guide-wrap + * {
	margin-top: 2rem;
}

.ans-guide {
	background: var(--ans-bg);
	border: 1px solid var(--ans-border);
	padding: 2rem;
}

.ans-guide__head {
	max-width: 42rem;
	margin-bottom: 2.5rem;
}

.ans-guide__head .ans-eyebrow {
	font-weight: 700;
}

.ans-guide__intro {
	font-size: .75rem;
	line-height: 1rem;
	color: var(--ans-text-4);
}

.ans-tabs {
	display: flex;
	justify-content: center;
	max-width: 32rem;
	margin: 0 auto 2rem;
	border-bottom: 1px solid var(--ans-border);
	overflow-x: auto;
	scrollbar-width: none;
}

.ans-tabs__tab {
	padding: .75rem 1.25rem;
	font-size: .75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 500;
	color: var(--stone-500);
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	white-space: nowrap;
	transition: color .15s, border-color .15s;
}

.ans-tabs__tab:hover {
	color: var(--stone-900);
}

.ans-tabs__tab[aria-selected="true"] {
	border-color: var(--ans-brand);
	color: var(--ans-text);
	font-weight: 700;
}

.ans-guide__panel {
	display: grid;
	gap: 1.5rem;
	font-size: .75rem;
	line-height: 1.625;
	color: var(--ans-text-4);
	animation: ansFadeIn .3s ease-out;
}

.ans-guide__card {
	padding: 1.25rem;
	background: var(--ans-sand);
	border: 1px solid var(--ans-border);
}

.ans-guide__card > * + * {
	margin-top: .5rem;
}

.ans-guide__card-title {
	font-family: var(--ans-font-serif);
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 600;
	color: var(--ans-text);
}

@media (min-width: 640px) {
	.ans-guide {
		padding: 3rem;
	}

	.ans-guide__intro {
		font-size: .875rem;
		line-height: 1.25rem;
	}
}

@media (min-width: 768px) {
	.ans-guide__panel {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Tracking banner */
.ans-trackban {
	position: relative;
	overflow: hidden;
	display: grid;
	gap: 2rem;
	align-items: center;
	padding: 2rem;
	background: var(--ans-brand);
	color: var(--ans-bg);
}

.ans-trackban__copy > * + * {
	margin-top: .75rem;
}

.ans-trackban__eyebrow {
	display: block;
	font-size: 11px;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .24em;
	font-weight: 700;
	color: #fff;
}

.ans-trackban__title {
	font-family: var(--ans-font-serif);
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 400;
	color: #fff;
}

.ans-trackban__text {
	max-width: 36rem;
	font-size: .75rem;
	line-height: 1.625;
	color: rgb(255 255 255 / .8);
}

.ans-trackban__chips {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	padding-top: .5rem;
	font-size: .75rem;
	color: #fff;
}

.ans-trackban__chip {
	padding: .25rem .75rem;
	background: rgb(255 255 255 / .12);
	border: 1px solid rgb(255 255 255 / .25);
}

.ans-trackban__action {
	display: flex;
	justify-content: flex-start;
}

.ans-trackban__action .ans-btn {
	padding: 1rem 1.5rem;
}

@media (min-width: 640px) {
	.ans-trackban {
		padding: 3rem;
	}

	.ans-trackban__title {
		font-size: 2.25rem;
		line-height: 2.5rem;
	}

	.ans-trackban__text {
		font-size: .875rem;
	}
}

@media (min-width: 1024px) {
	.ans-trackban {
		grid-template-columns: 2fr 1fr;
	}

	.ans-trackban__action {
		justify-content: flex-end;
	}
}

/* 23. Help & policy links
   ========================================================================== */

.ans-guide__more {
	margin-top: 2rem;
	text-align: center;
}

/* 25. Phones: compact two-column product cards and category tiles
   ========================================================================== */

@media (max-width: 639px) {
	.ans-cat-tile__body {
		padding: .75rem .5rem;
	}

	.ans-cat-tile__title {
		font-size: 1rem;
		line-height: 1.375rem;
	}

	.ans-cat-tile__tagline {
		display: none;
	}
}

/* Newsletter band */
.ans-news {
	display: grid;
	gap: 2rem;
	padding: 2.5rem 1.25rem;
	background:
		radial-gradient(ellipse 50% 80% at 0% 0%, rgb(255 255 255 / .65), rgb(255 255 255 / 0)),
		linear-gradient(135deg, var(--ans-brand-tint), var(--ans-sand));
	border: 1px solid var(--ans-border);
}

.ans-news__copy > * + * {
	margin-top: .75rem;
}

.ans-news__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 9999px;
	background: var(--ans-brand-dark);
	color: #fff;
}

.ans-news__icon .ans-icon {
	width: 1.375rem;
	height: 1.375rem;
}

.ans-news__title {
	font-family: var(--ans-font-serif);
	font-size: 1.75rem;
	line-height: 1.15;
	font-weight: 400;
	letter-spacing: -.02em;
	color: var(--ans-text);
	text-wrap: balance;
}

.ans-news__text {
	max-width: 30rem;
	font-size: .9375rem;
	line-height: 1.625;
	color: var(--ans-text-3);
}

.ans-news__form .ans-sub__field input {
	background: #fff;
}

@media (min-width: 640px) {
	.ans-news {
		padding: 3rem 2.5rem;
	}

	.ans-news__title {
		font-size: 2.25rem;
	}
}

@media (min-width: 1024px) {
	.ans-news {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		align-items: center;
		gap: 3.5rem;
		padding: 3.5rem;
	}
}
