:root {
  color-scheme: dark;
  --ink: #f7f9fc;
  --muted: #aebacd;
  --line: rgba(255,255,255,.18);
  --panel: rgba(5,13,28,.62);
  --blue: #4cc9ff;
  --red: #ff4d56;
  --gold: #efc477;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: #06101f; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(3,9,20,.76), rgba(3,9,20,.4) 49%, rgba(3,9,20,.72)),
    linear-gradient(180deg, rgba(3,9,20,.72) 0%, rgba(3,9,20,.08) 38%, #030915 100%),
    url("assets/farmah-portal-hero.png") center / cover fixed;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}
.ambient { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(93,176,255,.13), transparent 22rem); transition: background .15s; }
.topbar {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.brand { color: white; text-decoration: none; display: flex; align-items: center; gap: 13px; font-size: .9rem; font-weight: 800; letter-spacing: .3em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.48); font-family: Georgia, serif; font-size: 1.3rem; letter-spacing: 0; transform: rotate(45deg); }
.brand-mark::first-letter { transform: rotate(-45deg); }
.brand-mark { line-height: 1; }
.brand-mark { color: #fff; text-shadow: 0 0 18px rgba(88,192,255,.7); }
.brand-mark::after { content: ""; }
.portal-mark { display: flex; align-items: center; gap: 8px; padding: 12px 3px; }
.mark-node { width: 9px; height: 9px; border: 1px solid currentColor; transform: rotate(45deg); box-shadow: 0 0 15px currentColor; }
.mark-line { width: 34px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.16), rgba(255,255,255,.55), rgba(255,255,255,.16)); }
.tech-node { color: var(--blue); background: color-mix(in srgb, var(--blue) 28%, transparent); }
.realty-node { color: var(--red); background: color-mix(in srgb, var(--red) 28%, transparent); }
.connect-node { color: var(--gold); background: color-mix(in srgb, var(--gold) 28%, transparent); }
main { width: min(1400px, calc(100% - 64px)); margin: 0 auto; padding: clamp(60px, 8vh, 104px) 0 54px; position: relative; z-index: 1; }
.intro { max-width: 760px; }
.eyebrow { margin: 0 0 19px; color: #d6deea; font-size: .76rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(3rem, 5.7vw, 6.1rem); line-height: .94; letter-spacing: -.045em; text-wrap: balance; }
h1 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.76); }
.lede { margin: 26px 0 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.65; }
.destinations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(48px, 8vh, 90px); }
.destination {
  --accent: var(--blue);
  position: relative;
  min-height: 360px;
  padding: 29px;
  display: flex;
  flex-direction: column;
  color: white;
  text-decoration: none;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(16,30,52,.66), rgba(3,10,21,.85));
  backdrop-filter: blur(14px);
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.destination::before { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--accent); transform: scaleX(.18); transform-origin: left; transition: transform .4s ease; }
.destination::after { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -120px; bottom: -150px; border-radius: 50%; background: var(--accent); filter: blur(80px); opacity: .08; transition: opacity .35s, transform .35s; }
.destination:hover, .destination:focus-visible { transform: translateY(-8px); border-color: color-mix(in srgb, var(--accent) 66%, white 8%); background: linear-gradient(145deg, rgba(20,38,65,.82), rgba(3,10,21,.94)); outline: none; }
.destination:hover::before, .destination:focus-visible::before { transform: scaleX(1); }
.destination:hover::after, .destination:focus-visible::after { opacity: .17; transform: scale(1.25); }
.realty { --accent: var(--red); }
.connect { --accent: var(--gold); }
.number { position: absolute; right: 27px; top: 25px; color: rgba(255,255,255,.37); font-size: .7rem; letter-spacing: .2em; }
.icon { width: 58px; height: 58px; display: grid; place-items: center; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-copy { margin-top: auto; display: flex; flex-direction: column; }
.kicker { color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.destination strong { margin-top: 11px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 2.1vw, 2.3rem); line-height: 1.04; font-weight: 400; }
.description { margin-top: 18px; max-width: 31ch; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.visit { margin-top: 28px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between; align-items: center; font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.visit span { color: var(--accent); font-size: 1.25rem; transition: transform .25s; }
.destination:hover .visit span { transform: translate(3px,-3px); }
footer { width: min(1400px, calc(100% - 64px)); margin: 0 auto; padding: 25px 0 31px; display: flex; align-items: center; gap: 18px; color: #8593a8; border-top: 1px solid var(--line); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; position: relative; z-index: 1; }
.footer-line { height: 1px; width: 42px; background: #526079; }
@media (max-width: 900px) {
  body { background-attachment: scroll; }
  .destinations { grid-template-columns: 1fr; }
  .destination { min-height: 290px; }
}
@media (max-width: 600px) {
  .topbar, main, footer { width: min(100% - 34px, 1400px); }
  .topbar { min-height: 74px; }
  .portal-mark { gap: 6px; }
  .mark-line { width: 19px; }
  main { padding-top: 52px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .lede { max-width: 28ch; }
  .destinations { margin-top: 44px; }
  .destination { min-height: 300px; padding: 24px; }
  footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  .footer-line { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
