/* ==========================================================================
   VELMORA YAPI — Yaşam Projeleri
   main.css · shared design system (tokens, type, header, footer, components)
   Bootstrap 5 is used only for grid, utilities, offcanvas and behaviours.
   ========================================================================== */

/* ---------- Local fonts (SIL OFL 1.1, see assets/fonts/[family]/OFL.txt) ---------- */
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope/manrope-latin-wght-normal.woff2") format("woff2-variations");
  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: "Source Serif 4 Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-serif-4/source-serif-4-latin-ext-opsz-normal.woff2") format("woff2-variations");
  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: "Source Serif 4 Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-serif-4/source-serif-4-latin-opsz-normal.woff2") format("woff2-variations");
  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: "Source Serif 4 Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-serif-4/source-serif-4-latin-ext-opsz-italic.woff2") format("woff2-variations");
  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: "Source Serif 4 Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-serif-4/source-serif-4-latin-opsz-italic.woff2") format("woff2-variations");
  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;
}

/* ---------- Tokens ---------- */
:root {
  --v-paper: #F7F6F3;
  --v-white: #FFFFFF;
  --v-ink: #232629;
  --v-night: #181A1C;
  --v-stone: #D9D6D0;
  --v-stone-soft: #ECEAE5;
  --v-mid: #8A8B89;          /* decorative / large text only */
  --v-muted: #62645F;        /* readable secondary text on light (≈5.9:1) */
  --v-muted-dark: #A9AAA6;   /* secondary text on dark (≈7.9:1) */
  --v-copper: #A66A42;
  --v-copper-ink: #8C5530;   /* copper for small text on light (≈5.6:1) */
  --v-copper-light: #C28A62; /* copper on dark surfaces (≈6.3:1) */
  --v-line: rgba(35, 38, 41, .14);
  --v-line-dark: rgba(255, 255, 255, .16);
  --v-danger: #9C3B2E;

  --v-font-display: "Source Serif 4 Variable", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --v-font-body: "Manrope Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --v-header-h: 84px;
  --v-gutter: clamp(20px, 4vw, 48px);
  --v-section: clamp(88px, 11vw, 168px);
  --v-section-sm: clamp(64px, 7vw, 104px);
  --v-max: 1360px;
  --v-ease: cubic-bezier(.2, .7, .2, 1);

  /* Bootstrap bridge */
  --bs-body-font-family: var(--v-font-body);
  --bs-body-color: var(--v-ink);
  --bs-body-bg: var(--v-paper);
  --bs-link-color-rgb: 35, 38, 41;
  --bs-link-hover-color-rgb: 166, 106, 66;
  --bs-border-color: var(--v-line);
  --bs-gutter-x: 2rem;
}
@media (max-width: 991.98px) { :root { --v-header-h: 68px; } }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--v-header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--v-font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 450;
  color: var(--v-ink);
  background: var(--v-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.page-solid { padding-top: var(--v-header-h); }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--v-ease); }
a:hover { color: var(--v-copper-ink); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--v-copper); color: #fff; }
hr { border: 0; border-top: 1px solid var(--v-line); opacity: 1; margin: 0; }

:focus-visible { outline: 2px solid var(--v-copper); outline-offset: 3px; border-radius: 1px; }
.on-dark :focus-visible, .site-footer :focus-visible, .mobile-nav :focus-visible { outline-color: var(--v-copper-light); }

.container { max-width: calc(var(--v-max) + 2 * var(--v-gutter)); padding-left: var(--v-gutter); padding-right: var(--v-gutter); }
.container-narrow { max-width: 920px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 2000;
  background: var(--v-ink); color: #fff; padding: 12px 18px;
  font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display, .h-display {
  font-family: var(--v-font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -.012em;
  line-height: 1.08;
  color: inherit;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: 1.02; letter-spacing: -.02em; }
h2, .h2 { font-size: clamp(2.05rem, 4vw, 3.6rem); }
h3, .h3 { font-size: clamp(1.45rem, 2.1vw, 1.95rem); line-height: 1.18; }
h4, .h4 { font-size: 1.25rem; line-height: 1.3; }
h1 em, h2 em, .display em { font-style: italic; font-weight: 300; }
.lead-serif {
  font-family: var(--v-font-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.42;
  font-weight: 350;
  letter-spacing: -.005em;
  text-wrap: pretty;
}
.lead { font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.7; font-weight: 450; color: var(--v-muted); }
.on-dark .lead { color: var(--v-muted-dark); }
.text-muted-v { color: var(--v-muted) !important; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--v-font-body);
  font-size: .75rem; font-weight: 650; letter-spacing: .2em; text-transform: uppercase;
  color: var(--v-copper-ink);
  margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: none; }
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow { color: var(--v-copper-light); }

.num {
  font-family: var(--v-font-display);
  font-size: .95rem; font-style: italic; font-weight: 400;
  color: var(--v-copper-ink);
  font-variant-numeric: lining-nums tabular-nums;
}
.on-dark .num { color: var(--v-copper-light); }

/* ---------- Surfaces ---------- */
.section { padding: var(--v-section) 0; position: relative; }
.section-sm { padding: var(--v-section-sm) 0; }
.section + .section.section--paper, .section--flush-top { padding-top: 0; }
.surface-white { background: var(--v-white); }
.surface-stone { background: var(--v-stone-soft); }
.surface-dark, .on-dark { background: var(--v-night); color: #EDECE8; }
.surface-dark a:not(.btn-v):hover { color: var(--v-copper-light); }
.surface-ink { background: var(--v-ink); color: #EDECE8; }

.rule { height: 1px; background: var(--v-line); border: 0; }
.on-dark .rule { background: var(--v-line-dark); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head .lead { max-width: 44ch; margin: 0; }

/* ---------- Buttons & links ---------- */
.btn-v {
  --btn-bg: transparent; --btn-fg: var(--v-ink); --btn-bd: var(--v-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 14px 28px;
  font-family: var(--v-font-body); font-size: .78rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd); border-radius: 0;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: background-color .3s var(--v-ease), color .3s var(--v-ease), border-color .3s var(--v-ease);
}
.btn-v:hover { color: var(--btn-fg); }
.btn-v .arrow { width: 18px; height: 10px; flex: none; transition: transform .35s var(--v-ease); }
.btn-v:hover .arrow { transform: translateX(4px); }
.btn-v--dark { --btn-bg: var(--v-ink); --btn-fg: #fff; --btn-bd: var(--v-ink); }
.btn-v--dark:hover { --btn-bg: var(--v-night); --btn-bd: var(--v-copper); --btn-fg: #fff; }
.btn-v--light { --btn-bg: #fff; --btn-fg: var(--v-ink); --btn-bd: #fff; }
.btn-v--light:hover { --btn-bg: var(--v-paper); --btn-fg: var(--v-ink); }
.btn-v--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .55); }
.btn-v--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .08); --btn-bd: #fff; --btn-fg: #fff; }
.btn-v--outline:hover { --btn-bg: var(--v-ink); --btn-fg: #fff; }
.btn-v--copper { --btn-bg: var(--v-copper); --btn-fg: #fff; --btn-bd: var(--v-copper); }
.btn-v--copper:hover { --btn-bg: #8C5530; --btn-bd: #8C5530; --btn-fg: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  padding: 8px 0; border-bottom: 1px solid currentColor; line-height: 1.3;
}
.link-arrow .arrow { width: 18px; height: 10px; transition: transform .35s var(--v-ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow:hover { color: var(--v-copper-ink); }
.on-dark .link-arrow:hover { color: var(--v-copper-light); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1030;
  height: var(--v-header-h);
  color: var(--v-ink);
  background: rgba(247, 246, 243, .97);
  border-bottom: 1px solid var(--v-line);
  transition: background-color .35s var(--v-ease), color .35s var(--v-ease), border-color .35s var(--v-ease), height .35s var(--v-ease);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.has-hero .site-header:not(.is-scrolled) { background: transparent; color: #fff; border-bottom-color: rgba(255, 255, 255, .18); }
.has-hero .site-header:not(.is-scrolled)::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(16, 17, 18, .45), rgba(16, 17, 18, 0));
}
.site-header.is-scrolled { background: rgba(247, 246, 243, .98); }

.brand { display: inline-flex; flex-direction: column; line-height: 1; gap: 7px; color: inherit; margin-right: auto; }
.brand:hover { color: inherit; }
.brand-name { font-family: var(--v-font-display); font-size: 1.62rem; font-weight: 500; letter-spacing: .24em; margin-right: -.24em; }
.brand-sub { display: flex; align-items: center; gap: 8px; font-size: .56rem; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; opacity: .82; }
.brand-sub i { width: 14px; height: 1px; background: var(--v-copper); display: inline-block; }
.has-hero .site-header:not(.is-scrolled) .brand-sub i { background: var(--v-copper-light); }

.main-nav ul { list-style: none; display: flex; gap: clamp(22px, 2.6vw, 42px); margin: 0; padding: 0; }
.main-nav a {
  position: relative; display: inline-block; padding: 10px 0;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px;
  background: var(--v-copper); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--v-ease);
}
.main-nav a:hover { color: inherit; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--v-copper-ink); }
.has-hero .site-header:not(.is-scrolled) .main-nav a[aria-current="page"] { color: #fff; }
.has-hero .site-header:not(.is-scrolled) .main-nav a::after { background: var(--v-copper-light); }

.header-cta { min-height: 44px; padding: 10px 20px; margin-left: 12px; }
.has-hero .site-header:not(.is-scrolled) .header-cta { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .6); }
.has-hero .site-header:not(.is-scrolled) .header-cta:hover { --btn-bg: #fff; --btn-fg: var(--v-ink); --btn-bd: #fff; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px;
  width: 48px; height: 48px; margin-right: -10px; padding: 12px 10px;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.nav-toggle span { display: block; height: 1.5px; width: 26px; background: currentColor; }
.nav-toggle span:last-child { width: 18px; }
.nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Mobile navigation (Bootstrap offcanvas, restyled) */
.mobile-nav.offcanvas {
  --bs-offcanvas-width: min(100vw, 460px);
  --bs-offcanvas-bg: var(--v-night);
  --bs-offcanvas-color: #EDECE8;
  --bs-offcanvas-padding-x: var(--v-gutter);
  border-left: 0 !important;
}
.mobile-nav .offcanvas-header { height: var(--v-header-h); padding-top: 0; padding-bottom: 0; border-bottom: 1px solid var(--v-line-dark); }
.mobile-nav .brand { color: #fff; }
.mobile-nav .brand-sub i { background: var(--v-copper-light); }
.nav-close {
  width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; color: #fff; position: relative; cursor: pointer;
}
.nav-close::before, .nav-close::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 1.5px; background: currentColor; }
.nav-close::before { transform: rotate(45deg); }
.nav-close::after { transform: rotate(-45deg); }
.mobile-nav .offcanvas-body { display: flex; flex-direction: column; padding-top: 36px; padding-bottom: 32px; }
.mobile-nav nav ul { list-style: none; margin: 0; padding: 0; counter-reset: mnav; }
.mobile-nav nav li { border-bottom: 1px solid var(--v-line-dark); counter-increment: mnav; }
.mobile-nav nav li a {
  display: flex; align-items: baseline; gap: 18px; padding: 16px 0;
  font-family: var(--v-font-display); font-size: 1.9rem; font-weight: 350; letter-spacing: -.01em; color: #fff;
}
.mobile-nav nav li a::before { content: "0" counter(mnav); font-family: var(--v-font-body); font-size: .72rem; letter-spacing: .12em; color: var(--v-copper-light); font-weight: 600; }
.mobile-nav nav li a[aria-current="page"] { color: var(--v-copper-light); }
.mobile-nav nav li a:hover { color: var(--v-copper-light); }
.mobile-nav-foot { margin-top: auto; padding-top: 40px; display: grid; gap: 22px; }
.mobile-nav-foot .btn-v { width: 100%; }
.mobile-nav-foot p { font-size: .82rem; color: var(--v-muted-dark); margin: 0; }
.mobile-nav-foot a:not(.btn-v) { color: #fff; border-bottom: 1px solid var(--v-line-dark); }
.offcanvas-backdrop.show { opacity: .6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--v-night); color: #D7D6D2; padding: clamp(72px, 9vw, 120px) 0 32px; font-size: .92rem; }
.site-footer a { color: #EDECE8; }
.site-footer a:hover { color: var(--v-copper-light); }
.footer-brand { display: inline-flex; flex-direction: column; gap: 10px; color: #fff; }
.footer-brand .brand-name { font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: .22em; }
.footer-brand .brand-sub { font-size: .62rem; }
.footer-brand .brand-sub i { background: var(--v-copper-light); }
.footer-desc { max-width: 34ch; margin-top: 26px; color: var(--v-muted-dark); line-height: 1.7; }
.footer-title { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--v-copper-light); margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { display: inline-block; padding: 3px 0; }
.footer-mail { font-family: var(--v-font-display); font-size: clamp(1.15rem, 1.5vw, 1.35rem); font-weight: 350; border-bottom: 1px solid var(--v-line-dark); padding-bottom: 4px; word-break: break-word; }
.footer-bottom {
  margin-top: clamp(56px, 7vw, 96px); padding-top: 26px; border-top: 1px solid var(--v-line-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  font-size: .78rem; color: var(--v-muted-dark); letter-spacing: .02em;
}
.footer-bottom strong { color: #EDECE8; font-weight: 600; }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; background: var(--v-stone); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--r-4x5 { aspect-ratio: 4 / 5; }
.media--r-3x4 { aspect-ratio: 3 / 4; }
.media--r-4x3 { aspect-ratio: 4 / 3; }
.media--r-3x2 { aspect-ratio: 3 / 2; }
.media--r-16x9 { aspect-ratio: 16 / 9; }
.media--r-21x9 { aspect-ratio: 21 / 9; }
.media--r-1x1 { aspect-ratio: 1 / 1; }
.media-zoom img { transition: transform 1.2s var(--v-ease); }
a:hover .media-zoom img, .media-zoom:hover img { transform: scale(1.035); }
.media-caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--v-muted); }
.on-dark .media-caption { color: var(--v-muted-dark); }
.concept-tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  font-size: .64rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; background: rgba(24, 26, 28, .62); padding: 7px 11px;
}

/* ---------- Status & metadata ---------- */
.status {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1;
  padding: 8px 12px 8px 10px; border: 1px solid currentColor; white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.status--ongoing { color: var(--v-copper-ink); }
.status--done { color: var(--v-ink); }
.status--done::before { background: transparent; border: 1.5px solid currentColor; }
.on-dark .status--ongoing, .hero .status--ongoing { color: var(--v-copper-light); }
.on-dark .status--done, .hero .status--done { color: #fff; }

.meta-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--v-line); }
.meta-list > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--v-line); min-width: 0; }
.meta-list dt { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--v-muted); margin-bottom: 6px; }
.meta-list dd { margin: 0; font-size: 1rem; font-weight: 550; line-height: 1.4; }
.on-dark .meta-list { border-color: var(--v-line-dark); }
.on-dark .meta-list > div { border-color: var(--v-line-dark); }
.on-dark .meta-list dt { color: var(--v-muted-dark); }

.meta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--v-muted); }
.meta-inline span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--v-copper); margin-right: 14px; vertical-align: middle; }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: #fff; display: flex; align-items: flex-end; background: var(--v-night); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(16, 17, 18, .82) 0%, rgba(16, 17, 18, .38) 38%, rgba(16, 17, 18, 0) 66%),
    linear-gradient(to right, rgba(16, 17, 18, .62) 0%, rgba(16, 17, 18, .25) 45%, rgba(16, 17, 18, 0) 70%);
}
.hero-inner { width: 100%; padding-top: calc(var(--v-header-h) + 60px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero-label { display: inline-flex; align-items: center; gap: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin-bottom: clamp(22px, 3vw, 34px); }
.hero-label::before { content: ""; width: 34px; height: 1px; background: var(--v-copper-light); }
.hero h1 { font-size: clamp(3.1rem, 8.4vw, 7.6rem); line-height: .98; letter-spacing: -.028em; margin-bottom: clamp(22px, 3vw, 34px); font-weight: 350; }
.hero h1 em { font-weight: 300; }
.hero-text { max-width: 36rem; font-size: clamp(1.02rem, 1.3vw, 1.16rem); line-height: 1.7; color: rgba(255, 255, 255, .86); margin-bottom: clamp(28px, 3.5vw, 40px); }
.hero-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px;
  margin-top: clamp(40px, 6vw, 80px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .78);
}
.hero-foot a { color: #fff; display: inline-flex; align-items: center; gap: 12px; }
.hero-foot a:hover { color: var(--v-copper-light); }
.hero-foot .scroll-line { width: 1px; height: 28px; background: currentColor; display: inline-block; }

/* ---------- Page header (non-hero pages) ---------- */
.page-head { padding: clamp(56px, 8vw, 120px) 0 clamp(44px, 6vw, 80px); }
.page-head h1 { max-width: 15ch; margin-bottom: 0; }
.page-head .lead { max-width: 46ch; margin: 0; }
.breadcrumb-v { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 28px; font-size: .72rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--v-muted); }
.breadcrumb-v li + li::before { content: "/"; margin-right: 10px; color: var(--v-copper); }
.breadcrumb-v a:hover { color: var(--v-copper-ink); }
.breadcrumb-v [aria-current] { color: var(--v-ink); }
.hero .breadcrumb-v, .on-dark .breadcrumb-v { color: rgba(255, 255, 255, .72); }
.hero .breadcrumb-v [aria-current] { color: #fff; }
.hero .breadcrumb-v a:hover { color: #fff; }

/* ---------- Concept notice ---------- */
.concept-note {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border: 1px solid var(--v-line); border-left: 2px solid var(--v-copper);
  background: var(--v-white); font-size: .88rem; line-height: 1.55; color: var(--v-ink);
}
.concept-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--v-copper); }
.concept-note strong { font-weight: 700; }
.on-dark .concept-note { background: rgba(255, 255, 255, .04); border-color: var(--v-line-dark); color: #EDECE8; border-left-color: var(--v-copper-light); }

/* ---------- Filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 18px 0; border-top: 1px solid var(--v-line); border-bottom: 1px solid var(--v-line); }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.filter-label { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--v-muted); margin-right: 8px; align-self: center; }
.filter-btn {
  min-height: 44px; padding: 10px 18px; border: 1px solid var(--v-line); background: transparent;
  font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--v-ink); cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px; transition: border-color .25s, background-color .25s, color .25s;
}
.filter-btn:hover { border-color: var(--v-ink); }
.filter-btn[aria-pressed="true"] { background: var(--v-ink); border-color: var(--v-ink); color: #fff; }
.filter-btn .count { font-size: .7rem; color: var(--v-copper-ink); font-weight: 700; letter-spacing: .04em; }
.filter-btn[aria-pressed="true"] .count { color: var(--v-copper-light); }
.filter-status { font-size: .82rem; color: var(--v-muted); margin: 0; }
.is-filtered-out { display: none !important; }

.select-v { position: relative; }
.select-v select {
  appearance: none; -webkit-appearance: none; min-height: 44px; padding: 10px 44px 10px 16px;
  border: 1px solid var(--v-line); background: transparent; border-radius: 0;
  font-family: var(--v-font-body); font-size: .86rem; font-weight: 600; color: var(--v-ink); cursor: pointer; max-width: 100%;
}
.select-v::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; margin-top: -6px;
  border-right: 1.5px solid var(--v-ink); border-bottom: 1.5px solid var(--v-ink); transform: rotate(45deg); pointer-events: none;
}
.select-v select:hover { border-color: var(--v-ink); }

/* ---------- Forms ---------- */
.form-v { display: grid; gap: 26px; }
.field { display: grid; gap: 9px; min-width: 0; }
.field label, .field legend, .field-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--v-ink); margin: 0; padding: 0; float: none; width: auto;
}
.field .req { color: var(--v-copper-ink); margin-left: 3px; }
.field .opt { color: var(--v-muted); font-weight: 600; letter-spacing: .08em; text-transform: none; margin-left: 6px; }
.input-v {
  width: 100%; min-height: 54px; padding: 14px 16px;
  font-family: var(--v-font-body); font-size: 1rem; font-weight: 500; color: var(--v-ink);
  background: var(--v-white); border: 1px solid #C9C6BF; border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
}
textarea.input-v { min-height: 150px; resize: vertical; line-height: 1.6; }
select.input-v {
  appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23232629' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.input-v::placeholder { color: #8F908C; }
.input-v:hover { border-color: #9E9B94; }
.input-v:focus { outline: none; border-color: var(--v-ink); box-shadow: 0 0 0 3px rgba(166, 106, 66, .28); }
.field.is-invalid .input-v { border-color: var(--v-danger); }
.field.is-invalid .input-v:focus { box-shadow: 0 0 0 3px rgba(156, 59, 46, .22); }
.field-hint { font-size: .8rem; color: var(--v-muted); margin: 0; }
.field-error { display: none; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--v-danger); margin: 0; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--v-danger); color: #fff; font-size: .66rem; font-weight: 800; flex: none; }
.field.is-invalid .field-error { display: flex; }

.choice-group { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; flex: 1 1 150px; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 16px;
  border: 1px solid #C9C6BF; background: var(--v-white); font-size: .92rem; font-weight: 600; transition: border-color .2s, background-color .2s;
}
.choice span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--v-mid); flex: none; transition: border .2s, box-shadow .2s; }
.choice input:hover + span { border-color: #9E9B94; }
.choice input:checked + span { border-color: var(--v-ink); }
.choice input:checked + span::before { border: 5px solid var(--v-copper); }
.choice input:focus-visible + span { outline: 2px solid var(--v-copper); outline-offset: 2px; }
.field.is-invalid .choice span { border-color: var(--v-danger); }

.check { display: flex; gap: 14px; align-items: flex-start; font-size: .88rem; line-height: 1.55; color: var(--v-muted); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 1.5px solid var(--v-mid); background: var(--v-white); flex: none; margin-top: 1px; cursor: pointer; display: grid; place-items: center; border-radius: 0; }
.check input:checked { background: var(--v-ink); border-color: var(--v-ink); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.field.is-invalid .check input { border-color: var(--v-danger); }

.form-summary { display: none; padding: 16px 18px; border: 1px solid var(--v-danger); border-left-width: 3px; background: #FBF4F2; font-size: .9rem; color: var(--v-ink); }
.form-summary.is-visible { display: block; }
.form-summary strong { color: var(--v-danger); display: block; margin-bottom: 6px; }
.form-summary ul { margin: 0; padding-left: 18px; }
.form-summary a { text-decoration: underline; text-underline-offset: 3px; }
.form-result { display: none; padding: 18px 20px; border: 1px solid var(--v-ink); border-left: 3px solid var(--v-copper); background: var(--v-white); font-size: .92rem; line-height: 1.6; }
.form-result.is-visible { display: block; }
.form-result strong { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 6px; color: var(--v-copper-ink); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-actions .field-hint { max-width: 34ch; }

/* ---------- Reveal (progressive; visible without JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--v-ease), transform 1s var(--v-ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="delay"] { transition-delay: .12s; }

/* ---------- Utilities ---------- */
.visually-hidden-v { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.mw-38 { max-width: 38ch; }
.mw-46 { max-width: 46ch; }
.mw-60 { max-width: 60ch; }
.gap-section > * + * { margin-top: var(--v-section-sm); }
.stack > * + * { margin-top: 1.1em; }
.text-balance { text-wrap: balance; }
.nowrap { white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .header-inner { gap: 16px; }
  .brand-name { font-size: 1.36rem; }
  .brand-sub { font-size: .5rem; letter-spacing: .3em; }
}
@media (max-width: 575.98px) {
  body { font-size: .98rem; }
  .meta-list { grid-template-columns: 1fr 1fr; }
  .meta-list dd { font-size: .94rem; }
  .btn-row .btn-v { flex: 1 1 100%; }
  .hero-foot { gap: 16px; }
  .section-head { margin-bottom: 40px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  a:hover .media-zoom img, .media-zoom:hover img { transform: none; }
}

/* ---------- Late additions: helpers + reveal fail-safe ---------- */
.btn-row--wide { gap: 18px 32px; align-items: center; }
.mw-24 { max-width: 24ch; }
/* If main.js never runs, revealed content still appears after a short delay */
@keyframes v-reveal-failsafe { to { opacity: 1; transform: none; } }
.js:not(.js-ready) [data-reveal] { animation: v-reveal-failsafe .6s ease 2.5s forwards; }
@media (max-width: 767.98px) {
  .hero::after {
    background:
      linear-gradient(to top, rgba(16, 17, 18, .9) 0%, rgba(16, 17, 18, .62) 45%, rgba(16, 17, 18, .25) 75%, rgba(16, 17, 18, .35) 100%);
  }
}

/* ---------- Social icons ---------- */
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.social a {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--v-line-dark); color: #EDECE8;
  transition: border-color .3s var(--v-ease), color .3s var(--v-ease), background-color .3s var(--v-ease);
}
.social a:hover { border-color: var(--v-copper-light); color: var(--v-copper-light); }
.social svg { width: 18px; height: 18px; }
.social--light a { border-color: var(--v-line); color: var(--v-ink); background: var(--v-white); }
.social--light a:hover { border-color: var(--v-copper); color: var(--v-copper-ink); }
.site-footer .social { margin-top: 26px; }
.mobile-nav-foot .social a { border-bottom: 1px solid var(--v-line-dark); }

/* ---------- Footer phone ---------- */
.footer-phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 1rem; font-weight: 550; letter-spacing: .02em; }
.footer-phone svg { width: 16px; height: 16px; color: var(--v-copper-light); flex: none; }
.footer-hours { margin: 6px 0 0; font-size: .8rem; color: var(--v-muted-dark); }
.mobile-nav-foot p { line-height: 1.9; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 1020;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--v-ink); color: #fff; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
  transition: opacity .35s var(--v-ease), transform .35s var(--v-ease), visibility .35s, background-color .3s var(--v-ease);
}
.to-top:hover, .to-top:focus-visible { background: var(--v-night); color: var(--v-copper-light); }
.to-top:focus-visible { outline: 2px solid var(--v-copper); outline-offset: 3px; }
.to-top-arrow { width: 12px; height: 16px; position: relative; transition: transform .35s var(--v-ease); }
.to-top:hover .to-top-arrow { transform: translateY(-2px); }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.to-top-ring circle { fill: none; stroke-width: 1.5; }
.to-top-track { stroke: rgba(255, 255, 255, .14); }
.to-top-progress { stroke: var(--v-copper-light); stroke-dasharray: 150.8; stroke-dashoffset: 150.8; transition: stroke-dashoffset .12s linear; }
.js .to-top:not(.is-visible) { opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none; }
body.lb-lock .to-top { display: none; }

/* ---------- Language switcher ---------- */
/* Native select is the no-JS fallback; the custom listbox replaces it when JS runs. */
.lang { position: relative; flex: none; }
.lang-custom { display: none; }
.js .lang-custom { display: block; }
.js .lang-native { display: none; }
.lang-native select {
  min-height: 40px; padding: 6px 30px 6px 10px; border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit;
  font-family: var(--v-font-body); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.lang-native select option { color: var(--v-ink); }

.lang-flag {
  display: inline-block; width: 22px; height: 15px; flex: none; overflow: hidden; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(35, 38, 41, .14);
}
.lang-flag svg { width: 100%; height: 100%; display: block; }

.lang-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px 0 11px;
  background: transparent; color: inherit; border: 1px solid var(--v-line); border-radius: 0; cursor: pointer;
  font-family: var(--v-font-body); font-size: .74rem; font-weight: 700; letter-spacing: .16em; line-height: 1;
  transition: border-color .3s var(--v-ease), background-color .3s var(--v-ease), color .3s var(--v-ease);
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--v-ink); }
.lang-code { min-width: 1.6em; }
.lang-chevron { width: 10px; height: 6px; opacity: .7; transition: transform .35s var(--v-ease); }
.lang-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.has-hero .site-header:not(.is-scrolled) .lang-btn { border-color: rgba(255, 255, 255, .42); }
.has-hero .site-header:not(.is-scrolled) .lang-btn:hover,
.has-hero .site-header:not(.is-scrolled) .lang-btn[aria-expanded="true"] { border-color: #fff; background: rgba(255, 255, 255, .08); }
.has-hero .site-header:not(.is-scrolled) .lang-btn .lang-flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }

.lang-panel {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 5; width: 272px;
  background: var(--v-white); color: var(--v-ink); border: 1px solid var(--v-line);
  box-shadow: 0 28px 56px -28px rgba(24, 26, 28, .38), 0 2px 6px rgba(24, 26, 28, .05);
  padding: 8px; transform-origin: top right;
  animation: lang-in .28s var(--v-ease);
}
.lang-panel::before { /* small pointer */
  content: ""; position: absolute; top: -6px; right: 22px; width: 10px; height: 10px;
  background: var(--v-white); border-left: 1px solid var(--v-line); border-top: 1px solid var(--v-line); transform: rotate(45deg);
}
@keyframes lang-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.lang-panel-title {
  display: flex; align-items: center; gap: 10px; margin: 6px 10px 8px;
  font-size: .64rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--v-copper-ink);
}
.lang-panel-title::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.lang-list { list-style: none; margin: 0; padding: 0; outline: none; }
.lang-option {
  position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 16px; align-items: center; gap: 14px;
  min-height: 54px; padding: 8px 12px; cursor: pointer; color: var(--v-ink);
  transition: background-color .2s var(--v-ease);
}
.lang-option .lang-flag { width: 26px; height: 18px; }
.lang-option::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: var(--v-copper); transform: scaleY(0); transition: transform .3s var(--v-ease); }
.lang-name { display: flex; flex-direction: column; gap: 3px; font-size: .95rem; font-weight: 600; line-height: 1.2; letter-spacing: 0; }
.lang-name small { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--v-muted); }
.lang-code-sm { font-size: .66rem; font-weight: 700; letter-spacing: .16em; color: var(--v-muted); }
.lang-check { width: 14px; height: 10px; color: var(--v-copper); opacity: 0; transition: opacity .2s; }
.lang-check svg { width: 14px; height: 10px; display: block; }
.lang-option.is-active { background: var(--v-paper); }
.lang-list:focus-visible .lang-option.is-active { outline: 2px solid var(--v-copper); outline-offset: -2px; }
.lang-option[aria-selected="true"]::before { transform: scaleY(1); }
.lang-option[aria-selected="true"] .lang-check { opacity: 1; }
.lang-option[aria-selected="true"] .lang-code-sm { color: var(--v-copper-ink); }
.lang-panel-note { margin: 6px 0 0; padding: 12px 12px 6px; border-top: 1px solid var(--v-line); font-size: .74rem; line-height: 1.5; color: var(--v-muted); }

.lang-toast {
  position: absolute; top: calc(100% + 12px); right: 0; width: 272px; margin: 0; z-index: 4;
  padding: 12px 14px; background: var(--v-night); color: #EDECE8; border-left: 2px solid var(--v-copper-light);
  font-size: .8rem; line-height: 1.5; letter-spacing: 0; text-transform: none; font-weight: 500;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .3s, transform .3s, visibility .3s;
  pointer-events: none;
}
.lang-toast.is-visible { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 1199.98px) and (min-width: 992px) {
  .header-inner { gap: 20px; }
  .main-nav ul { gap: 20px; }
  .main-nav a { letter-spacing: .1em; font-size: .76rem; }
  .header-cta { margin-left: 0; padding: 10px 14px; }
}
@media (max-width: 991.98px) {
  .lang-btn { min-height: 40px; padding: 0 9px; gap: 8px; }
  .lang-panel, .lang-toast { width: min(272px, calc(100vw - 32px)); right: -58px; }
  .lang-panel::before { right: 80px; }
}
@media (prefers-reduced-motion: reduce) { .lang-panel { animation: none; } }
.lang-native { display: flex; align-items: center; gap: 6px; }
.lang-native button {
  min-height: 40px; padding: 6px 12px; border: 1px solid currentColor; background: transparent; color: inherit; border-radius: 0; cursor: pointer;
  font-family: var(--v-font-body); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
