/* ==========================================================================
   Hasna Habeeb Portfolio — main stylesheet
   Print-proof aesthetic: paper, ink, lipstick red, crop marks, scan beam.
   ========================================================================== */

:root {
	--hh-paper: #EBE8E3;
	--hh-paper-2: #E2DED8;
	--hh-stone: #CFC9C0;
	--hh-ink: #151413;
	--hh-ink-2: #2C2A28;
	--hh-mute: #5E5A55;
	--hh-mute-dark: #B9B3AB;
	--hh-accent: #A81E1B;
	--hh-accent-soft: #E0544F;
	--hh-rule: rgba(21, 20, 19, .18);

	--hh-sans: 'Archivo', 'Helvetica Neue', Helvetica, sans-serif;
	--hh-serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
	--hh-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

	--hh-gutter: clamp(16px, 4vw, 40px);
	--hh-max: 1360px;
	--hh-ease: cubic-bezier(.65, 0, .35, 1);
	--hh-out: cubic-bezier(.2, .7, .2, 1);
	--hh-scan-ms: 2600ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--hh-paper);
	color: var(--hh-ink);
	font-family: var(--hh-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
/* subtle paper grain */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 100;
	opacity: .05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--hh-accent); }
:focus-visible { outline: 2px solid var(--hh-accent); outline-offset: 3px; }
::selection { background: var(--hh-accent); color: #fff; }
em { font-style: normal; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.hh-skip {
	position: absolute; left: 12px; top: -60px; z-index: 200;
	background: var(--hh-ink); color: var(--hh-paper); padding: 12px 18px;
}
.hh-skip:focus { top: 12px; color: var(--hh-paper); }

.hh-wrap { max-width: var(--hh-max); margin: 0 auto; padding-left: var(--hh-gutter); padding-right: var(--hh-gutter); }
.hh-ico { display: inline-block; vertical-align: middle; flex: none; }

/* ---------- Type helpers ---------- */
.hh-label, .hh-meta, .hh-status, .hh-menu, .hh-scan__top, .hh-scan__bottom {
	font-family: var(--hh-mono);
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.hh-label { margin: 0 0 18px; color: var(--hh-mute); }
.hh-label--dark { color: var(--hh-mute-dark); }

.hh-h2 {
	margin: 0;
	font-size: clamp(44px, 7vw, 104px);
	line-height: .9;
	font-weight: 850;
	font-stretch: 115%;
	letter-spacing: -0.045em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}
.hh-h2 em, .hh-contact__title em {
	font-family: var(--hh-serif);
	font-style: italic;
	font-weight: 500;
	text-transform: none;
	letter-spacing: -0.03em;
}
.hh-h2--gap { margin-bottom: 48px; }

/* ---------- Buttons ---------- */
.hh-btn {
	display: inline-flex; align-items: center; gap: 12px;
	min-height: 52px; padding: 0 26px;
	font-size: 14px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase;
	border: 1.5px solid var(--hh-ink);
	position: relative; overflow: hidden; isolation: isolate;
	transition: color .35s var(--hh-out), border-color .35s ease;
}
.hh-btn::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--hh-accent);
	transform: translateY(101%);
	transition: transform .45s var(--hh-out);
}
.hh-btn:hover::after { transform: translateY(0); }
.hh-btn:hover { color: #fff; border-color: var(--hh-accent); }
.hh-btn--solid { background: var(--hh-ink); color: var(--hh-paper); }
.hh-btn--line { color: var(--hh-ink); }
.hh-btn--light { background: #fff; color: var(--hh-ink); border-color: #fff; min-height: 48px; padding: 0 22px; font-size: 13px; }
.hh-btn--light::after { background: var(--hh-ink); }

/* ---------- Header ---------- */
.hh-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(235, 232, 227, .82);
	-webkit-backdrop-filter: blur(12px) saturate(1.2);
	backdrop-filter: blur(12px) saturate(1.2);
	border-bottom: 1px solid transparent;
	transition: border-color .3s ease;
}
.hh-header.is-scrolled { border-bottom-color: var(--hh-rule); }
.hh-header__in {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	min-height: 76px;
}
.hh-brand { display: flex; align-items: center; gap: 12px; }
.hh-brand__mark {
	width: 40px; height: 40px; border: 1.5px solid var(--hh-ink);
	display: grid; place-items: center;
	font-family: var(--hh-serif); font-style: italic; font-weight: 600; font-size: 19px;
	transition: background .3s ease, color .3s ease;
}
.hh-brand:hover .hh-brand__mark { background: var(--hh-ink); color: var(--hh-paper); }
.hh-brand__logo { width: 40px; height: 40px; object-fit: contain; }
.hh-brand__name { font-size: 14px; font-weight: 650; letter-spacing: .02em; color: var(--hh-ink); }

.hh-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 2.4vw, 34px); }
.hh-menu a { position: relative; padding: 6px 0; }
.hh-menu a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: right;
	transition: transform .35s var(--hh-out);
}
.hh-menu a:hover::after { transform: scaleX(1); transform-origin: left; }

.hh-status { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.hh-status__dot {
	width: 8px; height: 8px; border-radius: 50%; background: var(--hh-accent);
	animation: hh-pulse 2s ease-in-out infinite;
}
@keyframes hh-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(168, 30, 27, .5); }
	50% { box-shadow: 0 0 0 6px rgba(168, 30, 27, 0); }
}

.hh-burger {
	display: none; width: 48px; height: 48px; padding: 0;
	background: none; border: 1.5px solid var(--hh-ink); cursor: pointer;
	flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.hh-burger__bar { width: 20px; height: 1.5px; background: var(--hh-ink); transition: transform .35s var(--hh-out); }
.hh-burger[aria-expanded="true"] .hh-burger__bar:first-of-type { transform: translateY(3.75px) rotate(45deg); }
.hh-burger[aria-expanded="true"] .hh-burger__bar:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hh-hero__in {
	display: flex; flex-wrap: wrap; align-items: flex-end;
	gap: clamp(40px, 5vw, 72px);
	padding-top: clamp(40px, 6vw, 80px);
	padding-bottom: clamp(56px, 7vw, 96px);
}
.hh-hero__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.hh-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--hh-mute); }

.hh-name { margin: 0; line-height: .84; letter-spacing: -0.045em; }
.hh-name__a {
	display: block;
	font-size: clamp(72px, 13vw, 196px);
	font-weight: 850; font-stretch: 118%;
	text-transform: uppercase;
}
.hh-name__b {
	display: block;
	font-family: var(--hh-serif); font-style: italic; font-weight: 500;
	font-size: clamp(76px, 13.6vw, 206px);
	letter-spacing: -0.035em;
	color: var(--hh-accent);
	padding-left: clamp(24px, 7vw, 110px);
}

.hh-hero__sub {
	display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-start;
	border-top: 1px solid var(--hh-ink); padding-top: 24px;
}
.hh-hero__role { margin: 0; flex: 0 1 220px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.35; }
.hh-hero__intro { margin: 0; flex: 1 1 300px; max-width: 460px; font-size: 18px; line-height: 1.55; color: var(--hh-ink-2); }
.hh-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* load-in */
.js .hh-rise { opacity: 0; transform: translateY(28px); animation: hh-failsafe 0s linear 3s forwards; }
@keyframes hh-failsafe { to { opacity: 1; transform: none; } }
.js.is-loaded .hh-rise { opacity: 1; transform: none; transition: opacity .9s var(--hh-out), transform 1.1s var(--hh-out); }
.js.is-loaded .hh-rise:nth-child(2), .js.is-loaded .hh-name__a { transition-delay: .08s; }
.js.is-loaded .hh-name__b { transition-delay: .18s; }
.js.is-loaded .hh-hero__sub { transition-delay: .28s; }
.js.is-loaded .hh-actions { transition-delay: .36s; }

/* ---------- Scan portrait ---------- */
.hh-scan { flex: 0 1 470px; min-width: 0; width: 100%; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.hh-scan__top, .hh-scan__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--hh-mute); font-size: 11px; }
.hh-scan__readout { color: var(--hh-accent); font-variant-numeric: tabular-nums; }
.hh-scan__frame { position: relative; padding: 14px; }
.hh-crop { position: absolute; width: 20px; height: 20px; border: 0 solid var(--hh-ink); }
.hh-crop--tl { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.hh-crop--tr { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.hh-crop--bl { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.hh-crop--br { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }

.hh-scan__bed { position: relative; aspect-ratio: 1103 / 1426; overflow: hidden; background: #D9D5CF; }
.hh-scan__bed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* un-scanned state: a faint, blown-out ghost on the glass with a halftone screen */
.hh-scan__mono { filter: grayscale(1) contrast(1.6) brightness(1.55) blur(.6px); opacity: .5; }
.hh-scan__dots {
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(21, 20, 19, .6) .9px, transparent 1.4px);
	background-size: 4px 4px;
	mix-blend-mode: multiply; opacity: .5;
}
.hh-scan__lines {
	position: absolute; inset: 0; pointer-events: none;
	background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px);
}
.hh-scan__beam {
	position: absolute; left: -2%; right: -2%; top: 0; height: 2px;
	background: var(--hh-accent);
	box-shadow: 0 0 14px 3px rgba(168, 30, 27, .55), 0 -48px 60px rgba(255, 255, 255, .16);
	opacity: 0;
}
.hh-scan__beam::before { /* light wash trailing the beam */
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 70px;
	background: linear-gradient(to top, rgba(255, 255, 255, .22), transparent);
}

.hh-swatches { display: flex; }
.hh-swatches i { width: 14px; height: 14px; }
.hh-swatches i:nth-child(1) { background: #00A3D9; }
.hh-swatches i:nth-child(2) { background: #D6007E; }
.hh-swatches i:nth-child(3) { background: #F2D300; }
.hh-swatches i:nth-child(4) { background: var(--hh-ink); }
.hh-swatches i:nth-child(5) { background: var(--hh-accent); }

/* JS-driven scan states */
.js .hh-scan__color { clip-path: inset(0 0 100% 0); }
.js .hh-scan.is-run .hh-scan__color { animation: hh-reveal var(--hh-scan-ms) var(--hh-ease) both; }
.js .hh-scan.is-run .hh-scan__beam { animation: hh-beam var(--hh-scan-ms) var(--hh-ease) both, hh-beam-loop 5.5s linear calc(var(--hh-scan-ms) + 1200ms) infinite; }
.js .hh-scan.is-run .hh-scan__dots { animation: hh-dots-out calc(var(--hh-scan-ms) + 600ms) ease both; }
.hh-scan.is-done .hh-scan__readout { color: var(--hh-ink); }

@keyframes hh-reveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hh-beam { 0% { top: 0; opacity: 1; } 99% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes hh-beam-loop {
	0% { top: -2%; opacity: 0; }
	10% { opacity: .75; }
	90% { opacity: .75; }
	100% { top: 102%; opacity: 0; }
}
@keyframes hh-dots-out { 0%, 80% { opacity: .55; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.hh-marquee { background: var(--hh-ink); color: var(--hh-paper); overflow: hidden; padding: 22px 0; }
.hh-marquee__track {
	display: flex; width: max-content; gap: 40px;
	animation: hh-marq 38s linear infinite;
}
.hh-marquee:hover .hh-marquee__track { animation-play-state: paused; }
.hh-marquee__item {
	display: flex; align-items: center; gap: 40px; white-space: nowrap;
	font-size: clamp(28px, 4vw, 52px); font-weight: 800; font-stretch: 112%;
	text-transform: uppercase; letter-spacing: -0.02em;
}
.hh-marquee__item i { font-family: var(--hh-serif); font-style: italic; font-weight: 400; color: var(--hh-accent-soft); }
@keyframes hh-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.hh-section { padding: clamp(72px, 9vw, 128px) 0; scroll-margin-top: 70px; }
.hh-contact, .hh-work { scroll-margin-top: 70px; }
.hh-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.hh-head__side { margin: 0; max-width: 340px; font-size: 16px; line-height: 1.55; color: var(--hh-ink-2); }

/* ---------- Work grid ---------- */
.hh-work { padding-bottom: 40px; }
.hh-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
	gap: 48px 28px;
}
.hh-card { display: flex; flex-direction: column; gap: 16px; color: var(--hh-ink); }
.hh-card:hover { color: var(--hh-ink); }
.hh-card__media {
	position: relative; aspect-ratio: 5 / 4; overflow: hidden;
	background: var(--hh-ink); color: var(--hh-paper);
	transition: transform .7s var(--hh-out);
}
.hh-card__media img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	transition: transform 1.1s var(--hh-out), filter .6s ease;
}
.hh-card:hover .hh-card__media { transform: scale(.975); }
.hh-card:hover .hh-card__media img { transform: scale(1.08); }

.hh-card__fallback { position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.hh-card__meta { display: flex; justify-content: space-between; font-family: var(--hh-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.hh-card__mark { font-size: clamp(30px, 3.1vw, 46px); line-height: .92; font-weight: 850; font-stretch: 104%; letter-spacing: -0.04em; text-transform: uppercase; overflow-wrap: break-word; hyphens: manual; }
.hh-card:nth-child(6n+2) .hh-card__media { background: var(--hh-accent); color: #fff; }
.hh-card:nth-child(6n+3) .hh-card__media { background: var(--hh-stone); color: var(--hh-ink); }
.hh-card:nth-child(6n+4) .hh-card__media { background: #2A2826; color: var(--hh-accent-soft); }
.hh-card:nth-child(6n+5) .hh-card__media { background: var(--hh-paper-2); color: var(--hh-ink); }

.hh-card__num {
	position: absolute; top: 14px; left: 14px; z-index: 2;
	font-family: var(--hh-mono); font-size: 11px; letter-spacing: .08em;
	background: var(--hh-paper); color: var(--hh-ink); padding: 5px 8px;
}
.hh-card__beam {
	position: absolute; left: 0; right: 0; top: -4%; height: 2px; z-index: 3;
	background: var(--hh-accent);
	box-shadow: 0 0 12px 2px rgba(168, 30, 27, .6);
	opacity: 0;
}
.hh-card__beam::before {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 90px;
	background: linear-gradient(to top, rgba(255, 255, 255, .28), transparent);
}
.hh-card:hover .hh-card__beam, .hh-card.is-scan .hh-card__beam { animation: hh-tile 1.15s var(--hh-ease) both; }
@keyframes hh-tile { 0% { top: -4%; opacity: 1; } 95% { opacity: 1; } 100% { top: 104%; opacity: 0; } }

.hh-card__info { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-top: 1px solid var(--hh-rule); padding-top: 14px; }
.hh-card__text { display: flex; flex-direction: column; gap: 6px; }
.hh-card__title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.hh-card__cat { font-family: var(--hh-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--hh-mute); }
.hh-card__arrow { transition: transform .35s var(--hh-out), color .3s ease; }
.hh-card:hover .hh-card__arrow { transform: translate(4px, -4px); color: var(--hh-accent); }
.hh-more { margin-top: 56px; display: flex; justify-content: center; }

/* ---------- About ---------- */
.hh-about__in {
	border-top: 1px solid var(--hh-ink); padding-top: 24px;
	display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 6vw, 96px);
}
.hh-about__quote { flex: 1 1 520px; min-width: 0; }
.hh-quote {
	margin: 32px 0 0;
	font-family: var(--hh-serif); font-style: italic; font-weight: 500;
	font-size: clamp(40px, 5.4vw, 78px); line-height: 1; letter-spacing: -0.025em;
}
.hh-quote span { color: var(--hh-accent); }
.hh-about__body { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding-top: 56px; }
.hh-about__body p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--hh-ink-2); }
.hh-about__body .hh-lead { font-size: 19px; line-height: 1.6; color: var(--hh-ink); }
.hh-strengths {
	list-style: none; margin: 8px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid var(--hh-rule);
}
.hh-strengths li { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--hh-rule); display: flex; gap: 12px; align-items: baseline; font-size: 16px; font-weight: 600; }
.hh-strengths span { font-family: var(--hh-mono); font-size: 11px; font-weight: 400; color: var(--hh-accent); }

/* ---------- Experience ---------- */
.hh-exp { background: var(--hh-paper-2); }
.hh-jobs { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--hh-ink); }
.hh-job {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px;
	padding: 28px 8px; border-bottom: 1px solid rgba(21, 20, 19, .25);
	position: relative; isolation: isolate;
}
.hh-job::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hh-paper);
	transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--hh-out);
}
.hh-job:hover::before { transform: scaleY(1); }
.hh-job__n { flex: 0 0 48px; font-family: var(--hh-mono); font-size: 12px; color: var(--hh-accent); }
.hh-job__co { flex: 1 1 320px; font-size: clamp(26px, 3vw, 40px); font-weight: 800; font-stretch: 108%; letter-spacing: -0.03em; transition: transform .45s var(--hh-out); }
.hh-job:hover .hh-job__co { transform: translateX(10px); }
.hh-job__role { flex: 0 1 220px; font-size: 16px; font-weight: 600; }
.hh-job__loc { flex: 0 1 180px; font-family: var(--hh-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--hh-mute); }

/* ---------- Services ---------- */
.hh-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.hh-svc {
	padding: clamp(28px, 4vw, 48px); min-height: 380px;
	display: flex; flex-direction: column; justify-content: space-between; gap: 56px;
	background: var(--hh-ink); color: var(--hh-paper);
	transition: transform .6s var(--hh-out);
}
.hh-svc:hover { transform: translateY(-6px); }
.hh-svc--2 { background: var(--hh-accent); color: #fff; }
.hh-svc__top { display: flex; justify-content: space-between; font-family: var(--hh-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.hh-svc__title { margin: 0 0 14px; font-size: clamp(36px, 4.4vw, 60px); line-height: .95; font-weight: 850; font-stretch: 112%; letter-spacing: -0.04em; text-transform: uppercase; }
.hh-svc__desc { margin: 0; max-width: 420px; font-size: 16px; line-height: 1.6; opacity: .85; }
.hh-svc__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .28); padding-top: 20px; }
.hh-svc__price { font-size: 15px; }
.hh-svc__price em { font-family: var(--hh-serif); font-style: italic; font-size: 34px; margin-left: 4px; }

/* ---------- Contact & footer ---------- */
.hh-contact { background: var(--hh-ink); color: var(--hh-paper); padding: clamp(80px, 10vw, 140px) 0 0; }
.hh-contact a:hover { color: var(--hh-accent-soft); }
.hh-contact__title {
	margin: 0;
	font-size: clamp(54px, 10vw, 160px); line-height: .86;
	font-weight: 850; font-stretch: 118%; letter-spacing: -0.05em; text-transform: uppercase;
	overflow-wrap: anywhere;
}
.hh-contact__title em { color: var(--hh-accent-soft); letter-spacing: -0.035em; }
.hh-links {
	margin-top: 64px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	border-top: 1px solid rgba(235, 232, 227, .25);
}
.hh-link { padding: 26px 16px 26px 0; border-bottom: 1px solid rgba(235, 232, 227, .25); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hh-link__k { font-family: var(--hh-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--hh-mute-dark); }
.hh-link__v { font-size: 20px; font-weight: 600; overflow-wrap: anywhere; }

.hh-footer { background: var(--hh-ink); color: var(--hh-mute-dark); }
.hh-footer__in {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
	padding-top: 80px; padding-bottom: 40px;
	font-family: var(--hh-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.hh-totop { color: var(--hh-paper); display: inline-flex; gap: 8px; align-items: center; }
.hh-totop .hh-ico { width: 14px; height: 14px; }

/* ---------- Generic pages ---------- */
.hh-page__in { max-width: 900px; }
.hh-entry { margin-bottom: 64px; }
.hh-entry .hh-h2 { font-size: clamp(40px, 6vw, 80px); margin-bottom: 32px; }
.hh-entry__img { margin-bottom: 32px; }
.hh-entry__body { font-size: 18px; line-height: 1.7; color: var(--hh-ink-2); }
.hh-entry__body img { margin: 24px 0; }
.hh-entry__body a { color: var(--hh-accent); text-decoration: underline; }

/* ---------- Scroll reveal ---------- */
.js .hh-reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--hh-out), transform 1s var(--hh-out); }
.js .hh-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.hh-status { display: none; }
}
@media (max-width: 860px) {
	.hh-burger { display: inline-flex; }
	.hh-nav {
		position: fixed; inset: 76px 0 auto 0; z-index: 49;
		background: var(--hh-paper);
		border-bottom: 1px solid var(--hh-rule);
		padding: 8px var(--hh-gutter) 28px;
		transform: translateY(-12px); opacity: 0; visibility: hidden;
		transition: opacity .3s ease, transform .4s var(--hh-out), visibility 0s linear .4s;
	}
	.hh-nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
	.hh-menu { flex-direction: column; gap: 0; }
	.hh-menu li { border-bottom: 1px solid var(--hh-rule); }
	.hh-menu a {
		display: flex; align-items: center; min-height: 60px;
		font-family: var(--hh-sans); font-size: 28px; font-weight: 800; font-stretch: 112%;
		letter-spacing: -0.02em; text-transform: uppercase;
	}
	.hh-menu a::after { display: none; }
	.hh-hero__in { flex-direction: column; align-items: stretch; }
	.hh-scan { flex-basis: auto; max-width: 520px; margin: 0 auto; }
	.hh-about__body { padding-top: 0; }
}
@media (max-width: 560px) {
	.hh-header__in { min-height: 68px; }
	.hh-nav { inset: 68px 0 auto 0; }
	.hh-brand__name { font-size: 13px; }
	.hh-hero__text { gap: 28px; }
	.hh-name__b { padding-left: 18px; }
	.hh-hero__intro { font-size: 16px; }
	.hh-actions .hh-btn { flex: 1 1 100%; justify-content: space-between; }
	.hh-strengths { grid-template-columns: 1fr; }
	.hh-job { padding: 22px 0; gap: 6px 16px; }
	.hh-job__n { flex-basis: 100%; }
	.hh-job__co { flex-basis: 100%; }
	.hh-svc { min-height: 0; gap: 40px; }
	.hh-grid { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .hh-scan__color { clip-path: none; }
	.hh-scan__beam, .hh-card__beam { display: none; }
	.js .hh-rise, .js .hh-reveal { opacity: 1; transform: none; }
}
