/* Gali Adivi — main stylesheet (tokens.css is loaded before this file).
   Ported from design/css/design.css. Mobile-first:
     base 390px mockups  →  ≥760px two-column grids  →  ≥900px desktop hero / split layouts  →  ≥1100px full desktop (1280 mockups).
   Spacing between those is fluid (clamp), so there is no jump in between.
   RTL: logical properties only; text is always right-aligned, never justified. */

/* ───────────────────────── 1. base ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--ground, var(--cream));
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16.5px;
	line-height: 1.55;
	text-align: right;
	overflow-x: hidden;
	--gutter: clamp(24px, 6.25vw, 80px);
	--sec-top: clamp(30px, 4.4vw, 56px);
	--sec-bottom: clamp(34px, 5vw, 64px);
}
.world-cpl { --ink: #3b3340; }
body.is-home { --gutter: clamp(24px, 5vw, 64px); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; text-wrap: balance; margin: 0; }
p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
svg.ic { display: block; width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
.deep :focus-visible, .contact :focus-visible, .world:focus-visible { outline-color: #fff; }
main:focus { outline: none; }
main, .site-header { overflow-x: clip; }

.sr-only { 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; inset-inline-start: -9999px; top: 12px; z-index: 100; background: var(--paper); color: var(--head); padding: 10px 16px; border-radius: 999px; font-family: var(--font-head); }
.skip-link:focus { inset-inline-start: 16px; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* mockup differences between mobile and desktop */
@media (min-width: 900px) { .only-m { display: none !important; } }
@media (max-width: 899.98px) { .only-d { display: none !important; } }

/* ───────────────────────── 2. layout ───────────────────────── */
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); position: relative; }
.sec { padding-block: var(--sec-top) var(--sec-bottom); position: relative; }
.sec--tight { padding-top: 8px; }

.deep { background: var(--deep); color: var(--on-deep); position: relative; overflow: hidden; }
.light { position: relative; }
.deep .h2, .deep h2 { color: #fff; }

.wave { line-height: 0; display: block; }
.wave svg { display: block; width: 100%; height: var(--wave-h); }
.wave--flip svg { transform: scaleX(-1); }
@media (max-width: 899.98px) { .wave--flip-m svg { transform: scaleX(-1); } }

.swirl { position: absolute; pointer-events: none; width: 440px; height: 300px; }
.swirl--a { right: -90px; top: 20px; }
.swirl--b { left: -120px; top: 60px; }
@media (min-width: 900px) {
	.swirl { width: 760px; height: 520px; }
	.swirl--a { right: -160px; top: 40px; }
	.swirl--b { left: -200px; top: 80px; }
}

.blob { position: absolute; display: block; pointer-events: none; }
.corner { width: 120px; height: 120px; left: -26px; top: -6px; transform: rotate(15deg); }
@media (min-width: 900px) { .corner { width: 180px; height: 180px; left: -40px; top: -20px; } }

/* ───────────────────────── 3. typography ───────────────────────── */
.h2 { font-size: clamp(27px, 2vw + 19px, 36px); line-height: 1.28; color: var(--head); }
.lead { font-size: 17.5px; font-weight: 600; }
.quote { font-family: var(--font-head); font-size: clamp(21px, .5vw + 19px, 24px); line-height: 1.45; text-wrap: balance; color: #fff; max-width: 40ch; }
.quote--head { color: var(--head); }
.sub { margin-top: 10px; font-size: 17px; font-weight: 600; opacity: .9; }
.note { font-size: 16px; max-width: 66ch; }
.note--top { margin-top: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 12.5px; letter-spacing: .12em; color: var(--plum); margin-bottom: 8px; }
.eyebrow svg, .btn svg, .menu__panel svg, .contact__details svg, .tag svg, .more svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (min-width: 1100px) { .sec p:not([class]), .about__text p, .band__text p { max-width: 66ch; } }

/* ───────────────────────── 4. components ───────────────────────── */
/* logo: name + three small shapes (leaf / drop / dot) */
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 500; font-size: 22px; line-height: 1; color: var(--head); text-decoration: none; }
.is-home .logo { color: var(--plum); }
.logo__dots { display: flex; gap: 3px; align-items: flex-end; }
.logo__dots i { display: block; border-radius: 50%; }
.logo__dots i:nth-child(1) { width: 8px; height: 11px; background: var(--plum); border-radius: 50% 50% 50% 20%; }
.logo__dots i:nth-child(2) { width: 9px; height: 8px; background: var(--mauve); border-radius: 60% 40% 50% 50%; margin-bottom: 5px; }
.logo__dots i:nth-child(3) { width: 7px; height: 7px; background: var(--brown); }

/* buttons: pill, world deep colour, arrow on the left (end in RTL) */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--deep); color: var(--on-deep); font-family: var(--font-head); font-size: 14px; line-height: 1; padding: 13px 24px; border-radius: var(--radius-pill); text-decoration: none; border: 0; cursor: pointer; transition: filter .15s ease, transform .15s ease; }
.btn:hover { filter: brightness(.94); }
.btn:active { transform: translateY(1px); }
.btn--sm { font-size: 12.5px; padding: 10px 16px; }
.btn--brown { background: var(--brown); color: #f1ebe4; }
.btn--light { background: var(--paper); color: var(--head); }

/* icon bubble */
.ico { flex: none; width: 48px; height: 48px; border-radius: 50% 50% 46% 54% / 56% 44% 56% 44%; background: var(--paper); color: var(--head); display: flex; align-items: center; justify-content: center; }
.ico--pop { background: var(--pop); color: #fff; }

/* blob image */
.blobimg { overflow: hidden; background: var(--card); border-radius: 58% 42% 40% 60% / 62% 52% 48% 38%; }
.blobimg img { width: 100%; height: 100%; object-fit: cover; }

/* cards */
.cards { list-style: none; display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px; position: relative; }
@media (min-width: 760px) {
	.cards { gap: 16px; margin-top: 26px; }
	.cards--2, .cards--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); color: var(--ink); border-radius: var(--radius-card); padding: 20px 22px 22px; font-size: 16px; line-height: 1.5; }
@media (min-width: 900px) { .card { padding: 24px 26px; } }
.card h3 { font-size: 20px; line-height: 1.3; color: var(--head); margin-bottom: 8px; }
.card p { font-size: 15.5px; }
.card__head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.card__head h3 { margin: 0; }
.card--pain { display: flex; gap: 12px; align-items: center; padding: 14px 20px 14px 16px; border-radius: 26px; }
.card--pain .ico { width: 42px; height: 42px; }
@media (min-width: 900px) { .card--pain { padding: 24px 26px; border-radius: var(--radius-card); } }
.card--pain .ico svg { width: 22px; height: 22px; }
.card--way .card__head { gap: 10px; margin-bottom: 8px; }
.num { flex: none; display: inline-block; font-family: var(--font-head); font-size: 13px; letter-spacing: .08em; color: var(--head); background: var(--paper); border-radius: 999px; padding: 1px 11px; font-variant-numeric: tabular-nums; }

/* bullets: small drop shapes */
.bul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bul li { display: flex; gap: 11px; align-items: baseline; font-size: 16px; line-height: 1.45; }
.bul li::before { content: ''; flex: none; width: 6px; height: 5px; border-radius: 60% 40% 55% 45%; background: var(--pop); transform: translateY(-2px); }

/* stats */
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; max-width: 520px; }
.stat { background: var(--paper); border-radius: 22px; padding: 14px 8px; text-align: center; color: var(--head); }
.stat b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 22px; line-height: 1.1; margin-bottom: 4px; }
.stat span { font-size: 12px; line-height: 1.3; display: block; color: var(--ink); }
.stat .ico { width: 36px; height: 36px; margin: 0 auto 8px; }
.stat .ico svg { width: 20px; height: 20px; }
.stats--plain { margin-top: 18px; max-width: 460px; }
.stats--plain .stat { background: var(--sky-xl); color: var(--brown); padding: 12px 8px; }
.stats--plain .stat b { font-size: 20px; margin-bottom: 3px; }
@media (min-width: 900px) { .stats--plain { margin-top: 24px; } }

/* who: small portrait + name / heading */
.who { display: flex; gap: 14px; align-items: center; }
.who__img { flex: none; width: 84px; height: 92px; border-radius: 50% 50% 44% 56% / 58% 42% 58% 42%; }
.who__name { font-family: var(--font-head); font-weight: 500; font-size: 20px; color: var(--head); }
.who--h2 .who__img { width: 68px; height: 74px; }
.who--h2 .h2 { font-size: 24px; }
@media (min-width: 900px) {
	.who--h2 .who__img { width: 84px; height: 92px; }
	.who--h2 .h2 { font-size: clamp(27px, 2vw + 19px, 36px); }
}

/* carousel (mobile) → grid (≥760) */
.slider-wrap { position: relative; }
.slider { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 22px 0 6px; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); scroll-padding-inline-start: var(--gutter); overscroll-behavior-x: contain; }
.slider::-webkit-scrollbar { display: none; }
.slider::after { content: ''; flex: none; width: 12px; }
.slider .card { flex: none; width: 266px; scroll-snap-align: start; border-radius: 34px; padding: 22px 22px 24px; }
.slider .card:first-child { margin-inline-start: var(--gutter); }
.card--why h3 { font-size: 19.5px; margin: 10px 0 8px; }
.dots { display: flex; gap: 6px; justify-content: center; padding: 14px 0 6px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--card); display: block; transition: width .2s ease, background .2s ease; }
.dots i.on { background: var(--head); width: 20px; border-radius: 4px; }
@media (min-width: 760px) {
	.slider { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; overflow: visible; margin-inline: 0; padding: 26px 0 0; }
	.slider::after { display: none; }
	.slider .card { width: auto; border-radius: var(--radius-card); padding: 24px 26px; }
	.slider .card:first-child { margin-inline-start: 0; }
	.card--why h3 { font-size: 20px; margin: 12px 0 8px; }
	.dots { display: none; }
}
@media (min-width: 1100px) {
	.slider--3 { grid-template-columns: repeat(3, 1fr); }
	.slider--4 { grid-template-columns: repeat(4, 1fr); }
}
.duo-img { margin-top: 18px; height: 240px; border-radius: 46% 54% 50% 50% / 44% 56% 44% 56%; }

/* tag pill + meta + read more */
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 12px; letter-spacing: .08em; color: var(--head); background: var(--paper); border-radius: 999px; padding: 3px 11px; align-self: flex-start; text-decoration: none; }
.tag svg { width: 13px; height: 13px; }
.meta { font-size: 13px; color: var(--stone); display: flex; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--head); font-family: var(--font-head); font-size: 14px; text-decoration: none; }
.more svg { width: 14px; height: 14px; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ───────────────────────── 5. header + menu ───────────────────────── */
.site-header { position: relative; z-index: 20; }
.site-header__in { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 18px 6px; }
.site-header__actions { display: flex; gap: 8px; align-items: center; }
.d-nav { display: none; }
.d-nav ul { list-style: none; display: flex; gap: 28px; font-size: 15px; }
.d-nav a { color: var(--head); text-decoration: none; }
.is-home .d-nav ul { gap: 26px; font-size: 14.5px; }
.is-home .d-nav a { color: var(--brown); }
.d-nav a:hover, .d-nav .current-menu-item > a { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
@media (min-width: 1000px) {
	.d-nav { display: block; }
	.menu { display: none; }
	.site-header__in { padding-block: 26px 10px; }
	.is-home .site-header__in { padding-block: 28px; }
}

.menu { position: relative; }
.menu__btn { cursor: pointer; width: 42px; height: 42px; border-radius: 50%; border: 0; padding: 0; background: var(--paper); display: flex; align-items: center; justify-content: center; color: var(--head); }
.menu__btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; }
.menu__panel { position: absolute; inset-inline-end: 0; top: 52px; z-index: 30; background: var(--paper); border-radius: 22px; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; min-width: 210px; box-shadow: 0 14px 36px rgba(40, 35, 30, .18); }
.menu__panel[hidden] { display: none; }
.menu__panel a { display: flex; align-items: center; gap: 10px; color: var(--head); text-decoration: none; font-size: 16px; line-height: 1.2; font-family: var(--font-head); padding-block: 2px; }
.menu__panel a svg { width: 18px; height: 18px; opacity: .8; }

/* ───────────────────────── 6. world hero + blob stage ───────────────────────── */
.hero { padding-top: 20px; }
.hero h1 { font-weight: 500; font-size: clamp(27px, 3.1vw + 15px, 46px); line-height: 1.28; color: var(--head); margin-bottom: 10px; }
.hero__tag { font-size: 13px; line-height: 1.5; color: var(--head); margin-bottom: 16px; }

/* Stage: blobs + image positioned on the mockup's own grid, scaled with the box (1 unit = 1 mockup px). */
.stage { position: relative; container-type: inline-size; }
.stage > * { position: absolute; display: block; }
.stage--world { --u: calc(100cqw / 390); aspect-ratio: 390 / 290; width: min(480px, calc(100% + 2 * var(--gutter))); margin-inline: max(calc(-1 * var(--gutter)), calc((100% - 480px) / 2)); margin-top: 4px; }
.stage--world .stage__a { left: calc(34 * var(--u)); top: calc(44 * var(--u)); width: calc(128 * var(--u)); height: calc(128 * var(--u)); transform: rotate(-12deg); }
.stage--world .stage__b { right: calc(30 * var(--u)); top: 0; width: calc(84 * var(--u)); height: calc(84 * var(--u)); transform: rotate(20deg); }
.stage--world .stage__img { right: calc(46 * var(--u)); top: calc(14 * var(--u)); width: calc(236 * var(--u)); height: calc(268 * var(--u)); }
.stage--world .stage__c { left: calc(70 * var(--u)); bottom: calc(-34 * var(--u)); width: calc(96 * var(--u)); height: calc(96 * var(--u)); transform: rotate(40deg); }

@media (min-width: 900px) {
	.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-block: 28px 40px; }
	.hero h1 { line-height: 1.15; margin: 14px 0 16px; }
	.hero__tag { font-size: 15px; margin-bottom: 26px; }
	.stage--world { --u: calc(100cqw / 536); aspect-ratio: 536 / 470; width: 100%; margin: 0; }
	.stage--world .stage__a { left: calc(30 * var(--u)); top: calc(40 * var(--u)); width: calc(190 * var(--u)); height: calc(190 * var(--u)); }
	.stage--world .stage__b { right: calc(40 * var(--u)); top: calc(-10 * var(--u)); width: calc(120 * var(--u)); height: calc(120 * var(--u)); }
	.stage--world .stage__img { right: calc(70 * var(--u)); top: calc(10 * var(--u)); width: calc(380 * var(--u)); height: calc(440 * var(--u)); }
	.stage--world .stage__c { left: calc(70 * var(--u)); bottom: calc(-20 * var(--u)); width: calc(130 * var(--u)); height: calc(130 * var(--u)); }
}

/* ───────────────────────── 7. world sections ───────────────────────── */
.about { display: grid; gap: 16px; padding-top: 20px; }
.about__text { display: flex; flex-direction: column; gap: 16px; }
.about__text .stats { margin-top: 6px; }
.about__img { width: 100%; height: 230px; border-radius: 44% 56% 40% 60% / 38% 42% 58% 62%; margin-top: 14px; }
@media (min-width: 900px) {
	.about { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; padding-top: var(--sec-top); }
	.about__img { height: 420px; margin-top: 0; }
}

.split { display: grid; gap: 24px; margin-top: 20px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 28px; align-items: start; } }

.closing { padding-top: 10px; }
.closing__text .quote { margin-bottom: 22px; }
.closing__text .who { margin-bottom: 18px; }
@media (min-width: 900px) {
	.closing { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding-top: 16px; }
	.closing__img { width: 260px; height: 300px; border-radius: 50% 50% 44% 56% / 58% 42% 58% 42%; }
	.closing__text .quote { font-size: 28px; max-width: 30ch; margin-bottom: 24px; }
}

.band { display: grid; gap: 18px; padding-top: 18px; }
.band__img { width: 100%; height: 220px; border-radius: 44% 56% 40% 60% / 38% 42% 58% 62%; }
.band__text .h2 { font-size: 24px; margin-bottom: 10px; }
.band__text p + p { margin-top: 12px; }
@media (min-width: 900px) {
	.band { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding-top: var(--sec-top); }
	.band__img { height: 380px; }
	.band__text .h2 { font-size: clamp(27px, 2vw + 19px, 36px); margin-bottom: 14px; }
}

/* ───────────────────────── 8. home ───────────────────────── */
.is-home main { position: relative; }
.home-deco { position: absolute; inset: 0 0 auto; height: 0; z-index: 0; }
.home-deco__a { right: -70px; top: -60px; width: 180px; height: 180px; transform: rotate(15deg); }
.home-deco__b { left: -60px; top: 120px; width: 180px; height: 180px; transform: rotate(-20deg); opacity: .9; }
.is-home .site-header { overflow: visible; }
@media (min-width: 900px) { .home-deco__a { right: -80px; top: -90px; width: 260px; height: 260px; opacity: .9; } }
.is-home .site-header, .home-hero, .worlds { position: relative; z-index: 1; }

.home-hero { padding-top: 14px; }
.home-hero__head { display: flex; gap: 14px; align-items: center; }
.home-hero__face { flex: none; width: 104px; height: 116px; border-radius: 50% 50% 44% 56% / 58% 42% 58% 42%; background: var(--sky-xl); }
.home-hero h1 { font-weight: 500; font-size: 25px; line-height: 1.22; color: var(--brown); margin-top: 6px; }
.home-hero__about { padding-top: 18px; }
.home-hero__lead { font-weight: 600; font-size: 17.5px; color: var(--plum); margin-bottom: 10px; }
.stage--home { --u: calc(100cqw / 548); aspect-ratio: 548 / 420; }
.stage--home .stage__a { left: calc(40 * var(--u)); top: calc(30 * var(--u)); width: calc(150 * var(--u)); height: calc(150 * var(--u)); transform: rotate(-12deg); }
.stage--home .stage__c { right: calc(40 * var(--u)); bottom: 0; width: calc(110 * var(--u)); height: calc(110 * var(--u)); transform: rotate(40deg); }
.stage--home .stage__img { right: calc(80 * var(--u)); top: 0; width: calc(340 * var(--u)); height: calc(400 * var(--u)); background: var(--sky-xl); }
@media (min-width: 900px) {
	.home-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: 28px 40px; }
	.home-hero h1 { font-size: clamp(34px, 2.4vw + 15px, 46px); line-height: 1.15; margin: 14px 0 18px; }
	.home-hero__about { padding-top: 0; }
	.home-hero__lead { margin-bottom: 12px; }
	.home-hero__body { max-width: 56ch; }
}

.worlds { display: grid; gap: 14px; padding-top: 26px; }
@media (min-width: 760px) { .worlds { grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); } }
@media (min-width: 900px) { .worlds { padding-top: 0; padding-bottom: 56px; } }
.world { position: relative; overflow: hidden; display: block; text-decoration: none; color: var(--ink); height: 300px; border-radius: 34px; isolation: isolate; }
@media (min-width: 900px) { .world { height: 340px; } }
.world__bg { position: absolute; inset: 0; }
.world__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.world:hover .world__bg img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .world__bg img { transition: none; } }
.world__tint { position: absolute; inset: 0; }
.world--org .world__tint { background: linear-gradient(to top, rgba(132, 153, 177, .96) 0%, rgba(132, 153, 177, .72) 45%, rgba(165, 196, 212, .35) 100%); }
.world--cpl .world__tint { background: linear-gradient(to top, rgba(123, 109, 141, .96) 0%, rgba(123, 109, 141, .72) 45%, rgba(217, 210, 224, .35) 100%); }
.world__t { position: absolute; right: 22px; left: 22px; bottom: 22px; color: #fff; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.world__t h2 { font-size: 26px; line-height: 1.15; color: #fff; }
.world__text { font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .9); }
.world__t .btn { margin-top: 4px; }
.world--org .ico { color: var(--brown); }
.world--org .btn--light { color: var(--brown); }
.world--cpl .ico, .world--cpl .btn--light { color: var(--plum); }
.world .ico svg { width: 26px; height: 26px; }

/* ───────────────────────── 9. contact section + form ───────────────────────── */
.contact { position: relative; overflow: hidden; background: var(--deep); color: var(--on-deep); }
.contact--home { background: var(--brown); color: #f1ebe4; }
.contact__grid { display: grid; gap: 10px; padding-top: 12px; padding-bottom: 28px; grid-template-areas: "head" "form" "details"; }
.contact__head { grid-area: head; display: flex; flex-direction: column; padding-top: 18px; }
.contact__head:has(.contact__intro) { padding-top: 0; }
.contact__intro { order: -2; margin-bottom: 14px; }
.contact__quote { order: -1; margin-bottom: 22px; }
.contact__title { font-family: var(--font-head); font-size: 24px; line-height: 1.25; color: #fff; margin-bottom: 4px; }
.contact__sub { font-size: 15px; opacity: .9; }
.contact__form { grid-area: form; }
.contact__details { grid-area: details; display: flex; flex-direction: column; gap: 10px; font-size: 14px; margin-top: 8px; }
.contact__details a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; align-self: flex-start; }
.contact__details a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.contact__details svg { width: 18px; height: 18px; }
.contact--home .contact__grid { padding-top: 6px; padding-bottom: 26px; }
.contact--home .contact__details { flex-direction: row; justify-content: space-between; flex-wrap: wrap; font-size: 13.5px; }
.contact--home .contact__details svg { width: 16px; height: 16px; }
@media (min-width: 900px) {
	.contact__grid { grid-template-columns: 1fr 1.15fr; grid-template-areas: "head form" "details form"; column-gap: 72px; row-gap: 22px; align-items: start; grid-template-rows: auto 1fr; padding-top: 28px; padding-bottom: var(--sec-bottom); }
	.contact__title { font-size: 32px; }
	.contact__sub { max-width: 42ch; }
	.contact__quote { order: 0; margin: 14px 0 6px; }
	.contact__details { margin-top: 0; }
	.contact--home .contact__grid { grid-template-columns: 1fr 1.2fr; column-gap: 64px; padding-top: 34px; padding-bottom: 36px; }
	.contact--home .contact__head { gap: 10px; }
	.contact--home .contact__title { margin-bottom: 0; }
	.contact--home .contact__sub { max-width: 40ch; }
	.contact--home .contact__details { flex-direction: column; font-size: 15px; }
}

.form { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 6px; }
@media (max-width: 899.98px) { .contact .form { margin-top: 0; } }
@media (min-width: 900px) { .form { margin: 0; } .contact__head { padding-top: 0; } }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form input, .form textarea { width: 100%; border: 0; border-radius: var(--radius-field); padding: 13px 16px; font: inherit; font-size: 15px; line-height: 1.4; background: var(--paper); color: var(--ink); text-align: right; }
.form textarea { min-height: 96px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: var(--stone); opacity: 1; }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--brown); outline-offset: 2px; }
.btn--submit { justify-content: center; width: 100%; background: var(--brown); color: #fff; }
.contact--home .btn--submit { background: var(--slate); }
.btn--submit[disabled] { opacity: .7; cursor: progress; }
.form-msg { border-radius: var(--radius-field); font-size: 15px; }
.form-msg[hidden] { display: none; }
.form-msg--err { background: rgba(255, 255, 255, .92); color: var(--brown); padding: 10px 16px; }
.form-msg--ok { background: var(--paper); color: var(--head); padding: 22px 24px; font-family: var(--font-head); font-size: 19px; line-height: 1.4; margin: 18px 0 6px; }
@media (min-width: 900px) { .form-msg--ok { margin: 0; } }

/* footer line: same colour as the contact section above it */
.site-footer { background: var(--deep); color: var(--on-deep); }
.is-home .site-footer { background: var(--brown); color: #f1ebe4; }
.site-footer__in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 0 22px; font-size: 13px; opacity: .85; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ───────────────────────── 10. blog ───────────────────────── */
.hero--blog { padding-bottom: 10px; }
.hero--blog .hero__tag { margin-bottom: 0; }
@media (min-width: 900px) { .hero--blog { grid-template-columns: 1fr auto; padding-bottom: 10px; } }
.blog-deco { position: relative; width: 260px; height: 200px; }
.blog-deco__a { right: 0; top: 0; width: 160px; height: 160px; transform: rotate(15deg); }
.blog-deco__b { left: 10px; bottom: 0; width: 110px; height: 110px; transform: rotate(-20deg); }
.blog-deco__c { left: 90px; top: 20px; width: 70px; height: 70px; transform: rotate(40deg); }
.sec--posts { padding-top: 30px; }
@media (min-width: 900px) { .sec--posts { padding-top: 10px; } }

.posts-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: var(--card); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.post-card__img { display: block; height: 170px; position: relative; overflow: hidden; background: var(--card); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .post-card__img { height: 220px; } }
.post-card__ph { width: 70%; height: 140%; left: 15%; top: -20%; opacity: .7; }
.post-card__b { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__title { font-size: 20px; line-height: 1.3; color: var(--head); }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.post-card__ex { font-size: 15.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .more { margin-top: auto; }
.empty { color: var(--stone); }

.pagination { margin-top: 28px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pagination .page-numbers { font-family: var(--font-head); font-size: 14px; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; background: var(--paper); color: var(--head); }
.pagination .page-numbers.current { background: var(--deep); color: var(--on-deep); }
.pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* single post / generic page */
.single__head { padding-top: 20px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.single__head h1 { font-weight: 500; font-size: clamp(27px, 3.1vw + 15px, 46px); line-height: 1.2; color: var(--head); max-width: 24ch; }
@media (min-width: 900px) { .single__head { padding-top: 28px; } }
.single__cover { margin-top: 24px; border-radius: 34px; overflow: hidden; aspect-ratio: 16 / 9; max-height: 560px; background: var(--card); }
.single__cover img { width: 100%; height: 100%; object-fit: cover; }
.single__nav { padding-bottom: var(--sec-bottom); }
.not-found h1 { font-size: clamp(27px, 3.1vw + 15px, 46px); color: var(--head); margin-bottom: 12px; }

.prose { font-size: 17px; line-height: 1.7; }
.prose > * { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(23px, 1vw + 19px, 28px); line-height: 1.3; color: var(--head); margin-top: 1.6em; }
.prose h3 { font-size: 20px; line-height: 1.3; color: var(--head); margin-top: 1.4em; }
.prose a { color: var(--head); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: .35em; }
.prose ul { list-style: none; padding-inline-start: 0; }
.prose ul li { display: flex; gap: 11px; align-items: baseline; }
.prose ul li::before { content: ''; flex: none; width: 6px; height: 5px; border-radius: 60% 40% 55% 45%; background: var(--pop); transform: translateY(-3px); }
.prose blockquote { font-family: var(--font-head); font-size: clamp(20px, .5vw + 18px, 23px); line-height: 1.45; color: var(--head); border-inline-start: 3px solid var(--blobA); padding-inline-start: 18px; }
.prose img, .prose figure { border-radius: 24px; }
.prose figure img { border-radius: 24px; }
.prose figcaption { font-size: 13px; color: var(--stone); margin-top: 6px; }
.prose hr { border: 0; height: 1px; background: var(--cream-2); margin-block: 2em; }
.prose .alignwide, .prose .alignfull { max-width: none; }
.prose iframe { max-width: 100%; border-radius: 18px; }
