/* =========================================================
   VELAR · site styles
   Base: I-CODE concept /4 (light). Motion details: concept /3.
   Content is visible without JavaScript; motion is added on top (site.js).
   Logical properties (inline/block) keep the layout ready for an Arabic RTL build.
   ========================================================= */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* Brand (company profile) */
  --chocolate: #3B2418;
  --cream: #F7F2EB;
  --bronze: #A8703F;
  --bronze-text: #8A5E36;   /* bronze darkened for text and buttons on cream (AA contrast) */
  --gold-1: #C9A27A;
  --gold-2: #F0D5B5;
  --gold-gradient: linear-gradient(90deg, var(--gold-1), var(--gold-2));

  /* Supporting neutrals */
  --chocolate-2: #4A3022;
  --sand: #EFE6DA;
  --stone: #DCCFBF;
  --text: #4A3B31;
  --muted: #6F6054;
  --overlay: 36, 22, 14;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --header-h: 92px;
  --gutter: 24px;
}
@media (min-width: 1200px) { :root { --gutter: 48px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: var(--bronze-text); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--chocolate); font-weight: 400; line-height: 1.15; }
address { font-style: normal; }
::selection { background: var(--bronze); color: #fff; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.icon { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; vertical-align: -.125em; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

.container-xxl { padding-inline: var(--gutter); }

.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 2000; background: var(--chocolate); color: #fff; padding: 10px 18px; font-size: 14px; }
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--bronze-text);
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--gold-1); }
.text-center .eyebrow { justify-content: center; }

.section { padding-block: 130px; position: relative; }
@media (max-width: 991.98px) { .section { padding-block: 90px; } }
.section-head { margin-bottom: 64px; }
.section-title { font-size: clamp(36px, 4.4vw, 62px); font-weight: 300; margin-bottom: 28px; letter-spacing: -.01em; }
.section-title.light { color: #fff; }
.lead-text { font-family: var(--serif); font-size: clamp(22px, 2vw, 26px); line-height: 1.45; color: var(--chocolate); }
.text-light-soft { color: rgba(247, 242, 235, .78); }

/* ---------- Buttons ---------- */
.btn-velar, .btn-velar-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 18px 34px; border: 1px solid var(--bronze-text);
  position: relative; overflow: hidden; z-index: 1;
  transition: color .5s var(--ease), border-color .5s;
  cursor: pointer;
}
.btn-velar { background: var(--bronze-text); color: #fff; }
.btn-velar::before, .btn-velar-outline::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
}
.btn-velar::before { background: var(--chocolate); }
.btn-velar:hover { color: #fff; border-color: var(--chocolate); }
.btn-velar:hover::before, .btn-velar-outline:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-velar-outline { color: var(--chocolate); background: transparent; }
.btn-velar-outline::before { background: var(--bronze-text); }
.btn-velar-outline:hover { color: #fff; }
.btn-velar-sm { padding: 13px 22px; }
.btn-velar[disabled] { opacity: .6; pointer-events: none; }
.btn-link-light { color: #fff; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; display: inline-flex; align-items: center; gap: 10px; }
.btn-link-light .icon { transition: transform .4s var(--ease-out); }
.btn-link-light:hover { color: var(--gold-2); }
.btn-link-light:hover .icon { transform: translateX(6px); }
.btn-link-dark { color: var(--chocolate); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; display: inline-flex; align-items: center; gap: 10px; }
.btn-link-dark:hover { color: var(--bronze-text); }
[dir="rtl"] .btn-link-light:hover .icon { transform: scaleX(-1) translateX(6px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .5s, height .5s, box-shadow .5s, transform .5s var(--ease);
}
.site-header .container-xxl { width: 100%; }
.site-header.scrolled, .site-header.is-solid {
  background: rgba(247, 242, 235, .94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  height: 74px; box-shadow: 0 1px 0 rgba(59, 36, 24, .08);
}
.site-header.hide { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 62px; width: auto; transition: height .5s; }
.brand-logo-dark { display: none; }
.site-header.scrolled .brand-logo, .site-header.is-solid .brand-logo { height: 50px; }
.site-header.scrolled .brand-logo-light, .site-header.is-solid .brand-logo-light { display: none; }
.site-header.scrolled .brand-logo-dark, .site-header.is-solid .brand-logo-dark { display: block; }

.main-nav ul { list-style: none; display: flex; gap: 38px; margin: 0; padding: 0; }
.main-nav a {
  color: #fff; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  position: relative; padding-block: 6px;
}
.main-nav a::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold-1); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-2); }
.site-header.scrolled .main-nav a, .site-header.is-solid .main-nav a { color: var(--chocolate); }
.site-header.scrolled .main-nav a:hover, .site-header.scrolled .main-nav a.active,
.site-header.is-solid .main-nav a:hover, .site-header.is-solid .main-nav a.active { color: var(--bronze-text); }

.menu-toggle { width: 46px; height: 46px; background: none; border: 1px solid rgba(255, 255, 255, .5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-toggle span { width: 20px; height: 1px; background: #fff; transition: .3s; }
.menu-toggle span:last-child { width: 12px; margin-inline-start: 8px; }
.site-header.scrolled .menu-toggle, .site-header.is-solid .menu-toggle { border-color: var(--stone); }
.site-header.scrolled .menu-toggle span, .site-header.is-solid .menu-toggle span { background: var(--chocolate); }

.mobile-menu { background: var(--cream); width: 100% !important; max-width: 420px; }
.mobile-menu-logo { height: 54px; width: auto; }
.mobile-links { list-style: none; padding: 20px 0; margin: 0; }
.mobile-links li { border-bottom: 1px solid var(--stone); }
.mobile-links a { display: block; font-family: var(--serif); font-size: 34px; color: var(--chocolate); padding-block: 12px; }
.mobile-contact a { font-family: var(--serif); font-size: 26px; color: var(--bronze-text); }
.mobile-contact p { font-size: 15px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--chocolate); }
.hero-swiper { position: absolute !important; inset: 0; height: 100%; width: 100%; }
.hero-swiper .swiper-slide { height: 100%; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 7.5s linear; }
.hero-swiper .swiper-slide-active .hero-img, .hero-swiper:not(.swiper-initialized) .swiper-slide:first-child .hero-img { transform: scale(1.01); }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(var(--overlay), .8) 0%, rgba(var(--overlay), .48) 45%, rgba(var(--overlay), .12) 100%),
    linear-gradient(0deg, rgba(var(--overlay), .6) 0%, transparent 38%);
}
[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(var(--overlay), .8) 0%, rgba(var(--overlay), .48) 45%, rgba(var(--overlay), .12) 100%),
    linear-gradient(0deg, rgba(var(--overlay), .6) 0%, transparent 38%);
}
.hero-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; }
.hero-title { font-size: clamp(52px, 8.4vw, 128px); color: #fff; font-weight: 300; line-height: .98; letter-spacing: -.02em; margin-bottom: 30px; }
.hero-title em { font-style: italic; color: var(--gold-2); }

/* Split-line reveal (from /3). Pure CSS so the title never waits for JavaScript. */
.line-reveal .line { display: block; overflow: hidden; padding-bottom: .08em; }
.line-reveal .line > span { display: inline-block; animation: lineUp 1.3s var(--ease-out) .15s both; }
.line-reveal .line:nth-child(2) > span { animation-delay: .3s; }
.hero-anim { animation: fadeUp 1s var(--ease-out) .55s both; }
.hero-lead.hero-anim { animation-delay: .7s; }
.hero-actions.hero-anim { animation-delay: .85s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-lead { color: rgba(255, 255, 255, .86); font-size: 18px; max-width: 540px; margin-bottom: 42px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 34px; }

.hero-bottom { position: absolute; z-index: 3; inset-inline: 0; bottom: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; }
.hero-counter { display: flex; align-items: center; gap: 16px; font-family: var(--serif); font-size: 19px; }
.hero-progress { width: 120px; height: 1px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
.hero-progress span { position: absolute; inset: 0; background: var(--gold-gradient); transform-origin: left; transform: scaleX(0); }
[dir="rtl"] .hero-progress span { transform-origin: right; }
.hero-caption { margin: 0; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .88); }
.hero-caption .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-1); }
.hero-nav { display: flex; gap: 10px; }
.hero-nav button { width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; border-radius: 50%; display: grid; place-items: center; transition: .4s; }
.hero-nav button:hover { background: var(--bronze-text); border-color: var(--bronze-text); }
@media (min-width: 768px) { .hero-nav { margin-inline-end: 72px; } } /* clear of the WhatsApp button */
@media (max-width: 767.98px) {
  .hero-caption, .hero-nav { display: none; }
  .hero-bottom { bottom: 28px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { gap: 24px; }
}

/* ---------- Reveal helpers (start visible; site.js animates from hidden) ---------- */
.reveal-img { overflow: hidden; }

/* ---------- About ---------- */
.about-media { position: relative; padding-inline-end: 18%; padding-bottom: 80px; }
.about-img-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-img-small { position: absolute; inset-inline-end: 0; bottom: 0; width: 52%; border: 10px solid var(--cream); }
.about-img-small img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.about-seal { position: absolute; inset-inline-start: -28px; top: 44px; width: 150px; height: 150px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; box-shadow: 0 20px 40px -24px rgba(59, 36, 24, .35); }
.about-seal svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: spin 32s linear infinite; }
.about-seal text { font-family: var(--sans); font-size: 13.5px; font-weight: 500; letter-spacing: .24em; fill: var(--bronze-text); }
.about-seal img { width: 46px; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 575.98px) { .about-seal { inset-inline-start: 0; top: 16px; width: 116px; height: 116px; } .about-seal img { width: 34px; } }
@media (min-width: 992px) { .about-text { padding-inline-start: 48px; } }

/* ---------- Services (hover list from /3) ---------- */
.services { background: var(--sand); }
.svc-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--stone); }
.svc-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 48px; align-items: center;
  padding-block: 32px; border-bottom: 1px solid var(--stone);
  transition: padding .5s var(--ease-out);
}
.svc-row::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; width: 100%; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
[dir="rtl"] .svc-row::after { transform-origin: right; }
.svc-row h3 { font-size: clamp(28px, 3vw, 42px); font-weight: 300; margin: 0; transition: color .4s; }
.svc-row h3 a { color: inherit; }
.svc-row p { margin: 0; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .svc-row:hover { padding-inline-start: 18px; }
  .svc-row:hover::after { transform: scaleX(1); }
  .svc-row:hover h3 { color: var(--bronze-text); }
}
@media (max-width: 767.98px) { .svc-row { grid-template-columns: 1fr; padding-block: 24px; gap: 6px; } }
.svc-float { position: fixed; left: 0; top: 0; z-index: 50; width: 300px; aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.86); transition: opacity .35s, transform .5s var(--ease-out); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(59, 36, 24, .5); }
.svc-float.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.svc-float img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (pointer: coarse) { .svc-float { display: none; } }

/* ---------- Projects: horizontal gallery (/3) ----------
   Default: swipeable scroll-snap row (phones, tablets, reduced motion, no JS).
   .is-pinned (added by site.js on desktop): the whole track is pinned and moved by scroll. */
.projects { position: relative; background: var(--cream); padding-block: 120px 90px; overflow: hidden; }
.h-intro { padding-inline: var(--gutter); max-width: 820px; margin-bottom: 44px; }
.h-display { font-size: clamp(38px, 4.6vw, 68px); font-weight: 300; line-height: 1.05; letter-spacing: -.015em; margin-bottom: 24px; }
.h-types { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-text); margin-top: 18px; }
.h-controls { display: none; gap: 10px; margin-top: 28px; }
.h-controls button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--stone); background: transparent; color: var(--chocolate); display: grid; place-items: center; transition: .4s; }
.h-controls button:hover { background: var(--bronze-text); border-color: var(--bronze-text); color: #fff; }
@media (min-width: 768px) { .h-controls { display: flex; } }
.h-hint { display: none; margin-top: 40px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-text); align-items: center; gap: 14px; }
.h-hint .icon { animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.h-row {
  display: flex; align-items: flex-start; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter); padding-bottom: 6px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.h-row::-webkit-scrollbar { display: none; }
.h-project, .h-end { flex: 0 0 auto; scroll-snap-align: start; width: min(84vw, 620px); }
.h-project.tall { width: min(66vw, 420px); }
.h-img { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.h-project.tall .h-img { aspect-ratio: 3 / 4; }
.h-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease-out); }
.h-img:hover img, .h-img:focus-visible img { transform: scale(1.01); }
.h-info { display: flex; align-items: flex-start; gap: 20px; margin-top: 22px; }
.h-info h3 { font-size: clamp(26px, 2.4vw, 38px); font-weight: 400; margin: 0 0 4px; }
.h-info p { margin: 0; font-size: 15px; color: var(--muted); }
.h-tag { margin-inline-start: auto; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--stone); border-radius: 100px; padding: 5px 14px; white-space: nowrap; color: var(--chocolate); }
.h-info h3 a { color: var(--chocolate); transition: color .4s; }
.h-project:hover .h-info h3 a, .h-info h3 a:focus-visible { color: var(--bronze-text); }
.h-all { margin-top: 26px; }
.h-end { align-self: center; padding: 32px 8px; }
.h-end p { color: var(--muted); max-width: 420px; margin-bottom: 30px; }
.h-progress { position: relative; height: 1px; margin: 44px var(--gutter) 0; background: var(--stone); }
.h-progress span { position: absolute; inset: 0; background: var(--bronze); transform-origin: left; transform: scaleX(0); }
[dir="rtl"] .h-progress span { transform-origin: right; }

.projects.is-pinned { padding: 0; }
.projects.is-pinned .h-track { display: flex; align-items: center; gap: 80px; height: 100vh; padding: 110px 64px 90px; width: max-content; will-change: transform; }
.projects.is-pinned .h-intro { flex: 0 0 auto; width: 440px; margin: 0; padding: 0; }
.projects.is-pinned .h-controls { display: none; }
.projects.is-pinned .h-hint { display: flex; }
.projects.is-pinned .h-row { align-items: center; gap: 80px; overflow: visible; padding: 0; scroll-snap-type: none; }
.projects.is-pinned .h-project { width: 46vw; max-width: 760px; }
.projects.is-pinned .h-project.tall { width: 30vw; max-width: 500px; }
.projects.is-pinned .h-img { aspect-ratio: auto; height: 54vh; }
.projects.is-pinned .h-project.tall .h-img { height: 64vh; }
.projects.is-pinned .h-end { width: 460px; }
.projects.is-pinned .h-progress { position: absolute; inset-inline: 64px; bottom: 44px; margin: 0; }

/* "View" bubble over project images (fine pointers only, created by site.js) */
.view-cursor { position: fixed; left: 0; top: 0; z-index: 60; width: 96px; height: 96px; border-radius: 50%; background: var(--bronze-text); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.4); transition: opacity .3s, transform .45s var(--ease-out); }
.view-cursor.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- Design to reality ---------- */
.reality { background: var(--sand); }
.reality-fig { margin: 0; }
.reality-fig .reveal-img { aspect-ratio: 4 / 3; background: var(--stone); }
.reality-fig img { width: 100%; height: 100%; object-fit: cover; }
.reality-fig figcaption { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-family: var(--serif); font-size: 22px; color: var(--chocolate); }
.reality-fig .tag { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-text); border: 1px solid var(--stone); padding: 4px 12px; }

/* ---------- Process timeline (the only numbered list) ---------- */
.process { background: var(--cream); }
.timeline { position: relative; padding-top: 20px; }
.timeline-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 24px; }
.timeline-line { position: absolute; top: 27px; inset-inline: 0; height: 1px; background: var(--stone); }
.timeline-line span { position: absolute; inset: 0; background: var(--bronze); transform-origin: left; }
[dir="rtl"] .timeline-line span { transform-origin: right; }
.timeline-step { position: relative; padding-top: 36px; }
.t-dot { position: absolute; top: 0; inset-inline-start: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--cream); border: 1px solid var(--bronze); }
.t-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--bronze); transition: transform .4s var(--ease-out); }
.timeline.is-animated .timeline-step:not(.on) .t-dot::after { transform: scale(0); }
.t-num { font-family: var(--serif); font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--bronze); display: block; margin-bottom: 14px; transition: color .4s; }
.timeline-step:hover .t-num { color: var(--bronze); }
.timeline-step h3 { font-size: 25px; margin-bottom: 10px; }
.timeline-step p { font-size: 15px; line-height: 1.7; margin: 0; color: var(--muted); }
@media (max-width: 1199.98px) {
  .timeline { padding-top: 0; padding-inline-start: 40px; }
  .timeline-steps { grid-template-columns: 1fr; gap: 0; }
  .timeline-line { top: 0; bottom: 0; inset-inline-start: 7px; inset-inline-end: auto; width: 1px; height: auto; }
  .timeline-line span { transform-origin: top; }
  .timeline-step { padding: 0 0 44px 0; display: grid; grid-template-columns: 80px 1fr; column-gap: 20px; }
  .timeline-step .t-dot { inset-inline-start: -40px; top: 6px; }
  .timeline-step .t-num { grid-row: span 2; font-size: 46px; }
  .timeline-step h3 { margin-bottom: 4px; }
}

/* ---------- Hospitality ---------- */
.hospitality { background: var(--chocolate); color: rgba(247, 242, 235, .78); }
.hosp-card { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--chocolate-2); border: 1px solid rgba(240, 213, 181, .14); }
.hosp-img { overflow: hidden; aspect-ratio: 16 / 10; }
.hosp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.hosp-card:hover .hosp-img img { transform: scale(1.05); }
.hosp-body { padding: 40px 40px 44px; flex: 1; }
@media (max-width: 575.98px) { .hosp-body { padding: 28px 22px 32px; } }
.hosp-tag { margin: 0; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-1); }
.hosp-body h3 { color: #fff; font-size: clamp(34px, 3.2vw, 48px); font-weight: 300; margin: 10px 0 22px; }
.hosp-body h3 a { color: inherit; }
.hosp-card:hover .hosp-body h3 a { color: var(--gold-2); }
.hosp-stat { display: flex; align-items: baseline; gap: 14px; margin: 0 0 22px; }
.hosp-stat .num { font-family: var(--serif); font-size: 72px; line-height: 1; font-weight: 300; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hosp-stat span:last-child { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.hosp-body dl { margin: 0; }
.hosp-body dl > div { display: flex; gap: 20px; padding-block: 13px; border-top: 1px solid rgba(240, 213, 181, .14); }
.hosp-body dt { min-width: 84px; font-size: 13px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-1); padding-top: 3px; }
.hosp-body dd { margin: 0; color: rgba(247, 242, 235, .88); font-size: 16px; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 40px 0 0; }
.contact-list li { display: flex; gap: 20px; padding-block: 22px; border-top: 1px solid var(--stone); color: var(--chocolate); }
.contact-list .icon { font-size: 22px; color: var(--bronze-text); margin-top: 4px; }
.contact-list span { display: block; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-family: var(--serif); font-size: 25px; color: var(--chocolate); }
.contact-list a:hover { color: var(--bronze-text); }
.contact-list .office-tel { display: block; width: fit-content; margin-top: 6px; font-family: var(--sans); font-size: inherit; color: var(--bronze-text); }
.contact-list .office-tel:hover { color: var(--chocolate); }
.contact-form { background: #fff; padding: 56px; position: relative; overflow: hidden; }
@media (max-width: 575.98px) { .contact-form { padding: 32px 22px; } }
.field { position: relative; }
.field .form-control, .field .form-select {
  border: 0; border-bottom: 1px solid var(--stone); border-radius: 0; background-color: transparent;
  padding: 28px 0 10px; font-family: var(--sans); font-size: 17px; color: var(--chocolate); box-shadow: none;
}
.field .form-select { background-position: right 0 center; padding-inline-end: 24px; }
[dir="rtl"] .field .form-select { background-position: left 0 center; }
.field textarea.form-control { resize: vertical; min-height: 120px; }
.field label { position: absolute; inset-inline-start: 0; top: 26px; font-size: 16px; color: var(--muted); pointer-events: none; transition: .3s var(--ease-out); }
.field .form-control:focus, .field .form-select:focus { border-color: var(--bronze); box-shadow: none; }
.field .form-control:focus ~ label, .field .form-control:not(:placeholder-shown) ~ label,
.field .form-select:focus ~ label, .field .form-select.has-value ~ label, .field .form-select:valid ~ label { top: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-text); }
.was-validated .field .form-control:invalid, .was-validated .field .form-select:invalid { border-color: #A1412C; background-image: none; }
.was-validated .field .form-control:valid, .was-validated .field .form-select:valid { border-color: var(--bronze); background-image: none; }
.field .form-control.is-invalid, .field .form-select.is-invalid { border-color: #A1412C; background-image: none; }
.invalid-feedback { font-size: 13px; color: #A1412C; }
.form-alert { border-inline-start: 2px solid #A1412C; background: #FBF1EE; color: #7E3222; font-size: 15px; padding: 12px 16px; margin-bottom: 22px; }
.form-alert[hidden] { display: none; }
.btn-velar[aria-busy="true"] { opacity: .6; cursor: progress; }
/* Honeypot field: off screen, never shown to people. */
.hp-field { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { position: absolute; inset: 0; z-index: 2; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; opacity: 0; transition: opacity .6s; }
.form-success.show { opacity: 1; }
.form-success .icon { font-size: 60px; color: var(--bronze-text); }
.form-success h3 { font-size: 40px; margin: 12px 0 8px; }
/* One map per office: side by side from 768px, stacked below */
.map-grid { display: grid; gap: 32px 24px; margin-top: 90px; }
@media (min-width: 768px) { .map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.map-wrap { margin: 0; }
.map-wrap iframe { display: block; width: 100%; height: 300px; border: 0; filter: grayscale(1) sepia(.25) contrast(.95); transition: filter .6s; }
@media (min-width: 992px) { .map-wrap iframe { height: 380px; } }
.map-wrap:hover iframe { filter: none; }
.map-wrap figcaption { margin-top: 14px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--chocolate); color: rgba(247, 242, 235, .72); padding-top: 96px; font-size: 16px; }
.footer-logo { height: 96px; width: auto; }
.footer-tag { margin: 26px 0 0; max-width: 320px; }
.footer-head { font-family: var(--sans); color: #fff; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; margin-bottom: 22px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer-office { margin-bottom: 20px; font-style: normal; max-width: 380px; }
.footer-office strong { display: block; margin-bottom: 4px; color: #fff; font-weight: 500; }
.footer a:hover { color: var(--gold-2); }
.footer-bottom { margin-top: 80px; padding-block: 28px; border-top: 1px solid rgba(240, 213, 181, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; letter-spacing: .04em; }

/* =========================================================
   Inner pages
   ========================================================= */

/* ---------- Page hero ---------- */
.page-hero { position: relative; height: 78vh; height: 78svh; min-height: 520px; max-height: 860px; overflow: hidden; background: var(--chocolate); color: #fff; }
.page-hero-media { position: absolute; inset: -8% 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 2.4s var(--ease-out) both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.page-hero-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 88px; }
.page-hero-title { font-size: clamp(50px, 7.4vw, 112px); color: #fff; font-weight: 300; line-height: 1; letter-spacing: -.02em; margin-bottom: 24px; }
.page-hero-lead { color: rgba(255, 255, 255, .86); font-size: 18px; max-width: 620px; margin: 0; }
@media (max-width: 767.98px) { .page-hero-content { padding-bottom: 56px; } .page-hero-lead { font-size: 16px; } }

/* ---------- About: story ---------- */
.story-media { position: relative; padding-bottom: 70px; padding-inline-end: 14%; }
.story-media > .reveal-img:first-child img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-brand { position: absolute; inset-inline-end: 0; bottom: 0; width: 44%; border: 10px solid var(--cream); }
.story-brand img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 992px) {
  .story-media > .reveal-img:first-child img { aspect-ratio: 1 / 1; }
  .story-text { padding-inline-start: 48px; }
}
.facts { margin: 36px 0 0; border-top: 1px solid var(--stone); }
.facts > div { display: flex; gap: 24px; padding-block: 14px; border-bottom: 1px solid var(--stone); }
.facts dt { min-width: 96px; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-text); padding-top: 3px; }
.facts dd { margin: 0; color: var(--chocolate); }

/* ---------- About: philosophy (sticky column + hover list from /4) ---------- */
.philosophy { background: var(--sand); }
@media (min-width: 992px) { .philosophy-sticky { position: sticky; top: 110px; } }
.philosophy-img { margin-top: 36px; }
.philosophy-img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.principles { list-style: none; padding: 0; margin: 0; }
.principles li { position: relative; padding-block: 40px; border-bottom: 1px solid var(--stone); transition: padding .5s var(--ease-out); }
.principles li:first-child { padding-top: 0; }
.principles li::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; width: 100%; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
[dir="rtl"] .principles li::after { transform-origin: right; }
.principles h3 { font-size: clamp(34px, 4vw, 54px); font-weight: 300; margin-bottom: 6px; transition: color .4s; }
.principles p { margin: 0; font-size: 18px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .principles li:hover { padding-inline-start: 16px; }
  .principles li:hover::after { transform: scaleX(1); }
  .principles li:hover h3 { color: var(--bronze-text); }
}

/* ---------- About: why VELAR ---------- */
.why { background: var(--chocolate); color: rgba(247, 242, 235, .78); overflow: hidden; }
.why::before { content: ""; position: absolute; inset-inline-end: -6%; top: 50%; width: min(60vw, 720px); aspect-ratio: 136 / 100; transform: translateY(-50%); background: url("../img/brand/mark-light.svg") center / contain no-repeat; opacity: .05; pointer-events: none; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(240, 213, 181, .14); border-inline-start: 1px solid rgba(240, 213, 181, .14); }
.why-grid li { padding: 40px 36px; border-inline-end: 1px solid rgba(240, 213, 181, .14); border-bottom: 1px solid rgba(240, 213, 181, .14); transition: background .5s; }
.why-grid li::before { content: ""; display: block; width: 36px; height: 1px; background: var(--gold-gradient); margin-bottom: 26px; transition: width .6s var(--ease); }
.why-grid li:hover { background: rgba(240, 213, 181, .05); }
.why-grid li:hover::before { width: 72px; }
.why-grid h3 { color: #fff; font-size: 28px; font-weight: 400; margin-bottom: 10px; }
.why-grid p { margin: 0; font-size: 16px; color: rgba(247, 242, 235, .72); }
@media (max-width: 991.98px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .why-grid { grid-template-columns: 1fr; } .why-grid li { padding: 32px 24px; } }

/* ---------- About: execution ---------- */
.execution { background: var(--cream); }
.exec-media { position: relative; padding-inline-start: 70px; padding-bottom: 110px; }
.exec-a img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.exec-b { position: absolute; inset-inline-start: 0; bottom: 34px; width: 48%; border: 10px solid var(--cream); }
.exec-b img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.exec-media figcaption { position: absolute; inset-inline-end: 0; bottom: 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
/* Phones: the caption wraps to two lines, so the small photo sits higher to clear it. */
@media (max-width: 575.98px) { .exec-media { padding-inline-start: 28px; padding-bottom: 130px; } .exec-b { bottom: 62px; } }
.caps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.caps li { background: #fff; padding: 20px 22px; border-inline-start: 2px solid transparent; transition: border-color .4s, transform .4s var(--ease-out); }
.caps li:hover { border-inline-start-color: var(--bronze); transform: translateX(4px); }
[dir="rtl"] .caps li:hover { transform: translateX(-4px); }
.caps h3 { font-size: 23px; margin-bottom: 4px; }
.caps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (max-width: 575.98px) { .caps { grid-template-columns: 1fr; } }

/* ---------- About: the VELAR standard ---------- */
.standard { background: var(--sand); }
.standard-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.standard-list li { position: relative; padding-top: 34px; border-top: 1px solid var(--stone); }
.standard-list li::before { content: ""; position: absolute; top: -4px; inset-inline-start: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); }
.standard-list h3 { font-size: clamp(32px, 3vw, 44px); font-weight: 300; margin-bottom: 8px; }
.standard-list p { margin: 0; font-size: 16px; color: var(--muted); }
@media (max-width: 991.98px) { .standard-list { grid-template-columns: 1fr; gap: 0; } .standard-list li { padding-block: 26px; } }

/* ---------- Promise band ---------- */
.promise { position: relative; padding-block: 170px; overflow: hidden; color: #fff; background: var(--chocolate); }
.promise-media { position: absolute; inset: -10% 0; }
.promise-media img { width: 100%; height: 100%; object-fit: cover; }
.promise-overlay { position: absolute; inset: 0; background: rgba(var(--overlay), .64); }
.promise-title { color: #fff; font-size: clamp(54px, 8.6vw, 132px); font-weight: 300; line-height: 1; margin-bottom: 30px; }
.promise-text { max-width: 640px; margin: 0 auto 14px; font-size: 18px; color: rgba(255, 255, 255, .86); }
.promise-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px; margin-top: 38px; }
@media (max-width: 767.98px) { .promise { padding-block: 110px; } }

/* ---------- Page head (inner pages without an image hero) ---------- */
.page-head { padding-top: calc(74px + 110px); padding-bottom: 8px; }
.page-head-title { font-size: clamp(64px, 11vw, 168px); font-weight: 300; line-height: .95; letter-spacing: -.03em; color: var(--chocolate); margin: 0 0 40px; }
.page-head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 32px; border-top: 1px solid var(--stone); }
.page-head-links { display: flex; flex-wrap: wrap; gap: 12px; }
.page-head-links a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border: 1px solid var(--stone); border-radius: 100px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--chocolate); transition: background .4s, color .4s, border-color .4s; }
.page-head-links a span { color: var(--bronze-text); transition: color .4s; }
.page-head-links a:hover { background: var(--chocolate); border-color: var(--chocolate); color: #fff; }
.page-head-links a:hover span { color: var(--gold-2); }
.page-head + .section { padding-top: 96px; }
@media (max-width: 767.98px) { .page-head { padding-top: calc(74px + 64px); } .page-head + .section { padding-top: 72px; } }

/* ---------- Projects list ---------- */
.projects-list-hosp { border-top: 1px solid var(--stone); }
.project-grid { display: grid; gap: 56px; align-items: start; }
.project-card-img { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.project-card-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease-out); }
.project-card:hover .project-card-img img { transform: scale(1); }
.project-card-badge { position: absolute; inset-block-start: 18px; inset-inline-start: 18px; padding: 6px 14px; border-radius: 100px; background: rgba(247, 242, 235, .92); color: var(--chocolate); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.project-card-body { padding-top: 24px; }
.project-card-meta { margin: 0 0 8px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-text); }
.project-card h3 { font-size: clamp(32px, 3vw, 46px); font-weight: 300; margin: 0 0 8px; }
.project-card h3 a { color: var(--chocolate); background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .6s var(--ease); }
[dir="rtl"] .project-card h3 a { background-position: right bottom; }
.project-card:hover h3 a, .project-card h3 a:focus-visible { background-size: 100% 1px; }
.project-card-scope, .project-card-partner { margin: 0; font-size: 16px; color: var(--muted); }
.project-card-partner { margin-top: 4px; }
/* Editorial rhythm from 768px (one column below): wide + square, square + wide; an odd last card runs full width. */
@media (min-width: 768px) {
  .project-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 72px 32px; }
  .project-card:nth-child(4n+1), .project-card:nth-child(4n) { grid-column: span 7; }
  .project-card:nth-child(4n+2), .project-card:nth-child(4n+3) { grid-column: span 5; }
  .project-card:nth-child(4n+2) .project-card-img, .project-card:nth-child(4n+3) .project-card-img { aspect-ratio: 1 / 1; }
  .project-card:last-child:nth-child(odd):not(:first-child) { grid-column: span 12; }
  .project-card:last-child:nth-child(odd):not(:first-child) .project-card-img { aspect-ratio: 21 / 9; }
}

/* ---------- Project detail ---------- */
.project-facts { padding-top: 40px; }
.back-link { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-text); }
.back-link:hover { color: var(--chocolate); }
.facts-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; margin: 0; }
.facts-bar > div { padding-block: 20px 22px; border-top: 1px solid var(--stone); }
.facts-bar dt { margin-bottom: 6px; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-text); }
.facts-bar dd { margin: 0; font-family: var(--serif); font-size: 23px; line-height: 1.3; color: var(--chocolate); }
.project-facts + .section { padding-top: 96px; }
@media (max-width: 575.98px) { .facts-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; } .facts-bar dd { font-size: 19px; } }

.project-gallery .section-head { margin-bottom: 48px; }
.project-gallery-live { background: var(--sand); }
.gallery { columns: 2; column-gap: 32px; }
.gallery-item { display: block; break-inside: avoid; margin-bottom: 40px; }
.gallery-item img { display: block; width: 100%; height: auto; background: var(--stone); transition: opacity .5s; }
.gallery-item:hover img { opacity: .88; }
.gallery-caption { display: block; margin-top: 12px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 767.98px) { .gallery { columns: 1; } .gallery-item { margin-bottom: 28px; } .project-facts + .section { padding-top: 72px; } }

.next-project { position: relative; overflow: hidden; background: var(--chocolate); }
.next-project-link { position: relative; display: flex; align-items: flex-end; min-height: 70vh; min-height: 70svh; color: #fff; }
.next-project-link:hover { color: #fff; }
.next-project-media { position: absolute; inset: -8% 0; display: block; }
.next-project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.next-project-link:hover .next-project-media img { transform: scale(1.04); }
.next-project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--overlay), .8), rgba(var(--overlay), .25)); }
.next-project-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; padding-block: 96px 80px; }
.next-project-content .eyebrow { margin-bottom: 0; }
.next-project-title { display: block; font-family: var(--serif); font-size: clamp(56px, 9vw, 140px); font-weight: 300; line-height: 1; letter-spacing: -.02em; margin: 14px 0 20px; }
.next-project-meta { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .86); }
.next-project-meta .icon { transition: transform .4s var(--ease-out); }
.next-project-link:hover .next-project-meta .icon { transform: translateX(8px); }

/* ---------- Services page ---------- */
.svc-flow { padding-block: 64px; border-bottom: 1px solid var(--stone); }
.flow { list-style: none; margin: 0; padding: 0; position: relative; display: flex; justify-content: space-between; gap: 16px; }
.flow::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: var(--gold-gradient); }
.flow li { position: relative; padding-inline: 20px; background: var(--cream); font-family: var(--serif); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.2; color: var(--chocolate); }
.flow li:first-child { padding-inline-start: 0; }
.flow li:last-child { padding-inline-end: 0; }
@media (max-width: 767.98px) {
  .flow { flex-direction: column; gap: 10px; padding-inline-start: 26px; }
  .flow::before { inset-inline: 3px auto; top: 12px; bottom: 12px; width: 1px; height: auto; }
  .flow li, .flow li:first-child, .flow li:last-child { padding-inline: 0; background: none; }
  .flow li::before { content: ""; position: absolute; inset-inline-start: -26px; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--bronze); }
}

.svc-blocks { list-style: none; margin: 0; padding: 0; }
.svc-block { padding-block: 36px; border-top: 1px solid var(--stone); scroll-margin-top: 110px; }
.svc-block h3 { font-size: clamp(32px, 3.4vw, 50px); font-weight: 300; margin: 0 0 12px; transition: color .5s; }
.svc-block p { margin: 0; max-width: 520px; color: var(--muted); }
.svc-block-img { margin-bottom: 26px; overflow: hidden; }
.svc-block-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-media { display: none; }
@media (min-width: 768px) { .svc-detail:not(.is-sticky) .svc-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }

/* Desktop with JS: one sticky image that follows the service in the middle of the screen. */
@media (min-width: 992px) {
  .svc-detail.is-sticky { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
  .svc-detail.is-sticky .svc-block { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; position: relative; }
  .svc-detail.is-sticky .svc-block::before { content: ""; position: absolute; inset-inline-start: 0; top: -1px; width: 100%; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
  [dir="rtl"] .svc-detail.is-sticky .svc-block::before { transform-origin: right; }
  .svc-detail.is-sticky .svc-block.is-active::before { transform: scaleX(1); }
  .svc-detail.is-sticky .svc-block:not(.is-active) h3 { color: var(--muted); }
  .svc-detail.is-sticky .svc-block-img { display: none; }
  .svc-detail.is-sticky .svc-media { display: block; position: sticky; top: calc(50vh - min(32vh, 300px) + 37px); }
  .svc-media-frame { position: relative; height: min(64vh, 600px); overflow: hidden; background: var(--stone); }
  .svc-media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.6s var(--ease-out); }
  .svc-media-frame img.is-active { opacity: 1; transform: scale(1); }
  .svc-group-alt .svc-detail.is-sticky { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .svc-group-alt .svc-detail.is-sticky .svc-media { order: -1; }
}

/* Build group on chocolate */
.svc-group-alt { background: var(--chocolate); color: rgba(247, 242, 235, .78); }
.svc-group-alt .eyebrow { color: var(--gold-1); }
.svc-group-alt .section-title, .svc-group-alt .svc-block h3 { color: #fff; }
.svc-group-alt .svc-block { border-top-color: rgba(240, 213, 181, .16); }
.svc-group-alt .svc-block p { color: rgba(247, 242, 235, .72); }
.svc-group-alt .svc-media-frame { background: var(--chocolate-2); }
@media (min-width: 992px) {
  .svc-group-alt .svc-detail.is-sticky .svc-block::before { background: var(--gold-1); }
  .svc-group-alt .svc-detail.is-sticky .svc-block:not(.is-active) h3 { color: rgba(247, 242, 235, .6); }
}
.svc-group-alt .btn-velar-outline { color: #fff; border-color: var(--gold-1); }

/* ---------- CTA band (inner pages) ---------- */
.cta-band { background: var(--sand); padding-block: 110px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 28px; }
@media (max-width: 767.98px) { .cta-band { padding-block: 80px; } }

/* ---------- Error page ---------- */
.error-page { padding-top: 200px; min-height: 70vh; }

/* ---------- Floating buttons ---------- */
.whatsapp-float { position: fixed; inset-inline-end: 24px; bottom: 24px; z-index: 900; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 27px; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .4s; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.back-top { position: fixed; inset-inline-end: 30px; bottom: 94px; z-index: 900; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--bronze); background: var(--cream); color: var(--bronze-text); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .4s; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--bronze-text); color: #fff; }
@media (max-width: 767.98px) { .back-top { display: none; } }

/* ---------- GLightbox ---------- */
.glightbox-clean .gslide-description { background: var(--chocolate); }
.glightbox-clean .gslide-title { font-family: var(--serif); color: #fff; font-size: 26px; font-weight: 400; margin-bottom: 4px; }
.glightbox-clean .gslide-desc { color: rgba(247, 242, 235, .78); font-family: var(--sans); font-size: 15px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
}
