/* ==========================================================================
   Harbour Breeze Hair
   Deep harbour navy with sea-glass teal and a warm copper accent.
   ========================================================================== */

:root {
  /* Colours */
  --ink: #0a1a24;
  --navy: #0e2431;
  --navy-2: #143243;
  --sea: #2f6b72;
  --sea-light: #8fc3c0;
  --paper: #f6f1ea;
  --paper-2: #ede4d8;
  --white: #ffffff;
  --text: #1d2a31;
  --muted: #55636b;
  --on-dark: #f3efe9;
  --on-dark-muted: #bfcad0;
  --copper: #d89058;
  --copper-light: #eab07f;
  --copper-dark: #b86f37;
  --copper-text: #96541f;
  --line: rgba(14, 36, 49, 0.16);
  --line-dark: rgba(255, 255, 255, 0.16);

  /* Type */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --section-pad: clamp(4rem, 9vw, 7rem);
  --gutter: clamp(1rem, 4vw, 2rem);
  --container: 1180px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-card: 0 4px 16px rgba(10, 26, 36, 0.06), 0 1px 3px rgba(10, 26, 36, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --shadow-card-hover: 0 28px 56px rgba(10, 26, 36, 0.14), 0 10px 20px rgba(10, 26, 36, 0.08);
  --shadow-btn: 0 4px 15px rgba(216, 144, 88, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  --shadow-btn-hover: 0 12px 30px rgba(216, 144, 88, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);

  /* Motion */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --nav-h: 72px;
  --below-hero: 110px;
}

/* ----- Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  scroll-padding-bottom: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 var(--space-sm);
  text-wrap: balance;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 var(--space-sm);
}

a {
  color: var(--copper-text);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

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

.section {
  padding: var(--section-pad) 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--copper);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ----- Buttons and links ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.4s var(--ease-premium);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary,
.btn-pill {
  color: var(--ink);
  background: linear-gradient(180deg, var(--copper-light) 0%, var(--copper) 50%, var(--copper-dark) 100%);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover,
.btn-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-btn-hover);
}

.btn-primary:active,
.btn-pill:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-pill {
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-full);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--copper);
  transition: color var(--transition-fast);
}

.text-link:hover {
  color: var(--copper-text);
}

.text-link-light {
  color: var(--on-dark);
}

.text-link-light:hover {
  color: var(--copper-light);
}

/* ----- Navigation ----- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled,
.site-header.menu-open {
  background: var(--navy);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  color: var(--on-dark);
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--copper);
}

.brand-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-name em,
.footer-brand em {
  font-style: italic;
  font-weight: 500;
  color: var(--copper-light);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--on-dark);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu: solid, opaque panel */
.nav-menu {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-md) var(--gutter) var(--space-lg);
  background: var(--navy);
  border-top: 1px solid var(--line-dark);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
}

.nav-menu.open {
  display: flex;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--on-dark);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 0;
  height: 2px;
  background: var(--copper);
  transition: width var(--transition-base);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-menu .btn-pill {
  align-self: flex-start;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--below-hero));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-dark);
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 60% 55%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 26, 36, 0.92) 0%, rgba(10, 26, 36, 0.78) 45%, rgba(10, 26, 36, 0.3) 80%, rgba(10, 26, 36, 0.15) 100%),
    linear-gradient(0deg, rgba(10, 26, 36, 0.6) 0%, rgba(10, 26, 36, 0) 45%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 2.5rem;
}

.hero h1 {
  max-width: 17ch;
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  line-height: 1.04;
  margin-bottom: var(--space-md);
}

.hero-kicker {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sea-light);
}

.hero-line {
  display: block;
}

.highlight {
  font-style: italic;
  font-weight: 500;
  color: var(--copper-light);
}

.hero-lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--on-dark);
  margin-bottom: var(--space-md);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-md);
}

.hero-quote {
  max-width: 30rem;
  margin: var(--space-lg) 0 0;
  padding: 1rem 1.25rem;
  background: rgba(10, 26, 36, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-left: 3px solid var(--copper);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-quote blockquote {
  margin: 0;
}

.hero-quote p {
  margin: 0 0 0.4rem;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
}

.hero-quote figcaption {
  font-size: 0.88rem;
  color: var(--on-dark-muted);
}

.stars-sm {
  color: var(--copper-light);
  letter-spacing: 1px;
  margin-right: 0.3rem;
}

/* ----- Marquee ----- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  border-top: 1px solid var(--line-dark);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0 1.6rem;
  border-radius: 50%;
  background: var(--copper);
}

/* ----- Service area strip ----- */
.area-strip {
  background: var(--sea);
  color: var(--white);
}

.area-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  font-size: 0.98rem;
}

.area-inner p {
  margin: 0;
}

/* ----- Services ----- */
.services-grid {
  display: grid;
  gap: var(--space-lg);
}

.services-intro p {
  max-width: 30rem;
  color: var(--muted);
}

.services-photo {
  display: block;
  margin-top: var(--space-md);
  max-width: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1.1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.service h3 {
  margin-bottom: 0.35rem;
}

.service p {
  margin: 0;
  color: var(--muted);
}

.service .service-note {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--copper-text);
}

.service-icon {
  width: 30px;
  height: 30px;
  margin-top: 0.2rem;
  fill: none;
  stroke: var(--sea);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----- Proof band ----- */
.proof {
  background: var(--navy);
  color: var(--on-dark);
  padding: var(--section-pad) 0;
}

.proof-inner {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

.proof-statement {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin: 0;
}

.proof-line {
  display: block;
}

.proof-line:last-child {
  color: var(--copper-light);
  font-style: italic;
  font-weight: 500;
}

.count {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.proof-facts {
  margin: 0;
  border-top: 1px solid var(--line-dark);
}

.proof-facts div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.proof-facts dt {
  font-weight: 700;
  color: var(--sea-light);
}

.proof-facts dd {
  margin: 0;
}

/* ----- About ----- */
.about {
  background: var(--paper-2);
}

.about-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

.about-photo {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  max-width: 460px;
}

.about-photo img {
  width: 100%;
}

.about-copy p {
  max-width: 34rem;
}

.about-copy .btn {
  margin-top: var(--space-xs);
}

/* ----- Reviews ----- */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.reviews-head h2 {
  margin: 0;
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--copper-dark);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.stars span {
  display: inline-block;
}

.review-featured {
  margin: 0 0 var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--line);
}

.review-featured blockquote {
  margin: 0 0 var(--space-sm);
}

.review-featured p {
  max-width: 52rem;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.4;
  font-weight: 500;
  color: var(--navy);
}

.review-featured figcaption,
.review-by {
  font-weight: 700;
  color: var(--text);
}

.review-featured figcaption span,
.review-by span {
  margin-left: 0.4rem;
  font-weight: 400;
  color: var(--muted);
}

.review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0 var(--space-lg);
}

.review {
  padding: 1.5rem 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium), border-color var(--transition-base);
}

.review p {
  margin-bottom: 0.6rem;
}

.review .review-by {
  margin: 0;
  font-size: 0.95rem;
}

/* ----- CTA banner ----- */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 11vw, 8rem) 0;
  color: var(--on-dark);
  background: var(--navy);
}

.cta-media,
.cta-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cta-media img {
  object-fit: cover;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 26, 36, 0.9) 0%, rgba(10, 26, 36, 0.7) 55%, rgba(10, 26, 36, 0.35) 100%);
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.cta-line {
  display: block;
}

.cta p {
  max-width: 32rem;
  font-size: 1.1rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-md);
  margin-top: var(--space-md);
}

/* ----- Contact ----- */
.contact-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

.contact-info > p {
  max-width: 30rem;
  color: var(--muted);
}

.contact-list {
  margin: var(--space-md) 0 0;
  border-top: 1px solid var(--line);
}

.contact-item {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.3s ease;
}

.contact-item dt {
  font-weight: 700;
  color: var(--sea);
}

.contact-item dd {
  margin: 0;
}

.contact-item dd > a:not(.text-link) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: -0.6rem 0;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration-color: var(--copper);
  text-underline-offset: 4px;
}

.contact-form {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium), border-color 0.5s var(--ease-premium);
}

.contact-form h3 {
  font-size: 1.5rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--paper);
  border: 1px solid rgba(14, 36, 49, 0.3);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--sea);
  box-shadow: 0 0 0 4px rgba(47, 107, 114, 0.18);
}

.field [aria-invalid="true"] {
  border-color: #b42318;
}

.field-error,
.form-error {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #b42318;
}

.form-error {
  margin-bottom: 1rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.form-privacy {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-success:focus {
  outline: none;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding: var(--space-xl) 0 var(--space-md);
  font-size: 0.98rem;
}

.site-footer a {
  color: var(--on-dark);
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--on-dark);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  transition: transform 0.3s ease, color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--copper-light);
  transform: translateX(4px);
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line-dark);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

/* ----- Below-fold rendering ----- */
.reviews,
.contact,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* ----- Privacy and 404 pages ----- */
.page-plain {
  padding: calc(var(--nav-h) + 3rem) 0 var(--section-pad);
}

.page-plain .container {
  max-width: 820px;
}

.page-plain h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.page-plain h2 {
  font-size: 1.6rem;
  margin-top: var(--space-lg);
}

.page-plain ul {
  padding-left: 1.25rem;
}

.site-header.solid {
  background: var(--navy);
}

/* ==========================================================================
   Breakpoints (mobile first)
   ========================================================================== */
@media (min-width: 480px) {
  .area-inner {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .area-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: var(--space-md);
  }

  .proof-inner {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-xl);
  }

  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-xl);
  }

  .review-list {
    grid-template-columns: 1fr 1fr;
  }

  .review {
    padding: 1.5rem 1.25rem;
    margin: 0 -1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-lg);
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-links {
    display: flex;
    gap: 2rem;
  }

  .nav-links a {
    border: 0;
    min-height: 44px;
  }

  .hero h1 {
    max-width: 20ch;
  }

  .hero-inner {
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 2.25rem;
  }

  .services-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--space-xl);
    align-items: start;
  }

  .services-intro {
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

/* Jordan's rule: hero, marquee and strip all on the first desktop screen */
@media (min-width: 1024px) {
  :root {
    --marquee-h: 3.5rem;
    --strip-h: 3.5rem;
    --below-hero: calc(var(--marquee-h) + var(--strip-h));
  }

  .hero h1 {
    font-size: clamp(2.3rem, min(5.2vw, 7.6vh), 4.4rem);
  }

  .marquee {
    border-top: 0;
  }

  .marquee-track span {
    height: var(--marquee-h);
    padding: 0;
  }

  .area-strip {
    height: var(--strip-h);
  }

  .area-inner {
    height: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 3rem;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 14rem;
    white-space: nowrap;
  }

  /* On load the chat button sits inside the strip, clear of the marquee and
     the strip's text; it drops to its usual spot once the page scrolls */
  .site-header:not(.scrolled) ~ div > #cc-chat-toggle {
    bottom: calc((var(--strip-h) - 50px) / 2);
  }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .hero-inner {
    padding-top: calc(var(--nav-h) + 1rem);
    padding-bottom: 1.5rem;
  }

  .hero-kicker {
    margin-bottom: 0.6rem;
  }

  .hero h1,
  .hero-lead {
    margin-bottom: 1rem;
  }

  .hero-quote {
    margin-top: 1.25rem;
    padding-block: 0.7rem;
  }
}

/* ==========================================================================
   Premium animations (motion allowed only)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .fade-in {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s var(--ease-premium), transform 1.2s var(--ease-premium);
  }

  .js .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .service-list .service:nth-child(2) { transition-delay: 0.08s; }
  .service-list .service:nth-child(3) { transition-delay: 0.16s; }
  .review-list .review:nth-child(2) { transition-delay: 0.12s; }
  .review-list .review:nth-child(3) { transition-delay: 0.18s; }
  .review-list .review:nth-child(4) { transition-delay: 0.24s; }

  /* Hero */
  .hero-media img {
    animation: hero-zoom-out 20s ease-out forwards;
  }

  .hero-kicker {
    animation: slide-down 0.8s var(--ease-premium) 0.2s both;
  }

  .highlight {
    background: linear-gradient(100deg, var(--copper-light) 0%, var(--copper-light) 40%, #fff1e0 50%, var(--copper-light) 60%, var(--copper-light) 100%);
    background-size: 250% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gold-shimmer 4s ease 1s both;
  }

  .pulse {
    animation: pulse-glow 2.5s ease-in-out 2s infinite;
  }

  .btn-pill {
    animation: nav-cta-pulse 2s ease-in-out infinite;
  }

  /* Marquee */
  .marquee-track {
    animation: scroll-marquee 8s linear infinite;
  }

  #cc-chat-toggle {
    transition: bottom 0.4s var(--ease-premium), transform 0.25s ease, box-shadow 0.25s ease;
  }

  /* Counters */
  .proof-statement.visible .count {
    animation: pop-in 0.6s var(--ease-premium) both;
  }

  .proof-statement.visible .proof-line:last-child .count {
    animation-delay: 0.2s;
  }

  .count.bounce {
    animation: stat-bounce 0.9s ease both;
  }

  /* Service icons */
  .service-icon {
    transform: scale(0);
  }

  .service.visible .service-icon {
    animation: icon-pop 0.6s var(--ease-premium) 0.3s forwards;
  }

  /* Stars */
  .stars span {
    transform: scale(0);
  }

  .visible .stars span {
    animation: star-pop 0.3s var(--ease-premium) forwards;
  }

  .visible .stars span:nth-child(1) { animation-delay: 0.2s; }
  .visible .stars span:nth-child(2) { animation-delay: 0.3s; }
  .visible .stars span:nth-child(3) { animation-delay: 0.4s; }
  .visible .stars span:nth-child(4) { animation-delay: 0.5s; }
  .visible .stars span:nth-child(5) { animation-delay: 0.6s; }

  /* Cards and micro-interactions */
  .review:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--copper);
    background: var(--white);
  }

  .contact-form:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--copper);
  }

  .contact-item:hover {
    transform: translateX(8px);
  }

  .about-photo img {
    transform: scale(1.15);
  }

  .about-photo.visible img {
    transition: transform 12s linear;
    transform: scale(1);
  }

  .services-photo img {
    transition: transform var(--transition-slow);
  }

  .services-photo:hover img {
    transform: scale(1.05);
  }

  @keyframes hero-zoom-out {
    from { transform: scale(1.15); }
    to { transform: scale(1); }
  }

  @keyframes slide-down {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes gold-shimmer {
    from { background-position: 100% 0; }
    to { background-position: 0 0; }
  }

  @keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(216, 144, 88, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
    50% { box-shadow: 0 8px 40px rgba(216, 144, 88, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
  }

  @keyframes nav-cta-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(216, 144, 88, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
    50% { box-shadow: 0 6px 26px rgba(216, 144, 88, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
  }

  @keyframes scroll-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  @keyframes pop-in {
    from { opacity: 0; transform: scale(0.5) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
  }

  @keyframes stat-bounce {
    0% { transform: translateY(0); }
    15% { transform: translateY(-10px); }
    30% { transform: translateY(0); }
    45% { transform: translateY(-5px); }
    60% { transform: translateY(0); }
    75% { transform: translateY(-2px); }
    100% { transform: translateY(0); }
  }

  @keyframes icon-pop {
    0% { transform: scale(0); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
  }

  @keyframes star-pop {
    0% { transform: scale(0) rotate(-30deg); }
    70% { transform: scale(1.2) rotate(5deg); }
    100% { transform: scale(1) rotate(0); }
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  .marquee-track {
    animation-duration: 12s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track {
    animation: none;
  }

  .review,
  .contact-form,
  .contact-item,
  .btn {
    transition: color var(--transition-fast), background-color var(--transition-fast), opacity var(--transition-fast);
  }
}
