/* ==========================================================================
   Estate Stories Media — website styles
   --------------------------------------------------------------------------
   Built from the approved desktop mockup (1440px artboards). At 1440px wide
   every size, colour and spacing below matches the mockup; smaller screens
   use the breakpoints at the end of this file.

   Contents
     1. Design tokens
     2. Base & accessibility
     3. Layout helpers
     4. Typography
     5. Buttons, pills & small UI
     6. Site header & mobile menu
     7. Hero (home + portfolio)
     8. Home — service strip, services, logo strip, process, packages,
        realtors, reviews
     9. Portfolio — jump strip, showcase sections, films, reels,
        branding, photography
    10. Call to action & footer
    11. Inline video player
    12. Inner pages — About and Contact
    13. Responsive
   ========================================================================== */


/* 1. Design tokens
   ========================================================================== */
:root {
  /* Brand palette (Brand Guidelines 2026) + the approved accent */
  --c-bg: #191919;                 /* Charcoal Black · HEX #191919 */
  --c-text: #ffffff;               /* Pure White */
  --c-accent: #d4ff3a;             /* Electric Lime accent — use sparingly */
  --c-ink: #191919;                /* text on lime / light surfaces */

  /* Supporting neutrals */
  --c-surface: #222222;            /* cards on the dark background */
  --c-surface-2: #2e2e2e;          /* secondary buttons, realtor cards */
  --c-text-soft: #e8e8e8;          /* all small text on dark backgrounds */
  --c-line: rgba(255, 255, 255, 0.1);
  --c-line-soft: rgba(255, 255, 255, 0.08);
  --c-paper: #f4f4f4;              /* light "reviews" section */
  --c-paper-text: #333333;

  /* Type — the same two fonts as the approved mockup (both free Google Fonts,
     SIL Open Font License):
       Archivo · headings, always with font-stretch: 125% and weight 700–800
       Outfit  · body text, weights 300–700 */
  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 8.333vw, 120px);       /* 120px at 1440px */
  --header-h: 88px;
  --section-pad: 120px;

  /* Radius */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 18px;
  --r-pill: 999px;
}


/* 2. Base & accessibility
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--c-accent);
}

button {
  font: inherit;
  color: inherit;
}

h1, h2, h3, p, figure, blockquote {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--c-accent);
  color: var(--c-ink);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
  color: var(--c-ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* 3. Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(1100px + 2 * var(--gutter));
}

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

.text-accent {
  color: var(--c-accent);
}

.text-center {
  text-align: center;
}

.icon--accent {
  color: var(--c-accent);
}


/* 4. Typography
   ========================================================================== */
.display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.display--hero {            /* Home hero · 54px */
  font-size: clamp(34px, 3.75vw, 54px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.display--hero-lg {         /* Portfolio hero · 60px */
  font-size: clamp(36px, 4.17vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.display--xl {              /* 60px section titles */
  font-size: clamp(34px, 4.17vw, 60px);
}

.display--lg {              /* 56px section titles */
  font-size: clamp(32px, 3.89vw, 56px);
}

.display--md {              /* 44px portfolio section titles */
  font-size: clamp(30px, 3.06vw, 44px);
}

.display--cta {             /* 76px call to action */
  font-size: clamp(44px, 5.28vw, 76px);
  line-height: 0.95;
}

.eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
}

.section-head--split {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 56px;
}

.section-head--split > div:not(.intro) {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-head--center {
  align-items: center;
  text-align: center;
}

.section-head__sub {
  font-size: 26px;
  color: var(--c-text-soft);
}

.section-head__lead {
  max-width: 620px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--c-text-soft);
}


/* 5. Buttons, pills & small UI
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  border-radius: var(--r-sm);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.btn svg {
  flex-shrink: 0;
}

.btn--sm { height: 48px; padding: 0 22px; gap: 10px; }                     /* header */
.btn--md { height: 50px; padding: 0 25px; }                                /* hero */
.btn--lg { height: 56px; padding: 0 26px; gap: 12px; font-size: 18px; }    /* section CTAs */
.btn--xl { height: 60px; padding: 0 24px; font-size: 18px; width: 100%; }  /* CTA stack */
.btn--block { width: 100%; }

.btn--accent { background: var(--c-accent); color: var(--c-ink); }
.btn--accent:hover { color: var(--c-ink); filter: brightness(1.06); }

.btn--outline { border: 1.5px solid #ffffff; color: #ffffff; font-weight: 500; }
.btn--outline:hover { background: #ffffff; color: var(--c-ink); }

.btn--surface { background: var(--c-surface-2); color: #ffffff; border-radius: var(--r-md); gap: 8px; }
.btn--surface:hover { background: #3a3a3a; color: #ffffff; }

.btn--dark { background: var(--c-ink); color: #ffffff; }
.btn--dark:hover { background: #000000; color: #ffffff; }

.btn--outline-dark { border: 2px solid var(--c-ink); color: var(--c-ink); }
.btn--outline-dark:hover { background: var(--c-ink); color: #ffffff; }

.pill {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--c-accent);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 600;
}

.chip {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  font-size: 13px;
  white-space: nowrap;
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--c-accent);
  color: var(--c-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Round "play" button placed over video stills */
.play-btn {
  --size: 76px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--size);
  height: var(--size);
  padding: 0;   /* the icon's own shape already sits slightly right for optical centering */
  border: 0;
  border-radius: 50%;
  background: rgba(25, 25, 25, 0.72);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.play-btn:hover {
  background: rgba(25, 25, 25, 0.9);
  transform: translate(-50%, -50%) scale(1.06);
}

.play-btn svg {
  width: calc(var(--size) * 0.37);
  height: calc(var(--size) * 0.37);
  fill: #ffffff;
}

.play-btn--lg { --size: 80px; }
.play-btn--md { --size: 56px; }
.play-btn--sm { --size: 52px; }
.play-btn--xs { --size: 48px; }


/* 6. Site header & mobile menu
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  height: var(--header-h);
  background: rgba(25, 25, 25, 0.85);
  border-bottom: 1px solid var(--c-line-soft);
}

.site-header__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  height: 100%;
  padding-inline: clamp(20px, 4.44vw, 64px);   /* 64px at 1440px */
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 16px;
}

.site-nav a[aria-current="page"] {
  padding-bottom: 4px;
  border-bottom: 2px solid var(--c-accent);
  color: var(--c-accent);
  font-weight: 600;
}

.site-header__logo {
  justify-self: center;
  display: flex;
}

.site-header__logo img {
  width: auto;
  height: 40px;
}

.site-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
}

.menu-toggle .icon-close { display: none; }
.site-header.is-open .menu-toggle .icon-open { display: none; }
.site-header.is-open .menu-toggle .icon-close { display: block; }


/* 7. Hero (home + portfolio)
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark shade on the left (behind the text) + fade into the page at the bottom */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
}

.hero__kicker {
  display: flex;
  font-weight: inherit;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  color: var(--c-text-soft);
}

.hero__lead {
  max-width: 640px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--c-text-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 11px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 16px;
  color: var(--c-text-soft);
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 13px;
}

/* Home hero · 920px tall, text block sits 115px above the bottom */
.hero--home {
  min-height: 920px;
  padding: calc(var(--header-h) + 64px) 0 115px;
}

.hero--home::before {
  background:
    linear-gradient(0deg, var(--c-bg) 0, rgba(25, 25, 25, 0) 260px),
    linear-gradient(90deg, rgba(25, 25, 25, 0.94) 0%, rgba(25, 25, 25, 0.72) 45%, rgba(25, 25, 25, 0.15) 100%);
}

.hero--home .hero__bg,
.hero--home .hero__video {
  object-position: 70% 50%;
}

/* Portfolio hero · 640px tall */
.hero--portfolio {
  min-height: 640px;
  padding: calc(var(--header-h) + 64px) 0 93px;
}

.hero--portfolio::before {
  background:
    linear-gradient(0deg, var(--c-bg) 0, rgba(25, 25, 25, 0) 240px),
    linear-gradient(90deg, rgba(25, 25, 25, 0.95) 0%, rgba(25, 25, 25, 0.78) 42%, rgba(25, 25, 25, 0.2) 100%);
}

.hero--portfolio .hero__bg {
  object-position: 70% 60%;
}

.hero--portfolio .hero__content {
  gap: 22px;
}

.hero--portfolio .hero__lead {
  max-width: 600px;
}

.hero--portfolio .hero__actions {
  padding-top: 10px;
}


/* 8. Home sections
   ========================================================================== */

/* Service strip ---------------------------------------------------------- */
.service-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 20px var(--gutter);
  border-block: 1px solid var(--c-line);
}

.service-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-soft);
}

.service-strip__list li + li::before {
  content: "/";
  margin-right: 40px;
  color: var(--c-accent);
}

/* Services ("What we do") ------------------------------------------------- */
.services {
  padding: var(--section-pad) 0 88px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 400px;
  padding: 40px 36px;
  border-radius: var(--r-md);
  background: var(--c-surface);
}

.service-card__num {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-accent);
}

.service-card__title {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-card__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-text-soft);
}

/* Logo strip ("Trusted by top Calgary agents & brokerages") --------------- */
.logo-strip {
  position: relative;
  overflow: hidden;
  padding: 72px 0 105px;
  text-align: center;
}

.logo-strip::before,
.logo-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 200px;
  pointer-events: none;
}

.logo-strip::before { left: 0; background: linear-gradient(90deg, var(--c-bg) 0%, rgba(25, 25, 25, 0) 100%); }
.logo-strip::after { right: 0; background: linear-gradient(270deg, var(--c-bg) 0%, rgba(25, 25, 25, 0) 100%); }

.logo-strip__title {
  margin-bottom: 72px;
  font-size: 20px;
  font-weight: 600;
}

.logo-strip__track {
  display: flex;
  width: max-content;
  animation: marquee 100s linear infinite;
}

.logo-strip:hover .logo-strip__track {
  animation-play-state: paused;
}

.logo-strip__list {
  display: flex;
  align-items: center;
  gap: 80px;
  padding-right: 80px;
}

/* Placeholder boxes — replace each <li> content with the client's logo <img> */
.logo-placeholder {
  padding: 18px 24px;
  border: 1px dashed #4a4a4a;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--c-text-soft);
}

.logo-strip__list img {
  width: auto;
  height: 56px;
  opacity: 0.85;
}

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

/* Process ("Booked in minutes. Live in 48 hours.") ------------------------ */
.process {
  padding: var(--section-pad) 0 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  display: flex;
  flex-direction: column;
  min-height: 580px;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--c-surface);
}

.step-card__media {
  position: relative;
  flex-shrink: 0;
  height: 330px;
  overflow: hidden;
}

.step-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 34, 34, 0.25) 0%, rgba(34, 34, 34, 0.55) 60%, #222222 100%);
}

.step-card__media--brand {
  background: linear-gradient(160deg, var(--c-accent) 0%, #6f7d2a 55%, var(--c-surface) 100%);
}

.step-card__media--brand::after {
  content: none;
}

.step-card__mark {
  position: absolute;
  top: 40px;
  right: -40px;
  width: 300px;
  height: auto;
  max-width: none;
  opacity: 0.14;
  filter: invert(1);
}

.step-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 28px 32px;
}

.step-card__title {
  min-height: 2.1em;            /* keeps every step's text on the same line */
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.step-card__body p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--c-text-soft);
}

.step-card--photo-left .step-card__photo {
  object-position: 30% 50%;
}

/* Packages ("What we offer") ---------------------------------------------- */
.packages {
  padding: var(--section-pad) 0 157px;
}

.packages__row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.package-card {
  position: relative;
  flex-shrink: 0;
  width: 300px;
  margin-right: -8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-xl);
  background: var(--c-surface);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.package-card:last-child { margin-right: 0; }

/* staggered tops, as in the design */
.package-card:nth-child(1) { margin-top: 72px; }
.package-card:nth-child(2) { margin-top: 40px; }
.package-card:nth-child(3) { margin-top: 0; }
.package-card:nth-child(4) { margin-top: 24px; }

.package-card--featured {
  z-index: 2;
  width: 320px;
  border: 2px solid var(--c-accent);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.package-card__media {
  position: relative;
  height: 130px;
}

.package-card--featured .package-card__media {
  height: 140px;
}

.package-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 34, 34, 0) 30%, var(--c-surface) 100%);
}

.package-card__media .badge {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  padding: 5px 12px;
}

.package-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 24px 24px;
}

.package-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.package-card__head h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.package-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-text-soft);
}

.package-card__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.package-card__label { font-size: 14px; color: var(--c-text-soft); }
.package-card__note { font-size: 13px; color: var(--c-text-soft); }

.package-card__amount {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.05;
}

.package-card--featured .package-card__amount {
  color: var(--c-accent);
}

.package-card__list {
  font-size: 15px;
  font-weight: 500;
}

.package-card__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-line-soft);
}

.package-card__list li:last-child {
  border-bottom: 0;
}

.package-card--featured .btn--accent {
  border-radius: var(--r-md);
  gap: 8px;
}

/* Realtors ("Trusted by Calgary realtors") -------------------------------- */
.realtors {
  padding: var(--section-pad) 0 88px;
}

.realtors__title {
  margin-bottom: 48px;
  text-align: center;
}

.realtor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.realtor-card {
  position: relative;
  aspect-ratio: 210 / 260;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(180deg, #2e2e2e 0%, #242424 100%);
}

.realtor-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.realtor-card__placeholder {
  position: absolute;
  top: 13%;
  left: 50%;
  width: 72%;
  height: auto;
  transform: translateX(-50%);
}

.realtor-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 110px;
  background: linear-gradient(0deg, rgba(20, 20, 20, 0.95) 0%, rgba(20, 20, 20, 0) 100%);
}

.realtor-card__meta {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.realtor-card__name {
  font-size: 16px;
  font-weight: 600;
}

.realtor-card__followers {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}

/* Reviews carousel ("What agents say after the shoot") -------------------- */
.reviews {
  --track-start: max(var(--gutter), calc(50% - (var(--container) / 2) + 130px));  /* 250px at 1440px */
  overflow: hidden;
  padding: var(--section-pad) 0 76px;
  background: var(--c-paper);
  color: var(--c-ink);
}

.reviews__title {
  margin-bottom: 48px;
  padding-inline: var(--gutter);
  text-align: center;
}

.reviews__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px var(--gutter) 4px var(--track-start);
  scroll-padding-left: var(--track-start);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews__track::-webkit-scrollbar {
  display: none;
}

.review-card {
  display: flex;
  flex: 0 0 340px;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
  padding: 32px;
  border-radius: var(--r-2xl);
  background: #ffffff;
  scroll-snap-align: start;
}

.review-card__quote {
  width: 36px;
  height: 28px;
  margin-bottom: 20px;
  fill: #d6d6d6;
}

.review-card__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-paper-text);
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.review-card__avatar {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 50%;
  background: #e2e2e2;
  font-size: 17px;
  font-weight: 600;
  color: var(--c-paper-text);
}

.review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card cite {
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
}

.reviews__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.carousel-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.carousel-btn--accent {
  background: var(--c-accent);
  box-shadow: none;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 52px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  background: #ffffff;
}

.carousel-dot {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--r-xs);
  background: #cfcfcf;
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.carousel-dot::before {          /* bigger tap target */
  content: "";
  position: absolute;
  inset: -14px -4px;
}

.carousel-dot.is-active {
  width: 32px;
  background: var(--c-ink);
}


/* 9. Portfolio
   ========================================================================== */

/* Jump strip -------------------------------------------------------------- */
.jump-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 20px var(--gutter);
  border-block: 1px solid var(--c-line);
}

.jump-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.jump-link {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-soft);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.jump-link span {
  color: var(--c-accent);
}

.jump-link:hover {
  border-color: var(--c-accent);
}

/* Showcase sections (01–04) ----------------------------------------------- */
.showcase {
  padding-block: var(--section-pad);
  scroll-margin-top: 24px;
}

.showcase + .showcase {
  border-top: 1px solid var(--c-line-soft);
}

.showcase--horizontal {
  padding-bottom: 32px;
}

.split {
  display: grid;
  grid-template-columns: 520px minmax(0, 1fr);
  align-items: center;
  gap: 60px;
}

.split--end {
  align-items: end;
}

.split--reverse {
  grid-template-columns: minmax(0, 1fr) 520px;
}

.intro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.intro > .display {
  position: relative;
}

.section-num {
  position: absolute;
  top: -84px;
  left: -8px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: 150px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
}

.tag {
  position: relative;
  padding: 9px 16px;
  border: 1px solid var(--c-accent);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.lead-rule {
  padding-left: 20px;
  border-left: 3px solid var(--c-accent);
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-text-soft);
}

.lead-rule--narrow {
  max-width: 640px;
}

.feature-list {
  width: 100%;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text-soft);
}

.feature-list li::before {        /* slanted marker, echoes the logo's E */
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 6px;
  background: var(--c-accent);
  transform: skewX(-24deg);
}

.text-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--c-accent);
}

.text-link:hover {
  color: #ffffff;
}

/* 01 Horizontal films ----------------------------------------------------- */
.film-featured {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  background: var(--c-surface);
}

.film-featured > img,
.film-featured > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(25, 25, 25, 0.18);
  pointer-events: none;
}

.sound-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  background: rgba(25, 25, 25, 0.8);
  color: var(--c-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 80px;
}

.film-card {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--c-surface);
}

.film-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 02 Vertical reels ------------------------------------------------------- */
.showcase--vertical .split {
  margin-bottom: 72px;
}

.showcase--vertical .split > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reel-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.reel-card {
  position: relative;
  flex-shrink: 0;
  width: 224px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--c-surface);
}

.reel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 150px;
  background: linear-gradient(0deg, rgba(20, 20, 20, 0.92) 0%, rgba(20, 20, 20, 0) 100%);
  pointer-events: none;
}

.reel-card__label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 1;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

/* 03 Agent branding ------------------------------------------------------- */
.branding-cluster {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.branding-cluster .reel-card {
  width: 190px;
}

.branding-cluster .reel-card::after {
  height: 130px;
}

.branding-cluster .reel-card:nth-child(1) { margin-top: 56px; }
.branding-cluster .reel-card:nth-child(3) { margin-top: 88px; }

/* 04 Photography ---------------------------------------------------------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.photo-grid__side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 20px;
}

.photo-tile {
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--c-surface);
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-tile--large { aspect-ratio: 590 / 645; }
.photo-tile--wide { grid-column: 1 / -1; aspect-ratio: 590 / 340; }
.photo-tile--square { aspect-ratio: 1 / 1; }


/* 10. Call to action & footer
   ========================================================================== */
.cta {
  display: flex;
  align-items: center;
  min-height: 440px;
  padding-block: 64px;
  background: var(--c-accent);
  color: var(--c-ink);
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.cta__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta__copy p {
  font-size: 20px;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 16px;
  width: 360px;
}

.site-footer {
  padding: 72px 0 48px;
}

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.site-footer__logo img {
  width: auto;
  height: 48px;
}

.site-footer__cols {
  display: flex;
  gap: 72px;
  font-size: 16px;
}

.site-footer__cols ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__label {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-soft);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  font-size: 14px;
  color: var(--c-text-soft);
}


/* 11. Inline video player (a play button swaps its card's cover for the video)
   ========================================================================== */
.inline-player {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000000;
  object-fit: contain;
}

.is-playing > .play-btn,
.is-playing > .sound-btn,
.is-playing > .badge,
.is-playing > .reel-card__label {
  display: none;
}

.is-playing::after {
  display: none;
}

/* Play buttons without a video yet stay hidden; add a URL in data-video-src to show them */
.play-btn[data-video-src=""] {
  display: none;
}


/* 12. Inner pages — About and Contact
   ========================================================================== */

.page-hero {
  padding-top: calc(var(--header-h) + 96px);
  padding-bottom: 96px;
}

.page-hero__lead {
  max-width: 640px;
  margin-top: 24px;
  font-size: 20px;
  color: var(--c-text-soft);
}

.team {
  padding-block: 96px;
  border-top: 1px solid var(--c-line);
}

.team__split {
  grid-template-columns: 360px minmax(0, 1fr);
  align-items: center;
  gap: 80px;
}

.team__split.split--reverse {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.team__photo {
  margin: 0;
}

.team__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.team__bio {
  max-width: 600px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--c-text-soft);
}

.contact {
  padding-block: 96px 120px;
  border-top: 1px solid var(--c-line);
}

.contact__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 640px);
  align-items: start;
  gap: 80px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-info__list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 20px;
}

.contact-info__list a:hover {
  color: var(--c-accent);
}

.contact-info__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 16px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  color: var(--c-text-soft);
}

.contact-form__field abbr {
  text-decoration: none;
  color: var(--c-accent);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--c-text);
  background: var(--c-bg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

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

.contact-form__submit {
  align-self: flex-start;
}

.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.contact-form__status {
  margin: 0;
  font-size: 15px;
  color: var(--c-accent);
}

.contact-form__status.is-error {
  color: #ff8a80;
}

@media (max-width: 960px) {
  .team__split,
  .team__split.split--reverse,
  .contact__split {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .team__photo img {
    max-width: 320px;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 64px;
  }

  .team,
  .contact {
    padding-block: 64px;
  }

  .contact-form {
    padding: 24px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

/* 13. Responsive
   ========================================================================== */

/* ≤ 1240px — four staggered package cards no longer fit in one row */
@media (max-width: 1240px) {
  .packages__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 720px;
    margin-inline: auto;
  }

  .package-card,
  .package-card--featured {
    width: auto;
    margin: 0 !important;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-card {
    min-height: 0;
  }

  .split {
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  }

  .split--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  }

  .branding-cluster .reel-card {
    width: calc((100% - 40px) / 3);
  }

  .reel-card {
    width: calc((100% - 60px) / 4);
  }
}

/* ≤ 960px — tablet: mobile menu, single-column sections */
@media (max-width: 960px) {
  :root {
    --section-pad: 88px;
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header__logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .site-header__actions {
    grid-column: 2;
    grid-row: 1;
    gap: 12px;
  }

  .site-header__phone {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 8px var(--gutter) 24px;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-line);
  }

  .site-header.is-open .site-nav {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 18px;
  }

  .site-nav__list a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--c-line-soft);
  }

  .site-nav a[aria-current="page"] {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-line-soft);
  }

  .hero--home {
    min-height: 760px;
    padding-bottom: 72px;
  }

  .hero--portfolio {
    min-height: 600px;
    padding-bottom: 64px;
  }

  .hero--home::before,
  .hero--portfolio::before {
    background:
      linear-gradient(0deg, var(--c-bg) 0, rgba(25, 25, 25, 0) 240px),
      linear-gradient(90deg, rgba(25, 25, 25, 0.92) 0%, rgba(25, 25, 25, 0.7) 100%);
  }

  .service-strip__list {
    gap: 10px 24px;
    font-size: 14px;
  }

  .service-strip__list li + li::before {
    margin-right: 24px;
  }

  .services {
    padding-bottom: 64px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head__sub {
    font-size: 22px;
  }

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

  .realtor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split--reverse .branding-cluster {
    order: 2;
  }

  .section-num {
    top: -56px;
    font-size: 110px;
  }

  .reel-row {
    justify-content: flex-start;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .reel-row::-webkit-scrollbar {
    display: none;
  }

  .reel-row .reel-card {
    width: 220px;
    scroll-snap-align: start;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .cta__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .cta__actions {
    width: 100%;
    max-width: 420px;
  }

  .site-footer__top {
    flex-direction: column;
  }

  .site-footer__cols {
    flex-wrap: wrap;
    gap: 40px 56px;
  }
}

/* ≤ 640px — phones */
@media (max-width: 640px) {
  .site-header__actions .btn--sm {
    height: 44px;
  }

  .site-header__actions .btn--sm svg {
    display: none;
  }

  .site-header__logo img {
    height: 24px;
  }

  .site-header__actions .btn--sm {
    padding: 0 12px;
    font-size: 14px;
  }

  .br-lg {
    display: none;
  }

  .jump-strip {
    justify-content: flex-start;
    padding-inline: 0;
  }

  .jump-strip__list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .jump-strip__list::-webkit-scrollbar {
    display: none;
  }

  .jump-strip__list li {
    flex-shrink: 0;
  }

  .jump-link {
    white-space: nowrap;
  }

  .hero--home {
    min-height: 700px;
  }

  .hero__content {
    gap: 20px;
  }

  .hero__kicker {
    font-size: 14px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .check-list {
    font-size: 15px;
  }

  .check-list li {
    align-items: flex-start;
  }

  .check-list svg {
    margin-top: 3px;
  }

  .service-strip__list {
    font-size: 12px;
    letter-spacing: 0.1em;
    gap: 8px 14px;
  }

  .service-strip__list li + li::before {
    margin-right: 14px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .logo-strip {
    padding: 56px 0 72px;
  }

  .logo-strip__title {
    margin-bottom: 40px;
    padding-inline: var(--gutter);
    font-size: 18px;
  }

  .logo-strip::before,
  .logo-strip::after {
    width: 60px;
  }

  .steps,
  .packages__row {
    grid-template-columns: 1fr;
  }

  .packages__row {
    max-width: 420px;
  }

  .realtor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-card {
    flex-basis: min(300px, 82vw);
    min-height: 440px;
    padding: 28px;
  }

  .film-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .branding-cluster {
    gap: 12px;
  }

  .branding-cluster .reel-card {
    width: calc((100% - 24px) / 3);
  }

  .branding-cluster .reel-card:nth-child(1) { margin-top: 28px; }
  .branding-cluster .reel-card:nth-child(3) { margin-top: 44px; }

  .branding-cluster .reel-card .play-btn {
    --size: 40px;
  }

  .reel-card__label {
    font-size: 11px;
  }

  .jump-link {
    height: 42px;
    padding: 0 16px;
    font-size: 12px;
  }

  .photo-grid__side {
    gap: 12px;
  }

  .photo-grid {
    gap: 12px;
  }

  .sound-btn {
    height: 36px;
    padding: 0 12px;
    font-size: 11px;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}
