/* ==========================================================================
   STEBRATRAN – modern responsive stylesheet
   Brand colours taken from the logo: black, red and yellow.
   ========================================================================== */

:root {
	--red: #e30613;
	--red-dark: #b8050f;
	--yellow: #ffd400;
	--black: #111111;
	--ink: #1c1c1e;
	--muted: #5f6368;
	--bg: #ffffff;
	--surface: #f6f6f7;
	--surface-2: #ececef;
	--line: #e3e3e7;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
	--shadow-lg: 0 24px 60px rgba(17, 17, 17, 0.16);
	--header-h: 76px;
	--container: 1160px;
	--font: "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
	-webkit-text-size-adjust: 100%;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 1rem; top: -4rem;
	background: var(--black); color: #fff;
	padding: .6rem 1rem; border-radius: var(--radius-sm);
	z-index: 1000; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container {
	width: min(100% - 2.5rem, var(--container));
	margin-inline: auto;
}

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
/* the welcome intro reads like the rest of the text, on every screen size */
#about .lead { color: var(--ink); font-size: 1em; line-height: inherit; }
/* Desktop: every section fills the viewport below the sticky header, so a menu click
   shows exactly one section with nothing of the next one peeking in. */
@media (min-width: 901px) {
	html { scroll-snap-type: y proximity; }
	.section, .hero {
		height: calc(100vh - var(--header-h));
		height: calc(100dvh - var(--header-h));
		scroll-snap-align: start;
		display: flex; flex-direction: column; justify-content: flex-start;
		/* if the window is too low for the content, the section scrolls internally
		   instead of pushing the next section into view */
		overflow-y: auto; overflow-x: hidden;
		scrollbar-width: thin; scrollbar-color: #c9c9ce transparent;
	}
	.section .about-photo { top: 1rem; } /* sticky inside the scrolling section, not the page */
	#about { padding-block: clamp(2.5rem, 5vh, 4rem); }
	#contact { padding-block: 1.5rem; }
	#contact .section-title { margin-bottom: .75rem; }
	#contact .contact-card { padding: 1.25rem 1.5rem; }
	#contact .contact-card h3 { margin-bottom: .75rem; font-size: 1.1rem; }
	#contact .contact-row { margin-bottom: .5rem; }
	#contact .contact-row--vat { margin-top: .75rem; padding-top: .6rem; }
	#about .highlights { margin-top: 1.5rem; }
	#about .highlights li { padding: .9rem 1.1rem; min-height: 160px; } /* tallest language, so tiles never shift */
	#about .section-title { margin-bottom: .75rem; }
	#about .lead { font-size: .95rem; line-height: 1.55; color: var(--ink); }
	#about .prose { font-size: .95rem; line-height: 1.55; }
	#about .highlights p { font-size: .86rem; }
	#about { padding-block: 2rem; }
	/* no vertical centring here: title, photo and tiles keep their place when the language changes */
	#about > .container { margin-top: 0; margin-bottom: 0; flex: 1 0 auto; display: flex; flex-direction: column; }
	#about .about-grid { flex: 0 0 auto; }
	#about .highlights { margin-top: auto; padding-top: 1.5rem; }
	.section::-webkit-scrollbar, .hero::-webkit-scrollbar { width: 8px; }
	.section::-webkit-scrollbar-thumb, .hero::-webkit-scrollbar-thumb { background: #c9c9ce; border-radius: 4px; }
	/* vertical centring that never clips the top when the content overflows */
	.section > :first-child, .hero > :first-child { margin-top: auto; }
	.section > :last-child, .hero > :last-child { margin-bottom: auto; }
	.section > *, .hero > * { flex-shrink: 0; }
	.section > .container, .hero > .container { width: min(100% - 2.5rem, var(--container)); }
	/* last section + footer share one screen, so the footer is reachable despite the snapping */
	:root { --footer-h: 84px; }
	#contact { height: calc(100vh - var(--header-h) - var(--footer-h)); height: calc(100dvh - var(--header-h) - var(--footer-h)); }
	.site-footer { height: var(--footer-h); padding: 0; display: flex; align-items: center; scroll-snap-align: end; }
	.site-footer .container { width: min(100% - 2.5rem, var(--container)); }
}
.section--alt { background: var(--surface); }
.section--dark { background: var(--black); color: #fff; }

.section-title {
	font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
	position: relative;
	padding-bottom: .6rem;
	margin-bottom: 1rem;
}
.section-title::after {
	content: "";
	position: absolute; left: 0; bottom: 0;
	width: 56px; height: 4px; border-radius: 2px;
	background: linear-gradient(90deg, var(--red) 0 65%, var(--yellow) 65%);
}
.section--dark .section-title { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section--dark .lead { color: #d8d8dc; }
.small { font-size: .9rem; color: var(--muted); }
.eyebrow {
	font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: var(--red); margin-bottom: 1rem;
}

.prose p { margin-bottom: 1em; }
.prose p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .8rem 1.5rem;
	border-radius: 999px;
	font-weight: 600;
	border: 2px solid transparent;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
	text-decoration: none !important;
	line-height: 1.2;
}
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(227, 6, 19, .25); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(227, 6, 19, .3); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.section--dark .btn--ghost { color: #fff; border-color: #fff; }
.btn--lg { padding: 1rem 2rem; font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--line);
	transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(17, 17, 17, .08); }

.header-inner {
	display: flex; align-items: center; gap: 1.5rem;
	min-height: var(--header-h);
}
.brand { flex: 0 0 auto; display: block; }
.brand img { width: 260px; height: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .25rem; }
.main-nav a {
	display: block; padding: .55rem .8rem;
	color: var(--ink); font-weight: 600; font-size: .95rem;
	border-radius: 999px; position: relative; white-space: nowrap;
	transition: color .2s, background .2s;
}
.main-nav a:hover { text-decoration: none; background: var(--surface-2); }
.main-nav a.is-active { color: var(--red); }
.main-nav a.is-active::after {
	content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem;
	height: 3px; border-radius: 2px; background: var(--red);
}

.header-actions { display: flex; align-items: center; gap: .75rem; }

.lang-switch { display: flex; gap: 2px; background: var(--surface-2); padding: 3px; border-radius: 999px; }
.lang-switch button {
	border: 0; background: transparent; color: var(--muted);
	font-size: .8rem; font-weight: 700; letter-spacing: .04em;
	padding: .35rem .6rem; border-radius: 999px;
	transition: background .2s, color .2s;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] { background: var(--black); color: #fff; }
.lang-switch--mobile { display: none; }

.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	border: 0; background: transparent; border-radius: var(--radius-sm);
	position: relative;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
	content: ""; position: absolute; left: 10px; width: 24px; height: 2.5px;
	background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { top: -8px; left: 0; }
.nav-toggle__bar::after { top: 8px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-8px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(255, 212, 0, .18), transparent 60%),
		radial-gradient(50% 60% at 0% 100%, rgba(227, 6, 19, .10), transparent 60%),
		linear-gradient(180deg, #fff 0%, var(--surface) 100%);
}
.hero-inner {
	display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
	min-height: 0;
	padding: clamp(3rem, 7vw, 6rem) 0;
}
.hero h1 {
	font-size: clamp(2.3rem, 1.4rem + 4vw, 4rem);
	margin-bottom: 1rem;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero-visual { display: flex; justify-content: center; }
.lang-card {
	position: relative; width: min(100%, 380px); aspect-ratio: 1 / 1.05;
	background: var(--black); color: #fff;
	border-radius: 28px; padding: 2rem;
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	display: flex; align-items: flex-end;
	animation: float 7s ease-in-out infinite;
}
.lang-card__swoosh {
	position: absolute; inset: -40% -30% auto auto; width: 120%; height: 120%;
	background:
		radial-gradient(closest-side, var(--yellow), transparent 70%) 20% 30% / 60% 60% no-repeat,
		radial-gradient(closest-side, var(--red), transparent 70%) 60% 50% / 70% 70% no-repeat;
	filter: blur(28px); opacity: .9;
}
.lang-card ul { position: relative; display: grid; gap: .5rem; width: 100%; }
.lang-card li {
	display: flex; align-items: center; justify-content: space-between;
	padding: .7rem 1rem; border-radius: 12px;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
	font-weight: 600; font-size: 1.05rem;
}
.lang-card li span { font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--yellow); }

@keyframes float {
	0%, 100% { transform: translateY(0) rotate(-1deg); }
	50% { transform: translateY(-12px) rotate(1deg); }
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-grid {
	display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: start;
}
.about-photo { margin: 0; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.about-photo img {
	width: 100%; border-radius: 24px; box-shadow: var(--shadow);
	outline: 6px solid #fff; outline-offset: -6px;
}
.about-photo figcaption { margin-top: 1rem; display: grid; }
.about-photo figcaption span { color: var(--muted); font-size: .95rem; }
.about-copy .prose { columns: 1; }

.highlights {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
	margin-top: 3.5rem;
}
.highlights li {
	background: var(--surface); border-radius: var(--radius); padding: 1.5rem;
	border-top: 4px solid var(--red);
}
.highlights li:nth-child(even) { border-top-color: var(--yellow); }
.highlights strong { display: block; font-size: 1.1rem; margin-bottom: .35rem; }
.highlights p { margin: 0; color: var(--muted); font-size: .95rem; }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
/* The whole section is designed to fit one laptop screen (~700px) on desktop. */
#services { padding-block: clamp(2.5rem, 5vh, 4rem); }
#services .section-head {
	max-width: none; margin-bottom: 1.5rem;
	display: flex; align-items: flex-end; gap: 3rem;
}
#services .section-head .section-title { margin-bottom: 0; flex: 0 0 auto; }
#services .section-head .lead { margin: 0 0 .25rem; max-width: 640px; font-size: 1.05rem; }

.service-grid {
	--service-gap: 1rem;
	display: flex; flex-wrap: wrap; justify-content: center; gap: var(--service-gap);
}
.service-card {
	background: #fff; border-radius: var(--radius); padding: 1rem 1.1rem .9rem;
	border: 1px solid var(--line); text-align: left;
	display: flex; flex-direction: column; gap: .4rem;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
	color: inherit;
	flex: 0 0 calc((100% - 3 * var(--service-gap)) / 4);
}
.service-card__icon { width: 38px; height: 38px; border-radius: 10px; }
.service-card__icon svg { width: 20px; height: 20px; }
.service-card h3 { font-size: 1.05rem; }
.service-card p {
	font-size: .88rem; line-height: 1.45;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.service-card__more { font-size: .9rem; }
.service-card:hover, .service-card:focus-visible {
	transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent;
}
.service-card__icon, .service-dialog__icon {
	display: grid; place-items: center;
	background: linear-gradient(135deg, rgba(227, 6, 19, .12), rgba(255, 212, 0, .25));
	color: var(--red);
}
.service-card h3 { margin: .25rem 0 0; }
.service-card p { margin: 0; color: var(--muted); flex: 1; }
.service-card__more { font-weight: 600; color: var(--red); display: inline-flex; align-items: center; gap: .35rem; }
.service-card__more::after { content: "→"; transition: transform .2s; }
.service-card:hover .service-card__more::after { transform: translateX(4px); }

/* Dialog – sized so the longest service text fits a laptop screen without scrolling */
.service-dialog {
	border: 0; padding: 0; border-radius: 20px;
	width: min(94vw, 900px); max-height: 92vh;
	box-shadow: var(--shadow-lg);
	background: #fff; color: var(--ink);
}
.service-dialog::backdrop { background: rgba(17, 17, 17, .55); backdrop-filter: blur(3px); }
.service-dialog__inner { padding: 1.5rem 1.75rem 1.5rem; position: relative; }
.service-dialog__head { display: flex; align-items: center; gap: .9rem; margin-bottom: .75rem; padding-right: 3rem; }
.service-dialog__icon { width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto; }
.service-dialog__icon svg { width: 22px; height: 22px; }
.service-dialog h2 { margin: 0; font-size: 1.45rem; }
.service-dialog .prose { font-size: .95rem; line-height: 1.5; }
.service-dialog .prose p { margin-bottom: .7em; }
.service-dialog__actions { margin: 1rem 0 0; }
.service-dialog__actions .btn { padding: .65rem 1.3rem; font-size: .95rem; }
.dialog-close {
	position: absolute; top: .9rem; right: .9rem;
	width: 38px; height: 38px; border-radius: 50%; border: 0;
	background: var(--surface-2); font-size: 1.4rem; line-height: 1;
}
.dialog-close:hover { background: var(--line); }

/* --------------------------------------------------------------------------
   References
   -------------------------------------------------------------------------- */
.marquee {
	overflow: hidden; padding: 1.25rem 0;
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
	display: flex; align-items: center; gap: clamp(2.5rem, 6vw, 5rem); width: max-content;
	padding-right: clamp(2.5rem, 6vw, 5rem);
	animation: marquee 40s linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 48s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img {
	height: 72px; width: auto; max-width: 200px; object-fit: contain;
	opacity: 1;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------

/* --------------------------------------------------------------------------
   Quote / offer
   -------------------------------------------------------------------------- */
.quote-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.quote-lines { display: grid; gap: .6rem; font-size: 1.1rem; }
.quote-lines li { padding-left: 1.75rem; position: relative; }
.quote-lines li::before {
	content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px;
	border-radius: 50%; background: var(--yellow);
}
.quote-cta {
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 20px; padding: 2rem; text-align: center;
}
.quote-cta p { color: #d8d8dc; margin-bottom: 1rem; }
.quote-cta .btn { word-break: break-all; }

/* --------------------------------------------------------------------------
   Freelancers
   -------------------------------------------------------------------------- */
.freelancer-card { max-width: 760px; text-align: center; }
.freelancer-card .section-title { display: inline-block; }
.freelancer-card .section-title::after { left: 50%; transform: translateX(-50%); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 620px); justify-content: center; }
.card { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); }
.contact-card h3, .team h3 { font-size: 1.25rem; margin-bottom: 1.25rem; }
address { font-style: normal; }
.contact-row { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1rem; }
.contact-row img { flex: 0 0 20px; margin-top: .25rem; opacity: .8; }
.contact-row > * { min-width: 0; }
.contact-row a { overflow-wrap: anywhere; }
.contact-row--vat { color: var(--muted); font-size: .95rem; display: block; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; max-width: 760px; margin: 0 auto; }
#team .section-title { text-align: center; }
#team .section-title::after { left: 50%; transform: translateX(-50%); }
#contact .section-title { text-align: center; }
#contact .section-title::after { left: 50%; transform: translateX(-50%); }
.team-card {
	background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
	padding: 1.75rem; text-align: center;
}
.team-card img {
	width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem;
	outline: 4px solid var(--yellow); outline-offset: 3px;
}
.team-card strong { display: block; font-size: 1.15rem; }
.team-card .role { color: var(--red); font-weight: 600; font-size: .9rem; margin-bottom: .5rem; display: block; }
.team-card a { font-size: .9rem; overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--black); color: #c9c9ce; padding: 2rem 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { color: #fff; }
.copyright { margin: 0; }


/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.highlights { grid-template-columns: repeat(2, 1fr); }
	.about-grid { grid-template-columns: 280px 1fr; gap: 2.5rem; }
	.main-nav a { padding: .5rem .55rem; font-size: .9rem; }
	.service-card { flex-basis: calc((100% - 2 * var(--service-gap)) / 3); }
}

@media (max-width: 900px) {
	:root { --header-h: 64px; }
	/* logo centred, hamburger pinned to the right */
	.header-inner { position: relative; justify-content: center; }
	.brand { margin: 0 auto; }
	.brand img { width: 200px; }
	.header-actions { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
	.nav-toggle { display: block; }
	.header-actions .lang-switch { display: none; }

	/* logo ribbons: smaller logos, tighter spacing */
	.marquee { padding: .75rem 0; }
	.marquee__track { gap: 2rem; padding-right: 2rem; animation-duration: 30s; }
	.marquee--reverse .marquee__track { animation-duration: 36s; }
	.marquee__track img { height: 44px; max-width: 130px; }

	/* service pop-up: compact so the longest text fits a phone screen */
	.service-dialog { width: 94vw; max-height: 94vh; max-height: 94dvh; border-radius: 16px; }
	.service-dialog__inner { padding: 1rem 1rem .9rem; }
	.service-dialog__head { gap: .6rem; margin-bottom: .5rem; padding-right: 2.5rem; }
	.service-dialog__icon { width: 34px; height: 34px; border-radius: 9px; }
	.service-dialog__icon svg { width: 18px; height: 18px; }
	.service-dialog h2 { font-size: 1.2rem; }
	.service-dialog .prose { font-size: .86rem; line-height: 1.42; }
	.service-dialog .prose p { margin-bottom: .55em; }
	.service-dialog__actions { margin-top: .7rem; }
	.service-dialog__actions .btn { padding: .55rem 1.1rem; font-size: .88rem; }
	.dialog-close { top: .6rem; right: .6rem; width: 34px; height: 34px; font-size: 1.25rem; }
	.lang-switch--mobile { display: flex; justify-content: center; margin: 1rem auto 0; width: max-content; }

	.main-nav {
		position: fixed; top: var(--header-h); left: 0; right: 0;
		background: #fff; border-bottom: 1px solid var(--line);
		padding: 1rem 1.25rem 1.5rem;
		box-shadow: var(--shadow);
		transform: translateY(-110%); opacity: 0; visibility: hidden;
		transition: transform .3s var(--ease), opacity .3s, visibility 0s .3s;
		max-height: calc(100vh - var(--header-h)); overflow: auto;
	}
	.main-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .3s var(--ease), opacity .3s; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav a { font-size: 1.1rem; padding: .8rem .5rem; border-radius: var(--radius-sm); }
	.main-nav a.is-active::after { display: none; }
	.main-nav a.is-active { background: var(--surface); }

	.hero-inner { grid-template-columns: 1fr; min-height: 0; text-align: center; }
	.hero .lead { margin-inline: auto; }
	.hero-actions { justify-content: center; }
	.lang-card { width: min(100%, 320px); aspect-ratio: auto; padding: 1.5rem; }

	.about-grid { grid-template-columns: 1fr; }
	.about-photo { position: static; max-width: 260px; }
	#about .lead, #about .prose { font-size: .92rem; line-height: 1.5; }
	.ref-lists, .quote-inner, .contact-grid { grid-template-columns: 1fr; }

	#services .section-head { display: block; margin-bottom: 1.25rem; }
	#services .section-head .section-title { margin-bottom: 1rem; }

	/* Services: one horizontal, swipeable row so every service is one swipe away */
	.service-grid {
		flex-wrap: nowrap; justify-content: flex-start;
		overflow-x: auto; overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem;
		margin-inline: calc(50% - 50vw); padding: .5rem 1.25rem 1.25rem;
		scrollbar-width: thin;
	}
	.service-card { flex: 0 0 min(78vw, 300px); scroll-snap-align: start; }
	.service-card:hover, .service-card:focus-visible { transform: none; }
}

@media (max-width: 600px) {
	body { font-size: 1rem; }
	.brand img { width: 170px; }
	.section { padding: 3rem 0; }
	.highlights { grid-template-columns: 1fr; }
	.ref-list__items { columns: 1; }
	.marquee__track img { height: 36px; max-width: 110px; }
	.marquee__track { gap: 1.5rem; padding-right: 1.5rem; }
	.lang-card { animation: none; }
	.hero-actions .btn { width: 100%; }
	.footer-inner { flex-direction: column; text-align: center; }
	.footer-links { justify-content: center; }
}

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

/* --------------------------------------------------------------------------
   Policy pages (policies.html)
   -------------------------------------------------------------------------- */
.policy-page { overflow-x: visible; }
.policy-page .site-header { position: sticky; }
.header-actions--policy { margin-left: auto; }
.policy-main { padding: clamp(2rem, 5vw, 3.5rem) 0 4rem; background: var(--surface); min-height: calc(100vh - var(--header-h)); }
.policy-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; }
.policy-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.policy-side__title { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.policy-nav { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 1.5rem; }
.policy-nav a { display: block; padding: .6rem .85rem; border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; font-size: .95rem; }
.policy-nav a:hover { background: var(--surface-2); text-decoration: none; }
.policy-nav a.is-active { background: var(--black); color: #fff; }
.policy-back { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem; }
.policy-back::before { content: "←"; }
.policy-article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); }
.policy-article .section-title { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem); }
.policy-meta { color: var(--muted); font-size: .9rem; margin-bottom: .5rem; }
.policy-note:empty { display: none; }
.policy-note { background: #fff8d6; border: 1px solid #f1e3a0; border-radius: var(--radius-sm); padding: .6rem .9rem; margin-bottom: 1.25rem; color: var(--ink); }
.policy-body { font-size: 1rem; line-height: 1.6; }
.policy-body h2 { font-size: 1.15rem; margin: 1.75rem 0 .5rem; }
.policy-body h3 { font-size: 1rem; margin: 1.25rem 0 .4rem; font-style: italic; }
.policy-body p { margin-bottom: .9em; }
.policy-body ul, .policy-body ol { margin: 0 0 1em 1.25rem; padding: 0; }
.policy-body ul { list-style: disc; }
.policy-body ol { list-style: decimal; }
.policy-body li { margin-bottom: .25em; }
.policy-body ul.policy-plain { list-style: none; margin-left: 0; }
.policy-body ul.policy-columns { columns: 2; column-gap: 2rem; }
.policy-body a { word-break: break-word; }
.policy-intro { font-size: 1.05rem; }
@media (max-width: 900px) {
	.policy-page .header-inner { justify-content: space-between; }
	.policy-page .brand { margin: 0; }
	.policy-page .header-actions--policy { position: static; transform: none; }
	.policy-page .header-actions .lang-switch { display: flex; }
	.policy-layout { grid-template-columns: 1fr; gap: 1.5rem; }
	.policy-side { position: static; }
	.policy-nav { flex-direction: row; flex-wrap: wrap; }
	.policy-nav a { font-size: .85rem; padding: .5rem .7rem; background: #fff; border: 1px solid var(--line); }
}
@media (max-width: 600px) {
	.policy-body ul.policy-columns { columns: 1; }
	.policy-page .brand img { width: 150px; }
}
