/* ==========================================================================
   Rivada — rivadavilla.com  (Villa: /  ·  Arsa: /arsa/)
   ========================================================================== */

:root {
  --paper: #f6f2ea;
  --paper-2: #eee8dc;
  --paper-3: #e5ddcd;
  --ink: #1f1d1a;
  --ink-soft: #57524a;
  --ink-mute: #8f887c;
  --rule: rgba(31, 29, 26, 0.13);
  --night: #151412;
  --night-2: #1e1c19;
  --on-night: #efe9dd;
  --on-night-soft: rgba(239, 233, 221, 0.66);
  --rule-night: rgba(239, 233, 221, 0.14);

  /* Section accent — villa (bronze) by default, arsa overrides */
  --accent: #96764a;
  --accent-soft: #cfb78d;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(16px, 5vw, 72px);
  --section-y: clamp(88px, 13vw, 176px);
  --header-h: 84px;

  --ease: cubic-bezier(.22, .7, .18, 1);
}

.theme-arsa {
  --accent: #66704f;
  --accent-soft: #b8bf98;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: var(--paper);
  font-size: 13px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink-mute);
}
.label::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }
.label--plain::before { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  color: var(--on-night);
  transition: background-color .45s var(--ease), color .45s var(--ease), height .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  --header-h: 68px;
  color: var(--ink);
  background: rgba(246, 242, 234, 0.92);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--rule);
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; justify-self: start; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 13px; font-weight: 400; letter-spacing: 0.42em; }
.brand-sub { margin-top: 5px; font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0.04em; color: var(--accent-soft); }
.site-header.is-solid .brand-sub { color: var(--accent); }

.nav { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav a {
  position: relative; text-decoration: none;
  font-size: 12px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: .82; transition: opacity .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-end { justify-self: end; display: flex; align-items: center; gap: 14px; }

/* Villa / Arsa switch */
.switch {
  display: inline-flex; padding: 3px; border-radius: 999px;
  border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent);
}
.switch a {
  padding: 7px 16px; border-radius: 999px; text-decoration: none;
  font-size: 11px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase;
  opacity: .78; transition: background-color .35s, color .35s, opacity .35s;
}
.switch a:hover { opacity: 1; }
.switch a[aria-current="page"] { opacity: 1; background: var(--on-night); color: var(--ink); }
.site-header.is-solid .switch a[aria-current="page"] { background: var(--ink); color: var(--paper); }

.menu-btn {
  display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
  position: relative;
}
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: var(--night); color: var(--on-night);
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px var(--gutter) 48px;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.menu-open .drawer { opacity: 1; visibility: visible; }
.drawer nav { display: grid; gap: 6px; }
.drawer nav a {
  font-family: var(--serif); font-size: clamp(34px, 9vw, 52px); line-height: 1.2; text-decoration: none;
}
.drawer .drawer-foot { margin-top: 48px; display: grid; gap: 10px; font-size: 14px; color: var(--on-night-soft); }
.drawer .drawer-foot a { text-decoration: none; }
.menu-open .site-header { color: var(--on-night); background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .site-header .switch a[aria-current="page"] { background: var(--on-night); color: var(--ink); }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--on-night); background: var(--night);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 50% 60%);
  transform: scale(1.08); animation: hero-zoom 14s var(--ease) forwards;
}
@keyframes hero-zoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,13,11,.72) 0%, rgba(14,13,11,.45) 38%, rgba(14,13,11,0) 70%),
    linear-gradient(180deg, rgba(14,13,11,.6) 0%, rgba(14,13,11,.15) 30%, rgba(14,13,11,.3) 60%, rgba(14,13,11,.9) 100%);
}
.hero-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 160px var(--gutter) 0; }
.hero .label { color: var(--accent-soft); }
.hero-title {
  margin-top: 28px;
  font-size: clamp(40px, 6.6vw, 100px);
  font-weight: 300; line-height: .98; letter-spacing: -0.02em;
}
.hero-title em { display: block; font-style: italic; color: var(--accent-soft); padding-left: .4em; }
.hero-lede { margin-top: 32px; max-width: 46ch; font-size: clamp(16px, 1.3vw, 18px); color: var(--on-night-soft); }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-facts {
  width: 100%; max-width: var(--maxw); margin: clamp(56px, 9vh, 96px) auto 0; padding: 0 var(--gutter);
}
.hero-facts dl {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: 0;
  border-top: 1px solid var(--rule-night);
}
.hero-facts div { padding: 22px 0 34px; }
.hero-facts div + div { padding-left: 28px; border-left: 1px solid var(--rule-night); }
.hero-facts dt { font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-night-soft); }
.hero-facts dd { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 150px; z-index: 1;
  writing-mode: vertical-rl; font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--on-night-soft);
  display: flex; align-items: center; gap: 14px; text-decoration: none;
}
.scroll-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--on-night-soft), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 28px;
  border: 1px solid var(--btn-bd); border-radius: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 400 11.5px/1 var(--sans); letter-spacing: 0.26em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--light { --btn-bg: var(--on-night); --btn-fg: var(--ink); --btn-bd: var(--on-night); }
.btn--light:hover { --btn-bg: transparent; --btn-fg: var(--on-night); }
.btn--line-light { --btn-bd: rgba(239,233,221,.45); --btn-fg: var(--on-night); }
.btn--line-light:hover { --btn-bg: var(--on-night); --btn-fg: var(--ink); --btn-bd: var(--on-night); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: var(--accent); --btn-bd: var(--accent); }
.btn--line { --btn-bd: var(--rule); --btn-fg: var(--ink); }
.btn--line:hover { --btn-bd: var(--ink); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-size: 11.5px; letter-spacing: 0.26em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.text-link .arrow { transition: transform .4s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--paper-2); }
.section--night { background: var(--night); color: var(--on-night); }
.section--night .label { color: var(--on-night-soft); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.section-head h2 { margin-top: 22px; font-size: clamp(38px, 5.2vw, 72px); font-weight: 300; }
.section-head h2 em { font-style: italic; color: var(--accent); }
.section--night .section-head h2 em { color: var(--accent-soft); }
.section-head p { max-width: 52ch; color: var(--ink-soft); }
.section--night .section-head p { color: var(--on-night-soft); }

/* Intro */
.intro {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 8vw, 128px); align-items: start;
}
.intro-statement {
  margin-top: 28px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 3.6vw, 50px); line-height: 1.18; letter-spacing: -0.01em;
}
.intro-statement em { font-style: italic; color: var(--accent); }
.intro-body { padding-top: 54px; color: var(--ink-soft); }
.intro-body p + p { margin-top: 18px; }
.intro-body .text-link { margin-top: 36px; color: var(--ink); }

.facts { margin: 44px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.facts li { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.facts span:first-child { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-mute); padding-top: 6px; }
.facts span:last-child { font-family: var(--serif); font-size: 24px; line-height: 1.2; text-align: right; }

/* Gallery */
.gallery {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 21vw, 300px);
  gap: clamp(10px, 1.4vw, 20px);
}
.shot {
  position: relative; margin: 0; overflow: hidden; background: var(--paper-3);
  cursor: zoom-in;
}
.shot button { all: unset; position: absolute; inset: 0; cursor: zoom-in; }
.shot button:focus-visible { outline: 1px solid var(--accent); outline-offset: -6px; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1.4s var(--ease); filter: saturate(.9); }
.shot:hover img { transform: scale(1.04); filter: saturate(1); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px;
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
  font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.5));
  pointer-events: none;
}
.shot figcaption i { font-style: normal; font-family: var(--serif); font-size: 15px; letter-spacing: .04em; opacity: .8; }
.shot--a { grid-column: 1 / 6; grid-row: span 2; }
.shot--b { grid-column: 6 / 13; }
.shot--c { grid-column: 6 / 9; }
.shot--d { grid-column: 9 / 13; }
.shot--e { grid-column: 1 / 8; }
.shot--f { grid-column: 8 / 13; }
.shot--f img { object-position: 50% 45%; }
.gallery-foot { margin-top: 36px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.gallery-foot p { color: var(--ink-mute); font-size: 14px; max-width: 60ch; }

/* Location (night) */
.location { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.location-maps { display: grid; gap: clamp(10px, 1.4vw, 20px); }
.map-frame { position: relative; margin: 0; overflow: hidden; background: var(--night-2); }
.map-frame--aerial { aspect-ratio: 16 / 10.5; }
.map-frame--aerial img { width: 100%; height: 100%; object-fit: cover; }
.map-frame--street { aspect-ratio: 16 / 7; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.95) brightness(.92); }
.map-tag {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  padding: 7px 12px; background: rgba(21,20,18,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-night);
}
.map-pin { position: absolute; z-index: 2; left: var(--x, 50%); top: var(--y, 50%); text-decoration: none; }
.pin { position: absolute; left: 0; top: 0; width: 14px; height: 14px; transform: translate(-50%, -50%); }
.pin::before, .pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.pin::before { background: var(--on-night); box-shadow: 0 0 0 4px var(--accent); }
.pin::after { border: 1px solid var(--on-night); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }
.pin-label {
  position: absolute; left: 16px; top: 0; transform: translateY(-50%); white-space: nowrap;
  padding: 6px 10px; background: rgba(21,20,18,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: #fff;
  transition: background-color .3s;
}
a.map-pin:hover .pin-label { background: var(--accent); }
.map-pin--left .pin-label { left: auto; right: 16px; }

.location-copy { display: flex; flex-direction: column; }
.location-copy h3 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 300; line-height: 1.15; }
.location-copy > p { margin-top: 22px; color: var(--on-night-soft); }
.addr { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-night); }
.addr li { padding: 18px 0; border-bottom: 1px solid var(--rule-night); }
.addr small { display: block; font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-night-soft); }
.addr span { display: block; margin-top: 6px; font-family: var(--serif); font-size: 22px; line-height: 1.3; }
.location-copy .actions { margin-top: auto; padding-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Technical dossier */
.dossier { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.spec { width: 100%; border-collapse: collapse; }
.spec caption { text-align: left; padding-bottom: 18px; }
.spec th, .spec td { padding: 17px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: baseline; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--rule); }
.spec th { font-weight: 300; font-size: 15px; color: var(--ink-soft); }
.spec td { font-family: var(--serif); font-size: 24px; text-align: right; white-space: nowrap; }
.spec tr.total th { color: var(--ink); font-weight: 400; }
.spec tr.total td { font-size: 30px; color: var(--accent); }
.spec + .spec { margin-top: 44px; }
.docs { margin-top: 44px; display: grid; gap: 10px; }
.doc {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 18px 20px; border: 1px solid var(--rule); background: rgba(255,255,255,.35);
  text-decoration: none; transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.doc:hover { border-color: var(--ink); background: rgba(255,255,255,.7); }
.doc svg { width: 22px; height: 22px; color: var(--accent); }
.doc strong { display: block; font-weight: 400; font-size: 15px; }
.doc small { display: block; font-size: 12px; color: var(--ink-mute); letter-spacing: .04em; }
.doc .arrow { color: var(--ink-mute); transition: transform .4s var(--ease), color .4s; }
.doc:hover .arrow { transform: translate(3px, -3px); color: var(--ink); }

.plan { margin: 0; }
.plan-frame { position: relative; background: #fff; padding: clamp(10px, 2vw, 28px); border: 1px solid var(--rule); }
.plan-frame button { all: unset; display: block; cursor: zoom-in; }
.plan-frame img { width: 100%; }
.plan figcaption { margin-top: 16px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--ink-mute); }

/* Cross-link band (villa <-> arsa) */
.crosslink { display: block; text-decoration: none; position: relative; isolation: isolate; overflow: hidden; color: var(--on-night); background: var(--night); }
.crosslink-media { position: absolute; inset: 0; z-index: -2; }
.crosslink-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--cl-pos, 50% 50%); transition: transform 1.6s var(--ease); }
.crosslink:hover .crosslink-media img { transform: scale(1.03); }
.crosslink::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,13,11,.88) 0%, rgba(14,13,11,.55) 55%, rgba(14,13,11,.25) 100%); }
.crosslink .wrap { padding-top: clamp(96px, 14vw, 180px); padding-bottom: clamp(96px, 14vw, 180px); }
.crosslink .label { color: var(--accent-soft); }
.crosslink h2 { margin-top: 24px; max-width: 15ch; font-size: clamp(38px, 5.4vw, 76px); font-weight: 300; }
.crosslink h2 em { font-style: italic; color: var(--accent-soft); }
.crosslink p { margin-top: 24px; max-width: 46ch; color: var(--on-night-soft); }
.crosslink .btn { margin-top: 40px; }
.crosslink--arsa { --accent-soft: #b8bf98; }
.crosslink--villa { --accent-soft: #cfb78d; }

/* Contact */
.contact { text-align: center; }
.contact .label { justify-content: center; }
.contact .label::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }
.contact h2 { margin: 26px auto 0; max-width: 16ch; font-size: clamp(42px, 6.4vw, 92px); font-weight: 300; }
.contact h2 em { font-style: italic; color: var(--accent); }
.contact-lede { margin: 26px auto 0; max-width: 50ch; color: var(--ink-soft); }
.contact-actions { margin-top: 48px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.channels {
  margin: clamp(64px, 9vw, 112px) 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); text-align: left;
}
.channels li { padding: 26px 24px 0 0; }
.channels li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.channels small { display: block; font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-mute); }
.channels a, .channels span { display: inline-block; margin-top: 8px; font-family: var(--serif); font-size: 21px; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.channels a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.channels a:hover { background-size: 100% 1px; }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-soft); padding: clamp(64px, 8vw, 104px) 0 36px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--rule-night); }
.footer-brand { display: flex; align-items: center; gap: 16px; color: var(--on-night); }
.footer-brand svg { width: 48px; height: 48px; }
.footer-brand p { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.footer-brand p em { display: block; font-size: 16px; color: var(--on-night-soft); }
.footer-col h4 { margin: 0 0 16px; font-size: 10.5px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-night); }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-col a { text-decoration: none; transition: color .3s; }
.footer-col a:hover { color: var(--on-night); }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; letter-spacing: .06em; }

/* WhatsApp */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  box-shadow: 0 14px 32px rgba(0,0,0,.22);
  transition: transform .4s var(--ease), background-color .4s var(--ease), opacity .4s, visibility .4s;
  opacity: 0; visibility: hidden; transform: translateY(12px);
}
.wa.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa:hover { background: #1f8f4e; }
.wa svg { width: 24px; height: 24px; }
.wa::after {
  content: attr(data-tip); position: absolute; right: 68px; top: 50%; transform: translate(6px, -50%);
  padding: 8px 12px; white-space: nowrap; background: var(--ink); color: var(--paper);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.wa:hover::after { opacity: 1; transform: translate(0, -50%); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; grid-template-columns: 72px 1fr 72px; grid-template-rows: 72px 1fr 64px; align-items: center;
  background: rgba(14, 13, 11, .96); color: var(--on-night);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { grid-column: 2; grid-row: 2; margin: 0; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .lb-caption { grid-column: 2; grid-row: 3; text-align: center; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--on-night-soft); }
.lb-btn { all: unset; cursor: pointer; display: grid; place-items: center; width: 48px; height: 48px; justify-self: center; border-radius: 50%; transition: background-color .3s; }
.lb-btn:hover { background: rgba(255,255,255,.08); }
.lb-btn:focus-visible { outline: 1px solid var(--on-night); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { grid-column: 3; grid-row: 1; }
.lb-prev { grid-column: 1; grid-row: 2; }
.lb-next { grid-column: 3; grid-row: 2; }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next { display: none; }

/* ---------- Riva points ---------- */
.points { margin: 0; padding: 0; list-style: none; counter-reset: pt; border-top: 1px solid var(--rule-night); }
.points li { counter-increment: pt; position: relative; padding: 22px 0 22px 52px; border-bottom: 1px solid var(--rule-night); }
.points li::before { content: counter(pt, decimal-leading-zero); position: absolute; left: 0; top: 26px; font-family: var(--serif); font-size: 17px; color: var(--accent-soft); }
.points h3 { font-size: 26px; font-weight: 400; }
.points p { margin-top: 6px; color: var(--on-night-soft); font-size: 15px; }

/* ---------- Hero quick links ---------- */
.hero-facts dd a { text-decoration: none; display: inline-flex; align-items: baseline; gap: 10px; transition: color .3s; }
.hero-facts dd a .arrow { font-family: var(--sans); font-size: 16px; transition: transform .4s var(--ease); }
.hero-facts dd a:hover { color: var(--accent-soft); }
.hero-facts dd a:hover .arrow { transform: translateX(4px); }

/* ---------- Portfolio cards ---------- */
.listing-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: -24px 0 32px; }
.count { font-size: 13px; letter-spacing: .08em; color: var(--ink-mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 18px; border: 1px solid var(--rule); background: transparent; color: var(--ink-soft); cursor: pointer;
  font: 400 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(18px, 2.2vw, 32px); }
.card { position: relative; min-width: 0; }
.card[hidden] { display: none; }
.card-link { display: block; height: 100%; text-decoration: none; color: inherit; }
.card-media { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; background: var(--paper-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1.4s var(--ease); filter: saturate(.92); }
.card-link:hover .card-media img { transform: scale(1.045); filter: saturate(1); }
.card-badges { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; }
.badge { padding: 7px 11px; background: rgba(246,242,234,.94); color: var(--ink); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; line-height: 1; }
.badge--dark { background: rgba(21,20,18,.8); color: var(--on-night); }
.card-body { padding-top: 22px; }
.card-loc { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-mute); }
.card h3 { margin-top: 10px; font-size: clamp(25px, 2vw, 31px); font-weight: 400; line-height: 1.12; }
.card-specs { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); }
.card-specs li + li::before { content: "·"; margin: 0 10px; color: var(--ink-mute); }
.card-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-price { font-family: var(--serif); font-size: 24px; line-height: 1; }
.card-price--ask { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); }
.card-more { flex: none; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.card-more .arrow { display: inline-block; transition: transform .4s var(--ease); }
.card-link:hover .card-more .arrow { transform: translateX(4px); }
.card--soon {
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: clamp(28px, 3vw, 44px); border: 1px dashed rgba(31,29,26,.28); min-height: 360px;
}
.card--soon h3 { margin: 0; font-size: clamp(28px, 2.4vw, 36px); font-weight: 300; }
.card--soon h3 em { font-style: italic; color: var(--accent); }
.card--soon p:not(.label) { color: var(--ink-soft); font-size: 15px; }
.card--soon .text-link { align-self: flex-start; margin-top: 6px; }

/* ---------- Services ---------- */
.services { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.services li { padding: 32px 28px 8px 0; }
.services li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.services .num { font-family: var(--serif); font-size: 18px; color: var(--accent); }
.services h3 { margin-top: 18px; font-size: 27px; font-weight: 400; }
.services p { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }

/* ---------- Pages without hero (listing detail) ---------- */
.no-hero main { padding-top: 68px; }

.crumbs { padding-top: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); }
.crumbs a { text-decoration: none; transition: color .3s; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-soft); }

.listing-head { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.listing-head h1 { margin-top: 18px; font-size: clamp(40px, 5.6vw, 84px); font-weight: 300; line-height: 1; }
.listing-head .loc { margin-top: 16px; color: var(--ink-soft); }
.listing-price { text-align: right; }
.listing-price small { display: block; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-mute); }
.listing-price strong { display: block; margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1; }
.listing-price strong.ask { font-family: var(--sans); font-weight: 300; font-size: 15px; color: var(--ink-soft); }

.mosaic-wrap { position: relative; margin-top: clamp(32px, 4vw, 52px); }
.mosaic { display: grid; gap: clamp(8px, 1vw, 14px); grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(150px, 19vw, 290px)); }
.mosaic .shot:first-child { grid-row: span 2; }
.mosaic--1 { grid-template-columns: 1fr; grid-template-rows: clamp(260px, 44vw, 620px); }
.mosaic--1 .shot:first-child, .mosaic--2 .shot:first-child { grid-row: auto; }
.mosaic--2 { grid-template-columns: 3fr 2fr; grid-template-rows: clamp(240px, 34vw, 520px); }
.mosaic--3 { grid-template-columns: 2fr 1fr; }
.mosaic--4 .shot:nth-child(2) { grid-column: span 2; }
.mosaic-all { position: absolute; right: 16px; bottom: 16px; min-height: 42px; padding: 0 18px; font-size: 10.5px; }

.spec-bar { margin: clamp(28px, 4vw, 48px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.spec-bar div { padding: 22px 0 24px; }
.spec-bar div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.spec-bar dt { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-mute); }
.spec-bar dd { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }

.listing-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: start; padding: clamp(56px, 7vw, 96px) 0 clamp(80px, 10vw, 140px); }
.block + .block { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); }
.block h2 { margin: 20px 0 clamp(28px, 3.4vw, 44px); font-size: clamp(32px, 3.6vw, 52px); font-weight: 300; }
.block h2 em { font-style: italic; color: var(--accent); }
.prose { margin-top: 22px; max-width: 64ch; color: var(--ink-soft); }
.prose p + p { margin-top: 18px; }
.prose .lead { font-family: var(--serif); font-size: clamp(23px, 2vw, 28px); line-height: 1.35; color: var(--ink); }
.features { margin: 22px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.features li { padding: 14px 0 14px 26px; border-bottom: 1px solid var(--rule); position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: 26px; width: 12px; height: 1px; background: var(--accent); }
.block-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.listing-maps { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; }
.listing-maps .map-frame--aerial, .listing-maps .map-frame--street { aspect-ratio: 4 / 3; }
.map-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; }

.listing-aside { position: sticky; top: 96px; }
.contact-card { padding: clamp(26px, 2.6vw, 36px); background: rgba(255,255,255,.5); border: 1px solid var(--rule); display: grid; gap: 12px; }
.contact-card h3 { font-size: 28px; font-weight: 400; margin-top: 6px; }
.contact-card p:not(.label) { color: var(--ink-soft); font-size: 15px; margin-bottom: 8px; }
.contact-card .btn { width: 100%; }

/* Reveal on scroll (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .12s; }
.js [data-reveal="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-body { grid-template-columns: minmax(0, 1fr); }
  .listing-aside { position: static; }
  .contact-card { max-width: 560px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .site-header { grid-template-columns: 1fr auto; }
}
@media (max-width: 900px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services li:nth-child(3) { padding-left: 0; border-left: 0; }
  .services li:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 24px; }
  .spec-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-bar div:nth-child(3) { padding-left: 0; border-left: 0; }
  .spec-bar div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .listing-head { grid-template-columns: 1fr; }
  .listing-price { text-align: left; }
  .listing-maps { grid-template-columns: 1fr; }
  .mosaic, .mosaic--3 { grid-template-columns: 1fr 1fr; grid-template-rows: clamp(220px, 56vw, 420px) clamp(120px, 28vw, 220px); }
  .mosaic .shot:first-child { grid-row: auto; grid-column: 1 / -1; }
  .mosaic--4 .shot:nth-child(2) { grid-column: auto; }
  .mosaic .shot:nth-child(n+4) { display: none; }
  .mosaic--1, .mosaic--2 { grid-template-rows: auto; }
  .section-head, .intro, .location, .dossier { grid-template-columns: 1fr; }
  .intro-body { padding-top: 0; }
  .hero-facts dl { grid-template-columns: repeat(2, 1fr); }
  .hero-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-facts div:nth-child(n+3) { border-top: 1px solid var(--rule-night); padding-top: 18px; padding-bottom: 22px; }
  .scroll-cue { display: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 40vw, 320px); }
  .shot--a, .shot--b, .shot--c, .shot--d, .shot--e, .shot--f { grid-column: auto; grid-row: auto; }
  .shot--a { grid-row: span 2; }
  .shot--b, .shot--e { grid-column: 1 / -1; }
  .channels { grid-template-columns: repeat(2, 1fr); }
  .channels li:nth-child(3) { padding-left: 0; border-left: 0; }
  .channels li { padding-bottom: 26px; }
  .channels li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: 1fr; }
  .services li, .services li + li { padding: 26px 0 8px; border-left: 0; margin-top: 0; }
  .services li + li { border-top: 1px solid var(--rule); }
  .features { grid-template-columns: 1fr; }
  .spec-bar div + div { padding-left: 16px; }
  .spec-bar div:nth-child(3) { padding-left: 0; }
  .mosaic-all { right: 10px; bottom: 10px; }
  .pin-label { display: none; }
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .brand svg { width: 34px; height: 34px; }
  .brand-word { display: none; }
  .switch a { padding: 7px 12px; letter-spacing: .18em; }
  .hero-inner { padding-top: 120px; }
  .hero-title em { padding-left: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts div + div { padding-left: 16px; }
  .hero-facts div:nth-child(3) { padding-left: 0; }
  .spec td { font-size: 21px; }
  .spec tr.total td { font-size: 25px; }
  .channels { grid-template-columns: 1fr; }
  .channels li, .channels li + li { padding: 20px 0; border-left: 0; }
  .channels li + li { border-top: 1px solid var(--rule); }
  .contact-actions .btn { flex: 1 1 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 48px 1fr 48px; }
  .map-frame--street { aspect-ratio: 4 / 3; }
  .wa { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}

/* ==========================================================================
   v3 — softer, brighter look: centred logo, two-tone sans headings,
   rounded photo frames, photo band, numbered regions, icon services, form.
   ========================================================================== */
:root {
  --paper: #faf8f4;
  --paper-2: #f2eee7;
  --paper-3: #e9e3d8;
  --radius: 18px;
  --radius-sm: 12px;
}

/* Header — menu left, logo centred, switch right */
.site-header { grid-template-columns: 1fr auto 1fr; --header-h: 96px; }
.site-header.is-solid { --header-h: 74px; }
.nav { justify-self: start; }
.brand { justify-self: center; flex-direction: column; gap: 6px; text-align: center; }
.brand svg { width: 34px; height: 34px; transition: width .45s var(--ease), height .45s var(--ease); }
.site-header.is-solid .brand svg { width: 28px; height: 28px; }
.brand-word { align-items: center; }
.brand-name { font-size: 12px; letter-spacing: .5em; padding-left: .5em; }
.brand-sub { margin-top: 3px; font-size: 14px; }
.no-hero main { padding-top: 74px; }

/* Buttons — pill */
.btn { border-radius: 999px; }
.mosaic-all { border-radius: 999px; }

/* Two-tone sans headings */
.duo { font-family: var(--sans); letter-spacing: -0.015em; line-height: 1.06; }
.duo span, .duo strong { display: block; }
.duo span { font-weight: 300; }
.duo strong { font-weight: 500; }
h2.duo { font-size: clamp(34px, 4.4vw, 62px); font-weight: 300; }
.section--night .duo strong, .crosslink .duo strong { color: var(--accent-soft); }
.section-head h2.duo { margin-top: 20px; }

/* Rounded frames */
.shot, .card-media, .map-frame, .plan-frame, .doc, .contact-card, .card--soon { border-radius: var(--radius); overflow: hidden; }
.shot { border-radius: var(--radius-sm); }
.lightbox img { border-radius: var(--radius-sm); }

/* Intro split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.split-copy h2 { margin: 22px 0 28px; }
.split-copy p:not(.label) { color: var(--ink-soft); max-width: 54ch; }
.split-copy p + p { margin-top: 16px; }
.split-stats { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.split-stats div { padding: 20px 0 0; }
.split-stats div + div { padding-left: 22px; border-left: 1px solid var(--rule); }
.split-stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1; }
.split-stats span { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); }
.split-media { position: relative; margin: 0; aspect-ratio: 4 / 4.6; border-radius: var(--radius); overflow: hidden; background: var(--paper-3); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media figcaption { position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(250,248,244,.9); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; }

/* Photo band with statement */
.band { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(320px, 62vh, 620px); display: grid; place-items: center; padding: 64px var(--gutter); background: var(--night); }
.band-media { position: absolute; inset: 0; z-index: -2; }
.band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; transform: scale(1.04); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14,13,11,.5); }
.band-text { margin: 0; text-align: center; color: #fff; font-family: var(--sans); font-weight: 300; font-size: clamp(22px, 3.6vw, 48px); letter-spacing: .22em; text-transform: uppercase; line-height: 1.3; }
.band-text strong { font-weight: 600; color: var(--accent-soft); }

/* Portfolio cards — title over the photo */
.card-media { aspect-ratio: 4 / 4.4; }
.card-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 64px 22px 22px; background: linear-gradient(transparent, rgba(14,13,11,.72)); color: #fff; }
.card-overlay .card-loc { color: rgba(255,255,255,.78); }
.card-overlay h3 { margin-top: 8px; font-family: var(--sans); font-weight: 500; font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -0.01em; line-height: 1.15; }
.card-body { padding-top: 16px; }
.card-specs { margin-top: 0; }
.card--soon { background: rgba(255,255,255,.55); border-style: dashed; }
.card--soon h3.duo { font-size: clamp(28px, 2.4vw, 36px); }
.card--soon h3.duo strong { color: var(--accent); }

/* Riva — wide map + big numbers */
.map-frame--wide { margin: 0; aspect-ratio: 21 / 9; }
.map-frame--wide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.bignums { margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.bignum { display: block; font-family: var(--sans); font-weight: 200; font-size: clamp(64px, 7vw, 108px); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--accent-soft); }
.bignums h3 { margin-top: 18px; font-family: var(--sans); font-weight: 500; font-size: 21px; letter-spacing: -0.005em; }
.bignums p { margin-top: 8px; font-size: 15px; color: var(--on-night-soft); }

/* Services — icon grid */
.svc-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.svc-grid li { padding: clamp(26px, 2.6vw, 36px); border: 1px solid var(--rule); border-radius: var(--radius); background: rgba(255,255,255,.55); transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.svc-grid li:hover { border-color: var(--accent-soft); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(31,29,26,.06); }
.svc-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--paper-2); color: var(--accent); }
.svc-icon svg { width: 28px; height: 28px; }
.svc-grid h3 { margin-top: 22px; font-family: var(--sans); font-weight: 500; font-size: 20px; letter-spacing: -0.005em; }
.svc-grid p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }

/* Cross-link — rounded inset panel */
.crosslink-wrap { padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(24px, 4vw, 56px); }
.crosslink { border-radius: calc(var(--radius) + 6px); }
.crosslink-copy { padding: clamp(56px, 8vw, 120px) clamp(28px, 6vw, 96px); }
.crosslink-copy h2.duo { max-width: none; font-size: clamp(34px, 4.6vw, 64px); }

/* Contact — copy + form */
.contact { text-align: left; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact .label { justify-content: flex-start; }
.contact .label::after { display: none; }
.contact h2.duo { margin: 22px 0 0; max-width: none; font-size: clamp(36px, 4.6vw, 64px); font-weight: 300; }
.contact h2.duo strong { color: var(--accent); }
.contact-lede { margin: 24px 0 0; }
.channel-list { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.channel-list li { padding: 18px 0; border-top: 1px solid var(--rule); }
.channel-list small { display: block; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-mute); }
.channel-list a { display: inline-block; margin-top: 6px; font-family: var(--serif); font-size: 21px; text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.channel-list a:hover { background-size: 100% 1px; }

.contact-form { padding: clamp(28px, 3.4vw, 48px); border-radius: calc(var(--radius) + 6px); background: #fff; box-shadow: 0 30px 60px rgba(31,29,26,.07); display: grid; gap: 18px; }
.contact-form .label { margin-bottom: 4px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: transparent;
  font: 300 16px/1.4 var(--sans); color: var(--ink); transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238f887c' stroke-width='1.2'/%3E%3C/svg%3E") right 2px center / 12px 8px no-repeat; padding-right: 22px; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.contact-form .btn { margin-top: 8px; width: 100%; }
.form-note { font-size: 12px; color: var(--ink-mute); line-height: 1.5; }

/* Vertical "Bize ulaşın" tab */
.side-tab {
  position: fixed; right: 0; top: 50%; z-index: 70; transform: translateY(-50%);
  writing-mode: vertical-rl; padding: 20px 11px; border-radius: 12px 0 0 12px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase;
  transition: background-color .3s, padding .3s var(--ease);
}
.side-tab:hover { background: var(--accent); padding-right: 15px; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto 1fr; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split-media { aspect-ratio: 4 / 3; }
  .bignums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-frame--wide { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .site-header { --header-h: 74px; }
  .brand-word { display: flex; }
  .brand svg { width: 28px; height: 28px; }
  .brand-name { font-size: 10px; }
  .brand-sub { display: none; }
  .svc-grid, .channel-list { grid-template-columns: 1fr; }
  .split-stats div + div { padding-left: 14px; }
  .band-text { letter-spacing: .14em; }
  .side-tab { display: none; }
}

/* Header grid when the menu is hidden */
@media (max-width: 1080px) {
  .site-header .brand { grid-column: 2; }
  .site-header .header-end { grid-column: 3; }
}
@media (max-width: 560px) {
  .site-header { grid-template-columns: auto 1fr; }
  .site-header .brand { grid-column: 1; justify-self: start; }
  .site-header .header-end { grid-column: 2; }
}
