/* =========================================================
   Amtar Developments
   Brand values from the company profile: burgundy #49132a,
   logo cream #feddb0, project green #96bd3d, Alexandria type,
   kashida-stretched Arabic titles. Motion theme: things grow.
   ========================================================= */
:root {
  --wine: #49132a;
  --wine-950: #1f0711;
  --wine-900: #2a0a18;
  --wine-800: #3a0f21;
  --wine-600: #6a1a3a;
  --cream: #feddb0;
  --cream-soft: #fbe9cf;
  --ivory: #fffce5;
  --paper: #f7f2ea;
  --leaf: #96bd3d;
  --ink: #231f20;
  --ink-soft: #5e5357;
  --on-dark: rgba(255, 252, 229, .8);
  --on-dark-soft: rgba(255, 252, 229, .64);
  --rule-dark: rgba(255, 252, 229, .16);
  --rule-light: rgba(73, 19, 42, .14);

  --r-lg: 32px;     /* framed sections */
  --r: 22px;        /* images & cards */
  --r-sm: 14px;     /* small media, inputs */
  --pill: 999px;    /* buttons */

  --font: "Alexandria", "Segoe UI", Tahoma, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --frame-gap: clamp(8px, 1vw, 12px);
  --section: clamp(84px, 10vw, 150px);
  --header-h: 88px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dir: 1;
}
html[dir="ltr"] { --dir: -1; }

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--wine-600) var(--paper);
  accent-color: var(--wine);
}
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(16px, .35vw + 14.5px, 18px);
  line-height: 1.95;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--wine);
}
html:lang(en) body { line-height: 1.7; }
body.page-dark { background: var(--wine-900); }
::selection { background: var(--cream); color: var(--wine-900); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .3em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, dl, dd, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.3; text-wrap: balance; }
p { text-wrap: pretty; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.dark { background: var(--wine-900); color: var(--on-dark); }
.wine { background: var(--wine); color: var(--on-dark); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Rounded framed panel, inset from the viewport edge */
.frame { position: relative; isolation: isolate; overflow: hidden; margin: var(--frame-gap); border-radius: var(--r-lg); }
.img-frame { position: relative; overflow: hidden; border-radius: var(--r); background: var(--wine-800); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.card { background: #fff; border-radius: var(--r); box-shadow: 0 30px 60px -40px rgba(73, 19, 42, .45); }

.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 200; background: var(--cream); color: var(--wine-900); padding: 10px 16px; border-radius: var(--pill); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; border-radius: 6px; }
.dark :focus-visible, .wine :focus-visible, .site-header :focus-visible, .menu :focus-visible, .site-footer :focus-visible,
.hero :focus-visible, .page-hero :focus-visible, .project-hero :focus-visible, .partners :focus-visible,
.cta-band :focus-visible, .soon :focus-visible, .notfound :focus-visible, .next-project:focus-visible, .lightbox :focus-visible { outline-color: var(--cream); }

/* ---------- Type ---------- */
.h-section { font-size: clamp(32px, 3.8vw, 52px); color: var(--wine); margin-bottom: .85em; }
.dark .h-section, .wine .h-section { color: var(--ivory); }
.lead { font-size: 1.22em; font-weight: 400; line-height: 1.85; color: var(--wine); }
.dark .lead, .wine .lead { color: var(--ivory); }
.statement { font-size: clamp(25px, 2.8vw, 40px); font-weight: 400; line-height: 1.6; color: var(--wine); max-width: 28ch; }
html:lang(en) .statement { max-width: 32ch; line-height: 1.4; letter-spacing: -.012em; }
.dark .statement, .wine .statement { color: var(--ivory); }
.prose { max-width: 62ch; }
.prose > * + * { margin-top: 1.1em; }
.hero-sub { margin-top: 14px; font-size: clamp(15px, 1.2vw, 18px); color: var(--on-dark); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .h-section { margin: 0; }
.sec-note { font-size: 14px; color: var(--on-dark-soft); }

/* words that fill in as you read */
.highlight-words .w { opacity: .24; transition: opacity .5s var(--ease-out); }
.highlight-words .w.on { opacity: 1; }

/* ---------- Links & buttons ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 400; text-decoration: none; color: var(--wine);
  padding-block: 6px; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
  transition: background-size .5s var(--ease-out);
}
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
html[dir="rtl"] .link-arrow:hover { background-position: 0 100%; }
.dark .link-arrow, .wine .link-arrow { color: var(--cream); }
.arrow { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out); }
html[dir="ltr"] .arrow { transform: scaleX(-1); }
a:hover > .arrow, button:hover > .arrow { transform: translateX(-5px); }
html[dir="ltr"] a:hover > .arrow, html[dir="ltr"] button:hover > .arrow { transform: scaleX(-1) translateX(-5px); }

.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px;
  font-weight: 400; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 0; border-radius: var(--pill);
  transition: color .4s var(--ease-out), background-color .4s, box-shadow .4s;
}
.btn::before { /* fill that rises from the bottom on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn-cream { background: var(--cream); color: var(--wine-900); }
.btn-cream::before { background: var(--ivory); }
.btn-wine { background: var(--wine); color: var(--ivory); }
.btn-wine::before { background: var(--wine-600); }
.btn-glass { background: rgba(255, 252, 229, .1); color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(255, 252, 229, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass::before { background: var(--ivory); }
.btn-glass:hover { color: var(--wine-900); }
.btn-arrow { padding-inline: 30px 24px; }

/* =========================================================
   Intro loader — the raindrop "a" draws itself (CSS-only timing)
   ========================================================= */
.loader { display: none; }
.intro .loader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 150;
  background: var(--wine-900);
  animation: loader-out .9s var(--ease-in-out) 1.55s forwards;
}
.loader-mark { width: min(34vw, 170px); overflow: visible; }
.loader-mark path { fill: var(--cream); fill-opacity: 0; stroke: var(--cream); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease-in-out) .15s forwards, fill .5s ease 1s forwards; }
.loader-mark .loader-drop { animation: draw .6s ease .6s forwards, fill .5s ease 1s forwards, drip .8s var(--ease-out) 1.05s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes drip { 50% { transform: translateY(4px); } }
@keyframes loader-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* =========================================================
   Header — floats as a rounded bar once you scroll
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; color: var(--ivory);
  padding: calc(var(--frame-gap) + 10px) calc(var(--frame-gap) + 10px) 0;
  transition: transform .6s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-130%); }
.header-bar {
  position: relative; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px);
  max-width: calc(var(--wrap) + 40px); margin-inline: auto; height: 64px; padding-inline: 22px 14px;
}
.header-bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--pill);
  background: rgba(31, 7, 17, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 252, 229, .08);
  opacity: 0; transform: scale(.97); transition: opacity .45s, transform .6s var(--ease-out);
}
.site-header.is-solid .header-bar::before, body.menu-open .header-bar::before { opacity: 1; transform: none; }
.brand { flex: none; display: block; }
.brand img { height: 32px; width: auto; transition: transform .6s var(--ease-out); }
.brand:hover img { transform: scale(1.04); }
.header-rule { flex: 1; min-width: 20px; height: 1px; background: currentColor; opacity: .35; transform-origin: right; transition: opacity .4s; }
html[dir="ltr"] .header-rule { transform-origin: left; }
.motion .header-rule { animation: rule-in 1.4s var(--ease-out) both; animation-delay: .3s; }
.intro.motion .header-rule { animation-delay: 1.9s; }
@keyframes rule-in { from { transform: scaleX(0); } }
.site-header.is-solid .header-rule { opacity: .18; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; font-size: 15px; font-weight: 400; text-decoration: none;
  padding: 8px 14px; border-radius: var(--pill); color: var(--on-dark); transition: color .3s, background-color .3s;
}
.nav a:hover { color: var(--ivory); background: rgba(255, 252, 229, .08); }
.nav a[aria-current="page"] { color: var(--wine-900); background: var(--cream); }
.header-cta {
  font-size: 15px; text-decoration: none; padding: 9px 18px; border-radius: var(--pill);
  color: var(--cream); box-shadow: inset 0 0 0 1px rgba(254, 221, 176, .55); transition: background-color .3s, color .3s;
}
.header-cta:hover, .header-cta[aria-current="page"] { background: var(--cream); color: var(--wine-900); }
.lang-toggle {
  width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0;
  background: rgba(255, 252, 229, .08); color: var(--on-dark);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; transition: background-color .3s, color .3s;
}
.lang-toggle:hover { background: var(--cream); color: var(--wine-900); }
.lang-toggle:lang(ar) { letter-spacing: 0; font-size: 13px; }
.menu-toggle { display: none; align-items: center; gap: 10px; height: 44px; padding-block: 0; padding-inline: 16px 6px; border: 0; border-radius: var(--pill); background: var(--cream); color: var(--wine-900); font-size: 14px; }
.menu-toggle-icon { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--wine-900); }
.menu-toggle-icon i { position: absolute; inset-inline: 9px; height: 1.5px; background: var(--cream); transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.menu-toggle-icon i:first-child { top: 12px; }
.menu-toggle-icon i:last-child { top: 18px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child { top: 15px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child { top: 15px; transform: rotate(-45deg); }

/* Mobile menu sheet */
.menu {
  position: fixed; inset: var(--frame-gap); z-index: 55; border-radius: var(--r-lg);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 28px;
  background: var(--wine-900); color: var(--ivory); overflow-y: auto;
  visibility: hidden; clip-path: inset(0 0 100% 0 round var(--r-lg));
  transition: clip-path .75s var(--ease-out), visibility 0s .75s;
}
.menu.is-open { visibility: visible; clip-path: inset(0 0 0 0 round var(--r-lg)); transition: clip-path .75s var(--ease-out), visibility 0s; }
.menu-links a { display: block; overflow: hidden; font-size: clamp(30px, 8vw, 46px); font-weight: 600; line-height: 1.5; text-decoration: none; color: var(--on-dark-soft); }
.menu-links a span { display: inline-block; transform: translateY(105%); transition: transform .7s var(--ease-out), color .3s; }
.menu.is-open .menu-links a span { transform: none; }
.menu-links a:nth-child(2) span { transition-delay: .04s; } .menu-links a:nth-child(3) span { transition-delay: .08s; }
.menu-links a:nth-child(4) span { transition-delay: .12s; } .menu-links a:nth-child(5) span { transition-delay: .16s; }
.menu-links a:nth-child(6) span { transition-delay: .2s; }
.menu-links a[aria-current="page"], .menu-links a:hover { color: var(--cream); }
.menu-foot { display: flex; flex-direction: column; gap: 18px; }
.menu-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.menu-projects a { display: block; text-decoration: none; font-size: 13px; color: var(--on-dark); }
.menu-projects img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 6px; }
.menu-phone { align-self: flex-start; color: var(--cream); font-size: 20px; text-decoration: none; }

/* =========================================================
   Motion primitives (only when JS + motion are on)
   ========================================================= */
.motion .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.motion .reveal.is-in { opacity: 1; transform: none; }
.motion .reveal-img { clip-path: inset(0 0 0 100% round var(--r)); transition: clip-path 1.3s var(--ease-in-out); transition-delay: var(--d, 0s); }
html[dir="ltr"].motion .reveal-img { clip-path: inset(0 100% 0 0 round var(--r)); }
.motion .reveal-img.is-in { clip-path: inset(0 0 0 0 round var(--r)); }
.motion .reveal-img > img { transform: scale(1.25); transition: transform 1.8s var(--ease-out); }
.motion .reveal-img.is-in > img { transform: none; }
.motion .fade-in { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.motion.is-ready .fade-in { opacity: 1; transform: none; transition-delay: .55s; }
.line { display: block; overflow: hidden; padding-block: .14em .2em; margin-block: -.14em -.2em; }
.rise { display: inline-block; }
.motion .rise { transform: translateY(115%); transition: transform 1.2s var(--ease-out); }
.motion.is-ready .rise { transform: none; }
.motion.is-ready .line + .line .rise { transition-delay: .12s; }
[data-parallax] { scale: 1.16; will-change: translate; }
.kenburns { animation: kenburns 24s var(--ease-out) both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
/* Fail-safe: if the script never runs, show everything after a moment */
.motion:not(.is-ready) .reveal, .motion:not(.is-ready) .reveal-img, .motion:not(.is-ready) .fade-in, .motion:not(.is-ready) .rise { animation: failsafe 0s 4s forwards; }
@keyframes failsafe { to { opacity: 1; transform: none; clip-path: none; } }

/* Custom cursor label over images that link somewhere */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: grid; place-items: center; position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none;
    width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
    background: var(--cream); color: var(--wine-900); font-size: 14px; font-weight: 600;
    transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(0); transition: transform .45s var(--ease-out);
  }
  .cursor.is-on { transform: translate3d(var(--x), var(--y), 0) scale(1); }
}

/* =========================================================
   Home hero — slideshow + growing headline
   ========================================================= */
.hero { min-height: calc(100svh - 2 * var(--frame-gap)); display: flex; align-items: flex-end; background: var(--wine-900); color: var(--ivory); }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease-in-out); }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide.is-active { opacity: 1; }
.slide.is-active img { animation: kenburns 9s linear both; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(31,7,17,.96) 0%, rgba(42,10,24,.62) 38%, rgba(42,10,24,.05) 70%),
    linear-gradient(to bottom, rgba(31,7,17,.5), transparent 26%);
}
.hero-content { position: relative; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(32px, 5vw, 56px); }
.hero-title { font-size: clamp(54px, 8.8vw, 96px); line-height: 1.12; color: var(--ivory); margin-bottom: clamp(28px, 4vw, 48px); }
html:lang(en) .hero-title { letter-spacing: -.035em; line-height: 1.02; }
.hero-title .grow { color: var(--cream); }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap; }
.hero-foot p { max-width: 46ch; color: var(--on-dark); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.slide-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(28px, 4vw, 44px); padding-top: 20px; border-top: 1px solid var(--rule-dark); }
.slide-name { font-size: 14px; color: var(--on-dark); text-decoration: none; transition: color .3s; }
.slide-name:hover { color: var(--cream); }
.slide-dots { display: flex; gap: 8px; }
.slide-dots button { width: 44px; height: 24px; padding: 0; border: 0; background: none; display: grid; align-items: center; }
.slide-dots i { display: block; height: 3px; border-radius: 3px; background: rgba(255, 252, 229, .25); overflow: hidden; position: relative; }
.slide-dots i::after { content: ""; position: absolute; inset: 0; background: var(--cream); transform: scaleX(0); transform-origin: right; }
html[dir="ltr"] .slide-dots i::after { transform-origin: left; }
.slide-dots [aria-selected="true"] i::after { animation: dot-fill var(--slide-ms, 6500ms) linear forwards; }
.slide-dots.is-paused [aria-selected="true"] i::after { animation-play-state: paused; }
@keyframes dot-fill { to { transform: scaleX(1); } }
.scroll-cue { position: absolute; inset-inline-start: 50%; bottom: 22px; width: 26px; height: 42px; margin-inline-start: -13px; border-radius: var(--pill); box-shadow: inset 0 0 0 1.5px rgba(255,252,229,.5); display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--cream); animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }

/* =========================================================
   Inner page heroes
   ========================================================= */
.page-hero, .project-hero, .soon, .notfound {
  display: flex; align-items: flex-end; background: var(--wine-900); color: var(--ivory);
  min-height: clamp(420px, 66vh, 680px);
  padding: calc(var(--header-h) + 48px) 0 clamp(36px, 5vw, 64px);
}
.page-hero-short { min-height: clamp(360px, 48vh, 480px); }
.page-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after, .project-hero::after, .soon::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(31,7,17,.92), rgba(31,7,17,.12) 62%, rgba(31,7,17,.45));
}
.duo .page-hero-img { filter: grayscale(1) contrast(1.08) brightness(1.05); }
.duo::after { background: linear-gradient(160deg, #b24a72, #3a0f21 80%); mix-blend-mode: multiply; }
.duo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(31,7,17,.75), transparent 60%); }
.page-hero h1, .soon-title, .notfound h1 { font-size: clamp(46px, 7.4vw, 96px); line-height: 1.12; color: var(--ivory); }
html:lang(en) .page-hero h1, html:lang(en) .soon-title { letter-spacing: -.035em; }

.project-hero { min-height: calc(92svh - 2 * var(--frame-gap)); }
.project-hero .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.project-hero-logo { height: clamp(96px, 14vw, 160px); width: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.35)); }
.crumb { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ivory); text-decoration: none; padding: 8px 16px 8px 14px; border-radius: var(--pill); background: rgba(31,7,17,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.crumb .arrow { transform: scaleX(-1); width: 16px; height: 16px; }
html[dir="ltr"] .crumb .arrow { transform: none; }
.crumb:hover { background: var(--cream); color: var(--wine-900); }

/* =========================================================
   Home sections
   ========================================================= */
.intro-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.intro-side { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; color: var(--ink-soft); }
.intro-img { width: 100%; aspect-ratio: 5 / 4; }

/* Tilted ticker of the company values */
.ticker { position: relative; z-index: 2; overflow: hidden; background: var(--wine); color: var(--cream); padding-block: 22px; transform: rotate(-1.6deg); margin-block: -8px; box-shadow: 0 30px 50px -30px rgba(42,10,24,.6); }
html[dir="ltr"] .ticker { transform: rotate(1.6deg); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; flex: none; }
.ticker-group li { display: flex; align-items: center; gap: 36px; padding-inline-end: 36px; font-size: clamp(24px, 3.4vw, 46px); font-weight: 600; white-space: nowrap; line-height: 1.3; }
.ticker-group li::after { content: ""; width: .5em; height: .62em; background: currentColor; opacity: .55; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 26'%3E%3Cpath d='M10 1C6 8 2 12 2 17a8 8 0 0 0 16 0c0-5-4-9-8-16Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 26'%3E%3Cpath d='M10 1C6 8 2 12 2 17a8 8 0 0 0 16 0c0-5-4-9-8-16Z'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes ticker { to { transform: translateX(calc(50% * var(--dir))); } }

/* Pinned horizontal project gallery */
.h-scroll { position: relative; margin-top: -40px; padding-top: 40px; }
.h-sticky { padding-block: var(--section) clamp(48px, 6vw, 80px); overflow: hidden; }
.h-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.h-head .h-section { margin: 0; }
.h-head p { max-width: 40ch; color: var(--on-dark); }
.h-track {
  display: flex; gap: clamp(14px, 1.6vw, 22px);
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; will-change: transform;
}
.h-track::-webkit-scrollbar { display: none; }
.hp {
  position: relative; flex: none; width: min(78vw, 600px); aspect-ratio: 4 / 5; scroll-snap-align: center;
  display: block; overflow: hidden; border-radius: var(--r); color: var(--ivory); text-decoration: none; background: var(--wine-800);
}
.hp-media, .hp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-media img { transition: transform 1.4s var(--ease-out); }
.hp:hover .hp-media img { transform: scale(1.06); }
.hp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31,7,17,.88), transparent 50%); transition: opacity .5s; }
.hp-cap { position: absolute; z-index: 1; inset-inline: 26px; bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.hp-logo { height: clamp(52px, 5.6vw, 78px); width: auto; transition: transform .7s var(--ease-out); }
.hp:hover .hp-logo { transform: translateY(-6px); }
.hp-name { font-size: 15px; font-weight: 400; color: var(--on-dark); }
.hp-end { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; width: min(60vw, 360px); background: var(--cream); color: var(--wine-900); }
.hp-end::after { display: none; }
.hp-end-label { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; }
.hp-end .arrow { width: 56px; height: 56px; padding: 16px; border-radius: 50%; background: var(--wine-900); color: var(--cream); stroke-width: 1.6; }
.h-progress { margin-top: 28px; }
.h-progress i { display: block; height: 2px; border-radius: 2px; background: var(--rule-dark); position: relative; overflow: hidden; }
.h-progress i::after { content: ""; position: absolute; inset: 0; background: var(--cream); transform: scaleX(var(--p, 0)); transform-origin: right; }
html[dir="ltr"] .h-progress i::after { transform-origin: left; }
@media (min-width: 981px) {
  .is-pinned .h-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 20px) 40px; }
  .is-pinned .h-track { overflow: visible; scroll-snap-type: none; }
  .is-pinned .hp { width: min(40vw, 560px); aspect-ratio: auto; height: min(62vh, 640px); }
  .is-pinned .hp-end { width: min(26vw, 360px); }
}

/* Process: sticky visual that changes per step */
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.process-visual { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 5; }
.process-visual img { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease-in-out), transform 1.6s var(--ease-out); }
.process-visual img.is-on { opacity: 1; transform: none; }
.process-count { position: absolute; z-index: 1; inset-inline-start: 20px; bottom: 20px; padding: 8px 16px; border-radius: var(--pill); background: rgba(31,7,17,.6); color: var(--ivory); font-size: 15px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.process-count b { font-weight: 600; color: var(--cream); }
.process-steps li { padding-block: clamp(36px, 14vh, 150px); border-top: 1px solid var(--rule-light); opacity: .28; transition: opacity .6s var(--ease-out); }
.process-steps li:first-child { padding-top: 12px; border-top: 0; }
.process-steps li.is-on { opacity: 1; }
.process-steps h3 { font-size: clamp(24px, 2.6vw, 36px); color: var(--wine); margin-bottom: 10px; }
.process-steps p { color: var(--ink-soft); max-width: 40ch; font-size: 1.08em; }

/* Quote */
.quote-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.quote-img { aspect-ratio: 4 / 5; }
.quote-mark { width: 54px; height: 46px; fill: var(--cream); margin-bottom: 24px; }
html[dir="rtl"] .quote-mark { transform: scaleX(-1); }
.quote-body blockquote p { font-size: clamp(25px, 2.7vw, 38px); font-weight: 400; line-height: 1.6; color: var(--ivory); max-width: 26ch; }
html:lang(en) .quote-body blockquote p { line-height: 1.4; letter-spacing: -.01em; }
.quote-body figcaption { margin: 26px 0 36px; font-size: 15px; color: var(--on-dark-soft); }

/* Promise cards */
.promise-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.promise-cards li {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 280px;
  padding: 28px; border-radius: var(--r); background: #fff; color: var(--wine);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.promise-cards li:nth-child(2) { background: var(--wine); color: var(--ivory); }
.promise-cards li:nth-child(3) { background: var(--cream); color: var(--wine-900); }
.promise-cards li:nth-child(4) { background: var(--wine-900); color: var(--ivory); }
.promise-cards li:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -30px rgba(42,10,24,.5); }
.promise-cards svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.promise-cards p { font-size: 1.12em; font-weight: 400; line-height: 1.7; }

/* Partners */
.partners { background: var(--wine-950); color: var(--on-dark); padding-block: clamp(48px, 6vw, 76px); }
.partners-row { display: flex; align-items: center; justify-content: space-between; gap: 32px 56px; flex-wrap: wrap; }
.partners h2 { font-size: 18px; font-weight: 400; color: var(--on-dark); }
.partner-logos { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.partner-logos li { display: grid; place-items: center; height: 92px; padding: 0 30px; border-radius: var(--r); background: rgba(255, 252, 229, .04); box-shadow: inset 0 0 0 1px var(--rule-dark); transition: background-color .4s; }
.partner-logos li:hover { background: rgba(255, 252, 229, .1); }
.partner-logos img { height: 44px; width: auto; }
.partner-logos img.pl-ecowest { height: 58px; }
.partner-logos img.pl-ohm { filter: brightness(0) invert(1); }

/* Closing CTA band */
.cta-band { min-height: clamp(380px, 56vh, 560px); display: flex; align-items: flex-end; color: var(--ivory); background: var(--wine-900); }
.cta-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(31,7,17,.9), rgba(31,7,17,.3) 70%); }
.cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap; padding-block: clamp(40px, 6vw, 72px); }
.cta-inner h2 { font-size: clamp(36px, 5.6vw, 76px); line-height: 1.15; max-width: 14ch; }
html:lang(en) .cta-inner h2 { letter-spacing: -.03em; }
.cta-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cta-phone { font-size: 20px; color: var(--cream); text-decoration: none; }
.cta-phone:hover { text-decoration: underline; }

/* =========================================================
   About
   ========================================================= */
.story-grid { display: grid; grid-template-columns: .9fr 1.6fr; gap: clamp(36px, 7vw, 120px); align-items: start; }
.story-side { position: sticky; top: calc(var(--header-h) + 24px); }
.story-img { aspect-ratio: 4 / 3; max-width: 420px; }
.story-grid .prose p:not(.statement) { color: var(--ink-soft); }
.ceo-grid { display: grid; grid-template-columns: .9fr 1.6fr; gap: clamp(36px, 7vw, 120px); align-items: start; }
.ceo-head { position: sticky; top: calc(var(--header-h) + 24px); }
.ceo-head .quote-mark { width: 72px; height: 60px; }
.ceo blockquote p { color: var(--on-dark); }
.ceo blockquote .lead { color: var(--ivory); font-size: clamp(21px, 2vw, 27px); }
.ceo-sign { padding-top: 22px; border-top: 1px solid var(--rule-dark); color: var(--cream); font-size: 15px; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vm-card { padding: clamp(32px, 5vw, 64px); border-radius: var(--r-lg); min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; transition: transform .7s var(--ease-out); }
.vm-card:hover { transform: translateY(-6px); }
.vm-cream { background: var(--cream); color: var(--wine-900); }
.vm-wine { background: var(--wine); color: var(--ivory); }
.vm-card h2 { font-size: clamp(30px, 3.4vw, 46px); }
.vm-card p { font-size: 1.15em; font-weight: 400; max-width: 36ch; }
.vm-wine p { color: var(--on-dark); }
.vm-icon { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 1.6; margin-bottom: auto; }
.values { padding-top: 0; }
.values-list li { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px 40px; align-items: baseline; padding: 26px 24px; border-radius: var(--r); border-bottom: 1px solid var(--rule-light); transition: background-color .4s; }
.values-list li:hover { background: #fff; border-bottom-color: transparent; }
.values-list h3 { font-size: clamp(20px, 2vw, 26px); color: var(--wine); }
.values-list p { color: var(--ink-soft); }

/* Goals timeline: a line that draws as you scroll */
.goal-line { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 40px; }
.goal-line::before, .goal-line::after { content: ""; position: absolute; inset-inline: 0; top: 8px; height: 2px; border-radius: 2px; background: var(--rule-dark); }
.goal-line::after { background: var(--cream); transform: scaleX(var(--p, 0)); transform-origin: right; }
html[dir="ltr"] .goal-line::after { transform-origin: left; }
.goal-line li { position: relative; }
.goal-dot { position: absolute; top: -40px; inset-inline-start: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--wine-900); box-shadow: inset 0 0 0 2px var(--cream); }
.goal-line p { font-size: clamp(17px, 1.5vw, 21px); font-weight: 400; color: var(--ivory); line-height: 1.7; }

/* =========================================================
   Projects
   ========================================================= */
.project-rows { display: grid; gap: clamp(80px, 10vw, 150px); }
.prow { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.prow:nth-child(even) .prow-img { order: 2; }
.prow-img { display: block; aspect-ratio: 16 / 11; }
.prow-logo { height: 76px; width: auto; margin-bottom: 26px; }
.prow h2 { font-size: 16px; font-weight: 600; color: var(--leaf); margin-bottom: 10px; }
.prow h2 a { text-decoration: none; }
.prow p { margin-bottom: 30px; max-width: 44ch; }
.approach { padding-top: 0; }
.approach-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(36px, 6vw, 96px); padding-top: var(--section); border-top: 1px solid var(--rule-dark); }
.approach-list li { display: grid; gap: 6px; padding: 26px 0; border-bottom: 1px solid var(--rule-dark); }
.approach-list b { font-size: clamp(20px, 2vw, 26px); font-weight: 600; color: var(--ivory); }

.project-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; margin-bottom: clamp(56px, 7vw, 96px); }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.highlights li { padding: 30px; border-radius: var(--r); background: rgba(255, 252, 229, .05); box-shadow: inset 0 0 0 1px var(--rule-dark); transition: background-color .4s, transform .6s var(--ease-out); }
.highlights li:hover { background: rgba(255, 252, 229, .1); transform: translateY(-6px); }
.highlights h3 { font-size: 1.25em; color: var(--cream); margin-bottom: 8px; }
.gallery-section { padding-top: 0; }
.gallery { display: grid; gap: 14px; }
.gallery-2 { grid-template-columns: 1.4fr 1fr; }
.gallery-3 { grid-template-columns: 1.5fr 1fr; grid-template-rows: repeat(2, minmax(220px, 1fr)); }
.gallery-3 .g-item:first-child { grid-row: span 2; }
.g-item { display: block; padding: 0; border: 0; min-height: 300px; cursor: zoom-in; }
.gallery-2 .g-item { aspect-ratio: 4 / 3; }
.g-item img { transition: transform 1.4s var(--ease-out); }
.g-item:hover img { transform: scale(1.05); }
.promise-strip-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(36px, 6vw, 96px); }
.promise-strip li { padding-block: 20px; border-top: 1px solid var(--rule-dark); font-size: clamp(18px, 1.6vw, 22px); font-weight: 400; color: var(--ivory); }
.next-project { position: relative; isolation: isolate; display: block; overflow: hidden; margin: var(--frame-gap); border-radius: var(--r-lg); color: var(--ivory); text-decoration: none; background: var(--wine-950); }
.next-project > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .4; transition: opacity .6s; }
.next-project:hover > img { opacity: .6; }
.next-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 24px; padding-block: clamp(64px, 9vw, 120px); }
.next-label { grid-column: 1 / -1; font-size: 14px; color: var(--on-dark); }
.next-name { font-size: clamp(34px, 5vw, 66px); font-weight: 700; line-height: 1.2; }
.next-project .arrow { width: clamp(56px, 6vw, 80px); height: clamp(56px, 6vw, 80px); padding: clamp(16px, 1.8vw, 24px); border-radius: 50%; background: var(--cream); color: var(--wine-900); stroke-width: 1.6; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(31, 7, 17, .94); color: var(--ivory); }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; animation: lb-in .4s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; } }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82vh; width: auto; height: auto; border-radius: var(--r); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); animation: lb-img .6s var(--ease-out); }
@keyframes lb-img { from { transform: scale(.94); opacity: 0; } }
.lb-btn { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,252,229,.1); color: var(--ivory); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.lb-btn:hover { background: var(--cream); color: var(--wine-900); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 20px; inset-inline-end: 20px; }
.lb-prev { inset-inline-start: 20px; top: 50%; margin-top: -26px; }
.lb-next { inset-inline-end: 20px; top: 50%; margin-top: -26px; }
html[dir="rtl"] .lb-prev svg, html[dir="rtl"] .lb-next svg { transform: scaleX(-1); }

/* =========================================================
   Why Amtar
   ========================================================= */
.method-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(36px, 7vw, 120px); align-items: start; }
.method-lead { position: sticky; top: calc(var(--header-h) + 32px); }
.method { position: relative; counter-reset: step; padding-inline-start: 28px; }
.method::before, .method::after { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--rule-light); }
.method::after { background: var(--wine); transform: scaleY(var(--p, 0)); transform-origin: top; }
.method li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; padding-block: 34px; border-bottom: 1px solid var(--rule-light); }
.method li::before { content: counter(step, arabic-indic); grid-row: span 2; font-size: 44px; font-weight: 300; line-height: 1.1; color: var(--wine); }
html:lang(en) .method li::before { content: counter(step); }
.method h2 { font-size: 1.35em; color: var(--wine); margin-bottom: 4px; }
.method p { color: var(--ink-soft); }
.promises-grid { display: grid; grid-template-columns: .85fr 1.3fr; gap: clamp(36px, 7vw, 120px); align-items: center; }
.promises-img { aspect-ratio: 4 / 5; background: var(--wine); }
.promises-img img { filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; }
.promise-list li { padding-block: 20px; border-top: 1px solid var(--rule-dark); font-size: clamp(18px, 1.6vw, 22px); font-weight: 400; color: var(--ivory); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: var(--r); background: #fff; transition: box-shadow .4s; }
.faq-list details[open] { box-shadow: 0 24px 50px -36px rgba(73,19,42,.5); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font-size: 1.08em; font-weight: 600; color: var(--wine); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); transition: background-color .3s, transform .5s var(--ease-out); }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.6px; margin: -.8px 0 0 -7px; background: var(--wine); border-radius: 2px; transition: transform .5s var(--ease-out); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i { background: var(--cream); transform: rotate(180deg); }
.faq-list details[open] summary i::after { transform: rotate(0deg); }
.faq-a { padding: 0 26px 24px; color: var(--ink-soft); max-width: 62ch; }
.faq-list details[open] .faq-a { animation: faq-in .5s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info .lead { max-width: 24ch; margin-bottom: 32px; }
.contact-phone { display: inline-block; font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; color: var(--wine); text-decoration: none; margin-bottom: 36px; }
.contact-phone:hover { text-decoration: underline; }
.contact-list > div { padding-block: 16px; border-top: 1px solid var(--rule-light); }
.contact-list dt { font-size: 14px; color: var(--ink-soft); }
.contact-list dd, .contact-list a { color: var(--wine); font-weight: 400; text-decoration: none; }
html[dir="rtl"] [dir="ltr"][data-contact] { unicode-bidi: isolate; }
.contact-form { display: grid; gap: 24px; padding: clamp(24px, 3.5vw, 44px); }
.picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.picker legend { font-size: 14px; color: var(--wine); margin-bottom: 12px; padding: 0; }
.pick { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: var(--r-sm); background: var(--paper); cursor: pointer; font-size: 13px; color: var(--wine); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .3s, background-color .3s, transform .4s var(--ease-out); }
.pick:hover { transform: translateY(-3px); }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.pick span { padding-inline: 4px; line-height: 1.5; }
.pick-general { justify-content: center; text-align: center; font-size: 14px; }
.pick:has(input:checked) { background: var(--cream-soft); box-shadow: inset 0 0 0 1.5px var(--wine); }
.pick:has(input:focus-visible) { outline: 2px solid var(--wine); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-size: 14px; color: var(--wine); margin-bottom: 8px; }
.field label .opt { color: var(--ink-soft); }
.field input, .field textarea, .notify input {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1.5px solid transparent; border-radius: var(--r-sm);
  padding: 13px 16px; transition: border-color .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wine); background: #fff; }
.field input[aria-invalid="true"] { border-color: #a1251b; }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.contact-form .btn { justify-self: start; }
.form-note { min-height: 1.6em; font-size: 15px; color: var(--wine); }
.form-note.is-error { color: #a1251b; }

/* =========================================================
   Blog — coming soon
   ========================================================= */
.soon { min-height: calc(100svh - 2 * var(--frame-gap)); align-items: center; }
.soon .page-hero-img { opacity: .55; }
.soon-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.soon-title { display: flex; flex-direction: column; align-items: center; }
.soon-label { font-size: .34em; font-weight: 400; color: var(--on-dark); margin-bottom: .2em; }
.grow-loop { font-size: 1.5em; color: var(--cream); line-height: 1.2; }
.soon-lead { max-width: 46ch; margin: 22px auto 34px; color: var(--on-dark); }
.notify { display: flex; gap: 8px; width: min(100%, 520px); padding: 6px; border-radius: var(--pill); background: rgba(255, 252, 229, .1); box-shadow: inset 0 0 0 1px var(--rule-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.notify input { flex: 1; min-width: 0; border-radius: var(--pill); background: transparent; color: var(--ivory); border: 0; }
.notify input::placeholder { color: var(--on-dark-soft); }
.notify input:focus { outline: none; }
.notify:focus-within { box-shadow: inset 0 0 0 1.5px var(--cream); }
.notify-note { margin-top: 12px; color: var(--cream); }
.notify-note.is-error { color: #ffb4a8; }
.soon-rain, .nf-rain { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.soon-rain i, .nf-rain i { position: absolute; top: -20%; width: 1px; border-radius: 1px; background: linear-gradient(to bottom, transparent, rgba(254, 221, 176, .55)); animation: fall linear infinite; }
@keyframes fall { to { transform: translateY(150vh); } }
.soon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.soon-card { display: block; aspect-ratio: 4 / 5; color: var(--ivory); text-decoration: none; }
.soon-card img { position: absolute; inset: 0; transition: transform 1.4s var(--ease-out); }
.soon-card:hover img { transform: scale(1.06); }
.soon-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31,7,17,.9), transparent 55%); }
.soon-card span { position: absolute; z-index: 1; inset-inline: 24px; bottom: 22px; display: grid; gap: 4px; }
.soon-card b { font-size: 1.4em; font-weight: 600; }
.soon-card small { font-size: 14px; color: var(--on-dark); line-height: 1.6; }

/* =========================================================
   404
   ========================================================= */
.notfound { min-height: calc(100svh - 2 * var(--frame-gap)); align-items: center; background: radial-gradient(120% 90% at 50% 110%, var(--wine-600), var(--wine-900) 60%); }
.nf-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.nf-code { display: flex; align-items: center; justify-content: center; gap: .08em; font-size: clamp(120px, 24vw, 300px); font-weight: 700; line-height: 1; color: var(--cream); margin-bottom: 20px; }
html:lang(en) .nf-code { letter-spacing: -.04em; }
.nf-drop { width: .9em; height: auto; fill: var(--cream); animation: bob 3.2s var(--ease-in-out) infinite; }
@keyframes bob { 50% { transform: translateY(-.08em) rotate(-4deg); } }
.notfound h1 { font-size: clamp(30px, 4.4vw, 56px); margin-bottom: 14px; }
.nf-lead { max-width: 44ch; color: var(--on-dark); margin-bottom: 32px; }
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.nf-links { display: flex; gap: 8px 24px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.nf-links a { color: var(--on-dark); text-decoration: none; font-size: 15px; }
.nf-links a:hover { color: var(--cream); text-decoration: underline; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { position: relative; overflow: hidden; margin: var(--frame-gap); border-radius: var(--r-lg); background: var(--wine-950); color: var(--on-dark); padding-top: clamp(72px, 9vw, 128px); }
.f-lead { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--rule-dark); }
.f-tag { font-size: clamp(38px, 5.6vw, 76px); font-weight: 700; line-height: 1.2; color: var(--ivory); }
.f-tag-grow { color: var(--cream); }
html:lang(en) .f-tag { letter-spacing: -.03em; line-height: 1.05; }
.f-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: clamp(40px, 5vw, 64px); }
.f-cols h2 { font-size: 14px; font-weight: 600; color: var(--cream); margin-bottom: 14px; }
.f-cols li + li { margin-top: 8px; }
.f-cols a { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0 1px; transition: color .3s, background-size .45s var(--ease-out); }
.f-cols a:hover { color: var(--ivory); background-size: 100% 1px; }
.f-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--rule-dark); font-size: 14px; color: var(--on-dark-soft); }
.f-credit { position: relative; z-index: 1; padding-block: 0 18px; text-align: center; font-size: 13px; color: var(--on-dark-soft); }
.f-credit a { color: var(--cream); text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .45s var(--ease-out); }
.f-credit a:hover { background-size: 100% 1px; }
.to-top { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding-block: 8px; padding-inline: 16px 8px; border-radius: var(--pill); background: rgba(255,252,229,.06); transition: background-color .3s, color .3s; }
.to-top svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--cream); fill: none; stroke: var(--wine-900); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out); }
.to-top:hover { background: rgba(255,252,229,.12); color: var(--cream); }
.to-top:hover svg { transform: translateY(-3px); }
.f-mark { display: block; width: calc(100% - 2 * var(--gutter)); max-width: var(--wrap); margin: 8px auto -4.5%; opacity: .1; pointer-events: none; }
.motion .f-mark { transform: translateY(30%); transition: transform 1.6s var(--ease-out); }
.motion .f-mark.is-in { transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1140px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1141px) { .menu { display: none; } }

@media (max-width: 980px) {
  :root { --header-h: 80px; }
  .intro-grid, .quote-grid, .story-grid, .ceo-grid, .vm-grid, .prow, .method-grid, .promises-grid, .contact-grid,
  .process-grid, .faq-grid, .approach-grid, .promise-strip-grid { grid-template-columns: 1fr; }
  .prow:nth-child(even) .prow-img { order: 0; }
  .story-side, .ceo-head, .method-lead { position: static; }
  .quote-img, .promises-img { aspect-ratio: 16 / 11; }
  .process-visual { position: relative; top: auto; aspect-ratio: 16 / 10; margin-bottom: 8px; }
  .process-steps li { padding-block: 36px; opacity: 1; }
  .promise-cards { grid-template-columns: 1fr 1fr; }
  .goal-line { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .goal-line::before, .goal-line::after { display: none; }
  .highlights { grid-template-columns: 1fr; }
  .soon-cards { grid-template-columns: 1fr 1fr; }
  .soon-cards .soon-card:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .values-list li { grid-template-columns: 1fr; padding-inline: 0; }
  .values-list li:hover { background: none; }
}

@media (max-width: 640px) {
  :root { --r-lg: 24px; --r: 18px; }
  .site-header { padding: calc(var(--frame-gap) + 6px) calc(var(--frame-gap) + 6px) 0; }
  .header-bar { height: 58px; padding-inline: 16px 8px; }
  .header-rule { display: none; }
  .brand img { height: 26px; }
  .brand { margin-inline-end: auto; }
  .lang-toggle { width: 40px; height: 40px; }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .slide-name { display: none; }
  .slide-meta { justify-content: center; }
  .promise-cards { grid-template-columns: 1fr; }
  .promise-cards li { min-height: 0; gap: 26px; }
  .goal-line { grid-template-columns: 1fr; }
  .gallery-2, .gallery-3 { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-3 .g-item:first-child { grid-row: auto; }
  .g-item { min-height: 0; aspect-ratio: 4 / 3; }
  .picker { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .f-cols { grid-template-columns: 1fr 1fr; }
  .f-cols > :last-child { grid-column: 1 / -1; }
  .soon-cards { grid-template-columns: 1fr; }
  .soon-cards .soon-card:last-child { aspect-ratio: 4 / 5; }
  .notify { flex-direction: column; border-radius: var(--r); }
  .notify .btn { width: 100%; }
  .method { padding-inline-start: 20px; }
  .method li { grid-template-columns: 44px 1fr; }
  .method li::before { font-size: 32px; }
  .vm-card { min-height: 0; }
  .partner-logos li { height: 76px; padding: 0 20px; }
}
@media (min-width: 981px) and (min-height: 700px) { .scroll-cue { display: block; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none !important; flex-wrap: wrap; width: auto; }
  .ticker-group + .ticker-group { display: none; }
  .soon-rain, .nf-rain, .scroll-cue { display: none; }
  [data-parallax] { scale: 1; }
}
