/* ==========================================================================
   Ruz Yapı Mimarlık – site styles
   Palette and type come from the logo: black, logo orange (#FD7F03), white,
   a condensed high-contrast serif for display type.
   ========================================================================== */

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Bebas Neue";
  src: url("/fonts/bebas-neue-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bebas Neue";
  src: url("/fonts/bebas-neue-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0d0d0d;
  --ink-2: #161616;
  --ink-3: #262626;
  --paper: #f4f1ec;
  --paper-2: #e9e4dc;
  --white: #ffffff;
  --muted: #6a665f;
  --muted-dark: #9d988f;
  --line: rgba(13, 13, 13, .12);
  --line-dark: rgba(255, 255, 255, .14);
  --accent: #fd7f03;          /* logo orange – on dark backgrounds / fills */
  --accent-ink: #b45700;      /* orange that keeps contrast on light backgrounds */
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hero: "Bebas Neue", "Oswald", Impact, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1480px;
  --header-h: 96px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--accent); color: var(--ink); padding: .6rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 5.6vw, 6.25rem);
  line-height: .98;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 4.2vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
.display em, .section-title em { font-style: italic; color: var(--accent-ink); }
.on-dark .display em, .on-dark .section-title em,
.page-hero .display em { color: var(--accent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .85em;
  margin: 0 0 1.4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex: none; }
.on-dark .eyebrow, .page-hero .eyebrow { color: var(--muted-dark); }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  padding: 1.05em 1.75em;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .92rem;
  font-weight: 650;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #ff983a; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border-color: currentColor; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-sm { padding: .78em 1.25em; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-weight: 650;
  font-size: .95rem;
  padding-bottom: .25em;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.link-arrow:hover { background-size: 0 1px; background-position: right bottom; }
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- splash (first visit of the session) ---------- */
.splash { display: none; }
html.has-splash { overflow: hidden; }
html.has-splash .splash {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--ink);
  animation: splash-out .95s 2.35s var(--ease-io) forwards;
}
.splash-mark { position: relative; width: min(380px, 64vw); aspect-ratio: 532 / 450; }
.splash-mark svg, .splash-mark img { position: absolute; inset: 0; width: 100%; height: 100%; }
.splash-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 14.5;
  stroke-linecap: round;
  stroke-linejoin: miter;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: splash-draw 1.15s .25s cubic-bezier(.65, 0, .35, 1) forwards;
}
.splash-text {
  clip-path: inset(0 100% 0 0);
  animation: splash-wipe 1s 1s cubic-bezier(.65, 0, .35, 1) forwards;
}
.splash-mark { animation: splash-lift .95s 2.3s var(--ease-io) forwards; }
@keyframes splash-draw { to { stroke-dashoffset: 0; } }
@keyframes splash-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes splash-lift { to { transform: translateY(-14vh); opacity: 0; } }
@keyframes splash-out { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------- intro & scroll reveals ---------- */
html.js [data-intro] { opacity: 0; transform: translateY(40px); }
html.js.is-ready [data-intro] {
  opacity: 1;
  transform: none;
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
html.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
/* The wrapper stays unclipped so IntersectionObserver can see it; the image inside is unveiled. */
html.js [data-reveal="img"] { opacity: 1; transform: none; }
html.js [data-reveal="img"] > img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io); }
html.js [data-reveal="img"].is-in > img { clip-path: inset(0 0 0 0); }

/* ---------- header: floating capsule ---------- */
:root { --capsule-x: 2rem; --capsule-top: 18px; --capsule-h: 74px; }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  padding: var(--capsule-top) var(--capsule-x) 0;
  color: #fff; pointer-events: none;
  transition: transform .5s var(--ease);
}
.header-inner {
  position: relative; pointer-events: auto;
  height: var(--capsule-h); max-width: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  padding: 0 .6rem 0 1.6rem;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px;
  background: rgba(13, 13, 13, .5);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .12);
  transition: max-width .7s var(--ease), background-color .4s;
}
.site-header.is-compact .header-inner { max-width: 1180px; background: rgba(13, 13, 13, .92); }
.site-header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.brand { display: block; height: 46px; flex: none; }
.brand-logo { height: 100%; width: auto; }
.main-nav {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: clamp(1.4rem, 2.2vw, 2.2rem);
  font-size: 1.03rem; font-weight: 600; white-space: nowrap;
}
.main-nav > a, .nav-drop > a { display: inline-block; padding: .5em 0; transition: color .25s; }
.main-nav > a:hover, .nav-drop:hover > a, .main-nav a.is-active { color: var(--accent); }
.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 26px); left: 50%; min-width: 310px; padding: .5rem;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; background: rgba(21, 21, 21, .97); color: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.nav-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop-menu a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1.1rem; border-radius: 14px; font-size: .95rem; }
.nav-drop-menu a:hover { background: rgba(255, 255, 255, .07); color: var(--accent); }
.nav-drop-menu .icon { width: 1.05rem; height: 1.05rem; }
.header-actions { display: flex; align-items: center; gap: .55rem; margin-left: auto; }
.header-call {
  width: 50px; height: 50px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
  transition: background .3s, border-color .3s, color .3s;
}
.header-call:hover { background: #fff; border-color: #fff; color: var(--ink); }
.header-call .icon { width: 1.2rem; height: 1.2rem; }
.header-whatsapp { color: #25d366; }
.header-whatsapp:hover { background: #25d366; border-color: #25d366; color: #fff; }
.header-quote { padding: .95em 1.5em; border-radius: 999px; font-size: .97rem; }

.menu-toggle { display: none; position: relative; width: 50px; height: 50px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; }
.menu-toggle span { position: absolute; left: 15px; right: 15px; height: 1.6px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-toggle span:first-child { top: 20px; }
.menu-toggle span:last-child { top: 28px; }
html.menu-open .menu-toggle span:first-child { top: 24px; transform: rotate(45deg); }
html.menu-open .menu-toggle span:last-child { top: 24px; transform: rotate(-45deg); }
html.menu-open { overflow: hidden; }
html.menu-open .site-header { z-index: 95; transform: none; }
html.menu-open .header-inner { background: rgba(13, 13, 13, .95); }

/* menu card that drops below the capsule (phones and tablets) */
.menu-dim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s;
}
html.menu-open .menu-dim { opacity: 1; visibility: visible; transition: opacity .4s; }
.menu-card {
  position: fixed; z-index: 94;
  top: calc(var(--capsule-top) + var(--capsule-h) + 12px); right: var(--capsule-x);
  width: min(440px, calc(100% - 2 * var(--capsule-x))); max-height: calc(100svh - var(--capsule-top) - var(--capsule-h) - 24px); overflow-y: auto;
  padding: .6rem 1.3rem 1.3rem; border-radius: 26px;
  background: #151515; color: #fff; box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(-12px) scale(.98); transform-origin: top right;
  transition: opacity .3s, transform .5s var(--ease), visibility 0s .5s;
}
html.menu-open .menu-card { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .5s var(--ease); }
.menu-card nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--font-hero); font-size: 2.3rem; line-height: 1.1; letter-spacing: .01em; text-transform: uppercase;
  transition: color .25s;
}
.menu-card nav a:hover { color: var(--accent); }
.menu-card nav .icon { width: 1.5rem; height: 1.5rem; color: var(--accent); }
.menu-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1.1rem 0 .6rem; }
.menu-pill {
  display: flex; justify-content: center; align-items: center; gap: .5rem;
  padding: .95rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px;
  font-size: 1rem; font-weight: 700;
}
.menu-pill .icon { width: 1.15rem; height: 1.15rem; }
.menu-pill--whatsapp .icon { color: #25d366; }
.menu-pill--accent { margin-top: .6rem; border-color: var(--accent); background: var(--accent); color: var(--ink); }
.menu-card-actions + .menu-pill--accent { margin-top: 0; }

/* ---------- home: hero (full-screen photo/video slides, text placed per slide, two "doors") ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: var(--ink); color: #fff; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide > img, .hero-slide > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide > img { transform: scale(1.08); transition: transform 8s linear; }
.hero-slide.is-active > img { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, .35), rgba(0, 0, 0, .8) 75%), linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 24%); }
/* every text block sits in the same grid cell; the admin picks one of nine spots for it */
.hero-center {
  position: relative; flex: 1;
  display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
}
.hero-copy { grid-area: 1 / 1; display: flex; flex-direction: column; max-width: 100%; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.hero-copy.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease .25s, visibility 0s; }
.hero-copy > * { transform: translateY(28px); transition: transform 1.2s var(--ease) .25s; }
.hero-copy > :nth-child(2) { transition-delay: .35s; }
.hero-copy > :nth-child(3) { transition-delay: .45s; }
.hero-copy.is-active > * { transform: none; }
.hero-copy--top { align-self: start; }
.hero-copy--middle { align-self: center; }
.hero-copy--bottom { align-self: end; }
.hero-copy--left { justify-self: start; align-items: flex-start; text-align: left; }
.hero-copy--center { justify-self: center; align-items: center; text-align: center; }
.hero-copy--right { justify-self: end; align-items: flex-end; text-align: right; }
.hero-eyebrow { margin: 0 0 1.1rem; font-size: clamp(.85rem, 1.1vw, 1rem); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.hero-title {
  margin: 0; max-width: 19ch;
  font-family: var(--font-hero); font-weight: 400; font-size: clamp(3.6rem, 8vw, 9.5rem); line-height: .98; letter-spacing: .01em;
  text-transform: uppercase; text-wrap: balance;
}
.hero-lead { margin: 1.5rem 0 0; max-width: 42rem; font-size: clamp(1.1rem, 1.45vw, 1.4rem); line-height: 1.55; color: #ece8e1; }
/* fixed proportions so the doors don't jump when the caption changes with the slide */
.hl-row { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(1.5rem, 4vh, 2.75rem); }
.hl-track { display: flex; gap: clamp(.9rem, 1.6vw, 1.6rem); overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; }
.hl-track::-webkit-scrollbar { display: none; }
.hl-circle { flex: none; width: 96px; display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.hl-ring { width: 88px; height: 88px; display: block; padding: 3px; border-radius: 50%; background: conic-gradient(from 200deg, #fd7f03, #ffc061, #ff5a1f, #fd7f03); transition: transform .35s var(--ease); }
.hl-ring img, .hl-ring-empty { width: 100%; height: 100%; display: block; border: 3px solid var(--ink); border-radius: 50%; object-fit: cover; background: #222; }
.hl-ring-empty { display: grid; place-items: center; }
.hl-ring-empty .icon { width: 1.4rem; height: 1.4rem; }
.hl-circle:hover .hl-ring, .hl-circle:focus-visible .hl-ring { transform: scale(1.06); }
.hl-circle.is-seen .hl-ring { background: rgba(255, 255, 255, .38); }
.hl-name { max-width: 100%; overflow: hidden; font-size: .82rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }

/* story viewer: one 9:16 card in the middle of the screen; full screen on phones */
html.story-open { overflow: hidden; }
.hl-viewer { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; gap: 1.5rem; background: rgba(10, 10, 10, .94); opacity: 0; transition: opacity .3s; }
.hl-viewer.is-open { opacity: 1; }
.hl-viewer[hidden] { display: none; }
.hl-card { position: relative; height: min(92vh, 860px); aspect-ratio: 9 / 16; max-width: 100vw; overflow: hidden; border-radius: 14px; background: #000; color: #fff; }
.hl-slide { position: absolute; inset: 0; display: none; }
.hl-slide.is-active { display: block; }
.hl-slide::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 140px; background: linear-gradient(rgba(0, 0, 0, .55), transparent); pointer-events: none; }
.hl-media, .hl-slide > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hl-yt { position: absolute; inset: 0; display: grid; place-items: center; background: #000; }
.hl-yt img, .hl-yt iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; object-fit: cover; }
.hl-yt-play { position: absolute; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); }
.hl-yt-play .icon { width: 1.6rem; height: 1.6rem; margin-left: 4px; }
.hl-yt.is-playing img, .hl-yt.is-playing .hl-yt-play { display: none; }
.hl-bars { position: absolute; z-index: 3; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; }
.hl-bar { flex: 1; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.hl-bar i { display: block; width: 0; height: 100%; background: #fff; }
.hl-bar.is-done i { width: 100%; }
.hl-bar.is-preview i { width: 40%; }
.hl-bar.is-active i { animation: hl-fill var(--hl-duration, 6s) linear forwards; }
.hl-bar.is-active.is-manual i { animation: none; }
.hl-viewer.is-paused .hl-bar.is-active i { animation-play-state: paused; }
@keyframes hl-fill { from { width: 0; } to { width: 100%; } }
.hl-head { position: absolute; z-index: 3; top: 24px; left: 12px; right: 110px; display: flex; align-items: center; gap: .65rem; font-size: .95rem; }
.hl-head-ring { flex: none; width: 36px; height: 36px; overflow: hidden; border: 2px solid var(--accent); border-radius: 50%; background: #222; }
.hl-head-ring img { width: 100%; height: 100%; object-fit: cover; }
.hl-head b { overflow: hidden; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.hl-tools { position: absolute; z-index: 4; top: 18px; right: 8px; display: flex; gap: .2rem; }
.hl-tool { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.hl-tool:hover { background: rgba(255, 255, 255, .14); }
.hl-tool[hidden] { display: none; }
.hl-tool .icon { width: 1.4rem; height: 1.4rem; }
[data-hl-mute][data-muted="false"] .icon:first-child, [data-hl-mute]:not([data-muted="false"]) .icon:last-child { display: none; }
.hl-tap { position: absolute; z-index: 2; top: 80px; bottom: 90px; padding: 0; border: 0; background: none; cursor: pointer; }
.hl-tap--prev { left: 0; width: 35%; }
.hl-tap--next { right: 0; width: 65%; }
.hl-viewer[data-kind="youtube"] .hl-tap--prev, .hl-viewer[data-kind="youtube"] .hl-tap--next { width: 16%; } /* the player in the middle needs its clicks */
.hl-link { position: absolute; z-index: 3; left: 50%; bottom: 32px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .45rem; max-width: calc(100% - 3rem); padding: .8rem 1.4rem; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.hl-link .icon { width: 1.1rem; height: 1.1rem; }
.hl-arrow { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: none; color: #fff; cursor: pointer; transition: background .3s; }
.hl-arrow:hover { background: rgba(255, 255, 255, .12); }
.hl-arrow .icon { width: 1.3rem; height: 1.3rem; }

/* ---------- home: intro (statement + photo), one screen tall, just above the contact band ---------- */
.intro { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: clamp(2rem, 5vh, 3.5rem) 0; overflow: hidden; background: var(--ink); color: #fff; }
.intro-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.intro-title { margin: 0; font-family: var(--font-hero); font-weight: 400; font-size: clamp(3rem, 5vw, 5.8rem); line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.accent { color: var(--accent); }
.intro-text { margin: clamp(1.25rem, 3vh, 2rem) 0 clamp(1.5rem, 3.5vh, 2.25rem); max-width: 36rem; font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.6; color: #bdb8b0; }
.intro-media { margin: 0; height: min(58vh, 600px); overflow: hidden; background: var(--ink-3); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- home: story (pinned one screen; panels move sideways while scrolling) ---------- */
.story { overflow: hidden; background: var(--ink); color: #fff; }
.story-inner { height: 100vh; height: 100svh; min-height: 620px; display: flex; flex-direction: column; padding: clamp(4.5rem, 9vh, 6rem) 0 clamp(2rem, 5vh, 3.5rem); }
.story-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem 4rem; margin-bottom: clamp(1.5rem, 4vh, 2.75rem); }
.story-head .eyebrow { margin-bottom: 1rem; color: var(--accent); }
.story-title { margin: 0; font-family: var(--font-hero); font-weight: 400; font-size: clamp(3rem, 5vw, 5.75rem); line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.story-lead { margin: 0; max-width: 28rem; font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.6; color: #bdb8b0; }
.story-viewport { flex: 1; min-height: 0; overflow-x: auto; scrollbar-width: none; }
.story-viewport::-webkit-scrollbar { display: none; }
.story.is-pinned .story-viewport { overflow: hidden; }
.story-track { display: flex; gap: 3vw; height: 100%; width: max-content; padding-inline: var(--gutter); }
.story-panel { width: min(66vw, 1100px); height: 100%; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2.5vw; }
.story-panel-media { overflow: hidden; background: var(--ink-3); }
.story-panel-media img { width: 100%; height: 100%; object-fit: cover; }
.story-panel-text { display: flex; flex-direction: column; padding-top: 1rem; border-top: 3px solid #fff; }
.story-num { margin-bottom: auto; font-family: var(--font-hero); font-size: clamp(5.5rem, 13vh, 9.5rem); line-height: .85; color: var(--accent); }
.story-panel h3 { margin: 0 0 .8rem; font-family: var(--font-hero); font-weight: 400; font-size: clamp(2.6rem, 4vw, 4rem); line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.story-panel p { margin: 0; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.6; color: #bdb8b0; }
.story-progress { position: relative; height: 3px; margin-top: clamp(1.25rem, 3.5vh, 2.25rem); background: rgba(255, 255, 255, .14); }
.story-progress span { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- home: services (pinned one screen; each card slides up over the previous one) ---------- */
.services { background: var(--ink-2); color: #fff; }
.services-inner { height: 100vh; height: 100svh; min-height: 640px; display: flex; flex-direction: column; padding: clamp(4.5rem, 9vh, 6rem) 0 clamp(2rem, 5vh, 3.5rem); }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem 3rem; }
.services .eyebrow { margin-bottom: 1rem; color: var(--accent); }
.services-title { margin: 0; font-family: var(--font-hero); font-weight: 400; font-size: clamp(3rem, 5vw, 5.75rem); line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.services-count { font-family: var(--font-hero); font-size: 2.75rem; line-height: 1; color: var(--muted-dark); }
.services-count b { font-weight: 400; color: #fff; }
.services-stage { flex: 1; min-height: 0; margin-top: clamp(1.5rem, 3.5vh, 2.5rem); }
.services-stack { position: relative; height: 100%; }
.service-card { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; background: var(--accent); color: var(--ink); box-shadow: 0 -24px 60px rgba(0, 0, 0, .5); transform-origin: top center; }
.service-card--dark { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px var(--line-dark), 0 -24px 60px rgba(0, 0, 0, .5); }
.service-card-media { overflow: hidden; background: var(--ink-3); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; }
.service-card-body { display: flex; flex-direction: column; min-height: 0; padding: clamp(1.75rem, 3vw, 3rem) clamp(1.75rem, 3.2vw, 3.25rem); }
.service-num { font-family: var(--font-hero); font-size: 1.5rem; color: var(--ink); }
.service-card--dark .service-num { color: var(--accent); }
.service-card h3 { margin: .3rem 0 .9rem; font-family: var(--font-hero); font-weight: 400; font-size: clamp(2.6rem, 4.2vw, 4.4rem); line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.service-card p { margin: 0 0 1.3rem; max-width: 46ch; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.6; color: rgba(13, 13, 13, .78); }
.service-card--dark p { color: #bdb8b0; }
.service-tags { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.service-tags li { padding: .4rem .8rem; border: 1px solid rgba(13, 13, 13, .3); border-radius: 999px; font-size: .85rem; font-weight: 600; }
.service-card--dark .service-tags li { border-color: var(--line-dark); color: #ddd8d0; }
.service-card .btn { margin-top: auto; align-self: flex-start; }
/* without the pinned animation (phones, reduced motion) the cards simply sit under each other */
.services:not(.is-pinned) .services-inner { height: auto; min-height: 0; }
.services:not(.is-pinned) .services-stack { height: auto; display: grid; gap: 1.25rem; }
.services:not(.is-pinned) .service-card { position: relative; inset: auto; min-height: 460px; box-shadow: none; }
/* services page */
.tag-list { list-style: none; padding: 0; margin: 1.75rem 0 2.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li { padding: .42em .9em; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 550; }

/* ---------- home: projects rail (pinned one screen; cards move sideways while scrolling) ---------- */
.rail { overflow: hidden; background: var(--ink); color: #fff; }
.rail-inner { height: 100vh; height: 100svh; min-height: 620px; display: flex; flex-direction: column; padding: clamp(4.5rem, 9vh, 6rem) 0 clamp(2rem, 5vh, 3.5rem); }
.rail-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem 3rem; margin-bottom: clamp(1.5rem, 4vh, 2.75rem); }
.rail .eyebrow { margin-bottom: 1rem; color: var(--accent); }
.rail-title { margin: 0; font-family: var(--font-hero); font-weight: 400; font-size: clamp(3rem, 5vw, 5.75rem); line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.rail-head-side { display: flex; align-items: center; gap: 2rem; }
.rail-count { font-family: var(--font-hero); font-size: 2.75rem; line-height: 1; color: var(--muted-dark); }
.rail-count b { font-weight: 400; color: #fff; }
.rail-viewport { flex: 1; min-height: 0; overflow-x: auto; scrollbar-width: none; }
.rail-viewport::-webkit-scrollbar { display: none; }
.rail.is-pinned .rail-viewport { overflow: hidden; }
.rail-track { display: flex; gap: 1.4vw; height: 100%; width: max-content; padding-inline: var(--gutter); }
.rail-card { position: relative; flex: none; height: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: #1d1d1d; }
.rail-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rail-card:hover img { transform: scale(1.06); }
.rail-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .1) 55%); pointer-events: none; }
.rail-card-count { position: absolute; z-index: 2; top: 1rem; right: 1rem; padding: .35rem .75rem; border-radius: 999px; background: rgba(13, 13, 13, .7); backdrop-filter: blur(6px); font-size: .82rem; font-weight: 700; }
.rail-card-body { position: absolute; z-index: 2; left: 1.3rem; right: 1.3rem; bottom: 1.2rem; display: flex; flex-direction: column; align-items: flex-start; }
.rail-card-meta { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.rail-card-title { margin: .35rem 0 .2rem; font-family: var(--font-hero); font-size: clamp(2rem, 2.6vw, 2.6rem); line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.rail-card-loc { font-size: .95rem; color: #d5d0c8; }
.rail-card-go {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; padding: .55rem 1rem;
  border-radius: 999px; background: var(--accent); color: var(--ink); font-size: .88rem; font-weight: 700;
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .4s var(--ease);
}
.rail-card-go .icon { width: 1rem; height: 1rem; }
.rail-card:hover .rail-card-go, .rail-card:focus-visible .rail-card-go { opacity: 1; transform: none; }
.rail-end { flex: none; height: 100%; aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; background: var(--accent); color: var(--ink); transition: background .3s; }
.rail-end:hover { background: #ff9531; }
.rail-end span { font-size: 1.1rem; font-weight: 700; }
.rail-end strong { font-family: var(--font-hero); font-weight: 400; font-size: clamp(3.2rem, 4.5vw, 4.6rem); line-height: .95; text-transform: uppercase; }
.rail-end .icon { width: 2.6rem; height: 2.6rem; }
.rail-progress { position: relative; height: 3px; margin-top: clamp(1.25rem, 3.5vh, 2.25rem); background: rgba(255, 255, 255, .14); }
.rail-progress span { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- news ---------- */
/* home page: lead story with two smaller ones next to it, one screen tall */
.home-news { background: var(--ink-2); color: #fff; }
.hn-inner { height: 100vh; height: 100svh; min-height: 640px; display: flex; flex-direction: column; padding-top: clamp(4.5rem, 9vh, 6rem); padding-bottom: clamp(2rem, 5vh, 3.5rem); }
.hn-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem 3rem; margin-bottom: clamp(1.5rem, 3.5vh, 2.5rem); }
.home-news .eyebrow { margin-bottom: 1rem; color: var(--accent); }
.hn-title { margin: 0; font-family: var(--font-hero); font-weight: 400; font-size: clamp(3rem, 5vw, 5.75rem); line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.hn-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.hn-tile { position: relative; overflow: hidden; background: #1d1d1d; }
.hn-tile--lead { grid-row: 1 / 3; }
.hn-grid--1 .hn-tile--lead { grid-column: 1 / 3; }
.hn-grid--2 .hn-tile:not(.hn-tile--lead) { grid-row: 1 / 3; }
.hn-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hn-tile:hover img { transform: scale(1.05); }
.hn-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .05) 60%); pointer-events: none; }
.hn-play {
  position: absolute; z-index: 3; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px;
  display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .35); transition: transform .4s var(--ease);
}
.hn-play .icon { width: 32px; height: 32px; margin-left: 4px; }
.hn-tile:hover .hn-play { transform: scale(1.08); }
.hn-tile:not(.hn-tile--lead) .hn-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.hn-tile:not(.hn-tile--lead) .hn-play .icon { width: 24px; height: 24px; }
.hn-body { position: absolute; z-index: 2; left: 1.6rem; right: 1.6rem; bottom: 1.4rem; display: flex; flex-direction: column; align-items: flex-start; }
.hn-date { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.hn-tile-title { margin-top: .4rem; font-family: var(--font-hero); font-size: clamp(1.8rem, 2.3vw, 2.2rem); line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; }
.hn-tile--lead .hn-tile-title { font-size: clamp(2.8rem, 4.2vw, 4.5rem); }
.hn-tile-text { margin-top: .6rem; max-width: 640px; font-size: 1rem; line-height: 1.55; color: #ddd8d0; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 3rem) clamp(1.25rem, 2.4vw, 2.5rem); }
.news-card { display: flex; flex-direction: column; }
.news-card .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-card:hover .media img { transform: scale(1.05); }
.play-badge {
  position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem .9rem .5rem .55rem; background: var(--accent); color: var(--ink); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.play-badge .icon { width: 1.4rem; height: 1.4rem; }
.news-date { margin: 1.15rem 0 .4rem; font-size: .78rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.news-card h3 { margin: 0 0 .6rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.55rem, 2vw, 1.95rem); line-height: 1.1; transition: color .3s; }
.news-card:hover h3 { color: var(--accent-ink); }
.news-card p { margin: 0; color: var(--muted); font-size: .96rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- contact band & footer ---------- */
/* contact call-to-action above the footer: full orange screen on the home page, shorter elsewhere */
.contact-cta { padding: clamp(5rem, 12vh, 8rem) 0; background: var(--accent); color: var(--ink); text-align: center; }
.contact-cta--full { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.contact-cta-inner { display: flex; flex-direction: column; align-items: center; }
.contact-cta .eyebrow { color: var(--ink); }
.contact-cta .eyebrow::before { background: var(--ink); }
.contact-cta-title { margin: 0; font-family: var(--font-hero); font-weight: 400; font-size: clamp(4.2rem, 10vw, 11.5rem); line-height: .9; letter-spacing: .01em; text-transform: uppercase; }
.contact-cta-title span { color: #fff; }
.contact-cta-text { margin: 2rem 0 2.6rem; max-width: 40rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; }
.contact-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.btn-lg { padding: 1.2em 2em; font-size: 1.05rem; }
.btn-lg .icon { width: 1.2em; height: 1.2em; }
.contact-cta .btn-dark:hover { background: #2a2a2a; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-whatsapp .icon { color: #25d366; }
.contact-cta-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; margin-top: 2.6rem; font-size: 1rem; font-weight: 700; }
.contact-cta-info a, .contact-cta-info span { display: inline-flex; align-items: center; gap: .5rem; }
.contact-cta-info .icon { width: 1.1em; height: 1.1em; }

.site-footer { background: var(--ink); color: #cfcac2; padding: clamp(4.5rem, 8vw, 6.5rem) 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 3rem; }
.footer-brand img { height: 104px; width: auto; }
.footer-brand p { margin: 1.5rem 0 0; max-width: 34ch; color: var(--muted-dark); }
.footer-col h2 { margin: 0 0 1.3rem; font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-dark); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact .icon { margin-top: .2rem; color: var(--accent); width: 1.05rem; height: 1.05rem; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.5rem; }
.footer-social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.footer-social .icon { width: 1.1rem; height: 1.1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .84rem; color: var(--muted-dark); }
.footer-bottom nav { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: #fff; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: calc(var(--header-h) + clamp(3rem, 10vw, 8.5rem)) 0 clamp(3rem, 6vw, 5.5rem); }
.page-hero.has-image { min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 35%, rgba(0, 0, 0, .82) 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .lead { color: #cfcac2; max-width: 58ch; margin-top: 1.6rem; }
.page-hero .display { max-width: 18ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 2rem; padding: 0; list-style: none; font-size: .8rem; color: var(--muted-dark); }
.crumbs li + li::before { content: "/"; margin-right: .55rem; opacity: .5; }
.crumbs a:hover { color: #fff; }
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--alt { background: var(--paper-2); }

/* rich text */
.prose { max-width: 70ch; font-size: 1.06rem; line-height: 1.78; color: #2c2a26; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25rem; }
.prose h2, .prose h3 { margin: 2.75rem 0 1.1rem; font-family: var(--font-display); font-weight: 400; line-height: 1.08; color: var(--ink); }
.prose h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
.prose h3 { font-size: clamp(1.7rem, 2.4vw, 2.15rem); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.5rem; }
.prose ul li { margin-bottom: .55rem; padding-left: .3rem; }
.prose ul li::marker { color: var(--accent); }
.prose ol { list-style: none; counter-reset: step; padding: 0; margin: 1.25rem 0 2.25rem; }
.prose ol li { counter-increment: step; position: relative; padding: 1rem 0 1rem 3.6rem; border-top: 1px solid var(--line); }
.prose ol li:last-child { border-bottom: 1px solid var(--line); }
.prose ol li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: .85rem; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; color: var(--accent-ink); }
.prose blockquote { margin: 2rem 0; padding-left: 1.5rem; border-left: 2px solid var(--accent); font-family: var(--font-display); font-size: 1.6rem; line-height: 1.3; }
.prose em { color: var(--muted); }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }

/* projects list */
.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.chip { display: inline-flex; align-items: center; gap: .5em; padding: .65em 1.15em; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.chip small { font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-active small { color: var(--muted-dark); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.25rem, 4vw, 3.5rem) clamp(1.25rem, 2.2vw, 2.25rem); }
.project-card { display: block; }
.project-card .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.project-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project-card:hover .media img { transform: scale(1.05); }
.project-card .media .count { position: absolute; right: .8rem; bottom: .8rem; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .6rem; background: rgba(13, 13, 13, .7); color: #fff; font-size: .72rem; font-weight: 650; backdrop-filter: blur(6px); }
.project-card .media .count .icon { width: .95rem; height: .95rem; }
.project-card .meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.project-card .meta span:first-child { color: var(--accent-ink); }
.project-card h3 { margin: .4rem 0 .2rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.9vw, 1.85rem); line-height: 1.08; }
.project-card .loc { color: var(--muted); font-size: .92rem; }
.placeholder-art { position: absolute; inset: 0; display: grid; place-items: center; }
.placeholder-art svg { width: 34%; }
.placeholder-art path { fill: none; stroke: var(--accent); stroke-width: 14; stroke-linecap: round; opacity: .55; }

/* project detail */
.meta-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.meta-bar > div { padding: 1.6rem var(--gutter) 1.6rem 0; }
.meta-bar > div + div { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.meta-bar dt { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.meta-bar dd { margin: .35rem 0 0; font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.15; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.spec-list { margin: 0 0 2.5rem; border-top: 1px solid var(--line); }
.spec-list > div { display: grid; grid-template-columns: minmax(150px, .55fr) minmax(0, 1fr); gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.spec-list dd { margin: 0; }
.aside-card { position: sticky; top: calc(var(--header-h) + 2rem); padding: clamp(2rem, 3vw, 2.75rem); background: var(--ink); color: #fff; }
.aside-card h2 { margin: 0 0 1rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 2.4vw, 2.3rem); line-height: 1.05; }
.aside-card p { margin: 0 0 1.75rem; color: #bdb8b0; font-size: .98rem; }
.aside-card .btn { width: 100%; }
.aside-card .btn + .btn { margin-top: .6rem; }
.gallery { columns: 3 280px; column-gap: .9rem; }
.gallery a { display: block; position: relative; margin-bottom: .9rem; overflow: hidden; break-inside: avoid; background: var(--paper-2); }
.gallery img { width: 100%; transition: transform 1s var(--ease), opacity .4s; }
.gallery a:hover img { transform: scale(1.04); }
.pager-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pager-nav a { display: flex; flex-direction: column; gap: .4rem; padding: clamp(2rem, 4vw, 3rem) 0; transition: color .3s; }
.pager-nav a + a, .pager-nav span + a { text-align: right; align-items: flex-end; border-left: 1px solid var(--line); padding-left: 2rem; }
.pager-nav small { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pager-nav strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.05; }
.pager-nav a:hover { color: var(--accent-ink); }

/* services index */
.service-rows { display: grid; gap: clamp(4rem, 9vw, 8rem); }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row-media { aspect-ratio: 5 / 4; overflow: hidden; background: var(--paper-2); }
.service-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.service-row:hover .service-row-media img { transform: scale(1.04); }
.service-row h2 { margin: .75rem 0 1.25rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 4vw, 3.8rem); line-height: 1; }
.service-row p { color: var(--muted); max-width: 48ch; margin: 0; }

/* service detail */
.item-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.item-grid li { display: flex; gap: 1.1rem; align-items: baseline; padding: 1.2rem 1.5rem 1.2rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 550; }
.item-grid li span { font-family: var(--font-display); color: var(--accent-ink); font-size: 1.15rem; font-weight: 400; min-width: 1.8rem; }
.other-services { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.other-services a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); transition: color .3s; }
.other-services a:hover { color: var(--accent); }

/* about */
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.about-intro .section-title { position: sticky; top: calc(var(--header-h) + 2rem); }
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.mv-card { position: relative; padding: clamp(2.5rem, 4vw, 4rem); background: var(--ink-2); border: 1px solid var(--line-dark); overflow: hidden; }
.mv-card .letter { position: absolute; right: -.05em; top: -.18em; font-family: var(--font-display); font-style: italic; font-size: clamp(10rem, 18vw, 16rem); line-height: 1; color: var(--accent); opacity: .16; pointer-events: none; }
.mv-card h2 { position: relative; margin: 0 0 1.25rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 3.4vw, 3.2rem); }
.mv-card .prose { position: relative; color: #cfcac2; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.feature { padding: clamp(2rem, 3vw, 2.75rem) clamp(1.5rem, 2.5vw, 2.5rem) clamp(2rem, 3vw, 2.75rem) 0; border-bottom: 1px solid var(--line); }
.feature:not(:nth-child(3n + 1)) { padding-left: clamp(1.5rem, 2.5vw, 2.5rem); border-left: 1px solid var(--line); }
.feature span { font-family: var(--font-display); color: var(--accent-ink); font-size: 1.15rem; }
.feature h3 { margin: .6rem 0 .75rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 2.2vw, 2.1rem); line-height: 1.05; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.4vw, 2.5rem); }
.team-card .avatar { aspect-ratio: 4 / 5; overflow: hidden; background: var(--white); display: grid; place-items: center; }
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card .initials { font-family: var(--font-display); font-size: clamp(3.5rem, 6vw, 5.5rem); color: var(--accent-ink); }
.team-card h3 { margin: 1.1rem 0 .2rem; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.team-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.team-card p strong { color: var(--ink); font-weight: 650; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.info-list li { display: grid; grid-template-columns: 2.75rem 1fr; gap: .25rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.info-list .icon { color: var(--accent-ink); width: 1.3rem; height: 1.3rem; margin-top: .3rem; }
.info-list small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.info-list a, .info-list address { font-style: normal; font-size: 1.12rem; font-weight: 550; }
.info-list a:hover { color: var(--accent-ink); }
.form-card { padding: clamp(2rem, 4vw, 3.5rem); background: var(--white); box-shadow: 0 30px 80px rgba(13, 13, 13, .07); scroll-margin-top: calc(var(--header-h) + 1rem); }
.form-card h2 { margin: 0 0 .5rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.05; }
.form-card > p { margin: 0 0 2rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.25rem; }
.field { display: grid; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1rem; border: 1px solid var(--line); border-radius: 2px; background: var(--paper);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .25s, background .25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field-error, .validation-summary-errors { color: #b42318; font-size: .85rem; }
.input-validation-error { border-color: #b42318 !important; }
.field label.check, .check { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--accent); flex: none; }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { padding: 1.5rem 1.75rem; background: #edf7ee; border-left: 3px solid #2f8a46; margin-bottom: 2rem; }
.form-success strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }
.map-wrap { position: relative; height: clamp(320px, 45vw, 520px); background: var(--paper-2); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* news detail */
.article-media { margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.article-media img { width: 100%; }
.yt-lite { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform 1s var(--ease); }
.yt-lite:hover img { opacity: 1; transform: scale(1.02); }
.yt-lite .yt-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); transition: transform .35s var(--ease); }
.yt-lite:hover .yt-play { transform: scale(1.08); }
.yt-lite .yt-play .icon { width: 34px; height: 34px; margin-left: 4px; }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.share { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.share a { padding: .45em .9em; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; }
.share a:hover { border-color: var(--ink); }
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: clamp(3rem, 6vw, 5rem); }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 .9rem; border: 1px solid var(--line); font-weight: 650; }
.pagination .is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty-state { padding: 4rem 0; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --header-h: 78px; --capsule-x: 12px; --capsule-top: 12px; --capsule-h: 62px; }
  .header-inner { padding: 0 .45rem 0 1rem; }
  .brand { height: 38px; }
  .header-call { width: 46px; height: 46px; background: var(--accent); border-color: var(--accent); color: var(--ink); }
  .header-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
  .menu-toggle { width: 46px; height: 46px; }
  .menu-toggle span { left: 13px; right: 13px; }
  .menu-toggle span:first-child { top: 18px; }
  .menu-toggle span:last-child { top: 26px; }
  html.menu-open .menu-toggle span:first-child, html.menu-open .menu-toggle span:last-child { top: 22px; }
  .hl-circle { width: 78px; }
  .hl-ring { width: 72px; height: 72px; }
  .hl-name { font-size: .76rem; }
  .intro { min-height: 0; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-media { height: auto; aspect-ratio: 16 / 10; }
  .story-inner { height: auto; min-height: 0; padding-block: 4rem; }
  .story-viewport { scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; }
  .story-track { height: auto; }
  .story-panel { width: 82vw; grid-template-columns: 1fr; gap: 1.25rem; scroll-snap-align: start; }
  .story-panel-media { aspect-ratio: 4 / 3; }
  .story-num { margin-bottom: .75rem; font-size: 4rem; }
  .story-progress { display: none; }
  .services-count { display: none; }
  /* phones and tablets: swipe the service cards sideways; the next card peeks in at the edge */
  .services-stage { padding-inline: 0; }
  .services:not(.is-pinned) .services-stack {
    display: flex; gap: 1rem; overflow-x: auto; scrollbar-width: none;
    padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  }
  .services:not(.is-pinned) .services-stack::-webkit-scrollbar { display: none; }
  .services:not(.is-pinned) .service-card { flex: 0 0 min(84vw, 520px); grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 0; scroll-snap-align: start; }
  .service-card-media { aspect-ratio: 16 / 9; }
  /* compact card: the tags become one short dotted line of text instead of a column of pills */
  .service-card-body { padding: 1.4rem 1.3rem 1.5rem; }
  .service-card h3 { margin: .2rem 0 .7rem; font-size: clamp(2.1rem, 8vw, 2.8rem); }
  .service-card p { margin-bottom: 1rem; font-size: 1rem; line-height: 1.55; }
  .service-tags { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-bottom: 1.25rem; }
  .service-tags li, .service-card--dark .service-tags li { display: inline; padding: 0; border: 0; font-size: .85rem; line-height: 1.6; opacity: .85; }
  .service-tags li + li::before { content: " · "; }
  .rail-inner { height: auto; min-height: 0; padding-block: 4rem; }
  .rail-viewport { scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; }
  .rail-track { height: auto; }
  .rail-card, .rail-end { width: 74vw; height: auto; scroll-snap-align: start; }
  .rail-card-go { opacity: 1; transform: none; }
  .rail-count, .rail-progress { display: none; }
  .news-grid, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-inner { height: auto; min-height: 0; padding-block: 4rem; }
  .hn-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .hn-tile { grid-row: auto !important; grid-column: auto !important; aspect-ratio: 16 / 10; }
  .hn-tile--lead { aspect-ratio: 1 / 1; }
  .hn-play, .hn-tile:not(.hn-tile--lead) .hn-play { left: auto; top: 1rem; right: 1rem; width: 56px; height: 56px; margin: 0; }
  .hn-play .icon, .hn-tile:not(.hn-tile--lead) .hn-play .icon { width: 22px; height: 22px; }
  .detail-grid, .contact-grid, .about-intro { grid-template-columns: 1fr; }
  .about-intro .section-title { position: static; }
  .aside-card { position: static; }
  .meta-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meta-bar > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .meta-bar > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row-media { order: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .feature:nth-child(even) { padding-left: clamp(1.5rem, 2.5vw, 2.5rem); border-left: 1px solid var(--line); }
  .mv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-eyebrow { font-size: .74rem; letter-spacing: .14em; }
  .hl-card { width: 100vw; height: 100svh; aspect-ratio: auto; border-radius: 0; }
  .hl-arrow { display: none; }
  .header-actions .btn { display: none; }
  .news-grid, .project-grid, .feature-grid, .item-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature:nth-child(even) { padding-left: 0; border-left: 0; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .spec-list > div { grid-template-columns: 1fr; gap: .3rem; }
  .pager-nav { grid-template-columns: 1fr; }
  .pager-nav a + a, .pager-nav span + a { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; text-align: left; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js [data-intro], html.js [data-reveal], html.js [data-reveal="img"] > img { opacity: 1; transform: none; clip-path: none; }
}
