/* Srya Collective — site styles.
   Paper and ink, a deep Srya green for the dark rooms, brass used sparingly.
   Headlines are a tight grotesk with a serif italic accent; labels end in a full stop. */

:root {
  --paper: #F3EEE6;
  --paper-2: #EAE3D7;
  --paper-3: #E1D8C8;
  --ink: #16150F;
  --ink-2: #5E594D;
  --ink-3: #8C8676;
  --line: rgba(22, 21, 15, 0.14);
  --green: #0F2E1F;
  --green-2: #173D2A;
  --cream: #F3EEE6;
  --cream-2: rgba(243, 238, 230, 0.72);
  --cream-line: rgba(243, 238, 230, 0.18);
  --brass: #B39A5B;

  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

html[lang="ar"] {
  --sans: "IBM Plex Sans Arabic", "Inter Tight", Tahoma, sans-serif;
  --serif: "Amiri", "Instrument Serif", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
html[lang="ar"] em { font-style: normal; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: fixed; inset-inline-start: 8px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; transform: translateY(-160%); transition: transform .2s; }
.skip:not(:focus) { clip-path: inset(50%); opacity: 0; }
.skip:focus { transform: none; }
/* Figures stay figures in Arabic: 50K+, not +50K. */
html[dir="rtl"] .figures dd, html[dir="rtl"] .brand__stats dd { direction: ltr; text-align: right; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--green);
  color: var(--cream-2);
  font-size: 13px;
  letter-spacing: 0.01em;
  overflow: hidden;
  white-space: nowrap;
}
.announce__track { display: flex; justify-content: center; gap: 14px; padding: 9px var(--gutter); }
.announce__copy { display: none; }
@media (max-width: 720px) {
  .announce__track { justify-content: flex-start; width: max-content; padding-inline-end: 0; animation: ticker 26s linear infinite; }
  .announce__copy { display: inline; }
  html[dir="rtl"] .announce__track { animation-name: ticker-rtl; }
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ticker-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  color: var(--cream);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
  margin-bottom: calc(var(--header-h) * -1);
}
.header.is-solid, body.menu-open .header { background: var(--paper); color: var(--ink); border-bottom-color: var(--line); }
.header__inner {
  height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.header__logo img { height: 40px; width: auto; transition: filter .4s var(--ease); }
.header.is-solid .header__logo img, body.menu-open .header__logo img { filter: brightness(0.12) sepia(.2); }
.nav { display: flex; gap: clamp(16px, 2.2vw, 34px); font-size: 15px; }
.nav a, .header__cta { position: relative; padding: 4px 0; }
.nav a::after, .header__cta::after, .link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav a:hover::after, .header__cta:hover::after, .link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-current::after { transform: scaleX(1); }
.header__end { display: flex; justify-content: flex-end; align-items: center; gap: 22px; font-size: 15px; }
.lang {
  background: none; border: 1px solid currentColor; border-radius: 999px; padding: 3px 12px 4px; cursor: pointer;
  font-family: "IBM Plex Sans Arabic", var(--sans); font-size: 14px; line-height: 1.3; opacity: .9;
}
html[lang="ar"] .lang { font-family: "Inter Tight", sans-serif; }
.lang:hover { opacity: 1; }
.burger { display: none; background: none; border: 0; cursor: pointer; align-items: center; gap: 10px; padding: 6px 0; font-size: 15px; }
.burger__lines { width: 22px; height: 10px; position: relative; display: inline-block; }
.burger__lines i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger__lines i:first-child { top: 1px; }
.burger__lines i:last-child { top: 8px; }
.burger[aria-expanded="true"] .burger__lines i:first-child { top: 4.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines i:last-child { top: 4.5px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .burger { display: inline-flex; }
  .header__inner { grid-template-columns: 1fr auto; }
  .header__logo img { height: 34px; }
}

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--paper);
  padding: calc(var(--header-h) + 28px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(32px, 9vw, 44px); letter-spacing: -0.03em; line-height: 1.1;
  opacity: 0; transform: translateY(12px); animation: rise .6s var(--ease) forwards;
}
.menu__nav a small { font-size: 12px; letter-spacing: 0; color: var(--ink-3); width: 22px; }
.menu__nav a:nth-child(2) { animation-delay: .04s; } .menu__nav a:nth-child(3) { animation-delay: .08s; }
.menu__nav a:nth-child(4) { animation-delay: .12s; } .menu__nav a:nth-child(5) { animation-delay: .16s; }
.menu__nav a:nth-child(6) { animation-delay: .2s; }
.menu__foot { display: grid; gap: 6px; color: var(--ink-2); font-size: 15px; }
@keyframes rise { to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  padding: 15px 26px 16px; border-radius: 999px; font-size: 16px; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light:hover { background: transparent; color: var(--cream); }
.link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding-bottom: 3px; }
.link::after { transform: scaleX(1); opacity: .35; }
.link:hover::after { opacity: 1; }
.arrow { display: inline-block; transition: transform .4s var(--ease); }
a:hover .arrow, button:hover .arrow { transform: translate(2px, -2px); }
html[dir="rtl"] .arrow { transform: scaleX(-1); }
html[dir="rtl"] a:hover .arrow, html[dir="rtl"] button:hover .arrow { transform: scaleX(-1) translate(2px, -2px); }

/* ---------- Type ---------- */
.label { display: flex; align-items: baseline; gap: 14px; font-size: 14px; color: var(--ink-2); margin-bottom: 22px; }
.label span:first-child:not(:only-child) { font-variant-numeric: tabular-nums; color: var(--ink); }
.label span:first-child:not(:only-child)::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-inline-start: 14px; opacity: .5; }
.label--light { color: var(--cream-2); }
.h2 {
  font-size: clamp(38px, 5.6vw, 84px); font-weight: 500; line-height: 1.0; letter-spacing: -0.035em;
  max-width: 14ch; text-wrap: balance;
}
html[lang="ar"] .h2 { letter-spacing: 0; line-height: 1.2; font-weight: 500; }
.h2 em { font-size: 1.08em; line-height: 0.9; }
.prose { display: grid; gap: 1em; color: var(--ink-2); max-width: 54ch; font-size: 18px; }
.ar-inline { font-family: "Amiri", serif; font-size: 1.2em; color: var(--ink); }

.section-head { margin-bottom: clamp(40px, 6vw, 80px); }
.section-head__sub { margin-top: 18px; font-size: 20px; color: var(--ink-2); }
.section-head--row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.section-head__aside { color: var(--ink-2); font-size: 18px; max-width: 44ch; justify-self: end; }
@media (max-width: 860px) {
  .section-head--row { grid-template-columns: 1fr; gap: 22px; }
  .section-head__aside { justify-self: start; }
}

section { position: relative; }

/* ---------- Hero ---------- */
.hero {
  min-height: max(640px, 100svh); color: var(--cream); display: flex; align-items: flex-end;
  isolation: isolate; overflow: hidden; background: var(--green);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 15, .6) 0%, rgba(10, 22, 15, .18) 24%, rgba(10, 22, 15, .42) 52%, rgba(10, 22, 15, .86) 100%),
    linear-gradient(90deg, rgba(15, 46, 31, .45), rgba(15, 46, 31, 0) 65%);
  mix-blend-mode: multiply;
}
@keyframes settle { to { transform: scale(1); } }
.hero__content { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(40px, 7vh, 80px); }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--cream); margin-bottom: 26px; }
.hero__eyebrow .dash { width: 36px; height: 1px; background: currentColor; }
.hero__title {
  font-size: clamp(52px, 10.4vw, 168px); font-weight: 500; line-height: .92; letter-spacing: -0.045em; text-wrap: balance;
}
.hero__title em { font-size: 1.06em; }
html[lang="ar"] .hero__title { letter-spacing: 0; line-height: 1.15; font-size: clamp(46px, 8.6vw, 132px); }
.hero__foot {
  margin-top: clamp(28px, 5vh, 56px); padding-top: 26px; border-top: 1px solid var(--cream-line);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
}
.hero__lede { max-width: 46ch; font-size: 18px; color: rgba(243, 238, 230, .86); }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.link--light::after { background: var(--cream); }
.hero__scroll { position: absolute; right: var(--gutter); top: 50%; width: 1px; height: 72px; background: var(--cream-line); overflow: hidden; }
html[dir="rtl"] .hero__scroll { right: auto; left: var(--gutter); }
.hero__scroll span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--cream); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
@media (max-width: 720px) { .hero__scroll { display: none; } }

/* ---------- Intro ---------- */
.intro { padding-top: clamp(80px, 12vw, 168px); padding-bottom: clamp(64px, 9vw, 128px); }
.intro__statement {
  font-size: clamp(26px, 3.4vw, 50px); line-height: 1.14; letter-spacing: -0.025em; max-width: 26ch; text-wrap: pretty;
}
html[lang="ar"] .intro__statement { letter-spacing: 0; line-height: 1.5; }
.figures {
  margin-top: clamp(56px, 8vw, 112px);
  display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink);
}
.figures > div { padding: 22px 20px 0 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; }
html[dir="rtl"] .figures > div { padding: 22px 0 0 20px; }
.figures > div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 20px; }
.figures dd { font-size: clamp(34px, 4.2vw, 64px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.figures dt { font-size: 14px; color: var(--ink-2); max-width: 18ch; }
@media (max-width: 900px) {
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figures > div { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
  .figures > div + div { border-inline-start: 0; padding-inline-start: 0; }
  .figures > div:nth-child(even) { border-inline-start: 1px solid var(--line); padding-inline-start: 18px; }
  .figures > div:last-child { grid-column: 1 / -1; }
}

/* ---------- Story ---------- */
.story { padding: clamp(72px, 10vw, 150px) 0; background: var(--paper-2); }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.story__media { position: relative; }
.story__media img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.verse {
  position: absolute; inset-inline-end: -28px; bottom: -28px; width: min(78%, 360px);
  background: var(--green); color: var(--cream); padding: 26px 26px 22px;
}
.verse blockquote { font-family: "Amiri", serif; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.6; }
.verse figcaption { margin-top: 10px; font-size: 13px; color: var(--cream-2); }
.story__text .h2 { max-width: 12ch; margin-bottom: 30px; }
.timeline { margin-top: 44px; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.timeline b { font-weight: 500; font-variant-numeric: tabular-nums; }
.timeline span { color: var(--ink-2); }
@media (max-width: 860px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__media { margin-inline-end: 20px; margin-bottom: 30px; }
  .verse { inset-inline-end: -20px; }
}

/* ---------- Purpose ---------- */
.purpose { padding: clamp(80px, 11vw, 160px) 0; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: clamp(56px, 8vw, 100px); }
.vm__card { background: var(--paper-2); padding: clamp(28px, 3.4vw, 48px); min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.vm__card h3 { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.vm__card p { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2; letter-spacing: -0.02em; max-width: 24ch; }
html[lang="ar"] .vm__card p { letter-spacing: 0; line-height: 1.5; }
.vm__card:last-child { background: var(--green); color: var(--cream); }
.vm__card:last-child h3 { color: var(--cream-2); }
.values { border-top: 1px solid var(--ink); }
.values li {
  display: grid; grid-template-columns: 80px 1fr 1.2fr; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease);
}
.values li:hover { padding-inline-start: 12px; }
.values__n { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.values h3 { font-size: clamp(28px, 3.2vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
html[lang="ar"] .values h3 { letter-spacing: 0; line-height: 1.3; }
.values p { color: var(--ink-2); max-width: 46ch; }
@media (max-width: 760px) {
  .vm { grid-template-columns: 1fr; }
  .vm__card { min-height: 0; }
  .values li { grid-template-columns: 44px 1fr; }
  .values p { grid-column: 2; }
}

/* ---------- Brands ---------- */
.brands { padding: clamp(80px, 11vw, 160px) 0; background: var(--paper-2); }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand { background: var(--paper); display: flex; flex-direction: column; }
.brand--ganache { --tint: #E9E1D3; }
.brand--kaju { --tint: #E4E2D6; }
.brand--jam { --tint: #EDE3DA; }
.brand__tile {
  position: relative; aspect-ratio: 1 / 1; background: var(--tint, var(--paper-3));
  display: grid; place-items: center; padding: 18% 16%; overflow: hidden;
}
.brand__tile img { max-height: 46%; width: auto; transition: transform .9s var(--ease); }
.brand__tile img.brand__wide { max-height: none; width: 86%; }
.brand:hover .brand__tile img { transform: scale(1.05); }
.brand__tag, .brand__kind { position: absolute; left: 18px; right: 18px; font-size: 13px; color: var(--ink-2); }
.brand__tag { top: 16px; }
.brand__kind { bottom: 16px; }
.brand__body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.brand__body h3 { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
html[lang="ar"] .brand__body h3 { letter-spacing: 0; line-height: 1.3; }
.brand__line { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.25; }
html[lang="ar"] .brand__line { font-style: normal; font-size: 22px; }
.brand__body > p:not(.brand__line) { color: var(--ink-2); font-size: 16px; flex: 1; }
.brand__stats { display: grid; grid-template-columns: 1fr 1fr; margin: 8px 0 10px; border-top: 1px solid var(--line); }
.brand__stats div { padding-top: 12px; display: flex; flex-direction: column-reverse; gap: 2px; }
.brand__stats dd { font-size: 26px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.brand__stats dt { font-size: 13px; color: var(--ink-3); }
.brand .link { align-self: flex-start; }
@media (max-width: 980px) {
  .brand-grid { grid-template-columns: 1fr; gap: 16px; }
  .brand { display: grid; grid-template-columns: 1fr 1fr; }
  .brand__tile { aspect-ratio: auto; min-height: 320px; }
}
@media (max-width: 620px) {
  .brand { grid-template-columns: 1fr; }
  .brand__tile { aspect-ratio: 4 / 3; min-height: 0; }
}

/* ---------- Making ---------- */
.making { padding: clamp(80px, 11vw, 160px) 0 clamp(64px, 8vw, 110px); }
.factories { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; align-items: start; }
.factory__img { overflow: hidden; background: var(--paper-3); }
.factory__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); filter: contrast(1.04); }
.factory:first-child .factory__img img { aspect-ratio: 5 / 6; }
.factory:hover .factory__img img { transform: scale(1.04); }
.factory:nth-child(2) { margin-top: clamp(0px, 6vw, 90px); }
.factory:nth-child(3) { margin-top: clamp(0px, 12vw, 180px); }
.factory figcaption { padding-top: 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 6px; font-size: 16px; }
.factory figcaption b { font-weight: 500; }
.factory figcaption span { color: var(--ink-3); }
.factory figcaption p { grid-column: 1 / -1; color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) {
  .factories { grid-template-columns: 1fr; }
  .factory:nth-child(n) { margin-top: 0; }
  .factory .factory__img img, .factory:first-child .factory__img img { aspect-ratio: 4 / 3; }
}
.certs { margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--ink); padding-top: 26px; display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: center; }
.certs__title { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; line-height: 1.2; max-width: 20ch; }
.certs__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.certs__row li { background: var(--paper-2); aspect-ratio: 1.4 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px; }
.certs__row img { height: 54px; width: auto; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .85; transition: filter .4s var(--ease), opacity .4s var(--ease); }
.certs__row img.certs__wide { height: 36px; }
.certs__row li:hover img { filter: none; opacity: 1; }
.certs__row span { font-size: 12px; color: var(--ink-3); }
@media (max-width: 860px) {
  .certs { grid-template-columns: 1fr; }
  .certs__row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; background: var(--green); color: var(--cream); min-height: 80vh; }
.feature__media { overflow: hidden; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.feature__text { padding: clamp(48px, 7vw, 110px) var(--gutter); display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; }
.feature__title { font-size: clamp(48px, 7vw, 112px); font-weight: 500; letter-spacing: -0.045em; line-height: .95; }
html[lang="ar"] .feature__title { letter-spacing: 0; line-height: 1.2; }
.feature__p { font-size: 19px; color: var(--cream-2); max-width: 34ch; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; min-height: 0; }
  .feature__media img { aspect-ratio: 1 / 1; height: auto; }
}

/* ---------- Careers ---------- */
.careers { padding: clamp(96px, 13vw, 190px) 0; text-align: center; }
.careers__inner { display: flex; flex-direction: column; align-items: center; }
.careers .label { justify-content: center; }
.careers__title { font-size: clamp(42px, 6.8vw, 104px); font-weight: 500; letter-spacing: -0.04em; line-height: .98; text-wrap: balance; }
html[lang="ar"] .careers__title { letter-spacing: 0; line-height: 1.25; }
.careers__p { margin: 28px 0 36px; color: var(--ink-2); font-size: 18px; max-width: 46ch; }

/* ---------- Together ---------- */
.together { padding: clamp(80px, 10vw, 150px) 0; background: var(--paper-2); }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.way {
  background: var(--paper); padding: clamp(24px, 2.8vw, 40px); min-height: 380px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.way__n { font-size: 14px; color: var(--ink-3); margin-bottom: auto; padding-bottom: 60px; }
.way h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
html[lang="ar"] .way h3 { letter-spacing: 0; line-height: 1.3; }
.way p { color: var(--ink-2); }
.way__mail { font-size: 14px; color: var(--ink-3); }
.way__cta { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; }
.way:hover { background: var(--green); color: var(--cream); }
.way:hover p, .way:hover .way__mail, .way:hover .way__n { color: var(--cream-2); }
.way:hover .way__cta { border-color: var(--cream-line); }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } .way { min-height: 0; } .way__n { padding-bottom: 24px; } }

/* ---------- Contact ---------- */
.contact { padding: clamp(80px, 10vw, 150px) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); }
.contact__p { margin: 24px 0 40px; color: var(--ink-2); font-size: 18px; max-width: 36ch; }
.contact__list { border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__list li > span:first-child { color: var(--ink-3); font-size: 15px; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
html[dir="rtl"] .contact__list a[dir="ltr"] { text-align: right; }
.form { display: grid; gap: 22px; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.field i { font-style: normal; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--ink-3); background: transparent; border-radius: 0;
  padding: 8px 0 10px; font-size: 18px; color: var(--ink); outline: none; transition: border-color .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field--select { position: relative; }
.field--select::after { content: ""; position: absolute; inset-inline-end: 4px; bottom: 20px; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.field--select select { padding-inline-end: 24px; cursor: pointer; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom-color: #9B3B2A; }
.field.is-invalid > span { color: #9B3B2A; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form__note { font-size: 14px; color: var(--ink-3); max-width: 32ch; }
.form__error { color: #9B3B2A; font-size: 14px; }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--green); color: var(--cream); padding: clamp(64px, 8vw, 110px) 0 28px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.footer__brand img { height: 56px; width: auto; }
.footer__brand p { margin-top: 18px; color: var(--cream-2); max-width: 26ch; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer__cols div { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer__cols h4 { font-size: 13px; font-weight: 500; color: var(--cream-2); margin-bottom: 8px; }
.footer__cols a { color: var(--cream); opacity: .88; width: fit-content; }
.footer__cols a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer__mark {
  margin: clamp(56px, 8vw, 110px) 0 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  font-size: clamp(88px, 21vw, 330px); line-height: .8; letter-spacing: -0.06em; font-weight: 500; color: rgba(243, 238, 230, .1);
  white-space: nowrap; user-select: none;
}
.footer__mark span { font-family: "Amiri", serif; letter-spacing: 0; font-size: .78em; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--cream-line); font-size: 13px; color: var(--cream-2); }
.footer__bottom a:hover { color: var(--cream); }
@media (max-width: 820px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols div:last-child { grid-column: 1 / -1; }
  .footer__mark span { display: none; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
}
