/* Regent Urban Development — Editorial Corporate Site */

:root {
  /* Brand colors */
  --green: #074447;
  --green-deep: #053336;
  --green-soft: #0b5256;
  --gold: #c4a77c;
  --gold-soft: #d4bb95;
  --cream: #f6f2ea;
  --bone: #efe9dc;
  --ink: #141414;
  --paper: #fbfaf6;
  --line: rgba(7, 68, 71, 0.18);
  --line-soft: rgba(7, 68, 71, 0.08);
  --muted: #5a615f;

  /* Type */
  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Jost", "Inter", system-ui, sans-serif;
  --script: "Petit Formal Script", "Snell Roundhand", cursive;
  --arabic: "Cormorant Garamond", "Amiri", "Greta Arabic", serif;
  --arabic-sans: "Inter", "Tajawal", sans-serif;

  /* Rhythm */
  --container: 1440px;
  --gutter: 56px;
  --section-y: 160px;
}

@media (max-width: 900px) {
  :root {
    --gutter: 24px;
    --section-y: 96px;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body[data-lang="ar"] {
  direction: rtl;
  font-family: var(--arabic-sans);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ─── Type scale ─── */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow.gold { color: var(--gold); }
.eyebrow.cream { color: rgba(246, 242, 234, 0.7); }

body[data-lang="ar"] .eyebrow { letter-spacing: 0.06em; }

.script {
  font-family: var(--script);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  font-size: 1.6em;
  line-height: 1;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.05;
  text-wrap: balance;
}

body[data-lang="ar"] h1,
body[data-lang="ar"] h2,
body[data-lang="ar"] h3,
body[data-lang="ar"] h4 {
  font-family: var(--arabic);
  letter-spacing: 0;
  line-height: 1.25;
}

h1 { font-size: clamp(48px, 7vw, 104px); }
h2 { font-size: clamp(38px, 4.6vw, 72px); }
h3 { font-size: clamp(28px, 2.6vw, 42px); }
h4 { font-size: clamp(20px, 1.6vw, 26px); line-height: 1.25; }

p { margin: 0; line-height: 1.7; }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: var(--ink); font-weight: 300; }

/* ─── Layout primitives ─── */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-y) 0; }
.section-tight { padding: 96px 0; }

.rule {
  height: 1px;
  background: var(--line);
  width: 100%;
}

.rule-gold {
  height: 1px;
  background: var(--gold);
  width: 64px;
  display: block;
}

/* ─── Top navigation ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.3s ease;
  color: var(--cream);
}

.nav.scrolled {
  background: rgba(7, 68, 71, 0.96);
  backdrop-filter: blur(12px);
  padding: 16px var(--gutter);
  box-shadow: 0 1px 0 rgba(196, 167, 124, 0.18);
}

.nav.light { color: var(--green); }
.nav.light.scrolled {
  background: rgba(251, 250, 246, 0.97);
  box-shadow: 0 1px 0 var(--line-soft);
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 140px;
  margin: -52px 0;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}
.nav.light .nav-logo img {
  filter: brightness(0);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  padding: 8px 14px;
  border-radius: 999px;
  opacity: 0.75;
  transition: opacity 0.2s, background 0.2s;
  font-family: var(--sans);
}
.lang-toggle:hover { opacity: 1; }
.lang-toggle .sep { opacity: 0.4; }
.lang-toggle .on { color: var(--gold); }

.nav-cta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 12px 20px;
  border: 1px solid currentColor;
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green);
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  width: 32px;
}
.menu-btn span {
  display: block;
  height: 1.5px;
  background: currentColor;
  width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-logo img { height: 80px; margin: -24px 0; }
}

/* ─── Mobile menu drawer ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--green);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 28px var(--gutter) 48px;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}
.mobile-menu-head img {
  height: 80px;
  margin: -24px 0;
  width: auto;
  filter: brightness(0) invert(1);
}
.mobile-menu-close {
  background: transparent;
  border: 1px solid rgba(196,167,124,0.4);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 18px;
  font-family: var(--sans);
  border-radius: 999px;
  transition: border-color 0.2s;
}
.mobile-menu-close:hover { border-color: var(--gold); color: var(--gold); }

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mobile-menu-nav a {
  font-family: var(--serif);
  font-size: clamp(30px, 8vw, 52px);
  font-weight: 400;
  color: var(--cream);
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid rgba(196,167,124,0.18);
  transition: color 0.2s, padding-left 0.2s;
  line-height: 1.1;
}
.mobile-menu-nav a:hover { color: var(--gold); padding-left: 8px; }

.mobile-menu-cta {
  margin-top: 48px;
  display: block;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(196,167,124,0.5);
  padding: 18px 32px;
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s;
}
.mobile-menu-cta:hover { background: var(--gold); color: var(--green); border-color: var(--gold); }

/* ─── Features list mobile ─── */
@media (max-width: 600px) {
  .features li {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }
  .features li .meta { display: none; }
}

/* ─── Footer mobile small ─── */
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  color: var(--cream);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,68,71,0.55) 0%, rgba(7,68,71,0.35) 35%, rgba(7,68,71,0.85) 100%),
    linear-gradient(90deg, rgba(7,68,71,0.35), rgba(7,68,71,0) 55%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) 96px;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-eyebrow .rule-gold { width: 48px; }

.hero h1 {
  max-width: 16ch;
  font-weight: 400;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(16px, 1.2vw, 20px);
  max-width: 56ch;
  opacity: 0.85;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.hero-foot {
  position: absolute;
  bottom: 32px; left: var(--gutter); right: var(--gutter);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246,242,234,0.7);
  pointer-events: none;
}
.hero-foot .scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-foot .scroll-cue .line {
  width: 1px; height: 56px; background: rgba(246,242,234,0.5);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid var(--green);
  color: var(--green);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover {
  background: var(--green);
  color: var(--cream);
}
.btn.btn-gold {
  border-color: var(--gold);
  color: var(--gold);
}
.btn.btn-gold:hover {
  background: var(--gold);
  color: var(--green);
}
.btn.btn-cream {
  border-color: var(--cream);
  color: var(--cream);
}
.btn.btn-cream:hover {
  background: var(--cream);
  color: var(--green);
}
.btn .arrow { transition: transform 0.25s; }
.btn:hover .arrow { transform: translateX(4px); }

body[data-lang="ar"] .btn:hover .arrow { transform: translateX(-4px); }

/* ─── Section header pattern ─── */
.section-head {
  display: grid;
  grid-template-columns: minmax(auto, 360px) 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
.section-head .label { display: flex; flex-direction: column; gap: 18px; }
.section-head .label .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
}
.section-head h2 { max-width: 18ch; }

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
}

/* ─── Footer ─── */
.footer {
  background: var(--green);
  color: var(--cream);
  padding: 120px var(--gutter) 32px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(196,167,124,0.25);
}
.footer h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.15;
  max-width: 12ch;
  margin-bottom: 28px;
}
.footer h3 em { font-style: italic; color: var(--gold); }
.footer .col-title {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; opacity: 0.85; }
.footer ul a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* ─── Pillar grid ─── */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.pillar {
  padding: 56px 32px 64px;
  border-right: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 360px;
}
.pillar:last-child { border-right: 0; }
.pillar .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 18px;
}
.pillar h3 {
  font-size: 28px;
  line-height: 1.15;
}
.pillar p { font-size: 15px; color: var(--muted); margin-top: auto; }
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar { border-bottom: 1px solid var(--line); }
}

/* ─── Stats / numbers ─── */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat .figure {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 78px);
  line-height: 1;
  color: var(--green);
}
.stat .figure .unit { font-size: 0.45em; font-style: italic; color: var(--gold); margin-left: 6px; }
.stat .caption { font-size: 14px; color: var(--muted); max-width: 24ch; }
@media (max-width: 900px) { .numbers { grid-template-columns: 1fr 1fr; } }

/* ─── Editorial split ─── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.split.wide-img { grid-template-columns: 1.1fr 0.9fr; }
.split.wide-text { grid-template-columns: 0.9fr 1.1fr; }
.split img, .split .img-slot {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background-color: var(--bone);
}
.split.landscape img, .split.landscape .img-slot { aspect-ratio: 3 / 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
}

/* ─── Image placeholders ─── */
.img-slot {
  background-color: var(--bone);
  background-image:
    linear-gradient(135deg, rgba(7,68,71,0.04), rgba(7,68,71,0.08)),
    radial-gradient(circle at 30% 70%, rgba(196,167,124,0.15), transparent 50%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.img-slot .label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
}
.img-slot img { width: 100%; height: 100%; object-fit: cover; }

/* Use real architecture photos via Unsplash for atmosphere */
.img-arch-1 { background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1600&q=80'); background-size: cover; background-position: center; }
.img-arch-2 { background-image: url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?w=1600&q=80'); background-size: cover; background-position: center; }
.img-arch-3 { background-image: url('https://images.unsplash.com/photo-1582268611958-ebfd161ef9cf?w=1600&q=80'); background-size: cover; background-position: center; }
.img-landscape-1 { background-image: url('https://images.unsplash.com/photo-1505691938895-1758d7feb511?w=1800&q=80'); background-size: cover; background-position: center; }
.img-landscape-2 { background-image: url('https://images.unsplash.com/photo-1502602898657-3e91760cbb34?w=1800&q=80'); background-size: cover; background-position: center; }
.img-interior-1 { background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1600&q=80'); background-size: cover; background-position: center; }
.img-interior-2 { background-image: url('https://images.unsplash.com/photo-1618220179428-22790b461013?w=1600&q=80'); background-size: cover; background-position: center; }
.img-water-1 { background-image: url('https://images.unsplash.com/photo-1518021964703-4b2030f03085?w=1800&q=80'); background-size: cover; background-position: center; }
.img-water-2 { background-image: url('https://images.unsplash.com/photo-1540541338287-41700207dee6?w=1800&q=80'); background-size: cover; background-position: center; }
.img-hospitality { background-image: url('https://images.unsplash.com/photo-1551918120-9739cb430c6d?w=1800&q=80'); background-size: cover; background-position: center; }
.img-pyramid { background-image: url('https://images.unsplash.com/photo-1572252009286-268acec5ca0a?w=1800&q=80'); background-size: cover; background-position: center; }
.img-wellness { background-image: url('https://images.unsplash.com/photo-1545205597-3d9d02c29597?w=1600&q=80'); background-size: cover; background-position: center; }
.img-culinary { background-image: url('https://images.unsplash.com/photo-1559339352-11d035aa65de?w=1600&q=80'); background-size: cover; background-position: center; }
.img-culture { background-image: url('https://images.unsplash.com/photo-1531058020387-3be344556be6?w=1600&q=80'); background-size: cover; background-position: center; }
.img-hero-vie { background-image: linear-gradient(180deg, rgba(7,68,71,0.2), rgba(7,68,71,0.5)), url('https://images.unsplash.com/photo-1542718610-a1d656d1884c?w=2400&q=85'); background-size: cover; background-position: center; }
.img-hero-home { background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=2400&q=85'); background-size: cover; background-position: center; }
.img-hero-about { background-image: url('https://images.unsplash.com/photo-1604014237800-1c9102c219da?w=2400&q=85'); background-size: cover; background-position: center; }
.img-hero-philosophy { background-image: url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=2400&q=85'); background-size: cover; background-position: center; }
.img-hero-partners { background-image: url('https://images.unsplash.com/photo-1551776235-dde6d482980b?w=2400&q=85'); background-size: cover; background-position: center; }
.img-hero-contact { background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=2400&q=85'); background-size: cover; background-position: center; }

/* ─── Reveal animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.40s; }

/* ─── Marquee ─── */
.marquee {
  overflow: hidden;
  padding: 28px 0;
  background: var(--green);
  color: var(--gold);
  border-top: 1px solid rgba(196,167,124,0.25);
  border-bottom: 1px solid rgba(196,167,124,0.25);
}
.marquee-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  align-items: center;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee-track .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

body[data-lang="ar"] .marquee-track { animation-direction: reverse; }

/* ─── Quote ─── */
.pull-quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 22ch;
  text-wrap: balance;
}
.pull-quote em { color: var(--gold); font-style: italic; }

/* ─── Pages on dark canvas ─── */
.dark {
  background: var(--green);
  color: var(--cream);
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--cream); }
.dark h1 em, .dark h2 em, .dark h3 em { color: var(--gold); }
.dark .eyebrow { color: var(--gold); }
.dark .rule { background: rgba(196,167,124,0.25); }
.dark .pillars { border-color: rgba(196,167,124,0.25); }
.dark .pillar { border-color: rgba(196,167,124,0.25); }
.dark .pillar p { color: rgba(246,242,234,0.7); }
.dark .stat { border-color: rgba(196,167,124,0.25); }
.dark .stat .figure { color: var(--cream); }
.dark .btn { color: var(--cream); border-color: var(--cream); }
.dark .btn:hover { background: var(--gold); color: var(--green); border-color: var(--gold); }

/* ─── i18n helpers ─── */
span[data-en], span[data-ar] { display: inline; }
body:not([data-lang="ar"]) .ar-only { display: none !important; }
body[data-lang="ar"] .en-only { display: none !important; }

/* RTL adjustments */
body[data-lang="ar"] .nav-links { flex-direction: row-reverse; }
body[data-lang="ar"] .section-head { grid-template-columns: 1fr minmax(auto, 360px); }
body[data-lang="ar"] .section-head .label { order: 2; }
body[data-lang="ar"] .section-head h2 { order: 1; }
body[data-lang="ar"] .hero-eyebrow { flex-direction: row-reverse; }

/* ─── Cursor-following media (subtle parallax) ─── */
.parallax { transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); will-change: transform; }

/* ─── Forms ─── */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}
.form .full { grid-column: 1 / -1; }
.form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.form input, .form textarea, .form select {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--green); }
.form textarea { min-height: 120px; resize: vertical; }

.dark .form label { color: rgba(246,242,234,0.6); }
.dark .form input, .dark .form textarea, .dark .form select { color: var(--cream); border-color: rgba(196,167,124,0.3); }
.dark .form input:focus, .dark .form textarea:focus, .dark .form select:focus { border-color: var(--gold); }

@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

/* ─── Partner card ─── */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.partner {
  padding: 56px 48px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
}
.partner:nth-child(2n) { border-right: 0; }
.partner h3 { font-size: 32px; }
.partner .role {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
}
.partner p { font-size: 15px; color: var(--muted); margin-top: auto; max-width: 50ch; }
@media (max-width: 900px) {
  .partner-grid { grid-template-columns: 1fr; }
  .partner { border-right: 0; }
}

/* ─── Feature list ─── */
.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.features li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}
.features li:last-child { border-bottom: 0; }
.features li .index {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 18px;
}
.features li .meta { color: var(--muted); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.dark .features li { border-color: rgba(196,167,124,0.18); }
.dark .features li .meta { color: rgba(246,242,234,0.5); }

/* ─── Vertical text decoration ─── */
.vert-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Inline logo strip ─── */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 48px 0;
}
.logo-strip .item {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.logo-strip .item:hover { opacity: 1; }
.dark .logo-strip .item { color: var(--cream); }
