/**
 * Home Style 1 — premium alternative homepage layout.
 *
 * Loaded only on Pages using the "Home Style 1" template
 * (see inc/assets.php). Everything is namespaced under .hs1 so it
 * never touches the default front page or the rest of the site.
 * Colours, fonts and shadows come from the theme tokens in main.css.
 */

.hs1 {
	--hs1-space: clamp(64px, 9vw, 120px);
	--hs1-round: 18px;
	--hs1-round-sm: 12px;
	overflow-x: clip;
}

/* Shared bits ------------------------------------------------------- */
.hs1-eyebrow {
	margin: 0 0 .8rem;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold);
}
.hs1-eyebrow--dark { color: var(--blue); }

.hs1-section { padding-block: var(--hs1-space); }

.hs1-heading { max-width: 60ch; margin-bottom: clamp(32px, 4.5vw, 52px); }
.hs1-heading h2 {
	margin: 0;
	font-size: clamp(1.9rem, 1.3rem + 2.6vw, 2.9rem);
	line-height: 1.12;
	color: var(--ink);
}
.hs1-heading p { margin: .9rem 0 0; color: var(--ink-soft); font-size: 1.05rem; }
.hs1-heading--center { margin-inline: auto; text-align: center; }
.hs1-heading--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	max-width: none;
}

.hs1-btn {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	padding: 14px 26px;
	font-weight: 700;
	font-size: .92rem;
	letter-spacing: .01em;
	border: 1.5px solid transparent;
	border-radius: 999px;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.hs1-btn:hover { text-decoration: none; transform: translateY(-2px); }
.hs1-btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--gold) 80%, transparent); }
.hs1-btn--gold:hover { background: color-mix(in srgb, var(--gold) 85%, #fff); box-shadow: 0 16px 34px -12px color-mix(in srgb, var(--gold) 90%, transparent); }
.hs1-btn--light { background: var(--ink); color: #fff; }
.hs1-btn--light:hover { background: var(--blue-dark); }
.hs1-btn--lg { padding: 17px 34px; font-size: 1rem; }

.hs1-textlink {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	font-weight: 700;
	font-size: .9rem;
	color: var(--blue);
	white-space: nowrap;
}
.hs1-textlink span { transition: transform .2s var(--ease); }
.hs1-textlink:hover { text-decoration: none; }
.hs1-textlink:hover span { transform: translateX(4px); }

/* ================================================================
   Hero
   ================================================================ */
.hs1-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-top: clamp(56px, 8vw, 104px);
	padding-bottom: clamp(40px, 6vw, 72px);
	color: var(--pale);
	background:
		radial-gradient(1200px 640px at 78% -8%, color-mix(in srgb, var(--blue) 60%, transparent), transparent 60%),
		linear-gradient(158deg, var(--navy) 0%, var(--blue-dark) 100%);
}
.hs1-hero__glow {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(760px 520px at 8% 110%, color-mix(in srgb, var(--gold) 26%, transparent), transparent 62%);
	-webkit-mask-image: linear-gradient(#000, #000);
}
.hs1-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%3E%3Cg%20fill='none'%20stroke='%23ffffff'%20stroke-width='1'%3E%3Crect%20x='6.5'%20y='6.5'%20width='51'%20height='51'/%3E%3Crect%20x='23.5'%20y='23.5'%20width='17'%20height='17'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 64px 64px;
	opacity: .05;
	-webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 100%);
	mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 100%);
}

.hs1-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, .95fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.hs1-hero__title {
	margin: 0;
	font-size: clamp(2.3rem, 1.5rem + 3.6vw, 3.9rem);
	line-height: 1.08;
	letter-spacing: -.01em;
	color: #fff;
	text-wrap: balance;
}
.hs1-hero__text {
	margin: 1.1rem 0 0;
	max-width: 52ch;
	font-size: clamp(1.02rem, .96rem + .3vw, 1.16rem);
	line-height: 1.65;
	color: color-mix(in srgb, var(--pale) 80%, transparent);
}

/* Inline catalogue search */
.hs1-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: clamp(24px, 3vw, 34px);
	padding: 8px 8px 8px 48px;
	background: #fff;
	border-radius: 999px;
	box-shadow: var(--shadow-lg);
	max-width: 620px;
}
.hs1-search__icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	color: var(--ink-soft);
}
.hs1-search input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 12px 4px;
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
}
.hs1-search input:focus { outline: none; }
.hs1-search input::placeholder { color: var(--ink-soft); }
.hs1-search button {
	flex: none;
	padding: 12px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--blue);
	color: #fff;
	font-weight: 700;
	font-size: .92rem;
	cursor: pointer;
	transition: background-color .2s var(--ease);
}
.hs1-search button:hover { background: var(--blue-dark); }

.hs1-quicklinks {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	margin-top: 18px;
	font-size: .9rem;
}
.hs1-quicklinks__label { color: color-mix(in srgb, var(--pale) 55%, transparent); font-weight: 600; }
.hs1-quicklinks a {
	color: color-mix(in srgb, var(--pale) 92%, transparent);
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--pale) 30%, transparent);
	text-underline-offset: 3px;
}
.hs1-quicklinks a:hover { color: var(--gold); text-decoration-color: var(--gold); }

/* Hero help card */
.hs1-hero__card {
	padding: clamp(24px, 2.6vw, 32px);
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--hs1-round);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.hs1-hero__card-kicker {
	margin: 0 0 .4rem;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold);
}
.hs1-hero__card-title { margin: 0 0 .5rem; font-size: 1.4rem; color: #fff; }
.hs1-hero__card-text { margin: 0 0 1.2rem; font-size: .95rem; line-height: 1.6; color: color-mix(in srgb, var(--pale) 78%, transparent); }
.hs1-hero__card .hs1-btn { width: 100%; justify-content: center; }
.hs1-hero__facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 20px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .14);
}
.hs1-hero__facts dt { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--pale) 55%, transparent); }
.hs1-hero__facts dd { margin: 4px 0 0; font-size: .9rem; font-weight: 600; color: #fff; }

/* Stat strip */
.hs1-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	margin-top: clamp(40px, 5vw, 64px);
	padding: 0;
	list-style: none;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--hs1-round);
	overflow: hidden;
}
.hs1-stats li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 22px clamp(16px, 2vw, 26px);
	background: var(--navy);
}
.hs1-stats strong { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 800; color: #fff; font-family: var(--serif); }
.hs1-stats span { font-size: .82rem; color: color-mix(in srgb, var(--pale) 70%, transparent); }

/* ================================================================
   Quick access tiles
   ================================================================ */
.hs1-access { background: var(--surface); }
.hs1-access__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(14px, 1.8vw, 22px);
}
.hs1-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 26px 24px 46px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--hs1-round-sm);
	color: var(--ink);
	overflow: hidden;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.hs1-tile::before {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 3px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--ease);
}
.hs1-tile:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: color-mix(in srgb, var(--blue) 30%, var(--border));
	text-decoration: none;
}
.hs1-tile:hover::before { transform: scaleX(1); }
.hs1-tile__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 8px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--blue) 10%, var(--pale));
	color: var(--blue);
}
.hs1-tile__label { font-weight: 700; font-size: 1.08rem; }
.hs1-tile__desc { font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }
.hs1-tile__arrow {
	position: absolute;
	right: 22px;
	bottom: 20px;
	color: var(--blue);
	font-size: 1.05rem;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.hs1-tile:hover .hs1-tile__arrow { opacity: 1; transform: translateX(0); }

/* ================================================================
   Featured collections
   ================================================================ */
.hs1-collections { background: var(--cream); }
.hs1-collections__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2.2vw, 26px);
}
.hs1-collection {
	display: flex;
	flex-direction: column;
	padding: 34px 30px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--hs1-round);
	color: var(--ink);
	box-shadow: var(--shadow-sm);
	transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.hs1-collection:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); text-decoration: none; }
.hs1-collection__num {
	font: 800 2.6rem/1 var(--serif);
	color: color-mix(in srgb, var(--blue) 22%, transparent);
	margin-bottom: 10px;
}
.hs1-collection h3 { margin: 0 0 .4em; font-size: 1.3rem; }
.hs1-collection p { margin: 0 0 1.4em; color: var(--ink-soft); line-height: 1.6; flex: 1; }
.hs1-collection b {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--blue);
}
.hs1-collection b span { transition: transform .2s var(--ease); }
.hs1-collection:hover b span { transform: translateX(4px); }

/* ================================================================
   Services
   ================================================================ */
.hs1-services { background: var(--surface); }
.hs1-services__inner {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
	gap: clamp(36px, 5vw, 72px);
	align-items: center;
}
.hs1-services__intro h2 {
	margin: 0 0 .6em;
	font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.6rem);
	line-height: 1.14;
}
.hs1-services__intro p { margin: 0 0 1.6em; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; }

.hs1-services__list { list-style: none; margin: 0; padding: 0; }
.hs1-services__list li + li { border-top: 1px solid var(--border); }
.hs1-services__list a {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 22px 8px;
	color: var(--ink);
	transition: padding-left .22s var(--ease), color .22s var(--ease);
}
.hs1-services__list a:hover { text-decoration: none; padding-left: 16px; color: var(--blue); }
.hs1-services__num {
	font: 700 .9rem/1 var(--sans);
	color: var(--gold-deep);
	letter-spacing: .06em;
}
.hs1-services__body { display: flex; flex-direction: column; gap: 3px; }
.hs1-services__body strong { font-size: 1.1rem; }
.hs1-services__body span { font-size: .92rem; color: var(--ink-soft); }
.hs1-services__list b { margin-left: auto; color: var(--blue); font-size: 1.1rem; }

/* ================================================================
   News
   ================================================================ */
.hs1-news { background: var(--pale); }
.hs1-news__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: clamp(24px, 3.5vw, 48px);
	align-items: start;
}
.hs1-news__feature {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--hs1-round);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}
.hs1-news__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--pale);
}
.hs1-news__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.hs1-news__feature:hover .hs1-news__media img { transform: scale(1.04); }
.hs1-news__feature-body { padding: clamp(22px, 2.6vw, 32px); }
.hs1-news__tag {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 10px;
	background: color-mix(in srgb, var(--blue) 12%, var(--pale));
	color: var(--blue);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
}
.hs1-news__feature-body h3 { margin: 0 0 .5em; font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); line-height: 1.2; }
.hs1-news__feature-body h3 a { color: var(--ink); }
.hs1-news__feature-body h3 a:hover { color: var(--blue); text-decoration: none; }
.hs1-news__excerpt { margin: 0 0 1em; color: var(--ink-soft); line-height: 1.65; }
.hs1-news__meta { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }

.hs1-news__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hs1-news__list a {
	display: grid;
	grid-template-columns: 104px 1fr;
	gap: 16px;
	padding: 14px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--hs1-round-sm);
	color: var(--ink);
	transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.hs1-news__list a:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
	border-color: color-mix(in srgb, var(--blue) 26%, var(--border));
	text-decoration: none;
}
.hs1-news__list-media {
	display: block;
	width: 104px;
	height: 92px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--pale);
}
.hs1-news__list-media img { width: 100%; height: 100%; object-fit: cover; }
.hs1-news__list-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hs1-news__list-body .hs1-news__tag { margin-bottom: 2px; }
.hs1-news__list-body strong { font-size: 1rem; line-height: 1.32; }
.hs1-news__list-body time { font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }

/* ================================================================
   CTA
   ================================================================ */
.hs1-cta {
	padding-block: clamp(64px, 9vw, 108px);
	text-align: center;
	color: #fff;
	background:
		radial-gradient(900px 480px at 50% -20%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 60%),
		linear-gradient(160deg, var(--navy), var(--blue-dark));
}
.hs1-cta .hs1-eyebrow { color: var(--gold); }
.hs1-cta h2 {
	max-width: 22ch;
	margin: .3em auto .9em;
	font-size: clamp(1.9rem, 1.3rem + 3vw, 3.2rem);
	line-height: 1.12;
	color: #fff;
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1040px) {
	.hs1-access__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
	.hs1-hero__inner { grid-template-columns: 1fr; }
	.hs1-hero__card { order: 2; }
	.hs1-services__inner { grid-template-columns: 1fr; }
	.hs1-news__grid { grid-template-columns: 1fr; }
	.hs1-collections__grid { grid-template-columns: 1fr; }
	.hs1-heading--row { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 620px) {
	.hs1-stats { grid-template-columns: repeat(2, 1fr); }
	.hs1-access__grid { grid-template-columns: 1fr; }
	.hs1-search { flex-wrap: wrap; border-radius: var(--hs1-round); padding-left: 44px; }
	.hs1-search button { width: 100%; }
	.hs1-news__list a { grid-template-columns: 84px 1fr; }
	.hs1-news__list-media { width: 84px; height: 76px; }
}

@media (prefers-reduced-motion: reduce) {
	.hs1 * { transition: none !important; }
}
