@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100..125,400..800&family=Fraunces:opsz,wght@9..144,400..700&family=Newsreader:opsz,wght@6..72,400..800&family=Syne:wght@400..800&display=swap");

:root {
  --bg: #f3eee6;
  --fg: #1c1814;
  --muted: #6a635a;
  --line: rgba(28, 24, 20, 0.1);
  --accent: #3d4f3a;
  --ondark: #f3eee6;
  --dark: #161310;
  --navy: #1c3147;
  --font: Archivo, sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --shell-px: clamp(1.4rem, 4.5vw, 4.5rem);
  --section-y: clamp(5.5rem, 12vw, 9rem);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 450;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.shell {
  width: 100%;
  padding-inline: var(--shell-px);
}
.bleed {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

/* island nav */
.nav {
  position: fixed;
  top: 1.15rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0.65rem 0.55rem 0.65rem 1.15rem;
  border-radius: 999px;
  background: rgba(243, 238, 230, 0.72);
  border: 1px solid rgba(28, 24, 20, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: normal;
  line-height: 1.15;
  max-width: 11.5rem;
  color: var(--fg);
}
.mark img { width: auto; height: 28px; max-height: 28px; max-width: 56px; object-fit: contain; }

.mark.mark-wordmark { font-size: 0; gap: 0; max-width: 16rem; }
.mark.mark-wordmark img {
  height: 52px; /* was 40px */
  width: auto;
  max-width: 16rem;
  max-height: none;
  object-fit: contain;
}
@media (max-width: 768px) {
  .mark.mark-wordmark img { height: 44px; }
}

/* Lighthouse stacked brush lockup — taller than global wordmark */
.mark.mark-wordmark.mark-logo-lighthouse {
  max-width: 13rem;
}
.mark.mark-wordmark.mark-logo-lighthouse img {
  height: 64px;
  max-width: 13rem;
}
@media (max-width: 768px) {
  .mark.mark-wordmark.mark-logo-lighthouse img { height: 56px; }
}

html[data-nav="bar"] .nav {
  left: 0;
  right: 0;
  top: 0;
  transform: none;
  width: 100%;
  border-radius: 0;
  justify-content: space-between;
  padding-inline: var(--shell-px);
}

.nav-links { display: flex; gap: 1.05rem; }
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.5s var(--ease);
}
.nav-links a[aria-current="page"], .nav-links a:hover { color: var(--fg); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.45rem 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--fg);
  color: var(--ondark);
  text-decoration: none;
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.45s var(--ease);
}
.nav-cta span {
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: rgba(243, 238, 230, 0.14);
  display: grid; place-items: center;
  transition: transform 0.5s var(--ease);
}
.nav-cta:hover { transform: scale(0.98); }
.nav-cta:hover span { transform: translate(2px, -1px) scale(1.05); }

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: end;
}
.hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(22, 19, 16, 0.58) 0%,
    rgba(22, 19, 16, 0.34) 26%,
    rgba(22, 19, 16, 0.1) 48%,
    transparent 64%
  );
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(22, 19, 16, 0.72) 0%, rgba(22, 19, 16, 0.08) 48%, transparent 70%);
}
.hero-copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  color: var(--ondark);
  padding: 0 var(--shell-px) 3.4rem;
  max-width: none;
}
.hero-copy h1 { max-width: 11ch; }
.hero-copy .lede { max-width: 36ch; }
.hero-copy h1,
.hero-copy .lede,
.hero-copy .eyebrow {
  text-shadow: 0 2px 28px rgba(22, 19, 16, 0.55), 0 1px 8px rgba(22, 19, 16, 0.4);
}
.eyebrow {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.8;
}
h1 {
  font-family: var(--font);
  font-stretch: 115%;
  font-weight: 700;
  font-size: clamp(3.2rem, 8.4vw, 7.4rem);
  letter-spacing: 0.01em;
  line-height: 0.92;
  margin: 0 0 1.1rem;
}
.lede { margin: 0 0 1.8rem; font-size: 1.15rem; max-width: 34ch; opacity: 0.88; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.55rem 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--ondark);
  color: var(--fg);
  text-decoration: none;
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  transition: transform 0.45s var(--ease);
}
.cta i {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: rgba(28, 24, 20, 0.08);
  display: grid; place-items: center;
  font-style: normal;
  transition: transform 0.5s var(--ease);
}
.cta:hover { transform: scale(0.98); }
.cta:hover i { transform: translate(2px, -1px); }

.band {
  padding-block: var(--section-y);
  padding-inline: var(--shell-px);
}
.band.dark {
  background: var(--dark);
  color: var(--ondark);
  position: relative;
  overflow: hidden;
}
.band.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/door-texture.jpg") center/cover no-repeat;
  opacity: 0.28;
  transform: scale(1.04);
}
.band.dark > * { position: relative; z-index: 1; }
.pull {
  font-stretch: 112%;
  font-weight: 600;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  max-width: 18ch;
  margin: 0;
}
.pull cite {
  display: block;
  margin-top: 1.4rem;
  font-style: normal;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  font-weight: 400;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
}
.gallery a, .gallery figure { margin: 0; position: relative; overflow: hidden; }
.gallery img {
  width: 100%;
  height: 72vh;
  min-height: 420px;
  object-fit: cover;
  object-position: center 70%;
  transform: scale(1.02);
  transition: transform 0.9s var(--ease);
}
.hero img { object-position: center 46%; }
.gallery a:hover img { transform: scale(1.06); }
.gallery figcaption, .gallery .cap {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem;
  color: #f3eee6;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

.bezel {
  background: rgba(28, 24, 20, 0.04);
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 1.6rem;
}
.bezel > * {
  border-radius: calc(1.6rem - 6px);
  overflow: hidden;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
  padding-block: var(--section-y);
  padding-inline: var(--shell-px);
}
.split img { width: 100%; height: 70vh; object-fit: cover; }
.split p { max-width: 42ch; color: var(--muted); }
h2 {
  font-family: var(--font);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 1rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 2.4rem var(--shell-px);
  border-bottom: 1px solid var(--line);
}
.step:nth-child(odd) { border-right: 1px solid var(--line); }
.step em {
  font-style: normal;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.step h3 {
  font-stretch: 112%;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0.6rem 0 0.7rem;
  font-weight: 700;
}
.step p { margin: 0; color: var(--muted); max-width: 36ch; }

.names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 50vh;
}
.names article {
  padding: 4.5rem var(--shell-px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.names article:first-child { background: var(--navy); color: var(--ondark); }
.names article:last-child { background: var(--accent); color: var(--ondark); }
.names h2 { font-size: clamp(2.4rem, 6vw, 5rem); margin: 0; }
.names p { opacity: 0.8; max-width: 32ch; }

.phone {
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: block;
  line-height: 1.05;
  margin: 0.4rem 0;
}
.page-hero {
  padding: calc(7rem + 2vw) var(--shell-px) 3rem;
}
.page-hero h1 { max-width: 12ch; }

footer.site {
  padding: 2.2rem var(--shell-px) 3.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
footer.site a {
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
footer.site a:hover { opacity: 0.6; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: up 0.9s var(--ease) forwards;
}
@keyframes up { to { opacity: 1; transform: none; } }

@media (max-width: 768px) {
  .nav { width: calc(100% - 1.6rem); flex-wrap: wrap; justify-content: space-between; }
  .nav-links { flex-wrap: wrap; gap: 0.7rem; }
  .gallery, .split, .steps, .names { grid-template-columns: 1fr; }
  .gallery img, .split img { height: 52vh; min-height: 280px; }
  .step:nth-child(odd) { border-right: 0; }
  .hero-copy { padding-bottom: 3rem; }
}

/* look: tokens, layouts, picker */
:root {
  --font: Archivo, sans-serif;
  --p-bg: #f3eee6;
  --p-fg: #1c1814;
  --p-muted: #6a635a;
  --p-line: rgba(28, 24, 20, 0.1);
  --p-accent: #3d4f3a;
  --p-ondark: #f3eee6;
  --p-dark: #161310;
  --p-navy: #1c3147;
}
html[data-palette="cream"], html:not([data-palette]) {
  --p-bg: #f3eee6;
  --p-fg: #1c1814;
  --p-muted: #6a635a;
  --p-line: rgba(28, 24, 20, 0.1);
  --p-accent: #3d4f3a;
  --p-ondark: #f3eee6;
  --p-dark: #161310;
  --p-navy: #1c3147;
}
html[data-palette="harbor"] {
  --p-bg: #e8e4d9;
  --p-fg: #14202b;
  --p-muted: #5b6670;
  --p-line: rgba(20, 32, 43, 0.12);
  --p-accent: #1c3147;
  --p-ondark: #e8e4d9;
  --p-dark: #0f1a24;
  --p-navy: #1c3147;
}
html[data-palette="gulf"] {
  --p-bg: #f4efe6;
  --p-fg: #2a241c;
  --p-muted: #6e675c;
  --p-line: rgba(42, 36, 28, 0.12);
  --p-accent: #5c6b4a;
  --p-ondark: #f4efe6;
  --p-dark: #1e1a14;
  --p-navy: #3d4f3a;
}
html[data-palette="dune"] {
  --p-bg: #eceae6;
  --p-fg: #1a1a1a;
  --p-muted: #6a6a6a;
  --p-line: rgba(26, 26, 26, 0.12);
  --p-accent: #5a6e78;
  --p-ondark: #eceae6;
  --p-dark: #121212;
  --p-navy: #2c3a42;
}
html[data-palette] {
  --bg: var(--p-bg);
  --fg: var(--p-fg);
  --muted: var(--p-muted);
  --line: var(--p-line);
  --accent: var(--p-accent);
  --ondark: var(--p-ondark);
  --dark: var(--p-dark);
  --navy: var(--p-navy);
}
html[data-theme="dark"] {
  --bg: var(--p-dark);
  --fg: var(--p-ondark);
  --muted: color-mix(in srgb, var(--p-ondark) 62%, var(--p-dark));
  --line: color-mix(in srgb, var(--p-ondark) 16%, transparent);
  --ondark: var(--p-ondark);
  --dark: var(--p-dark);
  --accent: var(--p-accent);
  --navy: var(--p-navy);
}
html[data-font="archivo"], html:not([data-font]) { --font: Archivo, "Helvetica Neue", sans-serif; }
html[data-font="fraunces"] { --font: Fraunces, "Iowan Old Style", Georgia, serif; }
html[data-font="syne"] { --font: Syne, "Avenir Next", sans-serif; }
html[data-font="newsreader"] { --font: Newsreader, "Iowan Old Style", Georgia, serif; }

html[data-theme="dark"] .nav {
  background: color-mix(in srgb, var(--p-dark) 72%, transparent);
  border-color: var(--line);
}
html[data-palette]:not([data-palette="cream"]) .nav {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-color: var(--line);
}
html[data-theme="dark"] .nav-cta {
  background: var(--fg);
  color: var(--bg);
}
html[data-theme="dark"] .nav-cta span {
  background: color-mix(in srgb, var(--bg) 16%, transparent);
}
html[data-theme="dark"] .cta {
  color: var(--p-dark);
}
html[data-theme="dark"] .cta i {
  background: color-mix(in srgb, var(--p-dark) 10%, transparent);
}

/* editorial */
html[data-layout="editorial"] {
  --section-y: clamp(7rem, 16vw, 11rem);
  --shell-px: clamp(1.8rem, 7vw, 6.5rem);
}
html[data-layout="editorial"] body { font-size: 18px; line-height: 1.6; }
html[data-layout="editorial"] .hero-copy {
  max-width: 28rem;
  right: auto;
  padding-bottom: 4.2rem;
}
html[data-layout="editorial"][data-nav="bar"] .hero-copy {
  top: 4.75rem;
  bottom: 0;
  max-height: none;
  padding-top: 0.9rem;
  display: flex;
  flex-direction: column;
}
html[data-layout="editorial"][data-nav="bar"] .hero-copy .cta {
  margin-top: auto;
}
html[data-layout="editorial"] .hero-copy h1,
html[data-layout="editorial"] .hero-copy .lede { max-width: none; }
html[data-layout="editorial"] .gallery {
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 0 var(--shell-px);
  width: auto;
  margin-inline: 0;
}
html[data-layout="editorial"] .gallery img {
  height: 56vh;
  min-height: 320px;
}
html[data-layout="editorial"] .split {
  gap: 5.5rem;
}
html[data-layout="editorial"] .split p,
html[data-layout="editorial"] .step p { max-width: 38ch; }
html[data-layout="editorial"] .page-hero { padding-top: calc(8.5rem + 2vw); }
html[data-layout="editorial"] .steps { gap: 0; }
html[data-layout="editorial"] .step { padding-block: 3.2rem; }

/* magazine */
html[data-layout="magazine"] body { font-size: 16px; }
html[data-layout="magazine"] h1 {
  font-size: clamp(3.8rem, 10vw, 9rem);
}
html[data-layout="magazine"] .hero-copy { padding-bottom: 2.4rem; }
html[data-layout="magazine"] .gallery {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
}
html[data-layout="magazine"] .gallery img {
  height: 48vh;
  min-height: 280px;
}
html[data-layout="magazine"] .split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  position: relative;
}
html[data-layout="magazine"] .split .bezel {
  background: none;
  border: 0;
  padding: 0;
  border-radius: 0;
}
html[data-layout="magazine"] .split .bezel > * { border-radius: 0; }
html[data-layout="magazine"] .split img {
  height: 88vh;
  width: 100%;
}
html[data-layout="magazine"] .split > div:last-child {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 3rem var(--shell-px);
  color: var(--ondark);
  background: linear-gradient(to top, rgba(22, 19, 16, 0.72), transparent);
  max-width: none;
}
html[data-layout="magazine"] .split > div:last-child p { color: var(--ondark); opacity: 0.88; }
html[data-layout="magazine"] .split > div:last-child .cta {
  background: var(--ondark);
  color: var(--p-fg);
}
html[data-layout="magazine"] .page-hero { padding-bottom: 1.4rem; }
html[data-layout="magazine"] .band { padding-block: clamp(3.5rem, 8vw, 6rem); }
html[data-layout="magazine"] .steps { grid-template-columns: 1fr 1fr 1fr 1fr; }
html[data-layout="magazine"] .step { padding: 1.6rem 1.4rem; }
html[data-layout="magazine"] .step:nth-child(odd) { border-right: 1px solid var(--line); }

/* minimalist */
html[data-layout="minimalist"] {
  --section-y: clamp(3.5rem, 8vw, 5.5rem);
}
html[data-layout="minimalist"] body { font-size: 16px; }
html[data-layout="minimalist"] h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: 0; }
html[data-layout="minimalist"] h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
html[data-layout="minimalist"] .nav {
  background: var(--bg);
  border-color: var(--line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
html[data-layout="minimalist"] .nav-cta { border-radius: 0.35rem; }
html[data-layout="minimalist"] .cta { border-radius: 0.35rem; }
html[data-layout="minimalist"] .bezel {
  border-radius: 0.4rem;
  padding: 4px;
}
html[data-layout="minimalist"] .bezel > * { border-radius: 0.28rem; }
html[data-layout="minimalist"] .gallery {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.4rem 3rem;
  width: auto;
}
html[data-layout="minimalist"] .gallery img {
  height: auto;
  min-height: 0;
  max-height: 72vh;
  transform: none;
}
html[data-layout="minimalist"] .gallery a:hover img { transform: none; }
html[data-layout="minimalist"] .gallery figcaption,
html[data-layout="minimalist"] .gallery .cap {
  position: static;
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
  text-shadow: none;
  left: auto; bottom: auto;
}
html[data-layout="minimalist"] .hero { min-height: 86dvh; }
html[data-layout="minimalist"] .page-hero { padding-top: calc(5.5rem + 2vw); }

@media (max-width: 768px) {
  html[data-layout="editorial"] .gallery,
  html[data-layout="magazine"] .gallery,
  html[data-layout="magazine"] .steps { grid-template-columns: 1fr; }
  html[data-layout="magazine"] .step:nth-child(odd) { border-right: 0; }
  html[data-layout="minimalist"][data-nav="bar"] .nav { width: 100%; }
}

/* header width: pill vs full. Wins over layout. */
html[data-nav="pill"] .nav {
  top: 1.15rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: auto;
  max-width: calc(100% - 1.6rem);
  border-radius: 999px;
  justify-content: flex-start;
  padding: 0.65rem 0.55rem 0.65rem 1.15rem;
}
html[data-nav="bar"] .nav {
  left: 0;
  right: 0;
  top: 0;
  transform: none;
  width: 100%;
  max-width: none;
  border-radius: 0;
  justify-content: space-between;
  padding-inline: var(--shell-px);
}

/* picker */
.look-picker {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  font-family: Archivo, sans-serif;
  color: var(--p-fg);
}
.look-toggle {
  appearance: none;
  border: 0;
  background: var(--p-fg);
  color: var(--p-ondark);
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-family: Archivo, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 32px rgba(22, 19, 16, 0.28), 0 2px 8px rgba(22, 19, 16, 0.16);
}
html[data-theme="dark"] .look-toggle {
  background: var(--p-ondark);
  color: var(--p-fg);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.28);
}
.look-panel {
  position: absolute;
  right: 0;
  bottom: 3.8rem;
  width: min(22.5rem, calc(100vw - 2rem));
  max-height: min(78vh, 40rem);
  overflow: auto;
  background: color-mix(in srgb, var(--p-bg) 88%, transparent);
  color: var(--p-fg);
  border: 1px solid color-mix(in srgb, var(--p-fg) 10%, transparent);
  border-radius: 1rem;
  padding: 1rem 1rem 1.1rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 18px 50px rgba(22, 19, 16, 0.18);
}
html[data-theme="dark"] .look-panel {
  background: color-mix(in srgb, var(--p-dark) 88%, transparent);
  color: var(--p-ondark);
  border-color: color-mix(in srgb, var(--p-ondark) 12%, transparent);
}
.look-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.look-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.look-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: Archivo, sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.6;
}
.look-section { margin-bottom: 0.85rem; }
.look-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.45rem;
  font-family: Archivo, sans-serif;
}
.look-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.look-chip,
.look-logo,
.look-reset {
  appearance: none;
  font-family: Archivo, sans-serif;
  cursor: pointer;
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  background: color-mix(in srgb, currentColor 4%, transparent);
  color: inherit;
}
.look-chip {
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 12px;
}
.look-logo {
  border-radius: 0.7rem;
  padding: 0.4rem 0.5rem 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 4.4rem;
  font-size: 12px;
}
.look-logo img {
  width: 72px;
  height: 40px;
  object-fit: contain;
}
.look-logo.is-on-dark,
.look-logo.look-logo-on-dark {
  background: #1c1814;
  color: #f3eee6;
}
.look-chip.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.look-chip.is-active,
.look-logo.is-active {
  outline: 2px solid var(--p-fg);
  outline-offset: 1px;
}
html[data-theme="dark"] .look-chip.is-active,
html[data-theme="dark"] .look-logo.is-active {
  outline-color: var(--p-ondark);
}
.look-reset {
  width: 100%;
  margin-top: 0.25rem;
  border-radius: 0.7rem;
  padding: 0.55rem 0.7rem;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.look-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.55rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--p-fg);
  color: var(--p-ondark);
  text-decoration: none;
  font-family: Archivo, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(22, 19, 16, 0.2);
}
html[data-theme="dark"] .look-buy {
  background: var(--p-ondark);
  color: var(--p-fg);
}
.look-buy-note {
  margin: 0.55rem 0 0;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  opacity: 0.55;
  text-align: center;
}
@media (max-width: 768px) {
  .look-picker {
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .look-toggle {
    margin: 0 1rem 1rem auto;
  }
  .look-picker.is-open .look-toggle { margin-bottom: 0.6rem; }
  .look-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-height: min(70vh, 36rem);
    border-radius: 1rem 1rem 0 0;
    order: -1;
  }
}


.offer {
  position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 28; display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center;
  max-width: min(92vw, 42rem); padding: 0.7rem 0.85rem;
  border-radius: 1rem; background: rgba(22,19,16,0.92); color: #f3eee6;
  border: 1px solid rgba(243,238,230,0.12);
}
.offer p { margin: 0; font-size: 12px; line-height: 1.35; max-width: 52ch; }
.offer strong { letter-spacing: 0.08em; text-transform: uppercase; }
.offer-btn {
  display: inline-flex; align-items: center; padding: 0.45rem 0.85rem;
  border-radius: 999px; background: #f3eee6; color: #161310;
  text-decoration: none; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}


/* sticky thumb call — mobile; buy band shifts up */
.sticky-call { display: none; }
@media (max-width: 768px) {
  .sticky-call {
    display: flex;
    position: fixed;
    left: 0; right: 0;
    bottom: 0;
    z-index: 40;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 3.35rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: #161310;
    color: #f3eee6;
    text-decoration: none;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-top: 1px solid rgba(243,238,230,0.14);
    box-shadow: 0 -8px 28px rgba(22, 19, 16, 0.28);
  }
  .sticky-call-num {
    opacity: 0.88;
    letter-spacing: 0.02em;
    text-transform: none;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
  }
  .offer {
    bottom: calc(4.1rem + env(safe-area-inset-bottom, 0px));
  }
  body:has(.look-picker.is-open) .sticky-call { display: none !important; }
  body:has(.look-picker.is-open) .offer { display: none; }
  body { padding-bottom: calc(7.8rem + env(safe-area-inset-bottom, 0px)); }
}

/* hide buy when look-picker open (desktop + mobile) */
body:has(.look-picker.is-open) .offer { display: none; }
.look-picker { bottom: 5.2rem; z-index: 70; }
@media (max-width: 768px) {
  .look-picker { bottom: calc(4.1rem + env(safe-area-inset-bottom, 0px)); }
  body:has(.look-picker.is-open) .look-picker { bottom: 0; }
}

/* buy chrome polish — Coastal $1400 */
.offer {
  gap: 0.85rem;
  padding: 0.85rem 1rem;
}
.offer-btn {
  padding: 0.6rem 1.1rem;
  min-height: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}


/* sticky mobile dual CTA — call + estimate */
.sticky-call { display: none; }
.sticky-bar { display: none; }
@media (max-width: 768px) {
  .sticky-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0;
    bottom: 0;
    z-index: 40;
    align-items: stretch;
    min-height: 3.35rem;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #161310;
    color: #f3eee6;
    border-top: 1px solid rgba(243,238,230,0.14);
    box-shadow: 0 -8px 28px rgba(22, 19, 16, 0.28);
    font-family: var(--font);
  }
  .sticky-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 0.7rem;
    text-decoration: none;
    color: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .sticky-bar .sticky-estimate { flex: 1; }
  .sticky-bar .sticky-call-btn {
    flex: 1.15;
    background: #c4a574;
    color: #161310;
    border-left: 1px solid rgba(243,238,230,0.16);
  }
  .sticky-bar.quote-primary .sticky-estimate {
    flex: 1.15;
    background: #c4a574;
    color: #161310;
  }
  .sticky-bar.quote-primary .sticky-call-btn {
    flex: 1;
    background: transparent;
    color: #f3eee6;
    border-left: 1px solid rgba(243,238,230,0.16);
  }
  .sticky-call-num {
    opacity: 0.88;
    letter-spacing: 0.02em;
    text-transform: none;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
  }
  .offer {
    bottom: calc(4.1rem + env(safe-area-inset-bottom, 0px));
  }
  body:has(.look-picker.is-open) .sticky-bar { display: none !important; }
  body:has(.look-picker.is-open) .offer { display: none; }
  body { padding-bottom: calc(7.8rem + env(safe-area-inset-bottom, 0px)); }
}
body:has(.look-picker.is-open) .offer { display: none; }
