/* ==========================================================================
   MIDORI VIKARABAD — design system (v3, "elite dark")
   A pre-launch teaser for Phase 1 of Midori Vikarabad, a farmhouse
   community across the granite hills of Vikarabad, Telangana.
   Minimal information, imagery-led, dark ground with a brass accent.

   Palette
   -------
   --bg          #14170F   page ground (deep moss, near-black)
   --panel       #1B2015   subtle panel / section alternation
   --panel-light #EAE3D0   rare light "paper" panel, used sparingly
   --text        #F3EFE3   primary text on dark ground
   --ink         #201F17   dark text, used only inside light panels
   --brass       #C9A768   accent — labels, links, numerals, rules
   --clay        #B0603F   secondary accent, used rarely

   Type
   ----
   Display  — Cormorant        (headlines, weight 600 structural)
   Body     — Albert Sans      (paragraphs, navigation, labels)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Albert+Sans:wght@300;400;500;600;700&display=swap');

:root{
  --bg: #14170F;
  --panel: #1B2015;
  --panel-light: #EAE3D0;
  --text: #F3EFE3;
  --text-soft: rgba(243,239,227,0.72);
  --text-faint: rgba(243,239,227,0.5);
  --ink: #201F17;
  --ink-soft: rgba(32,31,23,0.68);
  --brass: #C9A768;
  --clay: #B0603F;
  --line: rgba(243,239,227,0.14);

  --font-display: 'Cormorant', 'Times New Roman', serif;
  --font-body: 'Albert Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --edge: clamp(24px, 6vw, 96px);
  --rhythm: clamp(56px, 8vw, 140px);
  --max: 1400px;
  --bar-h: 42px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
::selection{ background: var(--brass); color: var(--ink); }
:focus-visible{ outline: 2px solid var(--brass); outline-offset: 3px; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.12;
}
p{ margin: 0; color: var(--text-soft); }

.section-title{ font-size: clamp(30px, 3.8vw, 44px); margin-top: 18px; line-height: 1.12; }

.eyebrow{
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{ content: ''; width: 22px; height: 1px; background: var(--brass); display: inline-block; }

.rule{ border: none; border-top: 1px solid var(--line); margin: 0; }
.wrap{ max-width: var(--max); margin: 0 auto; padding-left: var(--edge); padding-right: var(--edge); }
section{ position: relative; }
.section-pad{ padding-top: var(--rhythm); padding-bottom: var(--rhythm); }
.section-pad-sm{ padding-top: clamp(36px,5vw,64px); padding-bottom: clamp(36px,5vw,64px); }

/* ---------- panels (rare light contrast) ---------- */

.panel-light{ background: var(--panel-light); color: var(--ink); }
.panel-light h1, .panel-light h2, .panel-light h3{ color: var(--ink); }
.panel-light p{ color: var(--ink-soft); }
.panel-light .eyebrow{ color: var(--clay); }
.panel-light .eyebrow::before{ background: var(--clay); }

/* ---------- buttons / links ---------- */

.btn{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 17px 32px;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn svg{ width: 14px; height: 14px; transition: transform .35s var(--ease); }
.btn:hover svg{ transform: translateX(4px); }
.btn-gold{ color: var(--ink); background: var(--brass); border-color: var(--brass); }
.btn-gold:hover{ background: #DDBB82; border-color: #DDBB82; }
.btn-line{ color: var(--text); }
.btn-line:hover{ background: var(--text); color: var(--ink); }

.link-arrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 4px;
}
.link-arrow svg{ width: 13px; height: 13px; transition: transform .3s var(--ease); }
.link-arrow:hover svg{ transform: translateX(4px); }
.panel-light .link-arrow{ color: var(--ink); }

/* ---------- launch bar (countdown) ---------- */

.launch-bar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  height: var(--bar-h);
  background: #0D0F09;
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 var(--edge);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid rgba(201,167,104,0.25);
}
.launch-bar .sep{ opacity: 0.5; }
.launch-bar strong{ font-weight: 700; color: #EAD4A4; }
@media (max-width: 640px){
  .launch-bar{ font-size: 10px; gap: 6px; padding: 0 14px; }
  .launch-bar .hide-mobile{ display: none; }
}

/* ---------- nav ---------- */

.site-nav{
  position: fixed;
  top: var(--bar-h); left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--edge);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-nav.is-scrolled{
  background: rgba(20,23,15,0.86);
  backdrop-filter: blur(10px);
  padding-top: 16px;
  padding-bottom: 16px;
  box-shadow: 0 1px 0 rgba(243,239,227,0.08);
}

.brand{ display: inline-flex; align-items: center; position: relative; }
.brand img.logo{ height: 44px; width: auto; display: block; }

.site-nav.nav-centered{ display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.site-nav.nav-centered .nav-side{ display: flex; list-style: none; margin: 0; padding: 0; gap: clamp(16px, 3vw, 40px); }
.site-nav.nav-centered .nav-side a{
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  position: relative; padding-bottom: 4px; color: inherit;
}
.site-nav.nav-centered .nav-side a::after{
  content:''; position:absolute; left:0; right:100%; bottom:0; height:1px; background: var(--brass);
  transition: right .3s var(--ease);
}
.site-nav.nav-centered .nav-side a:hover::after{ right: 0; }
.site-nav.nav-centered .nav-side.right{ justify-content: flex-end; align-items: center; }
.site-nav.nav-centered .brand{ justify-self: center; }
.site-nav.nav-centered .nav-links{ display: none; }
@media (max-width: 860px){
  .site-nav.nav-centered{ display: flex; justify-content: space-between; }
  .site-nav.nav-centered .nav-side.left, .site-nav.nav-centered .nav-side.right{ display: none; }
  .site-nav.nav-centered .nav-links{ display: flex; }
}

.nav-links{ display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); list-style: none; margin: 0; padding: 0; }
.nav-links a{ font-size: 14.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; position: relative; padding-bottom: 4px; }
.nav-links a::after{ content:''; position:absolute; left:0; right:100%; bottom:0; height:1px; background: var(--brass); transition: right .3s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ right: 0; }

.nav-cta{ font-size: 13.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 14px 26px; border: 1px solid var(--brass); color: var(--brass); transition: background .3s var(--ease), color .3s var(--ease); }
.nav-cta:hover{ background: var(--brass); color: var(--ink); }

.nav-toggle{ display: none; width: 26px; height: 18px; position: relative; background: none; border: none; cursor: pointer; padding: 0; }
.nav-toggle span{ position: absolute; left: 0; right: 0; height: 1px; background: var(--text); transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:nth-child(1){ top: 0; }
.nav-toggle span:nth-child(2){ top: 8px; }
.nav-toggle span:nth-child(3){ top: 16px; }
.nav-open .nav-toggle span:nth-child(1){ top: 8px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
.nav-open .nav-toggle span:nth-child(3){ top: 8px; transform: rotate(-45deg); }

@media (max-width: 860px){
  .nav-links{
    position: fixed; inset: 0; flex-direction: column; justify-content: center;
    background: var(--bg); transform: translateY(-100%); transition: transform .5s var(--ease); gap: 30px;
  }
  .nav-links a{ color: var(--text); font-size: 21px; }
  .nav-open .nav-links{ transform: translateY(0); }
  .nav-cta{ display: none; }
  .nav-toggle{ display: block; z-index: 110; }
  .nav-open .nav-toggle span{ background: var(--text); }
  .nav-open .nav-toggle span:nth-child(2){ background: transparent; }
}

/* ---------- hero ---------- */

.hero{
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(140px + var(--bar-h));
  padding-bottom: var(--rhythm);
  overflow: hidden;
}
.hero-photo{ position: absolute; inset: 0; z-index: 0; }
.hero-photo img{ width: 100%; height: 100%; object-fit: cover; }
.hero-photo .scrim{ position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,23,15,0.35) 0%, rgba(20,23,15,0.55) 55%, #14170F 96%); }
.hero-art{ position: absolute; inset: 0; z-index: 1; opacity: 0.5; mix-blend-mode: soft-light; }
.hero-art svg{ width: 100%; height: 100%; }
.hero-content{ position: relative; z-index: 2; }
.hero .eyebrow{ margin-bottom: 22px; }
.hero h1{ font-size: clamp(42px, 7vw, 100px); font-weight: 500; line-height: 1.04; letter-spacing: -0.02em; max-width: 17ch; }
.hero .hero-sub{ max-width: 44ch; margin-top: 28px; font-size: 18px; line-height: 1.6; color: var(--text-soft); }
.hero-actions{ margin-top: 44px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }

/* ---------- reveal ---------- */

[data-reveal]{ opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- philosophy (The Idea) ---------- */

.philosophy{ max-width: 70ch; }
.philosophy p{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.5;
  color: var(--text);
}
.philosophy p + p{ margin-top: 22px; }
.philosophy .lede{ color: var(--brass); }

/* ---------- feature grid (imagery-led) ---------- */

.feature-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.5vw, 40px); margin-top: var(--rhythm); }
@media (max-width: 900px){ .feature-grid{ grid-template-columns: 1fr; } }
.feature-card .frame{ aspect-ratio: 4 / 5; width: 100%; border-radius: 2px; margin-bottom: 22px; }
.feature-card .tag{ font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--brass); display: block; margin-bottom: 12px; }
.feature-card h3{ font-size: 26px; margin-bottom: 10px; }
.feature-card p{ font-size: 15.5px; line-height: 1.6; }

.frame{ position: relative; overflow: hidden; background: var(--panel); }
.frame img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.frame .photo-caption{
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #F3EFE3; text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

/* ---------- quote ---------- */

.pull-quote{ max-width: 26ch; }
.pull-quote p{ font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.32; color: var(--text); }
.pull-quote cite{ display: block; margin-top: 22px; font-style: normal; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }

.cta-strip{ display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }

/* ---------- register interest panel ---------- */

.register-panel{
  background: var(--panel-light);
  color: var(--ink);
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.register-panel h3{ color: var(--ink); font-size: clamp(24px, 3vw, 32px); max-width: 20ch; }
.register-panel p{ color: var(--ink-soft); margin-top: 10px; max-width: 42ch; }

/* ---------- footer ---------- */

.site-footer{ background: #0D0F09; color: var(--text); position: relative; overflow: hidden; }
.site-footer .contour-bg{ position: absolute; inset: 0; opacity: 0.12; z-index: 0; }
.site-footer .wrap{ position: relative; z-index: 1; }
.footer-top{ display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-top: var(--rhythm); padding-bottom: 56px; }
@media (max-width: 860px){ .footer-top{ grid-template-columns: 1fr; } }
.footer-logo{ height: 60px; width: auto; display: block; margin-bottom: 18px; }
.footer-domain{ display: inline-block; margin-top: 16px; font-family: var(--font-body); font-weight: 600; font-size: 12.5px; letter-spacing: 0.08em; color: var(--brass); border-bottom: 1px solid rgba(201,167,104,0.35); padding-bottom: 2px; }
.footer-domain:hover{ opacity: 0.8; }
.footer-brand-sub{ margin-top: 14px; max-width: 34ch; font-size: 15px; line-height: 1.6; color: var(--text-faint); }
.footer-col h4{ font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; color: var(--brass); margin-bottom: 20px; }
.footer-col ul{ list-style: none; margin: 0; padding: 0; }
.footer-col li{ margin-bottom: 12px; }
.footer-col a, .footer-col p{ font-size: 14.5px; margin: 0; color: var(--text-faint); }
.footer-col a:hover{ color: var(--text); text-decoration: underline; }
.footer-bottom{ border-top: 1px solid var(--line); padding: 24px 0 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--text-faint); }
.footer-bottom a{ color: inherit; text-decoration: none; }
.footer-bottom a:hover{ text-decoration: underline; color: var(--text); }

/* ---------- inner page hero ---------- */

.hero-inner{ min-height: 46vh; padding-top: calc(150px + var(--bar-h)); padding-bottom: clamp(40px,6vw,72px); }
.hero-inner h1{ font-weight: 500; }

/* ---------- story layout ---------- */

.story-row{ display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.story-row.reverse{ grid-template-columns: 1.1fr 0.9fr; }
.story-row.reverse .story-copy{ order: -1; }
@media (max-width: 900px){
  .story-row, .story-row.reverse{ grid-template-columns: 1fr; }
  .story-row.reverse .story-copy{ order: 0; }
}
.story-row + .story-row{ margin-top: var(--rhythm); }
.story-copy .eyebrow{ margin-bottom: 18px; }
.story-copy h2{ font-size: clamp(27px, 3.2vw, 38px); margin-bottom: 16px; }
.story-copy p{ font-size: 16.5px; line-height: 1.6; }
.story-copy p + p{ margin-top: 14px; }
.story-frame{ aspect-ratio: 4/3; }

/* ---------- credentials ---------- */

.credit-list{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); margin-top: var(--rhythm); }
@media (max-width: 700px){ .credit-list{ grid-template-columns: 1fr; } }
.credit-item{ background: var(--bg); padding: 34px; }
.credit-item .role{ font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--brass); display: block; margin-bottom: 10px; }
.credit-item h3{ font-size: 21px; margin-bottom: 9px; }
.credit-item p{ font-size: 14.5px; line-height: 1.55; }

/* ---------- contact page ---------- */

.contact-grid{ display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
@media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; } }

.field{ margin-bottom: 24px; }
.field label{ display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 9px; color: var(--ink-soft); }
.field input, .field select, .field textarea{
  width: 100%; border: none; border-bottom: 1px solid rgba(32,31,23,0.3); background: transparent;
  font-family: var(--font-body); font-size: 16.5px; color: var(--ink); padding: 10px 2px; transition: border-color .3s var(--ease);
}
.field textarea{ resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--clay); }
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 560px){ .field-row{ grid-template-columns: 1fr; } }

.form-note{ font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.form-status{ margin-top: 20px; font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--clay); display: none; }
.form-status.is-visible{ display: block; }

.contact-info dl{ margin: 0 0 clamp(40px,6vw,72px); }
.contact-info .info-row{ margin-bottom: 28px; }
.contact-info dt{ font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); margin-bottom: 8px; }
.contact-info dd{ margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 21px; }
.contact-info dd a{ color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.contact-info dd a:hover{ border-color: var(--brass); }
.map-frame{ aspect-ratio: 4/3; }

/* ---------- responsive base ---------- */

@media (max-width: 700px){
  body{ font-size: 16.5px; }
  .hero{ padding-top: calc(120px + var(--bar-h)); }
}
