/* Cadenza America · Residence landing page. Same type and buttons as the main site, a warmer stone palette. */
:root {
  --bg: #f3efe7; --card: #fbf9f4; --ink: #17150f; --ink-2: #4a463c; --muted: #7a7466; --line: #ddd6c6; --line-2: #c9c1ae;
  --brass: #a7894f; --night: #12110d;
  --display: 'Manrope', system-ui, sans-serif; --serif: 'Instrument Serif', Georgia, serif; --ui: 'DM Sans', system-ui, sans-serif;
  --out: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--ui); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; letter-spacing: -.035em; margin: 0; }
.rs-skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 999px; }
.rs-skip:focus { left: 12px; }

/* Header: logo and one action, nothing else */
.rs-head { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(18px, 4vw, 48px);
  transition: background .35s ease, box-shadow .35s ease; }
.rs-head .rs-logo img { width: 132px; height: auto; filter: brightness(0) invert(1); transition: filter .35s ease; }
.rs-head-cta { font: 500 14px/1 var(--ui); color: #fff; text-decoration: none; padding: 12px 18px; border: 1px solid #ffffff80; border-radius: 999px; transition: background .25s, color .25s, border-color .25s; }
.rs-head-cta:hover { background: #fff; color: var(--ink); }
.rs-scrolled .rs-head { background: #f3efe7eb; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 #0000000f; }
.rs-scrolled .rs-head .rs-logo img { filter: none; }
.rs-scrolled .rs-head-cta { color: var(--ink); border-color: var(--line-2); }
.rs-scrolled .rs-head-cta:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Hero */
.rs-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; isolation: isolate; }
.rs-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; z-index: -2; }
.rs-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0d0c09a6 0%, #0d0c0966 30%, #0d0c0900 55%), linear-gradient(180deg, #0000004d 0%, #00000000 22%, #00000000 55%, #0d0c099e 100%); }
.rs-hero-copy { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px) clamp(40px, 8vh, 88px); }
.rs-kicker { margin: 0 0 14px; font: 500 14px/1.3 var(--ui); letter-spacing: .02em; color: #f1e6cf; }
.rs-hero h1 { font-size: clamp(44px, 5.4vw, 78px); line-height: .98; }
.rs-hero h1 em { color: #f1e6cf; }
.rs-lede { max-width: 560px; margin: 22px 0 28px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: #f3efe7e6; }
.rs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.rs-price { margin: 22px 0 0; font-size: 14px; color: #f3efe7b3; }

/* Buttons */
.rs-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 500 16px/1 var(--ui); text-decoration: none; cursor: pointer; transition: transform .16s var(--out), background .25s, box-shadow .25s; }
.rs-btn:active { transform: scale(.97); }
.rs-btn-light { background: #fff; color: var(--ink); }
.rs-btn-light:hover { box-shadow: 0 10px 30px #0006; }
.rs-btn-dark { background: var(--ink); color: #fff; }
.rs-btn-dark:hover { background: #2b271e; }
.rs-btn[disabled] { opacity: .55; cursor: progress; }
.rs-link-light { color: #fff; font: 500 15px/1 var(--ui); text-decoration: none; padding: 10px 0; border-bottom: 1px solid #ffffff80; }
.rs-link-light:hover { border-color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* Sections */
.rs-intro { max-width: 980px; margin: 0 auto; padding: clamp(80px, 13vw, 160px) clamp(20px, 5vw, 64px) clamp(56px, 8vw, 96px); text-align: center; }
.rs-intro p { margin: 0; font: 300 clamp(26px, 3.4vw, 44px)/1.3 var(--display); letter-spacing: -.025em; color: var(--ink); }
.rs-points, .rs-process { max-width: 1280px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) clamp(20px, 5vw, 64px); }
.rs-points h2, .rs-process h2, .rs-finishes h2, .rs-consult h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.04; }
.rs-point-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(32px, 5vw, 56px); }
.rs-point { padding: 28px 26px 30px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.rs-num { font: 400 13px/1 var(--ui); color: var(--brass); }
.rs-point h3 { margin: 18px 0 10px; font-size: 24px; font-weight: 400; letter-spacing: -.02em; }
.rs-point p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* Finishes: tap a color, the piano changes */
.rs-finishes { max-width: 1280px; margin: 0 auto; padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 56px; align-items: center; }
.rs-fin-copy p { margin: 18px 0 0; color: var(--ink-2); font-size: 17px; max-width: 420px; }
.rs-fin-stage { grid-row: span 2; aspect-ratio: 3 / 2; border-radius: 28px; background: radial-gradient(70% 60% at 50% 60%, #fbf9f4 0%, #ebe5d8 100%); display: grid; place-items: center; overflow: hidden; }
.rs-fin-stage img { width: 92%; height: auto; transition: opacity .3s ease, transform .5s var(--out); }
.rs-fin-stage img.is-swapping { opacity: 0; transform: scale(.985); }
.rs-swatches { display: flex; flex-wrap: wrap; gap: 10px; align-self: start; }
.rs-swatches button { display: grid; justify-items: center; gap: 8px; width: 76px; padding: 10px 4px 8px; border: 1px solid transparent; border-radius: 16px; background: none; cursor: pointer; font: 400 12.5px/1.2 var(--ui); color: var(--ink-2); transition: border-color .2s, background .2s; }
.rs-swatches button::before { content: ''; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in oklab, var(--c) 70%, #fff), var(--c) 60%); box-shadow: inset 0 0 0 1px #0000001f; transition: transform .2s var(--out); }
.rs-swatches button[aria-checked=true] { border-color: var(--ink); background: var(--card); color: var(--ink); }
.rs-swatches button[aria-checked=true]::before { transform: scale(1.08); }
@media (hover: hover) and (pointer: fine) { .rs-swatches button:hover { background: var(--card); } }

/* Process */
.rs-steps { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.rs-steps li { padding-top: 22px; border-top: 1px solid var(--line-2); }
.rs-steps span { font: 400 13px/1 var(--ui); color: var(--brass); }
.rs-steps h3 { margin: 14px 0 8px; font-size: 21px; font-weight: 400; letter-spacing: -.02em; }
.rs-steps p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Consultation */
.rs-consult { background: var(--night); color: #f3efe7; padding: clamp(64px, 10vw, 128px) clamp(20px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px clamp(32px, 6vw, 96px); max-width: none; }
.rs-consult > * { max-width: 640px; }
.rs-consult-copy { justify-self: end; }
.rs-consult h2 em { color: #e6d4ab; }
.rs-consult-copy > p { margin: 20px 0 26px; color: #d9d2c3; font-size: 17px; }
.rs-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rs-facts li { position: relative; padding-left: 22px; color: #cfc7b6; font-size: 15px; }
.rs-facts li::before { content: ''; position: absolute; left: 0; top: .62em; width: 10px; height: 1px; background: var(--brass); }
.rs-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; background: var(--card); color: var(--ink); padding: clamp(22px, 3vw, 34px); border-radius: 24px; }
.rs-wide, .rs-chips { grid-column: 1 / -1; }
.rs-field { display: grid; gap: 7px; margin: 0; min-width: 0; }
.rs-field label, .rs-field legend { font: 500 14px/1.3 var(--ui); color: var(--ink); padding: 0; }
.rs-opt { color: var(--muted); font-weight: 400; }
.rs-field input, .rs-field select, .rs-field textarea { width: 100%; min-height: 50px; padding: 13px 14px; font: 400 16px/1.4 var(--ui); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.rs-field textarea { min-height: 96px; resize: vertical; }
.rs-field input:focus, .rs-field select:focus, .rs-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px #17150f14; }
.rs-field [aria-invalid=true] { border-color: #a3321f; }
.rs-chips { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rs-chips legend { margin-bottom: 8px; }
.rs-chips label { position: relative; }
.rs-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rs-chips span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; background: #fff; transition: background .2s, color .2s, border-color .2s; }
.rs-chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.rs-chips input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 3px; }
.rs-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.rs-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.rs-err { margin: 0; font-size: 13px; color: #a3321f; }
.rs-form .rs-btn { justify-self: stretch; }
.rs-status { margin: 0; font-size: 14px; color: var(--ink-2); min-height: 1px; }
.rs-status:empty { display: none; }
.rs-done { grid-column: 1 / -1; padding: 8px 4px; }
.rs-done h3 { font-size: 30px; margin-bottom: 10px; }
.rs-done p { margin: 0 0 6px; color: var(--ink-2); }
.rs-form [hidden] { display: none !important; }

/* Footer */
.rs-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px clamp(20px, 5vw, 64px) calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.rs-foot nav { display: flex; gap: 22px; font-size: 14px; }
.rs-foot nav a { text-decoration: none; color: var(--ink-2); }

/* Floating action on phones, once the hero has scrolled away */
.rs-float { display: none; }
@media (max-width: 760px) {
  .rs-float { display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 25; justify-content: space-between; align-items: center;
    min-height: 54px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font: 500 15px/1 var(--ui); box-shadow: 0 12px 30px #0000004d;
    transform: translateY(140%); transition: transform .4s var(--out); }
  .rs-float-on .rs-float { transform: none; }
  .rs-head .rs-logo img { width: 112px; }
  .rs-head-cta { padding: 10px 14px; font-size: 13px; }
  .rs-hero { display: block; min-height: 0; background: #12110d; }
  .rs-hero-img { position: relative; inset: auto; height: 60svh; min-height: 380px; object-position: 86% 62%; }
  .rs-hero-copy { margin-top: -54px; padding-top: 0; position: relative; }
  .rs-hero-shade { bottom: auto; height: max(60svh, 380px); background: linear-gradient(180deg, #00000066 0%, #00000000 22%, #00000000 62%, #12110d 100%); }
  .rs-hero h1 { font-size: 44px; }
  .rs-actions .rs-btn { width: 100%; }
  .rs-point-grid, .rs-steps { grid-template-columns: 1fr; }
  .rs-finishes { grid-template-columns: 1fr; }
  .rs-fin-stage { grid-row: auto; }
  .rs-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .rs-swatches button { width: auto; }
  .rs-consult { grid-template-columns: 1fr; }
  .rs-consult-copy { justify-self: start; }
  .rs-form { grid-template-columns: 1fr; padding: 20px 18px; }
  .rs-foot { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}
@media (min-width: 761px) and (max-width: 1000px) { .rs-point-grid { grid-template-columns: 1fr; } .rs-steps { grid-template-columns: 1fr 1fr; } }

/* Motion: the hero settles in, sections rise in once as they arrive */
.rs-hero-img { animation: rs-settle 1.8s var(--out) both; }
@keyframes rs-settle { from { transform: scale(1.06); } to { transform: none; } }
.rs-hero-copy > * { animation: rs-rise .9s var(--out) both; }
.rs-hero-copy > :nth-child(1) { animation-delay: .25s; } .rs-hero-copy > :nth-child(2) { animation-delay: .35s; }
.rs-hero-copy > :nth-child(3) { animation-delay: .5s; } .rs-hero-copy > :nth-child(4) { animation-delay: .62s; } .rs-hero-copy > :nth-child(5) { animation-delay: .72s; }
@keyframes rs-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rs-js .rs-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--out), transform .9s var(--out); }
.rs-js .rs-reveal.is-in { opacity: 1; transform: none; }
.rs-point-grid .rs-reveal:nth-child(2), .rs-steps .rs-reveal:nth-child(2) { transition-delay: .08s; }
.rs-point-grid .rs-reveal:nth-child(3), .rs-steps .rs-reveal:nth-child(3) { transition-delay: .16s; }
.rs-steps .rs-reveal:nth-child(4) { transition-delay: .24s; }
@media print { .rs-head, .rs-float { display: none; } .rs-js .rs-reveal { opacity: 1; transform: none; } }
@media (min-width: 761px) and (max-width: 1200px) { .rs-lede { max-width: 400px; } }
/* v6: order straight from the finish picker */
.rs-fin-order { grid-column: 1; display: grid; justify-items: start; gap: 10px; align-self: start; }
.rs-fin-order p { margin: 0; font-size: 14px; color: var(--muted); }
.rs-consult-order { display: inline-block; margin-top: 28px; color: #f3efe7; }
@media (max-width: 760px) { .rs-fin-order { grid-column: auto; } .rs-fin-order .rs-btn { width: 100%; } }
#rs-order { justify-content: flex-start; gap: 6px; }
#rs-order > span:last-child { margin-left: 10px; }
