/* ==========================================================================
   Anteeza Development Company — stylesheet
   Full-width, cinematic, investor-grade one-page site.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --color-navy: #031820;
  --color-deep-teal: #062832;
  --color-teal: #0a3440;
  --color-gold: #d6a33d;
  --color-gold-light: #e5ba62;
  --color-ivory: #f5f1e8;
  --color-muted: #aebbc0;
  --color-border: rgba(214, 163, 61, 0.35);
  --color-border-soft: rgba(214, 163, 61, 0.18);
  --color-panel: rgba(4, 31, 39, 0.88);

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  /* Fluid inner width — full-bleed backgrounds, readable content grid */
  --content-width: min(100% - clamp(32px, 6vw, 120px), 1720px);
  --content-narrow: min(100% - clamp(32px, 6vw, 120px), 1180px);

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.35);
  --transition: 260ms cubic-bezier(0.4, 0, 0.2, 1);

  --section-pad: clamp(64px, 8vw, 132px);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Keep anchor targets clear of the sticky header. */
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.1875rem); /* 17–19px */
  line-height: 1.7;
  color: var(--color-ivory);
  background-color: var(--color-navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--color-gold-light);
  text-decoration: none;
}

a:hover {
  color: var(--color-gold);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--color-ivory);
}

p {
  margin: 0 0 1.1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--color-gold);
  color: var(--color-navy);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
  color: var(--color-navy);
}

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--color-gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout primitives ---------- */
.container {
  width: var(--content-width);
  margin-inline: auto;
}

.container--narrow {
  width: var(--content-narrow);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-pad);
}

.section--teal {
  background:
    radial-gradient(120% 80% at 50% 0%, var(--color-teal), transparent 70%),
    var(--color-deep-teal);
}

.section--navy {
  background: var(--color-navy);
}

.section--deep {
  background: var(--color-deep-teal);
}

.section__head {
  max-width: 820px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.1em;
}

.section__title {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
}

.section__subtitle {
  color: var(--color-muted);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  margin-bottom: 0;
}

.highlight-box {
  border-left: 3px solid var(--color-gold);
  background: rgba(214, 163, 61, 0.08);
  padding: 1.1em 1.4em;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-ivory);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.35;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.6em;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition),
    color var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-navy);
}

.btn--primary:hover {
  color: var(--color-navy);
  box-shadow: 0 12px 30px rgba(214, 163, 61, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--color-ivory);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  color: var(--color-ivory);
  border-color: var(--color-gold);
  background: rgba(214, 163, 61, 0.08);
}

.btn__arrow {
  transition: transform var(--transition);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Icons ---------- */
.icon {
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--xl {
  width: clamp(48px, 5vw, 72px);
  height: clamp(48px, 5vw, 72px);
}

.icon--lg {
  width: clamp(44px, 4vw, 60px);
  height: clamp(44px, 4vw, 60px);
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(3, 20, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo {
  height: 40px;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 30px);
}

.nav__link {
  position: relative;
  color: var(--color-ivory);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 2px;
  transition: color var(--transition);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-gold-light);
}

.nav__link.is-active::after,
.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  flex-shrink: 0;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--color-gold);
  transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav__toggle {
    display: flex;
    order: 3;
  }

  .nav__cta {
    display: none;
  }

  .nav__menu {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    gap: 4px;
    padding: 24px clamp(16px, 6vw, 40px) 40px;
    background: rgba(3, 20, 26, 0.98);
    border-bottom: 1px solid var(--color-border-soft);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.15rem;
    padding: 14px;
    border-bottom: 1px solid var(--color-border-soft);
  }

  .nav__link::after {
    display: none;
  }

  .nav__menu .btn {
    margin-top: 18px;
    width: 100%;
  }

  .nav__cta--mobile {
    display: inline-flex;
  }
}

.nav__cta--mobile {
  display: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--color-navy);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  align-items: stretch;
  min-height: min(78vh, 760px);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  padding: clamp(48px, 6vw, 96px) clamp(28px, 4vw, 72px);
  gap: 6px;
}

.hero__copy > * {
  max-width: 46ch;
}

.hero__title {
  font-size: clamp(2.4rem, 1.5rem + 4vw, 4.2rem);
  letter-spacing: -0.01em;
}

.hero__title .accent {
  color: var(--color-gold);
}

.hero__lead {
  color: var(--color-muted);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
}

.hero__statement {
  margin-block: 0.4em 1.4em;
}

.hero__media {
  position: relative;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Cinematic gradient seam between copy and image */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    var(--color-navy) 0%,
    rgba(3, 24, 32, 0.55) 22%,
    rgba(3, 24, 32, 0) 55%
  );
  pointer-events: none;
}

.hero__location {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px clamp(20px, 4vw, 48px);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border-soft);
  background: rgba(3, 20, 26, 0.7);
}

.hero__location .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__media {
    order: -1;
    min-height: clamp(280px, 46vh, 440px);
  }

  .hero__media::before {
    background: linear-gradient(
      0deg,
      var(--color-navy) 0%,
      rgba(3, 24, 32, 0) 45%
    );
  }

  .hero__copy > * {
    max-width: 60ch;
  }
}

/* ==========================================================================
   Split sections (vision / city / oceanarium)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.split--media-right .split__media {
  order: 2;
}

.split__copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.split__copy > * {
  max-width: 52ch;
}

.split__media {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

  .split--media-right .split__media,
  .split__media {
    order: -1;
  }

  /* Stacked: show the whole image at its natural proportions (no crop).
     Avoids iOS Safari's height:100% stretch that clipped these images. */
  .split__media img {
    height: auto;
  }
}

/* Vision list */
.vision-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0 auto 1.4em;
  text-align: left;
  max-width: 560px;
}

.vision-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--color-ivory);
}

.vision-list .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Platform cards stacked (vision right column) */
.platform-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.platform-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(18px, 2vw, 26px) clamp(20px, 2.4vw, 32px);
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition);
}

.platform-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-gold);
}

.platform-card__icon {
  display: grid;
  place-items: center;
  width: clamp(56px, 5vw, 72px);
  height: clamp(56px, 5vw, 72px);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: rgba(214, 163, 61, 0.06);
  flex-shrink: 0;
}

.platform-card__icon .icon {
  width: 60%;
  height: 60%;
}

.platform-card__title {
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
  margin-bottom: 0.2em;
}

.platform-card__desc {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-muted);
  line-height: 1.55;
}

/* Large, panel-filling platform illustration. It bleeds to the right edge
   and fades into the dark teal panel so the artwork blends in, matching the
   reference composition instead of sitting in a small thumbnail box. */
.platforms-intro .platform-card {
  position: relative;
  overflow: hidden;
  grid-template-columns: auto 1fr;
  min-height: clamp(128px, 12vw, 172px);
  padding-right: clamp(150px, 30%, 500px);
}

.platform-card__art {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: clamp(230px, 44%, 640px);
  object-fit: cover;
  object-position: center right;
  border-radius: 0;
  opacity: 0.9;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%);
  mask-image: linear-gradient(to right, transparent 0%, #000 34%);
}

/* Stack on smaller screens: full-width art below the copy, no bleed/mask. */
@media (max-width: 760px) {
  .platforms-intro .platform-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 14px;
    padding-right: clamp(20px, 2.4vw, 32px);
    min-height: 0;
  }

  .platform-card__art {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 6px;
    opacity: 0.95;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 640px) {
  .platform-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 14px;
  }

  .vision-list {
    grid-template-columns: 1fr;
    max-width: 340px;
  }
}

/* City district list */
.district-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  text-align: left;
  margin: 1.2em auto 0;
  max-width: 620px;
}

.district-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--color-ivory);
}

.district-list__num {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gold);
  font-family: var(--font-sans);
}

@media (max-width: 560px) {
  .district-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Five-platform intro cards (One city. Five connected platforms.)
   ========================================================================== */
.platforms-intro {
  display: grid;
  gap: 18px;
  margin-top: clamp(40px, 5vw, 64px);
}

/* ==========================================================================
   Companies grid + economic + partnership shared card grid
   ========================================================================== */
.card-grid {
  display: grid;
  gap: clamp(18px, 2vw, 28px);
}

.card-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: clamp(26px, 2.6vw, 38px) clamp(20px, 2vw, 28px);
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: clamp(64px, 6vw, 84px);
  height: clamp(64px, 6vw, 84px);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: rgba(214, 163, 61, 0.06);
}

.feature-card__icon .icon {
  width: 55%;
  height: 55%;
}

.feature-card__title {
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);
  margin: 0;
}

.feature-card__desc {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.feature-card__list {
  text-align: left;
  display: grid;
  gap: 8px;
  width: 100%;
}

.feature-card__list li {
  position: relative;
  padding-left: 20px;
  color: var(--color-ivory);
  font-size: 0.95rem;
}

.feature-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
}

.section__closer {
  text-align: center;
  max-width: 900px;
  margin: clamp(40px, 4vw, 56px) auto 0;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.7rem);
  color: var(--color-gold-light);
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .card-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .card-grid--5,
  .card-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Economic + Why now two-column band
   ========================================================================== */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 1.2em 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-ivory);
  font-size: 1rem;
}

.check-list .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Development status
   ========================================================================== */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--color-gold);
  border-radius: 999px;
  background: rgba(214, 163, 61, 0.1);
  color: var(--color-gold-light);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.4em;
}

.status-badge__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-gold);
}

.status-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(32px, 4vw, 48px);
}

.status-block__title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1em;
  text-align: center;
}

.status-block ul {
  display: grid;
  gap: 10px;
}

.status-block li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-ivory);
  font-size: 0.98rem;
}

.status-block li .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.disclaimer {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--color-border-soft);
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
  max-width: 960px;
  margin-inline: auto;
}

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

/* ==========================================================================
   Founder
   ========================================================================== */
.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr 1fr;
  gap: clamp(28px, 3.5vw, 56px);
  align-items: stretch;
}

.founder__portrait {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.founder__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder__name {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  margin-bottom: 0.15em;
}

.founder__titles {
  color: var(--color-gold-light);
  font-size: 1rem;
  margin-bottom: 1em;
}

.founder__titles span {
  display: block;
}

.founder-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 1.4em;
}

.founder-pillar {
  text-align: center;
  padding: 18px 14px;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-sm);
  background: rgba(4, 31, 39, 0.5);
}

.founder-pillar .icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
}

.founder-pillar h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4em;
  color: var(--color-gold-light);
}

.founder-pillar p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.founder__quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 40px);
  border-left: 3px solid var(--color-gold);
  background: rgba(214, 163, 61, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.founder__quote blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  line-height: 1.45;
  color: var(--color-ivory);
  font-style: italic;
}

.founder__quote-mark {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 0.4;
  color: var(--color-gold);
}

.founder__quote cite {
  display: block;
  margin-top: 1em;
  font-style: normal;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-gold-light);
}

@media (max-width: 1024px) {
  .founder-grid {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
  }

  .founder__portrait {
    max-width: 360px;
    margin-inline: auto;
  }

  /* Show the full portrait, not a cropped fill, when stacked. */
  .founder__portrait img {
    height: auto;
  }

  .founder__body {
    text-align: center;
  }

  .founder__titles span {
    display: block;
  }

  .founder__quote {
    border-left: none;
    border-top: 3px solid var(--color-gold);
    border-radius: 0 0 var(--radius) var(--radius);
    text-align: center;
  }
}

@media (max-width: 560px) {
  .founder-pillars {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Partnership (full-bleed background)
   ========================================================================== */
.partnership {
  position: relative;
  background-image: linear-gradient(
      rgba(3, 20, 26, 0.86),
      rgba(3, 20, 26, 0.92)
    ),
    url("../images/anteeza-partnership-background.webp");
  background-size: cover;
  background-position: center;
}

.partnership .section__title,
.partnership .eyebrow {
  color: var(--color-ivory);
}

.partnership .eyebrow {
  color: var(--color-gold);
}

.partnership__cta {
  text-align: center;
  margin-top: clamp(40px, 4vw, 56px);
}

.partnership__closer {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  color: var(--color-gold-light);
  margin-bottom: 1.2em;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.contact__intro .section__title {
  text-align: left;
}

.contact__details {
  display: grid;
  gap: 14px;
  margin-top: 1.6em;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
}

.contact__detail .icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 3vw, 40px);
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.field label .req {
  color: var(--color-gold);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  min-height: 48px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-ivory);
  background: rgba(3, 20, 26, 0.6);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-gold);
  outline-offset: 0;
}

.field select option {
  color: #000;
}

.form-status {
  margin: 0;
  font-size: 0.95rem;
  min-height: 1.2em;
}

.form-status.is-error {
  color: #f0a6a0;
}

.form-status.is-success {
  color: #9fd8b0;
}

.form-status.is-pending,
.form-status.is-info {
  color: var(--color-gold-light);
}

.form-status__link {
  text-decoration: underline;
  font-weight: 600;
}

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

  .contact__intro .section__title {
    text-align: center;
  }

  .contact__details {
    justify-content: center;
  }
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--color-deep-teal);
  border-top: 1px solid var(--color-border-soft);
  padding-top: clamp(56px, 6vw, 88px);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(48px, 5vw, 72px);
}

.footer__brand .nav__logo {
  height: 44px;
  margin-bottom: 18px;
}

.footer__company {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-ivory);
  margin-bottom: 0.3em;
}

.footer__addr {
  color: var(--color-muted);
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.6;
}

.footer__tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem);
  color: var(--color-gold-light);
  line-height: 1.35;
}

.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1em;
}

.footer__col ul {
  display: grid;
  gap: 10px;
}

.footer__col a {
  display: inline-block;
  color: var(--color-ivory);
  font-size: 1rem;
  padding: 4px 0;
}

.footer__col a:hover {
  color: var(--color-gold-light);
}

.footer__contact {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

/* Wide gold skyline that runs low along the bottom of the footer and fades
   into the teal — a subtle backdrop band, not a boxed image. */
.footer__skyline {
  display: block;
  width: 100%;
  height: clamp(96px, 11vw, 172px);
  object-fit: cover;
  object-position: center bottom;
  margin-top: clamp(16px, 3vw, 36px);
  opacity: 0.78;
  mix-blend-mode: screen;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 42%),
    linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 42%),
    linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}

.footer__bar {
  position: relative;
  border-top: 1px solid var(--color-border-soft);
  padding-block: 22px;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.85rem;
}

@media (max-width: 1080px) and (min-width: 861px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer__col ul {
    justify-items: center;
  }

  .footer__contact {
    justify-items: center;
  }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
/* Reveal is a progressive enhancement: content is only hidden once the
   `reveal-ready` class is present (added by JS) AND motion is allowed.
   Without JS, or under reduced-motion, everything is visible by default. */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
  will-change: opacity, transform;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .feature-card:hover,
  .platform-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   Form additions — honeypot, acknowledgment checkbox, notes, busy button
   ========================================================================== */
/* Honeypot: visually and semantically hidden, but reachable by bots. */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.field--check input[type="checkbox"] {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  min-height: 22px;
  margin-top: 2px;
  accent-color: var(--color-gold);
  cursor: pointer;
}

.field--check label {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-ivory);
  line-height: 1.5;
  cursor: pointer;
}

.field--check label a {
  color: var(--color-gold-light);
  text-decoration: underline;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.btn[disabled]:hover {
  transform: none;
}

/* ==========================================================================
   Legal / policy pages
   ========================================================================== */
.legal-hero {
  text-align: center;
  padding-block: clamp(56px, 8vw, 104px) clamp(32px, 4vw, 48px);
  background:
    radial-gradient(120% 80% at 50% 0%, var(--color-teal), transparent 70%),
    var(--color-deep-teal);
  border-bottom: 1px solid var(--color-border-soft);
}

.legal-hero__inner {
  width: var(--content-narrow);
  margin-inline: auto;
}

.legal-hero .eyebrow {
  margin-bottom: 1em;
}

.legal-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 0.3em;
}

.legal-summary {
  max-width: 68ch;
  margin: 0 auto 1.6em;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.7;
}

.legal-dates {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin: 0 auto 1.6em;
  font-size: 0.9rem;
  color: var(--color-gold-light);
  letter-spacing: 0.02em;
}

.legal-dates span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legal-dates strong {
  color: var(--color-ivory);
  font-weight: 600;
}

.legal-body {
  width: min(100% - clamp(32px, 6vw, 96px), 1000px);
  margin-inline: auto;
  padding-block: clamp(40px, 6vw, 80px);
}

/* Table of contents */
.legal-toc {
  margin: 0 0 clamp(40px, 5vw, 64px);
  padding: clamp(22px, 3vw, 32px);
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.legal-toc h2 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1em;
}

.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 28px;
  counter-reset: toc;
}

.legal-toc li {
  counter-increment: toc;
}

.legal-toc a {
  display: inline-block;
  padding: 6px 0;
  color: var(--color-ivory);
  font-size: 0.98rem;
  line-height: 1.4;
}

.legal-toc a::before {
  content: counter(toc) ". ";
  color: var(--color-gold);
  font-weight: 600;
}

.legal-toc a:hover {
  color: var(--color-gold-light);
}

/* Policy content */
.legal-content {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.75;
  color: var(--color-ivory);
}

.legal-content section {
  margin-bottom: clamp(36px, 4vw, 52px);
  scroll-margin-top: 100px;
}

.legal-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--color-ivory);
  margin-bottom: 0.5em;
  padding-bottom: 0.35em;
  border-bottom: 1px solid var(--color-border-soft);
}

.legal-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--color-gold-light);
  margin: 1.4em 0 0.4em;
}

.legal-content p {
  margin: 0 0 1.1em;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
  list-style: revert;
}

.legal-content li {
  margin-bottom: 0.5em;
  padding-left: 0.2em;
}

.legal-content a {
  color: var(--color-gold-light);
  text-decoration: underline;
}

.legal-content strong {
  color: var(--color-ivory);
}

.legal-callout {
  margin: 1.4em 0;
  padding: 1.1em 1.4em;
  border-left: 3px solid var(--color-gold);
  background: rgba(214, 163, 61, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.legal-back-top {
  display: inline-block;
  margin-top: 0.4em;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Legal-page form (privacy request) reuses .contact-form, full width */
.legal-form {
  max-width: 720px;
  margin-top: 1.5em;
}

@media (max-width: 640px) {
  .legal-toc ol {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .site-header,
  .nav__toggle,
  .footer__skyline,
  .legal-hero .cta-group,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .legal-hero,
  .site-footer {
    background: #fff !important;
    color: #111;
  }

  .legal-title,
  .legal-content h2,
  .legal-content h3,
  .legal-content strong,
  .footer__company {
    color: #111 !important;
  }

  .legal-content,
  .legal-summary,
  .legal-dates {
    color: #222 !important;
  }

  .legal-content a {
    color: #111 !important;
  }

  .legal-toc {
    border-color: #999;
    background: #f4f4f4;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #555;
  }
}
