/* ==========================================================================
   SHUBH AWAS PROPERTIES
   Brand palette taken directly from the supplied colour-theme sheet:

     Rich Black          #0B132B
     Space Cadet         #1C2541
     Independence        #3A506B
     Maximum Blue Green  #5BC0BE
     Turquoise           #6FFFE9

   Display face  Cormorant Garamond   |   Text face  Jost
   ========================================================================== */

/* ---- 1. Tokens ---------------------------------------------------------- */
:root {
  /* the five brand colours, verbatim */
  --c1: #0B132B;   /* rich black   */
  --c2: #1C2541;   /* space cadet  */
  --c3: #3A506B;   /* independence */
  --c4: #5BC0BE;   /* blue green   */
  --c5: #6FFFE9;   /* turquoise    */

  /* semantic aliases */
  --ink:        var(--c1);
  --ink-800:    var(--c2);
  --ink-600:    var(--c3);
  --ink-950:    #060B18;   /* one step below #0B132B, for the footer */
  --ink-700:    #16203C;   /* between c1 and c2, for card fills      */

  --teal:       var(--c4);
  --aqua:       var(--c5);

  /* Teal for SMALL TYPE ON LIGHT. #5BC0BE on white is only 2.18:1 - fine for
     rules, marks and large display, far too low for label copy people have to
     read. This darkened teal gives 5.85:1 and still reads unmistakably as the
     brand colour. On dark backgrounds --teal is used unchanged (8.9:1 on
     #0B132B). To go back to the literal swatch everywhere, point this at
     var(--c4). */
  --teal-ink:   #14655F;

  --paper:      #F4F7FA;
  --paper-2:    #E7EEF4;
  --white:      #FFFFFF;

  /* text */
  --t-on-dark:       #EAF2F6;
  --t-on-dark-mute:  #A9BCCE;
  --t-on-light:      var(--c1);
  --t-on-light-mute: #4A5B72;

  /* lines */
  --line-dark:  rgba(111,255,233,.16);
  --line-light: rgba(11,19,43,.12);

  /* type */
  --f-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --f-text:    "Jost", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* motion */
  --ease:     cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* metrics */
  --shell:   1240px;
  --shell-w: 1440px;
  --gut:     clamp(1.15rem, 4.4vw, 3.25rem);
  --hdr:     76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 12px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--t-on-light);
  font-family: var(--f-text);
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  font-weight: 300;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

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

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--aqua); color: var(--ink); }

/* ---- 3. Typography ------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  letter-spacing: .005em;
}

h1 {
  font-size: clamp(2.5rem, 1.3rem + 5.4vw, 5.1rem);
  letter-spacing: .045em;
  line-height: 1.06;
}
h2 { font-size: clamp(1.95rem, 1.15rem + 3.1vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 1.05rem + .95vw, 1.75rem); }

h1 em, h2 em, h3 em { font-style: italic; color: var(--teal-ink); }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em,
.on-dark2 h1 em, .on-dark2 h2 em, .on-dark2 h3 em { color: var(--aqua); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.06rem, 1rem + .42vw, 1.28rem);
  line-height: 1.66;
  color: var(--t-on-light-mute);
  max-width: 62ch;
}
.on-dark .lede, .on-dark2 .lede { color: var(--t-on-dark-mute); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  margin: 0 0 1.05rem;
  font-size: .705rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.on-dark .eyebrow, .on-dark2 .eyebrow { color: var(--teal); }

/* Ornamental rule - the diamond divider under centred section headings. */
.orn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin: 1.5rem auto;
  max-width: 210px;
  color: var(--teal);
}
.orn::before, .orn::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, currentColor);
}
.orn::after { background: linear-gradient(90deg, currentColor, transparent); }
.orn i {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  flex: none;
}

/* ---- 4. Layout ---------------------------------------------------------- */
.shell      { width: min(100% - (var(--gut) * 2), var(--shell));   margin-inline: auto; }
.shell-wide { width: min(100% - (var(--gut) * 2), var(--shell-w)); margin-inline: auto; }

.section { padding: clamp(4rem, 8.5vw, 7.5rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.on-dark  { background: var(--ink);     color: var(--t-on-dark); }
.on-dark2 { background: var(--ink-800); color: var(--t-on-dark); }
.on-paper { background: var(--paper); }
.on-white { background: var(--white); }

.sec-head { max-width: 720px; margin-bottom: clamp(2.4rem, 4.5vw, 3.6rem); }
.sec-head--mid { margin-inline: auto; text-align: center; }
.sec-head--mid .eyebrow { justify-content: center; }
.sec-head--mid .lede { margin-inline: auto; }

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

.skip {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 300;
  background: var(--aqua);
  color: var(--ink);
  padding: .7rem 1.3rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top .25s var(--ease);
}
.skip:focus { top: 10px; }

/* ---- 5. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .95rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: none;
  font-size: .755rem;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .32s var(--ease), color .32s var(--ease),
              border-color .32s var(--ease), transform .32s var(--ease-out),
              box-shadow .32s var(--ease);
}
.btn .arw { transition: transform .32s var(--ease-out); }
.btn:hover .arw { transform: translateX(5px); }

.btn--solid {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ink);
}
.btn--solid:hover {
  background: var(--aqua);
  border-color: var(--aqua);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11,19,43,.24);
}

.btn--ghost {
  border-color: rgba(234,242,246,.42);
  color: var(--t-on-dark);
}
.btn--ghost:hover {
  border-color: var(--aqua);
  color: var(--aqua);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: var(--ink-600);
  color: var(--ink);
}
.btn--outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--t-on-dark);
  transform: translateY(-2px);
}

.link-u {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .755rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--teal-ink);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-u:hover { gap: .85rem; }
.on-dark .link-u, .on-dark2 .link-u { color: var(--teal); }
.on-dark .link-u:hover, .on-dark2 .link-u:hover { color: var(--aqua); }

/* ---- 6. Header ---------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--hdr);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s var(--ease),
              backdrop-filter .45s var(--ease), height .45s var(--ease);
}
.header.is-stuck {
  background: rgba(11,19,43,.93);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
          backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-dark);
  height: 66px;
}
.header__in {
  width: min(100% - (var(--gut) * 2), var(--shell-w));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* logo lockup */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: .78rem;
  text-decoration: none;
  color: var(--t-on-dark);
  flex: none;
}
.lockup__mark { width: 40px; height: 40px; flex: none; border-radius: 9px; }
.lockup__type { display: grid; line-height: 1; }
.lockup__word {
  font-family: var(--f-display);
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.lockup__desc {
  margin-top: .3rem;
  font-size: .555rem;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--teal);
}
.lockup--sm .lockup__mark { width: 34px; height: 34px; }
.lockup--sm .lockup__word { font-size: 1.05rem; }

/* desktop nav */
.nav { display: none; align-items: center; gap: clamp(1.1rem, 2.1vw, 2.1rem); }
.nav__link {
  position: relative;
  font-size: .735rem;
  font-weight: 400;
  letter-spacing: .19em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--t-on-dark);
  padding: .4rem 0;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .42s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--aqua); }
.nav__link:hover::after, .nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__link--ir {
  padding: .55rem 1.05rem;
  border: 1px solid rgba(91,192,190,.55);
  color: var(--teal);
}
.nav__link--ir::after { display: none; }
.nav__link--ir:hover { background: var(--teal); color: var(--ink); border-color: var(--teal); }

.header__tel {
  display: none;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-decoration: none;
  color: var(--aqua);
  white-space: nowrap;
}
.header__tel svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.header__tel:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 1080px) {
  .nav { display: flex; }
  .header__tel { display: inline-flex; }
  .burger { display: none !important; }
}

/* burger */
.burger {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid rgba(234,242,246,.3);
  border-radius: 2px;
  cursor: pointer;
  flex: none;
}
.burger i {
  display: block;
  width: 19px;
  height: 1.5px;
  background: var(--t-on-dark);
  grid-area: 1 / 1;
  transition: transform .38s var(--ease-out), opacity .2s var(--ease);
}
.burger i:nth-child(1) { transform: translateY(-6px); }
.burger i:nth-child(3) { transform: translateY(6px); }
.burger[aria-expanded="true"] i:nth-child(1) { transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: rotate(-45deg); }

/* drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: var(--ink);
  padding: calc(var(--hdr) + 2rem) var(--gut) 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .4rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .58s var(--ease-out), visibility .58s;
  overflow-y: auto;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__link {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 6.6vw, 2.5rem);
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--t-on-dark);
  padding: .42rem 0;
  border-bottom: 1px solid var(--line-dark);
  transition: color .3s var(--ease), padding-left .35s var(--ease-out);
}
.drawer__link:hover { color: var(--aqua); padding-left: .6rem; }
.drawer__foot {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  align-items: center;
}
.drawer__tel {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--aqua);
  text-decoration: none;
  letter-spacing: .04em;
}

/* ---- 7. Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: clamp(600px, 100svh, 940px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--t-on-dark);
  isolation: isolate;
}
.hero__art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 78% at 50% 8%, rgba(28,37,65,.24) 0%, rgba(11,19,43,.7) 62%, rgba(11,19,43,.93) 100%),
    linear-gradient(180deg, rgba(11,19,43,.84) 0%, rgba(11,19,43,.3) 36%, rgba(11,19,43,.9) 100%);
}
.hero__in {
  padding: calc(var(--hdr) + 3.5rem) var(--gut) 6.5rem;
  width: min(100%, 1000px);
}
.hero__stamp {
  margin: 0 0 1.5rem;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--teal);
}
.hero h1 {
  font-weight: 300;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--aqua); }
.hero__sub {
  margin: 1.6rem auto 0;
  max-width: 640px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1rem + .8vw, 1.5rem);
  line-height: 1.5;
  color: var(--t-on-dark-mute);
}
.hero__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.9rem;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: .7rem;
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--t-on-dark-mute);
  text-decoration: none;
}
.hero__scroll i {
  position: relative;
  display: block;
  width: 1px;
  height: 44px;
  background: rgba(169,188,206,.3);
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 16px;
  background: var(--aqua);
  animation: scrolldrop 2.3s var(--ease) infinite;
}
@keyframes scrolldrop {
  0%   { transform: translateY(-16px); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(44px); opacity: 0; }
}

/* ---- 8. Ticker ---------------------------------------------------------- */
.ticker {
  background: var(--ink-800);
  border-block: 1px solid var(--line-dark);
  overflow: hidden;
  padding: .95rem 0;
}
.ticker__track {
  display: flex;
  gap: 3.2rem;
  width: max-content;
  animation: tick 46s linear infinite;
  color: var(--t-on-dark-mute);
  font-size: .715rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__track span { display: inline-flex; align-items: center; gap: 3.2rem; }
.ticker__track span::after {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid var(--teal);
  transform: rotate(45deg);
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---- 9. Stat ledger ----------------------------------------------------- */
.ledger {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.on-dark .ledger, .on-dark2 .ledger {
  background: var(--line-dark);
  border-color: var(--line-dark);
}
.ledger__cell {
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.6rem);
  text-align: center;
}
.on-dark .ledger__cell  { background: var(--ink); }
.on-dark2 .ledger__cell { background: var(--ink-800); }
.ledger__n {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.3rem);
  font-weight: 500;
  line-height: 1;
  color: var(--teal-ink);
  letter-spacing: .01em;
}
.on-dark .ledger__n, .on-dark2 .ledger__n { color: var(--aqua); }
.ledger__n b { font-weight: 500; }
.ledger__l {
  display: block;
  margin-top: .8rem;
  font-size: .655rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--t-on-light-mute);
}
.on-dark .ledger__l, .on-dark2 .ledger__l { color: var(--t-on-dark-mute); }

/* ---- 10. Split (about / founder) ---------------------------------------- */
.split {
  display: grid;
  gap: clamp(2.4rem, 5vw, 4.5rem);
  align-items: start;
}
/* A grid track's automatic minimum is its content's min-content size, and for
   an <img> that is the file's intrinsic width - 1400px here. Without this the
   portrait column blows past its 1fr share and crushes the text beside it. */
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-r { grid-template-columns: 1fr 1.18fr; }
}

.portrait { position: relative; isolation: isolate; }

/* The prose column is far taller than the photograph. Centring the photo in
   that track strands it in the middle of the text with dead space above and
   below; sticking it to the top keeps the face with the reader instead. */
@media (min-width: 900px) {
  .portrait { position: sticky; top: calc(var(--hdr) + 2.2rem); }
}
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  filter: saturate(.94) contrast(1.03);
}
.portrait::before {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 62%;
  height: 62%;
  border: 1px solid var(--teal);
  z-index: -1;
}
.portrait__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--ink);
  color: var(--t-on-dark);
  padding: 1rem 1.5rem;
  border-left: 2px solid var(--aqua);
}
.portrait__tag b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: .05em;
}
.portrait__tag span {
  display: block;
  margin-top: .28rem;
  font-size: .625rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
}

.sig {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-light);
}
.on-dark .sig, .on-dark2 .sig { border-top-color: var(--line-dark); }
.sig__name {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--teal-ink);
}
.on-dark .sig__name, .on-dark2 .sig__name { color: var(--aqua); }
.sig__role {
  display: block;
  margin-top: .3rem;
  font-size: .655rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--t-on-light-mute);
}
.on-dark .sig__role, .on-dark2 .sig__role { color: var(--t-on-dark-mute); }

/* pull-quote */
.quote { margin: 0; padding: clamp(1.6rem, 3vw, 2.2rem) 0 0; }
.quote p {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.7rem);
  line-height: 1.44;
  color: var(--t-on-light);
}
.on-dark .quote p, .on-dark2 .quote p { color: var(--t-on-dark); }

/* credential list */
.creds {
  list-style: none;
  margin: clamp(2.6rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.creds > * { min-width: 0; }
/* Deliberately NOT display:grid. Grid promotes every element child to its own
   item, so the leading <b> and the sentence following it become two separate
   items - the sentence lands in the next cell, which is the narrow marker
   column, and wraps one word per line. Absolutely positioning the diamond keeps
   the <b> and its sentence as a single inline flow. */
.creds li {
  position: relative;
  padding: 1.15rem 0 0 2.1rem;
  font-size: .97rem;
  line-height: 1.6;
  border-top: 1px solid var(--line-light);
}
.on-dark .creds li, .on-dark2 .creds li { border-top-color: var(--line-dark); }
.creds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(1.15rem + .62em);
  width: 8px;
  height: 8px;
  border: 1px solid var(--teal);
  transform: rotate(45deg);
}
.creds b { font-weight: 500; }

/* ---- 11. Project cards -------------------------------------------------- */
.cards {
  display: grid;
  gap: clamp(1.4rem, 2.6vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-light);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease),
              border-color .5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(11,19,43,.16);
  border-color: var(--teal);
}
.card__art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-800);
}
.card__art svg { width: 100%; height: 100%; display: block; }
.card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,19,43,.04) 0%, rgba(11,19,43,.52) 100%);
}
.card__badges {
  position: absolute;
  z-index: 2;
  left: 1rem;
  top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.badge {
  padding: .38rem .72rem;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  background: var(--aqua);
  color: var(--ink);
  border-radius: 2px;
}
.badge--alt   { background: var(--teal); color: var(--ink); }
.badge--quiet {
  background: rgba(11,19,43,.82);
  color: var(--t-on-dark);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

.card__price {
  position: absolute;
  z-index: 2;
  left: 1rem;
  bottom: 1rem;
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--t-on-dark);
}
.card__body {
  padding: clamp(1.3rem, 2.4vw, 1.75rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__title {
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: .03em;
  line-height: 1.2;
  margin: 0 0 .55rem;
}
.card__loc {
  display: flex;
  align-items: start;
  gap: .5rem;
  font-size: .855rem;
  line-height: 1.5;
  color: var(--t-on-light-mute);
  margin: 0 0 1.15rem;
}
.card__loc svg { width: 14px; height: 14px; margin-top: .3em; fill: var(--teal-ink); flex: none; }
.card__desc { font-size: .93rem; color: var(--t-on-light-mute); margin: 0 0 1.35rem; }
.card__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-light);
}
.card__meta div { display: grid; }
.card__meta b {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  color: var(--teal-ink);
}
.card__meta span {
  margin-top: .3rem;
  font-size: .58rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--t-on-light-mute);
}
.card__cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .665rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.card__cta .arw { transition: transform .32s var(--ease-out); }
.card:hover .card__cta .arw { transform: translateX(4px); }

/* Stretched link: the whole card is the hit area, but the accessible name
   still comes from real link text rather than an aria-label on a <div>. */
.card__link {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  text-indent: -200vw;
  white-space: nowrap;
}
.card:focus-within { border-color: var(--teal); }

/* ---- 12. Value grid ----------------------------------------------------- */
.vals {
  display: grid;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}
.val {
  background: var(--ink);
  padding: clamp(1.8rem, 3.4vw, 2.6rem);
  display: grid;
  align-content: start;
  gap: .85rem;
}
.val__n {
  font-family: var(--f-display);
  font-size: .95rem;
  letter-spacing: .2em;
  color: var(--teal);
}
.val h3 { font-size: 1.4rem; color: var(--t-on-dark); }
.val p { font-size: .945rem; color: var(--t-on-dark-mute); }

/* ---- 13. Investor band -------------------------------------------------- */
.iband {
  position: relative;
  background: var(--ink-800);
  color: var(--t-on-dark);
  overflow: hidden;
}
.iband::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,192,190,.18) 0%, transparent 68%);
  pointer-events: none;
}
.iband__in {
  position: relative;
  display: grid;
  gap: 2.6rem;
  align-items: center;
}
@media (min-width: 940px) { .iband__in { grid-template-columns: 1.4fr auto; } }
.iband__seal {
  position: relative;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(111,255,233,.32);
  border-radius: 50%;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  justify-self: center;
}
.iband__seal::after {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(111,255,233,.14);
  border-top-color: rgba(111,255,233,.5);
  border-radius: 50%;
  animation: sealspin 22s linear infinite;
}
@keyframes sealspin { to { transform: rotate(360deg); } }
.iband__seal b {
  display: block;
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--aqua);
  margin-bottom: .25rem;
}

/* ---- 14. Contact + forms ------------------------------------------------ */
.contact-grid { display: grid; gap: clamp(2.4rem, 5vw, 4rem); }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1.12fr; } }

.dl { margin: 2rem 0 0; display: grid; gap: 1.5rem; }
.dl dt {
  font-size: .635rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .38rem;
}
.dl dd {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  white-space: pre-line;
}
.dl dd a {
  color: var(--t-on-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(111,255,233,.35);
  padding-bottom: 2px;
}
.dl dd a:hover { color: var(--aqua); border-bottom-color: var(--aqua); }

.form {
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line-dark);
  padding: clamp(1.5rem, 3.4vw, 2.5rem);
  display: grid;
  gap: 1.15rem;
}
.form__row { display: grid; gap: 1.15rem; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .48rem; }
.field label {
  font-size: .625rem;
  letter-spacing: .21em;
  text-transform: uppercase;
  color: var(--t-on-dark-mute);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .82rem .95rem;
  background: rgba(11,19,43,.55);
  border: 1px solid rgba(111,255,233,.2);
  border-radius: 2px;
  color: var(--t-on-dark);
  font-size: .965rem;
  font-weight: 300;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(169,188,206,.55); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--aqua);
  background: rgba(11,19,43,.85);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236FFFE9' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .95rem center;
  background-size: 12px;
  padding-right: 2.4rem;
}
.field select option { background: var(--ink); color: var(--t-on-dark); }
.field--err input, .field--err select, .field--err textarea { border-color: #FF8A8A; }
.field__err { font-size: .72rem; color: #FF9E9E; display: none; }
.field--err .field__err { display: block; }

.form__note { font-size: .765rem; line-height: 1.55; color: var(--t-on-dark-mute); }
.form__ok {
  display: none;
  padding: .95rem 1.1rem;
  border-left: 2px solid var(--aqua);
  background: rgba(111,255,233,.1);
  font-size: .9rem;
}
.form__ok.is-on { display: block; }

/* ---- 15. Footer --------------------------------------------------------- */
.footer {
  background: var(--ink-950);
  color: var(--t-on-dark-mute);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  border-top: 1px solid var(--line-dark);
}
.footer__top {
  display: grid;
  gap: 2.4rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer h4 {
  font-family: var(--f-text);
  font-size: .635rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1.15rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .68rem; }
.footer a {
  color: var(--t-on-dark-mute);
  text-decoration: none;
  font-size: .92rem;
  transition: color .28s var(--ease);
}
.footer a:hover { color: var(--aqua); }
.footer__blurb { font-size: .92rem; max-width: 42ch; margin-top: 1.2rem; }
.footer__bot {
  padding-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.6rem;
  justify-content: space-between;
  font-size: .775rem;
}
.footer__legal {
  max-width: 76ch;
  font-size: .745rem;
  line-height: 1.6;
  opacity: .78;
  margin-top: 1.2rem;
}

/* ---- 16. WhatsApp float ------------------------------------------------- */
.wa {
  position: fixed;
  right: clamp(1rem, 2.4vw, 2rem);
  bottom: clamp(1rem, 2.4vw, 2rem);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  height: 60px;
  max-width: 60px;
  border-radius: 999px;
  background: #25D366;
  color: #062E14;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(11,19,43,.34), 0 2px 6px rgba(11,19,43,.2);
  overflow: hidden;
  transition: max-width .5s var(--ease-out), transform .4s var(--ease-out),
              box-shadow .4s var(--ease);
}
.wa__ico { width: 60px; height: 60px; display: grid; place-items: center; flex: none; }
.wa__ico svg { width: 31px; height: 31px; fill: currentColor; }
.wa__label {
  font-size: .69rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 1.5rem;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.wa:hover, .wa:focus-visible {
  max-width: 340px;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(11,19,43,.42);
}
.wa:hover .wa__label, .wa:focus-visible .wa__label { opacity: 1; }
.wa::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wapulse 2.8s var(--ease) infinite;
  pointer-events: none;
}
@keyframes wapulse {
  0%   { transform: scale(1);    opacity: .7; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---- 17. Reveal on scroll -----------------------------------------------
   Gated on .js (set by an inline script in <head>). Content must never be
   hidden by a rule only JavaScript can undo - if the script fails or the
   observer never fires, the page would simply be blank. Without .js
   everything renders normally, un-animated.
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ticker__track,
  .iband__seal::after,
  .wa::before,
  .hero__scroll i::after { animation: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---- 18. Grid safety ----------------------------------------------------
   Same automatic-minimum problem as .split, applied to every other two-column
   grid on the site so a long word, a wide table or an image can never push a
   sibling column to zero.
   -------------------------------------------------------------------------- */
.contact-grid > *,
.iband__in > *,
.footer__top > *,
.cards > * { min-width: 0; }
