/* INAR theme. Tokens follow the INAR brand guidelines. */
:root {
	--navy: #152F68;
	--navy-950: #0B1A3D;
	--ink: #0E1F47;
	--cloud: #E9ECF3;
	--sand: #F7F3EF;
	--white: #FFFFFF;
	--ember: #E4675F;
	--coral: #EB806E;
	--peach: #F2B696;
	--clay: #C98A7C;
	--accent-on-light: #B04A40;
	--accent-on-navy: #F2B696;
	--flame: linear-gradient(160deg, var(--ember) 0%, var(--coral) 50%, var(--peach) 100%);
	--text: #0E1F47;
	--muted: #4A5878;
	--muted-light: #B9C2D8;
	--line: rgba(14, 31, 71, 0.12);
	--line-light: rgba(233, 236, 243, 0.16);

	--font-display: "Montserrat", "Lexend", system-ui, sans-serif;
	--font-text: "Lexend", system-ui, sans-serif;
	--font-ar: "Alexandria", "Lexend", sans-serif;

	--r-sm: 6px;
	--r-md: 14px;
	--r-lg: 28px;
	--r-pill: 999px;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(72px, 10vw, 136px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset (zero specificity so components always win) ---------- */
:where(*, *::before, *::after) { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
:where(body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol) { margin: 0; }
:where(ul.plain, ol.plain) { list-style: none; padding: 0; }
:where(img, svg, video) { display: block; max-width: 100%; height: auto; }
:where(input, button, textarea, select) { font: inherit; color: inherit; }
:where(a) { color: inherit; }

body {
	background: var(--white);
	color: var(--text);
	font-family: var(--font-text);
	font-weight: 300;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
[lang="ar"] { font-family: var(--font-ar); font-size: 1.12em; }
::selection { background: var(--peach); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; border-radius: var(--r-sm); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--peach); color: var(--navy-950); padding: 8px 16px; border-radius: var(--r-sm); font-weight: 500; }
.skip:focus { top: 16px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Type ---------- */
.eyebrow {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--accent-on-navy);
	margin-bottom: 20px;
}
.eyebrow--dark { color: var(--accent-on-light); }
.h2, .h3 {
	font-family: var(--font-display);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	line-height: 1.08;
}
.h2 { font-size: clamp(30px, 4.4vw, 52px); margin-bottom: 24px; }
.h3 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 32px; }
.glow { position: relative; white-space: nowrap; }
.glow::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: .02em;
	height: .12em;
	border-radius: var(--r-pill);
	background: var(--flame);
	box-shadow: 0 0 24px rgba(235, 128, 110, .6);
}

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px;
	border-radius: var(--r-pill);
	border: 1.5px solid transparent;
	font-family: var(--font-display); font-weight: 600; font-size: 14px;
	letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
	cursor: pointer;
	transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--flame { background: var(--flame); color: var(--navy-950); }
.btn--flame:hover { filter: saturate(1.1) brightness(1.03); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--ink); }
.btn--ghost-light { border-color: var(--line-light); color: var(--cloud); background: transparent; }
.btn--ghost-light:hover { border-color: var(--cloud); }
.btn--block { width: 100%; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-display); font-weight: 600; font-size: 13px;
	letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
	color: var(--cloud);
}
.link-arrow--dark { color: var(--navy); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(21, 47, 104, .92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: var(--cloud);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-light); background: rgba(14, 31, 71, .95); }
.admin-bar .site-header { top: 32px; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand { gap: 10px; }
.brand__mark { width: auto; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__word { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: .32em; margin-right: -.32em; color: var(--cloud); }
.brand__sub { margin-top: 5px; font-family: var(--font-text); font-weight: 400; font-size: 11.5px; letter-spacing: .02em; color: var(--peach); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
	position: relative; text-decoration: none;
	font-family: var(--font-display); font-weight: 600; font-size: 13px;
	letter-spacing: .12em; text-transform: uppercase; color: var(--cloud);
	padding: 8px 0;
}
.nav__list a::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
	background: var(--flame); border-radius: 2px;
	transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__list a:hover::after, .nav__list a:focus-visible::after, .nav__list a.is-current::after { transform: scaleX(1); }
.nav__list a.is-current { color: var(--white); }
.nav__cta { min-height: 44px; padding: 0 22px; font-size: 12px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--cloud); padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }

@media (max-width: 1100px) {
	.nav-toggle { display: block; }
	.nav {
		position: fixed; inset: 80px 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 24px;
		padding: 32px var(--gutter) 40px;
		background: var(--ink);
		border-top: 1px solid var(--line-light);
		transform: translateY(-12px); opacity: 0; visibility: hidden;
		transition: opacity .25s, transform .25s var(--ease), visibility .25s;
	}
	.admin-bar .nav { top: 126px; }
	.nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.nav__list { flex-direction: column; gap: 4px; }
	.nav__list a { display: block; font-size: 16px; padding: 12px 0; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ---------- Flame arc (brand edge motif) ---------- */
.arc {
	position: absolute; pointer-events: none; border-radius: 50%;
	border: 2px solid transparent;
	background: var(--flame) border-box;
	-webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
	opacity: .9;
}
.arc--hero { width: 920px; height: 920px; right: -460px; bottom: -560px; }
.arc--services { width: 640px; height: 640px; left: -420px; top: -300px; opacity: .45; }
.arc--page { width: 560px; height: 560px; right: -300px; top: -380px; opacity: .6; }
.arc--footer { width: 700px; height: 700px; right: -380px; top: -520px; opacity: .35; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	background: var(--navy); color: var(--cloud);
	min-height: min(88vh, 860px);
	display: flex; align-items: center;
	padding: 80px 0 120px;
}
.hero--short { min-height: 70vh; }
.hero__in { position: relative; z-index: 2; }
.hero__title {
	font-family: var(--font-display); font-weight: 800;
	font-size: clamp(46px, 8vw, 112px);
	line-height: .95; letter-spacing: .02em; text-transform: uppercase;
	color: var(--white);
	max-width: 11ch;
	margin-bottom: 32px;
}
.hero__lede { max-width: 520px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted-light); margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__mark { position: absolute; z-index: 1; right: max(var(--gutter), calc(50vw - 600px)); top: 9%; width: clamp(200px, 21vw, 300px); aspect-ratio: 1; }
.hero__orb {
	position: absolute; inset: 22%;
	border-radius: 50%;
	background: radial-gradient(circle at 34% 28%, var(--peach) 0%, var(--coral) 42%, var(--ember) 100%);
	box-shadow: 0 0 120px 30px rgba(228, 103, 95, .35);
	animation: breathe 7s ease-in-out infinite;
}
.hero__ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-light); }
.hero__ring--1 { inset: 8%; }
.hero__ring--2 { inset: -10%; border-style: dashed; animation: spin 60s linear infinite; }
@keyframes breathe { 50% { transform: scale(1.06); box-shadow: 0 0 160px 50px rgba(228, 103, 95, .42); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
	.hero { padding: 64px 0 96px; }
	.hero__mark { top: -40px; right: -90px; transform: none; width: 200px; opacity: .45; }
	.arc--hero { width: 520px; height: 520px; right: -300px; bottom: -400px; opacity: .6; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section) 0; overflow: hidden; }
.section--sand { background: var(--sand); }
.section--cloud { background: var(--cloud); }
.section--navy { background: var(--navy); color: var(--cloud); }
.section--navy .h2 { color: var(--white); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 56px; }
.section-head .h2 { margin-bottom: 0; }
.section-head__note { max-width: 360px; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.about__text p:not(.eyebrow) { color: var(--muted); margin-bottom: 16px; max-width: 560px; }
.stats { display: grid; gap: 0; border-top: 1px solid var(--line); }
.stat { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.stat__num { order: -1; font-family: var(--font-display); font-weight: 800; font-size: clamp(52px, 7vw, 88px); line-height: 1; color: var(--navy); letter-spacing: -.01em; }
.stat:first-child .stat__num { color: var(--accent-on-light); }
.stat__label { max-width: 180px; text-align: right; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--cloud); }
.work-card--wide { grid-column: span 2; grid-row: span 2; }
.work-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.work-card--wide .work-card__media { aspect-ratio: auto; flex: 1; min-height: 360px; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover .work-card__media img, .work-card:hover .art { transform: scale(1.04); }
.work-card__body { padding: 24px 28px 28px; }
.work-card__tag { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-on-light); margin-bottom: 8px; }
.work-card__title { font-family: var(--font-display); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); margin-bottom: 8px; }
.work-card__text { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .work-grid { grid-template-columns: 1fr 1fr; } .work-card--wide { grid-column: span 2; grid-row: auto; } .work-card--wide .work-card__media { min-height: 280px; } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } .work-card--wide { grid-column: auto; } }

/* Placeholder art (on-palette, swapped for real images later) */
.art { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 24px; transition: transform .6s var(--ease); }
.art__ring { position: absolute; width: 70%; aspect-ratio: 1; right: -18%; top: -22%; border-radius: 50%; border: 1px solid currentColor; opacity: .35; }
.art__ring::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: currentColor; opacity: .5; }
.art__label { position: relative; font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.art--navy { background: var(--navy); color: var(--peach); }
.art--ink { background: linear-gradient(200deg, var(--ink), var(--navy)); color: var(--cloud); }
.art--sand { background: var(--sand); color: var(--clay); }
.art--flame { background: var(--flame); color: var(--navy-950); }
.art--cloud { background: var(--cloud); color: var(--navy); }

/* Services (home) */
.svc-list { border-top: 1px solid var(--line-light); }
.svc {
	display: grid; grid-template-columns: 64px 56px 1fr 48px; align-items: center; gap: 24px;
	padding: 36px 0; border-bottom: 1px solid var(--line-light);
	text-decoration: none; color: var(--cloud);
	transition: padding .35s var(--ease);
}
.svc:hover { padding-left: 16px; }
.svc__num { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .1em; color: var(--muted-light); }
.svc__icon, .svc-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-md); border: 1px solid var(--line-light); color: var(--peach); }
.svc__icon .icon, .svc-card__icon .icon { width: 26px; height: 26px; }
.svc__icon--flame { background: var(--flame); border-color: transparent; color: var(--navy-950); }
.svc__body { display: grid; gap: 6px; }
.svc__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.6vw, 30px); text-transform: uppercase; letter-spacing: .04em; color: var(--white); }
.svc__text { color: var(--muted-light); max-width: 640px; }
.svc__go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light); transition: background-color .3s, color .3s, border-color .3s; }
.svc:hover .svc__go { background: var(--cloud); color: var(--navy); border-color: var(--cloud); }
@media (max-width: 700px) {
	.svc { grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
	.svc__num, .svc__go { display: none; }
	.svc__icon { width: 48px; height: 48px; }
}

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact__intro p:not(.eyebrow) { color: var(--muted); margin-bottom: 32px; max-width: 440px; }
.contact__list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact__list .icon { color: var(--accent-on-light); }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.form { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; font-size: 14px; font-weight: 400; color: var(--navy); }
.field em { font-style: normal; color: var(--muted); font-weight: 300; }
.field input, .field textarea, .subscribe input {
	width: 100%; padding: 14px 16px;
	border: 1px solid var(--line); border-radius: var(--r-md);
	background: var(--sand); color: var(--text);
	transition: border-color .2s, background-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); }
.field textarea { resize: vertical; min-height: 140px; }
.form .btn { justify-self: start; }
.notice { padding: 14px 18px; border-radius: var(--r-md); font-size: 15px; }
.notice--ok { background: #E7F3EC; color: #1F5C3A; }
.notice--err { background: #FBE9E7; color: var(--accent-on-light); }
@media (max-width: 860px) { .contact, .form__row { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--cloud); padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 7vw, 88px); }
.page-hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 7vw, 88px); line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.page-hero__title--post { font-size: clamp(32px, 5vw, 56px); line-height: 1.08; text-transform: none; letter-spacing: 0; }
.page-hero__lede { max-width: 620px; color: var(--muted-light); font-size: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted-light); margin-bottom: 28px; }
.crumbs a { text-decoration: none; color: var(--accent-on-navy); }
.crumbs a:hover { text-decoration: underline; }
.post-meta { color: var(--muted-light); font-size: 15px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--r-lg); background: var(--sand); transition: transform .3s var(--ease), background-color .3s; }
.svc-card:hover { transform: translateY(-4px); background: var(--cloud); }
.svc-card .svc-card__icon { border-color: var(--line); color: var(--navy); margin-bottom: 8px; }
.svc-card .svc__icon--flame { color: var(--navy-950); border-color: transparent; }
.svc-card__title { font-family: var(--font-display); font-weight: 800; font-size: 21px; line-height: 1.2; text-transform: uppercase; letter-spacing: .03em; color: var(--navy); }
.svc-card__title a { text-decoration: none; }
.svc-card__tagline { color: var(--muted); flex: 1; }
.svc-card__price { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--navy); padding-top: 14px; border-top: 1px solid var(--line); }
.svc-card__price span { font-family: var(--font-text); font-weight: 300; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }
.center-cta { margin-top: 64px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; color: var(--muted); }

.svc-detail { display: grid; grid-template-columns: 1fr 340px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.svc-detail__aside { position: sticky; top: 112px; }
.price-box { background: var(--navy); color: var(--cloud); border-radius: var(--r-lg); padding: 32px; }
.price-box__label { font-size: 14px; color: var(--muted-light); }
.price-box__num { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--white); margin: 4px 0 12px; }
.price-box__note { font-size: 14px; color: var(--muted-light); margin-bottom: 24px; }
@media (max-width: 900px) { .svc-detail { grid-template-columns: 1fr; } .svc-detail__aside { position: static; } }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-radius: var(--r-md); background: var(--white); text-decoration: none; color: var(--navy); font-weight: 400; transition: transform .25s var(--ease); }
.mini:hover { transform: translateY(-3px); }
.mini span { flex: 1; }
.mini__go { color: var(--accent-on-light); }
@media (max-width: 760px) { .mini-grid { grid-template-columns: 1fr; } }

/* Prose */
.prose { font-size: 18px; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.2; color: var(--navy); margin-top: 1.8em; }
.prose h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--navy); margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent-on-light); }
.prose strong { font-weight: 500; color: var(--navy); }
.prose a { color: var(--accent-on-light); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--coral); font-size: 21px; color: var(--navy); }
.post-cover { margin-bottom: 48px; border-radius: var(--r-lg); overflow: hidden; }
.post-end { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }

/* Blog */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.chip { padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--line); text-decoration: none; font-size: 14px; color: var(--navy); transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.post-card { display: flex; flex-direction: column; gap: 20px; }
.post-card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.post-card__media { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; background: var(--cloud); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img, .post-card:hover .art { transform: scale(1.04); }
.post-card__meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.post-card__title { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.25; color: var(--navy); margin-bottom: 10px; }
.post-card--lead .post-card__title { font-size: clamp(26px, 3vw, 36px); }
.post-card__title a { text-decoration: none; background-image: linear-gradient(var(--coral), var(--coral)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease); }
.post-card__title a:hover { background-size: 100% 2px; }
.post-card__excerpt { color: var(--muted); font-size: 16px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } .post-card--lead { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.pager { margin-top: 56px; }
.pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pager .page-numbers { padding: 10px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); text-decoration: none; color: var(--navy); }
.pager .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: var(--muted-light); padding: clamp(72px, 9vw, 112px) 0 32px; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); margin-bottom: 56px; }
.footer-cta__kicker { font-size: 18px; color: var(--cloud); }
.footer-cta__link { display: inline-flex; align-items: center; gap: 16px; font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 7vw, 88px); line-height: 1; text-transform: uppercase; letter-spacing: .02em; color: var(--white); text-decoration: none; }
.footer-cta__link .icon { width: .7em; height: .7em; color: var(--peach); transition: transform .35s var(--ease); }
.footer-cta__link:hover .icon { transform: translateX(10px); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 40px; }
.footer-col__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--cloud); margin-bottom: 18px; }
.footer-col__title .icon { color: var(--peach); width: 18px; height: 18px; }
.footer-col li + li { margin-top: 6px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.subscribe { display: flex; gap: 10px; }
.subscribe input { background: rgba(233, 236, 243, .06); border-color: var(--line-light); color: var(--white); min-width: 0; }
.subscribe input::placeholder { color: var(--muted-light); }
.subscribe .btn { min-height: 48px; padding: 0 20px; font-size: 12px; flex: none; }
.site-footer .notice { margin-top: 12px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 14px; }
.footer-base__ar { color: var(--peach); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .subscribe { flex-direction: column; } }

/* ---------- Reveal (visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Gift items (WooCommerce, catalog mode) ---------- */
@media (min-width: 1101px) and (max-width: 1440px) {
	.nav { gap: 20px; }
	.nav__list { gap: 18px; }
	.nav__list a { letter-spacing: .08em; font-size: 12px; }
	.nav__cta { padding: 0 16px; }
}
.crumbs--dark { color: var(--muted); }
.crumbs--dark a { color: var(--accent-on-light); }

.gift-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gift-steps li { display: flex; align-items: baseline; gap: 16px; padding: 24px 24px 24px 0; }
.gift-steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.gift-steps__num { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1; color: var(--accent-on-light); }
.gift-steps strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.gift-steps__text { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
	.gift-steps { grid-template-columns: 1fr; }
	.gift-steps li { padding: 18px 0; }
	.gift-steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
@media (max-width: 1100px) { .gift-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .gift-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }
.gift-card { position: relative; display: flex; flex-direction: column; gap: 16px; }
.gift-card__media { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.gift-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gift-card:hover .gift-card__media img, .gift-card:hover .art { transform: scale(1.04); }
.gift-card__cat { margin-bottom: 6px; font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-on-light); }
.gift-card__title { margin-bottom: 6px; font-family: var(--font-display); font-weight: 800; font-size: 17px; line-height: 1.3; color: var(--navy); }
.gift-card__title a { text-decoration: none; }
.gift-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-lg); }
.gift-card__title a:focus-visible { outline: none; }
.gift-card__title a:focus-visible::after { outline: 2px solid var(--coral); outline-offset: 4px; }
.gift-card__meta { font-size: 14px; color: var(--muted); }
.gift-card__meta strong { font-weight: 500; color: var(--navy); }
.gift-card__wa { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--navy); transition: background-color .25s, color .25s; }
.gift-card__wa:hover { background: var(--navy); color: var(--white); }
.gift-card__wa .icon { width: 20px; height: 20px; }

.gift-empty { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 48px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); background: var(--sand); }
.gift-empty h2 { margin-bottom: 8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.4vw, 26px); text-transform: uppercase; letter-spacing: .03em; color: var(--navy); }
.gift-empty p { max-width: 560px; color: var(--muted); }
@media (max-width: 760px) { .gift-empty { grid-template-columns: 1fr; } .gift-empty .btn { justify-self: start; } }

.gift-brief { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.gift-brief p:not(.eyebrow) { max-width: 520px; color: var(--muted-light); }

.gift-page { padding-top: clamp(28px, 4vw, 48px); }
.gift-detail { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: clamp(32px, 6vw, 88px); }
@media (max-width: 900px) { .gift-detail { grid-template-columns: 1fr; } }
.gift-gallery__main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.gift-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gift-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.gift-gallery__thumbs button { width: 76px; height: 76px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: var(--r-md); background: var(--sand); cursor: pointer; }
.gift-gallery__thumbs button.is-active { border-color: var(--navy); }
.gift-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gift-info { position: sticky; top: 112px; }
@media (max-width: 900px) { .gift-info { position: static; } }
.gift-info__title { margin-bottom: 16px; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: .02em; text-transform: uppercase; color: var(--navy); }
.gift-info__price { margin-bottom: 20px; font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--navy); }
.gift-info__price span { display: block; margin-top: 2px; font-family: var(--font-text); font-weight: 300; font-size: 15px; color: var(--muted); }
.gift-info__lede { margin-bottom: 28px; color: var(--muted); }
.gift-info__lede p + p { margin-top: .8em; }
.gift-specs { display: grid; margin-bottom: 28px; border-top: 1px solid var(--line); }
.gift-specs div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.gift-specs dt { color: var(--muted); }
.gift-specs dd { text-align: right; font-weight: 400; color: var(--navy); }
.gift-order { display: grid; gap: 12px; }
.gift-order__label { font-size: 14px; font-weight: 400; color: var(--navy); }
.gift-order__row { display: flex; flex-wrap: wrap; gap: 12px; }
.gift-order__btn { flex: 1; min-width: 220px; }
.gift-order__btn .icon { width: 20px; height: 20px; }
.gift-order__note { font-size: 14px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; min-height: 52px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--sand); }
.qty button { width: 48px; height: 50px; border: 0; background: none; font-size: 20px; color: var(--navy); cursor: pointer; }
.qty button:hover { color: var(--accent-on-light); }
.qty input { width: 72px; border: 0; background: none; text-align: center; font-weight: 500; color: var(--navy); -moz-appearance: textfield; appearance: textfield; }
.qty input:focus { outline: none; }
.qty:focus-within { border-color: var(--navy); }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gift-about .h3 { margin-bottom: 20px; }
.nav__list a, .nav__cta, .brand__sub, .brand__word { white-space: nowrap; }
.gift-card__cat { display: flex; justify-content: space-between; gap: 12px; }
.gift-card__sku { color: var(--muted); letter-spacing: .1em; }
.gift-specs__sku { font-family: var(--font-display); font-weight: 600; letter-spacing: .06em; }
.gift-card__sku { white-space: nowrap; }

/* Gift grid v2: equal boxes, no overflow. Mobile 1 col, tablet 2, desktop 3. */
.gift-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
@media (max-width: 1100px) { .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; } }
@media (max-width: 620px) { .gift-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.gift-card { min-width: 0; height: 100%; }
.gift-card__media { width: 100%; aspect-ratio: 1; flex: none; }
.gift-card__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.gift-card__cat { min-width: 0; align-items: baseline; }
.gift-card__cat > :first-child, .gift-card__catname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gift-card__sku { flex: none; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.gift-card__title { font-size: 19px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.3em); }
.gift-card__meta { margin-top: auto; font-size: 15px; }
.gift-card__wa { width: 48px; height: 48px; top: 16px; right: 16px; }
.gift-steps li > span:last-child { min-width: 0; }.price-box__unit { display: block; margin-top: 4px; font-family: var(--font-text); font-weight: 300; font-size: 15px; color: var(--muted-light); }

/* All service icons: flame gradient background (client request 2026-10-12) */
.svc-card .svc-card__icon, .svc__icon { background: var(--flame); border-color: transparent; color: var(--navy-950); }

/* Gift category dropdown */
.gift-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 40px; }
.gift-filter { display: flex; align-items: center; gap: 14px; }
.gift-filter label { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.gift-filter__box { position: relative; }
.gift-filter select { -webkit-appearance: none; appearance: none; min-width: 300px; padding: 14px 52px 14px 22px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--sand); font-family: var(--font-text); font-weight: 400; font-size: 15px; color: var(--navy); cursor: pointer; transition: border-color .2s, background-color .2s; }
.gift-filter select:hover { border-color: var(--navy); }
.gift-filter select:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.gift-filter__chev { position: absolute; right: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--navy); pointer-events: none; }
.gift-count { font-size: 14px; color: var(--muted); }
@media (max-width: 620px) { .gift-filter { flex-direction: column; align-items: stretch; width: 100%; gap: 8px; } .gift-filter select { width: 100%; min-width: 0; } }
/* Transparent product cut-outs on the Sand card */
.gift-card__media img { object-fit: contain; padding: 11%; filter: drop-shadow(0 18px 22px rgba(14, 31, 71, .14)); }
.gift-card:hover .gift-card__media img { transform: scale(1.05); }
.gift-gallery__main img { object-fit: contain; padding: 9%; filter: drop-shadow(0 26px 30px rgba(14, 31, 71, .16)); }
.gift-gallery__thumbs img { object-fit: contain; padding: 6px; }

/* Card photo slider */
.gift-card__media img { position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--ease), transform .6s var(--ease); }
.gift-card__media img.is-active { opacity: 1; }
.gift-card__nav { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 38px; height: 38px; margin-top: -19px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--navy); box-shadow: 0 6px 16px rgba(14, 31, 71, .14); cursor: pointer; opacity: 0; transition: opacity .25s, background-color .2s, color .2s; }
.gift-card__nav .icon { width: 20px; height: 20px; }
.gift-card__nav--prev { left: 12px; }
.gift-card__nav--prev .icon { transform: rotate(90deg); }
.gift-card__nav--next { right: 12px; }
.gift-card__nav--next .icon { transform: rotate(-90deg); }
.gift-card:hover .gift-card__nav, .gift-card__nav:focus-visible { opacity: 1; }
.gift-card__nav:hover { background: var(--navy); color: var(--white); }
@media (hover: none) { .gift-card__nav { opacity: 1; } }
.gift-card__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gift-card__dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(14, 31, 71, .22); transition: width .25s var(--ease), background-color .25s; }
.gift-card__dots span.is-active { width: 18px; background: var(--navy); }
/* ---------- Client logos marquee (home) ---------- */
.clients-band {
	position: relative;
	padding-block: clamp(40px, 5vw, 64px) !important;
	background: var(--navy);
	color: var(--cloud);
	padding: clamp(28px, 4vw, 44px) 0;
	overflow: hidden;
}
.clients-band::before {
	content: "";
	position: absolute; inset: 0 0 auto 0; height: 3px;
	background: linear-gradient(90deg, var(--ember), var(--coral), var(--peach));
}
.clients-band__title {
	text-align: center;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--accent-on-navy);
	margin-bottom: clamp(18px, 2.5vw, 28px);
}
.marquee {
	display: flex;
	width: max-content;
	direction: ltr;
	--gap: clamp(36px, 4.5vw, 64px);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-band .marquee { width: 100%; }
.marquee__group {
	display: flex;
	align-items: center;
	gap: var(--gap);
	padding-right: var(--gap);
	flex-shrink: 0;
	animation: inar-marquee 60s linear infinite;
}
.marquee__item { flex-shrink: 0; display: flex; align-items: center; justify-content: center; height: 64px; }
.marquee { --logo-scale: 1; }
.marquee__item:has(.marquee__logo) { height: 96px; }
.marquee__logo {
	display: block;
	width: calc(var(--lw) * 1px * var(--logo-scale));
	height: calc(var(--lh) * 1px * var(--logo-scale));
	max-width: none;
	object-fit: contain;
	/* optional per-logo nudge: meta inar_logo_offset in px, negative = up */
	transform: translateY(calc(var(--ly, 0) * 1px * var(--logo-scale)));
	/* every logo shown as one light grey, no card behind it */
	filter: brightness(0) invert(.8);
}
.marquee__name {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(13px, 1.4vw, 16px);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--cloud);
	opacity: .85;
	white-space: nowrap;
}
@keyframes inar-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
	.marquee__group { animation: none; }
	.marquee__group[aria-hidden="true"], .marquee__item[aria-hidden="true"] { display: none; }
	.clients-band .marquee { justify-content: center; flex-wrap: wrap; }
	.clients-band .marquee__group { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 640px) {
	.marquee__item { height: 48px; }
	.marquee { --logo-scale: .78; }
	.marquee__item:has(.marquee__logo) { height: 76px; }
	.marquee__group { animation-duration: 45s; }
}

/* ---------- Footer social links ---------- */
.footer-col .social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.footer-col .social li + li { margin-top: 0; }
.social__link { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-light); border-radius: 50%; color: var(--cloud); transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.social__link .icon { width: 20px; height: 20px; }
.footer-col a.social__link:hover, .social__link:focus-visible { background: var(--peach); border-color: var(--peach); color: #0B1A3D; }

/* Category dropdown with expandable parents (2026-10-13) */
.gift-filter__label { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.cat-dd { position: relative; }
.cat-dd__btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 300px; padding: 14px 20px 14px 22px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--sand); font-family: var(--font-text); font-size: 15px; color: var(--navy); cursor: pointer; text-align: left; transition: border-color .2s; }
.cat-dd__btn:hover, .cat-dd.is-open .cat-dd__btn { border-color: var(--navy); }
.cat-dd__btn:focus-visible, .cat-dd__parent:focus-visible, .cat-dd__link:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.cat-dd__chev, .cat-dd__arrow { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease); }
.cat-dd.is-open .cat-dd__chev { transform: rotate(180deg); }
.cat-dd__panel { position: absolute; left: 0; top: calc(100% + 8px); z-index: 30; width: 100%; min-width: 300px; max-height: 70vh; overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 18px 40px rgba(14, 31, 71, .14); }
.cat-dd__panel[hidden], .cat-dd__sub[hidden] { display: none; }
.cat-dd__link, .cat-dd__parent { display: flex; align-items: center; gap: 8px; width: 100%; padding: 11px 14px; border: 0; border-radius: 12px; background: none; font-family: var(--font-text); font-size: 15px; color: var(--navy); text-decoration: none; text-align: left; cursor: pointer; transition: background-color .2s; }
.cat-dd__link span, .cat-dd__parent span { margin-left: auto; font-size: 13px; color: var(--muted); }
.cat-dd__parent span { margin-left: auto; }
.cat-dd__link:hover, .cat-dd__parent:hover { background: var(--sand); }
.cat-dd__link.is-current { background: var(--cloud); font-weight: 500; }
.cat-dd__parent { font-weight: 500; }
.cat-dd__arrow { transform: rotate(-90deg); color: var(--navy); }
.cat-dd__group.is-open .cat-dd__arrow { transform: rotate(0deg); }
.cat-dd__sub { margin: 2px 0 6px 14px; padding-left: 10px; border-left: 2px solid; border-image: linear-gradient(180deg, #E4675F, #F2B696) 1; }
.cat-dd__sub .cat-dd__link { font-size: 14px; padding: 9px 12px; }
@media (max-width: 620px) { .cat-dd__btn, .cat-dd__panel { width: 100%; min-width: 0; } }
