/* Bakkabros theme. Colours and font from the brand guide (brand/BAKKABROS_vorumerkjaleidarvisir.pdf). */

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-opsz-normal.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-opsz-italic.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

:root {
	--ink: #1f2d2d;        /* Dökkgrár: text and dark surfaces */
	--ink-soft: #4a5958;   /* secondary text, 7:1 on paper */
	--teal: #6ea7a5;       /* Blágrænn: the smile on light backgrounds (decoration only, too light for text) */
	--teal-deep: #3b7472;  /* teal for text and links, 5:1 on paper */
	--teal-light: #a9d2cf; /* Ljós blágrænn: the smile on dark backgrounds */
	--paper: #f8f9f7;      /* Ljós bakgrunnur */
	--tint: #eef3f1;
	--white: #fff;
	--line: #dde4e2;
	--line-dark: rgba(255, 255, 255, 0.14);
	--smile: var(--teal);

	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--wrap: 1200px;
	--radius: 20px;
	--header-h: 84px;
	--section: clamp(4.5rem, 10vw, 8.5rem);
	--ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
	line-height: 1.65;
	font-optical-sizing: auto;
	font-feature-settings: "cv11", "ss03";
	-webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; text-wrap: balance; }
p { margin: 0 0 1.15em; text-wrap: pretty; }

.skip-link {
	position: absolute; left: 1rem; top: -4rem; z-index: 100;
	background: var(--ink); color: var(--white); padding: 0.75rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--text { max-width: 44rem; }
.muted { color: var(--ink-soft); }

.eyebrow {
	margin: 0 0 1.1rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--teal-deep);
}
.eyebrow--light { color: var(--teal-light); }

/* ---------- Buttons and arrow links ---------- */

.button {
	display: inline-flex; align-items: center; gap: 0.6em;
	padding: 0.95em 1.6em;
	border-radius: 999px;
	background: var(--ink); color: var(--white);
	font-weight: 500; text-decoration: none; line-height: 1;
	transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.button:hover { background: var(--teal-deep); color: var(--white); }
.button--light { background: var(--white); color: var(--ink); }
.button--light:hover { background: var(--teal-light); color: var(--ink); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 0.55em;
	font-weight: 500; color: var(--ink); text-decoration: none;
}
.link-arrow .arrow { width: 1.15em; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--teal-deep); }
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow--light { color: var(--white); }
.link-arrow--light:hover { color: var(--teal-light); }

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

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--paper);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s;
}
.site-header__inner {
	width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto;
	height: var(--header-h);
	display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.site-logo { color: var(--ink); flex: none; }
.site-logo__svg { width: clamp(132px, 14vw, 170px); }

.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.5rem); }
.site-nav__list { display: flex; gap: clamp(1.1rem, 2.2vw, 2.1rem); list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
	position: relative; display: block; padding: 0.5rem 0;
	color: var(--ink); text-decoration: none; font-size: 0.9375rem; font-weight: 500;
}
/* The current page gets a little smile under it; others get it on hover. */
.site-nav__list a::after {
	content: ""; position: absolute; left: 50%; bottom: -2px; width: 70%; height: 7px;
	background: var(--teal);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='269 230 660 136'%3E%3Cpath d='M269 230C433 334 764 334 929 230C756 407 444 407 269 230Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='269 230 660 136'%3E%3Cpath d='M269 230C433 334 764 334 929 230C756 407 444 407 269 230Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	transform: translateX(-50%) scaleX(0);
	transition: transform 0.35s var(--ease);
}
.site-nav__list a:hover::after,
.site-nav__list .current-menu-item > a::after { transform: translateX(-50%) scaleX(1); }

.site-nav__phone {
	padding: 0.6rem 1.1rem; border: 1px solid var(--ink); border-radius: 999px;
	color: var(--ink); text-decoration: none; font-size: 0.9375rem; font-weight: 500; white-space: nowrap;
	font-variant-numeric: tabular-nums;
	transition: background-color 0.25s, color 0.25s;
}
.site-nav__phone:hover { background: var(--ink); color: var(--white); }
.site-nav__phone-label { color: var(--ink-soft); margin-right: 0.15em; }
.site-nav__phone:hover .site-nav__phone-label { color: var(--teal-light); }

.site-nav__lang {
	color: var(--ink-soft); text-decoration: none; font-size: 0.875rem; font-weight: 500;
}
.site-nav__lang:hover { color: var(--teal-deep); }

.menu-toggle { display: none; }

@media (max-width: 899px) {
	:root { --header-h: 68px; }
	.menu-toggle {
		display: inline-flex; align-items: center; gap: 0.6rem;
		margin: 0; padding: 0.6rem 0; border: 0; background: none;
		font: inherit; font-weight: 500; font-size: 0.9375rem; color: var(--ink); cursor: pointer;
	}
	.menu-toggle__lines, .menu-toggle__lines::before {
		display: block; width: 22px; height: 1.5px; background: currentColor; position: relative;
		transition: transform 0.3s var(--ease);
	}
	.menu-toggle__lines { transform: translateY(-3.5px); }
	.menu-toggle__lines::before { content: ""; position: absolute; top: 7px; }
	.menu-open .menu-toggle__lines { transform: rotate(45deg); }
	.menu-open .menu-toggle__lines::before { transform: translateY(-7px) rotate(-90deg); }

	.site-nav {
		position: fixed; inset: var(--header-h) 0 0; z-index: 49;
		flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2rem;
		padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
		background: var(--paper);
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s 0.3s;
		overflow-y: auto;
	}
	.menu-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity 0.3s, transform 0.3s var(--ease); }
	.menu-open { overflow: hidden; }
	.site-nav__list { flex-direction: column; gap: 0; width: 100%; }
	.site-nav__list li { border-bottom: 1px solid var(--line); }
	.site-nav__list a { padding: 1rem 0; font-size: 1.75rem; letter-spacing: -0.02em; }
	.site-nav__list a::after { left: 0; bottom: 0.55rem; width: 3rem; transform: scaleX(0); transform-origin: left; }
	.site-nav__list a:hover::after,
	.site-nav__list .current-menu-item > a::after { transform: scaleX(1); }
	.site-nav__phone { font-size: 1.125rem; padding: 0.9rem 1.4rem; }
	.site-nav__lang { font-size: 1.125rem; }
}

/* ---------- Hero (front page) ---------- */

.hero {
	position: relative; overflow: hidden;
	background: var(--ink); color: var(--white);
	--smile: var(--teal-light);
}
.hero__inner {
	width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto;
	min-height: min(78vh, 720px);
	display: grid; align-items: center;
}
.hero__text {
	position: relative; z-index: 2; max-width: 36rem;
	padding-block: clamp(4rem, 9vw, 7rem);
	animation: rise 0.9s var(--ease) both;
}
.hero__title {
	font-size: clamp(2.75rem, 1.4rem + 5vw, 5.4rem);
	line-height: 1.02; letter-spacing: -0.04em;
	margin-bottom: 1.75rem;
}
.hero__lede { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, 0.78); max-width: 30rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin: 2.5rem 0 0; }

/* The photo's black background turns into the brand's dark grey: "lighten" keeps whichever is lighter. */
.hero__media {
	position: absolute; z-index: 1; inset: 0 0 0 auto; width: 64%;
	background: var(--ink);
	animation: fade 1.4s var(--ease) both 0.15s;
}
.hero__img {
	width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
	mix-blend-mode: lighten;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%);
	mask-image: linear-gradient(90deg, transparent 0, #000 30%);
}

@media (max-width: 899px) {
	.hero__inner { min-height: 0; }
	.hero__text { padding-bottom: 1rem; }
	.hero__media { position: relative; width: auto; margin: 0 calc(-1 * var(--gutter)); aspect-ratio: 16 / 10; }
	.hero__img { object-position: 52% 60%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 25%); mask-image: linear-gradient(180deg, transparent 0, #000 25%); }
}

/* "brosið" in the title gets the smile, drawn in from the left. */
.smile-word { position: relative; display: inline-block; white-space: nowrap; }
.smile-word__arc {
	position: absolute; left: 6%; top: 100%; width: 88%; height: 0.2em; margin-top: -0.02em;
	color: var(--smile);
	clip-path: inset(0 100% 0 0);
	animation: draw 1.1s var(--ease) forwards 0.55s;
}

@keyframes draw { to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section--tint { background: var(--tint); }
.section-title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); letter-spacing: -0.035em; line-height: 1.05; margin: 0; }
.section-head {
	display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 2rem;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head .eyebrow { grid-column: 1 / -1; }
@media (max-width: 599px) {
	.section-head { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* Front page intro: the welcome text on the left, the turnaround card on the right. */
.home-intro__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 clamp(2.5rem, 7vw, 6.5rem); align-items: start; }
.home-intro__grid > * { grid-column: 1; }
.home-intro__grid > p:first-child { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem); line-height: 1.5; letter-spacing: -0.012em; }
.home-intro__grid > .afgreidslutimi { grid-column: 2; grid-row: 1 / span 20; }
@media (max-width: 899px) {
	.home-intro__grid { grid-template-columns: 1fr; }
	.home-intro__grid > .afgreidslutimi { grid-column: 1; grid-row: auto; margin-top: 2.5rem; }
}

.afgreidslutimi {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	padding: clamp(1.75rem, 3.5vw, 2.75rem);
}
.afgreidslutimi h3 { font-size: 1.125rem; letter-spacing: -0.01em; margin-bottom: 1.5rem; }
.afgreidslutimi ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.afgreidslutimi li {
	padding: 1.15rem 0; border-top: 1px solid var(--line);
	font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2;
}
.afgreidslutimi li strong {
	display: block; margin-bottom: 0.4rem;
	font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-deep);
}
.afgreidslutimi p:last-child { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }
.afgreidslutimi em { font-style: normal; }

/* Front page list of materials. */
.material-index {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4.5rem);
}
.material-index a {
	display: grid; grid-template-columns: 2.75rem 1fr; gap: 0.2rem 0.5rem;
	padding: 1.5rem 0; border-top: 1px solid var(--line);
	color: var(--ink); text-decoration: none; height: 100%;
}
.material-index__num { grid-row: span 2; padding-top: 0.45rem; font-size: 0.8125rem; font-weight: 600; color: var(--teal-deep); font-variant-numeric: tabular-nums; }
.material-index__name { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; transition: color 0.25s; }
.material-index__text {
	color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.55;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.material-index a:hover .material-index__name { color: var(--teal-deep); }
@media (max-width: 699px) { .material-index { grid-template-columns: 1fr; } }

/* Text beside media. */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split__text .section-title { margin-bottom: 1.25rem; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } }

/* ---------- Before / after ---------- */

.fyrir-eftir { margin: 0; }
.fyrir-eftir:not(.is-compare) { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.fyrir-eftir:not(.is-compare) > p { grid-column: 1 / -1; }
.fyrir-eftir figure { margin: 0; }
.fyrir-eftir figure img { border-radius: 12px; width: 100%; }
.fyrir-eftir > p { margin: 1rem 0 0; color: var(--ink-soft); font-size: 0.9375rem; }

.compare {
	--pos: 50%;
	position: relative; overflow: hidden; isolation: isolate;
	aspect-ratio: 425 / 267; border-radius: var(--radius);
	background: var(--ink);
	cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.compare__after, .compare__before { position: absolute; inset: 0; }
.compare img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle {
	position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
	background: var(--white); box-shadow: 0 0 0 0.5px rgba(31, 45, 45, 0.2);
}
.compare__handle span {
	position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; translate: -50% -50%;
	border-radius: 50%; background: var(--white); box-shadow: 0 6px 20px rgba(31, 45, 45, 0.25);
	transition: scale 0.25s var(--ease);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 46'%3E%3Cpath d='M18 17l-6 6 6 6M28 17l6 6-6 6' fill='none' stroke='%231f2d2d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.compare.is-dragging .compare__handle span { scale: 1.08; }
.compare__label {
	position: absolute; top: 1rem; padding: 0.3rem 0.7rem; border-radius: 999px;
	background: rgba(31, 45, 45, 0.62); color: var(--white);
	font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.compare__label--before { left: 1rem; }
.compare__label--after { right: 1rem; }
.compare__range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.compare:has(.compare__range:focus-visible) { outline: 2px solid var(--teal-deep); outline-offset: 3px; }

.before-after-page { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); padding-bottom: var(--section); }
@media (max-width: 799px) { .before-after-page { grid-template-columns: 1fr; } }

/* ---------- Page header and text ---------- */

.page-header { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-title { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); letter-spacing: -0.04em; line-height: 1.02; margin: 0; }
.page-header__smile { width: clamp(64px, 7vw, 92px); margin-top: 1.25rem; color: var(--teal); }
.page-lede { margin: 1.75rem 0 0; max-width: 40rem; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.55; color: var(--ink-soft); }

.page-body { padding-bottom: var(--section); }
.page-body > p:first-child { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem); line-height: 1.5; letter-spacing: -0.012em; }

.entry h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -0.03em; margin-top: 2em; }
.entry h3 { font-size: 1.3rem; margin-top: 1.8em; }
.entry > :first-child { margin-top: 0; }
.entry ul, .entry ol { padding-left: 1.25em; margin: 0 0 1.25em; }
.entry li { margin-bottom: 0.35em; }
.entry figure { margin: 2rem 0; }
.entry img { border-radius: 12px; }

/* "Tenglar": the links as a list of rows. */
.entry ul.tenglar { list-style: none; padding: 0; border-bottom: 1px solid var(--line); }
.entry ul.tenglar li { margin: 0; border-top: 1px solid var(--line); }
.entry ul.tenglar a {
	display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	padding: 1.15rem 0; color: var(--ink); text-decoration: none;
	font-size: clamp(1.15rem, 1rem + 0.5vw, 1.375rem); font-weight: 500; letter-spacing: -0.015em;
}
.entry ul.tenglar a::after { content: "↗"; color: var(--teal-deep); transition: transform 0.3s var(--ease); }
.entry ul.tenglar a:hover { color: var(--teal-deep); }
.entry ul.tenglar a:hover::after { transform: translate(3px, -3px); }

/* ---------- Materials page ---------- */

.materials { list-style: none; margin: 0; padding: 0 0 var(--section); border-bottom: 0; }
.material {
	display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.5fr); gap: 0.75rem clamp(1.5rem, 4vw, 4rem);
	padding: clamp(1.75rem, 3.5vw, 2.5rem) 0; border-top: 1px solid var(--line);
}
.material:target { background: linear-gradient(90deg, var(--tint), transparent); }
.material__num { padding-top: 0.55rem; font-size: 0.8125rem; font-weight: 600; color: var(--teal-deep); font-variant-numeric: tabular-nums; }
.material__name { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; margin: 0; }
.material__text { color: var(--ink-soft); }
.material__text p:last-child { margin-bottom: 0; }
@media (max-width: 799px) {
	.material { grid-template-columns: 2.75rem minmax(0, 1fr); }
	.material__text { grid-column: 2; }
}

/* ---------- People ---------- */

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4.5rem); padding-bottom: var(--section); }
.people--compact { padding-bottom: 0; }
.person__photo {
	position: relative; overflow: hidden; aspect-ratio: 6 / 5;
	background: var(--white);
	/* The bottom edge curves like the logo's smile. */
	border-radius: var(--radius) var(--radius) 50% 50% / var(--radius) var(--radius) 16% 16%;
	margin-bottom: 1.75rem;
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; }
.person__initials { position: absolute; inset: 0; display: grid; place-items: center; font-size: 5rem; font-weight: 500; color: var(--teal); }
.person__name { font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.875rem); letter-spacing: -0.03em; margin: 0 0 0.3rem; }
.person__role { margin: 0 0 1.25rem; font-weight: 500; color: var(--teal-deep); }
.person__bio { color: var(--ink-soft); }
.people--compact .person { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 1.75rem; align-items: center; }
.people--compact .person__photo { margin: 0; aspect-ratio: 1; }
@media (max-width: 899px) {
	.people { grid-template-columns: 1fr; }
	.people--compact .person { grid-template-columns: 9rem 1fr; gap: 1.25rem; }
}

/* ---------- Contact page ---------- */

.contact { padding-bottom: var(--section); }
.contact__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(2rem, 4vw, 3.5rem); margin: 0; }
.contact__list > div { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.contact__list dt { margin-bottom: 0.75rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-deep); }
.contact__list dd { margin: 0; display: grid; gap: 1rem; justify-items: start; }
.contact__big { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.3; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.contact__big:hover { color: var(--teal-deep); }
.contact__text { margin-top: 3rem; max-width: 44rem; }
@media (max-width: 899px) { .contact__list { grid-template-columns: 1fr; } }

/* ---------- Contact band and footer ---------- */

.contact-band { background: var(--ink); color: var(--white); padding-block: clamp(4rem, 9vw, 7rem); --smile: var(--teal-light); }
.contact-band__inner { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: end; }
.contact-band__smile { width: 64px; color: var(--teal-light); margin-bottom: 1.5rem; }
.contact-band__title { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); letter-spacing: -0.04em; line-height: 1; margin-bottom: 1rem; }
.contact-band__text { margin: 0; color: rgba(255, 255, 255, 0.72); }
.contact-band__links { display: grid; gap: 0.5rem; justify-items: start; }
.contact-band__big {
	font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1;
	color: var(--white); text-decoration: none; font-variant-numeric: tabular-nums;
}
.contact-band__big:hover { color: var(--teal-light); }
.contact-band__mail { color: rgba(255, 255, 255, 0.85); margin-bottom: 0.75rem; }
.contact-band__mail:hover { color: var(--teal-light); }
@media (max-width: 799px) { .contact-band__inner { grid-template-columns: 1fr; } }

.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); --smile: var(--teal-light); font-size: 0.9375rem; }
.contact-band + .site-footer .site-footer__inner { border-top: 1px solid var(--line-dark); }
.site-footer__inner { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.site-footer__logo { display: inline-block; color: var(--white); margin-bottom: 2.5rem; }
.site-footer__logo svg { width: 150px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.site-footer__col { margin: 0; font-style: normal; line-height: 1.75; }
.site-footer strong { color: var(--white); font-weight: 500; }
.site-footer a { color: rgba(255, 255, 255, 0.88); }
.site-footer a:hover { color: var(--teal-light); }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list a { text-decoration: none; }
.site-footer__small { display: flex; justify-content: space-between; gap: 1rem; margin: 3rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5); }
@media (max-width: 699px) { .site-footer__cols { grid-template-columns: 1fr; } }
.site-footer__small .site-footer__lang { color: rgba(255, 255, 255, 0.72); }

.page-header--404 { padding-bottom: var(--section); }
