/* =============================================================
   Elevate Content Co — light editorial theme (v2)
   Warm ivory, serif & letterspaced caps, photo-forward
   ============================================================= */

:root {
	--bg:      #faf8f4;
	--bg-alt:  #f0ebe2;
	--white:   #ffffff;
	--ink:     #262320;
	--muted:   #6f695f;
	--faint:   #a49c8e;
	--accent:  #94764a;
	--line:    rgba(38, 35, 32, 0.14);
	--serif:   "Cormorant Garamond", "Georgia", serif;
	--sans:    "Jost", "Futura", "Century Gothic", sans-serif;
	--ease:    cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 300;
	font-size: 16.5px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.wrap-wide { max-width: 1400px; margin: 0 auto; padding: 0 clamp(1rem, 2.5vw, 2rem); }

::selection { background: var(--accent); color: var(--bg); }

.grain { display: none; }

/* ---------------- Typography ---------------- */

.eyebrow {
	font-size: 0.72rem;
	font-weight: 400;
	letter-spacing: 0.42em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1.4rem;
}

/* The signature device: spaced caps with italic serif interjections */
.mixed {
	font-family: var(--sans);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	line-height: 1.55;
}
.mixed em {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0.01em;
	font-size: 1.32em;
	color: var(--accent);
}

.section-title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(2.3rem, 5vw, 3.6rem);
	line-height: 1.08;
	letter-spacing: 0.005em;
}
.section-title em, .hero-title em, .cta-title em, .intro-lede em {
	font-style: italic;
	font-weight: 400;
	color: var(--accent);
}

/* ---------------- Header ---------------- */

.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
	background: rgba(250, 248, 244, 0.92);
	backdrop-filter: blur(10px);
	box-shadow: 0 1px 0 var(--line);
}

.header-inner {
	max-width: 1400px; margin: 0 auto;
	padding: 1.15rem clamp(1.25rem, 4vw, 3rem);
	display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}

.brand { display: flex; align-items: center; gap: 0.85rem; }

.brand-mark {
	display: grid; place-items: center;
	width: 42px; height: 42px;
	border: 1px solid var(--ink);
	border-radius: 50%;
	font-family: var(--serif);
	font-size: 1rem; letter-spacing: 0.06em;
}

.brand-name {
	font-size: 0.8rem; font-weight: 500;
	letter-spacing: 0.3em; text-transform: uppercase;
}
.brand-name em { font-style: normal; font-weight: 300; color: var(--muted); }

.nav-list { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-list a {
	font-size: 0.74rem; font-weight: 400;
	letter-spacing: 0.24em; text-transform: uppercase;
	color: var(--ink);
	padding-bottom: 2px;
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s, color 0.25s;
}
.nav-list a:hover { border-color: var(--accent); color: var(--accent); }

.nav-list a.nav-cta, .nav-list .nav-cta a {
	border: 1px solid var(--ink);
	padding: 0.6rem 1.4rem;
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.nav-list a.nav-cta:hover, .nav-list .nav-cta a:hover {
	background: var(--ink); color: var(--bg); border-color: var(--ink);
}

.nav-toggle { display: none; }

/* On top of hero imagery the header text is light until scrolled */
.has-hero .site-header:not(.scrolled) { color: #ffffff; }
.has-hero .site-header:not(.scrolled) .brand-mark { border-color: #ffffff; }
.has-hero .site-header:not(.scrolled) .brand-name em { color: rgba(255,255,255,0.75); }
.has-hero .site-header:not(.scrolled) .nav-list a { color: #ffffff; }
.has-hero .site-header:not(.scrolled) .nav-list a:hover { color: #ffffff; border-color: #ffffff; }
.has-hero .site-header:not(.scrolled) .nav-list a.nav-cta,
.has-hero .site-header:not(.scrolled) .nav-list .nav-cta a { border-color: #ffffff; }
.has-hero .site-header:not(.scrolled) .nav-list a.nav-cta:hover { background: #ffffff; color: var(--ink); }

/* ---------------- Buttons ---------------- */

.btn {
	display: inline-block;
	font-size: 0.74rem; font-weight: 500;
	letter-spacing: 0.28em; text-transform: uppercase;
	padding: 1.05rem 2.4rem;
	border: 1px solid var(--ink);
	transition: all 0.3s var(--ease);
}
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: transparent; color: var(--ink); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.hero .btn, .service-hero .btn { border-color: #ffffff; }
.hero .btn-solid, .service-hero .btn-solid { background: #ffffff; color: var(--ink); }
.hero .btn-solid:hover, .service-hero .btn-solid:hover { background: transparent; color: #ffffff; }
.hero .btn-ghost, .service-hero .btn-ghost { color: #ffffff; }
.hero .btn-ghost:hover { background: #ffffff; color: var(--ink); }

/* Text link */
.textlink {
	display: inline-block;
	font-size: 0.74rem; font-weight: 500;
	letter-spacing: 0.28em; text-transform: uppercase;
	color: var(--ink);
	padding-bottom: 4px;
	border-bottom: 1px solid var(--accent);
	transition: color 0.3s, letter-spacing 0.4s var(--ease);
}
.textlink:hover { color: var(--accent); letter-spacing: 0.34em; }

/* ---------------- Hero ---------------- */

.hero, .service-hero {
	position: relative;
	min-height: 96svh;
	display: flex; align-items: flex-end;
	background-size: cover; background-position: center;
	color: #ffffff;
}
.service-hero { min-height: 78svh; }

.hero { overflow: hidden; }

.hero-video {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	z-index: 0;
}

.hero-scrim {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(20,17,14,0.30) 0%, rgba(20,17,14,0.05) 45%, rgba(20,17,14,0.55) 100%);
}

@media (prefers-reduced-motion: reduce) {
	.hero-video { display: none; }
}

.hero-content { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(3rem, 7vh, 5.5rem); padding-top: 8rem; }

.hero-eyebrow { color: #ffffff; opacity: 0.9; animation: rise 0.9s var(--ease) both 0.1s; }

.hero-title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(2.6rem, 6.5vw, 5.2rem);
	line-height: 1.04;
	letter-spacing: 0.005em;
	margin-bottom: 1.5rem;
	max-width: 18em;
	animation: rise 0.9s var(--ease) both 0.25s;
}
.hero-title em { color: #ffffff; }

.hero-sub {
	max-width: 33rem;
	font-size: 1rem;
	opacity: 0.88;
	margin-bottom: 2.2rem;
	animation: rise 0.9s var(--ease) both 0.4s;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; animation: rise 0.9s var(--ease) both 0.55s; }

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

.scroll-cue { display: none; }

/* ---------------- Intro / statement ---------------- */

.intro { padding: clamp(5.5rem, 11vw, 9rem) 0; text-align: center; }

.intro-grid { display: block; }

.intro-lede {
	font-size: clamp(1.05rem, 2.2vw, 1.5rem);
	max-width: 46rem;
	margin: 0 auto 2rem;
}

.intro-copy {
	color: var(--muted);
	font-size: 1.02rem;
	max-width: 38rem;
	margin: 0 auto;
}
.intro-copy a { color: var(--accent); }

.intro-loc {
	margin-top: 2.6rem;
	font-size: 0.78rem;
}

/* ---------------- Statement band ---------------- */

.statement {
	background: var(--bg-alt);
	padding: clamp(5rem, 10vw, 8rem) 0;
	text-align: center;
}
.statement .mixed {
	font-size: clamp(1.15rem, 2.8vw, 1.9rem);
	max-width: 50rem;
	margin: 0 auto;
}

/* ---------------- Services (editorial rows) ---------------- */

.gateways { padding: clamp(4rem, 8vw, 7rem) 0; display: flex; flex-direction: column; gap: clamp(4.5rem, 9vw, 8rem); }

.gateway {
	display: grid;
	gap: clamp(1.8rem, 4vw, 4rem);
	align-items: center;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 4vw, 3rem);
	grid-template-columns: 1fr;
}
@media (min-width: 900px) {
	.gateway { grid-template-columns: 7fr 5fr; }
	.gateway:nth-child(even) .gateway-figure { order: 2; }
}

.gateway-figure { position: relative; overflow: hidden; }
.gateway-media {
	aspect-ratio: 4 / 3;
	background-size: cover; background-position: center;
	transform: scale(1.01);
	transition: transform 1.2s var(--ease);
}
.gateway:hover .gateway-media { transform: scale(1.05); }
.gateway-scrim { display: none; }

.gateway-num {
	font-family: var(--serif); font-style: italic;
	color: var(--faint); font-size: 1.05rem;
	display: block; margin-bottom: 0.8rem;
}

.gateway-title {
	font-family: var(--serif); font-weight: 400;
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	line-height: 1.05;
	margin-bottom: 1.1rem;
}

.gateway-line { color: var(--muted); max-width: 26rem; margin-bottom: 1.8rem; font-size: 1rem; }

/* ---------------- About / behind the lens ---------------- */

.about { padding: clamp(5rem, 10vw, 8.5rem) 0; background: var(--white); }

.about-grid {
	display: grid; gap: clamp(2.5rem, 5vw, 5rem);
	grid-template-columns: 1fr;
	align-items: center;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 6fr; } }

.about-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.about-body .mixed { font-size: clamp(1rem, 2vw, 1.35rem); margin-bottom: 1.6rem; }
.about-body p { color: var(--muted); max-width: 34rem; margin-bottom: 1.2rem; }
.about-body .textlink { margin-top: 1rem; }

/* ---------------- Process ---------------- */

.process { padding: clamp(5rem, 10vw, 8.5rem) 0; }

.process-head { text-align: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); }

.process-grid {
	display: grid; gap: 2.5rem 2rem;
	grid-template-columns: 1fr;
	counter-reset: step;
}
@media (min-width: 700px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1020px) { .process-grid { grid-template-columns: repeat(5, 1fr); } }

.process-step { text-align: center; padding: 0 0.5rem; }
.process-step .step-num {
	font-family: var(--serif); font-style: italic;
	font-size: 2.2rem; color: var(--accent);
	display: block; margin-bottom: 0.8rem;
}
.process-step h3 {
	font-size: 0.78rem; font-weight: 500;
	letter-spacing: 0.26em; text-transform: uppercase;
	margin-bottom: 0.7rem;
}
.process-step p { color: var(--muted); font-size: 0.92rem; }

/* ---------------- Craft grid (what you get) ---------------- */

.craft { padding: clamp(5rem, 10vw, 8.5rem) 0; background: var(--bg-alt); }
.craft .eyebrow, .craft .section-title { text-align: center; }
.craft .section-title { margin-bottom: clamp(2.6rem, 5vw, 4rem); }

.craft-grid {
	display: grid; gap: 2.5rem 3rem;
	grid-template-columns: 1fr;
}
@media (min-width: 700px) { .craft-grid { grid-template-columns: 1fr 1fr; } }

.craft-item { text-align: center; max-width: 26rem; margin: 0 auto; }
.craft-item h3 {
	font-family: var(--serif); font-weight: 500;
	font-size: 1.45rem; margin-bottom: 0.6rem;
}
.craft-item p { color: var(--muted); font-size: 0.98rem; }

/* ---------------- Quote ---------------- */

.quote { padding: clamp(5.5rem, 11vw, 9rem) 0; text-align: center; }
.quote blockquote p {
	font-family: var(--serif); font-style: italic; font-weight: 400;
	font-size: clamp(1.6rem, 3.6vw, 2.5rem);
	line-height: 1.35;
	max-width: 50rem; margin: 0 auto 1.8rem;
}
.quote cite {
	font-style: normal; font-size: 0.72rem;
	letter-spacing: 0.34em; text-transform: uppercase;
	color: var(--accent);
}

/* ---------------- Gallery ---------------- */


/* Films embed */
.films { padding: clamp(5rem, 10vw, 8.5rem) 0 0; }
.films .eyebrow, .films .section-title { text-align: center; }
.films .section-title { margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.films-frame { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: #000; }
.films-frame iframe, .films-frame video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; background: #000; }

.gallery { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.gallery .eyebrow, .gallery .section-title { text-align: center; }
.gallery .section-title { margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }

.gallery-grid {
	columns: 2; column-gap: 1.1rem; display: block;
}
@media (min-width: 860px) { .gallery-grid { columns: 3; } }

.gallery-item { overflow: hidden; margin: 0 0 1.1rem; break-inside: avoid; display: block; }
.gallery-item img {
	width: 100%; height: auto; display: block;
	transform: scale(1.01);
	transition: transform 1s var(--ease), opacity 0.6s;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-note {
	margin-top: 1.5rem; text-align: center;
	color: var(--faint); font-size: 0.8rem;
	letter-spacing: 0.1em;
}

/* ---------------- Cross-links ---------------- */

.crosslinks { padding: clamp(3.5rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--line); text-align: center; }
.crosslink-row { display: flex; flex-wrap: wrap; gap: 1rem 3rem; justify-content: center; }
.crosslink {
	font-family: var(--serif); font-style: italic;
	font-size: clamp(1.3rem, 2.6vw, 1.7rem);
	color: var(--muted);
	transition: color 0.3s;
}
.crosslink:hover { color: var(--accent); }
.crosslink span { font-size: 0.85em; }

/* ---------------- Contact CTA ---------------- */

.contact-cta {
	padding: clamp(6rem, 12vw, 10rem) 0;
	background: var(--bg-alt);
	text-align: center;
}
.cta-title {
	font-family: var(--serif); font-weight: 400;
	font-size: clamp(2.4rem, 6vw, 4.2rem);
	line-height: 1.08;
	margin-bottom: 1.4rem;
}
.cta-sub { color: var(--muted); max-width: 35rem; margin: 0 auto 2.6rem; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.cta-alt { color: var(--faint); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------------- Footer ---------------- */

.site-footer { padding: 3.5rem 0 3rem; background: var(--bg); }

.footer-grid {
	display: grid; gap: 2.5rem;
	grid-template-columns: 1fr;
}
@media (min-width: 860px) { .footer-grid { grid-template-columns: 2fr 2fr 1fr; align-items: start; } }

.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; max-width: 20rem; }

.footer-nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a {
	color: var(--muted); font-size: 0.74rem;
	letter-spacing: 0.22em; text-transform: uppercase;
	transition: color 0.25s;
}
.footer-nav a:hover { color: var(--accent); }

.footer-meta { color: var(--faint); font-size: 0.8rem; }

/* ---------------- Reveal on scroll ---------------- */

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ---------------- Mobile nav ---------------- */

@media (max-width: 860px) {
	.brand-name { display: none; }

	.nav-toggle {
		display: flex; flex-direction: column; gap: 6px;
		background: none; border: none; cursor: pointer; padding: 8px; z-index: 60;
	}
	.nav-toggle span {
		display: block; width: 26px; height: 1px;
		background: currentColor;
		transition: transform 0.35s var(--ease);
	}
	.has-hero .site-header:not(.scrolled) .nav-toggle { color: #fff; }
	.nav-toggle[aria-expanded="true"] { color: var(--ink) !important; }
	.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

	.site-nav {
		position: fixed; inset: 0;
		background: rgba(250, 248, 244, 0.98);
		display: grid; place-items: center;
		opacity: 0; pointer-events: none;
		transition: opacity 0.4s var(--ease);
	}
	.site-nav.open { opacity: 1; pointer-events: auto; }

	.nav-list { flex-direction: column; gap: 2rem; text-align: center; }
	.nav-list a { font-size: 1rem; letter-spacing: 0.28em; color: var(--ink); }
}
