/* ==========================================================================
   FRESHMENS LLC — static site stylesheet
   Hand-authored CSS (no Tailwind) converted 1:1 from the approved Next.js
   V1 build. Design tokens are locked per the brand brief — do not introduce
   new colors/typefaces without updating the tokens below first.

   Breakpoints used throughout (matches the source Tailwind config):
     sm: 640px   lg: 1024px   xl: 1280px

   Table of contents:
     1. Fonts
     2. Design tokens
     3. Reset / base
     4. Accessibility (skip link, focus states)
     5. Motion (keyframes + reduced-motion override)
     6. Layout primitives (container, section, eyebrow, buttons)
     7. Nav
     8. Footer
     9. Homepage — Hero
     10. Homepage — Intro
     11. Homepage — Specialties
     12. Homepage — Featured Transformation
     13. Homepage — Full Model
     14. Homepage — Deal Room Preview
     15. Before/After slider (shared component)
     16. Homepage — Room Share Spotlight
     17. Homepage — Behind the Build
     18. Homepage — Testimonial
     19. Homepage — Lead Pathways
     20. Homepage — Service Area / Final CTA
     21. Page hero (shared inner-page header)
     22. Process steps (shared)
     23. Services hub + sub-pages
     24. Projects page
     25. Deal Room
     26. About page
     27. Contact form
     28. Legal pages (Privacy / Terms)
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. Fonts — self-hosted, woff2 only. Variable fonts give us the full
   weight range from one file each. Paths are relative to /css/.
   ------------------------------------------------------------------------- */
@font-face {
  font-family: "Cormorant Garamond Variable";
  src: url("../fonts/cormorant-garamond-variable.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Variable";
  src: url("../fonts/inter-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* -------------------------------------------------------------------------
   2. Design tokens
   ------------------------------------------------------------------------- */
:root {
  /* color system */
  --color-onyx: #0f1012;
  --color-charcoal: #1b1d21;
  --color-gold: #c49a52;
  --color-champagne: #e8d9bf;
  --color-ivory: #f5f1e8;
  --color-stone: #b7aa99;

  /* rgba helpers for the translucent overlays used throughout */
  --ivory-95: rgba(245, 241, 232, 0.95);
  --ivory-90: rgba(245, 241, 232, 0.9);
  --ivory-85: rgba(245, 241, 232, 0.85);
  --ivory-80: rgba(245, 241, 232, 0.8);
  --ivory-75: rgba(245, 241, 232, 0.75);
  --ivory-70: rgba(245, 241, 232, 0.7);
  --ivory-60: rgba(245, 241, 232, 0.6);
  --ivory-40: rgba(245, 241, 232, 0.4);
  --ivory-25: rgba(245, 241, 232, 0.25);
  --ivory-15: rgba(245, 241, 232, 0.15);
  --ivory-10: rgba(245, 241, 232, 0.1);

  --onyx-95: rgba(15, 16, 18, 0.95);
  --onyx-85: rgba(15, 16, 18, 0.85);
  --onyx-70: rgba(15, 16, 18, 0.7);
  --onyx-60: rgba(15, 16, 18, 0.6);
  --onyx-50: rgba(15, 16, 18, 0.5);
  --onyx-30: rgba(15, 16, 18, 0.3);
  --onyx-25: rgba(15, 16, 18, 0.25);
  --onyx-15: rgba(15, 16, 18, 0.15);
  --onyx-10: rgba(15, 16, 18, 0.1);

  --gold-45: rgba(196, 154, 82, 0.45);
  --gold-40: rgba(196, 154, 82, 0.4);
  --gold-35: rgba(196, 154, 82, 0.35);

  /* type */
  --font-display: "Cormorant Garamond Variable", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter Variable", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* motion */
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 200ms;
  --duration-base: 400ms;
  --duration-slow: 700ms;

  color-scheme: light dark;
}

/* -------------------------------------------------------------------------
   3. Reset / base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--color-ivory);
  color: var(--color-onyx);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 1 auto;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Editorial display type: headlines only */
h1,
h2,
h3,
.font-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* -------------------------------------------------------------------------
   4. Accessibility
   ------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--color-gold);
  color: var(--color-onyx);
  padding: 0.6rem 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: 2px;
  transition: top var(--duration-fast) var(--ease-editorial);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* -------------------------------------------------------------------------
   5. Motion
   ------------------------------------------------------------------------- */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(0.85em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rule-extend {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 3rem;
    opacity: 1;
  }
}

@keyframes rule-extend-lg {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 4rem;
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-reveal-up {
  animation: reveal-up 900ms var(--ease-editorial) both;
}

.animate-rule-extend {
  animation: rule-extend 700ms var(--ease-editorial) both;
}

.animate-rule-extend-lg {
  animation: rule-extend-lg 700ms var(--ease-editorial) both;
}

.animate-fade-in {
  animation: fade-in 800ms var(--ease-editorial) both;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------------------
   6. Layout primitives
   ------------------------------------------------------------------------- */
.container {
  margin-inline: auto;
  width: 100%;
  max-width: 1280px;
  padding-inline: 1.5rem;
}

.container--wide {
  max-width: 1600px;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 3rem;
  }
}

.section {
  padding-block: 5rem;
}

@media (min-width: 640px) {
  .section {
    padding-block: 7rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-block: 8rem;
  }
}

.section--no-pad {
  padding-block: 0;
}

.section--onyx {
  background: var(--color-onyx);
  color: var(--color-ivory);
}

.section--charcoal {
  background: var(--color-charcoal);
  color: var(--color-ivory);
}

.section--ivory {
  background: var(--color-ivory);
  color: var(--color-onyx);
}

.gold-rule {
  display: block;
  height: 1px;
  width: 3rem;
  background: var(--color-gold);
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

@media (min-width: 640px) {
  .eyebrow__label {
    font-size: 0.875rem;
  }
}

/* Buttons — every CTA on the site uses one of these five variants */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 1rem 1.75rem;
  border: 1px solid transparent;
  transition: color 200ms, background-color 200ms, border-color 200ms;
  cursor: pointer;
}

@media (min-width: 640px) {
  .btn {
    font-size: 0.875rem;
  }
}

.btn--text {
  padding: 0.25rem 0;
}

.btn--solid {
  background: var(--color-gold);
  color: var(--color-onyx);
}

.btn--solid:hover {
  background: var(--color-champagne);
}

.btn--outline-light {
  border-color: var(--ivory-40);
  color: var(--color-ivory);
}

.btn--outline-light:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn--outline-dark {
  border-color: var(--onyx-30);
  color: var(--color-onyx);
}

.btn--outline-dark:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn--text-light {
  color: var(--color-ivory);
  text-underline-offset: 4px;
}

.btn--text-light:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

.btn--text-dark {
  color: var(--color-onyx);
  text-underline-offset: 4px;
}

.btn--text-dark:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.arrow-icon {
  transition: transform 300ms;
}

a:hover .arrow-icon,
.group:hover .arrow-icon {
  transform: translateX(4px);
}

/* -------------------------------------------------------------------------
   7. Nav
   ------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms, border-color 300ms;
}

.nav--solid {
  background: var(--onyx-95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--ivory-10);
}

.nav__bar {
  margin-inline: auto;
  max-width: 1600px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

@media (min-width: 640px) {
  .nav__bar {
    padding-inline: 2rem;
  }
}

@media (min-width: 1024px) {
  .nav__bar {
    padding-inline: 3rem;
  }
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__mark {
  height: 2.25rem;
  width: auto;
}

.nav__wordmark {
  height: 1.75rem;
  width: auto;
}

@media (min-width: 640px) {
  .nav__mark {
    height: 2.5rem;
  }
  .nav__wordmark {
    height: 2rem;
  }
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }
}

.nav__link {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ivory);
  transition: color 200ms;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-gold);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-gold);
  padding: 0.625rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  transition: color 200ms, background-color 200ms;
}

.nav__cta:hover {
  background: var(--color-gold);
  color: var(--color-onyx);
}

.nav__toggle {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  color: var(--color-ivory);
}

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

.nav__toggle-icon {
  position: relative;
  display: block;
  height: 1rem;
  width: 1.5rem;
}

.nav__toggle-bar {
  position: absolute;
  left: 0;
  height: 1px;
  width: 1.5rem;
  background: currentColor;
  transition: transform 200ms, opacity 200ms;
}

.nav__toggle-bar:nth-child(1) {
  top: 0;
}
.nav__toggle-bar:nth-child(2) {
  top: 7px;
}
.nav__toggle-bar:nth-child(3) {
  top: 14px;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset-inline: 0;
  top: 65px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-onyx);
  padding: 2.5rem 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms;
}

.mobile-nav--open {
  opacity: 1;
  pointer-events: auto;
}

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

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav__link {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--color-ivory);
  transition: color 200ms;
}

.mobile-nav__link:hover {
  color: var(--color-gold);
}

.mobile-nav__cta {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: var(--color-gold);
  padding: 1rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-onyx);
}

/* -------------------------------------------------------------------------
   8. Footer
   ------------------------------------------------------------------------- */
.footer {
  background: var(--color-onyx);
  color: var(--color-ivory);
}

.footer__inner {
  margin-inline: auto;
  max-width: 1600px;
  padding: 4rem 1.5rem;
}

@media (min-width: 640px) {
  .footer__inner {
    padding-inline: 2rem;
  }
}

@media (min-width: 1024px) {
  .footer__inner {
    padding: 5rem 3rem;
  }
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer__logo-box {
  position: relative;
  aspect-ratio: 3 / 2;
  width: 16rem;
}

@media (min-width: 640px) {
  .footer__logo-box {
    width: 18rem;
  }
}

.footer__logo-box img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: left;
}

.footer__tagline {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-champagne);
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-stone);
}

.footer__list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__list a {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--color-ivory);
  transition: color 200ms;
}

.footer__list a:hover {
  color: var(--color-gold);
}

.footer__list a.footer__cta-link {
  color: var(--color-gold);
}

.footer__list a.footer__cta-link:hover {
  color: var(--color-champagne);
}

.footer__meta {
  margin-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--color-stone);
}

.footer__bottom {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--ivory-10);
  padding-top: 2rem;
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer__copyright {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--color-stone);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--color-stone);
  transition: color 200ms;
}

.footer__legal a:hover {
  color: var(--color-gold);
}

/* -------------------------------------------------------------------------
   9. Homepage — Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: var(--color-onyx);
  color: var(--color-ivory);
}

.hero__scrim {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 10;
  height: 10rem;
  background: linear-gradient(to bottom, var(--onyx-70), transparent);
}

.hero__content {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  padding: 7rem 1.5rem;
}

@media (min-width: 640px) {
  .hero__content {
    padding-inline: 2.5rem;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero__content {
    gap: 2.25rem;
    padding-block: 0;
    padding-left: 4rem;
    padding-right: 8rem;
  }
}

@media (min-width: 1280px) {
  .hero__content {
    padding-left: 6rem;
    padding-right: 10rem;
  }
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__eyebrow-rule {
  display: block;
  height: 1px;
  width: 3rem;
  background: var(--color-gold);
}

.hero__eyebrow-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

@media (min-width: 640px) {
  .hero__eyebrow-label {
    font-size: 0.875rem;
  }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 9.375rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.hero__headline span {
  display: block;
}

.hero__headline .is-gold {
  color: var(--color-gold);
}

.hero__rule {
  display: block;
  height: 1px;
  width: 4rem;
  background: var(--color-gold);
}

.hero__copy {
  max-width: 28rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-stone);
}

@media (min-width: 640px) {
  .hero__copy {
    font-size: 1.125rem;
  }
}

.hero__detail {
  pointer-events: none;
  position: absolute;
  right: 2.5rem;
  top: 50%;
  z-index: 5;
  display: none;
  transform: translateY(-50%);
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .hero__detail {
    display: flex;
  }
}

@media (min-width: 1280px) {
  .hero__detail {
    right: 4rem;
  }
}

.hero__detail-label {
  color: var(--gold-45);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  writing-mode: vertical-rl;
}

.hero__detail-rule {
  height: 10rem;
  width: 1px;
  background: var(--gold-35);
}

/* -------------------------------------------------------------------------
   10. Homepage — Intro
   ------------------------------------------------------------------------- */
.intro__grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 3rem;
}

@media (min-width: 1024px) {
  .intro__grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

.intro__heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.08;
}

@media (min-width: 640px) {
  .intro__heading {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .intro__heading {
    grid-column: span 7;
    font-size: 3.4rem;
  }
}

.intro__heading .is-gold {
  color: var(--color-gold);
}

.intro__copy {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--onyx-70);
}

@media (min-width: 640px) {
  .intro__copy {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .intro__copy {
    grid-column: span 5;
    align-self: end;
    padding-bottom: 0.25rem;
  }
}

.intro__proof-wrap {
  margin-top: 5rem;
  border-top: 1px solid var(--onyx-15);
}

@media (min-width: 640px) {
  .intro__proof-wrap {
    margin-top: 6rem;
  }
}

.intro__proof {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .intro__proof {
    grid-template-columns: repeat(3, 1fr);
  }
}

.intro__proof-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 2rem;
}

.intro__proof-item:not(:first-child) {
  border-top: 1px solid var(--onyx-15);
}

@media (min-width: 640px) {
  .intro__proof-item:not(:first-child) {
    border-top: 0;
    border-left: 1px solid var(--onyx-15);
    padding-left: 2rem;
  }
}

.intro__proof-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-gold);
}

@media (min-width: 640px) {
  .intro__proof-number {
    font-size: 1.875rem;
  }
}

.intro__proof-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

@media (min-width: 640px) {
  .intro__proof-label {
    font-size: 1.5rem;
  }
}

.intro__proof-wrap .rule-bottom {
  border-top: 1px solid var(--onyx-15);
}

/* -------------------------------------------------------------------------
   11. Homepage — Specialties
   ------------------------------------------------------------------------- */
.specialties {
  background: var(--color-ivory);
  color: var(--color-onyx);
  padding-block: 5rem;
}

@media (min-width: 640px) {
  .specialties {
    padding-block: 7rem;
  }
}

@media (min-width: 1024px) {
  .specialties {
    padding-block: 8rem;
  }
}

.specialties__heading {
  margin-top: 1.5rem;
  max-width: 48rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.08;
}

@media (min-width: 640px) {
  .specialties__heading {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .specialties__heading {
    font-size: 3.2rem;
  }
}

.specialties-desktop {
  display: none;
  margin-top: 3.5rem;
  padding-inline: 1.5rem;
}

@media (min-width: 640px) {
  .specialties-desktop {
    padding-inline: 2rem;
  }
}

@media (min-width: 1024px) {
  .specialties-desktop {
    display: block;
    padding-inline: 3rem;
  }
}

.specialties-desktop__row {
  margin-inline: auto;
  display: flex;
  height: 620px;
  max-width: 1600px;
}

.specialty-panel {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border-top: 1px solid var(--ivory-10);
  flex-basis: 0;
  flex-grow: 1;
  transition: flex-grow 600ms var(--ease-editorial);
  cursor: pointer;
}

.specialty-panel:first-child {
  border-top: 0;
}

@media (min-width: 1024px) {
  .specialty-panel {
    border-top: 0;
    border-left: 1px solid var(--ivory-10);
  }
  .specialty-panel:first-child {
    border-left: 0;
  }
}

.specialty-panel--any-active {
  flex-grow: 0.75;
}

.specialty-panel--active {
  flex-grow: 2.4;
}

.specialty-panel__media {
  position: absolute;
  inset: 0;
}

.specialty-panel__media img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 700ms, opacity 700ms;
}

.specialty-panel__media .is-before {
  opacity: 1;
}

.specialty-panel__media .is-after {
  opacity: 0;
}

.specialty-panel--active .specialty-panel__media .is-before {
  opacity: 0;
}

.specialty-panel--active .specialty-panel__media .is-after {
  opacity: 1;
}

.specialty-panel--active .specialty-panel__media img.is-single {
  transform: scale(1.05);
}

.specialty-panel__ba-label {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ivory-70);
}

.specialty-panel--active .specialty-panel__ba-label {
  color: var(--color-gold);
}

.specialty-panel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-onyx), var(--onyx-60) 60%, rgba(15, 16, 18, 0.1));
  opacity: 0.95;
  transition: opacity 500ms;
}

.specialty-panel--active .specialty-panel__overlay {
  opacity: 0.7;
  background: linear-gradient(to top, var(--color-onyx), var(--onyx-30) 60%, rgba(15, 16, 18, 0.1));
}

.specialty-panel__edge {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--color-gold);
  opacity: 0;
  transition: opacity 300ms;
}

@media (min-width: 1024px) {
  .specialty-panel__edge {
    inset-block: 0;
    inset-inline: auto;
    left: 0;
    top: auto;
    width: 3px;
    height: auto;
  }
}

.specialty-panel--active .specialty-panel__edge {
  opacity: 1;
}

.specialty-panel__content {
  position: relative;
  z-index: 10;
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

@media (min-width: 640px) {
  .specialty-panel__content {
    padding: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .specialty-panel__content {
    padding: 2.5rem;
  }
}

.specialty-panel__number {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--color-gold);
}

@media (min-width: 640px) {
  .specialty-panel__number {
    font-size: 2.25rem;
  }
}

.specialty-panel__title {
  margin-top: 0.75rem;
  white-space: pre-line;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--color-ivory);
}

@media (min-width: 640px) {
  .specialty-panel__title {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .specialty-panel__title {
    font-size: 1.9rem;
  }
}

.specialty-panel__reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms;
}

.specialty-panel--active .specialty-panel__reveal {
  grid-template-rows: 1fr;
}

.specialty-panel__reveal-inner {
  overflow: hidden;
}

.specialty-panel__copy {
  margin-top: 1rem;
  max-width: 24rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--ivory-80);
}

@media (min-width: 640px) {
  .specialty-panel__copy {
    font-size: 1rem;
  }
}

.specialty-panel__cta {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
}

.specialty-panel__cta:hover {
  color: var(--color-champagne);
}

.specialties-mobile {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.specialty-card {
  position: relative;
  overflow: hidden;
  background: var(--color-onyx);
}

.specialty-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
}

.specialty-card__media img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.specialty-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-onyx), var(--onyx-30) 60%, rgba(15, 16, 18, 0.1));
}

.specialty-card__overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem;
}

.specialty-card__number {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--color-gold);
}

.specialty-card__title {
  margin-top: 0.5rem;
  white-space: pre-line;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--color-ivory);
}

.specialty-card__body {
  padding: 1.5rem;
}

.specialty-card__copy {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--ivory-80);
}

@media (min-width: 640px) {
  .specialty-card__copy {
    font-size: 1rem;
  }
}

.specialty-card__cta {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
}

.specialty-card__cta:hover {
  color: var(--color-champagne);
}

/* -------------------------------------------------------------------------
   Shared "row grid" heading/copy pattern used by Featured Transformation,
   Full Model, Deal Room Preview, Lead Pathways (2-col intro rows)
   ------------------------------------------------------------------------- */
.row-heading {
  margin-top: 1.5rem;
  max-width: 48rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.08;
}

@media (min-width: 640px) {
  .row-heading {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .row-heading {
    font-size: 3.4rem;
  }
}

.two-col-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 3rem;
}

@media (min-width: 1024px) {
  .two-col-intro {
    grid-template-columns: repeat(12, 1fr);
  }
  .two-col-intro__main {
    grid-column: span 7;
  }
  .two-col-intro__side {
    grid-column: span 5;
    align-self: end;
    padding-bottom: 0.25rem;
  }
}

/* -------------------------------------------------------------------------
   12. Homepage — Featured Transformation
   ------------------------------------------------------------------------- */
.featured__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .featured__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }
}

.featured__media {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
}

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

.featured__media-scrim {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--onyx-70), transparent 70%);
}

.featured__badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.featured__number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-gold);
}

@media (min-width: 640px) {
  .featured__number {
    font-size: 1.875rem;
  }
}

.featured__title {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
}

@media (min-width: 640px) {
  .featured__title {
    font-size: 2.25rem;
  }
}

.featured__tagline {
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  color: var(--color-gold);
}

.featured__dl {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid var(--ivory-15);
  padding-top: 2rem;
}

.featured__dt {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-stone);
}

.featured__dd {
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ivory-85);
}

@media (min-width: 640px) {
  .featured__dd {
    font-size: 1.125rem;
  }
}

.featured__dd--muted {
  font-style: italic;
  color: var(--color-stone);
}

.featured__cta {
  margin-top: 2.5rem;
}

/* -------------------------------------------------------------------------
   13. Homepage — Full Model
   ------------------------------------------------------------------------- */
.model__rows {
  margin-top: 4rem;
  border-top: 1px solid var(--onyx-15);
}

@media (min-width: 640px) {
  .model__rows {
    margin-top: 5rem;
  }
}

.model__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  border-bottom: 1px solid var(--onyx-15);
  padding-block: 2rem;
}

@media (min-width: 640px) {
  .model__row {
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: 1.5rem;
  }
}

.model__edge {
  position: absolute;
  inset-block: 0;
  left: -1.5rem;
  width: 3px;
  transform: scaleY(0);
  background: var(--color-gold);
  transition: transform 300ms;
}

@media (min-width: 640px) {
  .model__edge {
    left: -2rem;
  }
}

.model__row:hover .model__edge,
.model__row:focus-within .model__edge {
  transform: scaleY(1);
}

.model__title-group {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

@media (min-width: 640px) {
  .model__title-group {
    grid-column: span 4;
  }
}

.model__number {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-gold);
}

@media (min-width: 640px) {
  .model__number {
    font-size: 1.5rem;
  }
}

.model__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  transition: transform 300ms;
}

@media (min-width: 640px) {
  .model__title {
    font-size: 1.875rem;
  }
}

.model__row:hover .model__title,
.model__row:hover .model__line {
  transform: translateX(0.5rem);
}

.model__line {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--onyx-70);
  transition: transform 300ms;
}

@media (min-width: 640px) {
  .model__line {
    grid-column: span 8;
    font-size: 1.125rem;
  }
}

/* -------------------------------------------------------------------------
   14. Homepage — Deal Room Preview
   ------------------------------------------------------------------------- */
.deal-preview__eyebrow-block {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-champagne);
  margin-top: 1rem;
}

.deal-preview__copy {
  margin-top: 1.5rem;
  max-width: 32rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ivory-80);
}

@media (min-width: 640px) {
  .deal-preview__copy {
    font-size: 1.125rem;
  }
}

.deal-preview__side-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-stone);
}

.deal-tags {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.deal-tag {
  display: inline-block;
  border: 1px solid var(--gold-40);
  padding: 0.5rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
}

.deal-tag--muted {
  border-color: var(--ivory-25);
  color: var(--ivory-70);
}

.deal-preview__note {
  margin-top: 1.5rem;
  max-width: 24rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--color-stone);
}

/* -------------------------------------------------------------------------
   15. Before/After slider (shared: homepage Room Share Spotlight, the
   Room Share service page, and the Projects page room-share entry)
   ------------------------------------------------------------------------- */
.baf {
  position: relative;
  user-select: none;
  overflow: hidden;
  background: var(--color-onyx);
  aspect-ratio: 4 / 5;
}

@media (min-width: 640px) {
  .baf {
    aspect-ratio: 16 / 10;
  }
}

.baf__before,
.baf__after-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.baf__before img,
.baf__after-wrap img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.baf__after-wrap {
  /* clip-path inset is set inline via JS as the value changes */
  clip-path: inset(0 50% 0 0);
}

.baf__topscrim {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 5rem;
  background: linear-gradient(to bottom, var(--onyx-60), transparent);
}

.baf__label {
  pointer-events: none;
  position: absolute;
  top: 1rem;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-ivory);
  transition: opacity 200ms;
}

.baf__label--before {
  left: 1rem;
}

.baf__label--after {
  right: 1rem;
  color: var(--color-gold);
}

.baf__divider {
  pointer-events: none;
  position: absolute;
  inset-block: 0;
  width: 1px;
  background: var(--ivory-90);
  /* left offset set inline via JS */
  left: 50%;
}

.baf__handle {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--ivory-70);
  background: var(--onyx-85);
}

.baf__input {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  cursor: ew-resize;
  appearance: none;
  background: transparent;
}

/* Real hit target, not stretched to 100% — a full-size invisible thumb
   leaves the browser's own click/drag-to-position math with no travel
   room, which silently breaks mouse and touch dragging entirely (only
   keyboard still works). 44px matches the decorative handle above. */
.baf__input::-webkit-slider-runnable-track {
  height: 100%;
  background: transparent;
}
.baf__input::-webkit-slider-thumb {
  height: 44px;
  width: 44px;
  margin-top: 0;
  appearance: none;
  border-radius: 999px;
  background: transparent;
}
.baf__input::-moz-range-track {
  height: 100%;
  background: transparent;
}
.baf__input::-moz-range-thumb {
  height: 44px;
  width: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

/* -------------------------------------------------------------------------
   16. Homepage — Room Share Spotlight
   ------------------------------------------------------------------------- */
.room-spotlight__intro {
  max-width: 42rem;
}

.room-spotlight__copy {
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--onyx-70);
}

@media (min-width: 640px) {
  .room-spotlight__copy {
    font-size: 1.125rem;
  }
}

.room-spotlight__grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .room-spotlight__grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: 4rem;
  }
  .room-spotlight__media {
    grid-column: span 7;
  }
  .room-spotlight__body {
    grid-column: span 5;
  }
}

.room-spotlight__pitch {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.375;
}

@media (min-width: 640px) {
  .room-spotlight__pitch {
    font-size: 1.875rem;
  }
}

.room-spotlight__pitch .is-gold {
  color: var(--color-gold);
}

.room-spotlight__note {
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--onyx-60);
}

.room-spotlight__cta {
  margin-top: 2rem;
}

/* -------------------------------------------------------------------------
   17. Homepage — Behind the Build
   ------------------------------------------------------------------------- */
.behind {
  position: relative;
  isolation: isolate;
  min-height: 85vh;
  overflow: hidden;
  background: var(--color-onyx);
  color: var(--color-ivory);
}

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

.behind__scrim-a {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-onyx), var(--onyx-60) 60%, rgba(15, 16, 18, 0.1));
}

.behind__scrim-b {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--onyx-50), transparent 60%);
}

.behind__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 85vh;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: 4rem;
}

@media (min-width: 640px) {
  .behind__content {
    padding-block: 5rem;
  }
}

.behind__heading {
  max-width: 42rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .behind__heading {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .behind__heading {
    font-size: 2.75rem;
  }
}

.behind__copy {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ivory-80);
}

@media (min-width: 640px) {
  .behind__copy {
    font-size: 1.125rem;
  }
}

.behind__cta {
  margin-top: 2rem;
}

/* -------------------------------------------------------------------------
   18. Homepage — Testimonial
   ------------------------------------------------------------------------- */
.testimonial__heading {
  margin-inline: auto;
  max-width: 42rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.08;
}

@media (min-width: 640px) {
  .testimonial__heading {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .testimonial__heading {
    font-size: 3.2rem;
  }
}

.testimonial__body {
  margin-top: 3.5rem;
}

.testimonial__grid {
  margin-inline: auto;
  display: grid;
  max-width: 64rem;
  gap: 2.5rem;
}

.testimonial__grid--1 {
  max-width: 42rem;
}

@media (min-width: 640px) {
  .testimonial__grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial__grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial__quote {
  border-top: 1px solid var(--onyx-15);
  padding-top: 1.5rem;
}

blockquote.testimonial__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.375;
  color: var(--onyx-85);
}

@media (min-width: 640px) {
  blockquote.testimonial__text {
    font-size: 1.5rem;
  }
}

.testimonial__attribution {
  margin-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--onyx-60);
}

.testimonial__empty {
  margin-inline: auto;
  max-width: 36rem;
  border-top: 1px solid var(--onyx-15);
  border-bottom: 1px solid var(--onyx-15);
  padding-block: 2.5rem;
  text-align: center;
}

.testimonial__empty-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.testimonial__empty-copy {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--onyx-70);
}

@media (min-width: 640px) {
  .testimonial__empty-copy {
    font-size: 1.5rem;
  }
}

/* -------------------------------------------------------------------------
   19. Homepage — Lead Pathways
   ------------------------------------------------------------------------- */
.pathways__side {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ivory-75);
}

@media (min-width: 640px) {
  .pathways__side {
    font-size: 1.125rem;
  }
}

.pathways__list {
  margin-top: 4rem;
  border-top: 1px solid var(--ivory-15);
}

@media (min-width: 640px) {
  .pathways__list {
    margin-top: 5rem;
  }
}

.pathway {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-bottom: 1px solid var(--ivory-15);
  padding-block: 2rem;
}

@media (min-width: 640px) {
  .pathway {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.pathway__edge {
  position: absolute;
  inset-block: 0;
  left: -1.5rem;
  width: 3px;
  transform: scaleY(0);
  background: var(--color-gold);
  transition: transform 300ms;
}

@media (min-width: 640px) {
  .pathway__edge {
    left: -2rem;
  }
}

.pathway:hover .pathway__edge,
.pathway:focus-visible .pathway__edge {
  transform: scaleY(1);
}

.pathway__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  transition: transform 300ms;
}

@media (min-width: 640px) {
  .pathway__title {
    font-size: 1.875rem;
  }
}

.pathway:hover .pathway__title {
  transform: translateX(0.5rem);
}

.pathway__desc {
  margin-top: 0.5rem;
  max-width: 32rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--ivory-70);
}

@media (min-width: 640px) {
  .pathway__desc {
    font-size: 1rem;
  }
}

.pathway__get-started {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
}

.pathways__cta {
  margin-top: 3rem;
}

/* -------------------------------------------------------------------------
   20. Homepage — Service Area / Final CTA
   ------------------------------------------------------------------------- */
.service-area {
  padding-block: 4rem;
}

@media (min-width: 640px) {
  .service-area {
    padding-block: 5rem;
  }
}

@media (min-width: 1024px) {
  .service-area {
    padding-block: 6rem;
  }
}

.service-area__inner {
  margin-inline: auto;
  max-width: 36rem;
  text-align: center;
}

.service-area__heading {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .service-area__heading {
    font-size: 2.25rem;
  }
}

.service-area__copy {
  margin-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--onyx-70);
}

@media (min-width: 640px) {
  .service-area__copy {
    font-size: 1.125rem;
  }
}

.final-cta {
  padding-block: 6rem;
}

@media (min-width: 640px) {
  .final-cta {
    padding-block: 8rem;
  }
}

@media (min-width: 1024px) {
  .final-cta {
    padding-block: 10rem;
  }
}

.final-cta__inner {
  margin-inline: auto;
  max-width: 48rem;
  text-align: center;
}

.final-cta__heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.05;
}

@media (min-width: 640px) {
  .final-cta__heading {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .final-cta__heading {
    font-size: 3.75rem;
  }
}

.final-cta__heading .is-gold {
  color: var(--color-gold);
}

.final-cta__row {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* -------------------------------------------------------------------------
   21. Page hero (shared header for every inner page)
   ------------------------------------------------------------------------- */
.page-hero {
  background: var(--color-onyx);
  padding: 9rem 0 5rem;
  color: var(--color-ivory);
}

@media (min-width: 640px) {
  .page-hero {
    padding: 11rem 0 6rem;
  }
}

.page-hero__title {
  max-width: 48rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.05;
}

.page-hero__title--with-eyebrow {
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .page-hero__title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .page-hero__title {
    font-size: 3.75rem;
  }
}

.page-hero__desc {
  margin-top: 1.5rem;
  max-width: 32rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-stone);
}

@media (min-width: 640px) {
  .page-hero__desc {
    font-size: 1.125rem;
  }
}

.page-hero__ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* -------------------------------------------------------------------------
   22. Process steps (Rehabs / Flips / Room Share pages)
   ------------------------------------------------------------------------- */
.process {
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .process {
    flex-direction: row;
  }
}

.process__step {
  flex: 1 1 0;
  padding-block: 1.5rem;
  border-top: 1px solid var(--onyx-15);
}

.process__step:first-child {
  padding-top: 0;
  border-top: 0;
}

@media (min-width: 640px) {
  .process__step {
    padding: 0.5rem 2rem;
    border-top: 0;
    border-left: 1px solid var(--onyx-15);
  }
  .process__step:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

.process--onyx .process__step {
  border-color: var(--ivory-15);
}

.process__number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-gold);
}

@media (min-width: 640px) {
  .process__number {
    font-size: 1.875rem;
  }
}

.process__label {
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-onyx);
}

.process--onyx .process__label {
  color: var(--color-ivory);
}

@media (min-width: 640px) {
  .process__label {
    font-size: 1rem;
  }
}

/* -------------------------------------------------------------------------
   23. Services hub + sub-pages
   ------------------------------------------------------------------------- */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 640px) {
  .services-list {
    gap: 5rem;
  }
}

@media (min-width: 1024px) {
  .services-list {
    gap: 6rem;
  }
}

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .service-row {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .service-row--reverse > .service-row__media {
    order: 2;
  }
}

.service-row__media {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
}

.service-row__media img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 700ms;
}

.service-row:hover .service-row__media img {
  transform: scale(1.05);
}

.service-row__number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-gold);
}

@media (min-width: 640px) {
  .service-row__number {
    font-size: 1.875rem;
  }
}

.service-row__title {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.08;
}

@media (min-width: 640px) {
  .service-row__title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .service-row__title {
    font-size: 2.75rem;
  }
}

.service-row__tagline {
  margin-top: 1rem;
  max-width: 28rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--onyx-70);
}

@media (min-width: 640px) {
  .service-row__tagline {
    font-size: 1.125rem;
  }
}

.service-row__link {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
}

.secondary-services__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-stone);
}

.secondary-services__list {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2.5rem;
  border-top: 1px solid var(--onyx-15);
  padding-top: 1.5rem;
}

@media (min-width: 640px) {
  .secondary-services__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .secondary-services__list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.secondary-services__list li {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--onyx-70);
}

.real-work-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-stone);
}

.real-work-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .real-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.real-work-grid figure {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.real-work-grid img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.centered-cta {
  margin-inline: auto;
  max-width: 36rem;
  text-align: center;
}

.centered-cta__heading {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .centered-cta__heading {
    font-size: 2.25rem;
  }
}

.centered-cta__row {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.two-col-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  border-top: 1px solid var(--onyx-15);
  padding-top: 2.5rem;
}

@media (min-width: 640px) {
  .two-col-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

.two-col-list h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

@media (min-width: 640px) {
  .two-col-list h2 {
    font-size: 1.875rem;
  }
}

.two-col-list ul {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.two-col-list li {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--onyx-70);
}

.room-share-model-note {
  margin-top: 4rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-gold);
}

@media (min-width: 640px) {
  .room-share-model-note {
    font-size: 1.875rem;
  }
}

/* -------------------------------------------------------------------------
   24. Projects page
   ------------------------------------------------------------------------- */
.projects-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-btn {
  border: 1px solid var(--onyx-25);
  padding: 0.625rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--onyx-70);
  transition: color 200ms, border-color 200ms, background-color 200ms;
}

.filter-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.filter-btn.is-active {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-onyx);
}

.project {
  display: none;
}

.project.is-visible {
  display: block;
}

.project__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.project__number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-gold);
}

@media (min-width: 640px) {
  .project__number {
    font-size: 1.875rem;
  }
}

.project__category {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-stone);
}

.section--ivory .project__category {
  color: var(--onyx-50);
}

.project__title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.08;
}

@media (min-width: 640px) {
  .project__title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .project__title {
    font-size: 2.75rem;
  }
}

.project__tagline {
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  color: var(--color-gold);
}

.project__grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .project__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 4rem;
  }
}

.project__media {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
}

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

.project__dl {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project__dt {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-stone);
}

.section--ivory .project__dt {
  color: var(--onyx-50);
}

.project__dd {
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
}

@media (min-width: 640px) {
  .project__dd {
    font-size: 1.125rem;
  }
}

.project__dd--muted {
  font-style: italic;
  color: var(--color-stone);
}

.section--ivory .project__dd--muted {
  color: var(--onyx-50);
}

/* -------------------------------------------------------------------------
   25. Deal Room
   ------------------------------------------------------------------------- */
.deal-empty {
  border: 1px solid var(--ivory-15);
  padding: 3.5rem 2rem;
  text-align: center;
}

@media (min-width: 640px) {
  .deal-empty {
    padding: 3.5rem 4rem;
  }
}

.deal-empty__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.deal-empty__copy {
  margin-inline: auto;
  margin-top: 1.25rem;
  max-width: 36rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.375;
}

@media (min-width: 640px) {
  .deal-empty__copy {
    font-size: 1.875rem;
  }
}

.deal-taxonomy {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  border-top: 1px solid var(--ivory-15);
  padding-top: 2.5rem;
}

@media (min-width: 640px) {
  .deal-taxonomy {
    grid-template-columns: repeat(2, 1fr);
  }
}

.deal-taxonomy__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-stone);
}

.deal-taxonomy__tags {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Deal-detail (opportunity) template, ready for a future real listing */
.opportunity-hero {
  background: var(--color-onyx);
  padding: 9rem 0 4rem;
  color: var(--color-ivory);
}

@media (min-width: 640px) {
  .opportunity-hero {
    padding: 11rem 0 5rem;
  }
}

.opportunity-not-live__desc {
  margin-top: 1.5rem;
  max-width: 32rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-stone);
}

@media (min-width: 640px) {
  .opportunity-not-live__desc {
    font-size: 1.125rem;
  }
}

.opportunity-not-live__cta {
  margin-top: 2.5rem;
}

/* -------------------------------------------------------------------------
   26. About page
   ------------------------------------------------------------------------- */
.about-intro {
  max-width: 42rem;
}

.about-intro__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.about-intro__lead {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.375;
}

@media (min-width: 640px) {
  .about-intro__lead {
    font-size: 1.875rem;
  }
}

.about-intro__copy {
  margin-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--onyx-70);
}

@media (min-width: 640px) {
  .about-intro__copy {
    font-size: 1.125rem;
  }
}

.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 3rem;
}

@media (min-width: 640px) {
  .principles {
    grid-template-columns: repeat(2, 1fr);
  }
}

.principle {
  display: flex;
  gap: 1rem;
}

.principle__rule {
  margin-top: 0.5rem;
  display: block;
  height: 1px;
  width: 2rem;
  flex-shrink: 0;
  background: var(--color-gold);
}

.principle__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.375;
}

@media (min-width: 640px) {
  .principle__text {
    font-size: 1.5rem;
  }
}

/* -------------------------------------------------------------------------
   27. Contact form
   ------------------------------------------------------------------------- */
.contact-page {
  background: var(--color-onyx);
  padding: 9rem 0 6rem;
  color: var(--color-ivory);
}

@media (min-width: 640px) {
  .contact-page {
    padding: 11rem 0 8rem;
  }
}

.contact-page__title {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.05;
}

@media (min-width: 640px) {
  .contact-page__title {
    font-size: 3rem;
  }
}

.contact-form-wrap {
  margin-top: 3.5rem;
}

.contact-paths__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-stone);
}

.contact-paths {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.path-btn {
  border: 1px solid var(--ivory-25);
  padding: 0.75rem 1.25rem;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--ivory-85);
  transition: color 200ms, border-color 200ms, background-color 200ms;
}

.path-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.path-btn.is-active {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-onyx);
}

.contact-form {
  display: none;
  margin-top: 3rem;
  max-width: 36rem;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form.is-visible {
  display: flex;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-field label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-stone);
}

.form-field input,
.form-field select,
.form-field textarea {
  margin-top: 0.5rem;
  width: 100%;
  border: 1px solid var(--ivory-25);
  background: transparent;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-ivory);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ivory-40);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-gold);
  outline: none;
}

.form-field select option {
  color: var(--color-onyx);
}

.contact-form .btn {
  margin-top: 0.5rem;
  width: fit-content;
}

.contact-confirmation {
  display: none;
  max-width: 36rem;
}

.contact-confirmation.is-visible {
  display: block;
}

.contact-confirmation__heading {
  font-family: var(--font-display);
  font-size: 1.875rem;
}

@media (min-width: 640px) {
  .contact-confirmation__heading {
    font-size: 2.25rem;
  }
}

.contact-confirmation__copy {
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ivory-80);
}

@media (min-width: 640px) {
  .contact-confirmation__copy {
    font-size: 1.125rem;
  }
}

.contact-confirmation__copy a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-confirmation__copy a:hover {
  color: var(--color-champagne);
}

.contact-confirmation__summary {
  margin-top: 2rem;
  white-space: pre-wrap;
  border: 1px solid var(--ivory-15);
  background: var(--color-charcoal);
  padding: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--ivory-80);
}

.copy-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--ivory-40);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-ivory);
  transition: color 200ms, border-color 200ms;
}

.copy-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* -------------------------------------------------------------------------
   28. Legal pages
   ------------------------------------------------------------------------- */
.legal-intro {
  max-width: 42rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--onyx-70);
}

@media (min-width: 640px) {
  .legal-intro {
    font-size: 1.125rem;
  }
}

.legal-list {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--onyx-15);
}

.legal-item {
  border-bottom: 1px solid var(--onyx-15);
  padding-block: 2rem;
}

.legal-item h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

@media (min-width: 640px) {
  .legal-item h2 {
    font-size: 1.5rem;
  }
}

.legal-item p {
  margin-top: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--onyx-50);
}

@media (min-width: 640px) {
  .legal-item p {
    font-size: 1rem;
  }
}

/* -------------------------------------------------------------------------
   Utility helpers used sparingly across pages
   ------------------------------------------------------------------------- */
.is-gold {
  color: var(--color-gold);
}

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