/* Mosier Luxury Homes — lux redesign mockup (v2)
   Typography: Fraunces (display serif) + Inter (body sans)
   Palette: warm ivory / charcoal / brass accent, in the spirit of shoberghomes.com
   All visible copy on this site is verbatim text scraped from mosierluxuryhomes.com.
   This stylesheet only governs layout/visual presentation. */

:root {
  --ivory: #f7f4ef;
  --ivory-dim: #efeae1;
  --charcoal: #1b1917;
  --charcoal-soft: #2a2723;
  --stone: #6f6a62;
  --stone-light: #a39c8f;
  --brass: #a3824f;
  --brass-light: #c9a86a;
  --line: rgba(27, 25, 23, 0.12);
  --line-on-dark: rgba(247, 244, 239, 0.18);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1440px;
  --gutter: clamp(24px, 6vw, 96px);
  --section-y: clamp(90px, 14vw, 200px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-weight: 350;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 440;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

h1 { font-size: clamp(3rem, 7vw, 6.4rem); font-weight: 400; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }

p { color: var(--stone); font-weight: 350; }
p.lede { font-size: clamp(1.15rem, 1.6vw, 1.45rem); color: var(--charcoal-soft); line-height: 1.75; }
p + p { margin-top: 1.4em; }

.caption {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}

.byline {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--stone);
  margin-top: 18px;
}

/* ---------- Header / Nav ----------
   The header has no fixed color of its own — it reads whatever section is
   currently behind it (via [data-header-theme] on that section) and adopts
   a transparent/ivory-text look over dark content or a solid ivory-blur/
   charcoal-text look over light content, so it never shows as a mismatched
   bar over either palette. */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px var(--gutter);
  background: transparent;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow .4s ease, color .4s ease;
  color: var(--ivory);
}
.site-header.is-scrolled { padding: 18px var(--gutter); }
.site-header.theme-dark { background: transparent; color: var(--ivory); box-shadow: none; }
.site-header.theme-light {
  background: rgba(247, 244, 239, 0.96);
  backdrop-filter: blur(10px);
  color: var(--charcoal);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-header nav ul {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-header nav a {
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}
.site-header nav a.active::after,
.site-header nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
}

/* ---------- Mobile nav: hamburger toggle + full-screen overlay ---------- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: inherit;
  flex: none;
}
.nav-toggle:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.nav-toggle-icon { position: relative; width: 22px; height: 15px; display: block; }
.nav-toggle-icon span {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.nav-toggle-icon span:nth-child(1) { top: 0; }
.nav-toggle-icon span:nth-child(2) { top: 50%; margin-top: -0.75px; }
.nav-toggle-icon span:nth-child(3) { top: calc(100% - 1.5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) { top: 50%; margin-top: -0.75px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) { top: 50%; margin-top: -0.75px; transform: rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  color: var(--ivory);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }
.nav-overlay nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 4vh, 36px);
  text-align: center;
}
.nav-overlay nav a {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  color: var(--ivory);
  position: relative;
  padding-bottom: 6px;
}
.nav-overlay nav a.active::after {
  content: "";
  position: absolute;
  left: 20%; right: 20%; bottom: 0;
  height: 1px;
  background: var(--brass-light);
}
.nav-overlay nav a:focus-visible { outline: 1px solid var(--brass-light); outline-offset: 8px; }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: var(--ivory);
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,16,.32) 0%, rgba(20,18,16,.06) 30%, rgba(20,18,16,.6) 100%);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2.5s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) 100px;
  max-width: 1100px;
}
.hero-content .caption { color: var(--brass-light); margin-bottom: 22px; }
.hero-content h1 { color: var(--ivory); }
.hero-content .byline { color: rgba(247,244,239,0.82); }
.hero-content .tagline {
  display: block;
  margin-top: 22px;
  color: var(--ivory);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- Hero arrows (manual slide navigation) ---------- */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247, 244, 239, 0.8);
  transition: color 0.3s ease;
}
.hero-arrow-prev { left: clamp(10px, 3vw, 36px); }
.hero-arrow-next { right: clamp(10px, 3vw, 36px); }
.hero-arrow svg { width: 22px; height: 22px; transition: transform 0.3s ease; }
.hero-arrow:hover,
.hero-arrow:focus-visible { color: var(--ivory); }
.hero-arrow:hover svg,
.hero-arrow:focus-visible svg { transform: scale(1.1); }
.hero-arrow:focus-visible {
  outline: 1px solid var(--ivory);
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .hero-arrow { width: 44px; height: 44px; }
}

/* small hero used on inner pages (still large, but shorter than homepage) */
.page-hero {
  position: relative;
  height: 66vh;
  min-height: 440px;
  color: var(--ivory);
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,16,.35) 0%, rgba(20,18,16,.05) 35%, rgba(20,18,16,.62) 100%);
}
.page-hero .hero-content { padding-bottom: 72px; }

/* ---------- Sections ---------- */
section { padding: var(--section-y) 0; }
.tight-top { padding-top: 0; }
.half-top { padding-top: calc(var(--section-y) / 2); }

.dark-section { background: var(--charcoal); color: var(--ivory); }
.dark-section h2, .dark-section h1 { color: var(--ivory); }
.dark-section p, .dark-section .lede { color: var(--stone-light); }
.dark-section .caption { color: var(--brass-light); }

/* ---------- Big-format feature grid (fewer, larger tiles) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.feature-grid.thirds { grid-template-columns: repeat(3, 1fr); }
.feature-card { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.feature-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.3s cubic-bezier(.16,1,.3,1);
}
.feature-card:hover img { transform: scale(1.045); }
.feature-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(15,13,12,.72) 100%);
}
.feature-card .tile-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2; padding: 30px 32px; color: var(--ivory);
}
.feature-card .tile-caption h3 { color: var(--ivory); }

/* single, monumental full-bleed image used between sections */
.full-bleed { width: 100%; }
.full-bleed img { width: 100%; height: clamp(420px, 62vw, 780px); object-fit: cover; }

/* ---------- Services: stacked full-bleed category showcase ---------- */
.services-categories {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 7vw, 96px);
  margin-top: clamp(56px, 7vw, 96px);
}
.service-category .project-copy { padding-top: clamp(32px, 4vw, 44px); }

/* ---------- Understated text link/button (reused across light + dark sections) ---------- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: border-color 0.3s ease;
}
.text-link:hover,
.text-link:focus-visible { border-color: var(--brass); }
.text-link:focus-visible { outline: 2px solid var(--brass); outline-offset: 6px; }

/* ---------- Selected Works: simple 3-tab component. Click a name to switch
   which project is shown, all within this one fixed section — no scrolling,
   no scroll listeners, no observers, nothing but a click handler toggling
   which panel has .is-active. */
.selected-works { background: var(--charcoal); color: var(--ivory); padding: var(--section-y) 0 0; }
.selected-works .sw-head { padding-bottom: clamp(28px, 4vw, 44px); }
.selected-works .sw-head .caption { display: block; margin-bottom: 16px; color: var(--brass-light); }
.selected-works .sw-head h2 { color: var(--ivory); }

.sw-tabs {
  display: flex;
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
  cursor: pointer;
}
.sw-tab {
  flex: 1;
  padding: clamp(16px, 2.2vw, 22px) 12px;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--stone-light);
  background: transparent;
  border-bottom: 2px solid transparent;
  border-right: 1px solid var(--line-on-dark);
  margin-bottom: -1px;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.sw-tab:last-child { border-right: none; }
.sw-tab:hover { color: var(--ivory); background-color: rgba(247, 244, 239, 0.05); }
.sw-tab.is-active { color: var(--ivory); background-color: rgba(201, 168, 106, 0.08); border-bottom-color: var(--brass-light); }
.sw-tab:focus-visible { outline: 1px solid var(--brass-light); outline-offset: -4px; }

.sw-panel { display: none; }
.sw-panel.is-active { display: block; }
.sw-panels { margin-top: clamp(20px, 3vw, 32px); }

.sw-panel-media { width: 100%; height: clamp(420px, 72vh, 760px); overflow: hidden; }
.sw-panel-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 600px) {
  .sw-tab { font-size: 0.68rem; padding: 14px 6px; }
}

/* ---------- Portfolio grid (large format, 2-up) ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 3vw, 56px) clamp(24px, 3vw, 40px);
}
.portfolio-grid .feature-card { aspect-ratio: 5/6; }

/* ---------- Two-up media/text split (services storyboard, callouts) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split.reverse .split-text { order: 1; }
.split-media img { width: 100%; height: clamp(360px, 46vw, 640px); object-fit: cover; }
.split-text .caption { display: block; margin-bottom: 20px; }

/* ---------- Simple bullet list (verbatim service list) ---------- */
.plain-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--charcoal-soft);
}
.plain-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.65em;
  width: 8px; height: 1px;
  background: var(--brass);
}
.plain-list.two-col {
  columns: 2;
  column-gap: 48px;
}

/* ---------- Project detail: stacked, generous gallery ---------- */
.stack-gallery {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 56px);
}
.stack-gallery img { width: 100%; height: auto; object-fit: cover; }
.stack-gallery .pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
.stack-gallery .pair img { height: clamp(320px, 40vw, 560px); }
.stack-gallery .solo img { height: clamp(420px, 55vw, 760px); }

.project-copy {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

/* ---------- About: founder bios ---------- */
.about-bios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
}
.about-bio h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 24px; }

.project-intro {
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px);
}

.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  margin-top: var(--section-y);
}
.project-nav .side { display: flex; flex-direction: column; gap: 6px; }
.project-nav .dir {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}
.project-nav a.name { font-family: var(--serif); font-size: 1.25rem; }
.project-nav .next { text-align: right; align-items: flex-end; }
.project-nav .center-link { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--stone); }

/* ---------- Star rating glyph (reviews + awards) ---------- */
.star-row { display: inline-flex; gap: 2px; color: var(--brass); font-size: 0.85rem; line-height: 1; }
.star-row.lg { font-size: 1.3rem; gap: 4px; }

/* ---------- Reviews (Houzz) ---------- */
.houzz-rating { display: flex; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.houzz-rating-score { font-family: var(--serif); font-size: 2.2rem; color: var(--charcoal); }
.houzz-rating-count {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--stone);
}

.review-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3vw, 48px) clamp(24px, 3vw, 40px);
}
.review {
  border: 1px solid var(--line);
  padding: clamp(32px, 4vw, 44px);
}
.review .star-row { margin-bottom: 20px; }
.review blockquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  font-weight: 420;
  line-height: 1.5;
  color: var(--charcoal);
  white-space: pre-line;
}
.review .review-meta {
  margin-top: 24px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}
.review .review-meta b { color: var(--brass); font-weight: 600; }

/* ---------- In development ---------- */
.indev-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}
.indev-item:last-child { border-bottom: none; }
.indev-item .media img { width: 100%; height: clamp(340px, 40vw, 520px); object-fit: cover; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 110px);
}
.contact-block dl { margin-top: 8px; }
.contact-block dd {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 22px;
}
.form-field { margin-bottom: 26px; }
.form-field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 10px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 0;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--charcoal);
}
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--brass); }
.btn {
  display: inline-block;
  padding: 16px 34px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--charcoal);
  background: var(--charcoal);
  color: var(--ivory);
  transition: all .3s ease;
}
.btn:hover { background: var(--brass); border-color: var(--brass); color: var(--charcoal); }

/* ---------- Awards & recognition showcase (home + about) ---------- */
.awards-showcase { background: var(--charcoal); color: var(--ivory); padding: var(--section-y) 0; }
.awards-head { max-width: 720px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.awards-head .caption {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--brass-light);
  margin-bottom: 20px;
}
.awards-head .caption::before,
.awards-head .caption::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--brass-light);
}
.awards-head h2 { color: var(--ivory); }
.awards-head .lede { color: var(--stone-light); margin-top: 20px; }

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.award-card {
  border: 1px solid var(--line-on-dark);
  padding: clamp(24px, 3vw, 32px) clamp(16px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.award-card-media { width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; }
.award-card-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.award-card-name { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--ivory); }
.award-card--rating { justify-content: center; }
.award-card--rating .star-row { font-size: 1.2rem; gap: 4px; color: var(--brass-light); }

/* ---------- Credentials (about page: community + affiliations) ---------- */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
}
.credentials-card { border: 1px solid var(--line); padding: clamp(32px, 4vw, 48px); }
.credentials-card .caption { display: block; margin-bottom: 20px; }
.credentials-intro { color: var(--charcoal-soft); font-weight: 500; margin-bottom: 26px; }
.credentials-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--charcoal);
}
.credentials-list li:last-child { border-bottom: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--ivory); padding: 56px 0 26px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
}
.footer-top .logo { font-family: var(--serif); font-size: 1.6rem; }
.footer-contact { text-align: right; }
.footer-contact p { color: var(--stone-light); margin: 0; }
.footer-contact p + p { margin-top: 6px; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line-on-dark);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
}
.footer-bottom small { color: var(--stone); font-size: 0.75rem; letter-spacing: 0.02em; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .site-header nav ul { display: none; }
  .feature-grid, .feature-grid.thirds, .portfolio-grid, .split, .indev-item, .contact-grid, .credentials-grid, .about-bios, .review-list { grid-template-columns: 1fr; }
  .split.reverse .split-media, .split.reverse .split-text { order: initial; }
  .stack-gallery .pair { grid-template-columns: 1fr; }
  .plain-list.two-col { columns: 1; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-contact { text-align: left; }
}
@media (max-width: 600px) {
  .project-nav { flex-direction: column; gap: 24px; align-items: flex-start; }
  .project-nav .next { text-align: left; align-items: flex-start; }
}

/* ---------- Floating contact CTA ---------- */
.float-cta {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(320px, calc(100vw - 48px));
  padding: 16px 18px;
  background: rgba(27, 25, 23, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(247, 244, 239, 0.14);
  color: var(--ivory);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}
.float-cta.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-cta.is-dismissed { opacity: 0; visibility: hidden; pointer-events: none; }
.float-cta-link {
  display: block;
  flex: 1;
}
.float-cta-eyebrow {
  display: block;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--ivory);
  line-height: 1.3;
  margin-bottom: 6px;
}
.float-cta-cue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-light);
}
.float-cta-close {
  flex: none;
  width: 44px;
  height: 44px;
  margin: -12px -14px -12px 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--stone-light);
  font-size: 1.1rem;
  line-height: 1;
}
.float-cta-close:hover,
.float-cta-close:focus-visible { color: var(--ivory); }
.float-cta-close:focus-visible { outline: 1px solid var(--ivory); outline-offset: 2px; }
.float-cta-link:focus-visible { outline: 1px solid var(--brass-light); outline-offset: 4px; }

@media (max-width: 600px) {
  .float-cta { left: 14px; bottom: 14px; padding: 12px 14px; gap: 10px; }
  .float-cta-eyebrow { font-size: 0.85rem; }
  .float-cta-close { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide,
  .hero-arrow,
  .hero-arrow svg,
  .feature-card img,
  .text-link,
  .sw-tab,
  .float-cta,
  .nav-overlay,
  .nav-toggle-icon span,
  .btn { transition: none; }
}
