/* RenoWhatIf coming-soon page. Same brand rules as the app (JSW Combined Brand Guidelines v2.5,
   RenoWhatIf supplement v1.1): Deep Plum and Warm Limestone, Citron for the one primary action with
   dark text, Clay accents, Sage decorative only, Clear Sans with Georgia display headings, flat (no
   shadows, glows or gradients). The richness comes from the photography, deep color, big serif type
   and room to breathe, not from effects. */
@font-face { font-family: "Clear Sans"; src: url("/fonts/ClearSans-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Clear Sans"; src: url("/fonts/ClearSans-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --plum: #302139;
  --aubergine: #352A3B;
  --graphite: #292D2C;
  --limestone: #F3EDE2;
  --paper: #FFFCF8;
  --sage: #A4ADA0;
  --citron: #DCE76A;
  --clay: #B96347;
  --clay-text: #785046; /* Clay darkened to pass contrast on light backgrounds */
  --line: #E2D9D3;
  --control: #D9CFC8;
  --muted: #625960;
  --press: #EBE2EE;
  --display: Georgia, "Liberation Serif", serif;
  --pad: clamp(24px, 6vw, 96px);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 64px; --s7: 96px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Clear Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 17px; line-height: 1.6; color: var(--graphite); background: var(--limestone);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--citron); outline-offset: 3px; }
.skip { position: absolute; left: var(--s2); top: -100px; background: var(--citron); color: var(--graphite); padding: var(--s1) var(--s2); border-radius: 8px; z-index: 2; }
.skip:focus { top: var(--s2); }

/* Header and hero share Deep Plum so the page opens as one rich block. */
.top { background: var(--plum); display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  padding: var(--s3) var(--pad); padding-top: max(var(--s3), env(safe-area-inset-top)); }
.logo { width: clamp(150px, 16vw, 196px); }
.lang { font: inherit; font-size: 14px; color: var(--limestone); background: transparent; border: 1px solid rgba(243, 237, 226, .45);
  border-radius: 10px; padding: 6px 14px; cursor: pointer; min-height: 44px; }
.lang:hover { border-color: var(--limestone); }

.hero { background: var(--plum); color: var(--limestone); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(16px, 3vw, 40px) var(--pad) clamp(48px, 7vw, 112px); }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 var(--s3); font-size: 13px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; }
.eyebrow { color: var(--citron); }
.eyebrow::before, .kicker::before { content: ""; width: 40px; height: 1px; background: currentColor; }
h1 { font: 400 clamp(2.7rem, 5.6vw, 5.2rem)/1.02 var(--display); letter-spacing: -.035em; margin: 0 0 var(--s4); color: var(--paper); }
h1 span, h1 em { display: block; }
h1 em { color: var(--citron); }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); max-width: 32em; margin: 0; color: rgba(243, 237, 226, .88); }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 280px 280px 16px 16px; background: var(--aubergine); }
.hero-photo figcaption, .stage figcaption { margin-top: 14px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.hero-photo figcaption { color: rgba(243, 237, 226, .75); text-align: right; }

main h2 { font: 400 clamp(2.1rem, 4vw, 3.4rem)/1.06 var(--display); letter-spacing: -.03em; color: var(--plum); margin: 0 0 var(--s2); }
.section-head { max-width: 760px; margin-bottom: var(--s5); }
.kicker { color: var(--clay-text); }
.intro { margin: 0; color: var(--muted); font-size: 1.1rem; }

/* The what if: one kitchen, tap a style. */
.whatif { padding: clamp(64px, 9vw, 128px) var(--pad) clamp(48px, 6vw, 80px); max-width: 1440px; margin: 0 auto; }
.stage { margin: 0; }
.stage img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; background: var(--line); transition: opacity .35s ease; }
.stage img.swapping { opacity: .15; }
.stage figcaption { color: var(--clay-text); }
.styles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s3); }
.styles button { font: inherit; font-size: 15px; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 18px 8px 10px;
  border: 1px solid var(--control); border-radius: 999px; background: var(--paper); color: var(--graphite); cursor: pointer; }
.styles button:hover { border-color: var(--plum); }
.styles button[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: var(--paper); }
.dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--paper); outline: 1px solid var(--control); flex: none; }
.styles button:nth-child(1) .dot { background: #E9E1D5; }
.styles button:nth-child(2) .dot { background: #7A4A2E; }
.styles button:nth-child(3) .dot { background: #6E4A66; }
.styles button:nth-child(4) .dot { background: #6B7350; }
.styles button:nth-child(5) .dot { background: #2C3A55; }
.styles button:nth-child(6) .dot { background: #6A2234; }
.styles button:nth-child(7) .dot { background: #B5642F; }

/* Every room: a mosaic of portraits, then one wide room. */
.rooms { padding: clamp(48px, 6vw, 80px) var(--pad) clamp(64px, 9vw, 128px); max-width: 1440px; margin: 0 auto; }
.room-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.room-grid li { margin: 0; }
.room-grid img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 14px; background: var(--line); }
.room-grid li:nth-child(1) img, .room-grid li:nth-child(6) img { border-radius: 999px 999px 14px 14px; }
.room-grid span, .wide figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-top: 12px; font-size: 14px; }
.room-grid b, .wide b { color: var(--plum); }
.room-grid i, .wide i { font-style: normal; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--clay-text); }
.wide { margin: clamp(24px, 3vw, 40px) 0 0; }
.wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 16px; background: var(--line); }

.steps { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 120px) var(--pad); }
.steps h2 { max-width: 1440px; margin: 0 auto var(--s5); }
.steps ol { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); max-width: 1440px; }
.steps li { border-top: 1px solid var(--clay); padding-top: var(--s3); }
.num { display: block; font: italic 400 2.4rem/1 var(--display); color: var(--clay-text); margin-bottom: var(--s2); }
.steps h3 { font-size: 1.15rem; margin: 0 0 var(--s1); color: var(--plum); }
.steps p { margin: 0; color: var(--muted); }

/* Sage band: decorative surface only, with Plum and Graphite text on it. */
.jsw { background: var(--sage); text-align: center; padding: clamp(64px, 9vw, 120px) var(--s3); }
.jsw p { max-width: 32em; margin: 0 auto var(--s4); color: var(--graphite); font-size: 1.1rem; }
.btn { display: inline-block; background: var(--citron); color: var(--graphite); font-weight: 700; text-decoration: none;
  padding: 14px 28px; border-radius: 12px; min-height: 48px; }
.btn:hover { background: #E6EE8C; }

.foot { background: var(--plum); color: rgba(243, 237, 226, .8); text-align: center; font-size: 13px; padding: var(--s4) var(--s3);
  padding-bottom: max(var(--s4), env(safe-area-inset-bottom)); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo img { aspect-ratio: 4 / 3.6; border-radius: 200px 200px 14px 14px; }
  .room-grid { grid-template-columns: 1fr 1fr; }
  .steps ol { grid-template-columns: 1fr; }
  .wide img { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  .styles button { font-size: 14px; padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .stage img { transition: none; }
}
