/* ==========================================================================
   Tashweeq — public site
   Nature-inspired industrial luxury. Signature: the arch (window onto the work).
   ========================================================================== */

@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Thmanyah Display"; src: url("../fonts/thmanyahserifdisplay-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Thmanyah Display"; src: url("../fonts/thmanyahserifdisplay-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --olive: #465C43;
  --olive-deep: #3A4D38;
  --ivory: #FAF8F2;
  --stone: #EAE2D4;
  --stone-deep: #DDD2BF;
  --charcoal: #292B26;
  --brown: #78654C;
  --clay: #A65F46;
  --white: #FFFFFF;
  --ink-soft: #5A5C55;
  --line: rgba(41, 43, 38, .14);
  --line-strong: rgba(41, 43, 38, .28);

  --f-body: "Thmanyah Sans", "Segoe UI", Tahoma, sans-serif;
  --f-display: "Thmanyah Display", "Thmanyah Sans", serif;
  --f-latin: "Manrope", "Thmanyah Sans", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --max: 1440px;
  --section: clamp(88px, 12vw, 176px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 84px;
}

html[lang="en"] {
  --f-body: "Manrope", system-ui, sans-serif;
  --f-display: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.65; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--olive); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--charcoal); color: var(--ivory); padding: 10px 16px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--stone { background: var(--stone); }
.section--olive { background: var(--olive); color: var(--ivory); }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }

/* ---------- Type ---------- */
.display, h1, h2, h3 { font-family: var(--f-display); font-weight: 900; line-height: 1.15; margin: 0; letter-spacing: 0; }
html[lang="en"] .display, html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-weight: 800; letter-spacing: -.025em; line-height: 1.04; }
.t-hero { font-size: clamp(3rem, 8.2vw, 8.8rem); line-height: 1.12; }
html[lang="en"] .t-hero { font-size: clamp(2.8rem, 7.4vw, 7.6rem); line-height: .98; }
.t-1 { font-size: clamp(2.5rem, 5.6vw, 5.6rem); line-height: 1.08; }
.t-2 { font-size: clamp(2rem, 3.8vw, 3.6rem); line-height: 1.15; }
.t-3 { font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.3; font-weight: 700; }
.lead { font-size: clamp(1.1rem, 1.45vw, 1.35rem); line-height: 1.75; max-width: 40em; color: var(--ink-soft); margin: 0; }
.section--olive .lead { color: rgba(250, 248, 242, .82); }
.muted { color: var(--ink-soft); }
.latin { font-family: var(--f-latin); }
.prose { max-width: 42em; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: 1.8em 0 .6em; }
.prose h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); margin: 1.5em 0 .5em; font-weight: 700; }
.prose ul, .prose ol { padding-inline-start: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--olive); }
.prose a { color: var(--olive); font-weight: 500; }
.prose strong { font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 1.6em;
  font-family: var(--f-body); font-weight: 500; font-size: 1rem; line-height: 1;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--primary { background: var(--olive); color: var(--ivory); }
.btn--primary:hover { background: var(--olive-deep); }
.btn--ghost { border-color: var(--line-strong); color: var(--charcoal); background: transparent; }
.btn--ghost:hover { border-color: var(--charcoal); background: var(--charcoal); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--olive); }
.btn--light:hover { background: var(--white); }
.btn--outline-light { border-color: rgba(250, 248, 242, .5); color: var(--ivory); }
.btn--outline-light:hover { background: var(--ivory); color: var(--olive); }
.btn--sm { min-height: 44px; padding: 0 1.15em; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link:hover { color: var(--olive); }
.section--olive .link:hover { color: var(--stone); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.site-header.is-scrolled { background: rgba(250, 248, 242, .94); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.2) blur(10px); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: block; width: 116px; flex: none; color: var(--charcoal); }
.brand svg { width: 100%; height: auto; }
.nav { display: flex; gap: clamp(16px, 2vw, 30px); margin-inline-start: auto; }
.nav a { text-decoration: none; font-size: .98rem; font-weight: 500; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: var(--origin, right); transition: transform .35s var(--ease); }
html[lang="en"] .nav a::after { --origin: left; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { text-decoration: none; font-size: .92rem; font-weight: 500; padding: 8px 4px; }
.lang-switch:hover { color: var(--olive); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; margin-inline-start: auto; }
.menu-btn span { display: block; width: 26px; height: 1.5px; background: var(--charcoal); margin: 6px 0; transition: transform .3s var(--ease); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--stone); padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .55s var(--ease), visibility 0s linear .55s;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .55s var(--ease); }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-menu__close { background: none; border: 0; font-size: 1rem; cursor: pointer; padding: 10px 0; text-decoration: underline; text-underline-offset: .3em; }
.mobile-menu nav a { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(2rem, 9vw, 3rem); line-height: 1.35; text-decoration: none; }
.mobile-menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }

@media (max-width: 1080px) {
  .nav, .header-actions .btn, .header-actions .lang-switch { display: none; }
  .menu-btn { display: block; }
  :root { --header-h: 72px; }
  .brand { width: 98px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding-top: calc(var(--header-h) + clamp(24px, 4vw, 56px)); padding-bottom: clamp(40px, 5vw, 72px); display: flex; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: end; }
.hero__copy { padding-bottom: clamp(8px, 3vw, 40px); }
.hero__kicker { font-size: 1rem; font-weight: 500; color: var(--brown); margin: 0 0 clamp(20px, 3vw, 36px); }
.hero__title { margin: 0; }
.hero__title .line { display: block; overflow: hidden; padding-block: .06em; margin-block: -.06em; }
.hero__title .line > span { display: block; }
.hero__text { margin: clamp(24px, 3vw, 40px) 0 clamp(28px, 3vw, 44px); max-width: 33em; font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: var(--ink-soft); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: clamp(32px, 4vw, 56px); font-size: .95rem; color: var(--ink-soft); }
.hero__meta a { text-decoration: none; direction: ltr; unicode-bidi: isolate; }
.hero__meta a:hover { color: var(--olive); }

/* The arch — signature element */
.arch {
  position: relative; aspect-ratio: 4 / 5.6; width: 100%;
  border-radius: 9999px 9999px 0 0;
  overflow: hidden; background: var(--stone-deep); isolation: isolate;
}
.arch video, .arch img { width: 100%; height: 100%; object-fit: cover; }
.hero .arch { aspect-ratio: auto; height: min(calc(100svh - var(--header-h) - 150px), 760px); min-height: 440px; }
.arch-frame { position: relative; }
.arch-frame::before {
  content: ""; position: absolute; inset: -14px -14px 0 -14px; z-index: -1;
  border: 1px solid var(--line-strong); border-bottom: 0;
  border-radius: 9999px 9999px 0 0;
}
.arch__caption { position: absolute; inset-inline-start: 0; bottom: -30px; font-size: .8rem; color: var(--ink-soft); }
.arch__toggle {
  position: absolute; inset-inline-end: 14px; bottom: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(250, 248, 242, .85); color: var(--charcoal); cursor: pointer; display: grid; place-items: center;
}
.arch__toggle svg { width: 14px; height: 14px; }

/* Orchestrated load: arch opens upward as lines rise */
.js .hero .arch { clip-path: inset(100% 0 0 0); }
.js .hero__title .line > span { transform: translateY(105%); }
.js .hero__kicker, .js .hero__text, .js .hero .btn-row, .js .hero__meta { opacity: 0; }
.is-loaded .hero .arch { clip-path: inset(0 0 0 0); transition: clip-path 1.5s var(--ease) .15s; }
.is-loaded .hero__title .line > span { transform: none; transition: transform 1.1s var(--ease); }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero__kicker, .is-loaded .hero__text, .is-loaded .hero .btn-row, .is-loaded .hero__meta { opacity: 1; transition: opacity .9s ease .55s; }

.scroll-cue { position: absolute; bottom: 24px; inset-inline-start: 50%; transform: translateX(50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink-soft); text-decoration: none; }
html[lang="en"] .scroll-cue { transform: translateX(-50%); }
.scroll-cue i { width: 1px; height: 42px; background: linear-gradient(var(--charcoal), transparent); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .hero__media { width: min(100%, 460px); justify-self: center; }
  .hero .arch { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .hero__media { padding-inline: 12px; }
  .arch-frame::before { inset: -10px -10px 0 -10px; }
  .scroll-cue { display: none; }
}

/* ---------- Cinematic band ---------- */
.band { position: relative; overflow: hidden; }
.band__media { position: relative; height: clamp(320px, 72vh, 820px); overflow: hidden; }
.band__media img { width: 100%; height: 118%; object-fit: cover; transform: translate3d(0, var(--py, 0), 0); will-change: transform; }
.band__note { position: absolute; inset-inline-end: var(--gutter); bottom: 18px; font-size: .78rem; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 8px rgba(0,0,0,.4); }

/* ---------- Section heads ---------- */
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.head .lead { justify-self: end; }
.head--stack { grid-template-columns: 1fr; }
.head--stack .lead { justify-self: start; }
@media (max-width: 900px) { .head { grid-template-columns: 1fr; } .head .lead { justify-self: start; } }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.split__text p { margin: 0 0 1.2em; font-size: clamp(1.05rem, 1.25vw, 1.2rem); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Industries index (hover reveals image) ---------- */
.sectors { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sector-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sector-list li { border-bottom: 1px solid var(--line); }
.sector-list a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 24px; padding: clamp(18px, 2.2vw, 30px) 0; text-decoration: none; }
.sector-list .name { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.7rem, 3.1vw, 2.9rem); line-height: 1.2; transition: color .3s var(--ease), padding .4s var(--ease); }
.sector-list .sub { font-family: var(--f-latin); font-size: .85rem; color: var(--ink-soft); }
.sector-list .desc { grid-column: 1 / -1; color: var(--ink-soft); font-size: .98rem; max-width: 36em; }
.sector-list a:hover .name, .sector-list a:focus-visible .name, .sector-list li.is-active .name { color: var(--olive); padding-inline-start: 18px; }
.sectors__visual { position: sticky; top: calc(var(--header-h) + 32px); }
.sectors__visual .arch { aspect-ratio: 4 / 5; }
.sectors__visual img { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease), transform 1.2s var(--ease); transform: scale(1.06); }
.sectors__visual img.is-active { opacity: 1; transform: none; }
@media (max-width: 900px) { .sectors { grid-template-columns: 1fr; } .sectors__visual { display: none; } }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: clamp(24px, 2.6vw, 36px) 0; border-top: 1px solid var(--line); text-decoration: none; }
.svc h3 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); transition: color .3s var(--ease); }
.svc .tag { color: var(--brown); font-weight: 500; }
.svc p { margin: 4px 0 0; color: var(--ink-soft); max-width: 34em; }
.svc:hover h3 { color: var(--olive); }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Solutions (olive) ---------- */
.solutions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); }
.solution { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid rgba(250, 248, 242, .3); }
.solution h3 { font-size: clamp(1.5rem, 2vw, 1.95rem); }
.solution .who { color: var(--stone); font-weight: 500; margin: 0; }
.solution ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; font-size: .96rem; color: rgba(250, 248, 242, .85); }
.solution ul li::before { content: ""; display: inline-block; width: 10px; height: 1px; background: var(--stone); vertical-align: middle; margin-inline-end: 10px; }
.solution .link { margin-top: auto; align-self: flex-start; }
@media (max-width: 1080px) { .solutions { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; } }
@media (max-width: 640px) { .solutions { grid-template-columns: 1fr; } }

/* ---------- Process (a real sequence → numbered) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 22px; inset-inline: 0; height: 1px; background: var(--line-strong); }
.steps::after { content: ""; position: absolute; top: 22px; inset-inline-start: 0; height: 1px; width: calc(var(--progress, 0) * 100%); background: var(--olive); transition: width .2s linear; }
.step { position: relative; padding-top: 72px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; inset-inline-start: 0; width: 45px; height: 45px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--line-strong); display: grid; place-items: center;
  font-family: var(--f-latin); font-size: .82rem; font-weight: 600; z-index: 1;
}
.section--stone .step::before { background: var(--stone); }
.step h3 { font-size: clamp(1.25rem, 1.6vw, 1.55rem); margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after { top: 0; bottom: 0; inset-inline-start: 22px; width: 1px; height: auto; }
  .steps::after { height: calc(var(--progress, 0) * 100%); width: 1px; }
  .step { padding: 0 0 40px; padding-inline-start: 76px; }
}

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 56px); }
.why h3 { font-size: clamp(1.3rem, 1.7vw, 1.6rem); margin-bottom: 10px; }
.why p { margin: 0; color: var(--ink-soft); }
.why > div { padding-top: 24px; border-top: 2px solid var(--clay); }
@media (max-width: 1080px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---------- Branches ---------- */
.branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.branch { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(20px, 3vw, 40px); align-items: end; }
.branch .arch { aspect-ratio: 3 / 4; }
.branch .city { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; margin-bottom: 14px; }
.branch .phone { display: block; font-family: var(--f-latin); font-size: 1.15rem; direction: ltr; text-align: start; text-decoration: none; margin-bottom: 18px; unicode-bidi: plaintext; }
.branch .addr { color: var(--ink-soft); font-size: .95rem; margin: 0 0 18px; }
.branch .btn-row { gap: 8px; }
@media (max-width: 1080px) { .branches { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .branch { grid-template-columns: 1fr; } .branch .arch { max-width: 260px; } }

/* ---------- Insights ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.post { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.post__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post__img img { transform: scale(1.04); }
.post__meta { font-size: .88rem; color: var(--brown); display: flex; gap: 16px; }
.post h3 { font-size: clamp(1.25rem, 1.6vw, 1.55rem); line-height: 1.4; font-weight: 700; }
.post:hover h3 { color: var(--olive); }
.post p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

/* ---------- Closing CTA ---------- */
.cta-final { background: var(--stone); padding-block: var(--section); overflow: hidden; position: relative; }
.cta-final .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 48px; align-items: end; }
.cta-final h2 { font-size: clamp(2.8rem, 7vw, 7.4rem); line-height: 1.05; }
.cta-final p { margin: 28px 0 36px; color: var(--ink-soft); max-width: 32em; font-size: 1.12rem; }
.cta-final__arch { width: 100%; max-width: 280px; justify-self: end; }
.cta-final__arch .arch { aspect-ratio: 3 / 4.4; }
@media (max-width: 900px) { .cta-final .wrap { grid-template-columns: 1fr; } .cta-final__arch { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 128px)); padding-bottom: clamp(48px, 6vw, 96px); }
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 6.4rem); line-height: 1.08; max-width: 14em; }
.page-hero .lead { margin-top: clamp(20px, 2.5vw, 32px); }
.page-hero__sub { font-family: var(--f-latin); font-size: .95rem; color: var(--brown); margin: 0 0 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .88rem; color: var(--ink-soft); margin-bottom: clamp(24px, 3vw, 40px); padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-inline-end: 12px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--olive); }
.page-figure { margin: 0; }
.page-figure img { width: 100%; height: clamp(280px, 62vh, 720px); object-fit: cover; }

/* ---------- Detail blocks (service/industry) ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); padding-block: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line); }
.detail:first-child { border-top: 0; }
.detail h2 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.checklist li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.checklist--single { grid-template-columns: 1fr; }
.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 56px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--f-latin); color: var(--brown); font-size: .9rem; padding-top: 3px; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 700; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-latin); font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--olive); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 24px; color: var(--ink-soft); max-width: 46em; }

.cta-inline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(32px, 4vw, 56px); background: var(--olive); color: var(--ivory); }
.cta-inline h2, .cta-inline h3 { font-size: clamp(1.6rem, 2.8vw, 2.6rem); }

/* ---------- Services index ---------- */
.svc-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-index a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) 120px; gap: 16px 40px; align-items: center; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.svc-index h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); transition: color .3s var(--ease); }
.svc-index .sub { display: block; font-family: var(--f-latin); font-size: .85rem; color: var(--ink-soft); margin-top: 6px; }
.svc-index p { margin: 0; color: var(--ink-soft); }
.svc-index .thumb { width: 120px; aspect-ratio: 1; border-radius: 9999px 9999px 0 0; overflow: hidden; background: var(--stone); }
.svc-index .thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: filter .4s; }
.svc-index a:hover h2 { color: var(--olive); }
.svc-index a:hover .thumb img { filter: none; }
@media (max-width: 860px) { .svc-index a { grid-template-columns: 1fr 72px; } .svc-index p { grid-column: 1 / -1; grid-row: 2; } .svc-index .thumb { width: 72px; grid-row: 1; grid-column: 2; } }

/* ---------- Work / portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters a { text-decoration: none; padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .92rem; }
.filters a[aria-current] { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px) clamp(16px, 2vw, 32px); }
.work-card { grid-column: span 6; text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.work-card:nth-child(3n+1) { grid-column: span 7; }
.work-card:nth-child(3n+2) { grid-column: span 5; padding-top: clamp(0px, 8vw, 120px); }
.work-card:nth-child(3n) { grid-column: 3 / span 8; }
.work-card__img { overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3; }
.work-card:nth-child(3n+2) .work-card__img { aspect-ratio: 4 / 5; }
.work-card__img img, .work-card__img video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-card:hover .work-card__img img { transform: scale(1.035); }
.work-card h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.work-card .meta { color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 760px) { .work-card, .work-card:nth-child(n) { grid-column: 1 / -1; padding-top: 0; } }
.empty-note { padding: clamp(40px, 6vw, 88px); background: var(--stone); display: grid; gap: 24px; justify-items: start; }
.empty-note p { margin: 0; max-width: 40em; font-size: 1.1rem; }

.project-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; margin-top: 40px; }
.project-facts dt { font-size: .85rem; color: var(--ink-soft); }
.project-facts dd { margin: 4px 0 0; font-weight: 700; }
@media (max-width: 760px) { .project-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery figure:nth-child(3n+1) { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.video-frame { aspect-ratio: 16 / 9; background: var(--charcoal); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Article ---------- */
.article-head { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 96px)); }
.article-head h1 { font-size: clamp(2.2rem, 4.8vw, 4.6rem); line-height: 1.18; max-width: 18em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; color: var(--ink-soft); font-size: .95rem; }
.article-cover { margin: clamp(40px, 5vw, 72px) 0 0; }
.article-cover img { width: 100%; height: clamp(260px, 56vh, 640px); object-fit: cover; }
.article-body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(48px, 6vw, 96px); }
.article-body .prose { font-size: clamp(1.05rem, 1.2vw, 1.18rem); line-height: 1.95; }
html[lang="en"] .article-body .prose { line-height: 1.75; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .93rem; }
.toc p { font-weight: 700; margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.toc a { text-decoration: none; color: var(--ink-soft); }
.toc a:hover { color: var(--olive); }
@media (max-width: 900px) { .article-body { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form-aside { position: sticky; top: calc(var(--header-h) + 24px); background: var(--stone); padding: clamp(24px, 3vw, 40px); }
.form-aside h2 { font-size: 1.5rem; margin-bottom: 18px; }
.form-aside ol { margin: 0 0 24px; padding-inline-start: 1.2em; display: grid; gap: 10px; }
.form-aside .contact-lines { display: grid; gap: 10px; border-top: 1px solid var(--line-strong); padding-top: 20px; }
.form-aside .contact-lines a { text-decoration: none; font-weight: 500; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } .form-aside { position: static; } }

.form fieldset { border: 0; padding: 0; margin: 0 0 clamp(36px, 4vw, 56px); }
.form legend { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.4rem, 2vw, 1.9rem); margin-bottom: 20px; padding: 0; }
html[lang="en"] .form legend { font-weight: 800; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.grid-2 .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-weight: 500; font-size: .96rem; }
.field label small, .field .label small { color: var(--ink-soft); font-weight: 400; }
.req { color: var(--clay); }
.input, .select, .textarea {
  width: 100%; min-height: 54px; padding: 12px 16px; background: var(--white);
  border: 1px solid var(--line-strong); border-radius: 2px; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23292B26' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat left 16px center / 12px 8px; padding-inline-end: 40px; }
html[lang="en"] .select { background-position: right 16px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(70, 92, 67, .18); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--clay); }
.field-error { color: var(--clay); font-size: .88rem; margin: 0; }
.hint { color: var(--ink-soft); font-size: .86rem; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); transition: all .2s; cursor: pointer; font-weight: 500; font-size: .95rem; }
.chip input:checked + span { background: var(--olive); border-color: var(--olive); color: var(--ivory); }
.chip input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--olive); flex: none; }
.check a { color: var(--olive); }
.file-drop { display: grid; gap: 6px; padding: 20px; border: 1px dashed var(--line-strong); background: var(--white); }
.form-alert { padding: 16px 20px; margin-bottom: 28px; border-inline-start: 3px solid var(--clay); background: rgba(166, 95, 70, .08); }
.form-alert--ok { border-color: var(--olive); background: rgba(70, 92, 67, .08); }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }

/* ---------- Thank you ---------- */
.thanks { min-height: 80svh; display: grid; align-items: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; }
.thanks .ref { display: inline-block; margin-top: 24px; padding: 14px 22px; background: var(--stone); font-family: var(--f-latin); font-weight: 700; letter-spacing: .04em; direction: ltr; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(250, 248, 242, .78); padding-top: clamp(64px, 8vw, 120px); padding-bottom: 32px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ivory); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; padding-bottom: clamp(48px, 6vw, 88px); }
.footer-brand { width: 150px; color: var(--ivory); margin-bottom: 24px; }
.footer-top h2 { font-family: var(--f-body); font-size: .95rem; font-weight: 700; color: var(--ivory); margin-bottom: 18px; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .96rem; }
.footer-top p { margin: 0; max-width: 28em; }
.footer-phone { font-family: var(--f-latin); color: var(--ivory); font-size: 1.25rem; direction: ltr; display: inline-block; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(250, 248, 242, .14); font-size: .86rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: .25em; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(250, 248, 242, .25); border-radius: 50%; display: grid; place-items: center; }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ---------- Floating WhatsApp (mobile) ---------- */
.float-actions { position: fixed; z-index: 40; inset-inline-end: 16px; bottom: 16px; display: none; gap: 10px; }
.float-actions a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: var(--ivory); box-shadow: 0 6px 20px rgba(41, 43, 38, .22); }
.float-actions a svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 900px) { .float-actions { display: grid; } }

/* ---------- Consent ---------- */
.consent { position: fixed; z-index: 70; inset-inline: 16px; bottom: 16px; max-width: 520px; background: var(--ivory); border: 1px solid var(--line-strong); padding: 22px; box-shadow: 0 12px 40px rgba(41, 43, 38, .16); display: none; }
.consent.is-open { display: block; }
.consent h2 { font-family: var(--f-body); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.consent p { margin: 0 0 16px; font-size: .93rem; color: var(--ink-soft); line-height: 1.7; }
.consent .btn-row { gap: 8px; }
.consent__prefs { display: none; gap: 12px; margin-bottom: 16px; }
.consent.show-prefs .consent__prefs { display: grid; }
.consent__prefs label { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: .92rem; }
.consent__prefs label small { grid-column: 2; color: var(--ink-soft); }

/* ---------- Reveal (used sparingly) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .hero .arch, .js .hero__title .line > span, .js [data-reveal], .js .hero__kicker, .js .hero__text, .js .hero .btn-row, .js .hero__meta { clip-path: none !important; transform: none !important; opacity: 1 !important; }
  .band__media img { transform: none !important; height: 100%; }
}

@media print {
  .site-header, .site-footer, .float-actions, .consent, .scroll-cue { display: none !important; }
}
