/* ==========================================================================
   Ancın İnşaat — Design System Foundation
   Milestone 1 · Commit 2 — Core Design Tokens

   This file defines the reusable visual-language tokens approved in
   docs/02_DesignSystem.md. It intentionally contains NO reset rules,
   NO utility classes, NO layout classes and NO component styles —
   those are implemented in later Milestone 1 commits.
   ========================================================================== */


/* ==========================================================================
   1. Font Face Declarations
   Self-hosted, WOFF2 only, font-display: swap.
   Each weight ships two subsets — "latin" and "latin-ext" — because the
   site is Turkish (lang="tr") and characters such as ş / İ used in
   "Ancın İnşaat" itself fall in the latin-ext Unicode range.
   ========================================================================== */

/* ---- Playfair Display (headings only) ---- */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display/playfair-display-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display/playfair-display-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-display/playfair-display-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-display/playfair-display-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Cormorant Garamond (decorative headings only, e.g. Company
   History's oversized background title) ---- */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond/cormorant-garamond-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond/cormorant-garamond-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Montserrat Light (Project Detail Hero typography only, 2026-08-08) —
   used exclusively for the Nlatis/Dlatis Hero title, matching those two
   projects' own logo wordmark. ---- */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/montserrat/montserrat-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/montserrat/montserrat-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Montserrat Bold (Home "Devam Eden Projeler" card hover title only,
   2026-08-20) — matches the Terzioğlu reference's bold uppercase title
   treatment; nothing else on the site references this weight. ---- */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/montserrat/montserrat-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/montserrat/montserrat-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Poiret One (Project Detail Hero typography only, 2026-08-08) — used
   exclusively for the four "Gold" project Hero titles (Nysa, Tralles,
   Alinda, Magnesia), matching those logos' thin geometric wordmark. Only
   the 400 weight exists for this family. ---- */

@font-face {
  font-family: 'Poiret One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poiret-one/poiret-one-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poiret One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poiret-one/poiret-one-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Caviar Dreams (Company Overview "50 Yıllık Tecrübe" heading only,
   2026-08-28) — self-hosted from the licensed Font Squirrel distribution
   (free for commercial/personal use); single file per weight since the
   source isn't split into latin/latin-ext subsets like the Google Fonts
   families above. Not part of --font-heading — applied only to
   #company-overview-heading. ---- */

@font-face {
  font-family: 'Caviar Dreams';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/caviar-dreams/caviar-dreams-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Caviar Dreams';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/caviar-dreams/caviar-dreams-700.woff2') format('woff2');
}

/* ---- Oswald (Projects Showcase "Devam Eden Projeler" heading pair only,
   2026-08-28) — self-hosted from Google Fonts; replaces an earlier Caviar
   Dreams attempt for this section specifically, which lacked glyphs for
   ç/ğ/ı/İ/ö/ş/ü. Google serves this family as a variable font (wght
   400–700) — the 400/700 URLs below are byte-identical (the browser
   instantiates each at its declared weight), split into latin/latin-ext
   subsets like every other family above so Turkish characters resolve
   from latin-ext while everything else loads from the smaller latin
   file. Not part of --font-heading — applied only to
   .projects-showcase-header .section-header__eyebrow and h2. ---- */

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/oswald/oswald-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/oswald/oswald-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/oswald/oswald-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/oswald/oswald-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Inter (body / UI text) ---- */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter/inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter/inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter/inter-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* ==========================================================================
   2. Design Tokens
   ========================================================================== */

:root {

  /* --------------------------------------------------------------------
     2.1 Colour
     Source: docs/02_DesignSystem.md — Approved Design Decisions.
     Secondary and Feedback (success/warning/error/info) colours are
     intentionally deferred to the milestone that first requires them.
     -------------------------------------------------------------------- */

  /* Brand */
  --color-accent: #9E2B25;        /* Deep Brick Red — CTAs, active nav, links, highlights only. Never a large background. */

  /* Nysa Gold Residence UI revision (2026-08-07) — project-owner-approved
     one-off, NOT an addition to docs/02_DesignSystem.md's approved
     palette. Used only for that project's Concept panel background,
     where --color-accent itself is off-limits per the "never a large
     background" rule above; a real, distinct warm terracotta rather than
     a tint of the accent keeps that rule intact. Scoped entirely to
     .project-concept-panel--featured — no other project references it. */
  --color-terracotta: #B96A4A;

  /* Neutrals */
  --color-near-black: #1C1C1C;
  --color-dark-gray: #55504D;
  --color-light-gray: #F0EEEB;
  --color-white: #FFFFFF;

  /* Footer background (2026-10-29 client request — no pure black).
     Warm dark gray from the same family as --color-dark-gray. Alternatives
     to try: #44403C (slightly lighter — note .footer-copyright's 0.56
     alpha drops to ~4.49:1 there, just under AA, so raise it to 0.6 if
     switching) and #2E2B29 (slightly darker). */
  --color-footer-bg: #3A3633;

  /* Semantic aliases (map approved colours to the usage roles
     described in 02_DesignSystem.md — no new hues introduced) */
  --color-background: var(--color-white);
  --color-surface: var(--color-light-gray);
  --color-border: var(--color-light-gray);
  --color-text-primary: var(--color-near-black);
  --color-text-secondary: var(--color-dark-gray);

  /* Hero Background Zoom (Section 16) — default cycle/peak for every
     banner using @keyframes hero-bg-zoom. A modifier (e.g.
     .hero--zoom-strong) overrides these on an ancestor; .hero-bg and
     .project-catalogue-cta-bg inherit them from there. */
  --hero-zoom-duration: 22s;
  --hero-zoom-scale: 1.1;


  /* --------------------------------------------------------------------
     2.2 Typography
     Font families and weights are per Approved Design Decisions.
     -------------------------------------------------------------------- */

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-decorative: 'Cormorant Garamond', serif;

  /* Project Detail Hero title only (2026-08-08) — matches each project's
     own logo wordmark; see .hero-heading--font-* below. Not part of the
     site-wide type scale, so kept out of 02_DesignSystem.md's approved
     token set. */
  --font-hero-montserrat: 'Montserrat', sans-serif;
  --font-hero-poiret: 'Poiret One', sans-serif;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --font-size-h1: 3rem;      /* 48px */
  --font-size-h2: 2.25rem;   /* 36px */
  --font-size-h3: 1.75rem;   /* 28px */
  --font-size-h4: 1.25rem;   /* 20px */
  --font-size-body: 1rem;    /* 16px */
  --font-size-small: 0.875rem; /* 14px */

  --line-height-heading: 1.2;
  --line-height-body: 1.6;


  /* --------------------------------------------------------------------
     2.3 Spacing
     8px rhythm with a 4px half-step, expressed in rem.
     -------------------------------------------------------------------- */

  --space-2xs: 0.25rem;  /* 4px */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 0.75rem;   /* 12px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  --space-4xl: 6rem;     /* 96px */
  --space-5xl: 8rem;     /* 128px */


  /* --------------------------------------------------------------------
     2.4 Border Radius
     Two tiers only — per 02_DesignSystem.md's "avoid mixing multiple
     corner styles."
     -------------------------------------------------------------------- */

  --radius-sm: 0.25rem;  /* 4px — buttons, inputs, badges */
  --radius-md: 0.5rem;   /* 8px — cards, larger containers, images */


  /* --------------------------------------------------------------------
     2.5 Shadows
     Subtle, low-opacity, tinted from --color-near-black for cohesion
     with the approved palette rather than generic black.
     -------------------------------------------------------------------- */

  --shadow-sm: 0 1px 2px rgba(28, 28, 28, 0.06);
  --shadow-md: 0 4px 12px rgba(28, 28, 28, 0.08);


  /* --------------------------------------------------------------------
     2.6 Container Width
     Side padding reuses the spacing scale rather than introducing new
     arbitrary values. Applied to actual layout in a later commit.
     -------------------------------------------------------------------- */

  --container-max-width: 1280px;
  --container-padding-mobile: var(--space-md);   /* 16px */
  --container-padding-tablet: var(--space-lg);   /* 24px */
  --container-padding-desktop: var(--space-xl);  /* 32px */

  /* .navbar-logo img's height (4.5rem) + .navbar-inner's padding-block
     (var(--space-md) top and bottom) — constant at every breakpoint, so
     one token instead of each consumer recomputing it. Currently only
     Section 36 (Search Overlay) reads this, to sit its panel flush under
     the sticky Navbar without duplicating the 6.5rem figure. Update this
     alongside either of those two values if they ever change. */
  --navbar-height: 6.5rem;


  /* --------------------------------------------------------------------
     2.7 Transition Durations & Easing
     Token definitions only — no animations are implemented here.
     --transition-slow sits inside the 0.6s–1.2s range already
     specified in docs/05_Animations.md; --ease-standard is that same
     document's stated preferred easing.
     -------------------------------------------------------------------- */

  --transition-fast: 150ms;
  --transition-base: 300ms;
  --transition-slow: 800ms;
  --ease-standard: ease-in-out;


  /* --------------------------------------------------------------------
     2.8 Grid Gap
     Introduced in Commit 4 (Layout & Grid Utilities) — reuses the
     spacing scale rather than introducing new arbitrary values.
     -------------------------------------------------------------------- */

  --grid-gap-sm: var(--space-sm);  /* 12px */
  --grid-gap-md: var(--space-lg);  /* 24px */
  --grid-gap-lg: var(--space-xl);  /* 32px */

}


/* ==========================================================================
   Reference — Approved Responsive Breakpoints
   Not expressed as custom properties: CSS custom properties cannot be
   read inside @media conditions. Recorded here for consistency and
   applied as literal values starting in Commit 4 (Layout & Grid Utilities).

     Tablet:  min-width 768px
     Desktop: min-width 1024px
   ========================================================================== */


/* ==========================================================================
   3. Modern Reset
   Conservative on purpose — normalizes inconsistent browser defaults
   without removing behaviour that helps accessibility (default focus
   indication, semantic list markers, underlined links, etc.).
   ========================================================================== */

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

* {
  margin: 0;
}

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

body {
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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


/* ==========================================================================
   4. Base Element Styles
   ========================================================================== */

body {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--color-text-primary);
  background-color: var(--color-background);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  color: var(--color-text-primary);
  margin-block-end: var(--space-md);
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

p {
  margin-block-end: var(--space-md);
}

a {
  color: var(--color-accent);
  text-decoration-line: underline;
  text-underline-offset: 0.15em;
  transition: color var(--transition-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-near-black);
}

ul,
ol {
  margin-block-end: var(--space-md);
  padding-inline-start: var(--space-lg);
}

li {
  margin-block-end: var(--space-2xs);
}

button {
  cursor: pointer;
  border-radius: var(--radius-sm);
}

input,
textarea,
select {
  border-radius: var(--radius-sm);
}


/* ==========================================================================
   5. Accessible Focus States
   :focus-visible only — the browser's default :focus behaviour is left
   intact rather than suppressed, so keyboard focus is always indicated
   even in the rare case a browser doesn't support :focus-visible.
   ========================================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}


/* ==========================================================================
   6. 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;
    transition-delay: 0ms !important; /* zeroes out [data-reveal]'s stagger (Section 18) */
  }
}


/* ==========================================================================
   7. Layout & Grid Utilities
   Layout-only primitives — container, grid, section spacing. No
   component, page-specific, or content styling belongs in this section.
   Mobile-first: every rule below is the mobile default first, refined
   at the two approved breakpoints (Tablet 768px, Desktop 1024px).
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--container-padding-tablet);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: var(--container-padding-desktop);
  }
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap-md);
}

@media (min-width: 768px) {
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-3xl);
  }
}

@media (min-width: 1024px) {
  .section {
    padding-block: var(--space-4xl);
  }
}

/* ---- Visually Hidden ----
   Standard WCAG "sr-only" pattern: keeps content in the accessibility
   tree and available to screen readers without reserving layout space,
   for cases where a control's accessible name must not appear as
   visible copy (e.g. Video Showcase's play button). */

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


/* ==========================================================================
   8. Primitive Component Styles
   Reusable visual primitives only — no page-specific or content-specific
   styling. Actual components (Navbar, Hero, Footer, Project Card,
   Contact Form, etc.) are built in later milestones on top of these.
   ========================================================================== */

/* ---- Buttons ----
   .btn is the shared shell (sizing, spacing, shape); .btn-primary /
   .btn-secondary / .btn-text supply only fill, border and text colour.
   Applies equally to <button> and <a class="btn">. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 2.75rem; /* 44px minimum touch target */
  padding-inline: var(--space-lg);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-body);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--transition-fast) var(--ease-standard),
    border-color var(--transition-fast) var(--ease-standard),
    color var(--transition-fast) var(--ease-standard),
    box-shadow var(--transition-fast) var(--ease-standard);
}

.btn-primary {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

/* Hover deliberately inverts to a white fill with the border staying
   accent-red and the label going near-black — never a black fill and
   never red text on hover (2026-07-28 refinement, "Devamını Oku"). */
.btn-primary:hover {
  background-color: var(--color-white);
  border-color: var(--color-accent);
  color: var(--color-near-black);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

/* ---- Secondary Button, on dark backgrounds ----
   var(--color-accent) on var(--color-near-black) contrasts at ~2.3:1 —
   well under the 3:1 floor for UI components/large text (WCAG 1.4.11 /
   1.4.3), so the default .btn-secondary cannot be used over the Hero
   Banner's dark background. This modifier swaps the outline to white,
   which stays legible there. */

.btn-secondary--on-dark {
  /* Explicit transparent background (2026-08-07 fix) — every prior use of
     this modifier was an <a>, which has no native background, so this gap
     went unnoticed; the Nysa Gold Hero's "Vaziyet Planı" is a <button>
     (a Media Viewer trigger, not a link) and exposed it: native <button>
     UA chrome supplies its own light gray face otherwise. */
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-secondary--on-dark:hover {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-near-black);
}

.btn-text {
  background-color: transparent;
  border-color: transparent;
  padding-inline: var(--space-sm);
  color: var(--color-accent);
}

.btn-text:hover {
  color: color-mix(in srgb, var(--color-accent) 85%, black);
  text-decoration-line: underline;
}

/* .btn focus-visible states are inherited from Section 5 (Accessible
   Focus States) — button/a already carry the shared accent outline
   rule, so it is intentionally not repeated here. */


/* ---- Card ---- */

.card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
}


/* ---- Section Header ----
   Title Only / Title + Description variants (docs/04_ComponentLibrary.md)
   are expressed by the partial simply omitting the optional description
   paragraph — no modifier class needed. */

.section-header {
  margin-block-end: var(--space-xl);
}

@media (min-width: 1024px) {
  .section-header {
    margin-block-end: var(--space-2xl);
  }
}

.section-header > :last-child {
  margin-block-end: 0;
}

.section-header__description {
  max-width: 60ch;
  color: var(--color-text-secondary);
}

/* ---- Section Header Eyebrow ----
   Optional third slot (2026-07-28 refinement), inspired by
   Inspirationals/Terzioglu's small label-above-heading pattern. Weight,
   size and letter-spacing reuse the same "label" treatment already
   established by .footer-heading rather than inventing a new one; the
   short accent-coloured line is the one deliberate brand touch, using
   var(--color-accent) in its approved "small decorative accent" role. */

.section-header__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-block-end: var(--space-sm);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
}

.section-header__eyebrow-line {
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  background-color: var(--color-accent);
}

/* ---- Section Header, centered ----
   For sections whose heading stands alone rather than beside body copy
   (e.g. Company History's "Zaman Tüneli"). */

.section-header--center {
  text-align: center;
}

.section-header--center .section-header__eyebrow {
  justify-content: center;
}

.section-header--center .section-header__description {
  margin-inline: auto;
}


/* ---- Image Block ----
   Generic image container for two-column content sections (Company
   Overview, Company Story, People & Culture — see 03_PageBlueprints.md).
   A fixed aspect ratio keeps mixed source images visually consistent
   per docs/02_DesignSystem.md ("Images ... use consistent aspect
   ratios"); object-fit crops rather than distorts. */

.image-block {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}


/* ---- Scroll Indicator ----
   Hero Banner affordance only (see 03_PageBlueprints.md). Uses a
   continuous, low-amplitude bounce rather than a one-time load
   animation, since visitors often read hero copy first and would miss
   a cue that only plays once. The global prefers-reduced-motion rule
   (Section 6) already caps animation-iteration-count at 1 and shortens
   its duration, so no separate override is needed here. Colour
   defaults to the standard text colour; a hero built on a photographic
   background (Commit 3) can override it via the CssClass hook for
   contrast. */

.scroll-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--color-text-primary);
  animation: scroll-indicator-bounce 2s var(--ease-standard) infinite;
}

.scroll-indicator:hover {
  color: var(--color-accent);
}

/* ---- Scroll Indicator, on dark backgrounds ----
   var(--color-text-primary) (near-black) is invisible against the Hero
   Banner's near-black background — see 16. Hero Banner. */

.scroll-indicator--on-dark {
  color: var(--color-white);
}

@keyframes scroll-indicator-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}


/* ---- Form Controls ---- */

label {
  display: block;
  font-weight: var(--font-weight-medium);
  margin-block-end: var(--space-2xs);
}

input,
textarea,
select {
  display: block;
  width: 100%;
  min-height: 2.75rem; /* 44px minimum touch target */
  padding-block: var(--space-xs);
  padding-inline: var(--space-sm);
  border: 1px solid var(--color-dark-gray);
  background-color: var(--color-white);
  transition: border-color var(--transition-fast) var(--ease-standard);
}

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

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: var(--color-accent);
}

/* Base input/select/textarea :focus-visible outline and border-radius
   are inherited from Sections 3 and 5 and intentionally not repeated. */


/* ---- Validation States ----
   Contact Form milestone (2026-08-01): resolves the colour gap left open
   above without introducing any hex value outside 02_DesignSystem.md's
   approved 4-colour palette. Error reuses --color-accent — already
   approved for "Highlights" and conventionally red, so an invalid field
   needs no new colour. There is no approved "success green"; the Success
   Message component (site.css Section 27) is deliberately colour-neutral
   (near-black/white + an accent-coloured check icon) instead of inventing
   one — see docs/14_Decisions.md. */

.form-field {
  margin-block-end: var(--space-md);
}

.form-hint,
.form-error {
  display: block;
  font-size: var(--font-size-small);
  margin-block-start: var(--space-2xs);
}

.form-error {
  color: var(--color-accent);
  font-weight: var(--font-weight-medium);
}

.form-error:empty {
  display: none;
}

input[aria-invalid='true'],
textarea[aria-invalid='true'],
select[aria-invalid='true'] {
  border-width: 2px;
  border-color: var(--color-accent);
}


/* ==========================================================================
   9. Navigation
   Milestone 2 · Commit 2 — Navbar desktop structure + dropdown menus.
   Milestone 2 · Commit 3 — Mobile menu (hamburger-triggered panel).
   Dropdowns (Corporate / People First) use hover/click on desktop
   (≥1024px) and tap-to-expand accordions inside the mobile panel
   below that breakpoint.
   ========================================================================== */

/* ---- Skip Link ----
   Visually hidden until keyboard-focused, per WCAG 2.4.1 (Bypass Blocks). */

.skip-link {
  position: absolute;
  top: -3rem;
  left: var(--space-md);
  z-index: 100;
  padding-block: var(--space-xs);
  padding-inline: var(--space-md);
  background-color: var(--color-white);
  color: var(--color-near-black);
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast) var(--ease-standard);
}

.skip-link:focus-visible {
  top: var(--space-md);
}

/* ---- Navbar ---- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--color-white);
  transition: background-color var(--transition-base) var(--ease-standard);
}

/* ---- Navbar — Transparent Over Hero (Nysa Gold Residence reference
   redesign, 2026-08-07, rolled out to every Project Detail page 2026-08-08
   and the Home Hero 2026-08-10) ----
   Only ever toggled by site.js's "Navbar — Transparent Over Hero" module,
   scoped to pages whose Hero carries .hero--overlap-navbar — so this class
   never applies on Projects/About/etc., which have no such Hero. Text/icon
   colors flip to white while transparent; the logo is left unchanged, per
   the brief. Reverts smoothly (.navbar's own transition, above) once the
   Hero scrolls out of view. */

.navbar--transparent {
  background-color: transparent;
}

.navbar--transparent .nav-link,
.navbar--transparent .nav-link--active,
.navbar--transparent .lang-option,
.navbar--transparent .navbar-search-trigger {
  color: var(--color-white);
}

.navbar--transparent .lang-divider {
  color: color-mix(in srgb, var(--color-white) 50%, transparent);
}

.navbar--transparent .navbar-toggle-bar {
  background-color: var(--color-white);
}

.navbar--transparent .nav-chevron {
  border-color: var(--color-white);
}

/* Only .navbar-logo and .navbar-actions take part in this flex row —
   .navbar-nav is absolutely centered independently of both (see its
   own ≥1024px rule below), so the menu stays perfectly centered
   regardless of how wide the logo or the actions cluster are. */
.navbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-md);
  /* Height pinned explicitly to --navbar-height (the token every other
     consumer, e.g. the Search Overlay, already assumes is constant) so the
     enlarged logo below centers within a fixed-height bar instead of
     growing it — logo size and bar height are deliberately decoupled. */
  height: var(--navbar-height);
}

.navbar-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0; /* never let the flex row collapse the logo to zero width */
}

.navbar-logo img {
  /* Slightly enlarged (2026-08-07 logo refresh, 4.5rem → 4.8rem) — the new
     mark (ancin-logo-removebg-preview.png) reads a touch smaller at the old
     size. .navbar-inner's pinned height (--navbar-height) absorbs the
     change with no bar-height/spacing impact, per the note below. */
  height: 4.8rem;
  width: auto;
  display: block;
}

/* Narrow phones: the full-size logo plus .navbar-actions don't fit. The logo
   PNG has ~14% transparent margin per side, so the negative margin first lets
   the actions overlap that empty area (no visible change, full size down to
   ~360px); below that the logo alone gives up the remaining width. The actions
   cluster and its 44px touch targets never shrink. */
@media (max-width: 767px) {
  .navbar-logo {
    flex-shrink: 1;
    min-width: 0;
    margin-inline-end: -1.25rem;
  }

  .navbar-logo img {
    height: auto;
    max-height: 4.8rem;
    max-width: 100%;
  }
}

/* Keeps the logo mark from touching the language selector on the narrowest
   phones, where the transparent margin itself has scaled down. */
@media (max-width: 359px) {
  .navbar-logo {
    margin-inline-end: -0.75rem;
  }
}

@media (min-width: 768px) {
  .navbar-logo img {
    /* Sized up from 4.5rem for more visual presence — only from the
       tablet breakpoint up: at mobile widths the logo's own aspect ratio
       (roughly 2.45:1) means 5.5rem already collides with .navbar-actions
       (confirmed: 216px logo + ~172px actions cluster > a 375px viewport's
       343px inner width, forcing horizontal scroll). .navbar-inner's
       pinned height keeps the bar itself pixel-perfect at every size.
       2026-08-07: bumped to 5.8rem alongside the mobile-tier increase
       above, same rationale — still comfortably clears .navbar-actions at
       this breakpoint's wider viewport. */
    height: 5.8rem;
  }
}

/* ---- Mobile Menu Toggle ----
   Hidden at ≥1024px, where the full nav row already fits. The three
   bars morph into an X using only `transform` (rotate/translate) and
   `opacity`, per docs/05_Animations.md's "animate opacity/transform,
   never width/height/top/left" rule. */

.navbar-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3125rem; /* 5px */
  width: 2.75rem;  /* 44px touch target */
  height: 2.75rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .navbar-toggle {
    display: none;
  }
}

.navbar-toggle-bar {
  display: block;
  width: 1.375rem; /* 22px */
  height: 2px;
  background-color: var(--color-text-primary);
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast) var(--ease-standard),
    opacity var(--transition-fast) var(--ease-standard);
}

.navbar-toggle.is-active .navbar-toggle-bar:nth-child(1) {
  transform: translateY(0.5625rem) rotate(45deg); /* 9px */
}

.navbar-toggle.is-active .navbar-toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.is-active .navbar-toggle-bar:nth-child(3) {
  transform: translateY(-0.5625rem) rotate(-45deg);
}

.navbar-nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* True centering, independent of .navbar-logo/.navbar-actions widths:
   absolutely positioned against .navbar-inner (position: relative,
   above) and centered on its own midpoint rather than relying on flex
   space-between, which would only center it when both side clusters
   happen to be equal width. */
@media (min-width: 1024px) {
  .navbar-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* ---- Navbar Actions (Language Selector, Search, Mobile Toggle) ---- */

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* ---- Language Selector ----
   English localization (2026-10-02) — both TR/ENG are real links to the
   current page's TR/EN route equivalent (see LanguageUrlService,
   NavbarViewComponent). The inactive option keeps looking like a plain
   secondary label at rest (same color/opacity as the old disabled state)
   but is a real link now, so it gets its own hover/focus affordance. */

.navbar-lang {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-small);
}

.lang-option {
  color: var(--color-text-secondary);
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  opacity: 1;
  color: var(--color-text-primary);
}

.lang-option--active {
  color: var(--color-text-primary);
  opacity: 1;
}

/* Independent flex sibling (not a pseudo-element on either language link)
   so its position never shifts when the active language changes — see
   Default.cshtml's .lang-divider span, placed between the TR and ENG
   .lang-option links inside the same flex .navbar-lang row. */
.lang-divider {
  color: var(--color-border);
  font-weight: var(--font-weight-regular);
}

/* ---- Search Trigger ----
   Same icon-button shape/touch-target as .navbar-toggle, opacity-dim
   hover matching .nav-link so it reads as part of the same nav
   affordance family. */

.navbar-search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: none;
  border: none;
  color: var(--color-text-primary);
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity var(--transition-fast) var(--ease-standard);
}

.navbar-search-trigger:hover {
  opacity: 0.72;
}

/* ---- Mobile Nav Panel ----
   Below 1024px the nav becomes a hamburger-triggered panel that
   overlays the page (absolutely positioned, like the Commit 2
   dropdowns) rather than pushing content down — so open/close stays an
   opacity + transform animation with no height transition involved. */

@media (max-width: 1023px) {
  .navbar-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition:
      opacity var(--transition-base) var(--ease-standard),
      transform var(--transition-base) var(--ease-standard),
      visibility 0s linear var(--transition-base);
  }

  .navbar-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity var(--transition-base) var(--ease-standard),
      transform var(--transition-base) var(--ease-standard),
      visibility 0s linear 0s;
  }

  .navbar-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    padding: var(--space-xs) var(--container-padding-mobile) var(--space-md);
  }

  /* The open mobile panel always sits on an opaque white background (see
     .navbar-nav above), so it must never inherit .navbar--transparent's
     white text — regardless of hover/focus/active state — even while the
     Home Hero navbar itself is still in its transparent, white-text state. */
  .navbar--transparent .navbar-nav .nav-link,
  .navbar--transparent .navbar-nav .nav-link:hover,
  .navbar--transparent .navbar-nav .nav-link--active {
    color: var(--color-text-primary);
  }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem; /* 44px minimum touch target */
  padding-inline: var(--space-xs);
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-body);
  color: var(--color-text-primary);
  background: none;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color var(--transition-fast) var(--ease-standard),
    opacity var(--transition-fast) var(--ease-standard);
}

/* Hover/active state is communicated with an opacity dim rather than a
   colour swap, so it reads consistently regardless of link state.
   `color` is set explicitly on hover so the global `a:hover` rule
   (near-black, for body copy) doesn't silently no-op here. */

.nav-link:hover {
  color: var(--color-text-primary);
  opacity: 0.72;
}

.nav-link--active {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  opacity: 1;
}

@media (max-width: 1023px) {
  .nav-link {
    width: 100%;
    padding-inline: 0;
    min-height: 3rem; /* 48px — slightly taller than desktop for a stacked list */
  }

  .nav-link--parent {
    width: 100%;
    justify-content: space-between;
  }
}

/* ---- Navbar Dropdown (Corporate / People First) ----
   Desktop (≥1024px): a hover/click popover per the WAI-ARIA Menu Button
   pattern, undisclosed until hover/focus — no chevron or other static
   indicator, matching the Folkart/Terzioğlu reference navigation.
   Mobile (<1024px): hover has no equivalent, so the submenu instead
   behaves as a tap-to-expand accordion nested inside the panel, with a
   chevron making the affordance visible up front. Interaction for both
   modes is implemented in site.js. */

.nav-chevron {
  display: none;
}

@media (max-width: 1023px) {
  .nav-chevron {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid var(--color-text-primary);
    border-bottom: 2px solid var(--color-text-primary);
    transform: rotate(45deg);
    transition: transform var(--transition-fast) var(--ease-standard);
  }

  .nav-link--parent[aria-expanded='true'] .nav-chevron {
    transform: rotate(-135deg);
  }
}

.nav-item-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  margin: 0;
  padding-block: var(--space-xs);
  list-style: none;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.25rem);
  transition:
    opacity var(--transition-fast) var(--ease-standard),
    transform var(--transition-fast) var(--ease-standard),
    visibility 0s linear var(--transition-fast);
}

.nav-dropdown.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity var(--transition-fast) var(--ease-standard),
    transform var(--transition-fast) var(--ease-standard),
    visibility 0s linear 0s;
}

/* Below 1024px the popover positioning/motion above is replaced outright:
   the submenu sits in normal flow as a nested accordion card and is
   shown/hidden with `display` only (an instant toggle, not a
   transition) — deliberately not animating height, per
   docs/05_Animations.md. */
@media (max-width: 1023px) {
  .nav-dropdown {
    display: none;
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
    width: 100%;
    min-width: 0;
    margin-block: var(--space-2xs) var(--space-xs);
    box-shadow: none;
  }

  .nav-dropdown.is-open {
    display: block;
  }
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  min-height: 2.75rem; /* 44px minimum touch target */
  padding-inline: var(--space-md);
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body);
  color: var(--color-text-primary);
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown-link:hover {
  background-color: var(--color-surface);
}

/* .nav-dropdown-link focus-visible states are inherited from Section 5
   (Accessible Focus States) and intentionally not repeated here. */

/* Applied to <body> by site.js only while the mobile panel is open, so
   the page underneath can't scroll behind the overlay. */
.no-scroll {
  overflow: hidden;
}


/* ==========================================================================
   10. Social Media Component
   Milestone 2 · Rebuild — see docs/14_Decisions.md (CSS recovery,
   2026-07-27). Flat, borderless glyph icons set close together
   (Inspirationals/Folkart footer reference, 2026-08-04) — no circular
   button background, matching the flat treatment Section "Hero — Social
   Navigation" already established for this same component in the
   Project Detail hero. Icon size is untouched (20x20, set in the view);
   padding supplies the touch target instead of a visible circle. Two
   contexts, selected by the `onLight` flag on SocialMediaViewComponent:
   the default (near-black Footer) and an `--on-light` modifier for
   light sections (Contact page). Accent red is never used at rest here
   — at 2.29:1 against --color-near-black it fails WCAG's 3:1 non-text
   contrast minimum (same measurement documented in Section 9's Navbar
   notes) — it only appears transiently on hover/focus, mirroring the
   Hero Social Navigation's precedent.
   ========================================================================== */

.social-links {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  list-style: none;
  margin: 0;
  margin-block-start: var(--space-md);
  padding: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs);  /* icon (20px) + padding ≈ 36px touch target */
  color: var(--color-white);
  transition:
    color var(--transition-fast) var(--ease-standard),
    transform var(--transition-fast) var(--ease-standard);
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--color-accent);
  transform: scale(1.1);
}

.social-link:focus-visible {
  outline-color: var(--color-white);
}

/* --on-light: same flat shape, monochrome-on-white tokens. */

.social-links--on-light .social-link {
  color: var(--color-text-secondary);
}

.social-links--on-light .social-link:hover,
.social-links--on-light .social-link:focus-visible {
  color: var(--color-accent);
}

.social-links--on-light .social-link:focus-visible {
  outline-color: var(--color-accent);
}



/* ==========================================================================
   11. Footer
   Milestone 2 · Redesign — see docs/14_Decisions.md (Footer redesign,
   2026-07-28). Terzioğlu reference: dark, generously spaced footer with
   a single row of three top-aligned groups — brand/copyright, contact
   details, and social follow — and no repeated site navigation. Accent
   red is intentionally avoided on this near-black surface for the same
   contrast reason documented in Sections 9 and 10.
   ========================================================================== */

.footer {
  background-color: var(--color-footer-bg);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  padding-block: var(--space-lg);
}

@media (min-width: 1024px) {
  .footer-inner {
    padding-block: var(--space-xl);
  }
}

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

@media (min-width: 768px) {
  .footer-row {
    flex-direction: row;
    justify-content: space-between;
    gap: var(--space-xl);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: inline-flex;
  margin-block-end: var(--space-md);
}

.footer-logo img {
  height: 6rem; /* 40px — matches the Navbar logo treatment */
  width: auto;
}

.footer-copyright {
  margin-block-end: 0;
  font-size: var(--font-size-small);
  color: rgba(255, 255, 255, 0.56);
}

.footer-contact {
  font-style: normal; /* override the browser's default italic <address> */
}

.footer-contact p {
  margin-block-end: var(--space-sm);
  color: var(--color-white);
}

.footer-contact p:last-child {
  margin-block-end: 0;
}

.footer-heading {
  margin-block-end: var(--space-md);
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.06em;
  color: var(--color-white);
}

.footer-follow {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .footer-follow {
    align-items: flex-end;
    text-align: right;
  }
}

.footer-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration-line: none;
  transition: color var(--transition-fast) var(--ease-standard);
}

.footer-link:hover {
  color: var(--color-white);
  text-decoration-line: underline;
}

.footer-link:focus-visible {
  outline-color: var(--color-white);
}


/* ==========================================================================
   12. Floating Contact Button
   Milestone 2 · Rebuild — see docs/14_Decisions.md (CSS recovery,
   2026-07-27). Fixed, middle-right on every page per 01_SiteMap.md.
   Accent red is appropriate here — a small circular control, not a
   large background, matching the "Primary CTA buttons" usage documented
   in 02_DesignSystem.md. White-on-accent contrast is ~7.4:1 (AA/AAA safe).

   2026-08-04 revision: the 2x size-up (48px/56px → 96px/112px) read as
   too dramatic per client feedback — scaled back to 64px/72px, still
   larger than the original but proportionate. Hover was simplified to a
   pure background-opacity softening (no scale/lift/glow — client wanted
   no "flashy" motion). This also fixes a real bug: the global `a:hover`
   rule (Section 4) has higher specificity than the base `.floating-contact`
   color, so without an explicit color here the icon was silently turning
   near-black on hover — `color` is now pinned in the hover state too.
   ========================================================================== */

.floating-contact {
  position: fixed;
  top: 50%;
  right: var(--space-md);
  z-index: 40; /* below the sticky Navbar's z-index: 50 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;    /* 48px */
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-50%);
  transition:
    background-color var(--transition-fast) var(--ease-standard),
    color var(--transition-fast) var(--ease-standard);
}

.floating-contact svg {
  width: 2rem;
  height: 2rem;
}

.floating-contact:hover {
  background-color: color-mix(in srgb, var(--color-accent) 85%, transparent);
  color: var(--color-white);
}

.floating-contact:focus-visible {
  outline-color: var(--color-white);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .floating-contact {
    right: var(--space-lg);
    width: 3rem;    /* 48px */
    height: 3rem;
  }
}


/* ==========================================================================
   13. CTA Banner — "Tüm Projeler"
   Milestone 2 · Rebuild — see docs/14_Decisions.md (CSS recovery,
   2026-07-27). Folkart reference: a full-bleed dark band between page
   content and the Partner Logos / Footer, driving traffic to the
   Projects page. Renders on every page (see _Layout.cshtml), so the
   styling stays page-agnostic. Accent red is avoided on this near-black
   surface for the same contrast reason documented in Sections 9–11.
   A near-black gradient overlay sits between the background-color
   fallback and the background image so the heading stays readable
   regardless of image content. The heading sets its own color
   explicitly (soft off-white, not pure white) so it stays legible even
   though the global `a:hover` rule (Section 4) would otherwise darken
   it — only the link's background tints on hover.

   2026-08-04 revision: background image switched to the real
   skyscraper photo (images/logos/skyscrapper-2.jpg) in place of the
   generated placeholder, with the dark overlay lightened (0.72 → 0.5
   alpha) so the photo reads clearly behind the heading. The heading
   size from the prior revision felt too dramatic per client feedback —
   scaled back to a more modest step up from the original 1.25rem
   (font-size-h4) baseline; family/weight/color/letter-spacing untouched.
   ========================================================================== */

.cta-banner {
  background-color: var(--color-near-black);
  /* Performance pass (2026-10-19): this banner renders on every page, and
     the 6000x3375 / 2.4 MB original was downloaded on each one. A 3200px
     WebP (~375 KB, same crop/colors, generated with ThumbnailTool --single
     at q85) now serves every screen up to 1600 CSS px wide at 2x density;
     wider high-density screens still get the untouched original below. */
  background-image:
    linear-gradient(rgba(28, 28, 28, 0.5), rgba(28, 28, 28, 0.5)),
    url('/images/logos/skyscrapper-2-3200w.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 1601px) and (min-resolution: 2dppx) {
  .cta-banner {
    background-image:
      linear-gradient(rgba(28, 28, 28, 0.5), rgba(28, 28, 28, 0.5)),
      url('/images/logos/skyscrapper-2.jpg');
  }
}

.cta-banner-link {
  display: block;
  text-decoration-line: none;
  transition: background-color var(--transition-fast) var(--ease-standard);
}

.cta-banner-link:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.cta-banner-link:focus-visible {
  outline-color: var(--color-white);
  outline-offset: -2px; /* inset — the link fills the full-bleed band */
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: var(--space-lg);
}

@media (min-width: 768px) {
  .cta-banner-inner {
    padding-block: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .cta-banner-inner {
    padding-block: var(--space-2xl);
  }
}

.cta-banner-heading {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

@media (min-width: 768px) {
  .cta-banner-heading {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .cta-banner-heading {
    font-size: 3.25rem;
  }
}


/* ==========================================================================
   14. Breadcrumb
   Milestone 2 · Rebuild — see docs/14_Decisions.md (CSS recovery,
   2026-07-27). Sits on the default white page background (per
   03_PageBlueprints.md — Project Detail), so it uses the standard
   link/focus treatment rather than the dark-surface overrides in
   Sections 10–13.
   ========================================================================== */

.breadcrumb-nav {
  padding-block: var(--space-sm);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2xs);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--font-size-small);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  margin-block-end: 0;
}

.breadcrumb-link {
  color: var(--color-text-secondary);
  text-decoration-line: none;
}

.breadcrumb-link:hover {
  color: var(--color-accent);
  text-decoration-line: underline;
}

.breadcrumb-current {
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
}

.breadcrumb-separator {
  color: var(--color-dark-gray);
}


/* ==========================================================================
   15. Partner Logos
   Milestone 2 · Visual Refresh — real logo images replacing the text
   placeholder (2026-07-28), rebuilt as an infinite horizontal carousel.
   Confirmed with the client 2026-07-28: this strip shows Ancın's own
   project wordmarks (a portfolio trust strip), not third-party partner
   logos — the "Partner Logos" name is kept only because it's what the
   component/class names were already called; nothing user-facing says
   "Partners" (see the .partner-logos aria-label in the view).
   Terzioğlu reference: muted marks in a generously spaced row on the
   default white background — no section background override. `.section`
   (Section 7) already supplies the responsive vertical rhythm; only the
   carousel and logo treatment are defined here.

   ---- Why `invert()` instead of `grayscale()` ----
   The source PNGs are white wordmarks on transparent — built for dark
   hero-style backgrounds, per the client. On this section's white
   background `grayscale(100%)` is a no-op (white stays white) and the
   marks disappear. `invert(1)` flips the white pixels to black while
   leaving alpha untouched, then the element's own 70% `opacity` blends
   that black against the white page background — landing on a
   consistent dark gray without ever introducing a second filter step
   or touching any brand colour (there isn't one; every source file is
   pure white).

   ---- How the loop stays seamless ----
   `.partner-logos-track` holds two identical `.partner-logos-set`
   copies (the second is aria-hidden — screen readers only hear the
   logo list once) and is animated by translateX only, so it stays
   compositor-accelerated per docs/05_Animations.md's Performance
   Rules. A plain `-50%` translate would under-shoot the exact boundary
   between the two copies by half of one gap — flex `gap` adds one
   connecting gap between the two sets but the track's own width (100%)
   only accounts for it once, not twice — so the keyframe below
   subtracts that extra `--partner-logos-gap / 2` explicitly. Without
   it the loop shows a small spacing hiccup exactly where the two
   copies meet, which is the "visible jump" the brief calls out to
   avoid.

   The global prefers-reduced-motion rule (Section 6) collapses the
   animation to a single near-instant frame, same as Hero Background
   Zoom — harmless here because the frame it lands on (the second,
   identical copy) is visually indistinguishable from the starting
   frame.
   ========================================================================== */

.partner-logos-carousel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.partner-logos-track {
  --partner-logos-gap: var(--space-xl);

  display: flex;
  align-items: center;
  width: max-content;
  gap: var(--partner-logos-gap);
  animation: partner-logos-scroll 42s linear infinite;
  /* Safari/WebKit stability fix (2026-08-21) — the parent's
     -webkit-mask-image (fade edges, above) combined with an animated-
     transform child that Safari hasn't promoted to its own GPU layer is a
     known WebKit compositing bug: the mask's painted bounds can fall out of
     sync with the child as it scrolls, surfacing as clipped/missing logos
     or a stalled animation — until something forces a relayout (e.g. a
     window resize), which is exactly the symptom reported. Chrome isn't
     affected because it promotes the layer eagerly regardless.
     will-change + a static translateZ(0) force that layer promotion up
     front, independent of animation state, so the mask always composites
     against a stable layer; translate3d in the keyframe (instead of
     translateX) keeps every animated frame on that same GPU path. Purely a
     Safari stability hint — scroll distance, speed, direction, size and
     visuals are unchanged, and this is scoped to this marquee only. */
  will-change: transform;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.partner-logos-carousel:hover .partner-logos-track {
  animation-play-state: paused;
}

@keyframes partner-logos-scroll {
  to {
    transform: translate3d(calc(-50% - (var(--partner-logos-gap) / 2)), 0, 0);
  }
}

.partner-logos-set {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--partner-logos-gap);
}

.partner-logo-link {
  display: flex;
  flex: none;
}

.partner-logo {
  flex: none;
  height: 5rem;
  width: auto;
  filter: invert(1);
  opacity: 0.7;
  -webkit-user-drag: none;
  user-select: none;
  transition:
    opacity var(--transition-base) var(--ease-standard),
    transform var(--transition-base) var(--ease-standard);
}

/* Hover only raises opacity to 1 (no extra filter) — invert(1) already
   maps every source pixel to pure black, so full opacity is itself the
   "darken" step: it removes the white-background blend that produced
   the 70%-opacity dark gray, landing on solid black. */
.partner-logo:hover {
  opacity: 1;
  transform: scale(1.04);
}

@media (min-width: 768px) {
  .partner-logos-track {
    --partner-logos-gap: var(--space-2xl);
  }

  .partner-logo {
    height: 6rem;
  }
}

@media (min-width: 1024px) {
  .partner-logos-track {
    --partner-logos-gap: var(--space-3xl);
  }

  .partner-logo {
    height: 8rem;
  }
}


/* ==========================================================================
   16. Hero Banner
   Milestone 4 · Commit 3 — Home variant only (see HeroBannerViewComponent).
   Refined the same commit: background is now the latest featured
   project's own banner image (HeroBannerViewComponent sets --hero-bg-image inline
   from IProjectQueryService; site.css never hardcodes a project). The
   flat two-stop gradient is both the readability overlay (painted above
   the photo) and the graceful fallback background when no featured
   project exists — --hero-bg-image is simply omitted in that case, and
   the var() falls back to the neutral gradient. var(--color-accent) is
   deliberately never used as part of this background per
   docs/02_DesignSystem.md ("Never use this colour for large
   backgrounds"); it only appears on small elements (Primary Button
   fill, Project CTA).

   2026-07-28: the gradient + image moved from .hero itself onto a new
   .hero-bg child so it can be given the slow ambient motion described just
   above that rule, without .hero (which still positions .hero-inner /
   .hero-bottom) needing to move at all.

   2026-07-28 (later same day): replaced the horizontal pan with a
   cinematic zoom "breathe" — see Hero Background Zoom below.
   ========================================================================== */

.hero {
  position: relative;
  z-index: 0; /* establishes a stacking context so .hero-bg's z-index: -1 stays contained here, rather than escaping to compete with unrelated page elements */
  overflow: hidden; /* clips .hero-bg, which is oversized so the zoom's upper end never exposes an edge */
  display: flex;
  align-items: flex-end;
  min-height: 90vh;
  min-height: 90svh;
}

/* ---- Hero Background Zoom ----
   A continuous, transform-only scale "breathe": in from 1.00 to
   --hero-zoom-scale (1.10 default, see :root; 1.15 under .hero--zoom-strong)
   and back out, never past 1.00 so .hero-bg's -5% inset bleed always
   covers .hero with no edge exposed. transform (never width/height,
   which are not compositor-accelerated and sit outside the "animate
   opacity/transform" rule in docs/05_Animations.md's Performance
   Rules) is the only property touched, and it starts the instant the
   page loads — no scroll or hover trigger.

   The 0% / 50% / 100% keyframe shape (rather than a from/to pair with
   `alternate`) is what keeps the loop seamless: ease-in-out has zero
   velocity at both ends of each keyframe, so the animation is already
   momentarily still at 50% (peak zoom) and again at 100% (back to
   1.00) — the same state 0% begins at — so the cycle restarts with no
   visible pause or jump. The global prefers-reduced-motion rule
   (Section 6) already collapses this to a single, near-instant frame —
   no separate override needed here. */

.hero-bg {
  position: absolute;
  z-index: -1; /* an absolutely-positioned layer otherwise paints above static in-flow content like .hero-inner, regardless of DOM order — this keeps it behind the heading/subheading */
  inset: -5%;
  background-image:
    linear-gradient(color-mix(in srgb, var(--color-near-black) 55%, transparent), color-mix(in srgb, var(--color-near-black) 55%, transparent)),
    var(--hero-bg-image, linear-gradient(160deg, var(--color-near-black) 0%, var(--color-dark-gray) 100%));
  background-size: cover;
  /* Mobile Performance & Responsive Pass (2026-10-02) — below 768px this
     resolves --hero-bg-position-mobile when a project sets it (inline,
     alongside --hero-bg-image; see ProjectHeroMobileFocusMap), falling back
     to the same "center" every banner already used. At 768px+ the rule
     further down always wins and pins every Hero back to plain center,
     so no desktop composition changes — this only touches banners narrow
     enough to crop away a wide aerial/exterior render's actual subject. */
  background-position: var(--hero-bg-position-mobile, center);
  animation: hero-bg-zoom var(--hero-zoom-duration) ease-in-out infinite;
}

@media (min-width: 768px) {
  .hero-bg {
    background-position: center;
  }
}

@keyframes hero-bg-zoom {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(var(--hero-zoom-scale));
  }
}

/* Stronger, faster zoom (2026-10-29 client request — "it doesn't move").
   Home Hero, then every Project Detail Hero (2026-11-01 request); add the
   same class to another banner's section to give it these values. Scaling up from
   1.00 only ever enlarges the -5% inset bleed, so 1.15 still covers
   every edge. */
.hero--zoom-strong {
  --hero-zoom-duration: 16s;
  --hero-zoom-scale: 1.15;
}

.hero-inner {
  width: 100%;
  padding-block-start: var(--space-4xl);
  /* Taller than padding-block-start on purpose — reserves room for the
     absolutely-positioned .hero-bottom stack (Project CTA + Scroll
     Indicator) so it never overlaps hero-actions on short/narrow
     viewports, where hero-content can otherwise run right up to it. */
  padding-block-end: 8rem;
}

.hero-content {
  max-width: 42rem;
}

/* ---- Hero — Standard Variant ----
   Page-intro banner for every non-Home page (Projects, Project Detail, and
   future About/Contact/Career pages) — shares .hero/.hero-bg's gradient +
   zoom background treatment for visual consistency, but shorter, and
   vertically centered rather than bottom-anchored since there is no
   Project CTA / Scroll Indicator stack to reserve room for. */

.hero--standard {
  align-items: center;
  min-height: 45vh;
  min-height: 45svh;
}

.hero--standard .hero-inner {
  padding-block: var(--space-3xl);
}

/* ---- Hero Status Badge ----
   Project Detail's optional status badge (HeroBannerStandardViewModel),
   rendered above the heading — reuses .project-status-badge as-is, this
   modifier only adds the gap before .hero-heading. */

.hero-status-badge {
  margin-block-end: var(--space-md);
}

/* ---- Hero — Future Project (Gelecek Projeler) ----
   Q-Latis/D-Latis revision, 2026-09-28 — a scoped variant of the Project
   Detail Hero for a project not yet fully disclosed. Adds a dimming scrim
   and a large "?" mark on top of the existing .hero-bg (its zoom-in/
   zoom-out breathe keeps running underneath, completely untouched), and
   lifts .hero-inner above both so the title stays fully legible. Nothing
   here changes .hero/.hero-bg's base rules, so every other project's Hero
   renders exactly as before — only .hero--future-project opts in. */

.hero--future-project .hero-inner {
  position: relative;
  z-index: 2;
}

/* Title made more subdued than a normal project's Hero heading (2026-09-28
   revision) so it visually recedes behind .hero-future-question below —
   opacity only, nothing else about .hero-heading/.hero-heading--project
   (font, size, position) changes, and no other Hero variant is affected. */
.hero--future-project .hero-heading {
  opacity: 0.62;
}

.hero-future-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* .hero-bg already paints its own permanent 55%-black readability
     overlay baked into its background-image; this adds further, deliberate
     dimming on top so a future project's banner reads as noticeably
     faded/muted next to a normal project's Hero. */
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-near-black) 78%, transparent) 0%,
    color-mix(in srgb, var(--color-near-black) 60%, transparent) 45%,
    color-mix(in srgb, var(--color-near-black) 82%, transparent) 100%
  );
}

.hero-future-mark {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-future-question {
  font-family: var(--font-heading, inherit);
  /* Enlarged (2026-09-28 revision) so the mark reads as clearly dominant
     without covering the full banner — animation/timing below is
     untouched, only this size step changed. */
  font-size: clamp(9rem, 27vw, 19rem);
  font-weight: var(--font-weight-bold, 700);
  line-height: 1;
  color: color-mix(in srgb, var(--color-white) 92%, transparent);
  text-shadow: 0 0.5rem 2.5rem color-mix(in srgb, var(--color-near-black) 45%, transparent);
  /* Runs once on load, then holds its final state ("both") — not a
     looping/bouncing spinner. 2026-09-28 revision: replaced the earlier
     multi-stage clip-path/blur "construction" reveal with a single,
     minimal fade + gentle scale/settle — a flatter, more corporate
     entrance in line with the rest of the site's Hero motion. Collapsed
     to a near-instant single frame by the global prefers-reduced-motion
     rule (Section 6) — no separate override needed here. */
  animation: hero-future-question-reveal 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-future-question-reveal {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(0.5rem);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 767px) {
  .hero-future-question {
    font-size: clamp(7rem, 38vw, 12rem);
  }
}

/* Future Project footer spacing (Q-Latis/D-Latis revision, 2026-09-28) —
   a plain spacer block Details.cshtml renders only when IsFutureProject,
   right after the Hero, so the CtaBanner ("Tüm Projeler" strip)/Footer
   below it don't sit flush against the banner. Mirrors .section's own
   responsive padding-block scale above (2xl → 3xl → 4xl) rather than a
   fixed value, so the gap feels like an intentional section gap and not
   an arbitrary margin. Nothing about .hero--future-project, CtaBanner or
   .footer is touched — only this new, additive element. */
.future-project-footer-spacer {
  block-size: var(--space-2xl);
}

@media (min-width: 768px) {
  .future-project-footer-spacer {
    block-size: var(--space-3xl);
  }
}

@media (min-width: 1024px) {
  .future-project-footer-spacer {
    block-size: var(--space-4xl);
  }
}

.hero-heading {
  color: var(--color-white);
}

@media (min-width: 1024px) {
  .hero-heading {
    font-size: 3.5rem;
  }
}

.hero-subheading {
  max-width: 60ch;
  color: var(--color-light-gray);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-block-start: var(--space-lg);
}

/* ---- Hero Bottom ----
   Bottom-center stack: Project CTA above the Scroll Indicator. Centering
   lives here (transform: translateX) rather than on .scroll-indicator
   itself, since .scroll-indicator's own transform is already spoken for
   by the bounce keyframes (Section 8) — the two would otherwise clobber
   each other every animation frame. */

.hero-bottom {
  position: absolute;
  left: 50%;
  bottom: var(--space-xl);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

/* ---- Project CTA ----
   Starts as understated text with a thin accent underline; on
   hover/focus it grows into a solid, rectangular (no border-radius —
   deliberately distinct from the pill-shaped .btn primitives) accent
   button by animating padding rather than swapping elements. */

.hero-project-cta {
  display: inline-block;
  border-bottom: 1px solid var(--color-accent);
  padding-block-end: var(--space-2xs);
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-body);
  color: var(--color-white);
  text-decoration-line: none;
  transition:
    background-color var(--transition-base) var(--ease-standard),
    border-color var(--transition-base) var(--ease-standard),
    padding var(--transition-base) var(--ease-standard),
    font-weight var(--transition-base) var(--ease-standard);
}

.hero-project-cta:hover,
.hero-project-cta:focus-visible {
  background-color: var(--color-accent);
  border-color: transparent;
  padding-inline: var(--space-lg);
  padding-block: var(--space-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
}


/* ==========================================================================
   17. Company Overview
   Milestone 4 · Commit 4 — Home only (docs/03_PageBlueprints.md). Reuses
   the Section 7 .grid/.grid-cols-2 utility as-is: a single column on
   mobile (text content above the Image Block, in source order — 2026-07-28
   refinement puts text first so the eyebrow/heading/CTA read before the
   image on mobile) and two columns from the tablet breakpoint, text on
   the left per that same refinement. The only rule needed here centers
   the two columns against each other, since the image and text naturally
   differ in height.

   2026-07-28 refinement: at the 1024px breakpoint the Section 7
   .grid-cols-2 utility's even 1fr/1fr split let the Image Block occupy
   nearly half the section, visually competing with the text column.
   Terzioğlu's "48 Yıllık Tecrübe" block (Inspirationals/Terzioglu/
   terzioglu-48-yillik-tecrube.png) was used as inspiration only — same
   idea of a narrower, supporting-visual image column — not copied
   directly. Overriding the column split here (rather than editing
   .grid-cols-2) keeps that utility's even split available for any other
   section that adopts it later.
   ========================================================================== */

.company-overview-grid {
  align-items: center;
}

@media (min-width: 1024px) {
  .company-overview-grid {
    grid-template-columns: 65% 35%;
  }
}

/* Media swap (2026-08-28 request): this slot held the 50-yil.jpeg photo
   (a tall/portrait source needing a taller-than-4:3 ratio, hence the 1:1
   box below) and now holds the VideoShowcase teaser that used to live in
   Company History's "Zaman Tüneli" section instead. Keeps that same 1:1
   box — align-self: start anchors it to the top of the grid row — so the
   swap doesn't change this section's dimensions/positioning; the overrides
   below undo _VideoShowcase's own default large-centered sizing
   (max-width: 960px; margin-inline: auto; 16:9 trigger) so it fills this
   box the same way the photo did. */
.company-overview-video {
  align-self: start;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.company-overview-video .video-showcase-trigger {
  aspect-ratio: 1 / 1;
}

/* Clears the sticky Navbar (Section 9, ~64–70px tall depending on
   breakpoint) when this section is reached via an in-page anchor link —
   currently the Hero Banner's Scroll Indicator (href="#company-overview").
   Without this, the section's top edge (including the eyebrow label)
   lands directly under the sticky Navbar and gets visually clipped. */
#company-overview {
  scroll-margin-top: 5rem;
}

/* "50 Yıllık Tecrübe" heading only (2026-08-28 request) — swaps in the
   self-hosted Caviar Dreams family (Section 1) ahead of the shared
   --font-heading fallback. Font size/weight/spacing stay on the global h2
   rule (Section 4); only font-family changes here. */
#company-overview-heading {
  font-family: 'Caviar Dreams', var(--font-heading);
}

/* Same fix as #company-overview above — this section is also a same-page
   anchor target (Home page id, reachable via a direct #projects-showcase
   link even though nothing links to it yet). */
#projects-showcase {
  scroll-margin-top: 5rem;
}


/* ==========================================================================
   18. Scroll Reveal Utility
   Milestone 4 · Commit 5 — Company Timeline. Generic, reusable fade-up
   utility for docs/05_Animations.md's "Scroll Animations" (fade + subtle
   translateY, triggered once, per-element opt-in via [data-reveal]).
   site.js observes every [data-reveal] with an IntersectionObserver and
   adds .is-visible the first time it enters the viewport, then stops
   observing it.

   Gated behind .js (see _Layout.cshtml's no-js/js swap): without it,
   [data-reveal] elements render at full opacity with no transform, so
   content stays fully usable if JavaScript is disabled or the observer
   never fires — see docs/05_Animations.md "Content should remain usable
   even if animations are disabled."

   [data-reveal-group] children get a --reveal-index custom property
   (set by site.js) for a slight stagger; ungrouped [data-reveal]
   elements default to index 0 (no delay).
   ========================================================================== */

.js [data-reveal] {
  opacity: 1;
  transform: translateY(24px);
  transition:
    opacity var(--transition-slow) var(--ease-standard),
    transform var(--transition-slow) var(--ease-standard);
  transition-delay: calc(var(--reveal-index, 0) * 90ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Reveal Direction Modifiers ----
   Project Detail redesign (2026-07-31): data-reveal="left"/"right" swap the
   default upward reveal for a horizontal one, for split layouts where the
   two halves should visibly arrive from opposite sides (Concept, Location &
   Distances, Social Facilities). Same opacity/transform/is-visible contract
   as the base rule above — only the resting transform's axis changes — so
   they inherit its transition timing, stagger and reduced-motion behaviour
   for free. */

.js [data-reveal='left'] {
  transform: translateX(-32px);
}

.js [data-reveal='left'].is-visible {
  transform: translateX(0);
}

/* Kept below the container's own padding at each breakpoint: an offset larger
   than the gutter pushes the element past the viewport's right edge until it
   is revealed, which widens the page (left offsets can't cause this). */
.js [data-reveal='right'] {
  transform: translateX(12px);
}

@media (min-width: 768px) {
  .js [data-reveal='right'] {
    transform: translateX(20px);
  }
}

@media (min-width: 1024px) {
  .js [data-reveal='right'] {
    transform: translateX(32px);
  }
}

.js [data-reveal='right'].is-visible {
  transform: translateX(0);
}

/* data-reveal="scale" — Floor Plans redesign (2026-08-01): the circular
   Prev/Next apartment-type switcher scales in gently instead of arriving
   on an axis, since it has no meaningful "from" direction. Same contract
   as the other modifiers otherwise. */

.js [data-reveal='scale'] {
  transform: scale(0.82);
}

.js [data-reveal='scale'].is-visible {
  transform: scale(1);
}


/* ==========================================================================
   19. Video Showcase
   Reusable trigger + modal pair (Views/Shared/_VideoShowcase.cshtml) —
   the site's standard video player. The modal is a sibling of
   .video-showcase in markup, not a descendant: a non-"none" transform
   (which .video-showcase carries once revealed — Section 18) becomes
   the containing block for any position: fixed descendant, which would
   trap the modal's full-viewport overlay to this element's box instead
   of the viewport. site.js pairs trigger/modal at runtime via
   aria-controls.
   ========================================================================== */

.video-showcase {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
}

.video-showcase-trigger {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.video-showcase-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base) var(--ease-standard);
}

.video-showcase-trigger:hover .video-showcase-poster {
  transform: scale(1.03);
}

.video-showcase-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  transition:
    transform var(--transition-fast) var(--ease-standard),
    background-color var(--transition-fast) var(--ease-standard);
}

.video-showcase-trigger:hover .video-showcase-play {
  background-color: color-mix(in srgb, var(--color-accent) 85%, black);
  transform: translate(-50%, -50%) scale(1.06);
}

/* Play icon sits a hair right of true center — visually balances the
   triangle's own asymmetric shape inside the circle. */
.video-showcase-play svg {
  margin-inline-start: 3px;
}

@media (min-width: 768px) {
  .video-showcase-play {
    width: 5.5rem;
    height: 5.5rem;
  }
}

/* .video-showcase-trigger focus-visible state is inherited from
   Section 5 (Accessible Focus States) and intentionally not repeated. */


/* ---- Video Modal ----
   Full-viewport fixed overlay, independent of scroll position. */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(28, 28, 28, 0.9);
}

.video-modal-panel {
  position: relative;
  width: 100%;
  max-width: 960px;
}

.video-modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background-color: rgba(28, 28, 28, 0.6);
  color: var(--color-white);
  transition: background-color var(--transition-fast) var(--ease-standard);
}

.video-modal-close:hover {
  background-color: rgba(28, 28, 28, 0.85);
}

.video-modal-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-near-black);
}

.video-modal-video {
  display: block;
  width: 100%;
  height: 100%;
}

.video-modal-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-modal-placeholder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.video-modal-placeholder-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--space-lg);
  margin-block-end: 0;
  text-align: center;
  color: var(--color-white);
  font-weight: var(--font-weight-medium);
}


/* ==========================================================================
   20. Company History Section
   Rebuilt 2026-07-28 (see CompanyHistorySectionViewComponent) to closely
   follow Inspirationals/Terzioglu/terzioglu-zaman-tuneli.png's actual
   composition: a small video teaser, a large decorative title, a
   navigation-only info panel and an independent card carousel (year
   lives inside each card, not on a shared rail) — while keeping our own
   Design System tokens for colour and type.
   ========================================================================== */

/* ---- Section Background ----
   Warm cream, distinct from the white sections above/below without
   reading as yellow — per the project owner's explicit 2026-07-28
   proportion-refinement request. */

.company-history {
  background-color: #F2EDEB;

  /* Contains .timeline-header__decorative's intentional horizontal bleed
     (Section 20a) without adding a page-wide horizontal scrollbar. Plain
     overflow: hidden (both axes), not overflow-x alone — an x-only value
     would leave overflow-y at its default visible, and per the CSS
     Overflow spec a visible/non-visible axis pairing is computed as if
     overflow-y were auto, turning this into an unintended vertical
     scroll container. Harmless here either way since the section's
     height is always intrinsic to its content, but explicit is safer. */
  overflow: hidden;
}

/* ---- Photo teaser, compact box ----
   Media swap (2026-08-28 request): this slot used to hold a small
   VideoShowcase teaser (max-width: 240px, 1:1, left-aligned INSIDE the
   left info column rather than centered) — see the removed
   .video-showcase--compact modifier's history. It now holds the
   "50 Yıllık Tecrübe" photo (formerly in Company Overview) at that exact
   same box size/position, wrapped in .company-history-image-wrap so the
   fade-in reveal (data-reveal) that used to live on .video-showcase's own
   wrapping div still applies here. */

.company-history-image-wrap {
  max-width: 240px;
  margin-block-end: var(--space-lg);
}

.company-history-photo {
  aspect-ratio: 1 / 1;
}

/* ---- Section Layout ----
   Shared _TimelineHeader leads (own full-width row, styled below in
   Section 20a) followed by this two-column grid: Info Column (photo ->
   small title -> arrows, nothing else) beside Carousel. Column ratio
   per the project owner's 2026-07-28 layout-hierarchy request.

   2026-08-03 fix: always a two-column grid, at every breakpoint down to
   mobile — never flex-column. Each child carries an explicit grid-column
   (1 or 2), so with only two columns defined and two items placed, a
   second row is structurally impossible regardless of content width;
   previously this fell back to display: flex; flex-direction: column
   below 1024px, which stacked the photo above the Carousel instead of
   keeping them side by side. The left column's minmax lower bound steps
   down at the narrower breakpoints (rather than jumping straight to
   240px) so the compact photo/nav shrink to fit instead of overflowing
   at phone widths — the History Info Panel's two 44px nav buttons plus
   their gap need roughly 6.5rem at minimum to avoid overlapping the
   Carousel column. */

.company-history-grid {
  display: grid;
  grid-template-columns: minmax(6.5rem, 30%) minmax(0, 1fr);
  column-gap: var(--space-md);
  align-items: start;
}

.company-history-info-col,
.company-history-carousel-col {
  width: 100%;
  min-width: 0;
}

.company-history-info-col {
  grid-column: 1;
}

.company-history-carousel-col {
  grid-column: 2;
}

@media (min-width: 640px) {
  .company-history-grid {
    grid-template-columns: minmax(7.5rem, 28%) minmax(0, 1fr);
    column-gap: var(--space-lg);
  }
}

@media (min-width: 768px) {
  .company-history-grid {
    grid-template-columns: minmax(9rem, 28%) minmax(0, 1fr);
    column-gap: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .company-history-grid {
    grid-template-columns: minmax(240px, 28%) 1fr;
    column-gap: var(--space-3xl);
  }
}

/* ---- Info Column ----
   Stacks Video above HistoryInfoPanel (small title + arrows), left-
   aligned, top-aligned with the Carousel beside it — not centered or
   stretched to the row's full height, which previously left the small
   title/arrows floating in empty space beside the taller Carousel. */

.company-history-info-col {
  display: flex;
  flex-direction: column;
}


/* ==========================================================================
   20a. Timeline Header (shared)
   2026-08-03 redesign, revised same day at the project owner's request
   for a Folkart/Terzioğlu-grade luxury treatment (see
   Inspirationals/Terzioglu/terzioglu-zaman-tuneli-referans-2.png) — one
   shared header for every Timeline/History usage (Home's Company
   History above, About Us's Our Journey in Section 29). Reading order:
   giant decorative watermark title bled to the viewport's left edge,
   generous whitespace, centered uppercase subtitle, generous
   whitespace, then the carousel (unchanged).

   The first revision's watermark was Playfair Display at 10% opacity —
   a serif, and too faint to read against this section's near-white
   #F2EDEB background. This revision moves it to Inter (var(--font-
   body)) at var(--font-weight-bold) — 700 is the heaviest weight this
   project ships for Inter (Section 1's @font-face list tops out there;
   there is no 800/900 file), so it stands in for the brief's requested
   "800–900" feel as the boldest sans already available. Visibility
   against the near-white background comes from a soft shadow (an
   emboss/letterpress read, matching the reference) layered under
   opacity 0.85, rather than from color contrast the background can't
   supply. */

.timeline-header {
  position: relative;
  padding-block-start: var(--space-lg);
  margin-block-end: var(--space-xl);
}

@media (min-width: 768px) {
  .timeline-header {
    padding-block-start: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .timeline-header {
    padding-block-start: var(--space-2xl);
    margin-block-end: var(--space-3xl);
  }
}

/* ---- Decorative Watermark Title ----
   aria-hidden — purely visual, so contrast/size are free to go as large
   as the "background graphic, not a heading" brief calls for; the
   section's real accessible name is .timeline-header__subtitle below.
   Left-aligned, white-space: nowrap, and pulled left by a negative
   margin-inline-start equal to .container's own inline padding (plus,
   from 1024px, the extra margin-inline: auto centering gap once the
   viewport exceeds --container-max-width) — the same amount .container
   uses to inset its content, applied in reverse so this element's box
   (auto width absorbs a negative margin by growing, per the CSS box
   model, rather than shifting its sibling content) starts flush at the
   viewport's true left edge instead of .container's inner edge. Still a
   normal flow element, so its own generous margin-block-end (not
   position: absolute) is what creates the whitespace before the
   subtitle — no separate spacer needed. It still naturally overflows
   past the container's right edge at wide viewports; .company-history/
   .our-journey's own overflow: hidden (Sections 20 and 29) clips the
   bleed on both sides at the section boundary instead of producing a
   page-wide horizontal scrollbar. */

.timeline-header__decorative {
  margin: 0;
  margin-block-end: var(--space-2xl);
  margin-inline-start: calc(-1 * var(--container-padding-mobile));
  font-family: var(--font-body);
  font-weight: var(--font-weight-bold);
  font-size: clamp(3rem, 13vw, 10rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--color-white);
  opacity: 0.85;
  text-shadow: 0 1px 1px rgba(28, 28, 28, 0.06), 0 14px 32px rgba(28, 28, 28, 0.08);
  text-align: left;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .timeline-header__decorative {
    margin-inline-start: calc(-1 * var(--container-padding-tablet));
    margin-block-end: var(--space-3xl);
  }
}

@media (min-width: 1024px) {
  .timeline-header__decorative {
    margin-inline-start: calc(-1 * var(--container-padding-desktop) - max(0px, (100vw - var(--container-max-width)) / 2));
  }
}

/* ---- Readable Subtitle ----
   The section's actual heading — centered, uppercase, bold, full-
   contrast dark text. Switched from Playfair Display to Inter
   alongside the watermark above (same 2026-08-03 revision) per the
   brief's explicit "modern sans-serif" call for this element too, with
   letter-spacing opened up further for the "hero-style", luxury-
   corporate read the previous h2-scale treatment didn't have. */

.timeline-header__subtitle {
  position: relative;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  letter-spacing: 0.16em;
  color: var(--color-text-primary);
}

/* ---- History Info Panel ----
   Navigation only, per the project owner's explicit request — no years,
   no timeline line, no cards. Sits directly below the Video Showcase in
   the Info Column, top-aligned rather than centered against the taller
   Carousel beside it (2026-07-28 layout-hierarchy request). */

.history-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.history-info-panel-title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-h4);
  color: var(--color-text-primary);
}

.history-info-panel-nav {
  display: flex;
  gap: var(--space-sm);
}

/* ---- History Carousel ----
   Equal-size cards, synchronised with History Info Panel by site.js.
   2026-08-03 revision: the track no longer accepts user-driven scroll
   input at all — overflow: hidden (not auto) removes the scrollable
   surface wheel, trackpad, touch-swipe and drag gestures would act on,
   and touch-action: none tells touch input explicitly not to pan it,
   per the project owner's explicit "Previous/Next buttons only"
   request. The track remains scrollable from script: scrollLeft/
   scrollTo/scrollIntoView all still work on an overflow: hidden box, so
   the Info Panel's Previous/Next buttons (site.js's scrollToCard) keep
   driving it exactly as before — scroll-snap-type still applies to that
   programmatic scroll too, since it operates on any non-visible-
   overflow scroll container regardless of what triggers the scroll. */

.history-carousel {
  position: relative;
}

.history-carousel-track {
  display: flex;
  gap: var(--space-md);
  overflow: hidden;
  touch-action: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block-end: var(--space-2xs);
}

@media (prefers-reduced-motion: reduce) {
  .history-carousel-track {
    scroll-behavior: auto;
  }
}

.history-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: min(260px, 78vw);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition-base) var(--ease-standard);
}

@media (min-width: 768px) {
  .history-card {
    width: 280px;
  }
}

.history-card.is-active {
  border-color: var(--color-accent);
}

.history-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: var(--color-surface);
}

.history-card-body {
  padding: var(--space-md);
}

.history-card-year {
  display: block;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-h4);
  line-height: 1;
  color: var(--color-accent);
  margin-block-end: var(--space-xs);
}

/* Home "Zaman Tüneli" only: Playfair Display's default figures are
   old-style (text) figures — digits like 3/4/5/7/9 carry a descender
   below the baseline while 0/1/2/6/8 sit on it, so multi-digit years
   (e.g. 1978, 1988) look vertically uneven. Switching to the same
   self-hosted file's built-in lining-figure glyphs (OpenType "lnum",
   confirmed present in playfair-display-700-latin.woff2) puts every
   digit on one baseline at a uniform height, with no change to
   font-family, weight, size, letter-spacing or line-height, and no
   effect on letters. Scoped to .home-timeline-card so About Us's
   "Our Journey" (_HistoryCarousel, shares .history-card-year) is
   untouched. */
.home-timeline-card .history-card-year {
  font-variant-numeric: lining-nums;
}

.history-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-body);
  line-height: var(--line-height-heading);
  color: var(--color-text-primary);
  margin-block-end: var(--space-xs);
}

.history-card-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
  margin-block-end: var(--space-sm);
}

.history-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  color: var(--color-accent);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
}

.history-card-link:hover {
  text-decoration: underline;
}

.history-card-link span {
  transition: transform var(--transition-fast) var(--ease-standard);
}

.history-card-link:hover span {
  transform: translateX(3px);
}

/* ---- Home Timeline (Zaman Tüneli) devamı/gizle expand-collapse ----
   Home-only, additive: _HomeTimelineCarousel reuses the .history-card*
   classes above unmodified for visual parity, and adds these new classes
   for its own toggle/expand markup. Nothing here touches an existing
   selector, so About Us's shared _HistoryCarousel cards (same
   .history-card class, no .home-timeline-* markup) are unaffected.
   .home-timeline-card overrides the track's default flex stretch so an
   expanded card grows on its own without pulling its siblings taller;
   the grid-template-rows 0fr/1fr pair animates the reveal without a
   fixed max-height guess. */

.home-timeline-card {
  align-self: flex-start;
}

/* ---- Mobile Prev/Next vertical scroll fix (2026-10-02) ----
   Root cause: site.js's scrollToCard() calls card.scrollIntoView({
   block: 'nearest', ... }) for the History Info Panel's Prev/Next
   buttons (Section 21's comment above .history-carousel). Cards no
   longer share one stretched height since .home-timeline-card's
   align-self: flex-start above — each one sizes to its own title/
   description line count — so paging to a slightly taller neighbour can
   leave its bottom edge just past the bottom of a short mobile viewport.
   "nearest" then scrolls the whole page up just enough to fit that
   neighbour, which (with no offset) lands the row's top flush with the
   true viewport top — directly behind the sticky Navbar (.navbar,
   position: sticky, --navbar-height) — clipping the top of the card
   image. Desktop viewports are tall enough that every card already
   fits without any vertical scroll, so block: 'nearest' never fires
   there and nothing changes above this breakpoint.

   Same fix already used for anchor-link targets elsewhere in this file
   (#company-overview, #projects-showcase): scroll-margin-top reserves
   the Navbar's height so the browser's own scroll-into-view math stops
   short of it instead of sliding the card underneath. Scoped to
   .home-timeline-card (not the shared .history-card) and to mobile
   only, so About Us's Our Journey carousel and every desktop width are
   untouched. */
@media (max-width: 767px) {
  .home-timeline-card {
    scroll-margin-top: var(--navbar-height);
  }
}

.home-timeline-more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-base) var(--ease-standard);
}

.home-timeline-more-inner {
  overflow: hidden;
}

.home-timeline-card.is-expanded .home-timeline-more {
  grid-template-rows: 1fr;
}

.home-timeline-detail {
  margin: 0;
  padding-block-start: var(--space-2xs);
  padding-block-end: var(--space-sm);
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
}

.home-timeline-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-accent);
  font-family: inherit;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
}

.home-timeline-toggle:hover {
  text-decoration: underline;
}

/* ---- Home Timeline cards with no "devamı..." toggle (2026-10-14) ----
   A card with nothing to reveal (e.g. a "Detaylar yakında" placeholder,
   see HomeTimelineEntryModel.Detail/_HomeTimelineCarousel.cshtml) skips
   the toggle button and hidden detail block entirely rather than showing
   a "read more" that reveals the same sentence again. Without it, the
   card's .history-card-description naturally renders at its own
   (shorter, 1-line) text height instead of the 3 lines every other
   card's longer Summary already fills via -webkit-line-clamp: 3, and the
   toggle's own row disappears too — both scoped to .home-timeline-card
   (not the shared .history-card class) so About Us's "Our Journey"
   carousel, which has no toggle/detail concept at all, is unaffected.
   These two rules restore the same total card height using the same
   font-size/line-height tokens the description and toggle already render
   with, rather than a hardcoded pixel value: a min-height reserving the
   description's own 3-line box regardless of how little text is in a
   short Summary (a no-op for every existing card, whose real Summary
   already fills all 3 lines), and extra bottom padding equal to one text
   line, in place of the toggle row that would have occupied it. */
.home-timeline-card .history-card-description {
  min-height: calc(var(--font-size-small) * var(--line-height-body) * 3);
}

.home-timeline-card--no-detail .history-card-body {
  padding-bottom: calc(var(--space-md) + var(--font-size-small) * var(--line-height-body));
}

/* ---- Shared Prev/Next Button ----
   Lives in History Info Panel, not History Carousel (the panel is the
   dedicated navigation surface) — kept as its own class since a future
   reuse (e.g. About Us "Our Journey") pairs the same button with the
   same carousel. */

.history-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  color: var(--color-text-primary);
  cursor: pointer;
  transition:
    border-color var(--transition-fast) var(--ease-standard),
    color var(--transition-fast) var(--ease-standard);
}

/* .history-nav-btn focus-visible state is inherited from Section 5
   (Accessible Focus States) and intentionally not repeated. */

.history-nav-btn:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.history-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}


/* ==========================================================================
   21. Projects Showcase
   Home page, directly below Company History (project owner's 2026-07-28
   request). A premium horizontal card slider — deliberately not a static
   grid — driven by Embla Carousel + its Autoplay plugin (site.js), with
   .history-nav-btn reused rather than a second arrow-button style. Layout
   inspiration only from Inspirationals/Terzioglu's "TAMAMLANAN PROJELER"
   section — its "Hayallerinizi Yaşatır" eyebrow copy is intentionally not
   reused, per that request.

   2026-07-28 refinement: swapped the native scroll-snap track for Embla
   (better touch support, reliable infinite loop, no more capturing the
   page's vertical scroll — see .projects-slider-viewport below), widened
   the cards to a cinematic 4:3 media ratio, and moved the project title
   out from below the image into the hover overlay.
   ========================================================================== */

/* 2026-08-16 revision: heading swapped to the slogan/title pairing from
   Inspirationals/Terzioglu/terzioglu-projeler-referans.png ("Hayallerinizi
   Yaşatır" / "Tamamlanan Projeler"), replacing the 2026-08-03 h2-only
   centering above — both lines now center as one block, so this scopes
   .section-header itself (still only within .projects-showcase-header,
   leaving the shared _SectionHeader partial's default left-aligned
   behaviour untouched for every other section that uses it). Widths
   approximate the reference's heading container (960px), inner content
   area (480px) and each line (450px) — kept as max-width so smaller
   viewports shrink to 100% instead of overflowing. */
.projects-showcase-header {
  max-width: 60rem; /* ~960px reference heading container */
  margin-inline: auto;
}

.projects-showcase-header .section-header {
  max-width: 30rem; /* ~480px reference heading content area */
  margin-inline: auto;
  text-align: center;
}

/* Reference eyebrow has no decorative mark before the slogan text — hidden
   here rather than in the shared partial, so every other section's eyebrow
   keeps its accent line. */
.projects-showcase-header .section-header__eyebrow-line {
  display: none;
}

.projects-showcase-header .section-header__eyebrow {
  max-width: 28.125rem; /* ~450px reference slogan width */
  margin-inline: auto;
  justify-content: center;
  color: var(--color-accent);
  font-weight: var(--font-weight-regular);

  /* Oswald, single-line fit (2026-08-28 revision) — replaces the earlier
     Caviar Dreams treatment, which had no glyphs for ç/ğ/ı/İ/ö/ş/ü; see
     Section 1's @font-face for the self-hosted files. white-space: nowrap
     forces "İlklerin Mimarı - Ancın İnşaat" (30 characters, inheriting
     this element's own 0.06em letter-spacing from the shared
     .section-header__eyebrow rule) onto one line, so font-size is capped
     to whatever fits its unchanged 450px max-width above — measured
     directly off Oswald's own glyph metrics at weight 400. The clamp()'s
     two endpoints are a CSS-locks-style affine function of viewport width
     (not a bare Nvw term, which would overshoot on narrow phones): it
     reaches its 27px/1.6875rem ceiling once viewport-width minus this
     section's mobile/tablet container padding equals the 450px cap
     (viewport ≈ 482px) and holds there at every wider viewport since vw
     growth alone would otherwise keep exceeding the 450px box on very
     wide screens; below 482px it scales linearly down to a 17px/1.0625rem
     floor sized for a 320px viewport, the narrowest width this was
     safety-margined for (~26% fit margin throughout, vs. the previous
     31px/20px pair's ~15%, freeing up room for the title below to grow
     instead — 2026-08-28 hierarchy revision: deliberately smaller/more
     subordinate now, ~1.55x below the title at every breakpoint instead
     of ~1.26x). Line-height stays 1.2 (single-line). color/weight/
     max-width/alignment above are unchanged. */
  font-family: 'Oswald', var(--font-heading);
  font-size: clamp(1.0625rem, calc(6.17vw - 0.172rem), 1.6875rem); /* 17px (≤320px viewport) up to 27px (≥482px viewport) */
  line-height: 1.2;
  white-space: nowrap;
}

/* Reference title reads as a bold sans-serif, not the site's serif
   heading font — var(--font-body) (Inter) is already an approved token,
   so this borrows an existing family rather than introducing a new one. */
.projects-showcase-header h2 {
  max-width: 28.125rem; /* ~450px reference title width */
  margin-inline: auto;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;

  /* Oswald, single-line fit (2026-08-28 revision) — replaces the earlier
     Caviar Dreams treatment (no Turkish glyphs; see the eyebrow rule
     above for the full rationale, which applies identically here).
     white-space: nowrap forces "DEVAM EDEN PROJELER" (19 characters
     including the text-transform: uppercase below, plus this rule's own
     0.02em letter-spacing) onto one line; font-size is capped to fit the
     unchanged 450px max-width above, measured off Oswald's weight-700
     glyph metrics, using the same CSS-locks affine clamp() shape as the
     eyebrow: flat at its 42px/2.625rem ceiling from a 482px viewport
     upward (where 450px is reached given this section's container
     padding), scaling linearly down to a 26px/1.625rem floor sized for a
     320px viewport (~8.6% fit margin throughout — 2026-08-28 hierarchy
     revision: deliberately larger/more dominant now, trading some of the
     eyebrow's freed-up margin for this rule's own so the title clearly
     reads as the section's main heading, ~1.55x the eyebrow at every
     breakpoint instead of ~1.26x). Line-height stays 1.2 (single-line).
     letter-spacing/text-transform/text-align/max-width above are
     untouched. */
  font-family: 'Oswald', var(--font-heading);
  font-size: clamp(1.625rem, calc(9.88vw - 0.35rem), 2.625rem); /* 26px (≤320px viewport) up to 42px (≥482px viewport) */
  line-height: 1.2;
  white-space: nowrap;
}

.projects-slider {
  position: relative;
}

/* Embla's required structure: an overflow-hidden "viewport" clips a
   flex "container" that Embla pans with a transform — no overflow-x:auto
   anywhere, which is what stops the section from capturing vertical wheel
   scroll the old scroll-snap track sometimes did. */
.projects-slider-viewport {
  overflow: hidden;
}

/* 2026-08-03 refinement: spacing moved off the flex `gap` and onto each
   slide (padding-left) with a matching negative margin on the container.
   Embla's loop engine clones/repositions slides by measuring each slide's
   own box, not the container's `gap`, so with `gap` the wrap-around point
   (last slide back to first) had no space applied and the two cards
   visually touched. Padding-per-slide keeps the same var(--space-lg) gap
   everywhere, including at the loop seam. */
.projects-slider-container {
  display: flex;
  margin-inline-start: calc(var(--space-lg) * -1);
}

/* box-sizing: border-box means padding eats into `width` — each breakpoint
   adds var(--space-lg) to its old width so the card's own visible
   (content-box) size is unchanged from before this refinement. */
.projects-slider-slide {
  flex: 0 0 auto;
  width: calc(min(360px, 88vw) + var(--space-lg));
  padding-inline-start: var(--space-lg);
}

@media (min-width: 768px) {
  .projects-slider-slide {
    width: calc(min(480px, 47vw) + var(--space-lg));
  }
}

@media (min-width: 1024px) {
  .projects-slider-slide {
    width: calc(560px + var(--space-lg));
  }
}

.project-card {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.project-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  background-color: var(--color-surface);
}

.project-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow) var(--ease-standard);
}

.project-card:hover .project-card-image,
.project-card:focus-visible .project-card-image {
  transform: scale(1.06);
}

/* Nysa Gold card only (2026-08-20 client request) — full project logo
   centered over the card's own image. z-index lifts it above the hover
   overlay below (which has no explicit z-index, i.e. auto/0) so it stays
   clearly visible both at rest and on hover/focus, rather than being
   dimmed under the dark wash. Sized as a percentage of the card so it
   scales down with the card itself at every breakpoint (see
   .projects-slider-slide) without ever needing its own media queries.
   ProjectShowcaseCardModel.LogoImageUrl is null for every other project,
   so Default.cshtml never renders this element on any other card. */
.project-card-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 55%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

/* Dark near-black wash, fading in on hover/focus only — tinted from
   --color-near-black (the shadow tokens' cohesive neutral, see Section
   2.5) rather than the brand accent. Intensity referenced against
   Inspirationals/Terzioglu/terzioglu-hover.png: dark enough for the white
   title to stand out, image still clearly visible underneath. */

.project-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: var(--space-lg);
  background-color: color-mix(in srgb, var(--color-near-black) 45%, transparent);
  opacity: 0;
  transition: opacity var(--transition-slow) var(--ease-standard);
}

.project-card:hover .project-card-overlay,
.project-card:focus-visible .project-card-overlay {
  opacity: 1;
}

/* The project title only ever exists inside this hover overlay (the
   "Projeyi İncele" label and the always-visible name below the image are
   both gone — see docs/00_ProjectVision.md 2026-07-28 refinement). No
   line-clamp: a title is left to wrap onto a 3rd line rather than being
   cut off or shrunk, per that request; in practice the overlay's padding
   leaves comfortable room for that without the card needing to resize.

   2026-08-03 refinement: the reveal (transform/opacity) stays on this
   wrapper; the name's own typography moved onto .project-card-overlay-name
   unchanged, with the new .project-card-overlay-number sitting above it,
   reusing the eyebrow's small-label treatment rather than inventing a
   fourth text style. */

.project-card-overlay-title {
  max-width: 85%;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  transform: translateY(8px);
  opacity: 0;
  transition:
    transform var(--transition-slow) var(--ease-standard),
    opacity var(--transition-slow) var(--ease-standard);
}

.project-card-overlay-number {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-small);
  letter-spacing: 0.06em;
  color: var(--color-white);
}

.project-card-overlay-name {
  font-family: 'Montserrat', var(--font-heading);
  font-weight: 700;
  /* 2026-08-20: sized down one step from the previous 2rem/32px — the
     ViewComponent now injects each name pre-uppercased verbatim (including
     "VİLLALAR"'s Turkish İ), so no text-transform is applied here; it would
     be redundant on already-uppercase strings and risks re-casing that İ. */
  font-size: 1.125rem; /* 18px on narrow/mobile cards */
  line-height: var(--line-height-heading);
  text-align: left;
  color: var(--color-white);
}

@media (min-width: 1024px) {
  .project-card-overlay-name {
    font-size: 1.375rem; /* 22px on the desktop-width card */
  }
}

.project-card:hover .project-card-overlay-title,
.project-card:focus-visible .project-card-overlay-title {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .project-card-image,
  .project-card-overlay,
  .project-card-overlay-title {
    transition: none;
  }
}

/* ---- Status Badge ----
   Bare class is inline/static so the same markup also works on the future
   Project Detail page; the absolute corner position only applies when
   nested inside a card's media block (scoped by descendant selector
   rather than a second modifier class, to avoid two same-specificity
   classes fighting over position). Completed uses the brand accent as a
   small, confined highlight (its approved role); Ongoing stays neutral so
   Completed reads as the more notable of the two states, not the reverse. */

.project-status-badge {
  display: inline-block;
  padding-block: var(--space-2xs);
  padding-inline: var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.02em;
  color: var(--color-white);
}

.project-card-media .project-status-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
}

.project-status-badge--completed {
  background-color: var(--color-accent);
}

.project-status-badge--ongoing {
  background-color: color-mix(in srgb, var(--color-near-black) 65%, transparent);
}

/* Gelecek Projeler (Q-Latis/D-Latis revision, 2026-09-28) — same shape as
   --completed/--ongoing above, its own neutral/muted fill so a "Yakında"
   badge never reads as either an active-construction or finished project. */
.project-status-badge--future {
  background-color: color-mix(in srgb, var(--color-dark-gray) 75%, transparent);
}

.projects-slider-nav {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
  margin-block-start: var(--space-lg);
}


/* ==========================================================================
   22. Projects Listing Page
   /projects — the Breadcrumb sits directly above centered Category Tabs
   (no page heading — removed 2026-08-04, breadcrumb is the only header
   element) and two Filter Dropdowns (Project Type / Location), all three
   combined into one client-side AND-filter (site.js) over a
   .grid.grid-cols-3 of the Project Card Standard partial (Section 23).
   Both empty states (no published projects at all; a filter combination
   with no matches) share one .projects-grid-empty look.
   ========================================================================== */

/* ---- Category Tabs ----
   Mobile-first: a horizontally scrollable row of auto-width tabs so long
   labels never wrap or get crushed. The 768px override switches to three
   equal-width (flex: 1) tabs centered as a group, matching the desktop-first
   "large, evenly distributed" brief while staying usable on mobile — only
   the sub-768px range keeps the scrollable form. */

.projects-categories {
  /* Top padding stands in for the removed page heading's breathing room
     (was a much larger gap when the <h1> sat above this section); bottom
     padding is intentionally tighter than the standard .section rhythm so
     the grid sits close beneath the filters — see .projects-grid-section's
     matching padding-block-start override below. */
  padding-block-start: var(--space-xl);
  padding-block-end: var(--space-lg);
}

@media (min-width: 768px) {
  .projects-categories {
    padding-block-start: var(--space-2xl);
    padding-block-end: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .projects-categories {
    padding-block-start: var(--space-3xl);
    padding-block-end: var(--space-2xl);
  }
}

.project-tabs {
  display: flex;
  gap: var(--space-2xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .project-tabs {
    max-width: 44rem;
    margin-inline: auto;
    overflow-x: visible;
  }
}

.project-tab {
  position: relative;
  flex: 0 0 auto;
  padding-block: var(--space-sm) var(--space-md);
  border: none;
  background: none;
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: 1.0625rem; /* 17px — was --font-size-body (16px), a slight bump */
  color: var(--color-text-primary);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--transition-fast) var(--ease-standard);
}

@media (min-width: 768px) {
  .project-tab {
    flex: 1 1 0;
    text-align: center;
  }
}

.project-tab::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 6.5rem;
  height: 6px;
  border-radius: 999px;
  background-color: var(--color-accent);
  transform: translateX(-50%) scaleX(0);
  transition: transform var(--transition-base) var(--ease-standard);
}

.project-tab:hover {
  color: var(--color-accent);
}

.project-tab.is-active {
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
}

.project-tab.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .project-tab::after {
    transition: none;
  }
}

/* ---- Filter Dropdowns (Project Type / Location) ----
   Custom listbox popup, not a native <select> — see _FilterDropdown.cshtml
   and site.js. Visual/motion pattern mirrors the Navbar's .nav-dropdown
   (Section 9) for consistency: opacity + translateY + delayed visibility. */

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-block-start: var(--space-md);
}

.filter-dropdown {
  position: relative;
  flex: 1 1 16rem;
  max-width: 20rem;
}

.filter-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  width: 100%;
  min-height: 3.25rem;
  padding-inline: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-body);
  color: var(--color-text-primary);
  cursor: pointer;
  transition: border-color var(--transition-fast) var(--ease-standard);
}

.filter-dropdown-trigger:hover,
.filter-dropdown-trigger[aria-expanded='true'] {
  border-color: var(--color-accent);
}

.filter-dropdown-chevron {
  flex: 0 0 auto;
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--color-dark-gray);
  border-bottom: 2px solid var(--color-dark-gray);
  transform: rotate(45deg);
  transition: transform var(--transition-fast) var(--ease-standard);
}

.filter-dropdown-trigger[aria-expanded='true'] .filter-dropdown-chevron {
  transform: rotate(-135deg);
}

.filter-dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-xs));
  left: 0;
  right: 0;
  z-index: 10;
  max-height: 16rem;
  overflow-y: auto;
  margin: 0;
  padding-block: var(--space-xs);
  list-style: none;
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.25rem);
  transition:
    opacity var(--transition-fast) var(--ease-standard),
    transform var(--transition-fast) var(--ease-standard),
    visibility 0s linear var(--transition-fast);
}

.filter-dropdown-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity var(--transition-fast) var(--ease-standard),
    transform var(--transition-fast) var(--ease-standard),
    visibility 0s linear 0s;
}

.filter-dropdown-menu [role='option'] {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: var(--space-lg);
  font-size: var(--font-size-body);
  color: var(--color-text-primary);
  cursor: pointer;
}

.filter-dropdown-menu [role='option']:hover,
.filter-dropdown-menu [role='option']:focus-visible {
  background-color: var(--color-surface);
}

.filter-dropdown-menu [role='option'][aria-selected='true'] {
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
}

@media (prefers-reduced-motion: reduce) {
  .filter-dropdown-menu,
  .filter-dropdown-chevron {
    transition: none;
  }
}

/* Tighter top padding than the standard .section rhythm so the grid sits
   close beneath the filters — pairs with .projects-categories'
   padding-block-end override above (Section 22). Bottom padding is
   untouched, still the standard .section value. */
.projects-grid-section {
  padding-block-start: var(--space-md);
}

@media (min-width: 768px) {
  .projects-grid-section {
    padding-block-start: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .projects-grid-section {
    padding-block-start: var(--space-xl);
  }
}

.projects-grid-item {
  height: 100%;
}

.projects-grid-empty {
  padding-block: var(--space-2xl);
  text-align: center;
  font-size: var(--font-size-body);
  color: var(--color-text-secondary);
}


/* ==========================================================================
   23. Project Card Standard
   Projects listing grid card — deliberately its own set of classes,
   independent from Section 21's .project-card (Home's carousel, unchanged).
   Portrait media with an always-visible name/location over a permanent
   bottom scrim (unlike the carousel's hover-only title), intensifying
   further on hover/focus alongside an image zoom, a card lift and an
   arrow affordance.
   ========================================================================== */

.project-card-standard {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Coming-soon cards (2026-10-15 client request) — D-Latis/Q-Latis render
   as a <button> (shows the shared Toast instead of navigating, see
   _ProjectCard.cshtml); this strips the browser's button chrome so the
   card face is pixel-identical to the <a> version above. */
.project-card-standard--coming-soon {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: none;
  text-align: inherit;
}

.project-card-standard-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  background-color: var(--color-surface);
  transition:
    transform var(--transition-base) var(--ease-standard),
    box-shadow var(--transition-base) var(--ease-standard);
}

.project-card-standard-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow) var(--ease-standard);
}

/* Nysa Gold card only (2026-08-20 client request) — same treatment as the
   Home carousel's .project-card-logo (Section 21), reusing the identical
   asset. z-index lifts it above the always-on bottom scrim below (which
   has no explicit z-index, i.e. auto/0) so it stays clearly visible at
   rest and on hover, rather than being read against the darkened gradient.
   Sized as a percentage of the card so it scales down with the card itself
   at every grid breakpoint with no extra media queries needed — width-only
   (height: auto) keeps the logo's own aspect ratio, and centering via
   top/left 50% + translate(-50%, -50%) means enlarging `width` grows the
   logo evenly from its exact center rather than shifting it toward any
   edge. 55% raised to 78% (2026-08-20 revision, catalogue card only —
   Section 21's Home carousel logo is untouched) per client request to
   read more comfortably; still well short of the card's own width/height
   at every breakpoint (this card's portrait 3:4 media, unlike the
   carousel's landscape 4:3, has ample headroom above and below the logo's
   own short/wide aspect ratio), so it can't overflow on desktop, tablet or
   mobile. ProjectCardModel.LogoImageUrl is null for every other project,
   so _ProjectCard.cshtml never renders this element on any other card. */
.project-card-standard-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 78%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

/* Ferhunde Hanım Apt. and Q-Latis card treatment (2026-08-20 client
   request) — same centered/covering position as .project-card-standard-logo
   above, for the two projects with a text-based title instead of a logo
   asset (ProjectCardModel.TitleOverlayText, null for every other project).
   lang="en" on the element itself (_ProjectCard.cshtml), same reasoning as
   the Project Detail Hero heading: text-transform: uppercase must not
   trigger Turkish locale casing (i → İ) on either project's title. */
.project-card-standard-title-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 82%;
  font-family: var(--font-hero-montserrat);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-h3);
  line-height: var(--line-height-heading);
  color: var(--color-white);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

/* Q-Latis card title (2026-09-28 revision, bumped again same day per
   client feedback that the first increase wasn't enough) — now two steps
   larger than the shared .project-card-standard-title-overlay size above,
   scoped to this slug only (_ProjectCard.cshtml); Ferhunde Hanım Apt.'s own
   title overlay and D-Latis (no override class, uses the shared size) are
   unaffected. Expressed as a multiplier of the shared token rather than a
   fixed rem value so it stays proportional if that token ever changes. */
.project-card-standard-title-overlay--q-latis {
  font-size: calc(var(--font-size-h3) * 1.24);
}

.project-card-standard-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 28, 28, 0.85) 0%,
    rgba(28, 28, 28, 0.35) 45%,
    rgba(28, 28, 28, 0) 70%
  );
  opacity: 0.85;
  transition: opacity var(--transition-base) var(--ease-standard);
}

.project-card-standard-media .project-status-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
}

.project-card-standard-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-lg);
  padding-inline-end: var(--space-3xl);
}

.project-card-standard-name {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-h4);
  line-height: var(--line-height-heading);
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition-base) var(--ease-standard);
}

.project-card-standard-location {
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  color: rgba(255, 255, 255, 0.68);
}

.project-card-standard-arrow {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
  opacity: 0;
  transform: translate(-0.25rem, 0.25rem);
  transition:
    opacity var(--transition-base) var(--ease-standard),
    transform var(--transition-base) var(--ease-standard);
}

.project-card-standard:hover .project-card-standard-media,
.project-card-standard:focus-visible .project-card-standard-media {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-md);
}

.project-card-standard:hover .project-card-standard-image,
.project-card-standard:focus-visible .project-card-standard-image {
  transform: scale(1.06);
}

.project-card-standard:hover .project-card-standard-scrim,
.project-card-standard:focus-visible .project-card-standard-scrim {
  opacity: 1;
}

.project-card-standard:hover .project-card-standard-name,
.project-card-standard:focus-visible .project-card-standard-name {
  color: var(--color-white);
}

.project-card-standard:hover .project-card-standard-arrow,
.project-card-standard:focus-visible .project-card-standard-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .project-card-standard-media,
  .project-card-standard-image,
  .project-card-standard-scrim,
  .project-card-standard-name,
  .project-card-standard-arrow {
    transition: none;
  }
}


/* ==========================================================================
   24. Project Detail
   /projects/{slug} — Hero Banner Standard (Section 16, now with the
   optional .hero-status-badge slot) followed by one Project Overview
   section: Section Header (Section 8's .section-header, via the shared
   _SectionHeader partial) above a two-column grid pairing the full-length
   description against the Project Information summary card. Single column
   on mobile (description above the info card, matching source order).
   Gallery, Floor Plans, Catalogue, Social Facilities and Business Partners
   are reserved for a later phase — see the comment anchors in
   Views/Projects/Details.cshtml — and intentionally have no styles here yet.
   ========================================================================== */

.project-overview-grid {
  align-items: start;
}

@media (min-width: 1024px) {
  .project-overview-grid {
    grid-template-columns: 64% 1fr;
  }
}

.project-description {
  max-width: 68ch;
  color: var(--color-text-primary);
}

.project-description p + p {
  margin-block-start: var(--space-md);
}

/* ---- Project Information Panel ----
   Reuses .card (Section 8) for the shell; only the definition-list layout
   is new. Each row is its own labelled block rather than a two-column
   table, so a long value (e.g. a long Location string) never fights a
   fixed label column width. */

.project-info-panel__title {
  margin-block-end: var(--space-md);
  font-size: var(--font-size-h4);
}

.project-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.project-info-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block-end: var(--space-sm);
  border-block-end: 1px solid var(--color-border);
}

.project-info-row:last-child {
  padding-block-end: 0;
  border-block-end: none;
}

.project-info-row dt {
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
}

.project-info-row dd {
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  text-align: right;
}


/* ==========================================================================
   25. Project Gallery, Floor Plans & Media Viewer
   Project Detail's Gallery and Floor Plans sections (_ProjectGallery.cshtml,
   _FloorPlans.cshtml) each open the same shared full-viewport Media Viewer
   dialog (_MediaViewer.cshtml, one instance per page) — Gallery Lightbox
   and Floor Plan Viewer share one JS module and one dialog markup (site.js),
   keyed by each thumbnail's data-media-viewer-group. The overlay reuses
   Section 19's Video Modal visual pattern (same backdrop tint, close-button
   treatment) so the site has one consistent full-viewport dialog language.
   ========================================================================== */

/* ---- Gallery Grid ----
   4:3 reuses .image-block's (Section 8) established "framed image" ratio
   rather than introducing a second one. */

.gallery-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base) var(--ease-standard);
}

.gallery-thumb:hover .gallery-thumb-image,
.gallery-thumb:focus-visible .gallery-thumb-image {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-thumb-image {
    transition: none;
  }
}

/* ---- Media Viewer (Gallery Lightbox / Floor Plan Viewer) ----
   Full-viewport fixed overlay — same shell as Section 19's Video Modal. */

.media-viewer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.media-viewer[hidden] {
  display: none;
}

.media-viewer-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(28, 28, 28, 0.9);
}

.media-viewer-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.media-viewer-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}

.media-viewer-image {
  display: block;
  max-width: min(90vw, 28rem);
  max-height: min(58vh, 32rem);
  border-radius: var(--radius-md);
  opacity: 0;
  cursor: zoom-in;
  touch-action: none;
  transform-origin: center center;
  transition: opacity var(--transition-fast) var(--ease-standard), transform var(--transition-fast) var(--ease-standard);
}

.media-viewer-image.is-zoomed {
  cursor: grab;
}

.media-viewer-image.is-dragging {
  cursor: grabbing;
}

@media (min-width: 768px) {
  .media-viewer-image {
    max-width: min(70vw, 38rem);
    max-height: min(65vh, 42rem);
  }
}

@media (min-width: 1024px) {
  .media-viewer-image {
    max-width: min(50vw, 46rem);
    max-height: min(70vh, 48rem);
  }
}

/* ---- Floor Plan viewer enlargement (2026-10-08) ----
   Scoped to the "floorplans" trigger group only (is-floorplan-viewer is
   toggled in site.js' Media Viewer open()/close()), so Gallery/Concept/
   Site Plan keep the sizing above untouched. The rem caps above were the
   actual bottleneck on desktop (e.g. 46rem/736px on a 1024px+ screen) —
   the panel/figure already fill the full available viewport, so raising
   these viewport-relative caps is what makes the visible frame larger;
   the <img> has no explicit width/height, so it still never upscales
   past its own source resolution. */
.media-viewer.is-floorplan-viewer .media-viewer-image {
  max-width: 92vw;
  max-height: 82vh;
}

@media (min-width: 768px) {
  .media-viewer.is-floorplan-viewer .media-viewer-image {
    max-width: 90vw;
    max-height: 85vh;
  }
}

@media (min-width: 1024px) {
  .media-viewer.is-floorplan-viewer .media-viewer-image {
    max-width: 88vw;
    max-height: 88vh;
  }
}

/* Progressive floor plan loading (2026-10-19) — while the 800px WebP
   thumbnail stands in for the full-resolution original (see site.js
   Media Viewer render()), stretch its box to the same max-width/max-height
   caps above and contain the drawing inside it, so the preview appears at
   the exact size the original will, with no jump when it swaps in. */
/* .is-display (2026-10-19): same box for the screen-sized display
   derivative (site.js floorPlanDisplaySrc), so preview -> display ->
   original (on zoom) all render at exactly the same size and position. */
.media-viewer.is-floorplan-viewer .media-viewer-image.is-preview,
.media-viewer.is-floorplan-viewer .media-viewer-image.is-display {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
}

.media-viewer-image.is-loaded {
  opacity: 1;
}

.media-viewer-close,
.media-viewer-nav {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background-color: rgba(28, 28, 28, 0.6);
  color: var(--color-white);
  transition: background-color var(--transition-fast) var(--ease-standard);
}

.media-viewer-close:hover,
.media-viewer-nav:hover {
  background-color: rgba(28, 28, 28, 0.85);
}

.media-viewer-close {
  top: var(--space-sm);
  right: var(--space-sm);
}

.media-viewer-toolbar {
  position: absolute;
  z-index: 1;
  top: var(--space-sm);
  left: var(--space-sm);
  display: flex;
  gap: var(--space-2xs);
}

.media-viewer-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background-color: rgba(28, 28, 28, 0.6);
  color: var(--color-white);
  transition: background-color var(--transition-fast) var(--ease-standard);
}

.media-viewer-tool:hover:not(:disabled) {
  background-color: rgba(28, 28, 28, 0.85);
}

.media-viewer-tool:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.media-viewer-tool.is-active {
  background-color: var(--color-white);
  color: var(--color-near-black);
}

.media-viewer-prev {
  left: var(--space-sm);
}

.media-viewer-next {
  right: var(--space-sm);
}

@media (min-width: 768px) {
  .media-viewer-prev {
    left: var(--space-xl);
  }

  .media-viewer-next {
    right: var(--space-xl);
  }
}

.media-viewer-counter {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: var(--space-2xs) var(--space-md);
  border-radius: var(--radius-sm);
  background-color: rgba(28, 28, 28, 0.6);
  color: var(--color-white);
  font-size: var(--font-size-small);
}

@media (prefers-reduced-motion: reduce) {
  .media-viewer-image {
    transition: none;
  }
}

/* ---- Toast (La Fiore Karabağ 2. Etap Vaziyet Planı/Concept/Gallery
   phase, 2026-08-09) — shared bottom-center status message, see
   _Toast.cshtml/site.js. Hidden by default (no layout impact); fades in on
   trigger, auto-dismisses after 3s. ---- */
.toast {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: var(--space-xl);
  transform: translate(-50%, var(--space-sm));
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast) var(--ease-standard), transform var(--transition-fast) var(--ease-standard);
}

.toast[hidden] {
  display: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast-message {
  margin: 0;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  background-color: var(--color-near-black);
  color: var(--color-white);
  font-size: var(--font-size-small);
  white-space: nowrap;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .toast {
    transition: opacity var(--transition-fast) var(--ease-standard);
  }
}


/* ==========================================================================
   26. Project Detail — Cinematic Redesign
   2026-07-31. Inspired by (not copying) Inspirationals/Folkart's Orion
   project page — layout/interaction feel only, restyled in Ancın's own
   Design System (Section 2 tokens). Covers: Hero's third variant (full
   viewport, centered, logo + two buttons), Concept, Location & Distances,
   Gallery's header/category badge, Project Catalogue's cinematic CTA,
   Social Facilities and the Floor Plans "presentation board" treatment.
   See docs/14_Decisions.md for the full rationale.
   ========================================================================== */

/* ---- Hero — Project Detail Variant ----
   Vertically centered (unlike Home's bottom-anchored content) — reuses
   .hero/.hero-bg's gradient + zoom background as-is. Full-viewport height
   comes from .hero--full-viewport below (shared with the Home Hero,
   2026-08-10), not from this class. */

.hero--project-detail {
  align-items: center;
}

/* ---- Hero — Full Viewport Height (Project Detail, 2026-07-31; reused by
   the Home Hero, 2026-08-10) ----
   Makes the Hero's own box exactly fill the viewport height, so it hands
   off to the next section with no gap once .hero--overlap-navbar (below)
   has pulled it up underneath the Navbar — the Hero's height must reach
   100vh from the true viewport top for its bottom edge to land exactly at
   the viewport's bottom edge. Home previously carried .hero--overlap-navbar
   without this class, leaving only the base .hero rule's 90vh: the Hero's
   bottom landed 10vh short of the viewport, exposing a strip of the next
   section's (white) background in the very first screen — the actual
   defect, not a stray margin/padding. svh fallback for mobile browsers
   whose dynamic toolbar makes 100vh taller than the actually-visible
   viewport. */

.hero--full-viewport {
  min-height: 100vh;
  min-height: 100svh;
}

/* ---- Hero — Overlap Navbar (Nysa Gold Residence UI revision, 2026-08-07;
   rolled out to every Project Detail Hero, 2026-08-08; reused as-is by the
   Home Hero, 2026-08-10) ----
   Pulls the Hero up by exactly --navbar-height so it starts at the true
   viewport top, underneath the sticky Navbar, instead of following it in
   normal flow. This is what actually puts the Hero image "behind" the
   Navbar — the transparent/white toggle in site.js only flips a color;
   without this negative margin the Navbar was never overlapping the Hero
   in the first place. Depends on nothing sitting between the Navbar and the
   Hero in the DOM (Project Detail: the breadcrumb was removed entirely,
   Details.cshtml; Home: HeroBanner is already the first thing rendered in
   <main>, Index.cshtml) — otherwise pulling the Hero up would clip or
   overlap whatever came before it. */

.hero--overlap-navbar {
  margin-block-start: calc(-1 * var(--navbar-height));
}

/* ---- Hero Content — Start-Aligned (Nysa Gold Residence reference redesign,
   2026-08-07; rolled out to every Project Detail Hero, 2026-08-08) ----
   Left-aligned variant, now the only Project Detail Hero content layout —
   see HeroBannerProjectDetail/Default.cshtml. padding-inline-start is extra
   distance on top of .container's own inline padding
   (--container-padding-mobile/tablet/desktop) so the combined offset clears
   .hero-social-nav's icon column at each of ITS OWN breakpoints (640px/
   1024px, intentionally matching .hero-social-nav rather than .container's
   768px tier) with a comfortable gap. */

.hero-content--start {
  max-width: 46rem;
  padding-inline-start: 3.5rem;
  /* Clears .floating-contact (Section 12) — fixed, middle-right, on every
     page — from the right edge (2026-08-07 fix). Below 1024px the wider
     Hero heading (see .hero-heading--project) reached far enough right to
     sit directly under that button; confirmed visually at 390px width. Not
     needed from 1024px up, where .container's own max-width keeps the text
     block well clear of it regardless. */
  padding-inline-end: 5.5rem;
}

@media (min-width: 640px) {
  .hero-content--start {
    padding-inline-start: 4.5rem;
    padding-inline-end: 6.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-content--start {
    padding-inline-start: 5.5rem;
    padding-inline-end: 0;
  }
}

/* ---- Hero Heading — Project Detail Typography (Nysa Gold Residence UI
   revision, 2026-08-07; generalised to every project + per-project font
   mapping, 2026-08-08) ----
   Sizing/wrapping rules only — font-family/weight/letter-spacing come from
   one of the three .hero-heading--font-* modifiers below, chosen per slug
   (HeroBannerProjectDetailViewComponent) to match each project's own logo
   wordmark. Real HTML text, not a rasterized logo, for every project.

   word wrapping: hyphens: none is deliberate — a title must only ever
   break at a space, never mid-word (client requirement, 2026-08-08).
   overflow-wrap/word-break are left at their normal defaults (not
   break-word) so a long word is never split; the mobile font-size step
   below is instead sized down so the longest single word across every
   mapped project ("RESIDENCE", "VILLALAR") fits .hero-content--start's
   available width at 375px without triggering a break. lang="en" on the
   heading itself (HeroBannerProjectDetail/Default.cshtml) is what fixed
   "RESİDENCE" — with <html lang="tr"> (_Layout.cshtml), text-transform:
   uppercase alone was enough to trigger Turkish locale casing (i → İ) on
   every project's title, not just Nysa Gold's. */

.hero-heading--project {
  max-width: 24rem;
  text-transform: uppercase;
  font-size: 2.25rem;
  line-height: 1.15;
  hyphens: none;
}

@media (min-width: 640px) {
  .hero-heading--project {
    max-width: 36rem;
    font-size: 4.25rem;
    line-height: 1.1;
  }
}

@media (min-width: 1024px) {
  .hero-heading--project {
    max-width: 44rem;
    font-size: 5.5rem;
    line-height: 1.05;
  }
}

/* ---- Hero Heading — Logo Image Variant (2026-08-20, Nysa Gold Residence
   client-supplied logo lockup; folkart-orion-proje-detay-banner.png
   reference, client-approved sizing rule; re-aligned same day to the
   left-aligned reading of that reference) ----
   The one exception to "Real HTML text, not a rasterized logo, for every
   project" above (HeroBannerProjectDetailViewComponent.HeadingLogoImageUrls)
   — the client's own logo file renders here instead of Model.Heading text,
   and Default.cshtml omits .hero-subheading entirely alongside it. .hero-
   heading--project's own responsive max-width steps above are reused
   unchanged as this image's available width (kept exactly as before so the
   floating-contact collision-avoidance they already handle still applies);
   the logo itself renders at ~63% of that width (down from the initial 72.2%
   — client felt that first pass too dominant, 2026-08-20 follow-up; ~12.5%
   smaller, same ratio kept across every breakpoint since none is per-
   breakpoint overridden) — with height: auto so its native proportions are
   preserved (never stretched/cropped). No inline margin: the Folkart
   reference keeps its logo flush with the status text's left edge rather
   than centering it under that text, so this image stays at the h1's own
   left edge (the same left edge "Devam Ediyor" sits at) instead of a
   margin-inline: auto, which would center it and break that alignment. */

.hero-heading-logo-img {
  display: block;
  width: 63.2%;
  height: auto;
}

/* Le Jardin logo alignment correction (2026-08-20) — its supplied file has
   ~7.14% transparent padding baked in symmetrically on both sides of its
   own canvas (94px of 1316px total width), unlike Nysa Gold's tightly-
   trimmed file, so the visible artwork sits inset from the <img>'s own
   left edge rather than flush with it. translateX (a percentage of this
   element's own width, unlike margin which would resolve against the
   containing block) shifts the rendered image left by that same
   percentage so its visible left edge lines up exactly with "Devam
   Ediyor"'s left edge — width/height (size, aspect ratio) and vertical
   position are untouched, and this is a pure visual transform so it
   doesn't affect surrounding layout/spacing from the social icons. Scoped
   to this modifier only; the base .hero-heading-logo-img rule above (used
   by Nysa Gold and any future project) is unchanged. */
.hero-heading-logo-img--le-jardin {
  transform: translateX(-7.1429%);
}

/* La Fiore Karabağ 1. Etap and La Via Villalar 1. Etap logo alignment
   corrections (2026-08-20 client request) — same mechanism as Le Jardin's
   modifier above, each with its own measured left-edge padding percentage
   (26px and 127px respectively, of the same 1316px canvas width their
   supplied files share): 1.9757% and 9.6505%. D-Latis's supplied file is
   tightly trimmed like Nysa Gold's (0px padding), so it uses the base
   .hero-heading-logo-img rule unchanged with no modifier of its own. */
.hero-heading-logo-img--la-fiore-karabag {
  transform: translateX(-1.9757%);
}

.hero-heading-logo-img--lavia {
  transform: translateX(-9.6505%);
}

/* Tralles Gold Residence, Alinda Gold Residence, Magnesia Gold Residence
   and Nlatis logo alignment corrections (2026-08-20 client request) — same
   mechanism as Le Jardin/La Fiore Karabağ/La Via Villalar above, each with
   its own measured left-edge padding percentage (22px of 1316px, 30px of
   1316px, 21px of 1695px, 64px of 1316px respectively). */
.hero-heading-logo-img--tralles-gold {
  transform: translateX(-1.6717%);
}

.hero-heading-logo-img--alinda-gold {
  transform: translateX(-2.2796%);
}

.hero-heading-logo-img--magnesia-gold {
  transform: translateX(-1.2389%);
}

.hero-heading-logo-img--nlatis {
  transform: translateX(-4.8632%);
}

/* ---- Hero Heading — Logo + Phase Badge Lockup (La Fiore Karabağ 2. Etap
   "2-etap.png" badge, 2026-08-20 client request) ----
   Places the project's own wordmark logo (.hero-heading-logo-img) beside a
   smaller secondary badge image inside the same <h1>, so together they
   read as one heading — "LA FIORE  2. ETAP" — without needing a single
   combined logo file. Shared identically by the Project Detail Hero
   (HeroBannerProjectDetail/Default.cshtml) and the Home Hero
   (HeroBanner/Default.cshtml). The badge is sized well under the logo's
   own 63.2% so it reads as a supporting tag rather than an equal second
   headline; flex-wrap lets it drop to its own line rather than shrinking
   or overflowing on very narrow viewports. .hero-heading-logo-img's own
   width/alignment rules above are reused unchanged — only flex-shrink is
   pinned here so the lockup's flex context can't compress it. */

.hero-heading-lockup {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: 0.5rem;
}

.hero-heading-lockup .hero-heading-logo-img {
  flex: 0 0 auto;
}

.hero-heading-badge-img {
  display: block;
  flex: 0 0 auto;
  width: 24%;
  height: auto;
}

/* ---- Hero Heading — Font Mapping (2026-08-08) ----
   Client-specified, per project family: Nlatis/Dlatis → Montserrat Light;
   the four "Gold" projects → Poiret One; the Cormorant Garamond group
   (La Fiore Karabağ x2, Le Jardin, La Via Villalar) → var(--font-decorative),
   already used site-wide. Ferhunde Hanım Apt. and Q-Latis → Montserrat Bold
   (below). A slug with no entry at all (e.g. La Via AVM) renders no
   modifier class and falls back to .hero-heading's own default (Playfair
   Display, var(--font-heading)). */

.hero-heading--font-montserrat {
  font-family: var(--font-hero-montserrat);
  font-weight: 300;
  letter-spacing: 0.10em;
}

.hero-heading--font-poiret {
  font-family: var(--font-hero-poiret);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.hero-heading--font-cormorant {
  font-family: var(--font-decorative);
  font-weight: 400;
}

/* Ferhunde Hanım Apt. and Q-Latis (2026-08-20 client request) — text-only
   headings (no logo asset for either project) in Montserrat Bold, distinct
   from the Light-weight Montserrat used by Nlatis/Dlatis above.

   Font-size override (2026-08-21 client request) — these two slugs are the
   only ones left rendering a real-text Hero heading; every other mapped
   project since received a client-supplied logo image instead (see
   HeadingLogoImageUrls in HeroBannerProjectDetailViewComponent) sized to
   63.2% of the shared .hero-heading--project max-width, not by font-size.
   .hero-heading--project's own font-size steps (2.25/4.25/5.5rem) were
   tuned back when every project used text, and now read far larger than
   those logo images. Scaled down to ~63.6% at each of the same breakpoints
   here — landing exactly on .hero-heading's own 3.5rem base size at
   1024px+, this project's existing "standard" heading size used outside
   the Project Detail context — so both titles match the other project
   banners' visual scale. Only font-size changes: position, max-width,
   line-height and every other project's heading (via .hero-heading--project,
   left untouched) are unaffected. */
.hero-heading--font-montserrat-bold {
  font-family: var(--font-hero-montserrat);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.02em;
  font-size: 1.5rem;
}

@media (min-width: 640px) {
  .hero-heading--font-montserrat-bold {
    font-size: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-heading--font-montserrat-bold {
    font-size: 3.5rem;
  }
}

/* Ferhunde Hanım Apt. only (2026-08-21 follow-up) — still read slightly too
   large at .hero-heading--font-montserrat-bold's own scale above, even
   though that scale is already correct for Q-Latis (the only other project
   sharing that class). A further, smaller reduction (~15%) scoped to this
   slug's own modifier class (Default.cshtml) so Q-Latis and every other
   project are untouched. Same three breakpoints as
   .hero-heading--font-montserrat-bold; source order here (after that rule)
   is what lets this win at equal specificity. Position, max-width,
   line-height and font-family/weight/letter-spacing (inherited from
   .hero-heading--font-montserrat-bold, still applied alongside this class)
   are unchanged — font-size only. */
.hero-heading--ferhunde-hanim-apt {
  font-size: 1.25rem;
}

@media (min-width: 640px) {
  .hero-heading--ferhunde-hanim-apt {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-heading--ferhunde-hanim-apt {
    font-size: 3rem;
  }
}

/* ---- Hero Actions — Attached Segment Bar (Nysa Gold Residence UI
   revision, 2026-08-07) ----
   Zero-gap, bottom-centered button group replacing the previous
   under-title/wrapping-gap layout — matches the Folkart reference's
   segmented CTA bar. Lives inside .hero-bottom, stacked above the Scroll
   Indicator (both centered together by .hero-bottom's own transform).
   overflow-x (rather than flex-wrap) keeps the group visually attached
   even if the three labels can't all fit at very narrow widths, instead
   of an individual segment breaking onto its own line. */

.hero-actions--attached {
  flex-wrap: nowrap;
  gap: 0;
  max-width: min(94vw, 40rem);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Below 768px the bar spans the container width and its labels may wrap, so
   every segment stays on screen (2026-11-01 fix — "Size Ulaşalım" used to be
   clipped at the end of the scroll area). 768px+ keeps the rule above.
   .hero-bottom's left: 50% only leaves half the screen as available width,
   hence the switch to left/right here. Later in source order than Section 16,
   and .btn-hero-segment below is scoped under this modifier to outrank it. */
@media (max-width: 767.98px) {
  .hero-bottom {
    left: 0;
    right: 0;
    transform: none;
    padding-inline: var(--container-padding-mobile);
  }

  .hero-actions--attached {
    width: 100%;
    max-width: 40rem;
    overflow-x: visible;
  }

  .hero-actions--attached .btn-hero-segment {
    flex: 1 1 auto;
    min-width: 0;
    padding-inline: var(--space-xs);
    font-size: 0.8125rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }
}

.btn-hero-segment {
  flex-shrink: 0;
  border-radius: 0;
  border-color: transparent;
  background-color: var(--color-near-black);
  color: var(--color-white);
  white-space: nowrap;
}

.hero-actions--attached .btn-hero-segment:first-child {
  border-start-start-radius: var(--radius-sm);
  border-end-start-radius: var(--radius-sm);
}

.hero-actions--attached .btn-hero-segment:last-child {
  border-start-end-radius: var(--radius-sm);
  border-end-end-radius: var(--radius-sm);
}

.btn-hero-segment:hover {
  background-color: color-mix(in srgb, var(--color-near-black) 80%, white);
  border-color: transparent;
  color: var(--color-white);
}

/* ---- Hero Segment Bar — Per-Segment Colors (2026-08-07 refinement) ----
   Each of the three segments carries its own brand color and its own
   near-imperceptible hover tint (color-mix toward the segment's own color,
   never toward white) — the brief's explicit "luxury UI, not a typical web
   button" direction. Text stays white in every state so contrast never
   dips as the background barely shifts. */

.btn-hero-segment--siteplan {
  background-color: #2F3B45;
}

.btn-hero-segment--siteplan:hover {
  background-color: #40505D;
}

.btn-hero-segment--accent {
  background-color: var(--color-accent);
}

.btn-hero-segment--accent:hover {
  background-color: color-mix(in srgb, var(--color-accent) 92%, white);
  color: var(--color-white);
}

.btn-hero-segment--contact {
  background-color: #6C7A52;
}

.btn-hero-segment--contact:hover {
  background-color: #809164;
}

/* ---- Hero — Social Navigation ----
   Floating, icon-only social links pinned to the left edge of the Hero
   only (never sticky, never a global nav) — lives inside .hero so it
   scrolls away with the banner, matching the luxury real-estate
   pattern the brief asked for. Reuses SocialMediaViewComponent's
   markup/icons as-is (no duplicated markup per project); every visual
   override (no circle, no border/background, wider vertical rhythm,
   red hover) is scoped under .hero-social-nav so the Footer's own
   .social-links treatment — and its documented contrast rationale for
   never using accent red as a *default* icon color — is untouched.
   Red only appears here on hover/focus, a transient state, not the
   resting contrast case that rule guards against. */

.hero-social-nav {
  position: absolute;
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
}

.hero-social-nav .social-links {
  flex-direction: column;
  gap: 10px;
  margin-block-start: 0;
}

.hero-social-nav .social-link {
  width: auto;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  transition:
    transform 250ms ease,
    color 250ms ease;
}

.hero-social-nav .social-link svg {
  width: 20px;
  height: 20px;
}

.hero-social-nav .social-link:hover,
.hero-social-nav .social-link:focus-visible {
  background: none;
  color: var(--color-accent);
  transform: scale(1.1);
}

@media (min-width: 640px) {
  .hero-social-nav {
    left: var(--space-lg);
  }

  .hero-social-nav .social-links {
    gap: 13px;
  }

  .hero-social-nav .social-link svg {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 1024px) {
  .hero-social-nav {
    left: var(--space-xl);
  }

  .hero-social-nav .social-links {
    gap: 16px;
  }

  .hero-social-nav .social-link svg {
    width: 28px;
    height: 28px;
  }
}

/* ---- Concept ----
   Media left / text panel right on desktop, stacked media-then-panel on
   mobile. .project-concept-media reuses .image-block's established 4:3
   "framed image" ratio (Section 8) so this section's photo treatment
   matches the rest of the site rather than introducing a new crop. */

.project-concept {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--space-2xl);
}

@media (min-width: 1024px) {
  .project-concept {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

.project-concept-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.project-concept-intro {
  margin-block-end: var(--space-md);
  font-family: var(--font-decorative);
  font-size: var(--font-size-h3);
  font-style: italic;
  color: var(--color-accent);
}

.project-concept-panel .project-info-panel {
  margin-block-start: var(--space-xl);
}

/* ---- Concept — Featured (Nysa Gold Residence UI revision, 2026-08-07)
   ----
   Recomposed to match Inspirationals/Folkart/folkart-konsept-inspiration-
   2.png's actual structure (the previous revision's watermark-behind-media
   placement had drifted from it): "KONSEPT" is now a normal-flow heading
   line sitting ABOVE the media/panel row — same decorative-watermark
   typography as Timeline Header (Section 20a)/Gallery's title, just left
   in place here as its own rule since the composition (heading above a
   two-column row, not above a single centered column) is genuinely
   different from either of those. Panel touches the media with zero
   horizontal gap and is pulled left over it (negative inline margin) the
   same as before; new this revision is a negative block margin that also
   makes the panel taller than the media, overlapping its top and bottom
   edges — the one piece of the reference this page didn't yet have. */

/* No overflow: hidden here (2026-08-07 fix, was needed only by the
   previous revision's viewport-edge-bled watermark, since removed below)
   — the Concept section deliberately allows vertical overflow now, which
   is what lets .project-concept-panel--featured's negative block margin
   visually extend above/below the media card (see below) instead of
   being clipped at the section boundary. .section's own generous
   padding-block (Section 4) provides the buffer that overlap bleeds
   into, same as it would in the Folkart reference. */

.project-concept--featured {
  position: relative;
  /* Zero out the shared .project-concept grid gap (2026-08-07 fix) — at
     6rem (--space-4xl, ≥1024px), .project-concept-panel--featured's
     -3.5rem pull below left a visible ~2.5rem gap instead of the intended
     flush/overlapping touch, and the same gap separated the stacked media
     and panel below 1024px. Every other project keeps the base
     .project-concept gap untouched. */
  gap: 0;
}

/* 2026-08-07 fix: this section's actual background is plain white
   (unlike Company History's near-white #F2EDEB, see Timeline Header's
   own comment), so the previous white-text-plus-shadow "emboss" watermark
   rendered essentially invisible here — confirmed visually, not just
   inferred. Switched to the exact same solid var(--color-light-gray)
   treatment already proven legible against white in Gallery's own title
   (.project-gallery-title) — including its flush-left positioning (no
   viewport-edge bleed), which is also what makes the outer section's
   overflow: hidden unnecessary now. */
.project-concept-watermark {
  position: relative;
  z-index: 0;
  grid-column: 1 / -1;
  margin: 0;
  /* Nudged down (2026-08-07 refinement) — 24px, no other property touched. */
  margin-block-start: 24px;
  margin-block-end: var(--space-lg);
  font-family: var(--font-body);
  font-weight: var(--font-weight-bold);
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--color-light-gray);
  text-align: left;
  white-space: nowrap;
  pointer-events: none;
}

@media (min-width: 768px) {
  .project-concept-watermark {
    margin-block-end: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .project-concept--featured {
    grid-template-columns: 1.15fr 1fr;
  }

  .project-concept-watermark {
    margin-block-end: var(--space-2xl);
  }
}

.project-concept-media--featured {
  position: relative;
  z-index: 1;
}

/* Concept Video (Davutlar D Latis Media phase, 2026-08-09) — the <video>
   gets the exact same framed treatment as .project-concept-media img
   (Section 21) so swapping poster/video via the [hidden] attribute below
   is visually seamless. The explicit [hidden] override is needed because
   .project-concept-media img's own `display: block` (Section 21) would
   otherwise tie with the UA stylesheet's `[hidden] { display: none }` on
   specificity in some engines. */
.project-concept-media--featured video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background-color: var(--color-near-black);
}

.project-concept-media--featured img[hidden],
.project-concept-media--featured video[hidden],
.project-concept-play[hidden] {
  display: none;
}

.project-concept-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  border: 1.5px solid var(--color-white);
  background-color: color-mix(in srgb, var(--color-near-black) 35%, transparent);
  color: var(--color-white);
  cursor: pointer;
  transition:
    transform var(--transition-fast) var(--ease-standard),
    background-color var(--transition-fast) var(--ease-standard);
}

.project-concept-play:hover,
.project-concept-play:focus-visible {
  transform: translate(-50%, -50%) scale(1.08);
  background-color: color-mix(in srgb, var(--color-near-black) 50%, transparent);
}

/* Terracotta fill (2026-08-07, replaces white) — a real, distinct warm
   tone rather than --color-accent itself, which docs/02_DesignSystem.md
   rules out as a large background; see --color-terracotta's definition
   (Section 2.1) for why. Heading/intro text below are overridden to white
   here since the panel is no longer light — every other project's plain
   .project-concept-panel (not --featured) keeps its white background and
   original dark/accent text untouched. */
.project-concept-panel--featured {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-terracotta);
  color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-xl);
}

@media (min-width: 1024px) {
  .project-concept-panel--featured {
    /* align-self: stretch (2026-08-07 fix) — .project-concept's shared
       align-items: center (Section 20) sizes every grid item to its own
       content height, so a negative block margin alone only repositioned
       the panel rather than growing it past the media's height (confirmed
       visually: no overlap without this). Stretching first makes the
       panel's own box match the media's height, and only then does the
       negative margin push it out beyond that — top and bottom — by the
       overlap amount. justify-content: center above keeps the heading/
       intro/nav-group vertically centered inside the now-taller box
       instead of pinned to its top. */
    align-self: stretch;
    /* Horizontal: pulls the panel left, flush over the media's edge (no
       gap). Vertical: negative block margin makes the panel visually
       taller than the media, overlapping its top and bottom — the
       "overlapping content panel" the brief specifically calls out. */
    margin-inline-start: -3.5rem;
    margin-block: -2.5rem;
    padding: var(--space-2xl);
  }
}

.project-concept-heading-featured {
  margin-block-end: var(--space-md);
  color: var(--color-white);
}

.project-concept-panel--featured .project-concept-intro {
  color: var(--color-white);
  opacity: 0.92;
}

.project-concept-nav-group {
  display: flex;
  gap: var(--space-sm);
  margin-block-start: var(--space-lg);
}

/* ---- Concept — Video Carousel (Davutlar D Latis Concept redesign,
   2026-08-09) ----
   A second, separately-scoped Concept composition — .concept-carousel-* —
   sitting alongside .project-concept--featured above rather than editing
   it, so every other project's Concept section (single video or photo
   carousel) renders byte-for-byte as before. Matches Inspirationals/
   Folkart/folkart-konsept-inspiration-2.png's actual proportions far more
   closely than the shared pattern above: a compact ~1259:730 media card —
   noticeably smaller than the 4:3 card every other project still uses —
   beside a wide panel that overlaps its edge. .concept-carousel-track and
   .concept-carousel-panel-track each hold one 100%-width slide per
   ProjectConceptVideo row and slide via transform: translateX, driven
   together (never independently) by site.js so Prev/Next always keeps the
   visible poster/video paired with its own heading and paragraph. */

.project-concept-carousel-section {
  display: block;
}

.concept-carousel {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.concept-carousel-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1259 / 730;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--color-near-black);
}

.concept-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform var(--transition-slow) var(--ease-standard);
}

.concept-carousel-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.concept-carousel-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Concept image slides (La Fiore Karabağ 2. Etap, 2026-08-09; positioned
   absolute as of the Le Jardin Concept carousel generalization, 2026-08-09,
   once this became a sibling overlay of .concept-carousel-poster rather than
   its wrapper — mixed carousels render the poster <img> once per slide
   regardless of media type, with either this trigger or .concept-carousel-
   play layered on top). No play-icon overlay for image slides — same "whole
   card is a plain, unstyled &lt;button&gt;" pattern as .gallery-card. */
.concept-carousel-slide-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.concept-carousel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  border: 1.5px solid var(--color-white);
  background-color: color-mix(in srgb, var(--color-near-black) 35%, transparent);
  color: var(--color-white);
  cursor: pointer;
  transition:
    transform var(--transition-fast) var(--ease-standard),
    background-color var(--transition-fast) var(--ease-standard);
}

.concept-carousel-play:hover,
.concept-carousel-play:focus-visible {
  transform: translate(-50%, -50%) scale(1.08);
  background-color: color-mix(in srgb, var(--color-near-black) 50%, transparent);
}

/* Blue sampled directly from the Folkart reference (#72A4BA — the
   "--concept-blue-light" below), deepened to #3E6C81 for the panel's own
   background: solid white text on the raw sample clears only ~2.7:1
   contrast (fine on a compressed marketing screenshot, not this site's own
   accessibility bar); the deepened tone clears 5.7:1 while staying
   recognizably the same muted steel-blue family. The lighter, truer sample
   is kept as --concept-blue-light for small non-text accents only (nav
   button hover fill). */
.concept-carousel-panel {
  --concept-blue: #3E6C81;
  --concept-blue-light: #72A4BA;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  background-color: var(--concept-blue);
  color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.concept-carousel-panel-track {
  display: flex;
  width: 100%;
  transition: transform var(--transition-slow) var(--ease-standard);
}

/* Padding lives on the slide, not .concept-carousel-panel itself — overflow:
   hidden clips at the padding edge, so padding on the clipping element
   would leave a padding-width sliver of the next slide visible through
   that gutter whenever a slide's own content exactly fills the track. */
.concept-carousel-panel-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: var(--space-xl);
}

.concept-carousel-eyebrow {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-decorative);
  font-size: var(--font-size-h3);
  font-style: italic;
  color: var(--color-white);
}

.concept-carousel-title {
  margin: 0 0 var(--space-md);
  color: var(--color-white);
}

.concept-carousel-desc {
  max-width: 32rem;
  margin: 0;
  color: var(--color-white);
  opacity: 0.92;
}

/* Position (La Fiore Karabağ 2. Etap Concept nav refinement, 2026-08-09,
   promoted to the shared rule 2026-08-09) — nudges the arrows up and inward
   from the panel's raw corner, which otherwise reads as crowded since this
   group is a flex sibling of .concept-carousel-panel-track rather than
   padded like the text above it. margin-inline-start indents it inward to
   align with the slide text's own left edge; margin-block-end (combined
   with .concept-carousel-panel's justify-content: center) shifts the whole
   centered content block upward. This is now the standard position for
   every project using this carousel, image or video variant alike — no
   longer scoped per-project via [data-page-slug]. Size/color/hover
   untouched — position only. */
.concept-carousel-nav-group {
  display: flex;
  gap: var(--space-sm);
  margin-block-start: var(--space-lg);
  margin-inline-start: var(--space-lg);
  margin-block-end: var(--space-lg);
}

.concept-carousel-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background-color: transparent;
  color: var(--color-white);
  cursor: pointer;
  transition:
    border-color var(--transition-fast) var(--ease-standard),
    background-color var(--transition-fast) var(--ease-standard);
}

.concept-carousel-nav:hover {
  border-color: var(--color-white);
  background-color: color-mix(in srgb, var(--concept-blue-light) 35%, transparent);
}

/* .concept-carousel-nav focus-visible state is inherited from Section 5
   (Accessible Focus States) and intentionally not repeated. */

@media (min-width: 1024px) {
  .concept-carousel {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }

  .concept-carousel-media {
    flex: 0 0 auto;
    align-self: center;
    /* Deliberately narrower than .project-concept-media--featured's own
       column above (clamps to ~560px max here vs. that section's ~650px+)
       — "noticeably smaller... do not stretch it to full width" per the
       brief. */
    width: clamp(23rem, 44vw, 35rem);
  }

  .concept-carousel-panel {
    flex: 1 1 auto;
    align-self: stretch;
    /* Horizontal: pulls the panel left, flush over the media's edge (no
       gap). Vertical: negative block margin overlaps the media's top/
       bottom edges slightly — same proven mechanic as
       .project-concept-panel--featured above, tuned down for this
       section's smaller media card. */
    margin-inline-start: -2rem;
    margin-block: -1.5rem;
  }

  .concept-carousel-panel-slide {
    padding: var(--space-2xl);
  }
}

@media (prefers-reduced-motion: reduce) {
  .concept-carousel-track,
  .concept-carousel-panel-track {
    transition: none;
  }
}

/* ---- Concept Video Modal (Davutlar D Latis Concept redesign, 2026-08-09)
   ----
   Reuses .video-modal/.video-modal-backdrop/.video-modal-panel/
   .video-modal-close as-is (Section 19) — only the frame is new, since this
   modal's <video> has no fixed aspect-ratio the way _VideoShowcase's does
   (the 5 source videos mix ~16:9 landscape and ~2:3 portrait), so it sizes
   from its own intrinsic dimensions instead of a forced 16/9 box. */

.concept-video-modal-panel {
  max-width: 68rem;
}

.concept-video-modal-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.concept-video-modal-video {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius-md);
  background-color: var(--color-near-black);
}

/* ---- Location & Distances ---- */

.project-location {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--space-2xl);
}

/* Nysa Gold Residence reference redesign (2026-08-07) — required so
   _TimelineHeader's left-edge-bled decorative watermark clips cleanly
   instead of causing horizontal overflow, matching .company-history/
   .our-journey's identical requirement for the same shared header. */
.project-location-section--decorative {
  overflow: hidden;
}

/* ---- Location Heading — Reduced to Gallery's Scale (UI revision,
   2026-08-07) ----
   The brief asked only to shrink this heading, matching the Gallery
   section's decorative title exactly (font/size/color/spacing — see
   .project-gallery-title). Scoped to this section wrapper rather than
   editing .timeline-header__decorative itself, so Home's Company History
   and About's Our Journey — which reuse the same shared component — are
   completely unaffected. The centered .timeline-header__subtitle line
   ("Hayatın Yeni Merkezinde") is untouched, per "everything else remains
   untouched". */
.project-location-section--decorative .timeline-header__decorative {
  /* Cancels the base rule's viewport-edge bleed (margin-inline-start) at
     every breakpoint — Gallery's title has no such bleed, it sits flush
     with the container's own left edge, so this zeroes it out for
     "spacing" to match exactly, not just font/size/color. */
  margin-inline-start: 0;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--color-light-gray);
  opacity: 1;
  text-shadow: none;
}

@media (min-width: 1024px) {
  .project-location {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

.project-location-summary {
  max-width: 48ch;
  margin-block-end: var(--space-lg);
  color: var(--color-text-secondary);
}

.nearby-places-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nearby-place-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block-end: var(--space-sm);
  border-block-end: 1px solid var(--color-border);
}

.nearby-place-row:last-child {
  padding-block-end: 0;
  border-block-end: none;
}

.nearby-place-name {
  color: var(--color-text-primary);
}

.nearby-place-distance {
  flex-shrink: 0;
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent);
}

.project-location-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* ---- Gallery Header ----
   Section Header + category Filter Dropdown share one row on desktop
   (dropdown pinned top-right, matching the reference's layout) and stack on
   mobile. Reuses _FilterDropdown.cshtml's markup/CSS as-is (Section 22); see
   site.js for this page's own scoped open/close + filter module. */

.project-gallery-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  margin-block-end: var(--space-xl);
}

.project-gallery-header .project-gallery-title {
  margin-block-end: 0;
}

@media (min-width: 768px) {
  .project-gallery-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

/* ---- Decorative "GALERİ" Title ----
   Large watermark-style heading, aria-hidden — the section's real
   accessible name lives on a paired .sr-only <h2 id="project-gallery-
   heading"> (_ProjectGallery.cshtml), same aria-hidden-decorative /
   real-heading split as .timeline-header__decorative (Section 21), just
   consolidated onto one visible line since this brief calls for no
   second, readable heading. */

.project-gallery-title {
  margin: 0;
  margin-block-end: var(--space-xl);
  font-family: var(--font-body);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--color-light-gray);
  text-align: left;
}

/* ---- Gallery Category Picker (Nysa Gold Residence UI revision,
   2026-08-07; static layout revision, 2026-08-28; single-row revision,
   2026-08-28) ----
   One static card per gallery category under "Tüm Görseller", always a
   single horizontal row — see _ProjectGallery.cshtml (renders exactly one
   card per Model.GalleryCategories entry, no duplication) and site.js
   (click handler, no image-swap/visibility polling). Previously a
   continuously looping (right-to-left) marquee with a 6×-duplicated card
   set; removed per client request in favor of a plain static row. Never
   wraps onto a second row — flex-wrap: nowrap plus overflow-x: auto (same
   single-row/horizontal-scroll idiom as .project-gallery-cards below,
   Section 26) lets a project with more categories than fit the viewport
   scroll horizontally instead, on every breakpoint.

   Card refinement (2026-08-07): each card in the track is plain
   .gallery-card markup (Section 26 below) — same width/height/border-
   radius/typography/spacing as every Interior/Exterior card, including its
   own scroll-snap-align: start — so no card-specific sizing rules live
   here anymore; only the track's own layout (flex row, no-wrap, scroll,
   gap) does. */

.project-gallery-category-picker {
  margin-block-end: var(--space-xl);
}

.project-gallery-category-track {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-lg);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block-end: var(--space-xs);
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--color-dark-gray) 30%, transparent) transparent;
}

/* Subtle scroll cue (2026-08-29 client request) — the track was previously
   scrollable but visually indistinguishable from a static row (native
   scrollbar hidden on all axes), so a 4th category card on desktop had no
   affordance telling the user more content sat off-screen. Kept light-gray
   and thin on every breakpoint, not just a hover reveal, since touch
   devices never get a hover state to rely on. */
.project-gallery-category-track::-webkit-scrollbar {
  height: 6px;
}

.project-gallery-category-track::-webkit-scrollbar-track {
  background: transparent;
}

.project-gallery-category-track::-webkit-scrollbar-thumb {
  background-color: color-mix(in srgb, var(--color-dark-gray) 30%, transparent);
  border-radius: var(--radius-full, 999px);
}

.project-gallery-category-track::-webkit-scrollbar-thumb:hover {
  background-color: color-mix(in srgb, var(--color-dark-gray) 45%, transparent);
}

/* ---- Gallery Card ----
   Extends Section 25's .gallery-thumb with a hover dark overlay and an
   optional category badge, rather than duplicating the thumbnail shell. */

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 28, 28, 0.65), rgba(28, 28, 28, 0) 55%);
  opacity: 0;
  transition: opacity var(--transition-base) var(--ease-standard);
}

.gallery-thumb:hover .gallery-thumb-overlay,
.gallery-thumb:focus-visible .gallery-thumb-overlay {
  opacity: 1;
}

.gallery-thumb-category {
  position: absolute;
  left: var(--space-md);
  bottom: var(--space-md);
  font-family: var(--font-decorative);
  font-size: var(--font-size-h4);
  font-style: italic;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity var(--transition-base) var(--ease-standard),
    transform var(--transition-base) var(--ease-standard);
}

.gallery-thumb:hover .gallery-thumb-category,
.gallery-thumb:focus-visible .gallery-thumb-category {
  opacity: 1;
  transform: translateY(0);
}

/* A hidden [hidden] thumbnail (site.js category filter) must not keep
   grid space or count toward .project-gallery's [data-reveal-group]
   stagger of still-visible siblings. */
.gallery-thumb[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-thumb-overlay,
  .gallery-thumb-category {
    transition: none;
  }
}

/* ---- Project Catalogue CTA ----
   Full-bleed cinematic band — same gradient-over-photo + zoom language as
   the Hero (Section 16), reused via its own CSS variable rather than
   sharing --hero-bg-image, since this section is a sibling of the Hero, not
   a descendant of it. */

.project-catalogue-cta {
  position: relative;
  z-index: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  min-height: 60svh;
  padding-block: var(--space-4xl);
  text-align: center;
}

.project-catalogue-cta-bg {
  position: absolute;
  z-index: -1;
  inset: -5%;
  background-image:
    linear-gradient(color-mix(in srgb, var(--color-near-black) 60%, transparent), color-mix(in srgb, var(--color-near-black) 60%, transparent)),
    var(--catalogue-bg-image, linear-gradient(160deg, var(--color-near-black) 0%, var(--color-dark-gray) 100%));
  background-size: cover;
  background-position: center;
  animation: hero-bg-zoom var(--hero-zoom-duration) ease-in-out infinite;
}

.project-catalogue-cta-inner {
  max-width: 40rem;
}

.project-catalogue-cta-eyebrow {
  margin-block-end: var(--space-sm);
  font-family: var(--font-decorative);
  font-size: var(--font-size-h3);
  font-style: italic;
  color: var(--color-light-gray);
}

/* Nysa Gold, Le Jardin, La Via Villalar 1. Etap project-name logo (2026-08-28
   client request) — replaces .project-catalogue-cta-eyebrow's text for these
   three slugs only (see _ProjectCatalogue.cshtml). Height pinned to the
   featured eyebrow's own font-size clamp below so the logo occupies
   approximately the same visual area as the text it replaces; sizes are a
   placeholder baseline only, to be revisited later per the client request. */
.project-catalogue-cta-eyebrow-logo {
  display: block;
  height: clamp(1.5rem, 2.75vw, 2rem);
  width: auto;
  max-width: 100%;
}

.project-catalogue-cta-heading {
  margin-block-end: var(--space-xl);
  color: var(--color-white);
}

/* ---- Project Catalogue CTA — Text Group (2026-08-20 client request) ----
   Wraps the eyebrow (project name) + heading so the Featured layout below
   can push this pair to the top of the section as one unit, independent of
   the button's own position — see _ProjectCatalogue.cshtml. No visual
   styling of its own; text-align/colour still come from the ancestors
   above. */

.project-catalogue-cta-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---- Project Catalogue CTA — Featured (Nysa Gold Residence reference
   redesign, 2026-08-07) ----
   Evolves the existing component in place for a true full-bleed Hero
   moment — same .hero-bg-zoom animation and gradient overlay (no new
   keyframe), just taller and with larger copy/button. Nysa-Gold-only, see
   _ProjectCatalogue.cshtml's slug-gated class. */

.project-catalogue-cta--featured {
  min-height: 85vh;
  min-height: 85svh;
}

/* ---- Project Catalogue CTA — Featured Vertical Rhythm (2026-08-20 client
   request) ----
   Previously .project-catalogue-cta's own align-items/justify-content:
   center centered the eyebrow + heading + button as one clump in the
   middle of the section. Giving .project-catalogue-cta-inner its own
   column flex + justify-content: space-between (min-height as the floor
   that reserves the gap, not a cap — taller content simply pushes it
   further) instead pins .project-catalogue-cta-text (project name +
   heading) to the top of the block and the button to the bottom, with the
   background image left clearly visible in the middle. The outer section's
   own align-items: center then centers this now-taller block within the
   85vh section, so the breathing room appears above and below it too. */

.project-catalogue-cta--featured .project-catalogue-cta-inner {
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 16rem;
}

@media (min-width: 640px) {
  .project-catalogue-cta--featured .project-catalogue-cta-inner {
    min-height: 20rem;
  }
}

@media (min-width: 1024px) {
  .project-catalogue-cta--featured .project-catalogue-cta-inner {
    min-height: 26rem;
  }
}

.project-catalogue-cta--featured .project-catalogue-cta-text {
  gap: var(--space-sm);
  /* Moderate upward nudge (2026-08-20 client request) — the text pair sits
     at the top of this flex: space-between block (see the Vertical Rhythm
     comment above), so a negative margin here shifts only this pair, not
     the button, which stays anchored to the block's bottom edge. The gap
     it opens up is exactly the extra background/breathing room requested. */
  margin-block-start: calc(-1 * var(--space-lg));
}

/* Montserrat Bold for the project name + heading pair specifically
   (2026-08-20 client request) — same 'Montserrat', var(--font-heading)
   fallback pattern as .project-card-overlay-name, so a project whose name
   falls outside Montserrat's Latin/Latin-ext coverage still renders
   correctly via Playfair Display. font-style: normal overrides the
   eyebrow's own base italic (Cormorant Garamond) treatment used elsewhere
   on the site. Both sizes reduced ~25% (2026-08-20 client request) — still
   fluid/responsive, kept clearly bold and legible, just less dominant so
   the background image reads through the section. */

.project-catalogue-cta--featured .project-catalogue-cta-eyebrow {
  margin-block-end: 0;
  font-family: 'Montserrat', var(--font-heading);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
}

.project-catalogue-cta--featured .project-catalogue-cta-heading {
  margin-block-end: 0;
  font-family: 'Montserrat', var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.0625rem, 4.125vw, 3.3rem);
}

/* "Projeyi Detaylıca Keşfedin" heading only (2026-08-28 request) — swaps in
   the self-hosted Caviar Dreams family (Section 1), same precedent as
   #company-overview-heading. ID selector outweighs the compound class rule
   above without !important; only font-family changes, size/weight untouched. */
#project-catalogue-heading {
  font-family: 'Caviar Dreams', var(--font-heading);
}

.project-catalogue-cta--featured .project-catalogue-cta-button {
  padding-inline: var(--space-2xl);
  padding-block: var(--space-md);
  font-size: var(--font-size-body);
}

/* Near-imperceptible red hover (2026-08-07 refinement) — same treatment as
   the Hero's "Kataloğu İncele" segment (.btn-hero-segment--accent:hover):
   the fill barely brightens toward white and the label stays white, rather
   than flashing to a visibly lighter/pink fill with red text. Overrides
   .btn-primary's shared white-flash hover; later in source order than that
   rule, so no extra specificity is needed to win. */
.project-catalogue-cta--featured .project-catalogue-cta-button:hover {
  background-color: color-mix(in srgb, var(--color-accent) 92%, white);
  border-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

/* La Fiore Karabağ (1. Etap) spacing fix (2026-09-11, see
   _ProjectCatalogue.cshtml's isStandaloneBeforeCtaBanner) — this project has
   no Daire Planları section after this CTA, so the shared layout's
   CtaBanner ("Tüm Projeler") strip would otherwise sit directly against
   this section's own padding-block with no visible separation (both are
   near-black full-bleed bands). Adds margin-block-end on top of the
   existing padding so the page's own light background shows through as a
   clear gap, same responsive scale as the shared .section rhythm elsewhere
   on the site. Scoped to this one modifier class so no other project's
   Proje Kataloğunu İndir spacing changes. */
.project-catalogue-cta--standalone-bottom {
  margin-block-end: var(--space-2xl);
}

@media (min-width: 768px) {
  .project-catalogue-cta--standalone-bottom {
    margin-block-end: var(--space-3xl);
  }
}

@media (min-width: 1024px) {
  .project-catalogue-cta--standalone-bottom {
    margin-block-end: var(--space-4xl);
  }
}

/* ---- Social Facilities ---- */

.social-facilities {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 1024px) {
  .social-facilities {
    grid-template-columns: minmax(0, 30%) 1fr;
    align-items: center;
    gap: var(--space-4xl);
  }
}

.social-facilities-intro .section-header {
  margin-block-end: var(--space-lg);
}

.social-facilities-nav {
  display: flex;
  gap: var(--space-sm);
}

.social-facilities-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background-color: transparent;
  color: var(--color-text-primary);
  cursor: pointer;
  transition:
    border-color var(--transition-fast) var(--ease-standard),
    color var(--transition-fast) var(--ease-standard);
}

.social-facilities-nav-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.social-facilities-track-wrapper {
  overflow: hidden;
}

.social-facilities-track {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0;
  margin: 0;
  list-style: none;
  /* Native scrollbar hidden — Previous/Next buttons are the intended
     control; scroll-snap still allows direct touch/trackpad scrolling. */
  scrollbar-width: none;
}

.social-facilities-track::-webkit-scrollbar {
  display: none;
}

.social-facility-card {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  width: 15rem;
  height: 20rem;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: start;
  background-color: var(--color-surface);
  background-image:
    linear-gradient(to top, rgba(28, 28, 28, 0.75), rgba(28, 28, 28, 0.05) 60%),
    var(--facility-bg-image);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
}

.social-facility-card--text-only {
  align-items: center;
  justify-content: center;
  background-image: none;
  text-align: center;
}

.social-facility-name {
  font-family: var(--font-heading);
  font-size: var(--font-size-h4);
  color: var(--color-white);
}

.social-facility-card--text-only .social-facility-name {
  color: var(--color-text-primary);
}

@media (min-width: 768px) {
  .social-facility-card {
    width: 18rem;
    height: 24rem;
  }
}

/* ---- Daire Planları (Floor Plans redesign, 2026-08-01) ----
   Layout follows Inspirationals/Folkart's Orion floor-plan page almost
   one-to-one for structure/spacing (colours/type are all Section 2
   tokens — no Folkart branding). Two independent responsive pieces:

   1. The outer split — .project-floorplans is a plain two-column grid at
      tablet/desktop and a single stacked column on mobile. Because the
      apartment type + catalogue button + stat boxes + room list are all
      normal document-order children of .project-floorplans-text, mobile's
      required stacking order (title → apartment info → catalogue button →
      area boxes → room list) falls out for free — no reordering needed.

   2. The visual side — .project-floorplans-visual reflows the placeholder
      and its Prev/Next pair from "image, then a nav row below it" on
      mobile (nav-group is a flex row occupying one grid area) to "prev |
      image | next" flanking on tablet/desktop (nav-group becomes
      display:contents so its two buttons drop straight into the parent
      grid's own prev/next areas). When a project has only one apartment
      type, _FloorPlans.cshtml omits the whole nav-group; the prev/next
      tracks stay reserved as empty gutters rather than collapsing, so the
      placeholder is the same size whether or not a project has multiple
      apartment types. */

.project-floorplans {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

/* Nysa Gold Residence reference redesign (2026-08-07) — same overflow:
   hidden requirement as .project-location-section--decorative above. */
.project-floorplans-section--decorative {
  overflow: hidden;
}

/* ---- Floor Plans Heading — Reduced to Gallery's Scale (UI revision,
   2026-08-07) ----
   Same fix and same reasoning as .project-location-section--decorative's
   override above — only the size/color/spacing token set changes, scoped
   to this section wrapper so Home/About's Timeline Header is untouched. */
.project-floorplans-section--decorative .timeline-header__decorative {
  margin-inline-start: 0;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--color-light-gray);
  opacity: 1;
  text-shadow: none;
}

@media (min-width: 768px) {
  .project-floorplans {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .project-floorplans {
    grid-template-columns: 9fr 11fr;
    align-items: center;
    gap: var(--space-3xl);
  }
}

.project-floorplans-text {
  min-width: 0;
}

.project-floorplans-heading {
  margin: 0;
  font-weight: var(--font-weight-regular);
}

.project-floorplans-eyebrow {
  display: block;
  margin-block-end: var(--space-2xs);
  font-family: var(--font-body);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.03em;
  color: var(--color-text-secondary);
}

.project-floorplans-title {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  color: var(--color-text-primary);
}

.project-floorplans-panel[hidden] {
  display: none;
}

.project-floorplans-type-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

@media (min-width: 768px) {
  .project-floorplans-type-row {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-lg);
  }
}

.project-floorplans-type {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
}

.project-floorplans-catalogue {
  flex-shrink: 0;
}

.project-floorplans-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: 0 0 var(--space-xl);
}

.project-floorplans-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.project-floorplans-stat dt {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.project-floorplans-stat dd {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.project-floorplans-rooms {
  padding: 0;
  margin: 0;
  list-style: none;
}

.project-floorplans-room {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-sm);
}

.project-floorplans-room-label {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  color: var(--color-text-primary);
}

.project-floorplans-room-index {
  min-width: 1.25em;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
}

.project-floorplans-room-area {
  flex-shrink: 0;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
}

.project-floorplans-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "image image"
    "nav   nav";
  align-items: center;
  gap: var(--space-lg);
}

.project-floorplans-nav-group {
  grid-area: nav;
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
}

.project-floorplans-prev {
  grid-area: prev;
  justify-self: center;
}

.project-floorplans-next {
  grid-area: next;
  justify-self: center;
}

@media (min-width: 768px) {
  .project-floorplans-visual {
    grid-template-columns: 3.5rem 1fr 3.5rem;
    grid-template-areas: "prev image next";
    gap: var(--space-md);
  }

  .project-floorplans-nav-group {
    display: contents;
  }
}

@media (min-width: 1024px) {
  .project-floorplans-visual {
    grid-template-columns: 4rem 1fr 4rem;
    gap: var(--space-lg);
  }
}

/* One [data-floorplan-visual] per floor plan (La Fiore Karabağ 2. Etap
   Floor Plans pilot, 2026-08-06), all sharing the "image" grid area and
   toggled by site.js's Apartment Type Switcher exactly like
   [data-floorplan-panel] — only the active one isn't [hidden], so this
   collapses back to the original single-static-placeholder layout whenever
   a project has just one floor plan entry (every project except this
   pilot, today). Sizing/shape/background that used to live directly on
   .project-floorplans-placeholder now lives here, one level up, since the
   placeholder and the real-photo trigger below are alternate contents of
   the same slot. */
.project-floorplans-visual-item {
  grid-area: image;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.project-floorplans-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  width: 100%;
  height: 100%;
  background-color: var(--color-surface);
  text-align: center;
}

/* Real architectural drawing (only rendered when FloorPlanModel.Src is
   set) — same reset-button-into-image-trigger shape as .gallery-card,
   reused here rather than duplicated since both open the same Media
   Viewer. */
.project-floorplans-image-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.project-floorplans-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base) var(--ease-standard);
}

/* Le Jardin floor plan full-image fix (client request, 2026-10-08) — scoped
   to this project via _FloorPlans.cshtml's isContainFit flag, not a global
   change to .project-floorplans-image above, since every other project's
   floor plan drawings/photos rely on the cover-crop fill exactly as before.
   Shows the complete drawing (no cropped edges) inside the unchanged 4:5
   .project-floorplans-visual-item slot; any letterboxing from the drawing's
   own aspect ratio is filled with the design system's surface colour rather
   than transparent empty space. */
.project-floorplans-image--contain {
  object-fit: contain;
  background-color: var(--color-surface);
}

.project-floorplans-image-trigger:hover .project-floorplans-image,
.project-floorplans-image-trigger:focus-visible .project-floorplans-image {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .project-floorplans-image {
    transition: none;
  }
}

.project-floorplans-placeholder-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--color-near-black) 8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--color-near-black) 8%, transparent) 1px, transparent 1px);
  background-size: 2rem 2rem;
}

.project-floorplans-placeholder-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.project-floorplans-placeholder-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--color-text-secondary);
}

@media (prefers-reduced-motion: reduce) {
  .project-catalogue-cta-bg {
    transition: none;
    animation: none;
  }
}


/* ==========================================================================
   27. Contact Page
   docs/03_PageBlueprints.md "Page — Contact": Hero Banner (Standard, Section
   16) → Contact Information + Contact Form (below) → Office Location (Map)
   → Social Media (Section 10's .social-links, reused as-is). Reveal
   directions reuse Section 18's [data-reveal="left"/"right"/"scale"]
   modifiers exactly as Project Detail's Concept/Location sections do — no
   new animation engine.
   ========================================================================== */

/* ---- Contact Information + Contact Form split ---- */

.contact-info-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 1024px) {
  .contact-info-form {
    /* Folkart-reference revision (2026-08-17): form now leads (left),
       information follows (right) — fr values kept the same as before the
       swap (the wider column stays with the form, which has more fields
       to breathe; only which side gets which value changed). */
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-4xl);
    align-items: start;
  }
}

/* ---- Information Card (docs/04_ComponentLibrary.md, Icon variant) ----
   Generic — also intended for future corporate pages, not Contact-only. */

.information-card {
  margin-block-start: var(--space-lg);
}

.information-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.information-card__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-block-end: 0;
}

.information-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--color-surface);
  color: var(--color-accent);
}

.information-card__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding-block-start: var(--space-2xs);
}

.information-card__label {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.03em;
  color: var(--color-text-secondary);
}

/* pre-line: a value stored with a line break (Working Hours — weekdays on
   one line, Sunday on the next, 2026-11-09) renders as two lines; values
   without one are unaffected. */
.information-card__value {
  color: var(--color-text-primary);
  white-space: pre-line;
}

a.information-card__value {
  text-decoration-line: none;
}

a.information-card__value:hover {
  color: var(--color-accent);
  text-decoration-line: underline;
}

/* ---- Information Card — Grid layout (About Us Mission & Vision / Areas
   of Expertise phase, 2026-08-01). Each item is its own standalone card —
   icon, heading, description — inside the .grid-cols-N utility above
   instead of List's single wrapping card + row list. Reuses .card and
   .information-card__icon as-is; only the per-item shape changes. */

.information-card-grid {
  gap: var(--space-xl);
}

.information-card--grid-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-xl);
}

.information-card--grid-item .information-card__icon {
  width: 3.25rem;
  height: 3.25rem;
}

.information-card__heading {
  margin-block-end: 0;
}

.information-card__description {
  margin-block-end: 0;
  color: var(--color-text-secondary);
  /* Preserves literal newlines (Career's Open Positions cards join a
     department/location line and a description paragraph with a blank
     line — see CareerController.BuildPositionSummary). A no-op for every
     other Grid usage (About Us/Our Values), whose Value strings never
     contain one. */
  white-space: pre-line;
}

/* ---- Contact Form ----
   Reuses Section 7/8's existing label/input/textarea/.form-field/.form-error
   rules for every field — only layout (row pairing, spacing, honeypot,
   submit button) is added here. */

.contact-form__required-note {
  margin-block-end: var(--space-lg);
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
}

.required-mark {
  color: var(--color-accent);
}

.form-summary-error {
  padding: var(--space-sm) var(--space-md);
  margin-block-end: var(--space-lg);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  background-color: color-mix(in srgb, var(--color-accent) 6%, var(--color-white));
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 var(--space-lg);
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* True off-screen hiding (not .sr-only) — a honeypot must vanish from
   sighted AND assistive-tech users alike (the view already sets
   aria-hidden + tabindex="-1"); .sr-only's clip-based technique is meant
   for content that SHOULD still reach screen readers, the opposite of
   what a spam trap needs. */
.contact-form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  left: -9999px;
}

.contact-form__submit {
  margin-block-start: var(--space-sm);
  width: 100%;
}

@media (min-width: 640px) {
  .contact-form__submit {
    width: auto;
  }
}

/* ---- Success Message (docs/04_ComponentLibrary.md — Contact + future
   Career). Deliberately colour-neutral: near-black/white card + an
   accent-coloured check icon, not a green success colour that isn't in
   the approved palette (see Section 7's Validation States note). */

.success-message {
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.success-message:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.success-message__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-block-end: var(--space-md);
  border-radius: 50%;
  background-color: var(--color-surface);
  color: var(--color-accent);
}

.success-message__title {
  margin-block-end: var(--space-sm);
}

.success-message__description {
  max-width: 48ch;
  margin-inline: auto;
  margin-block-end: 0;
  color: var(--color-text-secondary);
}

/* ---- Map Component (docs/04_ComponentLibrary.md) ----
   Two mutually-exclusive states, selected by MapViewComponent based on
   whether a real embed URL exists: .map-component__embed (a live iframe,
   16:9/21:9 so it never reflows the page while loading) or
   .map-component__placeholder (the current state — a static on-brand
   illustration at its native 4:3 ratio, same treatment as Project Detail's
   .project-location-media). "Google Maps'te Aç" is a plain .btn below
   either state rather than an overlay, so the same layout serves both
   without a positioning special-case. */

.map-component {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.map-component__embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .map-component__embed {
    aspect-ratio: 21 / 9;
  }
}

.map-component__embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-component__placeholder {
  width: 100%;
  max-width: 32rem;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-component__placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Social Media section ----
   .social-links (Section 10) already supplies the row/icon styling —
   this only centers it under the Section Header. */

.contact-social-links {
  display: flex;
  justify-content: center;
}

.contact-social-links .social-links {
  margin-block-start: 0;
}


/* ==========================================================================
   28. About Us — Heading & Text
   Folkart-reference revision, 2026-08-13 (docs/14_Decisions.md), corrected
   the same day per the project owner's literal re-read of the reference.
   Replaces the former Company Introduction image+grid section: the
   reference has no Hero Banner and no side image on this page at all,
   just a plain page heading followed by a wide text column, split around
   Mission & Vision (Section 28a) into two calls of
   CompanyIntroductionViewComponent ("intro"/"closing").

   .about-heading-section has no bottom padding of its own — .about-text's
   top padding (inherited from .section) already provides the gap to the
   first paragraph, so the two don't stack into a too-wide gap between the
   H1 and the text beneath it. .about-heading overrides the sitewide H1's
   decorative serif (--font-heading, Playfair Display) with the plain bold
   sans-serif body font — the reference's heading is a clean bold
   sans-serif, not a decorative serif. .about-text-column intentionally has
   no measure cap (unlike the ~60–68ch caps used elsewhere on the site,
   e.g. Section 1's lead paragraph): the reference uses a wide editorial
   column that fills the container, not a narrow article column. */

.about-heading-section {
  padding-block-end: 0;
}

.about-heading {
  max-width: 40ch;
  margin-block-end: var(--space-lg);
  font-family: var(--font-body);
}

.about-text-column {
  max-width: none;
}

.about-text-paragraph {
  color: var(--color-text-secondary);
  line-height: var(--line-height-body);
}

.about-text-paragraph + .about-text-paragraph {
  margin-block-start: var(--space-md);
}

/* The "intro" call's own .section top padding would double up against
   .about-heading-section's above it — collapse it away so the H1 sits
   directly above the first paragraph, matching the reference's tight
   heading-to-text relationship. .about-text always still gets its own
   bottom padding (unset here), so "closing" (which isn't preceded by the
   heading section) keeps its normal top padding. */
.about-heading-section + .about-text {
  padding-block-start: 0;
}

/* 2026-08-20 revision: the default .section padding-block (up to 96px at
   desktop) stacked between the heading, intro text, Mission & Vision and
   closing text read as too much whitespace for a single continuous
   editorial read on this page — tighten it while still leaving each
   block room to breathe. */
.about-text,
.mission-vision {
  padding-block: var(--space-lg);
}

@media (min-width: 768px) {
  .about-text,
  .mission-vision {
    padding-block: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .about-text,
  .mission-vision {
    padding-block: var(--space-2xl);
  }
}


/* ==========================================================================
   28a. About Us — Mission & Vision
   2026-08-20 revision: the image area now holds only the photo (no text
   overlay/gradient) — Misyon/Vizyon render as plain text underneath it
   instead of being set over a darkened panel. */

.mission-vision-image {
  display: block;
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-block-end: var(--space-lg);
}

@media (min-width: 768px) {
  .mission-vision-image {
    margin-block-end: var(--space-xl);
  }
}

.mission-vision-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .mission-vision-content {
    flex-direction: row;
    gap: var(--space-2xl);
  }
}

.mission-vision-block {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .mission-vision-block {
    flex: 1;
  }
}

.mission-vision-label {
  font-family: var(--font-decorative);
  font-weight: var(--font-weight-medium);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--color-text-primary);
  margin-block-end: var(--space-md);
}

@media (min-width: 768px) {
  .mission-vision-label {
    font-size: 3.25rem;
  }
}

.mission-vision-text {
  color: var(--color-text-secondary);
  line-height: var(--line-height-body);
}


/* ==========================================================================
   29. About Us — Our Journey
   About Us Foundation phase, 2026-08-01 (OurJourneyViewComponent). Reuses
   Section 20's .history-info-panel / .history-carousel / .history-card
   styles verbatim (already page-agnostic) with a section-level layout:
   the shared _TimelineHeader (Section 20a) leads — same header as Home's
   Company History since the 2026-08-03 redesign, replacing this page's
   former standalone Section Header — then Info Panel and Carousel sit
   side by side from 1024px in a narrower info column than Home's — there
   is no Video Showcase stacked above it here. Same cream background as
   .company-history (Section 20) — a deliberate repeat, not a coincidence,
   so the colour itself reads as "company history content" across both
   pages. */

.our-journey {
  background-color: #F2EDEB;
  overflow: hidden; /* contains .timeline-header__decorative's intentional
                        bleed, same as .company-history (Section 20) —
                        see that rule's comment for why this is the
                        both-axes shorthand rather than overflow-x alone */
}

/* 2026-08-03 fix: always a two-column grid, same reasoning as
   .company-history-grid above — explicit grid-column per child keeps
   Info Panel and Carousel side by side at every width instead of
   stacking below 1024px, with the left column's minmax lower bound
   stepped down at the narrower breakpoints (no Video here, so it only
   needs to fit the two 44px nav buttons and their gap, roughly 6rem
   minimum) instead of jumping straight to 200px. */

.our-journey-grid {
  display: grid;
  grid-template-columns: minmax(6rem, 24%) minmax(0, 1fr);
  column-gap: var(--space-md);
  align-items: start;
}

.our-journey-info-col {
  grid-column: 1;
  min-width: 0;
}

.our-journey-carousel-col {
  grid-column: 2;
  min-width: 0;
}

@media (min-width: 640px) {
  .our-journey-grid {
    grid-template-columns: minmax(7rem, 22%) minmax(0, 1fr);
    column-gap: var(--space-lg);
  }
}

@media (min-width: 768px) {
  .our-journey-grid {
    grid-template-columns: minmax(8rem, 22%) minmax(0, 1fr);
    column-gap: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .our-journey-grid {
    grid-template-columns: minmax(200px, 22%) 1fr;
    column-gap: var(--space-3xl);
  }
}


/* ==========================================================================
   30. Our Values — Page Heading
   Folkart-reference revision, 2026-08-16 (project owner-approved). Same
   pattern as Section 28's About Us heading: no Hero Banner, a plain page
   heading directly below the breadcrumb. .values-heading-section has no
   bottom padding of its own — .values-introduction's own top padding
   already provides the gap to the first paragraph. .values-heading
   overrides the sitewide H1's decorative serif (--font-heading, Playfair
   Display) with the plain bold sans-serif body font, matching the
   reference's clean bold sans-serif title (same override as
   .about-heading).
   ========================================================================== */

.values-heading-section {
  padding-block-end: 0;
}

.values-heading {
  font-family: var(--font-body);
}

.values-heading-section + .values-introduction {
  padding-block-start: 0;
}


/* ==========================================================================
   30a. Our Values — Introduction
   Our Values Foundation phase, 2026-08-03 (ValuesIntroductionViewComponent),
   revised 2026-08-16 for the Folkart reference: no Section Header, just a
   full-width paragraph column directly under the page heading —
   .values-introduction-column intentionally has no measure cap (unlike the
   ~60–68ch caps used elsewhere on the site), matching the reference's wide
   editorial column, same "no cap" treatment as .about-text-column.
   ========================================================================== */

.values-introduction-column {
  max-width: none;
}

.values-introduction-paragraph {
  color: var(--color-text-secondary);
  line-height: var(--line-height-body);
}

.values-introduction-paragraph + .values-introduction-paragraph {
  margin-block-start: var(--space-md);
}

/* Collapses the doubled section-padding gap (.values-introduction's own
   bottom padding + .core-values' top padding) down to a single instance —
   2026-08-16 spacing correction, project owner-approved: the gap to the
   first value heading read as too large. */
.values-introduction + .core-values {
  padding-block-start: 0;
}


/* ==========================================================================
   30b. Our Values — Core Values
   Folkart-reference revision, 2026-08-16 (project owner-approved). Replaces
   the former Information Card icon grid: the reference has no cards, icons
   or background — each value is a bold underlined heading (plain body
   font, considerably smaller than the page title) followed directly by a
   full-width paragraph, with generous vertical space ahead of every value
   after the first. See CoreValues/Default.cshtml.
   ========================================================================== */

/* Tightened 2026-08-16 (project owner-approved) to var(--space-lg) (24px),
   then loosened again 2026-08-20 (project owner-requested): the page still
   read as cramped, so the gap grows to --space-2xl (48px) on mobile and
   --space-3xl (64px) from 768px up — comfortably under the --space-4xl
   (96px) the 2026-08-16 revision rejected as too loose/disconnected, but a
   clearer break between values than the previous 24px. */
.core-value-item + .core-value-item {
  margin-block-start: var(--space-2xl);
}

@media (min-width: 768px) {
  .core-value-item + .core-value-item {
    margin-block-start: var(--space-3xl);
  }
}

/* margin-block-end raised from the inherited h2 default (--space-md, 16px)
   to --space-xl (32px) on 2026-08-20, then to --space-2xl (48px) the same
   day (project owner-requested): the gap to each value's paragraph still
   read as too tight. Same value at every breakpoint — the increase isn't
   large enough to need a mobile-specific reduction. */
.core-value-heading {
  font-family: var(--font-body);
  font-size: var(--font-size-h4);
  text-decoration-line: underline;
  text-underline-offset: 0.15em;
  margin-block-end: var(--space-2xl);
}

.core-value-paragraph {
  color: var(--color-text-secondary);
  line-height: var(--line-height-body);
}


/* ==========================================================================
   31. Our Values — Quality Commitment
   Our Values Foundation phase, 2026-08-03 (QualityCommitmentViewComponent).
   Centered Section Header (.section-header--center, Section 8) above a
   single narrow column of copy — max-width matches
   .section-header__description's own 60ch measure so the two read as one
   consistent column width.
   ========================================================================== */

.quality-commitment-copy {
  max-width: 60ch;
  margin-inline: auto;
  text-align: center;
}

.quality-commitment-paragraph {
  color: var(--color-text-secondary);
  line-height: var(--line-height-body);
}

.quality-commitment-paragraph + .quality-commitment-paragraph {
  margin-block-start: var(--space-md);
}


/* ==========================================================================
   32. Career Page
   Folkart-reference revision (2026-08-17, project owner-approved): Hero
   Banner and Why Join Ancın (WhyJoinAncinViewComponent) were dropped from
   this page; the Open Positions listing section was removed outright. Page
   flow is now: plain page heading "Ancın'da Kariyer" + wide placeholder
   text column (.career-heading-section/.career-heading/.career-intro-*,
   same "no Hero Banner, plain bold sans-serif H1 + full-width paragraph
   column" pattern as Section 28's About Us and Section 30's Our Values) →
   Application Form (below). The Application Form reuses Section 7/8's
   label/input/select/textarea/.form-field/.form-row/.form-error rules and
   Section 27's .contact-form-honeypot (a genuinely page-agnostic off-screen
   technique, not Contact-specific despite its name) for every field — only
   this section's own layout (empty state, narrow form column, submit
   button) is added here. .career-positions-empty is still used by the
   Application section's own empty state (Model.Positions.Count == 0).
   ========================================================================== */

.career-heading-section {
  padding-block-end: 0;
}

.career-heading {
  max-width: 40ch;
  margin-block-end: var(--space-lg);
  font-family: var(--font-body);
}

.career-heading-section + .career-intro {
  padding-block-start: 0;
}

.career-intro-column {
  max-width: none;
}

.career-intro-paragraph {
  color: var(--color-text-secondary);
  line-height: var(--line-height-body);
}

.career-intro-paragraph + .career-intro-paragraph {
  margin-block-start: var(--space-md);
}

.career-positions-empty {
  max-width: 48ch;
  margin-inline: auto;
  color: var(--color-text-secondary);
  text-align: center;
}

.career-application-inner {
  max-width: 40rem;
}

.career-form__required-note {
  margin-block-end: var(--space-lg);
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
}

.career-form__submit {
  margin-block-start: var(--space-sm);
  width: 100%;
}

@media (min-width: 640px) {
  .career-form__submit {
    width: auto;
  }
}


/* ==========================================================================
   33. Statistics Card (docs/04_ComponentLibrary.md)
   Reusable large-number card — a sibling to Section 8/27's Information
   Card, not a replacement. Reuses .card and the Section 7 .grid/.grid-cols-N
   utility as-is; only the inner value/label shape is new. First used by HR
   Policy's Employee Development section (Section 34 below) but intentionally
   page-agnostic for future reuse (e.g. About Us).
   ========================================================================== */

.statistics-card-grid {
  gap: var(--space-xl);
}

.statistic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xs);
  padding: var(--space-xl);
  text-align: center;
}

.statistic-card__value {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 2.5rem;
  line-height: var(--line-height-heading);
  color: var(--color-accent);
}

@media (min-width: 1024px) {
  .statistic-card__value {
    font-size: 3rem;
  }
}

.statistic-card__label {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}


/* ==========================================================================
   34. HR Policy Page
   docs/03_PageBlueprints.md "Page — HR Policy": Breadcrumb → Hero Banner
   (Standard, dedicated placeholder image — same "always has its own
   banner" precedent as About Us/Values, Section 28/30) → HR Philosophy
   (Section Header + Image Block, Section 7's .grid/.grid-cols-2 utility,
   same shape as Section 17's Company Overview) → Core Principles
   (Information Card Grid, Section 8/27, zero page-specific CSS) →
   Employee Development (Section Header + Statistics Card, Section 33,
   above + prose). Career CTA / Social Media / Footer are already global
   or intentionally omitted (docs/14_Decisions.md) — no section of their
   own needed here.
   ========================================================================== */

.hr-philosophy-grid {
  align-items: center;
}

.hr-philosophy-paragraph {
  color: var(--color-text-secondary);
  line-height: var(--line-height-body);
}

.hr-philosophy-paragraph + .hr-philosophy-paragraph {
  margin-block-start: var(--space-md);
}

.employee-development-copy {
  max-width: 70ch;
  margin-inline: auto;
  margin-block-start: var(--space-2xl);
}

.employee-development-paragraph {
  color: var(--color-text-secondary);
  line-height: var(--line-height-body);
}

.employee-development-paragraph + .employee-development-paragraph {
  margin-block-start: var(--space-md);
}


/* ==========================================================================
   35. KVKK Page
   docs/03_PageBlueprints.md "Page — KVKK": Breadcrumb → Hero Banner
   (Standard, dedicated placeholder image, Section 28/30/34) → KVKK Policy
   (centered Section Header + narrow document column, same shape as
   Employee Development's Section Header + copy, Section 34, just with
   numbered h3 subsections in place of a Statistics Card) → Contact
   Information (centered Section Header + single Information Card, List
   layout, Section 27). No page-specific grid/media CSS — the document is a
   single readable column, not a two-up layout.
   ========================================================================== */

.kvkk-policy-document {
  max-width: 70ch;
  margin-inline: auto;
  margin-block-start: var(--space-2xl);
}

.kvkk-policy-paragraph {
  color: var(--color-text-secondary);
  line-height: var(--line-height-body);
}

.kvkk-policy-heading {
  font-size: var(--font-size-h4);
  margin-block-start: var(--space-xl);
}

.kvkk-policy-heading:first-of-type {
  margin-block-start: 0;
}

.kvkk-contact-card {
  /* No margin-block-start here — the Information Card partial's own
     .information-card rule (Section 27) already sets it relative to the
     Section Header above; this wrapper only needs to constrain width. */
  max-width: 32rem;
  margin-inline: auto;
}


/* ==========================================================================
   36. Global Search Overlay
   Global Navigation & Search milestone (docs/14_Decisions.md). Opened by
   the Navbar's search trigger (site.js): a premium panel that appears to
   open directly below the Navbar purely through stacking order — z-index:
   40 sits below the sticky Navbar's z-index: 50 (Section 9), the same
   convention already used by the Floating Contact Button (Section 12), so
   the opaque Navbar naturally clips the overlay's top edge with no
   height calculation needed. Open/close motion reuses the exact
   visibility/opacity/transition-delay pattern already established by
   Section 9's Mobile Nav Panel and Navbar Dropdown, rather than a new
   animation idiom. Results follow the WAI-ARIA combobox/listbox pattern:
   focus stays on the input; site.js moves an .is-active option and
   updates aria-activedescendant instead of moving real focus.
   ========================================================================== */

.search-overlay {
  position: fixed;
  inset: 0;
  /* Above the Floating Contact Button (Section 12, also z-index: 40 —
     same DOM-order-decides-ties stacking would otherwise let it float
     over open search results) but still below the sticky Navbar's
     z-index: 50, so the "opens below the Navbar" clipping trick above
     Section 36's header comment still holds. */
  z-index: 45;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity var(--transition-base) var(--ease-standard),
    visibility 0s linear var(--transition-base);
}

.search-overlay.is-open {
  visibility: visible;
  opacity: 1;
  transition:
    opacity var(--transition-base) var(--ease-standard),
    visibility 0s linear 0s;
}

.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: rgba(28, 28, 28, 0.45);
}

.search-overlay-panel {
  position: relative;
  z-index: 1;
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  /* Pushes the panel's own top edge down to the Navbar's bottom edge —
     the z-index: 40 trick above only clips the *painted* pixels behind
     the opaque Navbar, it doesn't move this panel's content out from
     under it on its own. */
  margin-block-start: var(--navbar-height);
  max-height: calc(100vh - var(--navbar-height));
  overflow-y: auto;
}

.search-overlay-inner {
  padding-block: var(--space-lg);
}

@media (min-width: 768px) {
  .search-overlay-inner {
    padding-block: var(--space-xl);
  }
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  border-bottom: 2px solid var(--color-border);
  padding-block-end: var(--space-sm);
}

.search-field-icon {
  flex-shrink: 0;
  color: var(--color-text-secondary);
}

/* Overrides the global input rule (Section 8): no border/box of its own —
   .search-field's border-bottom already frames the whole field, so a
   second nested border would double up. */
.search-input {
  flex: 1 1 auto;
  min-height: 2.75rem;
  padding: 0;
  border: none;
  font-family: var(--font-heading);
  font-size: var(--font-size-h4);
  color: var(--color-text-primary);
}

.search-input:focus-visible {
  outline: none;
}

.search-overlay-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast) var(--ease-standard);
}

.search-overlay-close:hover {
  color: var(--color-text-primary);
}

.search-results {
  margin: 0;
  margin-block-start: var(--space-md);
  padding: 0;
  list-style: none;
  max-height: 60vh;
  overflow-y: auto;
}

.search-result-link {
  display: block;
  padding-block: var(--space-sm);
  padding-inline: var(--space-xs);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color var(--transition-fast) var(--ease-standard);
}

.search-result + .search-result .search-result-link {
  border-top: 1px solid var(--color-border);
}

.search-result-link:hover {
  background-color: var(--color-surface);
}

.search-result.is-active .search-result-link {
  background-color: var(--color-surface);
}

/* Reuses .section-header__eyebrow's label treatment (size, weight,
   letter-spacing, secondary color) rather than a new colored badge — the
   Search Engine Completion milestone (docs/14_Decisions.md) asked for a
   Category on every result without redesigning the overlay's look. */
.search-result-category {
  display: block;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.search-result-title {
  display: block;
  margin-block-start: var(--space-2xs);
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-body);
  color: var(--color-text-primary);
}

.search-result-desc {
  display: block;
  margin-block-start: var(--space-2xs);
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
}

/* Matched-keyword highlight (site.js highlight()) — same color-mix-over-
   accent technique already used by .project-status-badge--ongoing, kept
   subtle so it reads as emphasis rather than a new loud UI element. */
.search-result-title mark,
.search-result-desc mark {
  background-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  color: inherit;
  border-radius: 2px;
}

.search-empty {
  margin-block-start: var(--space-md);
  color: var(--color-text-secondary);
}


/* ==========================================================================
   37. Project Gallery — Category Cards
   Gallery Category Cards redesign (2026-08-04). Inspired by, not copying,
   Inspirationals/Folkart's Orion gallery: a top-right category selector
   above a grid of image cards, restyled entirely in Ancın's own palette and
   type system. Only #project-gallery's own dropdown is restyled here —
   .filter-dropdown itself (Section 22) stays untouched for Projects/Index's
   Project Type / Location filters.
   ========================================================================== */

/* ---- Category Selector ----
   Trigger loses the boxed/bordered look of the base .filter-dropdown-trigger
   in favour of a plain text value sitting on a thick accent underline —
   the one "premium navigation indicator" touch the reference calls for.
   Chevron rotation and menu open/close are unchanged (Section 22 CSS,
   site.js) — only position and skin change here. */

#project-gallery .filter-dropdown {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  align-self: flex-end;
}

#project-gallery .filter-dropdown-trigger {
  position: relative;
  width: auto;
  min-height: 0;
  padding: 0 0 var(--space-md);
  border: none;
  background-color: transparent;
  gap: var(--space-xl);
  font-family: var(--font-body);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.01em;
}

#project-gallery .filter-dropdown-trigger::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 999px;
  background-color: var(--color-accent);
}

#project-gallery .filter-dropdown-trigger:hover,
#project-gallery .filter-dropdown-trigger[aria-expanded='true'] {
  border-color: transparent;
}

#project-gallery .filter-dropdown-chevron {
  width: 0.4rem;
  height: 0.4rem;
  border-color: var(--color-text-primary);
}

#project-gallery .filter-dropdown-menu {
  left: auto;
  right: 0;
  width: max-content;
  min-width: 15rem;
  /* Overrides the base .filter-dropdown-menu's 16rem cap (site.css ~3373):
     that cap was sized for the base 2.75rem option row height, but this
     scoped variant's own [role='option'] rule below sets a taller 3.25rem
     min-height. A project with the maximum realistic category count (the
     7 named values in ProjectsController.GalleryCategorySortOrder, plus
     "Tüm Görseller" = 8 rows × 3.25rem + padding-block) needs ~27.5rem to
     render without clipping — 16rem silently cut off the last 1-2
     categories with no visible scrollbar affordance, which is exactly
     what made "Sosyal Alan Görselleri" look absent from the dropdown for
     Nysa Gold / La Fiore Karabağ 2. Etap / La Via Villalar 1. Etap
     (root-caused via live browser inspection, 2026-08-20) despite the
     category being correctly present in the underlying data/DOM all
     along. overflow-y: auto (inherited from the base rule) remains as a
     safety net for any future project that somehow exceeds 8 categories.
  */
  max-height: 28rem;
  padding-block: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

#project-gallery .filter-dropdown-menu [role='option'] {
  min-height: 3.25rem;
  padding-inline: var(--space-xl);
  font-size: var(--font-size-body);
  letter-spacing: 0.01em;
  /* Category labels ("Dış Mekan Görselleri", "Sosyal Alan Görselleri")
     must always render on one line — the menu's own width: max-content
     (above) grows to fit whichever option is longest instead of forcing
     a wrap. */
  white-space: nowrap;
  transition: background-color var(--transition-fast) var(--ease-standard), color var(--transition-fast) var(--ease-standard);
}

#project-gallery .filter-dropdown-menu [role='option']:hover,
#project-gallery .filter-dropdown-menu [role='option']:focus-visible {
  background-color: color-mix(in srgb, var(--color-surface) 60%, transparent);
}

#project-gallery .filter-dropdown-menu [role='option'][aria-selected='true'] {
  color: var(--color-accent);
}

/* ---- Gallery Card ----
   Tall, portrait-leaning frame (vs. the flat grid's 4:3 .gallery-thumb,
   Section 25) — one card per category under "Tüm Görseller", every image in
   that category once it's selected (see _ProjectGallery.cshtml / site.js).
   Always a single horizontal row — .project-gallery-cards never switches to
   a grid or wraps, at any breakpoint (2026-08-04 refinement); narrower
   viewports shrink .gallery-card's own width/gap instead, same "strip
   scales down, never stacks" idiom as .social-facilities-track (Section
   28) and .history-carousel-track (Section 21), just without their
   Prev/Next buttons — native scroll/swipe only, nothing this brief asked
   for beyond staying horizontal. */

/* ---- Block / Apartment Type chip rows (La Fiore Karabağ 2. Etap Gallery
   pilot, 2026-08-06) ----
   Sit between the category dropdown and .project-gallery-cards, only ever
   rendered for a project whose images carry GalleryImageModel.Block/
   ApartmentType. A natural extension of the dropdown's own visual language
   (same border/radius/font as .filter-dropdown-trigger) rather than a new
   pattern — small horizontally-scrollable pill buttons, so an 8-block row
   never wraps awkwardly on mobile. site.js toggles a chip's [hidden] and
   .is-active state; the row itself collapses to [hidden] once fewer than 2
   chips remain relevant, matching the dropdown's own "nothing meaningful to
   filter" rule. */
.project-gallery-chip-row {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-xs);
  overflow-x: auto;
  padding-block-end: var(--space-2xs);
  margin-block-end: var(--space-lg);
  scrollbar-width: none;
}

.project-gallery-chip-row::-webkit-scrollbar {
  display: none;
}

.project-gallery-chip-row[hidden] {
  display: none;
}

.project-gallery-chip {
  flex: 0 0 auto;
  min-height: 2.5rem;
  padding-inline: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-small);
  color: var(--color-text-primary);
  cursor: pointer;
  transition:
    border-color var(--transition-fast) var(--ease-standard),
    background-color var(--transition-fast) var(--ease-standard),
    color var(--transition-fast) var(--ease-standard);
}

.project-gallery-chip[hidden] {
  display: none;
}

.project-gallery-chip:hover,
.project-gallery-chip:focus-visible {
  border-color: var(--color-accent);
}

.project-gallery-chip.is-active {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
  color: var(--color-white);
}

@media (prefers-reduced-motion: reduce) {
  .project-gallery-chip {
    transition: none;
  }
}

.project-gallery-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-sm);
  overflow-x: auto;
  /* overflow-x alone leaves overflow-y at its browser-computed 'auto' (a
     lone non-'visible' axis forces the other to 'auto' too), which turns
     this track into an accidental vertical scroll container whenever its
     content is a few pixels taller than the row — the exact "Gallery
     section becomes internally scrollable" bug already solved the same
     way elsewhere in this file (Section 15's overflow: hidden note).
     overflow-y: hidden keeps this axis purely horizontal. */
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block-end: var(--space-2xs);
  scrollbar-width: none;
  transition: opacity var(--transition-fast) var(--ease-standard);
}

.project-gallery-cards::-webkit-scrollbar {
  display: none;
}

.project-gallery-cards.is-swapping {
  opacity: 0;
}

/* Matches .gallery-card[hidden] etc. (same file) — a class-based `display`
   always wins the cascade over the UA [hidden] rule at equal specificity,
   so every element toggled via [hidden] in this codebase needs its own
   override. Nysa Gold Residence reference redesign (2026-08-07): site.js
   hides this whole track (not just individual cards) while the Category
   Picker is showing. */
.project-gallery-cards[hidden] {
  display: none;
}

@media (min-width: 640px) {
  .project-gallery-cards {
    gap: var(--space-md);
  }
}

@media (min-width: 1024px) {
  .project-gallery-cards {
    gap: var(--grid-gap-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-gallery-cards {
    scroll-behavior: auto;
  }
}

.gallery-card {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: min(12rem, 62vw);
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

@media (min-width: 640px) {
  .gallery-card {
    width: 15.5rem;
  }
}

@media (min-width: 1024px) {
  .gallery-card {
    width: 19rem;
  }
}

/* Matches .gallery-thumb[hidden] (Section 25): a hidden card must not keep
   grid space or count toward .project-gallery-cards' [data-reveal-group]
   stagger of still-visible siblings. */
.gallery-card[hidden] {
  display: none;
}

.gallery-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base) var(--ease-standard);
}

.gallery-card:hover .gallery-card-image,
.gallery-card:focus-visible .gallery-card-image {
  transform: scale(1.05);
}

/* Gallery video card's Play icon (Gallery video support, 2026-08-09) —
   same circular treatment as .concept-carousel-play, just scoped to a
   .gallery-card instead of a concept slide (which is already
   position: relative, same as .gallery-card above). */
.gallery-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--color-white);
  background-color: color-mix(in srgb, var(--color-near-black) 35%, transparent);
  color: var(--color-white);
  pointer-events: none;
  transition: transform var(--transition-fast) var(--ease-standard);
}

.gallery-card--video:hover .gallery-card-play,
.gallery-card--video:focus-visible .gallery-card-play {
  transform: translate(-50%, -50%) scale(1.08);
}

/* Title sits over this gradient at rest (not hover-only, unlike
   .gallery-thumb-overlay) — hover only deepens it slightly. */
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 28, 28, 0.72) 0%, rgba(28, 28, 28, 0.18) 45%, rgba(28, 28, 28, 0) 68%);
  transition: background var(--transition-base) var(--ease-standard);
}

.gallery-card:hover .gallery-card-overlay,
.gallery-card:focus-visible .gallery-card-overlay {
  background: linear-gradient(to top, rgba(28, 28, 28, 0.8) 0%, rgba(28, 28, 28, 0.28) 50%, rgba(28, 28, 28, 0.05) 70%);
}

.gallery-card-title {
  position: absolute;
  left: var(--space-lg);
  right: var(--space-lg);
  bottom: var(--space-lg);
  font-family: var(--font-decorative);
  font-size: var(--font-size-h3);
  font-style: italic;
  line-height: 1.15;
  color: var(--color-white);
}

@media (prefers-reduced-motion: reduce) {
  .project-gallery-cards,
  .gallery-card-image,
  .gallery-card-overlay {
    transition: none;
  }
}

/* ---- Gallery Nav Buttons (2026-08-04) ----
   .history-nav-btn reused as-is (Section 21's shared Prev/Next button,
   already reused by Floor Plans and Projects Showcase) — only this
   wrapper's layout is new: one arrow pinned to each end of the row,
   rather than the grouped-together flex-end pairing every other Prev/Next
   instance on the site uses, per this brief's explicit bottom-left /
   bottom-right spec. Drag/swipe/wheel scrolling on .project-gallery-cards
   is untouched; these buttons just call scrollBy (site.js) and disable at
   the ends the same way the History Carousel's do. */

.project-gallery-nav-group {
  display: flex;
  justify-content: space-between;
  margin-block-start: var(--space-lg);
}

/* Same [hidden]-vs-class-display cascade note as .project-gallery-cards
   above. */
.project-gallery-nav-group[hidden] {
  display: none;
}


/* ==========================================================================
   38. Contact Page — Folkart-reference revision
   Project owner-supplied "İletişim" screenshot, 2026-08-17. Same "no Hero
   Banner, plain page heading" pattern Section 28 (About Us) and Section 30
   (Our Values) already established for their own Folkart-reference
   revisions. Everything here is scoped to selectors that only ever render
   on Views/Contact/Index.cshtml (.contact-*, or existing shared classes
   qualified under a .contact-* ancestor) — no shared component's own rule
   (Sections 7, 8, 27) is edited in place, so Career/KVKK/AreasOfExpertise/
   CorePrinciples/WhyJoinAncin — the _InformationCard partial's other
   callers — are unaffected.
   ========================================================================== */

/* ---- Page heading + intro ----
   The reference keeps "İletişim", its one-line intro, and the Form/
   Information split close together — stacking two full .section paddings
   between each (2026-08-17: measured as excessive) read as far too loose.
   Tightened here: heading-to-intro gap is still just the H1's own default
   margin-block-end (small); .contact-heading-section's own bottom padding
   and the following sections' top paddings are cut down to a single
   moderate gap instead of doubling up two full .section paddings.
   .contact-heading overrides the sitewide H1's decorative serif with the
   plain bold sans-serif body font, same override as .about-heading/
   .values-heading. */

.contact-heading {
  font-family: var(--font-body);
}

.contact-intro {
  max-width: 60ch;
  color: var(--color-text-secondary);
}

.contact-heading-section {
  padding-block-end: var(--space-sm);
}

.contact-heading-section + .contact-section {
  padding-block-start: var(--space-lg);
}

/* Same tightening one level down — the Map section followed the same
   doubled-padding pattern below the Form/Information split. */
.contact-section + .contact-map-section {
  padding-block-start: var(--space-lg);
}

/* ---- Contact Form — reference's minimal underline fields ----
   Reuses every shared .form-field/label/input rule (Sections 7–8) as the
   base; only scoped inside .contact-form to swap the boxed border for a
   bottom-only line and lighten the label, per the reference. The
   :focus-visible and [aria-invalid] pairs re-assert the accent border
   colour Sections 5 and 7 already give every input sitewide — without
   them the plain (unconditional) border-bottom override above would
   silently win the cascade on every focus/error state and mute both. */

.contact-form label {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-secondary);
}

.contact-form input,
.contact-form textarea {
  border: none;
  border-bottom: 1px solid var(--color-dark-gray);
  border-radius: 0;
  background-color: transparent;
  padding-inline: 0;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  border-bottom-color: var(--color-accent);
}

.contact-form input[aria-invalid='true'],
.contact-form textarea[aria-invalid='true'] {
  border-bottom-width: 2px;
  border-bottom-color: var(--color-accent);
}

/* ---- Submit — red fill, white text, no icon (2026-08-17 revision) ----
   Replaces the earlier text-only treatment. Uses the site's existing
   accent red as-is (no new colour); hover is a subtle lighten rather than
   .btn-primary's sitewide invert-to-white hover, per this request, so it
   sets colours directly instead of reusing .btn-primary. */

.contact-form__submit {
  display: block;
  width: auto;
  margin-inline: auto;
  margin-block-start: var(--space-lg);
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
}

.contact-form__submit:hover {
  background-color: color-mix(in srgb, var(--color-accent) 92%, white);
  border-color: color-mix(in srgb, var(--color-accent) 92%, white);
  color: var(--color-white);
}

/* ---- Contact Information — plain category list, no icons/card ----
   The reference has no icon circles and no surrounding card: each
   category is a bold label directly above a plain gray value, stacked
   with generous vertical space. Overrides target .information-card's own
   classes (Section 27) but only when nested under .contact-info-panel, so
   Career/KVKK/AreasOfExpertise/CorePrinciples/WhyJoinAncin — the same
   partial's other callers — keep their existing icon+card presentation. */

.contact-info-panel .information-card {
  margin-block-start: 0;
}

.contact-info-panel .information-card.card {
  background-color: transparent;
  box-shadow: none;
  padding: 0;
}

.contact-info-panel .information-card__list {
  gap: var(--space-xl);
}

.contact-info-panel .information-card__icon {
  display: none;
}

.contact-info-panel .information-card__text {
  padding-block-start: 0;
}

.contact-info-panel .information-card__label {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.contact-info-panel .information-card__value {
  color: var(--color-text-secondary);
}

/* ---- Map — full-width, substantial height ----
   The reference's map sits as a wide, tall full-bleed block below the
   Form/Information split, not the placeholder's default small centered
   box. Same responsive aspect ratio already used by the live embed state
   (.map-component__embed, Section 27) for visual/behavioural consistency
   between the two mutually-exclusive states. Illustration and location
   data are unchanged — only this page's sizing of the existing component. */

.contact-map-section .map-component__placeholder {
  max-width: none;
  width: 100%;
  aspect-ratio: 16 / 9;
}

@media (min-width: 768px) {
  .contact-map-section .map-component__placeholder {
    aspect-ratio: 21 / 9;
  }
}


/* ==========================================================================
   39. HR Policy Page — Folkart-reference revision
   Project owner-supplied "İK Politikamız" screenshot, 2026-08-17. Same "no
   Hero Banner, plain page heading" pattern Sections 28/30/32/38 (About Us,
   Our Values, Career, Contact) already established for their own
   Folkart-reference revisions. Everything here is scoped to selectors that
   only ever render on Views/HrPolicy/Index.cshtml and its
   HrPolicySectionsViewComponent partial — no shared component's own rule
   is edited in place.

   2026-08-17 correction pass: breadcrumb reverted to a single trail item
   (no separator-fix hack needed any more — see Index.cshtml), the banner
   image was removed outright, the eyebrow/title/section-heading typography
   was re-measured against the reference, and vertical rhythm was opened up
   throughout. */

/* ---- Page heading + intro ----
   .hr-policy-heading overrides the sitewide H1's decorative serif
   (--font-heading, Playfair Display) with the plain bold sans-serif body
   font, same override as .about-heading/.values-heading/.career-heading/
   .contact-heading — confirmed against the reference screenshot: its
   title is a plain sans-serif, not a serif, and Inter is the only
   general-purpose sans already loaded site-wide (Montserrat is scoped to
   Project Detail Hero titles only, per its own token comment, so is not
   reused here). .hr-policy-heading-section has no bottom padding of its
   own; .hr-policy-content's own generous top padding (plain .section
   default, unmodified) plus .hr-policy-intro's own margin below provide
   the gap to the first content heading. */

.hr-policy-heading-section {
  padding-block-end: 0;
}

/* Eyebrow re-measured against the reference's ~930×38.4px text box:
   38.4px is exactly 24px × 1.6 — a font-size of 1.5rem at the sitewide
   --line-height-body (1.6), not the small caption size used previously.
   Plain/regular weight; colour changed to black per 2026-08-17 correction
   (was secondary gray). */
.hr-policy-eyebrow {
  margin-block-end: var(--space-sm);
  font-size: 1.5rem;
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  color: var(--color-text-primary);
}

/* Title kept at the sitewide --font-size-h1 (already close to the
   reference's ~618×112px box at this heading's line-height) but now
   explicitly bold, and given more breathing room before the intro
   paragraph per the project owner's spacing correction. Colour set
   explicitly to black (2026-08-17) — was already inherited from the base
   h1 rule, made explicit here for this page's own control. */
.hr-policy-heading {
  max-width: 40ch;
  margin-block-end: var(--space-xl);
  font-family: var(--font-body);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
}

.hr-policy-intro {
  max-width: none;
  margin-block-end: var(--space-2xl);
  color: var(--color-text-secondary);
  line-height: var(--line-height-body);
}

/* ---- Content sections — plain black heading + bullet list ----
   No cards, icons or numbering, matching the reference. Colour changed to
   black (2026-08-17 correction) — was --hr-policy-navy (#1B3A63), a
   scoped one-off sampled from the reference; that custom property is now
   removed as unused. */

/* Section-to-section gap ("final bullet → next heading") opened up from
   the previous var(--space-2xl) to the sitewide --space-4xl — the largest
   standard spacing token, not an invented value — for the relaxed
   editorial rhythm the reference shows. */
.hr-policy-content-item + .hr-policy-content-item {
  margin-block-start: var(--space-4xl);
}

/* font-weight is explicitly semibold (not the inherited bold h2 default)
   so every section heading reads clearly lighter than the main "İK
   Politikaları" title — the reference's two-tier heading hierarchy.
   margin-block-end (heading → its bullet list) doubled from
   var(--space-md) to var(--space-xl) per the same spacing correction. */
.hr-policy-content-heading {
  margin-block-end: var(--space-xl);
  font-family: var(--font-body);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.hr-policy-bullet-list {
  margin-block-end: 0;
  padding-inline-start: var(--space-lg);
}

.hr-policy-bullet-item {
  color: var(--color-text-secondary);
  line-height: var(--line-height-body);
}

.hr-policy-bullet-item + .hr-policy-bullet-item {
  margin-block-start: var(--space-sm);
}

/* ---- Image strip — decorative separator before "Yetenek Kazanımı" ----
   2026-08-20, project owner-requested. margin-block-start (--space-3xl)
   gives clear air after .hr-policy-intro's own margin above; the sibling
   override below removes .hr-policy-content's default top section-padding
   so the gap below the strip is this single --space-3xl value instead of
   stacking on top of it — same "collapse doubled spacing to one instance"
   approach as .values-introduction + .core-values above. Height is a
   capped clamp rather than aspect-ratio: the source photo (teamwork.jpg,
   full-frame, not a pre-cropped banner) needs a fixed short band cropped
   via object-fit: cover to read as a slim decorative strip rather than a
   hero image, at any container width. */
.hr-policy-image-strip {
  margin-block: var(--space-3xl);
}

/* Widened to ~2x its original rendered width (2026-08-20, project
   owner-requested) — the compound selector (.container.hr-policy-image-strip)
   outranks the plain .container rule above regardless of source order, so
   this reliably overrides its max-width/padding rather than depending on
   cascade position. Only applied from the Tablet breakpoint up: on mobile
   .container is already within a few px of full viewport width, so there is
   no meaningful room left to double into and the strip stays as before.
   width uses min() so it never exceeds the viewport itself, only the
   original 1280px cap; height is untouched (still the same clamp()), so the
   strip reads wider without ever reading taller. */
@media (min-width: 768px) {
  .container.hr-policy-image-strip {
    width: min(94vw, calc(var(--container-max-width) * 2));
    max-width: none;
    padding-inline: 0;
    margin-inline: auto;
  }
}

.hr-policy-image-strip-img {
  display: block;
  width: 100%;
  /* Raised again (2026-08-20, project owner-requested follow-up) — the
     previous band (clamp(9rem, 16vw, 17.5rem)) was still too short for the
     photo's content to read clearly. ~25% taller at every clamp bound
     (11rem/20vw/22rem, up from 9rem/16vw/17.5rem) while staying well under
     .hero--standard's 45vh minimum, so it still reads as a wide horizontal
     strip rather than a hero section. width/object-fit: cover are
     unchanged — the crop is simply less aggressive now, showing more of
     the photo's vertical extent, without distorting it. */
  height: clamp(11rem, 20vw, 22rem);
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.hr-policy-image-strip + .hr-policy-content {
  padding-block-start: 0;
}


/* ==========================================================================
   40. KVKK Page — Hero Banner removal, 2026-08-17
   HeroBannerStandard (and its background image) removed; the heading and
   subheading it used to render now sit in a plain heading section instead,
   styled identically to Section 39's finalized .hr-policy-heading (same
   font family, weight, colour, spacing). Scoped to .kvkk-heading-section/
   .kvkk-heading only — KvkkPolicy's own centered Section Header
   ("KİŞİSEL VERİLERİN KORUNMASI" / "Aydınlatma Metni") and everything below
   it is untouched. */

.kvkk-heading-section {
  padding-block-end: 0;
}

.kvkk-heading {
  max-width: 40ch;
  margin-block-end: var(--space-xl);
  font-family: var(--font-body);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
}


/* ==========================================================================
   41. Social Responsibility Page — Folkart reference revision, 2026-10-02
   Reference: https://folkart.com.tr/sosyal-sorumluluk, used for structure/
   rhythm only. The reference has no Hero Banner — same "plain eyebrow + H1
   + intro paragraph" heading pattern as Sections 28/30/32/38/39/40 (About
   Us/Our Values/Career/Contact/HR Policy/KVKK), reusing
   .hr-policy-heading-section's exact shape rather than inventing a new one.
   Below the heading, the reference's own body is a sequence of alternating
   image/text pairs — reused as-is from Section 34's .hr-philosophy-grid
   (.grid.grid-cols-2 + Image Block).

   2026-10-02 revision: the four generic placeholder "pillars" this section
   originally held were replaced with exactly two real projects
   (SocialResponsibilityProjectsViewComponent) — classes renamed
   .social-responsibility-pillar* -> .social-responsibility-project*
   (values unchanged) to match. The only new rules are the interactive
   featured-image affordance (.social-responsibility-project-featured and
   its overlay/icon/count children) — everything else below is the exact
   same alternating-sides grid this section already had.

   2026-10-03 revision: the plain eyebrow + H1 + intro paragraph heading
   section (.social-responsibility-heading-section/-eyebrow/-heading/-intro)
   was removed outright and replaced with a full-bleed banner photograph —
   see .social-responsibility-banner below. The first project's own
   .section top padding (48px/64px/80px, mobile/tablet/desktop — Section 7)
   is left un-collapsed on purpose now, standing in as the whitespace
   between the banner and "Social Responsibility Projects" instead of a
   bespoke margin, so that gap stays on the same responsive scale as every
   other section-to-section beat on the page. */

/* ---- Full-bleed Banner ----
   Project owner-supplied sosyal-sorumluluk-banner.png, 2560x360 — a flat
   graphic with its own baked-in Turkish title/subtitle, not a photo meant
   to be overlaid with separate heading markup (contrast with
   .hero/.hero-bg, Section 4, which composites a real DOM heading on top of
   a photographic background; intentionally untouched by this section).
   Rendered as a plain <section> with no .container/.section wrapper so it
   spans the true viewport width edge-to-edge, consistent with how .hero
   itself achieves full-bleed (a bare top-level section, not a negative-
   margin trick). Desktop/tablet height uses the same capped-clamp
   approach as .hr-policy-image-strip-img (Section 39) rather than
   aspect-ratio: the source is a short, wide banner, not a
   container-relative strip, and clamp's 3 fixed points describe "~160px
   mobile up to ~272px desktop" directly regardless of what width the
   section itself renders at. object-fit: cover crops the banner to that
   box on this range, which is fine there — see the mobile override below
   for why that cropping is wrong on narrow phones specifically. */
.social-responsibility-banner {
  width: 100%;
  overflow: hidden;
  height: clamp(10rem, 15vw, 17rem);
}

.social-responsibility-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Below 768px the banner's box (full viewport width x ~10rem-15vw height)
   is far narrower than the source's native ~7.1:1 (2560x360) ratio, so
   object-fit: cover always crops one side off — there is no crop window
   that keeps the whole banner (baked-in title block + the people/building
   group further right) in frame at that box shape. Per project owner
   instruction (2026-10-03), completeness beats the fixed mobile height
   here: height switches to auto and the image lays out at its own
   intrinsic ratio, so the full 2560x360 graphic is always visible,
   uncropped and undistorted (~55px tall at a 390px viewport,
   390 / 7.1 ≈ 55). 768px+ (tablet/desktop) is untouched — reverts to the
   clamp-height/cover box above. */
@media (max-width: 767.98px) {
  .social-responsibility-banner {
    height: auto;
  }

  .social-responsibility-banner-img {
    height: auto;
    object-fit: initial;
    object-position: initial;
  }
}

.social-responsibility-project-grid {
  align-items: center;
}

.social-responsibility-project-heading {
  margin-block-end: var(--space-md);
  font-family: var(--font-body);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.social-responsibility-project-paragraph {
  color: var(--color-text-secondary);
  line-height: var(--line-height-body);
}

.social-responsibility-project-paragraph + .social-responsibility-project-paragraph {
  margin-block-start: var(--space-md);
}

/* Alternates which side the image sits on per project, matching the
   reference's alternating editorial rhythm. Source order always keeps the
   text content first in the DOM (same reading-order precedent as Section
   34's .hr-philosophy-grid) — only the visual position swaps, and only
   from the Tablet breakpoint up, matching exactly where .grid-cols-2
   itself first splits into two columns (Section 7). Below that, both
   stack in natural (content-then-image) source order regardless of this
   modifier. */
@media (min-width: 768px) {
  .social-responsibility-project--image-right .social-responsibility-project-content {
    order: 2;
  }

  .social-responsibility-project--image-right .social-responsibility-project-media {
    order: 1;
  }
}

/* ---- Featured image — interactive gallery affordance, 2026-10-02 ----
   The featured photo is a real <button> wrapping the existing .image-block
   (Section 8 — same 4:3/radius/shadow treatment every other page image
   uses), not a plain <img>. Overlay + expand icon + photo-count badge
   mirror the exact hover/focus-visible idiom .gallery-card already
   established (Section 26) — a gradient overlay that deepens on
   hover/focus, a centered icon that only appears on hover/focus — just
   with an "expand" icon instead of a Play icon (this opens a photo
   lightbox, not a video) and a count badge instead of a category title. */

.social-responsibility-project-featured {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.social-responsibility-project-featured .image-block {
  transition: transform var(--transition-base) var(--ease-standard);
}

.social-responsibility-project-featured:hover .image-block,
.social-responsibility-project-featured:focus-visible .image-block {
  transform: scale(1.02);
}

.social-responsibility-project-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(to top, rgba(28, 28, 28, 0.55) 0%, rgba(28, 28, 28, 0.08) 45%, rgba(28, 28, 28, 0) 68%);
  opacity: 0;
  transition: opacity var(--transition-base) var(--ease-standard);
}

.social-responsibility-project-featured:hover .social-responsibility-project-overlay,
.social-responsibility-project-featured:focus-visible .social-responsibility-project-overlay {
  opacity: 1;
}

.social-responsibility-project-expand-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%) scale(0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1.5px solid var(--color-white);
  background-color: color-mix(in srgb, var(--color-near-black) 35%, transparent);
  color: var(--color-white);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--transition-fast) var(--ease-standard),
    transform var(--transition-fast) var(--ease-standard);
}

.social-responsibility-project-featured:hover .social-responsibility-project-expand-icon,
.social-responsibility-project-featured:focus-visible .social-responsibility-project-expand-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Video-led card (N-Latis, 2026-10-17) — reuses the home Video Showcase's
   .video-showcase-play (Section 19) unchanged; only its hover state is
   scoped to .video-showcase-trigger there, so the same darken + 1.06
   scale is mirrored for this card's own trigger here. Focus ring comes
   from the global button:focus-visible rule. */
.social-responsibility-project-featured .video-showcase-play {
  z-index: 2;
  pointer-events: none;
}

.social-responsibility-project-featured:hover .video-showcase-play,
.social-responsibility-project-featured:focus-visible .video-showcase-play {
  background-color: color-mix(in srgb, var(--color-accent) 85%, black);
  transform: translate(-50%, -50%) scale(1.06);
}

.social-responsibility-project-count {
  position: absolute;
  right: var(--space-md);
  bottom: var(--space-md);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--color-near-black) 55%, transparent);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.01em;
  pointer-events: none;
}

/* 2026-10-02 fix (project owner-requested): Project 2's featured photo is a
   tall (9:16) event flyer whose printed title sits in its top third.
   .image-block's shared 4:3 aspect-ratio + object-fit: cover (Section 8)
   only shows a horizontal slice of a source that tall, and the default
   center object-position cropped that slice from the vertical middle —
   cutting the title off entirely. Overriding object-position here (scoped
   to this one project's own featured image only, by id) keeps the crop
   anchored to the top of the source photo instead, without touching the
   shared .image-block rule every other page's images still rely on. */
#social-responsibility-project-2 .social-responsibility-project-featured .image-block {
  object-position: top;
}


/* ==========================================================================
   42. Media Viewer — Video Items (Social Responsibility unified galleries,
   2026-10-02)
   Extends the shared Media Viewer (Section "Media Viewer" above, ~line
   4065) in place — every other trigger group (Project Detail Gallery,
   Floor Plans, Concept, Site Plan) carries no data-media-viewer-type and
   is completely unaffected. .media-viewer-video-el reuses the exact same
   per-breakpoint max-width/max-height .media-viewer-image already has, so
   a video sizes identically to a photo rather than introducing a second
   sizing scale. The Play overlay reuses .gallery-card-play's established
   circular icon treatment (Section 26) rather than a new button design.
   ========================================================================== */

.media-viewer-image[hidden] {
  display: none;
}

.media-viewer-video-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
}

.media-viewer-video-wrap[hidden] {
  display: none;
}

.media-viewer-video-el {
  display: block;
  max-width: min(90vw, 28rem);
  max-height: min(58vh, 32rem);
  border-radius: var(--radius-md);
  background-color: var(--color-near-black);
}

@media (min-width: 768px) {
  .media-viewer-video-el {
    max-width: min(70vw, 38rem);
    max-height: min(65vh, 42rem);
  }
}

@media (min-width: 1024px) {
  .media-viewer-video-el {
    max-width: min(50vw, 46rem);
    max-height: min(70vh, 48rem);
  }
}

.media-viewer-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid var(--color-white);
  background-color: color-mix(in srgb, var(--color-near-black) 45%, transparent);
  color: var(--color-white);
  transition:
    transform var(--transition-fast) var(--ease-standard),
    background-color var(--transition-fast) var(--ease-standard);
}

.media-viewer-video-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background-color: color-mix(in srgb, var(--color-near-black) 65%, transparent);
}

.media-viewer-video-play[hidden] {
  display: none;
}

/* .media-viewer-tool already sets display: inline-flex as a class rule
   (above) — needs the same explicit [hidden] override every such element
   in this codebase does (Section 23's documented cascade note) now that
   render() hides Zoom In/Out for video items. */
.media-viewer-tool[hidden] {
  display: none;
}


/* ==========================================================================
   43. Home Campaigns (2026-11-01 request)
   Vertical video posters between the Hero Banner and Company Overview. The
   hover zoom and radius follow .project-card; the play badge follows
   .media-viewer-video-play. Below 768px the list becomes a swipe row that
   runs to the screen edges, so the next card peeks in.
   ========================================================================== */

#campaigns {
  scroll-margin-top: 5rem;
}

/* Same heading font as Company Overview's, see #company-overview-heading. */
#campaigns-heading {
  font-family: 'Caviar Dreams', var(--font-heading);
}

.campaigns-list {
  display: flex;
  gap: var(--space-md);
  margin: 0 calc(var(--container-padding-mobile) * -1);
  padding: 0 var(--container-padding-mobile);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--container-padding-mobile);
  scrollbar-width: none;
}

.campaigns-list::-webkit-scrollbar {
  display: none;
}

.campaigns-item {
  flex: 0 0 78%;
  scroll-snap-align: start;
}

/* From 768px (2026-11-03, five campaigns): still one scroll-snap row, but
   with fixed card widths (three across, four from 1200px) so the cards keep
   a readable size however many campaigns there are; the Prev/Next buttons
   below scroll it. The small padding keeps the focus ring inside the
   scroll box. */
@media (min-width: 768px) {
  .campaigns-list {
    gap: var(--grid-gap-md);
    margin: calc(var(--space-2xs) * -1);
    padding: var(--space-2xs);
    scroll-padding-inline: var(--space-2xs);
  }

  .campaigns-item {
    flex-basis: calc((100% - 2 * var(--grid-gap-md)) / 3);
  }
}

@media (min-width: 1200px) {
  .campaigns-item {
    flex-basis: calc((100% - 3 * var(--grid-gap-md)) / 4);
  }
}

/* Same placement as .projects-slider-nav. Swipe only below 768px; site.js
   also hides it while every card already fits. */
.campaigns-nav {
  display: none;
}

@media (min-width: 768px) {
  .campaigns-nav:not([hidden]) {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
    margin-block-start: var(--space-lg);
  }
}

.campaign-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: start;
  cursor: pointer;
}

.campaign-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  background-color: var(--color-surface);
}

.campaign-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-standard);
}

/* The global reduced-motion rule only shortens the transition, which would
   still snap the poster to its larger size. */
@media (prefers-reduced-motion: no-preference) {
  .campaign-card:hover .campaign-card-image,
  .campaign-card:focus-visible .campaign-card-image {
    transform: scale(1.04);
  }
}

.campaign-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid var(--color-white);
  background-color: color-mix(in srgb, var(--color-near-black) 45%, transparent);
  color: var(--color-white);
  transition: background-color var(--transition-base) var(--ease-standard);
}

.campaign-card:hover .campaign-card-play,
.campaign-card:focus-visible .campaign-card-play {
  background-color: color-mix(in srgb, var(--color-white) 25%, transparent);
}

/* min-height rather than height: at the narrowest columns the text may need
   more than the bottom 45%, and the gradient then grows with it. */
.campaign-card-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 45%;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  background-image: linear-gradient(
    to bottom,
    transparent,
    color-mix(in srgb, var(--color-near-black) 88%, transparent) 40%,
    color-mix(in srgb, var(--color-near-black) 96%, transparent)
  );
  font-family: var(--font-body);
  color: var(--color-white);
}

.campaign-card-eyebrow {
  margin-block-end: var(--space-xs);
  font-size: 0.6875rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  line-height: 1.3;
  /* Two even lines rather than a lone last word on narrower cards. */
  text-wrap: balance;
  /* Plain --color-accent is only ~2.3:1 here (see .btn-secondary--on-dark), so
     small text needs this lighter mix of it to stay readable (~4.5:1). */
  color: color-mix(in srgb, var(--color-accent) 68%, white);
}

.campaign-card-name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 1.3125rem; /* 21px */
  line-height: var(--line-height-heading);
}

.campaign-card-location {
  margin-block-start: var(--space-2xs);
  font-size: var(--font-size-small);
  line-height: 1.4;
  color: var(--color-light-gray);
}

.campaign-card-watch {
  margin-block-start: var(--space-sm);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}

.campaign-card-eyebrow,
.campaign-card-location,
.campaign-card-watch {
  display: block;
}

@media (min-width: 768px) {
  .campaign-card-overlay {
    padding: var(--space-3xl) var(--space-lg) var(--space-lg);
  }

  .campaign-card-name {
    font-size: clamp(1.5rem, 2.2vw, 1.75rem); /* 24-28px */
  }
}

/* ---- Media Viewer, campaign videos ----
   Scoped to .is-campaign-viewer so every other trigger group keeps its
   layout. The panel stacks the video over the "View Project" button; each
   video opens alone, so Prev/Next and the "1 / 1" counter have no job here. */

.media-viewer-project-link[hidden],
.media-viewer-unmute[hidden] {
  display: none;
}

.media-viewer.is-campaign-viewer .media-viewer-panel {
  flex-direction: column;
  gap: var(--space-md);
}

.media-viewer.is-campaign-viewer .media-viewer-nav,
.media-viewer.is-campaign-viewer .media-viewer-counter {
  display: none;
}

.media-viewer.is-campaign-viewer .media-viewer-video-el {
  max-height: min(72vh, 40rem);
}

@media (min-width: 768px) {
  .media-viewer.is-campaign-viewer .media-viewer-video-el {
    max-height: 72vh;
  }
}

.media-viewer-project-link {
  flex-shrink: 0;
}

/* Replaces .btn-primary's invert-to-white hover here (2026-11-01 request):
   a lighter accent with the label staying white. */
.media-viewer-project-link:hover,
.media-viewer-project-link:focus-visible {
  background-color: color-mix(in srgb, var(--color-accent) 82%, white);
  border-color: color-mix(in srgb, var(--color-accent) 82%, white);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.media-viewer-unmute {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  min-height: 2.75rem;
  padding-inline: var(--space-md);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-white);
  background-color: color-mix(in srgb, var(--color-near-black) 65%, transparent);
  color: var(--color-white);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
}
