/* ==========================================================================
   STYLE.CSS — Architectural / real-estate design system
   --------------------------------------------------------------------------
   Reverse-engineered from the "Keyscape" landing-page reference
   (3D architectural visualisation + property listings).
   Typeface: Poppins (one family, weights 300–700).

   DESIGN ANALYSIS
   --------------------------------------------------------------------------
   Character
   · Monochrome, gallery-like minimalism. White canvas, near-black ink,
     three steps of light grey for surfaces. Colour comes ONLY from the
     photography — the UI itself never competes with the images.
   · Headlines are UPPERCASE, medium weight, tightly tracked. Body copy is
     small, light grey and generous in line-height. The contrast between
     big dark caps and quiet grey text is the main typographic device.
   · Everything interactive is a pill (buttons, eyebrow labels, chips).
     Media and panels use a soft 16–20px radius. Borders are almost
     absent; separation comes from whitespace and faint grey fills.
   · One heavy dark block (the footer panel) anchors the long light page.

   Signature patterns
   1. Eyebrow pill ("SERVICE", "PROPERTY LISTINGS"…) above every heading.
   2. Arrow-circle CTA: a pill button with a round icon seated inside its
      left edge (dark pill + white circle, or outline pill + dark circle).
   3. Centred section header → 3-column grid → centred CTA below.
   4. Hero: curved, perspective image gallery — panels shrink toward the
      centre and loom large (and get cropped) at the edges.
   5. Service mosaic: 4 gapless tiles, alternating label-below /
      label-above so the row reads as a staggered checkerboard.
   6. Split footer: light CTA card with big caps + image, beside a dark
      information panel with a large e-mail address.

   Measured rhythm (reference frame 1440px wide)
   · Content width 1320px, side gutter 60px.
   · ~140px between sections, ~64px from section header to content.
   · 28px grid gap, 16px card radius, 52px button height, 80px nav bar.

   Poppins notes
   · Poppins is wider than the grotesk in the reference, so uppercase
     headings use -0.02em tracking and weight 500 to stay compact.
   · Weights used: 400 body · 500 headings/UI · 600 labels/buttons/price ·
     700 logo only. 300 is loaded for optional light display text.

   CONTENTS
   01 Font import          09 Service mosaic
   02 Design tokens        10 Clients · logos · stats · testimonial
   03 Reset & base         11 Property card
   04 Typography           12 Post (blog) card · 12b Tier card
                           12c Feature split · media slot · feature list · note ·
                               pull quote · photo grid · statement row ·
                               highlight panel · intro split · info grid ·
                               closing statement · photo band · CTA ·
                               house row · facts · contact list · media badge ·
                               stat card · floor tour
   05 Layout               13 FAQ accordion
   06 Buttons              14 Footer
   07 Eyebrow · chip · avatar · dots
   08 Header · hero · 3D gallery · split hero
   15 Utilities            16 Reduced motion

   Breakpoints (plain values — custom properties can't be used in @media)
   · 1200px  large tablet / small laptop
   · 1024px  tablet landscape  (nav collapses, 2-col grids)
   · 768px   tablet portrait
   · 560px   phone            (1-col everything)
   ========================================================================== */


/* ==========================================================================
   01 FONT
   Poppins is loaded in the HTML <head> of every page (faster than @import):
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&display=swap">
   ========================================================================== */


/* ==========================================================================
   02 DESIGN TOKENS
   ========================================================================== */

:root {
  /* ---- Colour: neutrals (sampled from the reference) ------------------- */
  --color-white: #ffffff;
  --color-black: #0d0d0d;            /* hero headline */
  --color-ink: #141414;              /* primary dark: buttons, footer, icons */
  --color-ink-soft: #2b2b2b;         /* hover state of dark surfaces */

  --color-heading: #111111;
  --color-text: #1f1f1f;             /* default body copy */
  --color-text-secondary: #3d3d3d;   /* FAQ questions, testimonial, nav */
  --color-text-muted: #6b6b6b;       /* paragraphs, descriptions, meta (AA on white & #f0f0f0) */
  --color-text-subtle: #8a8a8a;      /* decorative / disabled only — below AA for small text */

  --color-bg: #ffffff;               /* page */
  --color-surface: #f6f6f6;          /* FAQ items, footer CTA card */
  --color-surface-2: #f0f0f0;        /* eyebrow pills, chips */
  --color-surface-3: #e6e6e6;        /* slider dots track, skeletons */
  --color-border: #ebebeb;           /* hairlines on light */
  --color-border-strong: #d4d4d4;
  --color-canvas: #d7d7d7;           /* grey backdrop behind the framed page */

  /* on-dark (footer panel) */
  --color-on-dark: #ffffff;
  --color-on-dark-muted: #9a9a9a;    /* links on #141414 — 6.5:1 */
  --color-on-dark-dim: #858585;      /* copyright — 5:1 */
  --color-border-dark: #2a2a2a;
  --color-border-dark-strong: #3a3a3a;

  /* ---- Colour: accent (logo mark only — use sparingly) ----------------- */
  --color-accent: #a8806c;           /* warm clay / terracotta */
  --color-accent-soft: #f3ebe6;
  --color-sand: #ebe4da;             /* warm band behind a highlighted section */
  --gradient-sand:                   /* same band as a soft gradient + top glow */
    radial-gradient(120% 70% at 50% 0%, rgb(255 255 255 / 0.6) 0%, rgb(255 255 255 / 0) 60%),
    linear-gradient(180deg, #f1ebe3 0%, #e7ddd0 55%, #dccfbe 100%);
  --gradient-dark:                   /* dark band: charcoal with a faint clay glow on top */
    radial-gradient(90% 60% at 50% 0%, rgb(168 128 108 / 0.22) 0%, rgb(168 128 108 / 0) 60%),
    linear-gradient(180deg, #1d1d1c 0%, #121212 100%);
  --color-stone: #e6e6e4;            /* neutral grey band */
  --gradient-stone:                  /* pure white at the top fading into grey */
    linear-gradient(180deg, #ffffff 0%, #ececea 55%, #d6d6d3 100%);

  /* ---- Typography ------------------------------------------------------ */
  --font-sans: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* fluid sizes: min @ ~400px viewport → max @ ~1100–1300px */
  --fs-display: clamp(2.25rem, 1.2rem + 4.2vw, 4rem);    /* 36 → 64  hero H1 */
  --fs-h2: clamp(1.75rem, 1.1rem + 2.5vw, 2.75rem);      /* 28 → 44  section title */
  --fs-h3: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);       /* 24 → 36  footer CTA */
  --fs-stat: clamp(2.25rem, 1.8rem + 2.2vw, 3.5rem);     /* 36 → 56  counters */
  --fs-email: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem);   /* 26 → 40  footer e-mail */
  --fs-h4: 1.125rem;     /* 18  card titles */
  --fs-price: 1.375rem;  /* 22  property price */
  --fs-body: 1rem;       /* 16  body, lead, FAQ question */
  --fs-sm: 0.875rem;     /* 14  card text, footer links, tile labels */
  --fs-nav: 0.8125rem;   /* 13  nav links, buttons */
  --fs-xs: 0.75rem;      /* 12  meta, captions */
  --fs-2xs: 0.6875rem;   /* 11  eyebrow pills, chips, stat labels */

  --lh-none: 1;
  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;

  --ls-tighter: -0.03em;
  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.02em;
  --ls-wider: 0.06em;
  --ls-widest: 0.1em;

  /* ---- Spacing (4px base) ---------------------------------------------- */
  --space-1: 0.25rem;   /*   4 */
  --space-2: 0.5rem;    /*   8 */
  --space-3: 0.75rem;   /*  12 */
  --space-4: 1rem;      /*  16 */
  --space-5: 1.25rem;   /*  20 */
  --space-6: 1.5rem;    /*  24 */
  --space-7: 1.75rem;   /*  28 */
  --space-8: 2rem;      /*  32 */
  --space-10: 2.5rem;   /*  40 */
  --space-12: 3rem;     /*  48 */
  --space-16: 4rem;     /*  64 */
  --space-20: 5rem;     /*  80 */
  --space-24: 6rem;     /*  96 */
  --space-32: 8rem;     /* 128 */

  /* semantic spacing */
  --section-space: clamp(4.5rem, 3rem + 6vw, 8.75rem);   /* 72 → 140 between sections */
  --header-gap: clamp(2.5rem, 2rem + 2vw, 4rem);         /* 40 → 64 header → content */
  --grid-gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);      /* 16 → 28 card grids */

  /* ---- Layout ---------------------------------------------------------- */
  --container: 82.5rem;          /* 1320 content */
  --container-wide: 90rem;       /* 1440 full frame */
  --container-narrow: 48rem;     /*  768 text blocks */
  --gutter: clamp(1rem, 0.2rem + 3.8vw, 3.75rem);        /* 16 → 60 */
  --nav-h: 5rem;                 /* 80 */

  /* ---- Radius ---------------------------------------------------------- */
  --radius-xs: 0.375rem;   /*  6 */
  --radius-sm: 0.625rem;   /* 10 */
  --radius-md: 0.75rem;    /* 12 */
  --radius-lg: 1rem;       /* 16  media, cards, FAQ items */
  --radius-xl: 1.25rem;    /* 20  footer panels, page frame */
  --radius-2xl: 1.75rem;   /* 28 */
  --radius-pill: 999px;    /* buttons, pills, chips */

  /* ---- Elevation (kept very soft — the design is almost flat) ---------- */
  --shadow-xs: 0 1px 2px rgb(0 0 0 / 0.04);
  --shadow-card: 0 1px 2px rgb(0 0 0 / 0.03), 0 12px 32px -14px rgb(0 0 0 / 0.1);
  --shadow-lift: 0 2px 6px rgb(0 0 0 / 0.04), 0 24px 44px -20px rgb(0 0 0 / 0.2);
  --shadow-media: 0 28px 40px -22px rgb(0 0 0 / 0.35);   /* hero gallery panels */
  --shadow-btn: 0 1px 2px rgb(0 0 0 / 0.06), 0 4px 12px -4px rgb(0 0 0 / 0.12);

  /* ---- Components ------------------------------------------------------ */
  --btn-h: 3.25rem;         /* 52 */
  --btn-h-sm: 2.75rem;      /* 44  nav buttons */
  --chip-h: 1.75rem;        /* 28 */
  --avatar-xs: 1.25rem;     /* 20 */
  --avatar-sm: 2rem;        /* 32 */
  --avatar-md: 2.75rem;     /* 44 */
  --icon-sm: 0.875rem;      /* 14 */
  --icon-md: 1rem;          /* 16 */

  /* ---- Motion ---------------------------------------------------------- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 600ms;

  /* ---- Icons (CSS masks — tinted with currentColor, no icon font) ------ */
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --icon-arrow-up-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
  --icon-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.1-7-11.5A7 7 0 0 1 19 9.5C19 14.9 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");

  color-scheme: light;
}


/* ==========================================================================
   03 RESET & BASE
   ========================================================================== */

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

address {
  font-style: normal;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--color-ink);
  color: var(--color-white);
}

:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 3px;
}

.on-dark :focus-visible,
.footer-panel :focus-visible {
  outline-color: var(--color-white);
}


/* ==========================================================================
   04 TYPOGRAPHY
   Headings are uppercase + medium weight by default. Use the .text-*
   classes to apply a style to any element regardless of its tag.
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
  color: var(--color-heading);
  text-transform: uppercase;
  text-wrap: balance;
}

h1,
.text-display {
  font-size: var(--fs-display);
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--color-black);
  text-transform: uppercase;
}

h2,
.text-h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-medium);
  line-height: 1.15;
  letter-spacing: var(--ls-tight);
  text-transform: uppercase;
}

/* Big, heavier caps — footer CTA "WE'RE DEDICATED TO…" */
.text-h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  line-height: 1.12;
  letter-spacing: var(--ls-tighter);
  text-transform: uppercase;
}

/* Card titles — the default for h3–h6 */
h3,
h4,
h5,
h6,
.text-h4 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-medium);
  line-height: 1.3;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.text-lead {
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--color-text-muted);
}

.text-body { font-size: var(--fs-body); }
.text-sm   { font-size: var(--fs-sm); line-height: 1.6; }
.text-xs   { font-size: var(--fs-xs); line-height: var(--lh-normal); }

.text-muted     { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.text-ink       { color: var(--color-ink); }
.text-accent    { color: var(--color-accent); }

.text-upper      { text-transform: uppercase; }
.text-capitalize { text-transform: capitalize; }   /* testimonial quote style */

.fw-light    { font-weight: var(--fw-light); }
.fw-regular  { font-weight: var(--fw-regular); }
.fw-medium   { font-weight: var(--fw-medium); }
.fw-semibold { font-weight: var(--fw-semibold); }
.fw-bold     { font-weight: var(--fw-bold); }

/* Inline text link with animated underline */
.link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--dur-base) var(--ease-out), color var(--dur-fast);
}

.link:hover {
  background-size: 100% 1px;
}

/* "Label →" link (service tiles, "read more") */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.link-arrow::after {
  content: "";
  width: var(--icon-md);
  height: var(--icon-md);
  flex: none;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
  transition: transform var(--dur-base) var(--ease-out);
}

.link-arrow:hover::after,
a:hover .link-arrow::after {
  transform: translateX(4px);
}


/* ==========================================================================
   05 LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide   { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.section {
  padding-block: calc(var(--section-space) / 2);
}

.section--flush-top    { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

/* Full-width colour band for a section that needs to stand out.
   Default: neutral grey gradient. --section-bg takes any colour or gradient,
   e.g. style="--section-bg: var(--gradient-sand)" for the warm version or
   var(--color-stone) for a flat grey. Light surfaces inside turn white so
   they keep their contrast. */
.section--tinted {
  padding-block: calc(var(--section-space) * 0.75);
  background: var(--section-bg, var(--gradient-stone));
}

.section--tinted .eyebrow {
  background-color: rgb(255 255 255 / 0.75);
}

.section--tinted .section-header > p {
  color: var(--color-text-secondary);
}

.section--tinted .tier-card:not(.tier-card--featured),
.section--tinted .info-card,
.section--tinted .stat-card {
  background-color: var(--color-bg);
  box-shadow: var(--shadow-card);
}

.section--tinted .tier-card:not(.tier-card--featured) .tier-card__icon {
  background-color: var(--color-surface);
  box-shadow: none;
}

/* Dark full-width band with white text (maximum contrast).
   --section-bg can override the default charcoal gradient. */
.section--dark {
  padding-block: calc(var(--section-space) * 0.75);
  background: var(--section-bg, var(--gradient-dark));
  color: var(--color-on-dark);
}

.section--dark :is(h1, h2),
.section--dark .section-header > h2 {
  color: var(--color-on-dark);
}

.section--dark .section-header > p {
  color: rgb(255 255 255 / 0.72);
}

.section--dark .section-header > .eyebrow {
  background-color: rgb(255 255 255 / 0.1);
  color: rgb(255 255 255 / 0.85);
}

/* tier cards on a dark band or a dark photo band */
:is(.section--dark, .photo-band) .tier-card:not(.tier-card--featured) {
  background-color: var(--color-bg);
}

:is(.section--dark, .photo-band) .tier-card:not(.tier-card--featured) .tier-card__icon {
  background-color: var(--color-surface);
  box-shadow: none;
}

.photo-band .tier-card :is(h3, p) {
  text-shadow: none;
}

.photo-band .tier-card:not(.tier-card--featured) .tier-card__name {
  color: var(--color-text-muted);
}

/* on a dark background the featured card turns warm clay so it still stands out */
:is(.section--dark, .photo-band) .tier-card--featured {
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(255 255 255 / 0.14) 0%, rgb(255 255 255 / 0) 55%),
    linear-gradient(160deg, #9b7461 0%, #6c4d3e 100%);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.6);
}

:is(.section--dark, .photo-band) .tier-card--featured .tier-card__name { color: rgb(255 255 255 / 0.78); }
:is(.section--dark, .photo-band) .tier-card--featured .tier-card__desc { color: rgb(255 255 255 / 0.88); }

/* centred section header on a photo band */
.photo-band .section-header > p {
  color: rgb(255 255 255 / 0.8);
}

/* Optional "framed page" look from the reference: the white page sits on a
   grey canvas with rounded corners. Put .page-frame on <body> and wrap the
   site in <div class="page">. */
.page-frame {
  background-color: var(--color-canvas);
  padding: clamp(0px, 2.2vw, 2rem);
}

.page-frame > .page {
  max-width: var(--container-wide);
  margin-inline: auto;
  background-color: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: clip;
}

@media (max-width: 560px) {
  .page-frame > .page { border-radius: 0; }
}

/* ---- Section header (eyebrow + title + text + CTA) -------------------- */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  max-width: 60rem;
  margin-inline: auto;
  margin-bottom: var(--header-gap);
  text-align: center;
}

.section-header > p {
  max-width: 34rem;
  font-size: var(--fs-body);
  color: var(--color-text-muted);
}

.section-header > .eyebrow { margin-bottom: var(--space-1); }
.section-header > .btn     { margin-top: var(--space-4); }

.section-header--start {
  align-items: flex-start;
  margin-inline: 0;
  text-align: left;
}

.section-footer {
  display: flex;
  justify-content: center;
  margin-top: var(--header-gap);
}

/* ---- Grids ------------------------------------------------------------ */
.grid {
  display: grid;
  gap: var(--grid-gap);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* card rows in the reference use a slightly larger vertical gap */
.grid--cards { row-gap: calc(var(--grid-gap) * 1.4); }

@media (max-width: 1024px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 6-column bento: .span-2 = third, .span-3 = half */
.grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid--6 > .span-2 { grid-column: span 2; }
.grid--6 > .span-3 { grid-column: span 3; }

@media (max-width: 1024px) {
  .grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--6 > .span-2 { grid-column: span 1; }
  .grid--6 > .span-3,
  .grid--6 > .stat-card { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--6 { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Flow helpers ------------------------------------------------------ */
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap, var(--space-4));
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cluster-gap, var(--space-3));
}


/* ==========================================================================
   06 BUTTONS
   .btn                   base (outline by default)
   .btn--dark             filled ink
   .btn--outline          white with ink border
   .btn--sm               nav-size (44px)
   .btn--arrow + .btn__icon   the signature pill with a round arrow inside
   ========================================================================== */

.btn {
  --btn-bg: var(--color-bg);
  --btn-fg: var(--color-ink);
  --btn-border: var(--color-ink);
  --btn-height: var(--btn-h);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  height: var(--btn-height);
  padding-inline: var(--space-6);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background-color: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-nav);
  font-weight: var(--fw-semibold);
  line-height: 1;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition:
    background-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn--dark {
  --btn-bg: var(--color-ink);
  --btn-fg: var(--color-white);
  --btn-border: var(--color-ink);
}

.btn--dark:hover {
  --btn-bg: var(--color-ink-soft);
  --btn-border: var(--color-ink-soft);
}

.btn--outline {
  --btn-bg: var(--color-bg);
  --btn-fg: var(--color-ink);
  --btn-border: var(--color-ink);
  box-shadow: var(--shadow-btn);
}

.btn--outline:hover {
  --btn-bg: var(--color-ink);
  --btn-fg: var(--color-white);
}

/* ghost outline used in the nav ("CONTACT US") — lighter border */
.btn--ghost {
  --btn-bg: transparent;
  --btn-border: var(--color-border-strong);
}

.btn--ghost:hover {
  --btn-border: var(--color-ink);
}

/* see-through button for use over photos: faint glass fill + ink outline */
.btn--glass {
  --btn-bg: rgb(255 255 255 / 0.12);
  --btn-fg: var(--color-ink);
  --btn-border: rgb(20 20 20 / 0.6);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}

.btn--glass:hover {
  --btn-bg: var(--color-ink);
  --btn-fg: var(--color-white);
  --btn-border: var(--color-ink);
}

/* on dark backgrounds */
.btn--light {
  --btn-bg: var(--color-white);
  --btn-fg: var(--color-ink);
  --btn-border: var(--color-white);
}

.btn--sm {
  --btn-height: var(--btn-h-sm);
  padding-inline: var(--space-5);
  font-size: var(--fs-xs);
}

.btn--block {
  width: 100%;
}

/* ---- Arrow-circle CTA -------------------------------------------------- */
.btn--arrow {
  padding-inline: 4px var(--space-6);
}

.btn__icon {
  display: grid;
  place-items: center;
  width: calc(var(--btn-height) - 10px);
  aspect-ratio: 1;
  flex: none;
  border-radius: 50%;
  background-color: var(--btn-fg);      /* inverse of the button */
  color: var(--btn-bg);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}

.btn__icon::before {
  content: "";
  width: var(--icon-md);
  height: var(--icon-md);
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
  transition: transform var(--dur-base) var(--ease-out);
}

.btn:hover .btn__icon::before {
  transform: translateX(2px);
}

/* Round icon-only button (sliders, close, etc.) */
.btn-icon {
  display: inline-grid;
  place-items: center;
  width: var(--btn-h-sm);
  aspect-ratio: 1;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-ink);
  transition: background-color var(--dur-base), color var(--dur-base), border-color var(--dur-base);
}

.btn-icon:hover {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-white);
}

.btn-icon svg {
  width: var(--icon-md);
  height: var(--icon-md);
}


/* ==========================================================================
   07 EYEBROW · CHIP · AVATAR · DOTS
   ========================================================================== */

/* Small grey pill that labels every section */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 0.875rem;          /* 7 / 14 */
  border-radius: var(--radius-pill);
  background-color: var(--color-surface-2);
  color: var(--color-text-secondary);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  white-space: nowrap;
}

.eyebrow--on-dark {
  background-color: var(--color-border-dark);
  color: var(--color-on-dark-muted);
}

/* Meta chip: location, category, date, author */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: var(--chip-h);
  padding-inline: 0.625rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-surface-2);
  color: var(--color-text-muted);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-medium);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.chip > svg {
  width: var(--icon-sm);
  height: var(--icon-sm);
  flex: none;
}

/* location chip with built-in pin icon */
.chip--location::before {
  content: "";
  width: var(--icon-sm);
  height: var(--icon-sm);
  flex: none;
  background: currentColor;
  -webkit-mask: var(--icon-pin) center / contain no-repeat;
  mask: var(--icon-pin) center / contain no-repeat;
}

/* author chip: avatar sits flush in the left curve */
.chip > .avatar {
  --avatar: var(--avatar-xs);
  margin-left: -0.375rem;
}

.chip--dark {
  background-color: var(--color-ink);
  color: var(--color-white);
}

.avatar {
  width: var(--avatar, var(--avatar-sm));
  aspect-ratio: 1;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--color-surface-3);
}

.avatar--md { --avatar: var(--avatar-md); }

/* Slider pagination dots in a grey pill */
.dots {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  padding: 0.4375rem 0.5625rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-surface-3);
}

.dots__dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-white);
  opacity: 0.7;
  transition: width var(--dur-base) var(--ease-out), opacity var(--dur-base), background-color var(--dur-base);
}

.dots__dot:hover {
  opacity: 1;
}

.dots__dot[aria-current="true"],
.dots__dot.is-active {
  width: 1rem;
  opacity: 1;
  background-color: var(--color-ink);
}

/* Meta list: "▢ 120m² • 🛏 3 • 🛁 2" */
.meta-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  padding: 0;
  list-style: none;
  font-size: var(--fs-xs);
  line-height: 1;
  color: var(--color-text-muted);
}

.meta-list > li {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
}

.meta-list > li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  margin-right: 0.1875rem;
  border-radius: 50%;
  background-color: currentColor;
}

.meta-list svg {
  width: var(--icon-sm);
  height: var(--icon-sm);
  flex: none;
}


/* ==========================================================================
   08 HEADER · HERO · 3D GALLERY
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 20;
}

.site-header--sticky {
  position: sticky;
  top: 0;
  background-color: rgb(255 255 255 / 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-6);
  min-height: var(--nav-h);
}

/* Logo: small clay mark + bold uppercase word */
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  justify-self: start;
  font-size: 1rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: var(--ls-tighter);
  text-transform: uppercase;
  color: var(--color-ink);
}

/* The mark's viewBox is trimmed to the drawing itself and sized close to the
   cap height, then nudged so its centre sits on the middle of the capitals –
   the word looks vertically centred against the mark wherever the logo is. */
.logo__mark {
  width: auto;
  height: 0.875em;
  flex: none;
  position: relative;
  top: -0.05em;
  color: var(--color-accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding-block: var(--space-2);
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  line-height: 1;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  transition: color var(--dur-fast);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-base) var(--ease-out);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--color-ink);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  justify-self: end;
}

/* hamburger — hidden on desktop */
.nav__toggle {
  display: none;
  justify-self: end;
  width: var(--btn-h-sm);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
}

.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  border-radius: 2px;
  background: var(--color-ink);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}

.nav__toggle span {
  position: relative;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav__toggle span::before { transform: translateY(-5px); }
.nav__toggle span::after  { transform: translateY(5px); }

.nav.is-open .nav__toggle span          { background: transparent; }
.nav.is-open .nav__toggle span::before  { transform: rotate(45deg); background: var(--color-ink); }
.nav.is-open .nav__toggle span::after   { transform: rotate(-45deg); background: var(--color-ink); }

@media (max-width: 1024px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav__toggle {
    display: grid;
  }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    flex-direction: column;
    gap: var(--space-6);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    box-shadow: var(--shadow-lift);
  }

  .nav.is-open .nav__menu {
    display: flex;
  }

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .nav__actions {
    justify-self: stretch;
  }

  .nav__actions .btn {
    flex: 1;
  }
}

/* On desktop the menu wrapper is invisible to layout */
@media (min-width: 1025px) {
  .nav__menu {
    display: contents;
  }
}

/* Small laptops: logo and buttons take what they need, links centre in the
   space left over, so two buttons never collide with the links */
@media (min-width: 1025px) and (max-width: 1279px) {
  .nav {
    grid-template-columns: auto 1fr auto;
  }

  .nav__links {
    justify-self: center;
    gap: var(--space-5);
  }
}

/* Nav over a photo: keep the buttons a little in from the photo's edge */
@media (min-width: 1280px) {
  .site-header--overlay .nav__actions {
    margin-right: clamp(1.5rem, 2.5vw, 3rem);
  }
}

/* ---- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 1.5rem + 4vw, 5.5rem);
  text-align: center;
  overflow-x: clip;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  max-width: 17em;
}

.hero__lead {
  max-width: 43rem;
  margin-top: var(--space-6);
  color: var(--color-text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

/* ---- Curved perspective gallery ---------------------------------------
   Built for 9 panels (odd count, centre = 5th). Panels are sized in a
   capped viewport unit (--u) so the whole arc scales with the screen,
   overflows both edges and gets cropped — exactly like the reference.

   <div class="hero-gallery">
     <figure class="hero-gallery__item"><img …></figure>  × 9
   </div>
   ----------------------------------------------------------------------- */
.hero-gallery {
  --u: min(1vw, 14.4px);
  --gallery-gap: calc(var(--u) * 1.4);

  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gallery-gap);
  height: calc(var(--u) * 46);
  margin-top: calc(var(--u) * -9);
  overflow-x: clip;     /* crop the outer panels at the page edges… */
  overflow-y: visible;  /* …but never their slanted top/bottom edges */
}

.hero-gallery__item {
  --w: 7.8;      /* width  in --u */
  --h: 11.2;     /* height in --u */
  --ry: 0deg;    /* rotation toward the centre */
  --pull: 0;     /* negative margin that closes gaps opened by foreshortening */
  --dir: 1;      /* left side = 1, right side = -1 */

  flex: none;
  width: calc(var(--u) * var(--w));
  height: calc(var(--u) * var(--h));
  margin: 0 calc(var(--u) * var(--pull) * -1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-surface-2);
  box-shadow: var(--shadow-media);
  transform: perspective(calc(var(--u) * 26)) rotateY(calc(var(--ry) * var(--dir)));
  transition: transform var(--dur-slow) var(--ease-out);
}

.hero-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* distance from centre → size + rotation (mirrored on both sides) */
.hero-gallery__item:nth-child(4),
.hero-gallery__item:nth-child(6) { --w: 8.4;  --h: 12.4; --ry: 14deg; --pull: 0.1; }

.hero-gallery__item:nth-child(3),
.hero-gallery__item:nth-child(7) { --w: 9.4;  --h: 15.6; --ry: 24deg; --pull: 0.35; }

.hero-gallery__item:nth-child(2),
.hero-gallery__item:nth-child(8) { --w: 11.6; --h: 21.5; --ry: 32deg; --pull: 0.8; }

.hero-gallery__item:nth-child(1),
.hero-gallery__item:nth-child(9) { --w: 14;   --h: 36;   --ry: 40deg; --pull: 1.2; }

.hero-gallery__item:nth-child(n + 6) { --dir: -1; }

.hero-gallery__item:nth-child(1) { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.hero-gallery__item:nth-child(9) { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }

@media (max-width: 1024px) {
  .hero-gallery {
    --u: 1.5vw;
    margin-top: calc(var(--u) * -2);
  }
}

@media (max-width: 560px) {
  .hero-gallery {
    --u: 2.3vw;
    margin-top: var(--space-6);
    height: calc(var(--u) * 30);
  }
}

/* ---- Split hero --------------------------------------------------------
   Text on the left, one large rounded photo on the right, with an
   optional floating stat card over the photo.

   <section class="hero-split">
     <div class="container hero-split__inner">
       <div class="hero-split__content">
         <span class="eyebrow">…</span>
         <h1 class="hero-split__title">…</h1>
         <p class="hero-split__lead">…</p>
         <div class="hero-split__actions">…buttons…</div>
       </div>
       <figure class="hero-split__media" style="--focus: 50% 50%">
         <img …>
         <div class="hero-split__badge">…</div>
       </figure>
     </div>
   </section>
   ----------------------------------------------------------------------- */
.hero-split {
  padding-block: clamp(1rem, 0.5rem + 2vw, 2.5rem) clamp(3rem, 2rem + 4vw, 6rem);
}

.hero-split__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2.5rem, 1rem + 4vw, 5rem);
  min-height: min(calc(100svh - var(--nav-h) - var(--hero-offset, 2.5rem)), 46rem);
}

/* leave room so a spec bar under the hero still fits above the fold */
.hero-split:has(.hero-split__specs) {
  --hero-offset: 11rem;
}

.hero-split__specs {
  margin-top: clamp(1.25rem, 0.8rem + 1.5vw, 2rem);
}

.hero-split__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
}

.hero-split__title {
  max-width: 10em;
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.75rem);   /* 40 → 76 */
  line-height: 1.05;
}

/* "NAMAS" carries the weight; "už buto kainą" is light italic on its own line */
.hero-split__title-key {
  font-weight: var(--fw-semibold);
}

.hero-split__title-soft {
  display: block;
  font-style: italic;
  font-weight: var(--fw-light);
  letter-spacing: -0.03em;
}

.hero-split__lead {
  max-width: 30rem;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
}

.hero-split__lead strong {
  font-weight: var(--fw-medium);
  color: var(--color-ink);
}

.hero-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.hero-split__media {
  position: relative;
  align-self: stretch;
  min-height: 28rem;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--color-surface-2);
}

.hero-split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

/* Full-height variant: the photo stays in its column but runs from right
   under the nav down to the next section, square corners. Text is centred
   in the left column; an optional list (.hero-split__facts) sits at the
   bottom of that column, level with the bottom of the photo.

   <section class="hero-split hero-split--full">
     <div class="container hero-split__inner">
       <div class="hero-split__content">
         <div class="hero-split__main">eyebrow · h1 · lead · actions</div>
         <ul class="feature-list hero-split__facts">…</ul>
       </div>
       <figure class="hero-split__media">…</figure>
     </div>
   </section>
   ----------------------------------------------------------------------- */
.hero-split--full {
  padding-block: 0;
}

.hero-split--full .hero-split__inner {
  align-items: stretch;
  min-height: clamp(36rem, calc(100svh - var(--nav-h)), 56rem);
}

.hero-split--full .hero-split__content {
  gap: var(--space-10);
  padding-block: clamp(2rem, 1rem + 3vw, 4rem) clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}

.hero-split__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
  margin-block: auto;   /* centred in the space above the facts */
}

.hero-split__facts {
  width: 100%;
}

.hero-split--full .hero-split__media {
  border-radius: 0;
}

/* the hero has no bottom padding, so the next section takes the full gap */
.hero-split--full + .section {
  padding-top: var(--section-space);
}

/* Desktop: nav floats over the hero; the hero starts at the very top of the
   page (photo runs behind the nav) and grows by the nav's height.
   Use .site-header--overlay on the header + .hero-split--under-nav on the hero. */
@media (min-width: 1025px) {
  .site-header--overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }

  .hero-split--under-nav .hero-split__inner {
    min-height: clamp(41rem, 100svh, 61rem);
  }

  .hero-split--under-nav .hero-split__content {
    padding-top: calc(var(--nav-h) + clamp(1.5rem, 0.5rem + 3vw, 4rem));
  }

  /* soft light fade at the top of the photo keeps the nav readable */
  .hero-split--under-nav .hero-split__media::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    height: calc(var(--nav-h) * 2);
    pointer-events: none;
    background: linear-gradient(180deg, rgb(255 255 255 / 0.7) 0%, rgb(255 255 255 / 0) 100%);
  }
}

/* Blend variant (use with --full): the photo reaches further left, behind the
   text column, and fades into the page so part of it becomes the text's
   background. --blend-start sets where the photo begins (share of the
   frame width). */
.hero-split--blend {
  --blend-start: 26%;
}

.hero-split--blend .hero-split__content {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
}

.hero-split--blend .hero-split__media {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-left: var(--blend-start);
}

.hero-split--blend .hero-split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    var(--color-bg) 0%,
    rgb(255 255 255 / 0.9) 14%,
    rgb(255 255 255 / 0.55) 28%,
    rgb(255 255 255 / 0) 50%);
}

@media (max-width: 1024px) {
  .hero-split--blend .hero-split__content,
  .hero-split--blend .hero-split__media {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-split--blend .hero-split__media {
    margin-left: 0;
  }

  .hero-split--blend .hero-split__media::after {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-split--full .hero-split__inner {
    min-height: 0;
    gap: 0;
  }

  .hero-split--full .hero-split__content {
    padding-block: var(--space-8) var(--space-10);
  }
}

/* ---- Callout: marker on a photo + L-shaped line + frosted card ---------
   Place inside any positioned media box. Positions are % of that box:
   --spot-x/--spot-y = marker centre, --card-x/--card-y = card's left-middle.

   <div class="callout" style="--spot-x:49%; --spot-y:48%; --card-x:65%; --card-y:66%">
     <span class="callout__spot" aria-hidden="true"></span>
     <span class="callout__line" aria-hidden="true"></span>
     <div class="callout__card">…</div>
   </div>
   ----------------------------------------------------------------------- */
.callout {
  --spot-size: 2.75rem;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.callout__spot {
  position: absolute;
  left: var(--spot-x);
  top: var(--spot-y);
  width: var(--spot-size);
  aspect-ratio: 1;
  border: 1.5px solid rgb(255 255 255 / 0.9);
  border-radius: 50%;
  background-color: rgb(255 255 255 / 0.14);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  transform: translate(-50%, -50%);
  animation: callout-pulse 2.6s var(--ease-out) infinite;
}

.callout__spot::before,
.callout__spot::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.callout__spot::before {        /* inner ring */
  inset: 24%;
  border: 1.5px solid var(--color-white);
}

.callout__spot::after {         /* centre dot */
  inset: 40%;
  background-color: var(--color-white);
}

@keyframes callout-pulse {
  0%   { box-shadow: 0 0 0 0 rgb(255 255 255 / 0.45); }
  70%  { box-shadow: 0 0 0 0.875rem rgb(255 255 255 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(255 255 255 / 0); }
}

/* down from the marker, then across to the card */
.callout__line {
  position: absolute;
  left: var(--spot-x);
  top: calc(var(--spot-y) + var(--spot-size) / 2);
  width: calc(var(--card-x) - var(--spot-x));
  height: calc(var(--card-y) - var(--spot-y) - var(--spot-size) / 2);
  margin-left: -0.75px;
  border-left: 1.5px solid rgb(255 255 255 / 0.9);
  border-bottom: 1.5px solid rgb(255 255 255 / 0.9);
  border-bottom-left-radius: 0.875rem;
}

.callout__card {
  position: absolute;
  left: var(--card-x);
  top: var(--card-y);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: min(18rem, 32%);
  padding: var(--space-5) var(--space-6);
  border-radius: 2px;
  background-color: rgb(255 255 255 / 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-card);
  transform: translateY(-50%);
  pointer-events: auto;
}

.callout__title {
  font-size: 1rem;
  font-weight: var(--fw-medium);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}

.callout__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid rgb(0 0 0 / 0.08);
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.875rem);   /* 24 → 30 */
  font-weight: var(--fw-medium);
  line-height: 1;
  letter-spacing: var(--ls-tight);
  white-space: nowrap;
  color: var(--color-ink);
}

.callout__from {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* smaller screens: just the card, tucked into the bottom-left corner */
@media (max-width: 1024px) {
  .callout__spot,
  .callout__line {
    display: none;
  }

  .callout__card {
    left: var(--space-3);
    top: auto;
    bottom: var(--space-3);
    width: auto;
    max-width: calc(100% - var(--space-6));
    padding: var(--space-4) var(--space-5);
    transform: none;
  }
}

/* floating frosted stat card */
.hero-split__badge {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5) var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  background-color: rgb(255 255 255 / 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-card);
}

.hero-split__badge-value {
  font-size: 2.5rem;
  font-weight: var(--fw-regular);
  line-height: 1;
  letter-spacing: var(--ls-tighter);
  color: var(--color-ink);
}

.hero-split__badge-label {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-medium);
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .hero-split__inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hero-split__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .hero-split__actions .btn { flex: 1 1 auto; }
  .hero-split__badge { left: var(--space-3); bottom: var(--space-3); }
  .hero-split__badge-value { font-size: 2rem; }
}

/* ---- Spec bar ----------------------------------------------------------
   Key facts in one row (icon + short text) separated by hairlines.
   Desktop: icon beside text · tablet: icon above text · phone: 2 columns.

   <ul class="spec-bar" role="list">
     <li class="spec-bar__item">
       <span class="spec-bar__icon"><svg …></svg></span>155 m²
     </li> …
   </ul>
   ----------------------------------------------------------------------- */
.spec-bar {
  --spec-cols: 5;
  display: grid;
  grid-template-columns: repeat(var(--spec-cols), minmax(0, 1fr));
  margin: 0;
  padding: var(--space-2);
  list-style: none;
  border-radius: var(--radius-xl);
  background-color: var(--color-surface);
}

.spec-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  font-size: 0.9375rem;                /* 15 */
  font-weight: var(--fw-medium);
  line-height: 1.3;
  color: var(--color-ink);
}

.spec-bar__item + .spec-bar__item {
  border-left: 1px solid var(--color-surface-3);
}

.spec-bar__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  aspect-ratio: 1;
  flex: none;
  border-radius: 50%;
  background-color: var(--color-bg);
  color: var(--color-ink);
  box-shadow: var(--shadow-xs);
}

.spec-bar__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.spec-bar__muted {
  font-weight: var(--fw-regular);
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .spec-bar__item {
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-3);
    text-align: center;
    font-size: var(--fs-sm);
  }
}

@media (max-width: 560px) {
  .spec-bar {
    --spec-cols: 2;
  }

  .spec-bar__item {
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--space-3);
    text-align: left;
  }

  .spec-bar__item + .spec-bar__item    { border-left: 0; }
  .spec-bar__item:nth-child(even)      { border-left: 1px solid var(--color-surface-3); }
  .spec-bar__item:nth-child(n + 3)     { border-top: 1px solid var(--color-surface-3); }
  .spec-bar__item:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .spec-bar__icon { width: 2.25rem; }
  .spec-bar__icon svg { width: 1.125rem; height: 1.125rem; }
}


/* ==========================================================================
   09 SERVICE MOSAIC
   Four gapless tiles; every even tile flips (label on top, image below),
   producing the staggered checkerboard from the reference.

   <div class="service-mosaic">
     <a class="service-tile" href="#">
       <div class="service-tile__media"><img …></div>
       <span class="service-tile__label link-arrow">Architectural design</span>
     </a> × 4
   </div>
   ========================================================================== */

.service-mosaic {
  --tile-label-h: 4.25rem;   /* 68 — the stagger offset */
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-tile {
  display: flex;
  flex-direction: column;
  color: var(--color-ink);
}

.service-tile:nth-child(even) {
  flex-direction: column-reverse;
}

.service-tile__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-surface-2);
}

.service-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.service-tile:hover .service-tile__media img {
  transform: scale(1.05);
}

.service-tile__label {
  display: flex;
  align-items: center;
  min-height: var(--tile-label-h);
  padding-inline: var(--space-6);
}

/* only the outer corners of the mosaic are rounded */
.service-tile:first-child .service-tile__media { border-top-left-radius: var(--radius-lg); }
.service-tile:last-child .service-tile__media  { border-bottom-right-radius: var(--radius-lg); }

@media (max-width: 1024px) {
  .service-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-tile:nth-child(2) .service-tile__media { border-top-right-radius: var(--radius-lg); }
  .service-tile:nth-child(3) .service-tile__media { border-bottom-left-radius: var(--radius-lg); }
}

@media (max-width: 560px) {
  .service-mosaic {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .service-tile,
  .service-tile:nth-child(even) {
    flex-direction: column;
  }

  .service-tile .service-tile__media {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
  }

  .service-tile__label {
    min-height: 0;
    padding: var(--space-4) 0 0;
  }
}


/* ==========================================================================
   10 CLIENTS · LOGO WALL · STATS · TESTIMONIAL
   ========================================================================== */

.clients {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 1024px) {
  .clients { grid-template-columns: minmax(0, 1fr); }
}

/* 3 × 2 logo grid separated by hairlines */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  list-style: none;
}

.logo-wall__item {
  display: grid;
  place-items: center;
  min-height: 10rem;
  padding: var(--space-6);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.logo-wall__item:nth-child(3n)          { border-right: 0; }
.logo-wall__item:nth-last-child(-n + 3) { border-bottom: 0; }

.logo-wall__item img,
.logo-wall__item svg {
  max-height: 2rem;
  width: auto;
  filter: grayscale(1);
  opacity: 0.6;
  transition: opacity var(--dur-base), filter var(--dur-base);
}

.logo-wall__item:hover img,
.logo-wall__item:hover svg {
  opacity: 1;
}

@media (max-width: 560px) {
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall__item { min-height: 7rem; border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
  .logo-wall__item:nth-child(2n)          { border-right: 0; }
  .logo-wall__item:nth-last-child(-n + 2) { border-bottom: 0; }
}

/* Counters: 210+ · 120+ · 100% */
.stats {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(min-content, max-content);  /* labels wrap before the row breaks */
  justify-content: space-between;
  gap: var(--space-4);
}

.stat__value {
  display: flex;
  align-items: flex-start;
  font-size: var(--fs-stat);
  font-weight: var(--fw-regular);
  line-height: var(--lh-none);
  letter-spacing: var(--ls-tighter);
  color: var(--color-ink);
}

.stat__value sup {
  margin-left: 0.05em;
  font-size: 0.45em;
  line-height: 1;
}

.stat__label {
  margin-top: var(--space-2);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-medium);
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Testimonial */
.testimonial {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.testimonial__quote {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: 1.75;
  color: var(--color-text-secondary);
  text-transform: capitalize;
}

.testimonial__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
}


/* ==========================================================================
   11 PROPERTY CARD

   <article class="property-card">
     <div class="property-card__media"><img …></div>
     <div class="property-card__body">
       <span class="chip chip--location">Manhattan</span>
       <h3 class="property-card__title"><a class="stretched-link" href="#">…</a></h3>
       <p class="property-card__desc">…</p>
       <div class="property-card__footer">
         <span class="property-card__price">$165,000</span>
         <ul class="meta-list">…</ul>
       </div>
     </div>
   </article>
   ========================================================================== */

.property-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background-color: var(--color-bg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.property-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.property-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background-color: var(--color-surface-2);
}

.property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.property-card:hover .property-card__media img {
  transform: scale(1.04);
}

.property-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6) var(--space-6);
}

.property-card__title {
  font-size: var(--fs-h4);
  color: var(--color-heading);
}

.property-card__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--color-text-muted);
}

.property-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  margin-top: auto;
  padding-top: var(--space-2);
}

.property-card__price {
  font-size: var(--fs-price);
  font-weight: var(--fw-semibold);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}


/* ==========================================================================
   12 POST (BLOG) CARD — no card surface, just media + text
   ========================================================================== */

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.post-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--color-surface-2);
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.post-card:hover .post-card__media img {
  transform: scale(1.04);
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.post-card__title {
  font-size: var(--fs-h4);
  transition: color var(--dur-fast);
}

.post-card__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin-top: calc(var(--space-1) * -1);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Make a whole card clickable from one link inside it */
.stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}


/* ==========================================================================
   12b TIER CARD — packages / finishing levels
   Light cards on the grey surface; the --featured card is dark with a warm
   clay glow to make the top tier feel like the "ready to live" choice.

   <div class="tiers">
     <article class="tier-card">
       <div class="tier-card__top">
         <span class="tier-card__icon"><svg …></svg></span>
         <span class="level" role="img" aria-label="Lygis 1 iš 3">
           <span class="level__bar is-on"></span><span class="level__bar"></span><span class="level__bar"></span>
         </span>
       </div>
       <div class="tier-card__body">
         <h3 class="tier-card__name">…</h3>
         <p class="tier-card__tagline">…</p>
         <p class="tier-card__desc">…</p>
       </div>
     </article> …
   </div>
   ========================================================================== */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

@media (max-width: 900px) {
  .tiers { grid-template-columns: minmax(0, 1fr); }
}

.tier-card {
  --tier-pad: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  min-height: 24rem;
  padding: var(--tier-pad);
  border-radius: var(--radius-xl);
  background-color: var(--color-surface);
  color: var(--color-ink);
  overflow: hidden;
}

.tier-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.tier-card__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  aspect-ratio: 1;
  flex: none;
  border-radius: 50%;
  background-color: var(--color-bg);
  color: var(--color-ink);
  box-shadow: var(--shadow-xs);
}

.tier-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.tier-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: auto;
}

.tier-card__name {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.tier-card__tagline {
  font-size: clamp(1.375rem, 1.05rem + 1vw, 1.875rem);   /* 22 → 30 */
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: var(--ls-tight);
  color: var(--color-ink);
  text-wrap: balance;
}

.tier-card__desc {
  max-width: 34ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .tier-card { min-height: 0; gap: var(--space-8); }
}

/* Price at the bottom of the card: "KAINA ……… 240 000 €" */
.tier-card__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-strong);
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.875rem);   /* 24 → 30 */
  font-weight: var(--fw-semibold);
  line-height: 1;
  letter-spacing: var(--ls-tight);
  white-space: nowrap;
  color: var(--color-ink);
}

.tier-card__price-label {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.tier-card--featured .tier-card__price {
  border-top-color: rgb(255 255 255 / 0.18);
  color: var(--color-on-dark);
}

.tier-card--featured .tier-card__price-label {
  color: rgb(255 255 255 / 0.7);
}

/* Optional photo at the top of the card, edge to edge.
   <figure class="tier-card__media media-slot"><picture>…</picture></figure> */
.tier-card .tier-card__media {
  aspect-ratio: 3 / 2;
  margin: calc(var(--tier-pad) * -1) calc(var(--tier-pad) * -1) var(--space-3);
  border: 0;
  border-radius: 0;
  background-color: var(--color-surface-3);
}

.tier-card:has(.tier-card__media) {
  gap: var(--space-6);
  min-height: 0;
}

/* Side by side: share rows across cards so name / tagline / description
   line up even when one card's text wraps to more lines. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .tiers {
      grid-template-rows: repeat(4, auto);
      row-gap: 0;
    }

    .tier-card {
      display: grid;
      grid-row: span 4;
      grid-template-rows: subgrid;
      row-gap: var(--space-3);
      min-height: 0;
    }

    .tier-card__body {
      display: contents;
    }

    .tier-card__top {
      align-self: start;
      margin-bottom: clamp(3rem, 1rem + 5vw, 6.5rem);
    }

    /* with photos: one more shared row, and less air under the icon row */
    .tiers:has(.tier-card__media) {
      grid-template-rows: repeat(5, auto);
    }

    .tiers:has(.tier-card__media) .tier-card {
      grid-row: span 5;
    }

    .tier-card:has(.tier-card__media) .tier-card__top {
      margin-bottom: var(--space-6);
    }

    /* photos + price: one more shared row so prices line up too */
    .tiers:has(.tier-card__media):has(.tier-card__price) {
      grid-template-rows: repeat(6, auto);
    }

    .tiers:has(.tier-card__media):has(.tier-card__price) .tier-card {
      grid-row: span 6;
    }
  }
}

/* Level meter: ▮▯▯ */
.level {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.level__bar {
  width: 1.25rem;
  height: 0.3125rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-surface-3);
}

.level__bar.is-on {
  background-color: var(--color-ink);
}

/* Featured (dark) tier */
.tier-card--featured {
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(168 128 108 / 0.38) 0%, rgb(168 128 108 / 0) 58%),
    var(--color-ink);
  color: var(--color-on-dark);
  box-shadow: var(--shadow-lift);
}

.tier-card--featured .tier-card__icon {
  background-color: rgb(255 255 255 / 0.08);
  color: var(--color-on-dark);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16);
}

.tier-card--featured .tier-card__name    { color: var(--color-on-dark-muted); }
.tier-card--featured .tier-card__tagline { color: var(--color-on-dark); }
.tier-card--featured .tier-card__desc    { color: rgb(255 255 255 / 0.74); }
.tier-card--featured .level__bar         { background-color: rgb(255 255 255 / 0.2); }
.tier-card--featured .level__bar.is-on   { background-color: var(--color-on-dark); }


/* ==========================================================================
   12c FEATURE SPLIT · MEDIA SLOT · FEATURE LIST · NOTE
   Photo on one side, heading + icon list on the other.

   <div class="feature-split">
     <figure class="feature-split__media media-slot">
       <img src="…" alt="…">                ← add a photo here; the placeholder hides itself
       <div class="media-slot__placeholder">…</div>
     </figure>
     <div class="feature-split__content">
       <header class="section-header section-header--start">…</header>
       <ul class="feature-list" role="list">
         <li class="feature-list__item"><span class="feature-list__icon"><svg…></span>Text</li>
       </ul>
       <p class="note"><span class="note__icon"><svg…></span>Text</p>
     </div>
   </div>
   ========================================================================== */

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 1rem + 5vw, 6rem);
}

/* photo on the right instead */
.feature-split--reverse .feature-split__media {
  order: 2;
}

.feature-split__media {
  align-self: stretch;
  min-height: 30rem;
}

.feature-split__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.feature-split__content > .section-header {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .feature-split {
    grid-template-columns: minmax(0, 1fr);
  }

  /* text first on smaller screens */
  .feature-split__media,
  .feature-split--reverse .feature-split__media {
    order: 2;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* ---- Media slot: rounded photo frame with a built-in placeholder ------ */
.media-slot {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-xl);
  background-color: var(--color-surface);
  overflow: hidden;
}

.media-slot > img,
.media-slot > picture,
.media-slot > picture > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-slot:has(> img, > picture) {
  border-color: transparent;
}

.media-slot:has(> img, > picture) .media-slot__placeholder {
  display: none;
}

.media-slot__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  text-align: center;
  color: var(--color-text-muted);
}

.media-slot__placeholder svg {
  width: 3.5rem;
  height: 3.5rem;
  padding: 1rem;
  border-radius: 50%;
  background-color: var(--color-bg);
  color: var(--color-text-muted);
  box-shadow: var(--shadow-xs);
}

/* ---- Feature list: 2-column ruled list with icons ---------------------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-top: 1px solid var(--color-border);
  font-size: 0.9375rem;
  font-weight: var(--fw-medium);
  line-height: 1.35;
  color: var(--color-ink);
}

.feature-list__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  aspect-ratio: 1;
  flex: none;
  border-radius: 50%;
  background-color: var(--color-surface);
  color: var(--color-ink);
}

.feature-list__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (max-width: 560px) {
  .feature-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Note: highlighted one-line remark --------------------------------- */
.note {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5) var(--space-3) var(--space-3);
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--color-text-secondary);
}

.note__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  aspect-ratio: 1;
  flex: none;
  border-radius: 50%;
  background-color: var(--color-bg);
  color: var(--color-ink);
  box-shadow: var(--shadow-xs);
}

.note__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.note strong {
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
}

/* ---- Longer copy inside a feature split -------------------------------- */
.feature-split__text {
  max-width: 36rem;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.feature-split__text--strong {
  font-weight: var(--fw-medium);
  color: var(--color-ink);
}

.feature-split__text strong,
.section-header > p strong {
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
}

/* Emotional one-liner with a clay accent bar */
.pull-quote {
  max-width: 32rem;
  padding-left: var(--space-5);
  border-left: 2px solid var(--color-accent);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);   /* 18 → 22 */
  font-weight: var(--fw-medium);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  text-wrap: balance;
}

/* Single-column feature list for longer lines: "<strong>Žiemą</strong> – …" */
.feature-list--1col {
  grid-template-columns: minmax(0, 1fr);
}

.feature-list--1col .feature-list__item {
  font-weight: var(--fw-regular);
  color: var(--color-text-secondary);
}

.feature-list__item strong {
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
}

/* ---- Photo grid: 1 tall + 2 stacked (also works with 1 or 2 photos) ---- */
.photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.photo-grid > :first-child               { grid-row: 1 / -1; }
.photo-grid > :nth-child(2):last-child   { grid-row: 1 / -1; }
.photo-grid > :only-child                { grid-column: 1 / -1; }

@media (max-width: 560px) {
  .photo-grid.feature-split__media { aspect-ratio: 1 / 1; }
  .photo-grid .media-slot__placeholder { padding: var(--space-3); }
}

/* Small supporting photo next to text (e.g. under a heading) */
.inset-photo {
  width: 100%;
  max-width: 22rem;
}

/* Media slot for portrait photos in a landscape frame: the whole photo is
   shown, the sides are filled with a blurred copy of it.
   <figure class="media-slot media-slot--fit" style="--fit-bg: url('images/photo-1000.webp')"> */
.media-slot--fit::before {
  content: "";
  position: absolute;
  inset: -2rem;
  background: var(--fit-bg) center / cover no-repeat;
  filter: blur(28px) brightness(0.92);
}

.media-slot--fit > img,
.media-slot--fit > picture > img {
  object-fit: contain;
}

/* Media slot for drawings / floor plans: white, never cropped */
.media-slot--contain {
  background-color: var(--color-white);
}

.media-slot--contain .media-slot__placeholder svg {
  background-color: var(--color-surface);
  box-shadow: none;
}

.media-slot--contain > img,
.media-slot--contain > picture > img {
  inset: var(--space-4);
  width: calc(100% - var(--space-8));
  height: calc(100% - var(--space-8));
  object-fit: contain;
}

/* Media slot for a logo on a white background: grey panel, logo centred at
   (at most) its own size; multiply drops the logo's white box into the grey */
.media-slot.media-slot--logo {
  background-color: var(--color-surface);
}

.media-slot.media-slot--logo > img {
  position: static;
  width: min(62%, 241px);
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Post card that takes a full row on tablets: photo left, text right */
@media (min-width: 641px) and (max-width: 1024px) {
  .grid--6 > .post-card--split {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    gap: var(--space-4) var(--grid-gap);
  }

  .post-card--split > .post-card__media {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
}

/* ---- Statement row: three short, punchy lines -------------------------- */
.statement-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.statement-row__item {
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-ink);
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);   /* 20 → 28 */
  font-weight: var(--fw-medium);
  line-height: 1.25;
  letter-spacing: var(--ls-tight);
  color: var(--color-ink);
  text-wrap: balance;
}

/* two statements, columns lined up with a 2-column .intro-split below */
.statement-row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 1rem + 4vw, 5rem);
}

/* quieter statement (e.g. "Ne šimtai butų." before the ink "Tik dešimt namų.") */
.statement-row__item--muted {
  color: var(--color-text-muted);
  border-top-color: var(--color-border-strong);
}

/* optional small label above the statement: "VAIKAMS / Atskiri kambariai." */
.statement-row__label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .statement-row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }
}

/* ---- Highlight panel: dark "bonus / special offer" block --------------- */
.highlight-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  padding: clamp(1.25rem, 0.6rem + 3vw, 3.5rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(90% 120% at 0% 0%, rgb(168 128 108 / 0.34) 0%, rgb(168 128 108 / 0) 55%),
    var(--color-ink);
  color: var(--color-on-dark);
}

.highlight-panel__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-2);
}

.highlight-panel__title {
  color: var(--color-on-dark);
}

.highlight-panel__text {
  max-width: 30rem;
  line-height: 1.7;
  color: rgb(255 255 255 / 0.74);
}

.highlight-panel__text strong {
  font-weight: var(--fw-semibold);
  color: var(--color-on-dark);
}

.highlight-panel__content > .btn {
  margin-top: var(--space-2);
}

.highlight-panel__media {
  aspect-ratio: 4 / 3;
}

@media (max-width: 1024px) {
  .highlight-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Intro split: big title left, lead + story right ------------------- */
.intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--space-8) clamp(2rem, 1rem + 4vw, 5rem);
}

.intro-split__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.intro-split__title {
  font-size: clamp(2.25rem, 1.3rem + 3.2vw, 3.5rem);   /* 36 → 56 */
  line-height: 1.05;
  letter-spacing: var(--ls-tight);
}

.intro-split__aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 36rem;
}

.intro-split__lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);  /* 18 → 22 */
  font-weight: var(--fw-medium);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  text-wrap: balance;
}

.intro-split__text {
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.intro-split__text strong {
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
}

/* top-aligned variant (heading left, list right) */
.intro-split--top {
  align-items: start;
}

/* stretched variant: both columns share one height, e.g. a photo that is
   exactly as tall as the list next to it (.stretch-photo) */
.intro-split--stretch {
  align-items: stretch;
}

.stretch-photo {
  min-height: 16rem;
}

@media (max-width: 900px) {
  .stretch-photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 900px) {
  .intro-split { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Statement heading: sentence-case, medium size --------------------- */
.text-statement {
  font-size: clamp(1.375rem, 1.05rem + 1vw, 1.875rem);   /* 22 → 30 */
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: var(--ls-tight);
  text-transform: none;
  color: var(--color-ink);
}

/* ---- Info grid: icon + label + sentence on grey cards ------------------ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background-color: var(--color-surface);
}

.info-card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  aspect-ratio: 1;
  margin-bottom: var(--space-6);
  border-radius: 50%;
  background-color: var(--color-bg);
  color: var(--color-ink);
  box-shadow: var(--shadow-xs);
}

.info-card__icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.info-card__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.info-card__text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-ink);
}

@media (max-width: 1024px) {
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .info-grid { grid-template-columns: minmax(0, 1fr); }
  .info-card__icon { margin-bottom: var(--space-2); }
}

/* ---- Closing statement: big centred two-part line ---------------------- */
.closing-statement {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);   /* 24 → 40 */
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: var(--ls-tight);
  color: var(--color-ink);
  text-wrap: balance;
}

.closing-statement::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin: 0 auto var(--space-6);
  border-radius: 2px;
  background-color: var(--color-accent);
}

.closing-statement__muted {
  display: block;   /* the two halves always sit on their own lines */
  color: var(--color-text-muted);
}

/* ---- Photo band: full-width photo background, darkened for contrast ----
   <div class="photo-band" style="--focus: 50% 40%; --shade: .5">
     <picture class="photo-band__bg"><source …><img src="…" alt=""></picture>
     <div class="container">…content…</div>
   </div>
   --shade (0–1) sets how dark the overlay is.
   ----------------------------------------------------------------------- */
.photo-band {
  --shade: 0.5;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4.5rem, 3rem + 6vw, 9rem);
  background-color: var(--color-ink);   /* shows while the photo loads */
  color: var(--color-on-dark);
}

.container + .photo-band {
  margin-top: var(--header-gap);
}

.photo-band__bg,
.photo-band__bg img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

/* darkening: a little heavier at top and bottom where the text sits */
.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgb(12 12 12 / calc(var(--shade) + 0.12)) 0%,
      rgb(12 12 12 / var(--shade)) 45%,
      rgb(12 12 12 / calc(var(--shade) + 0.2)) 100%);
}

/* components on the photo */
.photo-band :is(h1, h2, h3, h4),
.photo-band .text-statement,
.photo-band .closing-statement,
.photo-band .intro-split__lead,
.photo-band .intro-split__text strong {
  color: var(--color-on-dark);
}

.photo-band .intro-split__text {
  color: rgb(255 255 255 / 0.8);
}

/* soft halo keeps big white type readable over bright parts of the photo */
.photo-band :is(h1, h2, h3),
.photo-band .intro-split__lead,
.photo-band .intro-split__text,
.photo-band .closing-statement {
  text-shadow: 0 1px 24px rgb(0 0 0 / 0.28);
}

.photo-band .eyebrow {
  background-color: rgb(255 255 255 / 0.14);
  color: rgb(255 255 255 / 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.photo-band .closing-statement__muted {
  color: rgb(255 255 255 / 0.68);
}

.photo-band .info-card {
  border: 1px solid rgb(255 255 255 / 0.14);
  background-color: rgb(255 255 255 / 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.photo-band .info-card__icon {
  background-color: rgb(255 255 255 / 0.12);
  color: var(--color-on-dark);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2);
}

.photo-band .info-card__label {
  color: rgb(255 255 255 / 0.72);
}

.photo-band .info-card__text {
  color: var(--color-on-dark);
}

.photo-band :focus-visible {
  outline-color: var(--color-white);
}

/* ---- Light photo band: photo (optionally blurred) under a white wash ----
   Text and cards keep their normal light-page colours; dark cards pop.
   <section class="section bg-band bg-band--blur" style="--wash: .78; --blur: 10px">
     <picture class="bg-band__bg"><img src="…" alt=""></picture>
     <div class="container">…</div>
   </section>
   --wash (0–1): how white the wash is · --blur: blur strength · --focus
   ----------------------------------------------------------------------- */
.bg-band {
  --wash: 0.78;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: calc(var(--section-space) * 0.75);
}

.bg-band__bg,
.bg-band__bg img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

.bg-band--blur .bg-band__bg img {
  filter: blur(var(--blur, 10px));
  transform: scale(1.1);
}

/* white wash: strongest at the top so it grows out of the white page */
.bg-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgb(255 255 255 / calc(var(--wash) + 0.14)) 0%,
      rgb(255 255 255 / var(--wash)) 45%,
      rgb(255 255 255 / calc(var(--wash) - 0.06)) 100%);
}

.bg-band .section-header > .eyebrow {
  background-color: rgb(255 255 255 / 0.85);
}

.bg-band .section-header > p {
  color: var(--color-text-secondary);
}

.bg-band .tier-card:not(.tier-card--featured),
.bg-band .info-card,
.bg-band .stat-card {
  background-color: var(--color-bg);
  box-shadow: var(--shadow-card);
}

.bg-band .tier-card:not(.tier-card--featured) .tier-card__icon {
  background-color: var(--color-surface);
  box-shadow: none;
}

/* blurred background photo; --blur sets the strength (default 10px).
   Scaled up slightly so the soft blurred edges never show. */
.photo-band--blur .photo-band__bg img {
  filter: blur(var(--blur, 10px));
  transform: scale(1.1);
}

/* cards and lists on a photo band */
.photo-band .post-card__title {
  color: var(--color-on-dark);
}

.photo-band .post-card__excerpt {
  color: rgb(255 255 255 / 0.78);
}

.photo-band .stat-card {
  border: 1px solid rgb(255 255 255 / 0.14);
  background-color: rgb(255 255 255 / 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.photo-band .stat-card__icon {
  background-color: rgb(255 255 255 / 0.12);
  color: var(--color-on-dark);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2);
}

.photo-band .stat-list > div {
  border-top-color: rgb(255 255 255 / 0.16);
}

.photo-band .stat-list dt {
  color: rgb(255 255 255 / 0.75);
}

.photo-band .stat-list dd {
  color: var(--color-on-dark);
}

/* ---- Photo band: centred CTA content ----------------------------------- */
.cta-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
}

.cta-center__title {
  max-width: 16em;
}

.cta-center__lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: var(--fw-medium);
  color: var(--color-ink);
}

.cta-center__text {
  max-width: 40rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.cta-center__text strong {
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
}

.cta-center__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.cta-center .statement-row {
  width: 100%;
  margin-block: var(--space-6);
}

/* on a photo band */
.photo-band .cta-center__lead,
.photo-band .cta-center__text strong {
  color: var(--color-on-dark);
}

.photo-band .cta-center__text {
  color: rgb(255 255 255 / 0.82);
}

.photo-band .statement-row__item {
  border-top-color: rgb(255 255 255 / 0.55);
  color: var(--color-on-dark);
  text-shadow: 0 1px 24px rgb(0 0 0 / 0.28);
}

/* one big statement as the CTA title */
.cta-center__title--xl {
  max-width: 14em;
  font-size: clamp(2.25rem, 1.2rem + 4vw, 4.5rem);   /* 36 → 72 */
  line-height: 1.05;
}

/* outline button for dark backgrounds */
.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--color-white);
  --btn-border: rgb(255 255 255 / 0.6);
}

.btn--outline-light:hover {
  --btn-bg: var(--color-white);
  --btn-fg: var(--color-ink);
  --btn-border: var(--color-white);
}

/* ---- House row: ten little houses, like a site-plan legend ------------- */
.house-row {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.house-row__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-5) var(--space-4);
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  font-variant-numeric: tabular-nums;
  color: var(--color-text-muted);
}

.house-row__item svg {
  width: clamp(1.75rem, 1rem + 2vw, 2.75rem);
  height: auto;
  color: var(--color-ink);
}

@media (max-width: 640px) {
  .house-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---- Facts: key figures in a hairline grid ----------------------------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--color-surface-3);
  border-radius: var(--radius-xl);
  background-color: var(--color-surface-3);   /* shows through the gaps as lines */
  overflow: hidden;
}

.fact {
  display: flex;
  flex-direction: column-reverse;   /* <dt> label first in HTML, shown under the value */
  justify-content: flex-end;
  gap: var(--space-2);
  padding: clamp(1.25rem, 0.8rem + 1.5vw, 2.25rem);
  background-color: var(--color-surface);
}

.fact dt {
  font-size: var(--fs-sm);
  line-height: 1.4;
  color: var(--color-text-secondary);
}

.fact dd {
  margin: 0;
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem);   /* 28 → 44 */
  font-weight: var(--fw-regular);
  line-height: 1;
  letter-spacing: var(--ls-tighter);
  white-space: nowrap;
  color: var(--color-ink);
}

.fact__unit {
  margin-left: 0.15em;
  font-size: 0.5em;
  letter-spacing: 0;
  color: var(--color-text-secondary);
}

@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Light highlight panel -------------------------------------------- */
.highlight-panel--light {
  background: var(--color-surface);
  color: var(--color-ink);
}

.highlight-panel--light .highlight-panel__title { color: var(--color-ink); }
.highlight-panel--light .highlight-panel__text  { color: var(--color-text-secondary); }
.highlight-panel--light .highlight-panel__text strong { color: var(--color-ink); }
.highlight-panel--light .feature-list__icon { background-color: var(--color-bg); box-shadow: var(--shadow-xs); }
.highlight-panel--light .feature-list__item { border-top-color: var(--color-surface-3); }

/* ---- Contact list ------------------------------------------------------ */
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-border);
}

.contact-list__item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.contact-list__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  aspect-ratio: 1;
  flex: none;
  border-radius: 50%;
  background-color: var(--color-surface);
  color: var(--color-ink);
}

.contact-list__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-list__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}

.contact-list__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.contact-list__value {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);   /* 18 → 24 */
  font-weight: var(--fw-medium);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  overflow-wrap: anywhere;
}

a.contact-list__value {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--dur-base) var(--ease-out);
}

a.contact-list__value:hover {
  background-size: 100% 1px;
}

/* ---- Gallery: 1 large + 8 small tiles; click opens the lightbox -------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(8rem, 5rem + 9vw, 15rem);
  gap: var(--space-3);
}

.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--color-surface-2);
}

.gallery__item--feature {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item picture,
.gallery__item img {
  width: 100%;
  height: 100%;
}

.gallery__item img {
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

/* small "expand" button appears on hover */
.gallery__item::after {
  content: "";
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-3);
  width: 2.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    var(--color-white) center / 1rem no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out);
}

.gallery__item:hover::after,
.gallery__item:focus-visible::after {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(7rem, 3rem + 16vw, 13rem);
    gap: var(--space-2);
  }
}

/* ---- Lightbox (native <dialog>) ---------------------------------------- */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: rgb(12 12 12 / 0.95);
  color: var(--color-on-dark);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox::backdrop {
  background-color: rgb(0 0 0 / 0.6);
}

html:has(.lightbox[open]) {
  overflow: hidden;
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  max-width: min(92vw, 90rem);
  margin: 0;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100dvh - 7rem);
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox__counter {
  position: fixed;
  top: var(--space-6);
  left: var(--space-6);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: rgb(255 255 255 / 0.7);
}

.lightbox__btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 3rem;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 50%;
  background-color: rgb(255 255 255 / 0.1);
  color: var(--color-on-dark);
  transition: background-color var(--dur-base), color var(--dur-base);
}

.lightbox__btn:hover {
  background-color: var(--color-white);
  color: var(--color-ink);
}

.lightbox__btn::before {
  content: "";
  width: 1.125rem;
  height: 1.125rem;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
}

.lightbox__prev { left: var(--space-6); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--space-6); top: 50%; transform: translateY(-50%); }
.lightbox__prev::before { transform: scaleX(-1); }

.lightbox__close {
  top: var(--space-5);
  right: var(--space-5);
}

.lightbox__close::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}

@media (max-width: 560px) {
  .lightbox__prev { left: var(--space-2); }
  .lightbox__next { right: var(--space-2); }
  .lightbox__btn { width: 2.5rem; }
}

/* ---- Place name under a card title ("„Kalvų Varniukai“ darželis") -------- */
.post-card__place {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  margin-top: calc(var(--space-2) * -1);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: 1.4;
  color: var(--color-text-secondary);
}

.post-card__place::before {
  content: "";
  width: var(--icon-sm);
  height: var(--icon-sm);
  margin-top: 0.15em;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--icon-pin) center / contain no-repeat;
  mask: var(--icon-pin) center / contain no-repeat;
}

/* small label above a stat-list term ("ARTIMIAUSIA / Jono Švažo stotelė") */
.stat-list__label {
  display: block;
  margin-bottom: 0.125rem;
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ---- Contact form ------------------------------------------------------
   <form class="contact-form"> … <div class="field"><label>…</label><input class="field__input"></div> …
   ----------------------------------------------------------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius-xl);
  background-color: var(--color-surface);
}

.contact-form__title {
  margin-bottom: var(--space-2);
  font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: var(--ls-tight);
  text-transform: none;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

@media (max-width: 560px) {
  .contact-form__row { grid-template-columns: minmax(0, 1fr); }
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.field__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.field__input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background-color: var(--color-bg);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-ink);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.field__input::placeholder {
  color: var(--color-text-subtle);
}

.field__input:hover {
  border-color: var(--color-text-subtle);
}

.field__input:focus {
  outline: none;
  border-color: var(--color-ink);
  box-shadow: 0 0 0 3px rgb(20 20 20 / 0.1);
}

textarea.field__input {
  min-height: 8rem;
  resize: vertical;
}

.contact-form__note {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--color-text-muted);
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: var(--space-2);
}

.contact-form__status:empty {
  display: none;
}

.contact-form__status {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-ink);
}

/* spam trap: off-screen field only bots fill in */
.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- Mini footer: one quiet line, no links ------------------------------ */
.site-footer--mini {
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.site-footer--mini .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* ---- Media badge: frosted pill on a photo ("5 km · ~12 min.") ---------- */
.media-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: rgb(255 255 255 / 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-xs);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  line-height: 1;
  white-space: nowrap;
  color: var(--color-ink);
}

.media-badge svg {
  width: var(--icon-sm);
  height: var(--icon-sm);
  flex: none;
}

/* ---- Stat card: grey card with big figures instead of a photo ---------- */
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background-color: var(--color-surface);
}

.stat-card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--color-bg);
  color: var(--color-ink);
  box-shadow: var(--shadow-xs);
}

.stat-card__icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.stat-list {
  width: 100%;
  margin: auto 0 0;
}

.stat-list > div {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  padding-block: var(--space-4);
  border-top: 1px solid var(--color-surface-3);
}

.stat-list dt {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
}

.stat-list dd {
  margin: 0;
  font-size: clamp(1.5rem, 1.15rem + 0.9vw, 2rem);   /* 24 → 32 */
  font-weight: var(--fw-regular);
  line-height: 1;
  letter-spacing: var(--ls-tighter);
  white-space: nowrap;
  color: var(--color-ink);
}

/* ---- Floor tour: tabs per floor · photo slider with arrows · room legend
   Behaviour lives in main.js (initTour). Swipe works natively (scroll-snap).

   <div class="tour" data-tour>
     <div class="tour__tabs" role="tablist">
       <button class="tour__tab" role="tab" aria-selected="true" aria-controls="p1">1 aukštas</button> …
     </div>
     <div class="tour__panel" role="tabpanel" id="p1">
       <div class="tour__viewer">
         <div class="tour__track" data-tour-track>
           <figure class="tour__slide media-slot" data-room="svetaine">
             <img …>  <figcaption class="tour__label">Svetainė</figcaption>
           </figure> …
         </div>
         <button class="tour__arrow tour__arrow--prev" data-tour-prev></button>
         <button class="tour__arrow tour__arrow--next" data-tour-next></button>
         <span class="tour__counter" data-tour-counter></span>
       </div>
       <div class="tour__legend">
         … <button class="tour__room" data-tour-room="svetaine">…</button> …
       </div>
     </div>
   </div>
   ----------------------------------------------------------------------- */
.tour {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.tour__tabs {
  display: inline-flex;
  align-self: flex-start;
  gap: var(--space-1);
  padding: var(--space-1);
  border-radius: var(--radius-pill);
  background-color: var(--color-surface-2);
}

.tour__tab {
  height: 2.5rem;
  padding-inline: var(--space-5);
  border-radius: var(--radius-pill);
  font-size: var(--fs-nav);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}

.tour__tab:hover {
  color: var(--color-ink);
}

.tour__tab[aria-selected="true"] {
  background-color: var(--color-ink);
  color: var(--color-white);
}

.tour__panel {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: var(--grid-gap);
}

.tour__panel[hidden] {
  display: none;
}

/* viewer + track */
.tour__viewer {
  position: relative;
  min-width: 0;
}

.tour__track {
  position: relative;
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius-xl);
}

.tour__track::-webkit-scrollbar {
  display: none;
}

.tour__slide {
  flex: 0 0 100%;
  aspect-ratio: 16 / 10;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* room name on each photo */
.tour__label {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  z-index: 1;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-pill);
  background-color: rgb(255 255 255 / 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-xs);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ink);
}

/* arrows */
.tour__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: rgb(255 255 255 / 0.94);
  color: var(--color-ink);
  box-shadow: var(--shadow-card);
  transform: translateY(-50%);
  transition: background-color var(--dur-base), color var(--dur-base), opacity var(--dur-base);
}

.tour__arrow::before {
  content: "";
  width: 1.125rem;
  height: 1.125rem;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
}

.tour__arrow--prev { left: var(--space-4); }
.tour__arrow--next { right: var(--space-4); }
.tour__arrow--prev::before { transform: scaleX(-1); }

.tour__arrow:hover {
  background-color: var(--color-ink);
  color: var(--color-white);
}

.tour__arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.tour__counter {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 1;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: rgb(20 20 20 / 0.72);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  line-height: 1;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--color-white);
}

/* legend (the "map key") */
.tour__legend {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background-color: var(--color-surface);
}

.tour__legend > .eyebrow {
  align-self: flex-start;
}

.tour__title {
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: var(--ls-tight);
  text-transform: none;
}

.tour__text {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.tour__rooms {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-surface-3);
}

.tour__room {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  padding: 0.8125rem var(--space-1);
  border-bottom: 1px solid var(--color-surface-3);
  text-align: left;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: 1.3;
  color: var(--color-text-secondary);
  transition: color var(--dur-fast);
}

.tour__room-num {
  width: 1.5rem;
  flex: none;
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
  color: var(--color-text-muted);
}

.tour__room::after {
  content: "";
  width: 1rem;
  height: 1rem;
  margin-left: auto;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out);
}

.tour__room:hover {
  color: var(--color-ink);
}

.tour__room:hover::after {
  opacity: 0.4;
  transform: none;
}

.tour__room[aria-current="true"] {
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
}

.tour__room[aria-current="true"] .tour__room-num {
  color: var(--color-accent);
}

.tour__room[aria-current="true"]::after {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .tour__panel { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .tour__slide { aspect-ratio: 4 / 3; }
  .tour__arrow { width: 2.5rem; }
  .tour__arrow--prev { left: var(--space-3); }
  .tour__arrow--next { right: var(--space-3); }
  .tour__label { left: var(--space-3); bottom: var(--space-3); }
  .tour__counter { right: var(--space-3); bottom: var(--space-3); }
  .tour__tabs { align-self: stretch; }
  .tour__tab { flex: 1; }
}


/* ==========================================================================
   13 FAQ ACCORDION — built on native <details>/<summary>

   <div class="accordion">
     <details class="accordion__item">
       <summary class="accordion__trigger">
         1. What is your process? <span class="accordion__icon"></span>
       </summary>
       <div class="accordion__panel">…</div>
     </details>
   </div>
   ========================================================================== */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.faq__art {
  width: 100%;
  max-width: 36rem;
}

@media (max-width: 1024px) {
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__art { max-width: 22rem; margin-inline: auto; }
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.accordion__item {
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  transition: background-color var(--dur-base);
}

.accordion__item:hover,
.accordion__item[open] {
  background-color: var(--color-surface-2);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-7);
  list-style: none;
  cursor: pointer;
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  line-height: var(--lh-normal);
  color: var(--color-text-secondary);
  border-radius: inherit;
}

.accordion__trigger::-webkit-details-marker {
  display: none;
}

.accordion__item[open] .accordion__trigger {
  color: var(--color-ink);
}

/* plus → minus */
.accordion__icon {
  position: relative;
  width: var(--icon-sm);
  height: var(--icon-sm);
  flex: none;
  color: var(--color-ink);
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  margin-top: -0.75px;
  border-radius: 2px;
  background-color: currentColor;
  transition: transform var(--dur-base) var(--ease-out);
}

.accordion__icon::after {
  transform: rotate(90deg);
}

.accordion__item[open] .accordion__icon::after {
  transform: rotate(0deg);
}

.accordion__panel {
  max-width: 62ch;
  padding: 0 var(--space-7) var(--space-6);
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* smooth open/close where supported (Chrome 131+) */
@supports (interpolate-size: allow-keywords) {
  .accordion {
    interpolate-size: allow-keywords;
  }

  .accordion__item::details-content {
    block-size: 0;
    overflow: hidden;
    transition:
      block-size var(--dur-base) var(--ease-out),
      content-visibility var(--dur-base) allow-discrete;
  }

  .accordion__item[open]::details-content {
    block-size: auto;
  }
}


/* ==========================================================================
   14 FOOTER — light CTA card + dark information panel
   ========================================================================== */

.site-footer {
  padding-block: var(--space-8) clamp(1rem, 2.5vw, 2.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Left: CTA card ---- */
.footer-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-height: 28rem;
  padding: var(--space-8) var(--space-8) 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--color-surface) 40%, #e3e3e3 100%);
  overflow: hidden;
}

.footer-cta__title {
  max-width: 13em;
  color: var(--color-ink);
}

.footer-cta__media {
  margin-top: auto;
  margin-inline: calc(var(--space-8) * -1);
}

.footer-cta__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

/* ---- Right: dark panel ---- */
.footer-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(1.5rem, 1rem + 2vw, 3rem) var(--space-6);
  border-radius: var(--radius-xl);
  background-color: var(--color-ink);
  color: var(--color-on-dark);
}

.footer-panel__top {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.7fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border-dark);
}

.footer-panel__middle {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8) var(--space-12);
  flex: 1;
  padding-block: var(--space-8);
}

.footer-panel__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-dark);
  font-size: var(--fs-xs);
  color: var(--color-on-dark-dim);
}

@media (max-width: 768px) {
  .footer-panel__top    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-panel__middle { grid-template-columns: minmax(0, 1fr); }
}

.footer-heading {
  margin-bottom: var(--space-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-on-dark);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  line-height: 1.3;
  color: var(--color-on-dark-muted);
}

.footer-links a {
  transition: color var(--dur-fast);
}

.footer-links a:hover {
  color: var(--color-on-dark);
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  padding: 0;
  list-style: none;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--color-on-dark-muted);
  transition: color var(--dur-fast);
}

.social-link__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  aspect-ratio: 1;
  border: 1px solid var(--color-border-dark-strong);
  border-radius: 50%;
  transition: border-color var(--dur-fast), background-color var(--dur-fast), color var(--dur-fast);
}

.social-link__icon svg {
  width: var(--icon-sm);
  height: var(--icon-sm);
}

.social-link:hover {
  color: var(--color-on-dark);
}

.social-link:hover .social-link__icon {
  border-color: var(--color-on-dark);
  background-color: var(--color-on-dark);
  color: var(--color-ink);
}

.footer-email {
  display: inline-block;
  margin-top: var(--space-10);
  font-size: var(--fs-email);
  font-weight: var(--fw-medium);
  line-height: 1.15;
  letter-spacing: var(--ls-tight);
  color: var(--color-on-dark);
  overflow-wrap: anywhere;
}

.footer-contact {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--color-on-dark-muted);
}

.footer-contact p + p {
  margin-top: var(--space-2);
}

.footer-contact a:hover {
  color: var(--color-on-dark);
}


/* ==========================================================================
   15 UTILITIES
   ========================================================================== */

.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;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mx-auto { margin-inline: auto; }
.mt-0  { margin-top: 0; }
.mt-2  { margin-top: var(--space-2); }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: var(--space-4); }
.mb-8  { margin-bottom: var(--space-8); }

.w-full { width: 100%; }

/* Cover-fit media inside any sized box */
.media-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratio-square { aspect-ratio: 1 / 1; }
.ratio-3x2    { aspect-ratio: 3 / 2; }
.ratio-4x3    { aspect-ratio: 4 / 3; }
.ratio-16x10  { aspect-ratio: 16 / 10; }
.ratio-3x4    { aspect-ratio: 3 / 4; }

.rounded-md   { border-radius: var(--radius-md); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-xl   { border-radius: var(--radius-xl); }
.rounded-pill { border-radius: var(--radius-pill); }
.clip         { overflow: hidden; }

.bg-surface { background-color: var(--color-surface); }
.bg-ink     { background-color: var(--color-ink); color: var(--color-on-dark); }

.divider {
  height: 1px;
  border: 0;
  background-color: var(--color-border);
}

.on-dark .divider,
.bg-ink .divider {
  background-color: var(--color-border-dark);
}


/* ==========================================================================
   16 REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
