/* 3 Star Digital booking LP — clean layout matching the new 3stardigital.com
   site: cream grid background, floating header, photo-first cards, pink
   actions and Chivo Mono throughout. */
:root {
  --bg: #fffff7;
  --ink: #171512;
  --muted: #6a655c;
  --line: #e7e1d3;
  --card: #ffffff;
  --pink: #ef436b;
  --pink-dark: #c9254e;
  --green: #8bc80b;
  --radius: 22px;
  --mono: "Chivo Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  color: var(--ink);
  font: 400 15px/1.6 var(--mono);
  background:
    radial-gradient(900px 520px at 100% 0%, rgba(239, 67, 107, 0.09), transparent 70%),
    radial-gradient(700px 460px at 0% 40%, rgba(139, 200, 11, 0.07), transparent 70%),
    linear-gradient(rgba(23, 21, 18, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(23, 21, 18, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
p,
figure,
blockquote,
h1,
h2,
h3 {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
.wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
}
.pink {
  color: var(--pink);
}
.muted {
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  font: 800 0.8rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-pink {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(239, 67, 107, 0.8);
}
.btn-pink:hover {
  background: var(--pink-dark);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}
.btn-line {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-line:hover {
  background: var(--ink);
  color: #fff;
}
.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.7rem;
  border-radius: 12px;
}
.btn-block {
  width: 100%;
}
.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Floating header */
.topbar {
  position: sticky;
  top: 12px;
  z-index: 30;
  padding: 0 12px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, 100%);
  margin: 12px auto 0;
  padding: 10px 12px 10px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px rgba(23, 21, 18, 0.35);
}
.brand .logo {
  display: block;
  width: 78px;
  height: auto;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-phone {
  font: 700 0.78rem/1 var(--mono);
  letter-spacing: 0.04em;
  text-decoration: none;
}

/* Hero */
.hero {
  padding-top: 18px;
}
.hero-card {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: min(78vh, 720px);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #2a2723;
}
.hero-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.05) 30%, rgba(10, 9, 8, 0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 5vw, 56px);
  color: #fff;
  max-width: 820px;
}
.pill {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  font: 700 0.66rem/1.3 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1,
h2 {
  font-family: var(--mono);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 0.98;
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--pink);
}
.hero-sub {
  max-width: 54ch;
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  color: rgba(255, 255, 255, 0.9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hero-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
}

/* Proof */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}
.stats li,
.stats a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  text-decoration: none;
}
.stats li {
  padding: 18px 10px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 8px 24px -20px rgba(23, 21, 18, 0.4);
}
.stats strong {
  font: 900 clamp(1.25rem, 2.4vw, 1.7rem)/1 var(--mono);
  color: var(--pink);
  text-transform: uppercase;
}
.stats span {
  font: 700 0.62rem/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.press {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 6px 26px;
  margin-top: 22px;
  color: var(--ink);
}
.press span {
  font: 800 0.62rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.press i {
  font: italic 700 1.05rem/1.2 Georgia, "Times New Roman", serif;
  opacity: 0.85;
}

/* Sections */
.section {
  padding-top: clamp(56px, 8vw, 96px);
}
.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 800 0.68rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--ink);
}
.eyebrow span {
  display: none;
}
h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.02;
}
.lead {
  margin-top: 14px;
  color: var(--muted);
  max-width: 60ch;
}
.lead a {
  color: var(--pink);
  font-weight: 700;
  text-underline-offset: 3px;
}

/* Project stories and gallery */
.project-stories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.project-story {
  overflow: hidden;
  border: 1px solid #e9e4d8;
  border-radius: 18px;
  background: #fff;
}
.project-story > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #e9e4d8;
}
.project-story-copy {
  padding: clamp(16px, 3vw, 30px);
}
.project-story-copy h3,
.project-gallery-label {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
}
.project-story-copy > p:not(.eyebrow) {
  margin: 10px 0 16px;
  line-height: 1.55;
}
.project-feedback {
  margin: 0;
  padding: 12px 0 12px 14px;
  border-left: 3px solid var(--pink);
}
.project-feedback blockquote {
  margin: 0;
  line-height: 1.5;
}
.project-feedback figcaption {
  font-size: 0.78rem;
  line-height: 1.5;
}
.project-feedback figcaption {
  margin-top: 8px;
  font-weight: 700;
}
.project-gallery-label {
  margin: 24px 0 12px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.shot {
  margin: 0;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  background: #e9e4d8;
}
.shot figcaption {
  margin-top: 8px;
  overflow-wrap: anywhere;
  font: 400 0.76rem/1.45 var(--mono);
}
.shot figcaption span {
  display: block;
}

/* Packages */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.packages > li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.packages > li.featured {
  border: 2px solid var(--pink);
  box-shadow: 0 24px 48px -30px rgba(239, 67, 107, 0.7);
}
.tag {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f4f0e6;
  font: 800 0.6rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.featured .tag {
  background: var(--pink);
  color: #fff;
}
.packages h3 {
  font: 800 1.05rem/1.2 var(--mono);
  text-transform: uppercase;
}
.price {
  font: 900 2.6rem/1 var(--mono);
  letter-spacing: -0.03em;
}
.desc {
  color: var(--muted);
  font-size: 0.86rem;
  min-height: 4.2em;
}
.packages ul {
  display: grid;
  gap: 8px;
  margin: 6px 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--line);
  list-style: none;
  font-size: 0.85rem;
}
.packages ul li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.packages ul svg {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--pink);
}
.more {
  margin-top: 14px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}
.more summary {
  cursor: pointer;
  padding: 16px 18px;
  font: 800 0.76rem/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.addons,
.types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 18px;
  margin: 0;
  padding: 0 18px 18px;
  list-style: none;
  font-size: 0.82rem;
}
.addons b {
  color: var(--pink);
}
.types a {
  text-underline-offset: 3px;
}
.fine {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.74rem;
}
.fine a {
  color: var(--ink);
}

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.reviews li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.stars {
  color: #f5a623;
  letter-spacing: 0.12em;
}
.stars span {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}
.reviews blockquote {
  font-size: 0.88rem;
  line-height: 1.6;
}
.who {
  margin-top: auto;
  font-size: 0.76rem;
  color: var(--muted);
}
.who b {
  color: var(--ink);
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font: 700 0.92rem/1.35 var(--mono);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--pink);
  font-weight: 900;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

/* Closing CTA */
.closer {
  padding-top: clamp(56px, 8vw, 96px);
}
.closer-card {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #2a2723;
}
.closer-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.closer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.58);
}
.closer-content {
  position: relative;
  z-index: 1;
  padding: 48px 24px;
  color: #fff;
  max-width: 760px;
}
.closer-content h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3.8rem);
}
.closer-content p {
  color: rgba(255, 255, 255, 0.88);
}
.closer-content .hero-actions {
  justify-content: center;
}

/* Inquiry (Reels) */
.inquiry-card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  padding: clamp(22px, 4vw, 44px);
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
}
.inquiry-card .eyebrow::before {
  background: #fff;
}
.inquiry-card .lead {
  color: rgba(255, 255, 255, 0.78);
}
.direct {
  margin-top: 18px;
  font-size: 0.82rem;
}
.direct a {
  color: #fff;
  font-weight: 700;
  text-underline-offset: 3px;
}
#lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 20px;
  background: var(--bg);
  color: var(--ink);
}
#lead-form .eyebrow::before {
  background: var(--ink);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
#lead-form label {
  display: grid;
  gap: 6px;
  font: 700 0.74rem/1.3 var(--mono);
}
#lead-form input,
#lead-form select,
#lead-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d9d2c2;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 400;
}
#lead-form input:focus,
#lead-form select:focus,
#lead-form textarea:focus {
  outline: 2px solid var(--pink);
  outline-offset: 1px;
}
#lead-form small {
  color: var(--muted);
  font-weight: 400;
}
.form-status {
  min-height: 1.4em;
  font-size: 0.8rem;
}

/* Footer */
.footer {
  margin-top: clamp(56px, 8vw, 96px);
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
}
.footer-brand {
  display: grid;
  gap: 4px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}
.footer-links a {
  text-underline-offset: 3px;
}
#privacy-toggle {
  border: 1px solid var(--ink);
  background: transparent;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.7rem;
  cursor: pointer;
}

/* Mobile sticky CTA */
.sticky-cta {
  display: none;
}

/* Privacy notice */
#tracking-privacy {
  position: fixed;
  z-index: 40;
  left: 16px;
  bottom: 16px;
  width: min(380px, calc(100% - 32px));
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px -18px rgba(23, 21, 18, 0.45);
  font-size: 0.78rem;
}
#tracking-privacy[hidden] {
  display: none;
}
#tracking-privacy details {
  margin: 6px 0 12px;
  color: var(--muted);
}
#tracking-privacy summary {
  cursor: pointer;
  text-decoration: underline;
}
#tracking-privacy div {
  display: flex;
  gap: 8px;
}
#tracking-privacy button {
  flex: 1;
  min-height: 40px;
  border-radius: 12px;
  border: 1.5px solid var(--ink);
  background: transparent;
  font: 800 0.72rem/1 var(--mono);
  cursor: pointer;
}
#tracking-privacy button[data-measurement="allow"] {
  background: var(--ink);
  color: #fff;
}

/* Privacy policy page */
.legal {
  padding: 48px 0 0;
  max-width: 820px;
}
.legal h1 {
  margin: 14px 0 6px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.legal .micro {
  color: var(--muted);
  font-size: 0.78rem;
}
.legal section {
  margin-top: 32px;
}
.legal h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}
.legal p,
.legal li {
  font-size: 0.88rem;
  line-height: 1.7;
}
.legal ul {
  padding-left: 18px;
}
.legal a {
  color: var(--pink);
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .packages,
  .reviews {
    grid-template-columns: 1fr;
  }
  .desc {
    min-height: 0;
  }
  .inquiry-card {
    grid-template-columns: 1fr;
  }
  .addons,
  .types {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 14px;
  }
  .nav-phone {
    display: none;
  }
  .topbar {
    top: 8px;
  }
  .hero-card {
    width: calc(100% - 24px);
    min-height: 82vh;
    border-radius: 24px;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats li:last-child {
    grid-column: span 2;
  }
  .project-stories {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }
  .field-row,
  .addons,
  .types {
    grid-template-columns: 1fr;
  }
  .closer-card {
    min-height: 460px;
  }
  .closer-content .hero-actions .btn {
    flex: 1 1 100%;
  }
  body.has-sticky-cta {
    padding-bottom: 76px;
  }
  body.has-sticky-cta .sticky-cta {
    position: fixed;
    z-index: 35;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 8px 8px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px -14px rgba(23, 21, 18, 0.45);
    font-size: 0.74rem;
  }
  body.has-sticky-cta .sticky-cta .btn {
    min-height: 44px;
    padding: 0 16px;
  }
  body.has-sticky-cta #tracking-privacy {
    bottom: 84px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .shot img {
    transition: none;
  }
}
.brand .logo {
  width: 96px;
}
.sticky-cta .btn {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .brand .logo {
    width: 84px;
  }
  .pill {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }
}

/* Keep incoming campaign links clear of the floating header. */
#booking-title,
#portfolio-title,
#listing-media,
#floor-plans,
#matterport,
#service-area {
  scroll-margin-top: 7rem;
}
