/* ============================================================
   JEET REALTORS — style.css
   Palette: deep navy / warm off-white / burnt orange
   Type: Fraunces (serif display) + Archivo (sans body)
   ============================================================ */

:root {
  --navy-900: #101231;
  --navy-800: #161844;
  --navy-700: #1e2158;
  --ink: #1b1d2e;
  --orange: #f26522;
  --orange-deep: #d9541a;
  --cream: #f7f3ec;
  --paper: #fbf9f4;
  --line: rgba(16, 18, 49, 0.12);
  --line-light: rgba(247, 243, 236, 0.16);
  --serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--orange); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Typography ---------- */

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
.h2 em { font-style: italic; color: var(--orange-deep); }
.h2--wide { max-width: 16ch; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: rgba(27, 29, 46, 0.85);
}

.body-text {
  font-size: 1rem;
  color: rgba(27, 29, 46, 0.72);
  max-width: 56ch;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
.btn:hover::after { transform: translateY(0); }

.btn--solid { background: var(--navy-800); color: var(--cream); }
.btn--solid::after { background: var(--orange); }

.btn--accent { background: var(--orange); color: #fff; }
.btn--accent::after { background: var(--navy-800); }

.btn--ghost { border: 1px solid rgba(247, 243, 236, 0.55); color: var(--cream); }
.btn--ghost::after { background: var(--cream); }
.btn--ghost:hover { color: var(--navy-900); border-color: var(--cream); }

.btn--sm { padding: 0.7rem 1.4rem; font-size: 0.75rem; }
.btn--full { width: 100%; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.arrow-link span { transition: transform 0.3s var(--ease-out); }
.arrow-link:hover span { transform: translateX(5px); }

/* ---------- Preloader ---------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  transition: transform 0.9s var(--ease-out);
}
.preloader__mark { display: flex; align-items: baseline; gap: 0.35rem; }
.preloader__word {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  letter-spacing: 0.08em;
  color: var(--cream);
  opacity: 0;
  transform: translateY(24px);
  animation: pre-word 0.9s var(--ease-out) 0.1s forwards;
}
.preloader__dot {
  width: 0.32em; height: 0.32em;
  border-radius: 50%;
  background: var(--orange);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  opacity: 0;
  animation: pre-dot 0.6s var(--ease-out) 0.7s forwards;
}
@keyframes pre-word { to { opacity: 1; transform: translateY(0); } }
@keyframes pre-dot { to { opacity: 1; } }
body.is-loaded .preloader { transform: translateY(-101%); pointer-events: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(16, 18, 49, 0.06); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 92px;
}
.site-header__logo img { height: 62px; width: auto; }

.site-nav { display: flex; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.site-nav__link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(27, 29, 46, 0.75);
  padding-block: 0.35rem;
  transition: color 0.25s;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.site-nav__link:hover, .site-nav__link.active { color: var(--navy-900); }
.site-nav__link:hover::after, .site-nav__link.active::after { transform: scaleX(1); transform-origin: left; }

.site-header__actions { display: flex; align-items: center; gap: 1rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px; height: 44px;
  padding: 10px;
  z-index: 130;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-900);
  transition: transform 0.35s var(--ease-out), background 0.3s;
}
body.menu-open .menu-toggle span { background: var(--cream); }
body.menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  padding: 6rem clamp(1.5rem, 6vw, 3rem) 3rem;
  background: var(--navy-900);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.6s var(--ease-out), visibility 0s 0.6s;
}
body.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; transition: clip-path 0.6s var(--ease-out); }

.mobile-menu__nav { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--cream);
  padding-block: 0.35rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.25s;
}
.mobile-menu__link em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--orange);
}
.mobile-menu__link:hover { color: var(--orange); }
body.menu-open .mobile-menu__link { opacity: 1; transform: translateY(0); }
body.menu-open .mobile-menu__link:nth-child(1) { transition-delay: 0.15s; }
body.menu-open .mobile-menu__link:nth-child(2) { transition-delay: 0.21s; }
body.menu-open .mobile-menu__link:nth-child(3) { transition-delay: 0.27s; }
body.menu-open .mobile-menu__link:nth-child(4) { transition-delay: 0.33s; }
body.menu-open .mobile-menu__link:nth-child(5) { transition-delay: 0.39s; }
body.menu-open .mobile-menu__link:nth-child(6) { transition-delay: 0.45s; }

.mobile-menu__foot { display: flex; flex-direction: column; gap: 0.3rem; color: rgba(247, 243, 236, 0.65); font-size: 0.95rem; }
.mobile-menu__foot a:hover { color: var(--orange); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - 92px);
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  background: var(--navy-900);
}
.hero__media { position: absolute; inset: -8% 0; z-index: 0; will-change: transform; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-drift 18s var(--ease-out) forwards;
}
@keyframes hero-drift { to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(16,18,49,0.72) 0%, rgba(16,18,49,0.38) 48%, rgba(16,18,49,0.05) 78%),
    linear-gradient(180deg, rgba(16,18,49,0.3) 0%, rgba(16,18,49,0.12) 40%, rgba(16,18,49,0.85) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: clamp(4rem, 10vh, 8rem) clamp(5rem, 12vh, 9rem);
}
.hero__kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.8);
  margin-bottom: 1.6rem;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.9rem, 8.6vw, 7.2rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 1.8rem;
}
.hero__title em { font-style: italic; color: var(--orange); }

.hero-line { display: block; overflow: hidden; }
.hero-line > span { display: inline-block; transform: translateY(112%); }
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: inline-block; transform: translateY(115%); }
body.is-loaded .hero-line > span,
body.is-loaded .reveal-line > span {
  transform: translateY(0);
  transition: transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.hero__sub { max-width: 46ch; color: rgba(247, 243, 236, 0.88); font-size: clamp(0.95rem, 1.4vw, 1.1rem); margin-bottom: 1.1rem; }
.hero__loc {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--orange);
  margin-bottom: 2.4rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scrollcue {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 2.4rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.65);
  writing-mode: vertical-rl;
}
.hero__scrollcue i {
  width: 1px; height: 56px;
  background: rgba(247, 243, 236, 0.35);
  position: relative;
  overflow: hidden;
}
.hero__scrollcue i::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--orange);
  animation: cue 2.2s var(--ease-out) infinite;
}
@keyframes cue { 0% { top: -40%; } 100% { top: 110%; } }

/* ---------- Marquee ---------- */

.marquee {
  background: var(--navy-900);
  border-top: 1px solid var(--line-light);
  padding-block: 1.1rem;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 56s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-style: italic;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.55);
  white-space: nowrap;
}
.marquee__track b { color: var(--orange); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections & chapters ---------- */

.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); scroll-margin-top: 92px; }

.chapter {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
}
.chapter__no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--orange-deep);
}
.chapter__rule { flex: 0 0 clamp(2.5rem, 6vw, 5rem); height: 1px; background: var(--line); }
.chapter__name {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(27, 29, 46, 0.55);
}
.chapter--light .chapter__no { color: var(--orange); }
.chapter--light .chapter__rule { background: var(--line-light); }
.chapter--light .chapter__name { color: rgba(247, 243, 236, 0.55); }

/* ---------- Reveal animations ---------- */

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal--clip { clip-path: inset(6% 4% 6% 4%); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), clip-path 1.1s var(--ease-out); }
.reveal--clip.in { clip-path: inset(0 0 0 0); }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }

/* ---------- About ---------- */

.about { background: var(--paper); }
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.about__text .h2 { margin-bottom: 1.6rem; }
.about__text .lead { margin-bottom: 1.2rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}
.stat { padding: 1.6rem 1.2rem 0.4rem 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 1.4rem; }
.stat dt {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--navy-900);
  line-height: 1.1;
}
.stat dd {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(27, 29, 46, 0.55);
}

.about__media { position: relative; }
.about__media img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about__media figcaption {
  margin-top: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(27, 29, 46, 0.5);
}

/* ---------- Services ---------- */

.services { background: var(--cream); border-block: 1px solid var(--line); }
.services .h2 { margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  position: relative;
  padding: 2.4rem 1.8rem 2.8rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.service-card:hover { background: var(--paper); transform: translateY(-6px); }
.service-card__no {
  position: absolute;
  top: 1.4rem; right: 1.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(27, 29, 46, 0.35);
}
.service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--orange-deep);
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card:hover .service-card__icon { background: var(--orange); border-color: var(--orange); color: #fff; }
.service-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.28rem;
  line-height: 1.25;
  color: var(--navy-900);
  margin-bottom: 0.7rem;
}
.service-card p { font-size: 0.92rem; color: rgba(27, 29, 46, 0.68); }

/* ---------- Opportunities ---------- */

.opportunities { background: var(--paper); }
.opportunities__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.6rem);
}
.opportunities__note { max-width: 34ch; font-size: 0.9rem; padding-bottom: 0.4rem; }
.opportunities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.2rem);
}
.opp-card {
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.opp-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(16, 18, 49, 0.25); }
.opp-card__media { overflow: hidden; aspect-ratio: 4 / 3; }
.opp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.opp-card:hover .opp-card__media img { transform: scale(1.06); }
.opp-card__body { padding: 1.8rem 1.7rem 2rem; }
.opp-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 0.9rem;
}
.opp-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--navy-900);
  margin-bottom: 0.6rem;
}
.opp-card p { font-size: 0.92rem; color: rgba(27, 29, 46, 0.68); margin-bottom: 1.3rem; }
.opportunities__cta { margin-top: clamp(2.4rem, 5vw, 3.6rem); text-align: center; }

/* ---------- Why ---------- */

.why { background: var(--navy-900); color: var(--cream); }
.why .h2 { color: var(--cream); margin-bottom: 2.4rem; }
.why .h2 em { color: var(--orange); }
.why__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.why__media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.why__list { border-top: 1px solid var(--line-light); }
.why__list li {
  display: flex;
  align-items: baseline;
  gap: 1.6rem;
  padding: 1.35rem 0.4rem;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 300;
  transition: padding-left 0.4s var(--ease-out), color 0.3s;
}
.why__list li:hover { padding-left: 1.1rem; color: var(--orange); }
.why__list li span {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  min-width: 2ch;
}

/* ---------- Founder ---------- */

.founder { background: var(--cream); border-block: 1px solid var(--line); overflow: clip; }
.founder__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.founder__media { position: relative; max-width: 460px; }
.founder__halo {
  position: absolute;
  inset: -12% -14%;
  background: radial-gradient(circle at 50% 42%, rgba(242, 101, 34, 0.16), transparent 62%);
  z-index: 0;
}
.founder__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  outline: 1px solid var(--line);
  outline-offset: 14px;
}
.founder__media figcaption {
  margin-top: 1.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(27, 29, 46, 0.5);
}
.founder__text .h2 { margin-bottom: 1.6rem; }
.founder__name {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--navy-900);
  margin-bottom: 1.4rem;
}
.founder__name span { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(27, 29, 46, 0.55); }
.founder__text .body-text + .body-text { margin-top: 1rem; }
.founder__tagline {
  margin-top: 2.2rem;
  padding-left: 1.4rem;
  border-left: 2px solid var(--orange);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--navy-900);
}
.founder__tagline em { color: var(--orange-deep); }

/* ---------- Contact ---------- */

.contact { background: var(--paper); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact__info .h2 { margin-bottom: 1.4rem; }
.contact__list { margin-top: 2.6rem; border-top: 1px solid var(--line); }
.contact__list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.contact__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(27, 29, 46, 0.5);
}
.contact__list a { font-size: 1.02rem; color: var(--navy-900); transition: color 0.25s; }
.contact__list a:hover { color: var(--orange-deep); }

.enquiry-form {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
}
.field { margin-bottom: 1.3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(27, 29, 46, 0.6);
  margin-bottom: 0.5rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.14);
}
.field input.error, .field select.error { border-color: #c0392b; }
.enquiry-form__note { margin-top: 1rem; font-size: 0.78rem; color: rgba(27, 29, 46, 0.55); }
.enquiry-form__note.sent { color: #1e7e46; }
.enquiry-form__note.failed { color: #c0392b; }
.enquiry-form button:disabled { opacity: 0.6; cursor: wait; }

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact__map { margin-top: 2.2rem; border: 1px solid var(--line); }
.contact__map iframe { display: block; width: 100%; height: 260px; border: 0; filter: grayscale(0.3) contrast(1.02); }
.contact__directions { margin-top: 0.9rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-900); color: rgba(247, 243, 236, 0.75); }
.site-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.site-footer__logochip {
  display: inline-block;
  background: #fff;
  border-radius: 6px;
  padding: 0.7rem 1.1rem;
  margin-bottom: 1.6rem;
}
.site-footer__logochip img { height: 60px; width: auto; }
.site-footer__brandline { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); line-height: 1.35; }
.site-footer__brandline span {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--orange);
}
.site-footer__geo { margin-top: 0.8rem; font-size: 0.85rem; letter-spacing: 0.12em; }
.site-footer h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.45);
  margin-bottom: 1.3rem;
}
.site-footer__links { display: flex; flex-direction: column; gap: 0.65rem; }
.site-footer__links a { width: fit-content; font-size: 0.95rem; transition: color 0.25s, padding-left 0.3s var(--ease-out); }
.site-footer__links a:hover { color: var(--orange); padding-left: 0.4rem; }
.site-footer__contact a { display: block; width: fit-content; margin-bottom: 0.55rem; font-size: 0.95rem; transition: color 0.25s; }
.site-footer__contact a:hover { color: var(--orange); }
.site-footer__contact p { font-size: 0.85rem; line-height: 1.7; color: rgba(247, 243, 236, 0.55); }
.site-footer__social { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.site-footer__social a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin: 0;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--cream);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.site-footer__social a:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-3px); }
.site-footer__social svg { width: 19px; height: 19px; }
.site-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.8rem;
  color: rgba(247, 243, 236, 0.5);
}
.site-footer__bar > div { display: flex; gap: 1.6rem; }
.site-footer__legal { font-size: 0.8rem; color: rgba(247, 243, 236, 0.5); transition: color 0.25s; }
.site-footer__legal:hover { color: var(--orange); }

/* ---------- WhatsApp FAB ---------- */

.whatsapp-fab {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(217, 84, 26, 0.55);
  transition: transform 0.35s var(--ease-out), background 0.3s;
}
.whatsapp-fab:hover { transform: translateY(-4px) scale(1.05); background: var(--orange-deep); }
.whatsapp-fab svg { width: 26px; height: 26px; }

/* ---------- Modals ---------- */

.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 1.5rem; visibility: hidden; }
.modal.open { visibility: visible; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(16, 18, 49, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.4s;
}
.modal.open .modal__backdrop { opacity: 1; }
.modal__card {
  position: relative;
  max-width: 560px;
  max-height: 80vh;
  overflow: auto;
  background: var(--paper);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 4px;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.modal.open .modal__card { opacity: 1; transform: translateY(0); }
.modal__card h3 { font-family: var(--serif); font-size: 1.6rem; color: var(--navy-900); margin-bottom: 1rem; }
.modal__card p { font-size: 0.92rem; color: rgba(27, 29, 46, 0.75); margin-bottom: 0.9rem; }
.modal__card a { color: var(--orange-deep); text-decoration: underline; }
.modal__close {
  position: absolute;
  top: 0.9rem; right: 1.1rem;
  font-size: 1.6rem;
  line-height: 1;
  color: rgba(27, 29, 46, 0.5);
  transition: color 0.25s;
}
.modal__close:hover { color: var(--orange-deep); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .marquee__track { animation-duration: 95s; }
  .about__grid, .why__grid, .founder__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .opportunities__head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .opportunities__grid { grid-template-columns: 1fr; max-width: 560px; }
  .founder__media { margin-inline: auto; }
  .hero__scrollcue { display: none; }
}

@media (max-width: 560px) {
  .site-header__inner { height: 78px; }
  .site-header__logo img { height: 50px; }
  .site-header .btn--sm { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.2rem 0 1.2rem; }
  .stat:last-child { border-bottom: 0; }
  .stat + .stat { padding-left: 0; }
  .services__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer__top { grid-template-columns: 1fr; gap: 2.4rem; }
  .site-footer__bar { flex-direction: column; align-items: flex-start; }
  .hero__ctas .btn { width: 100%; }
  .whatsapp-fab { width: 48px; height: 48px; right: 1rem; bottom: 1rem; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .hero-line > span, .reveal-line > span, .reveal, .reveal-stagger > * { transform: none !important; opacity: 1 !important; }
  .hero__media { inset: 0; }
}
