/* =========================================================
   Humanor Futura — main stylesheet
   Brand palette (from logo): rose + teal + lavender + plum-ink
   ========================================================= */

/* =========  TOKENS  ========= */
:root {
	/* Brand colors (sampled from logo) */
	--rose:         #E06080;
	--rose-deep:    #C94870;
	--rose-soft:    #F5C4D1;
	--teal:         #5CBDB0;
	--teal-deep:    #3A9B90;
	--teal-soft:    #BEE4DE;
	--lavender:     #B0A0C0;
	--lavender-soft:#D8CEE0;

	/* Surfaces */
	--cream:       #FBF7F2;
	--cream-2:     #F5EFE6;
	--ivory:       #FFFFFF;
	--ink:         #2A2530;   /* deep plum */
	--body:        #4A4357;
	--muted-d:     #7A7085;
	--muted-l:     #C4BCC9;
	--rule-d:      #4A4357;
	--rule-l:      #EDE5DA;

	/* Legacy aliases mapped onto new palette (kept for compatibility) */
	--espresso:    #2A2530;
	--espresso-2:  #3A3444;
	--gold:        #E06080;
	--amber:       #C94870;
	--ember:       #E06080;
	--signal:      #E06080;

	--font-d:      'Fraunces', 'Cormorant Garamond', Georgia, serif;
	--font-b:      'Inter', system-ui, -apple-system, sans-serif;

	--ease:         cubic-bezier(.2,.8,.2,1);
	--ease-curtain: cubic-bezier(.77,0,.18,1);
	--pad:          clamp(1rem, 4vw, 2.5rem);
}

/* =========  BASE  ========= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.hf-body {
	font-family: var(--font-b);
	background: var(--cream);
	color: var(--body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	cursor: none;
}
@media (hover: none) { body.hf-body { cursor: auto; } }

body.hf-body img,
body.hf-body svg { display: block; max-width: 100%; }

body.hf-body a { color: inherit; text-decoration: none; }

body.hf-body strong { color: var(--ink); font-weight: 600; }

.container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 var(--pad);
}

.mono-label {
	font-family: var(--font-b);
	font-size: .74rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--muted-d);
	font-weight: 500;
}
.mono-label--on-dark { color: var(--muted-l); }
.mono-label::before {
	content: "•";
	color: var(--signal);
	margin-right: .6em;
	display: inline-block;
	transform: translateY(-.1em);
}
.mono-label--on-dark::before { color: var(--gold); }

::selection { background: var(--signal); color: var(--cream); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%); height: 1px; width: 1px;
	margin: -1px; overflow: hidden; padding: 0;
	position: absolute; word-wrap: normal !important;
}
.skip-link {
	position: absolute; left: -999px; top: 0;
	background: var(--signal); color: var(--cream);
	padding: .6rem 1rem; z-index: 9999;
}
.skip-link:focus { left: .5rem; top: .5rem; }

/* =========  CURSOR  ========= */
.cursor {
	position: fixed; inset: 0;
	pointer-events: none; z-index: 9999;
	mix-blend-mode: difference;
}
.cursor__dot, .cursor__ring {
	position: absolute; top: 0; left: 0;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}
.cursor__dot {
	width: 6px; height: 6px;
	background: var(--cream);
	transition: transform .15s var(--ease), background .25s;
}
.cursor__ring {
	width: 40px; height: 40px;
	border: 1px solid var(--cream);
	transition: transform .5s var(--ease), width .35s var(--ease), height .35s var(--ease), background .25s, border-color .25s;
}
.cursor.is-hover .cursor__ring {
	width: 80px; height: 80px;
	border-color: var(--gold);
	background: rgba(224,96,128,.12);
}
@media (hover: none) { .cursor { display: none; } }

/* =========  CURTAIN — page transition  ========= */
.curtain {
	position: fixed; inset: 0;
	z-index: 9000;
	pointer-events: none;
	display: grid; place-items: center;
	background: var(--espresso);
	color: var(--cream);
	clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
	transition: clip-path 1s var(--ease-curtain);
}
.curtain.is-active {
	pointer-events: all;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.curtain.is-leaving {
	clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}
.curtain__num {
	position: absolute; top: var(--pad); left: var(--pad);
	font-family: var(--font-b);
	font-size: .78rem; letter-spacing: .2em;
	color: var(--gold); text-transform: uppercase;
	font-weight: 500;
}
.curtain__label {
	font-family: var(--font-d);
	font-style: italic; font-weight: 400;
	letter-spacing: -.02em;
	font-size: clamp(2.8rem, 11vw, 9rem);
	line-height: .95;
	opacity: 0;
	transform: translateY(40px);
	transition: opacity .55s .25s var(--ease), transform .75s .25s var(--ease);
}
.curtain.is-active .curtain__label { opacity: 1; transform: none; }
.curtain__dot {
	position: absolute; bottom: var(--pad); right: var(--pad);
	width: 12px; height: 12px; border-radius: 50%;
	background: var(--signal);
	box-shadow: 0 0 40px var(--signal);
}

/* =========  HEADER  ========= */
.site-header {
	position: fixed; top: 0; left: 0; right: 0;
	z-index: 100;
	background: transparent;
	transition: background .4s, backdrop-filter .4s, border-color .4s, color .4s;
	color: var(--cream);
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
	background: rgba(42,37,48,.78);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom-color: rgba(224,96,128,.12);
}
.site-header.is-light { color: var(--ink); }
.site-header.is-light.is-scrolled {
	background: rgba(251,247,242,.85);
	border-bottom-color: var(--rule-l);
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	padding: 1.2rem var(--pad); gap: 1.5rem;
	max-width: none;
}

.brand {
	display: inline-flex; align-items: baseline; gap: 0;
	color: currentColor;
	font-family: var(--font-d);
	font-weight: 600; font-size: 1.5rem;
	letter-spacing: -.02em;
}
.brand em { font-style: italic; font-weight: 400; color: var(--gold); }
.site-header.is-light .brand em { color: var(--signal); }
.brand--logo {
	display: inline-flex; align-items: center;
	line-height: 0;
}
.brand--logo img {
	max-height: 44px; width: auto; height: auto;
	display: block;
	transition: filter .35s ease, opacity .25s;
}
/* Keep the logo legible over the dark hero — the source PNG is on transparent, so it sits naturally */
.brand--logo:hover img { opacity: .88; }
@media (max-width: 520px) {
	.brand--logo img { max-height: 36px; }
}

.nav__list {
	display: flex; list-style: none; gap: 2.5rem;
	font-size: .82rem; letter-spacing: .18em;
	text-transform: uppercase; font-weight: 500;
	margin: 0; padding: 0;
}
.nav__list a {
	position: relative; padding: .35rem 0;
	color: currentColor; transition: color .25s;
}
.nav__list a::after {
	content: ""; position: absolute; left: 0; bottom: 0;
	height: 1px; width: 0; background: var(--gold);
	transition: width .55s var(--ease);
}
.nav__list a:hover,
.nav__list a.is-current,
.nav__list .current-menu-item > a { color: var(--gold); }
.site-header.is-light .nav__list a:hover,
.site-header.is-light .nav__list a.is-current,
.site-header.is-light .nav__list .current-menu-item > a { color: var(--signal); }
.nav__list a:hover::after,
.nav__list a.is-current::after,
.nav__list .current-menu-item > a::after { width: 100%; }
.site-header.is-light .nav__list a::after { background: var(--signal); }

.nav__cta {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .75rem 1.25rem;
	border: 1px solid currentColor; border-radius: 999px;
	font-family: var(--font-b);
	font-size: .78rem; letter-spacing: .16em;
	text-transform: uppercase; font-weight: 500;
	transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.nav__cta:hover {
	background: var(--gold); color: var(--espresso);
	border-color: var(--gold);
	transform: translateY(-2px);
}
.site-header.is-light .nav__cta:hover {
	background: var(--signal); color: var(--cream);
	border-color: var(--signal);
}

.nav__toggle {
	display: none; background: none; border: 0;
	cursor: pointer; color: currentColor; padding: .5rem;
}
.nav__toggle span {
	display: block; width: 26px; height: 1.5px;
	background: currentColor; margin: 6px 0;
	transition: .3s;
}

@media (max-width: 960px) {
	.nav {
		position: fixed; inset: 68px 0 0 0;
		background: var(--espresso); color: var(--cream);
		padding: 2.5rem var(--pad);
		transform: translateY(-110%);
		transition: transform .55s var(--ease);
		border-top: 1px solid rgba(224,96,128,.15);
		z-index: 90;
	}
	.nav.is-open { transform: translateY(0); }
	.nav__list {
		flex-direction: column; gap: 1.6rem;
		font-size: 1.4rem; letter-spacing: 0;
		text-transform: none;
		font-family: var(--font-d);
		font-style: italic; font-weight: 400;
	}
	.nav__toggle { display: block; }
	.nav__cta { display: none; }
}

/* =========  HERO  ========= */
.site-main { display: block; }

.hero {
	position: relative;
	min-height: 100vh;
	background: var(--espresso);
	color: var(--cream);
	padding: 9rem 0 5rem;
	overflow: hidden;
	border-bottom: 1px solid var(--rule-d);
}
.hero__canvas {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	z-index: 0; opacity: .9;
}
.hero__inner {
	position: relative; z-index: 2;
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 4rem;
	align-items: start;
}
@media (max-width: 960px) {
	.hero__inner { grid-template-columns: 1fr; gap: 3rem; }
}

.hero__left { padding-top: 1rem; }
.hero__kicker {
	color: var(--gold);
	margin-bottom: 2rem;
	font-size: .78rem;
}
.hero__kicker::before { color: var(--gold); }

.hero__title {
	font-family: var(--font-d);
	line-height: .95;
	letter-spacing: -.035em;
	color: var(--cream);
	font-size: clamp(3rem, 8.5vw, 7.5rem);
	margin: 0 0 1.8rem;
	font-weight: 400;
}
.hero__line { display: block; overflow: visible; }
.hero__line--italic { font-style: italic; color: var(--gold); font-weight: 400; }
.hero__line--bold {
	font-weight: 700; font-style: normal;
	color: var(--cream); letter-spacing: -.04em;
}
.hero__line--italic-soft { font-style: italic; font-weight: 400; color: var(--cream); }
.hero__line--italic-soft em { font-style: italic; color: var(--gold); }
.hero__dot { color: var(--signal); }

.hero__sub {
	font-family: var(--font-b);
	font-size: 1.12rem; line-height: 1.65;
	color: rgba(251,247,242,.78);
	max-width: 52ch;
	margin: 0 0 2.4rem;
}
.hero__sub em { font-style: italic; color: var(--gold); }

.hero__cta { display: flex; gap: .9rem; flex-wrap: wrap; }

.btn {
	display: inline-flex; align-items: center; gap: .6rem;
	padding: 1rem 1.6rem;
	font-family: var(--font-b);
	font-size: .85rem; font-weight: 500;
	letter-spacing: .14em; text-transform: uppercase;
	border: 1px solid transparent;
	border-radius: 999px;
	cursor: pointer; line-height: 1;
	transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn--signal {
	background: var(--signal); color: var(--cream);
	box-shadow: 0 0 0 0 rgba(224,96,128,.35);
}
.btn--signal:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 40px -10px rgba(224,96,128,.5);
}
.btn--outline {
	background: transparent; color: currentColor;
	border-color: currentColor;
}
.btn--outline:hover {
	background: var(--cream); color: var(--espresso);
	border-color: var(--cream); transform: translateY(-2px);
}
.btn--lg { padding: 1.15rem 1.9rem; font-size: .9rem; }

/* HERO stats */
.hero__stats {
	display: flex; flex-direction: column;
	gap: 1rem;
}
.stat {
	padding: 1.4rem 1.6rem;
	border: 1px solid rgba(224,96,128,.22);
	border-radius: 18px;
	background: linear-gradient(160deg, rgba(224,96,128,.08), rgba(224,96,128,.02));
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 1rem;
	transition: transform .5s var(--ease), background .4s, border-color .4s;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.stat:hover {
	transform: translateY(-4px);
	background: linear-gradient(160deg, rgba(224,96,128,.18), rgba(224,96,128,.04));
	border-color: rgba(224,96,128,.45);
}
.stat__num {
	font-family: var(--font-d);
	font-size: clamp(2.5rem, 4.5vw, 3.6rem);
	line-height: 1; letter-spacing: -.03em;
	color: var(--gold); font-weight: 600;
}
.stat__num em { font-style: italic; color: var(--cream); font-weight: 400; }
.stat__label {
	font-family: var(--font-b);
	font-size: .78rem; letter-spacing: .18em;
	text-transform: uppercase;
	color: rgba(251,247,242,.72);
	text-align: right; max-width: 14ch; line-height: 1.3;
}

.hero__scroll {
	position: absolute; bottom: 2rem; right: var(--pad);
	z-index: 2;
	color: rgba(251,247,242,.7);
	font-family: var(--font-b);
	font-size: .72rem; letter-spacing: .3em;
	text-transform: uppercase;
	display: flex; flex-direction: column; align-items: center;
	gap: 1rem;
	cursor: pointer;
	transition: color .4s;
	text-decoration: none;
}
.hero__scroll:hover { color: var(--rose); }
.hero__scroll__label {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	animation: scrollFade 2.4s ease-in-out infinite;
}
@keyframes scrollFade {
	0%, 100% { opacity: .55; }
	50%      { opacity: 1;   }
}
.hero__scroll__line {
	position: relative; display: block;
	width: 1px; height: 70px;
	background: linear-gradient(to bottom, rgba(251,247,242,.1), rgba(251,247,242,.55));
	overflow: hidden;
}
.hero__scroll__dot {
	position: absolute; left: 50%; top: 0;
	width: 5px; height: 5px; border-radius: 50%;
	background: var(--rose);
	box-shadow: 0 0 10px rgba(224,96,128,.7);
	transform: translate(-50%, -50%);
	animation: scrollDot 2.4s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes scrollDot {
	0%   { top: 0;    opacity: 0; }
	15%  { opacity: 1; }
	85%  { opacity: 1; }
	100% { top: 100%; opacity: 0; }
}
.hero__scroll:hover .hero__scroll__dot {
	animation-duration: 1.4s;
	background: var(--teal);
	box-shadow: 0 0 12px rgba(92,189,176,.8);
}
.hero__scroll:hover .hero__scroll__line {
	background: linear-gradient(to bottom, rgba(251,247,242,.15), rgba(92,189,176,.65));
}
@media (prefers-reduced-motion: reduce) {
	.hero__scroll__label,
	.hero__scroll__dot { animation: none; }
}

/* =========  MARQUEE BRIDGE  ========= */
.marquee-bar {
	background: var(--cream-2); color: var(--espresso);
	border-top: 1px solid var(--rule-l);
	border-bottom: 1px solid var(--rule-l);
	overflow: hidden; padding: 1rem 0;
}
.marquee-bar__track {
	display: flex; gap: 3.5rem; white-space: nowrap;
	animation: marq 30s linear infinite;
	width: max-content;
	font-family: var(--font-d);
	font-style: italic; font-weight: 400;
	font-size: clamp(1rem, 1.6vw, 1.4rem);
	letter-spacing: .02em;
}
.marquee-bar__track span:nth-child(even) { color: var(--signal); }
@keyframes marq { to { transform: translateX(-50%); } }

/* =========  SECTIONS  ========= */
.section {
	padding: clamp(5rem, 10vw, 9rem) 0;
	position: relative;
}
.section--cream { background: var(--cream); }
.section--ivory { background: var(--cream-2); }

.section__head {
	margin-bottom: 5rem;
	max-width: 900px;
}
.section__kicker {
	margin-bottom: 1.6rem;
	color: var(--muted-d);
	font-size: .78rem;
}
.section__title {
	font-family: var(--font-d);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -.02em;
	color: var(--ink);
	font-size: clamp(2.6rem, 6vw, 5.4rem);
	max-width: 16ch;
	margin: 0;
}
.section__title em { font-style: italic; color: var(--ink); font-weight: 400; }
.section__title strong { font-weight: 700; font-style: normal; }
.section__title .signal { color: var(--signal); font-style: italic; font-weight: 400; }
.section__lead {
	margin-top: 1.6rem;
	font-size: 1.15rem; line-height: 1.65;
	color: var(--body);
	max-width: 58ch;
}

/* =========  CHI SONO  ========= */
.about {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: clamp(2rem, 6vw, 6rem);
	align-items: start;
	margin-top: 3rem;
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

.about__mark {
	aspect-ratio: 3 / 4;
	background: linear-gradient(160deg, var(--rose-soft) 0%, var(--cream-2) 48%, var(--teal-soft) 100%);
	border-radius: 24px;
	padding: 0;
	position: relative; overflow: hidden;
	box-shadow: 0 30px 70px -30px rgba(42,37,48,.25), 0 10px 24px -16px rgba(224,96,128,.15);
	transition: transform .7s var(--ease), box-shadow .7s var(--ease);
	isolation: isolate;
	-webkit-mask-image: radial-gradient(white, black); /* forces rounded-corner clipping on Safari */
}
.about__mark:hover {
	transform: translateY(-6px) rotate(-.4deg);
	box-shadow: 0 40px 90px -30px rgba(224,96,128,.35), 0 14px 30px -16px rgba(92,189,176,.25);
}
.about__mark__monogram {
	position: absolute; top: 52%; left: 50%;
	transform: translate(-50%, -52%);
	z-index: 0;
	font-family: var(--font-d);
	font-style: italic; font-weight: 400;
	font-size: clamp(10rem, 24vw, 15rem);
	line-height: .85;
	color: rgba(42,37,48,.06);
	letter-spacing: -.08em;
	pointer-events: none; user-select: none;
}
.about__mark__blob {
	position: absolute; inset: -25%;
	z-index: 0; pointer-events: none;
	background:
		radial-gradient(circle at 20% 28%, rgba(224,96,128,.32), transparent 55%),
		radial-gradient(circle at 80% 74%, rgba(92,189,176,.3), transparent 55%),
		radial-gradient(circle at 50% 48%, rgba(176,160,192,.22), transparent 60%);
	mix-blend-mode: multiply;
	animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(5%, 3%) scale(1.04); } }
.about__mark__img {
	position: absolute; bottom: 3%; left: 50%;
	transform: translateX(-50%);
	height: 88%; width: auto; max-width: 92%;
	object-fit: contain; object-position: bottom center;
	filter: drop-shadow(0 18px 26px rgba(42,37,48,.2)) drop-shadow(0 4px 6px rgba(42,37,48,.12));
	z-index: 1;
	transition: transform 1.2s var(--ease);
}
.about__mark:hover .about__mark__img { transform: translateX(-50%) translateY(-1.5%) scale(1.01); }
.about__mark__tag {
	position: absolute; top: 1.3rem; left: 1.3rem;
	z-index: 3;
	display: inline-flex; align-items: center; gap: .55rem;
	padding: .5rem .9rem;
	background: rgba(42,37,48,.9);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 999px;
	color: #fff;
	font-family: var(--font-b);
	font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
}
.about__mark__tag::before {
	content: "";
	width: 6px; height: 6px; border-radius: 999px;
	background: var(--rose);
	box-shadow: 0 0 0 3px rgba(224,96,128,.35);
}
.about__mark__text {
	position: absolute; top: 1.3rem; right: 1.3rem;
	z-index: 3; text-align: right;
}
.about__sign {
	font-family: var(--font-d);
	font-style: italic; font-weight: 400;
	font-size: 1.75rem; letter-spacing: -.02em;
	color: var(--rose-deep);
	margin: 0; line-height: 1;
}
.about__name {
	font-family: var(--font-d);
	font-weight: 600; font-size: 2rem; line-height: 1;
	letter-spacing: -.02em;
	color: var(--ink);
	margin: .18rem 0 0;
}
.about__role { display: none; }
@media (max-width: 900px) {
	.about__mark { max-width: 420px; margin: 0 auto; }
}

.about__body p {
	font-size: 1.12rem; line-height: 1.7;
	margin: 0 0 1.2rem;
	color: var(--body);
	max-width: 58ch;
}
.about__body p.lead {
	font-family: var(--font-d);
	font-style: italic;
	font-size: clamp(1.4rem, 1.8vw, 1.75rem);
	line-height: 1.4;
	color: var(--ink);
	margin-bottom: 1.8rem;
	font-weight: 400;
	max-width: 30ch;
}
.about__body strong { color: var(--ink); font-weight: 600; }

.about__pillars {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 1.2rem;
	margin-top: 2.2rem; padding-top: 2.2rem;
	border-top: 1px solid var(--rule-l);
}
@media (max-width: 560px) { .about__pillars { grid-template-columns: 1fr; } }
.pillar__k {
	font-family: var(--font-d);
	font-weight: 600; font-size: 2.2rem; line-height: 1;
	color: var(--rose); letter-spacing: -.02em;
}
.about__pillars > div:nth-child(2) .pillar__k { color: var(--teal-deep); }
.about__pillars > div:nth-child(3) .pillar__k { color: var(--lavender); }
.pillar__t {
	font-family: var(--font-d);
	font-style: italic; font-size: 1.1rem;
	color: var(--ink); margin-top: .4rem;
}

/* =========  SERVICES  ========= */
.services {
	display: grid; grid-template-columns: repeat(2, 1fr);
	gap: 0;
	border-top: 1px solid var(--rule-l);
	border-left: 1px solid var(--rule-l);
}
@media (max-width: 720px) { .services { grid-template-columns: 1fr; } }

.service {
	position: relative;
	padding: 3rem 2.6rem;
	min-height: 280px;
	border-right: 1px solid var(--rule-l);
	border-bottom: 1px solid var(--rule-l);
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 2rem; row-gap: .6rem;
	align-items: start;
	background: var(--cream);
	overflow: hidden; cursor: pointer;
	transition: color .4s, background .4s;
	color: var(--ink);
}
.service:nth-child(4n+2),
.service:nth-child(4n+3) { background: var(--cream-2); }
.service::before {
	content: "";
	position: absolute; inset: 0;
	background: var(--espresso);
	transform: translateY(101%);
	transition: transform .7s var(--ease);
	z-index: 0;
}
.service:hover::before { transform: translateY(0); }
.service:hover { color: var(--cream); }
.service:hover .service__icon-wrap {
	background: var(--gold); color: var(--espresso);
	transform: rotate(6deg) scale(1.05);
}
.service:hover .service__desc { color: rgba(251,247,242,.8); }
.service:hover .service__arrow { color: var(--gold); transform: translate(6px, -6px); }
.service > * { position: relative; z-index: 1; }

.service__icon-wrap {
	grid-row: 1 / 3;
	width: 62px; height: 62px;
	border-radius: 50%;
	background: var(--cream-2); color: var(--ink);
	display: grid; place-items: center;
	transition: background .45s, color .45s, transform .55s var(--ease);
}
.service:nth-child(4n+2) .service__icon-wrap,
.service:nth-child(4n+3) .service__icon-wrap { background: var(--cream); }
.service__icon-wrap svg { width: 26px; height: 26px; }

.service__title {
	font-family: var(--font-d);
	font-weight: 500; font-size: 1.7rem;
	line-height: 1.1; letter-spacing: -.02em;
	transition: color .4s; margin: 0;
}
.service__title em { font-style: italic; font-weight: 400; color: var(--signal); }
.service:hover .service__title em { color: var(--gold); }
.service__desc {
	font-size: .98rem; line-height: 1.6;
	color: var(--body);
	transition: color .4s;
	grid-column: 2;
	margin: 0;
}
.service__arrow {
	position: absolute;
	top: 2.4rem; right: 2.4rem;
	color: var(--muted-d);
	transition: color .4s, transform .45s var(--ease);
}

/* =========  METHOD  ========= */
.method {
	list-style: none;
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 0;
	border-top: 1px solid var(--rule-l);
	margin: 0; padding: 0;
}
@media (max-width: 960px) { .method { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .method { grid-template-columns: 1fr; } }

.method__step {
	padding: 3rem 2rem 3.5rem;
	border-right: 1px solid var(--rule-l);
	position: relative;
	display: flex; flex-direction: column; gap: 1rem;
	min-height: 280px;
	transition: background .5s var(--ease);
}
.method__step:last-child { border-right: 0; }
.method__step:hover { background: var(--cream-2); }
.method__num {
	font-family: var(--font-d);
	font-style: italic; font-size: 1.1rem;
	color: var(--rose); font-weight: 500;
}
.method__step:nth-child(2) .method__num { color: var(--teal-deep); }
.method__step:nth-child(3) .method__num { color: var(--lavender); }
.method__step:nth-child(4) .method__num { color: var(--rose-deep); }
.method__title {
	font-family: var(--font-d);
	font-weight: 500; font-size: 2rem; line-height: 1;
	letter-spacing: -.02em;
	color: var(--ink); margin: 0;
}
.method__desc {
	color: var(--body);
	font-size: 1rem; line-height: 1.6;
	margin: 0;
}
.method__bar {
	position: absolute; left: 0; bottom: 0;
	height: 2px; width: 0;
	background: var(--rose);
	transition: width 1.5s var(--ease);
}
.method__step:nth-child(2) .method__bar { background: var(--teal-deep); }
.method__step:nth-child(3) .method__bar { background: var(--lavender); }
.method__step:nth-child(4) .method__bar { background: var(--rose-deep); }
.method__step.is-visible .method__bar { width: 100%; }

/* =========  TESTIMONIAL  ========= */
.testimonial-section {
	background: var(--espresso);
	color: var(--cream);
	padding: clamp(6rem, 12vw, 10rem) 0;
	position: relative; overflow: hidden;
	border-top: 1px solid var(--rule-d);
	border-bottom: 1px solid var(--rule-d);
}
.testimonial-section::before {
	content: "";
	position: absolute; inset: 0;
	background:
		radial-gradient(50% 70% at 30% 25%, rgba(224,96,128,.14), transparent 65%),
		radial-gradient(50% 70% at 72% 75%, rgba(92,189,176,.12), transparent 65%);
	pointer-events: none;
}
.testimonial {
	max-width: 920px;
	margin: 0 auto;
	text-align: center;
	position: relative; z-index: 1;
}
.testimonial__quote-mark {
	font-family: var(--font-d);
	font-style: italic;
	font-size: clamp(4rem, 10vw, 7rem);
	color: var(--gold);
	line-height: .6;
	margin: 0 0 1.8rem;
	display: inline-block;
}
.testimonial__text {
	font-family: var(--font-d);
	font-weight: 400; font-style: italic;
	font-size: clamp(1.6rem, 3vw, 2.6rem);
	line-height: 1.35;
	letter-spacing: -.015em;
	color: #fff;
	margin: 0 0 3rem;
	transition: opacity .6s;
}
.testimonial__text strong {
	font-style: normal; font-weight: 600;
	color: var(--rose-soft);
	text-shadow: 0 0 24px rgba(245,196,209,.25);
}
.testimonial__meta {
	font-family: var(--font-b);
	font-size: .8rem; letter-spacing: .25em;
	text-transform: uppercase;
	color: var(--muted-l);
	margin: 0;
	transition: opacity .6s;
}
.testimonial__meta span:nth-child(2) { color: var(--signal); margin: 0 .8rem; }
.testimonial__nav {
	display: flex; gap: .5rem;
	justify-content: center;
	margin-top: 2.5rem;
}
.testimonial__dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: rgba(224,96,128,.3);
	cursor: pointer; border: 0; padding: 0;
	transition: background .3s, transform .3s, width .4s var(--ease);
}
.testimonial__dot.is-active {
	background: var(--teal);
	width: 32px; border-radius: 4px;
}

/* =========  CONTACT  ========= */
.section--contact { background: var(--cream); }
.contact__grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1.3fr;
	gap: 0;
	border-top: 1px solid var(--rule-l);
	margin-top: 3.5rem;
}
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.contact__card {
	padding: 2.8rem 2rem;
	border-right: 1px solid var(--rule-l);
	border-bottom: 1px solid var(--rule-l);
	display: flex; flex-direction: column; gap: 1rem;
}
.contact__card:last-child { border-right: 0; }
.contact__link {
	font-family: var(--font-d);
	font-weight: 500;
	font-size: clamp(1.5rem, 2.3vw, 2rem);
	letter-spacing: -.02em;
	line-height: 1.1;
	color: var(--ink);
	transition: color .25s;
}
.contact__link:hover { color: var(--signal); }
.contact__hint {
	color: var(--muted-d);
	font-size: .95rem; line-height: 1.5;
	margin: 0;
}
.contact__card--cta {
	background: var(--espresso); color: var(--cream);
	justify-content: space-between;
}
.contact__card--cta .mono-label { color: var(--gold); }
.contact__card--cta .mono-label::before { color: var(--gold); }

/* =========  FOOTER  ========= */
.site-footer {
	background: var(--espresso);
	color: var(--cream);
	padding: clamp(4rem, 8vw, 6rem) 0 2rem;
	border-top: 1px solid var(--rule-d);
}
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.8fr 1fr 1fr;
	gap: 3rem;
	margin-bottom: 4rem;
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__brand {
	font-family: var(--font-d);
	font-weight: 600;
	font-size: 2.2rem;
	letter-spacing: -.025em;
	margin: 0 0 1.2rem;
	display: inline-block;
}
.site-footer__brand em { font-style: italic; font-weight: 400; color: var(--gold); }
.site-footer__brand--logo { line-height: 0; }
.site-footer__brand--logo img {
	max-height: 80px; width: auto; height: auto;
	display: block;
	transition: opacity .25s;
}
.site-footer__brand--logo:hover img { opacity: .85; }
.site-footer__lead {
	color: rgba(251,247,242,.72);
	max-width: 44ch;
	line-height: 1.6;
	margin: 0;
}
.site-footer__link {
	display: block;
	font-family: var(--font-d);
	font-size: 1.3rem;
	margin-top: .7rem;
	color: var(--cream);
	transition: color .25s;
}
.site-footer__link:hover { color: var(--gold); }

.site-footer__nav {
	list-style: none;
	margin-top: .7rem;
	padding: 0;
}
.site-footer__nav li { padding: .3rem 0; }
.site-footer__nav a {
	color: var(--cream);
	transition: color .25s;
	font-family: var(--font-b);
	font-size: .95rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	font-weight: 500;
}
.site-footer__nav a:hover { color: var(--gold); }

.footer-marquee {
	overflow: hidden;
	padding: 3rem 0;
	border-top: 1px solid var(--rule-d);
	border-bottom: 1px solid var(--rule-d);
	font-family: var(--font-d);
	font-size: clamp(2rem, 7vw, 5.5rem);
	font-weight: 400;
	line-height: 1;
	color: var(--cream);
}
.footer-marquee__track {
	display: flex; gap: 3rem;
	white-space: nowrap;
	animation: marq 34s linear infinite;
	width: max-content;
}
.footer-marquee__track span:nth-child(odd)  { font-style: italic; color: var(--rose); }
.footer-marquee__track span:nth-child(even) { color: var(--teal); }

.site-footer__bottom {
	display: flex; justify-content: space-between;
	padding-top: 2rem;
	color: var(--muted-l);
	font-family: var(--font-b);
	font-size: .78rem;
	letter-spacing: .08em;
	flex-wrap: wrap;
	gap: 1rem;
}
.site-footer__bottom a {
	color: var(--cream);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.site-footer__bottom em { font-style: italic; color: var(--gold); }

/* =========  PAGE / 404 / SEARCH  ========= */
.page-hero {
	background: var(--espresso);
	color: var(--cream);
	padding: 10rem 0 6rem;
	border-bottom: 1px solid var(--rule-d);
}
.page-hero__kicker {
	color: var(--gold);
	margin-bottom: 1.2rem;
}
.page-hero__kicker::before { color: var(--gold); }
.page-hero__title {
	font-family: var(--font-d);
	font-weight: 400;
	font-size: clamp(2.6rem, 7vw, 5.4rem);
	line-height: 1;
	letter-spacing: -.02em;
	color: var(--cream);
	margin: 0;
}
.page-hero__title em { font-style: italic; color: var(--gold); font-weight: 400; }

.page-body {
	padding: clamp(4rem, 8vw, 7rem) 0;
	background: var(--cream);
}
.page-body .entry-content {
	max-width: 72ch;
	margin: 0 auto;
	font-size: 1.1rem;
	line-height: 1.75;
}
.page-body .entry-content > * + * { margin-top: 1.1rem; }
.page-body h1, .page-body h2, .page-body h3 {
	font-family: var(--font-d);
	font-weight: 500;
	color: var(--ink);
	letter-spacing: -.02em;
}
.page-body h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-top: 2.4rem; }
.page-body h3 { font-size: 1.4rem; margin-top: 1.8rem; }
.page-body a {
	color: var(--signal);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.search-form {
	display: inline-flex; gap: .5rem; align-items: stretch;
	max-width: 520px;
}
.search-form label {
	flex: 1; display: block;
}
.search-form .search-field {
	width: 100%;
	padding: .9rem 1.1rem;
	border: 1px solid var(--rule-l);
	border-radius: 999px;
	background: var(--ivory);
	font-family: var(--font-b);
	font-size: 1rem;
	color: var(--ink);
}
.search-form .search-field:focus {
	outline: 2px solid var(--signal);
	outline-offset: 2px;
}
.search-submit {
	padding: .9rem 1.4rem;
	background: var(--signal);
	color: var(--cream);
	border: 0; border-radius: 999px;
	cursor: pointer;
	font-family: var(--font-b);
	font-size: .8rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 500;
	transition: background .3s, transform .3s var(--ease);
}
.search-submit:hover { background: var(--ember); transform: translateY(-2px); }

.error-404 .btn { margin-top: 2rem; }

/* =========  REVEAL  ========= */
[data-reveal] {
	opacity: 0;
	transform: translateY(36px);
	transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

/* =========  A11Y  ========= */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav__cta:focus-visible {
	outline: 2px solid var(--signal);
	outline-offset: 4px;
	border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
	[data-reveal] { opacity: 1 !important; transform: none !important; }
	.curtain { display: none !important; }
	.marquee-bar__track,
	.footer-marquee__track { animation: none !important; }
	html { scroll-behavior: auto; }
}
