/* Raja JSW, Bengaluru */
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --white: #ffffff;
  --paper: #f5f5f7;
  --ink: #0b0b0c;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --night: #000000;
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --display: "Inter Display", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: #1d1d1f; color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; }
.skip:focus { left: 12px; }

/* Type */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.04;
  color: var(--ink);
}
.lede { color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; letter-spacing: -.005em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: #2a2a2d; }
.btn:active { transform: scale(.98); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: #e8e8ed; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--text); }
.link-arrow svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: rgba(0, 0, 0, .08); }
.nav { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; height: 44px; }
.brand img { height: 17px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14px; color: var(--text); opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-links .nav-cta { opacity: 1; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; transition: background .2s, border-color .2s, color .2s; }
.nav-links .nav-cta:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: min(100vh, 960px); min-height: min(100svh, 960px);
  display: flex; flex-direction: column;
  padding: 120px 0 0;
  text-align: center;
  background: var(--white);
}
.hero-inner { position: relative; z-index: 2; margin-top: auto; }
.hero .eyebrow { margin-bottom: 26px; }
.hero h1 { font-size: clamp(44px, 7.4vw, 104px); margin: 0 auto; }
.hero h1 .line { display: block; }
.hero h1 .soft { color: #a1a1a6; }
.hero .lede { max-width: 33em; margin: 28px auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 30px; margin-top: 40px; }
.hero-geo {
  position: relative; z-index: 1;
  width: min(1180px, 100%); margin: auto auto 0; padding: 56px var(--gutter) 0;
}
.hero-geo svg { width: 100%; height: auto; overflow: visible; }
.hero-geo .arc { fill: none; stroke: #d2d2d7; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-geo .arc.faint { stroke: #e8e8ed; }
.hero-geo .horizon { stroke: #c7c7cc; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-geo .tick { stroke: #c7c7cc; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-meta {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; gap: 20px;
  padding-top: 18px; padding-bottom: 28px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint);
}

/* Load-in motion */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero-inner > * { animation: rise 1.1s var(--ease) both; }
.hero-inner > :nth-child(2) { animation-delay: .08s; }
.hero-inner > :nth-child(3) { animation-delay: .18s; }
.hero-inner > :nth-child(4) { animation-delay: .28s; }
.hero-geo .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease) .35s forwards; }
.hero-geo .draw:nth-of-type(2) { animation-delay: .5s; }
.hero-geo .draw:nth-of-type(3) { animation-delay: .65s; }
.hero-geo .draw:nth-of-type(4) { animation-delay: .8s; }
.hero-geo .tick, .hero-meta { animation: fade 1.6s var(--ease) 1.2s both; }

/* Sections */
.section { padding: clamp(96px, 13vw, 168px) 0; }
.section-head { max-width: 760px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { font-size: clamp(38px, 5.6vw, 72px); }
.section-head .lede { margin-top: 22px; max-width: 30em; }

/* Vehicles */
.vehicles { background: var(--night); color: #f5f5f7; overflow: hidden; }
.vehicles .eyebrow { color: #86868b; }
.vehicles .display { color: #f5f5f7; }
.vehicles .lede { color: #a1a1a6; }
.vehicles-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 96px); }
.vehicles-copy .btn { margin-top: 40px; }
.vehicles-media { position: relative; }
.vehicles-media picture, .vehicles-media img { width: 100%; height: auto; }
.vehicles-media img {
  aspect-ratio: 993 / 1584;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(120% 85% at 50% 52%, #000 55%, transparent 100%);
  mask-image: radial-gradient(120% 85% at 50% 52%, #000 55%, transparent 100%);
}
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #86868b;
  margin-top: 56px; padding-top: 22px; border-top: 1px solid #2c2c2e; width: 100%;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f5f5f7; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* About */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.about-copy p { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 34em; }
.about-copy p + p { margin-top: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(64px, 9vw, 112px); }
.fact { border-top: 1px solid var(--line); padding-top: 26px; }
.fact strong { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.035em; line-height: 1.05; color: var(--ink); }
.fact span { display: block; margin-top: 12px; font-size: 15px; color: var(--muted); max-width: 22em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 128px); align-items: start; }
.contact-info { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 15px; color: var(--muted); line-height: 1.7; }
.contact-info b { display: block; color: var(--ink); font-weight: 500; }
.form { display: grid; gap: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.field { display: block; }
.field label { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); letter-spacing: .01em; }
.field label em { font-style: normal; color: #a1a1a6; }
.field input, .field textarea {
  display: block; width: 100%;
  margin-top: 8px; padding: 10px 0 12px;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; outline: none;
  font-size: 18px; color: var(--ink);
  -webkit-appearance: none; appearance: none;
  transition: border-color .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #b8b8bd; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field input:user-invalid { border-bottom-color: #b42318; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 6px; }
.form-foot p { font-size: 13px; color: var(--faint); max-width: 26em; }
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line-soft); padding: 48px 0 32px; font-size: 13px; color: var(--muted); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 15px; width: auto; }
.footer-brand p { margin-top: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 0; padding: 0; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 22px; color: var(--faint); font-size: 12px; }

/* Confirmation and 404 pages */
.message-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.message { flex: 1; display: flex; align-items: center; padding: 140px 0 96px; text-align: center; }
.message .container { max-width: 760px; }
.message .mark { width: 64px; height: 64px; margin: 0 auto 36px; }
.message .mark circle { fill: none; stroke: var(--line); stroke-width: 1; }
.message .mark path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s var(--ease) .3s forwards; }
.message h1 { font-size: clamp(40px, 6.4vw, 80px); }
.message .lede { margin: 24px auto 0; max-width: 28em; }
.message .btn { margin-top: 40px; }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .1s; }
.js .reveal-d2 { transition-delay: .2s; }

/* Tablet */
@media (max-width: 900px) {
  .vehicles-grid { grid-template-columns: 1fr; }
  .vehicles-media { order: -1; max-width: 520px; width: 100%; margin: -24px auto 0; }
  .vehicles-media img { aspect-ratio: 4 / 5; object-position: 50% 58%; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { align-items: start; }
  .facts { gap: 24px; }
}

/* Mobile */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { height: 56px; }
  html { scroll-padding-top: 56px; }
  .brand img { height: 15px; }
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; inset: 56px 0 auto 0; height: calc(100vh - 56px); height: calc(100dvh - 56px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 40px;
    background: #fff;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
  }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-links li { border-bottom: 1px solid var(--line-soft); }
  .nav-links a, .nav-links .nav-cta {
    display: block; padding: 18px 0; border: 0; border-radius: 0;
    font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -.03em; opacity: 1; color: var(--ink);
  }
  .nav-links .nav-cta:hover { background: none; color: var(--ink); }
  .hero { padding-top: 112px; }
  .hero .eyebrow { font-size: 11px; margin-bottom: 20px; line-height: 1.9; }
  .hero .eyebrow .sep { display: none; }
  .hero .eyebrow .city { display: block; color: var(--ink); }
  .hero-actions { flex-direction: column; gap: 22px; }
  .hero-geo { padding: 44px 0 0; width: 150%; margin-left: -25%; }
  .hero-meta { font-size: 11px; }
  .hero-meta .hide-sm { display: none; }
  .hero-meta { justify-content: center; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .fact { padding: 24px 0 28px; }
  .form-row { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
