/* AURA website. Colours from the materials of a Kalaburagi house: Shahabad stone, limewash,
   basalt, and the yellow of a site marking line. Archivo, narrow, like lettering on drawings. */
:root {
  --lime: #f3f4f1;        /* limewash */
  --stone: #5e6b74;       /* Shahabad stone */
  --stone-2: #c9cfd2;     /* stone, light */
  --basalt: #1f272c;      /* ink */
  --marking: #e9b030;     /* site marking line */
  --white: #ffffff;
  --muted: #59646b;
  --measure: 38rem;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--lime); color: var(--basalt); font: 400 1.0625rem/1.55 "Archivo", system-ui, sans-serif; font-stretch: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--marking); outline-offset: 2px; }

.bar { display: flex; align-items: center; gap: 2rem; padding: 1rem clamp(1rem, 4vw, 3rem); border-bottom: 1px solid var(--stone-2); }
.mark { font-weight: 800; font-stretch: 125%; letter-spacing: .02em; font-size: 1.35rem; text-decoration: none; }
.bar nav { display: flex; gap: 1.5rem; flex: 1; }
.bar nav a, .signin { text-decoration: none; font-stretch: 87%; color: var(--muted); }
.bar nav a:hover, .signin:hover { color: var(--basalt); }
.signin { border: 1px solid var(--stone); color: var(--basalt); padding: .35rem .8rem; border-radius: 2px; }

main > section { padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem); }
h1, h2, h3 { font-stretch: 75%; line-height: 1.02; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 750; max-width: 15ch; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; max-width: 22ch; }
h3 { font-size: 1.35rem; font-weight: 650; font-stretch: 87%; }
p { max-width: var(--measure); }
.lede { font-size: 1.2rem; color: var(--muted); margin: 1.5rem 0 2rem; }

.cta, button[type=submit] { display: inline-block; background: var(--marking); color: var(--basalt); border: 0; padding: .9rem 1.4rem; font: 700 1.05rem "Archivo", sans-serif; font-stretch: 87%; text-decoration: none; border-radius: 2px; cursor: pointer; }
.cta:hover, button[type=submit]:hover { background: #d99d1c; }

/* hero: the plot */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.plot { margin: 0; background: var(--white); border: 1px solid var(--stone-2); padding: 1.25rem; }
.plot-controls { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-bottom: .75rem; }
.plot-controls label { font-size: .85rem; color: var(--muted); font-stretch: 87%; display: grid; gap: .2rem; }
select, input, textarea { font: inherit; font-size: 1rem; color: var(--basalt); background: var(--white); border: 1px solid var(--stone); border-radius: 2px; padding: .5rem .6rem; }
#elevation { width: 100%; height: auto; display: block; }
#elevation .grid { stroke: var(--stone-2); stroke-width: .5; }
#elevation .line { fill: none; stroke: var(--basalt); stroke-width: 1.4; }
#elevation .home { fill: #e6e9ea; }
#elevation .rent { fill: #fff; }
#elevation .rent-label, #elevation .home-label, #elevation .dim { font: 500 10px "Archivo", sans-serif; font-stretch: 87%; fill: var(--basalt); }
#elevation .dim { fill: var(--stone); }
#elevation .plotline { stroke: var(--marking); stroke-width: 3; stroke-dasharray: 8 5; }
#elevation .floor { transition: opacity .35s ease, transform .35s ease; }
.plot figcaption { margin-top: .75rem; }
#rent-line { display: block; font-size: 1.5rem; font-weight: 700; font-stretch: 75%; }
.plot small { color: var(--muted); font-size: .8rem; }

/* how */
.how { background: var(--basalt); color: var(--lime); }
.steps { list-style: none; counter-reset: s; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.steps li { counter-increment: s; border-top: 1px solid #45525a; padding-top: 1rem; }
.steps li::before { content: counter(s); display: block; font-weight: 800; font-stretch: 62%; font-size: 2.6rem; line-height: 1; color: var(--marking); margin-bottom: .6rem; }
.steps p { color: #c3cbcf; margin: .5rem 0 0; }

/* what you see */
.see { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.see-text p { color: var(--muted); }
.ticks { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.ticks li { padding: .55rem 0 .55rem 1.6rem; border-bottom: 1px solid var(--stone-2); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .7rem; height: 3px; background: var(--marking); }
.ledger { background: var(--white); border: 1px solid var(--stone-2); padding: 1.25rem; font-stretch: 87%; }
.ledger-head, .row { display: grid; grid-template-columns: 1.5fr 1fr .8fr; gap: 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--stone-2); }
.ledger-head { color: var(--muted); font-size: .85rem; }
.row.done span:last-child { color: #2e6b3f; font-weight: 600; }
.row.now span:first-child { font-weight: 650; }
.bar-cell { height: 8px; background: #e6e9ea; display: block; }
.bar-cell i { display: block; height: 100%; background: var(--stone); }
.row.now .bar-cell i { background: var(--marking); }
.ledger-note { font-size: .8rem; color: var(--muted); margin: .9rem 0 0; }

/* why */
.why { border-top: 1px solid var(--stone-2); }
.why-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-top: 2rem; }
.why-cols p { margin: 0; color: var(--muted); }
.why-cols b { display: block; color: var(--basalt); font-size: 1.2rem; font-stretch: 87%; margin-bottom: .4rem; }

/* talk */
.talk { background: var(--stone); color: var(--white); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); }
.talk-text p { color: #e4e8ea; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; align-content: start; }
.form label { display: grid; gap: .3rem; font-stretch: 87%; }
.form .wide { grid-column: 1 / -1; }
.form .opt { color: #cfd6d9; font-size: .85rem; }
.form input, .form textarea { border-color: transparent; }
.form .hp { position: absolute; left: -9999px; }
.send { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
#form-status { margin: 0; }

.foot { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 2rem clamp(1rem, 4vw, 3rem) 3rem; color: var(--muted); font-size: .95rem; }
.foot b { color: var(--basalt); }

@media (max-width: 860px) {
  .hero, .see, .talk { grid-template-columns: 1fr; }
  .steps, .why-cols { grid-template-columns: 1fr; }
  .bar nav { display: none; }
  .bar { justify-content: space-between; }
}
@media (max-width: 520px) {
  .form { grid-template-columns: 1fr; }
}
.bar-cell i.w100 { width: 100%; } .bar-cell i.w65 { width: 65%; } .bar-cell i.w0 { width: 0; }
