/* ============================================================
   elliebravoyoung.com
   Pitch black / chalk / Current teal / kit red
   Display: Big Shoulders Display  ·  Body: Archivo
   ============================================================ */

:root {
	--ink:    #0A0C0E;
	--panel:  #121518;
	--panel2: #16191d;
	--chalk:  #F2EFE9;
	--muted:  #8E979C;
	--teal:   #45D6C8;
	--red:    #E8213D;
	--line:   rgba(242, 239, 233, .14);
	--line-soft: rgba(242, 239, 233, .08);

	--font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
	--font-body: 'Archivo', system-ui, sans-serif;

	--gutter: clamp(1.25rem, 5vw, 4.5rem);
	--section-y: clamp(4.5rem, 10vw, 8.5rem);
}

* { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--ink);
	color: var(--chalk);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--chalk); }

:focus-visible {
	outline: 2px solid var(--teal);
	outline-offset: 3px;
	border-radius: 2px;
}

h1, h2, h3 {
	font-family: var(--font-display);
	text-transform: uppercase;
	line-height: .92;
	margin: 0;
	font-weight: 800;
	letter-spacing: .01em;
}

h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); }

/* ---------- shared bits ---------- */

.eyebrow {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin: 0 0 1rem;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--muted);
}

.eyebrow__tick {
	width: .55rem;
	height: .55rem;
	background: var(--teal);
	flex: none;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: .85rem 1.9rem;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}

.btn--primary {
	background: var(--red);
	color: #fff;
}
.btn--primary:hover { background: #F43552; color: #fff; transform: translateY(-2px); }

.btn--ghost {
	border-color: var(--line);
	color: var(--chalk);
	background: transparent;
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

.section {
	padding: var(--section-y) var(--gutter);
	max-width: 82rem;
	margin: 0 auto;
}

.section__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

/* scroll reveal */
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- topbar ---------- */

.topbar {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.4rem var(--gutter);
}

.topbar__brand {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.5rem;
	letter-spacing: .06em;
	color: var(--chalk);
	display: inline-flex;
	align-items: baseline;
	gap: .35rem;
}
.topbar__num {
	color: var(--ink);
	background: var(--teal);
	padding: 0 .4rem;
	line-height: 1.25;
}

.topbar__nav {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2.2rem);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.topbar__nav a { color: var(--muted); }
.topbar__nav a:hover { color: var(--chalk); }
.topbar__cta {
	color: var(--chalk) !important;
	border: 1px solid var(--line);
	padding: .5rem 1.1rem;
	transition: border-color .18s ease;
}
.topbar__cta:hover { border-color: var(--red); }

/* ---------- hero ---------- */

.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	padding: 6rem var(--gutter) 0;
}

/* giant ghost 5 -- lives INSIDE the photo's blend group so the
   image's black background genuinely reveals it around her */
.hero__ghost {
	position: absolute;
	left: 44%;
	top: 42%;
	transform: translate(-50%, -50%);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: min(78svh, clamp(18rem, 40vw, 42rem));
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 2px rgba(69, 214, 200, .45);
	user-select: none;
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	align-items: center;
	gap: clamp(1rem, 4vw, 3rem);
	max-width: 82rem;
	margin: 0 auto;
	width: 100%;
}

.hero__eyebrow { color: var(--teal); }
.hero__eyebrow .eyebrow__tick { background: var(--red); }
.hero__eb-sep { font-style: normal; }

.hero__name {
	font-size: clamp(3.4rem, 9vw, 7.5rem);
	display: flex;
	flex-direction: column;
}
.hero__first { color: var(--chalk); }
.hero__last { color: var(--chalk); }
.hero__last em {
	font-style: normal;
	color: var(--red);
}

.hero__sub {
	max-width: 34rem;
	color: var(--muted);
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	margin: 1.6rem 0 2.2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__photo {
	margin: 0;
	position: relative;
	z-index: 0; /* own stacking context: the ghost 5 blends inside it */
	align-self: end;
	background: var(--ink); /* blend backdrop matches the page exactly */
}
.hero__photo img {
	position: relative;
	z-index: 1; /* paints above the ghost, then blend reveals it */
	width: 100%;
	max-height: 88svh;
	object-fit: contain;
	object-position: bottom;
	/* photo is shot on true black: screen blend melts it into the page */
	mix-blend-mode: screen;
}

.hero__baseline {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--line);
	z-index: 3;
}

/* hero entrance */
body.preload .hero__content > *,
body.preload .hero__photo { opacity: 0; }
body.is-loaded .hero__content > * {
	animation: rise .8s cubic-bezier(.2, .7, .2, 1) both;
}
body.is-loaded .hero__content > *:nth-child(1) { animation-delay: .05s; }
body.is-loaded .hero__content > *:nth-child(2) { animation-delay: .15s; }
body.is-loaded .hero__content > *:nth-child(3) { animation-delay: .3s; }
body.is-loaded .hero__content > *:nth-child(4) { animation-delay: .42s; }
body.is-loaded .hero__photo {
	animation: emerge 1.1s ease .25s both;
}

@keyframes rise {
	from { opacity: 0; transform: translateY(26px); }
	to   { opacity: 1; transform: none; }
}
@keyframes emerge {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: none; }
}

/* ---------- ticker ---------- */

.ticker {
	border-top: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
	background: var(--panel);
}

.ticker__track {
	display: flex;
	width: max-content;
	animation: ticker 44s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}
.ticker__list li {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
	padding: 1.05rem 0;
}
.ticker__list li::after {
	content: '';
	display: inline-block;
	width: .5rem;
	height: .5rem;
	background: var(--red);
	margin: 0 1.8rem;
	vertical-align: middle;
}
.ticker__list li:nth-child(odd)::after { background: var(--teal); }

@keyframes ticker {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* ---------- about ---------- */

.about__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: stretch;
}

.about__prose p {
	margin: 0 0 1.4rem;
	color: #C9CDCB;
	font-size: 1.06rem;
	max-width: 40rem;
}

.about__pull {
	display: flex;
	align-items: baseline;
	gap: 1.4rem;
	margin-top: 2.4rem;
	padding: 1.6rem 1.8rem;
	border-left: 3px solid var(--red);
	background: var(--panel);
}
.about__pullstat {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(3rem, 6vw, 4.6rem);
	line-height: 1;
	color: var(--red);
	flex: none;
}
.about__pulllabel {
	color: var(--muted);
	font-size: .95rem;
	max-width: 20rem;
}

/* photo fills the column, height locked to the prose beside it */
.about__photo {
	position: relative;
	margin: 0;
	border: 1px solid var(--line-soft);
	min-height: 24rem;
}
.about__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 32% 30%;
}

/* match-report stat strip across the full section width */
.about__facts { margin-top: clamp(2.5rem, 5vw, 4rem); }
.about__facts dl {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0 2.5rem;
	margin: 0;
}
.about__facts dl > div {
	border-top: 1px solid var(--line);
	padding: 1rem 0 1.3rem;
}
.about__facts dt {
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: .4rem;
}
.about__facts dd {
	margin: 0;
	font-weight: 500;
	color: var(--chalk);
}

/* ---------- merch ---------- */

.merch__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 2.5rem);
}

.merch__card {
	display: flex;
	flex-direction: column;
	background: var(--panel);
	border: 1px solid var(--line-soft);
	color: var(--chalk);
	transition: transform .25s ease, border-color .25s ease;
}
.merch__card:hover {
	transform: translateY(-6px);
	border-color: var(--teal);
	color: var(--chalk);
}

.merch__media {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #e9e9ea;
}
.merch__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.merch__card:hover .merch__media img { transform: scale(1.045); }
.merch__media--light { background: #fff; }
.merch__media--light img { object-fit: contain; padding: 1.5rem; }

.merch__body { padding: 1.6rem 1.7rem 1.9rem; }
.merch__body h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.merch__body p { margin: 0 0 1.1rem; color: var(--muted); font-size: .97rem; }

.merch__link {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--teal);
}
.merch__card:hover .merch__link { color: var(--chalk); }

/* ---------- instagram ---------- */

.ig {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(.6rem, 1.5vw, 1.2rem);
}

.ig__item {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--panel);
	border: 1px solid var(--line-soft);
}
.ig__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease, opacity .3s ease;
}
.ig__item:hover img { transform: scale(1.05); }
.ig__item::after {
	content: '';
	position: absolute;
	inset: 0;
	border: 0 solid var(--teal);
	transition: border-width .2s ease;
	pointer-events: none;
}
.ig__item:hover::after { border-width: 3px; }

.ig__skeleton {
	aspect-ratio: 1 / 1;
	background: linear-gradient(100deg, var(--panel) 40%, var(--panel2) 50%, var(--panel) 60%);
	background-size: 300% 100%;
	animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer {
	from { background-position: 100% 0; }
	to   { background-position: 0 0; }
}

.latest__actions {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	margin-top: 2.2rem;
	flex-wrap: wrap;
}
.latest__faves {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	font-size: 1.02rem;
}

/* ---------- contact ---------- */

.contact {
	border-top: 1px solid var(--line);
}

.contact__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.contact__note { color: var(--muted); max-width: 46rem; margin: 1.2rem 0 0; }

.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: stretch;
}

/* photo height locked to the form beside it */
.contact__photo {
	position: relative;
	margin: 0;
	border: 1px solid var(--line-soft);
	min-height: 24rem;
}
.contact__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 28%;
}

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

.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }

.field label {
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--muted);
}
.field label span { text-transform: none; letter-spacing: 0; opacity: .7; }

.field input,
.field select,
.field textarea {
	background: var(--panel);
	border: 1px solid var(--line-soft);
	color: var(--chalk);
	font-family: var(--font-body);
	font-size: 1rem;
	padding: .8rem .95rem;
	border-radius: 0;
	transition: border-color .18s ease;
	width: 100%;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 50%, calc(100% - 0.95rem) 50%; background-size: .36rem .36rem; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 9rem; }

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--teal);
}
.field input.is-error,
.field select.is-error,
.field textarea.is-error { border-color: var(--red); }

/* honeypot */
.hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px;
	overflow: hidden;
}

.contact__actions {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 1.4rem;
	flex-wrap: wrap;
}
.contact__status { margin: 0; font-size: .95rem; color: var(--muted); }
.contact__status.is-ok { color: var(--teal); }
.contact__status.is-error { color: var(--red); }

/* ---------- footer ---------- */

.footer {
	border-top: 1px solid var(--line);
	padding: 3.5rem var(--gutter) 3rem;
	text-align: center;
}

.footer__brand {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.6rem;
	letter-spacing: .08em;
	color: var(--chalk);
}
.footer__brand span { color: var(--teal); margin-left: .3rem; }

.footer__links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1.6rem;
	margin: 1.6rem 0;
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
}
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--teal); }

.footer__copy { color: var(--muted); font-size: .88rem; margin: 0 0 1.8rem; }

.footer__credits {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .9rem;
	color: var(--muted);
	font-size: .82rem;
}
.credit {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	color: var(--muted);
}
.credit:hover { color: var(--chalk); }
.credit img { height: 1.15rem; width: auto; }
.credit-sep { opacity: .5; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
	.topbar__nav a:not(.topbar__cta) { display: none; }

	.hero { padding-top: 5.5rem; padding-bottom: 2.5rem; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__photo { order: -1; max-width: 24rem; margin: 0 auto; }
	.hero__photo img { max-height: 48svh; }
	.hero__ghost { font-size: min(50svh, 80vw); }

	/* two even eyebrow lines: club / number + position */
	.hero__eyebrow { align-items: flex-start; }
	.hero__eyebrow .eyebrow__tick { margin-top: .3rem; }
	.hero__eb-line { display: block; }
	.hero__eb-sep { display: none; }

	/* ELLIE / BRAVO-YOUNG on two lines, not three */
	.hero__name {
		display: block;
		font-size: clamp(2.6rem, 16vw, 6rem);
	}
	.hero__first { display: block; }
	.hero__last { display: inline; }

	.about__grid,
	.contact__grid { grid-template-columns: 1fr; }
	.about__photo { min-height: 0; aspect-ratio: 4 / 5; }
	.about__facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
	.merch__grid { grid-template-columns: 1fr; }
	.ig { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact__form { grid-template-columns: 1fr; order: -1; }
	.contact__photo { min-height: 0; aspect-ratio: 1 / 1; }
}

@media (max-width: 420px) {
	.about__pull { flex-direction: column; gap: .6rem; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.reveal { opacity: 1; transform: none; }
	body.preload .hero__content > *,
	body.preload .hero__photo { opacity: 1; }
	.ticker__track { animation: none; }
}
