@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne.woff2') format('woff2');
  font-weight: 700 800;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ground: #EDE9E1;
  --card: #FFFFFF;
  --ink: #333233;
  --body: #2A2A2B;
  --accent: #EC572B;
  --accent-ink: #A83C1A;
  --cta-fill: #B8431E;
  --caption: #63676A;
  --hairline: #D8D2C6;
  --masthead: #333233;
  --footer: #26251F;

  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--ground);
  color: var(--body);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.05;
  font-weight: 800;
}

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

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

ul {
  list-style: none;
}

.kicker, .spec-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--caption);
}
.kicker.orange, .spec-label.orange {
  color: var(--accent-ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cta-fill);
  color: #FFF;
  font-family: var(--font-body);
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-outline {
  background-color: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

/* Header */
header.masthead {
  background-color: var(--masthead);
  color: #FFF;
  padding: 0.8rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 50;
}
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.logo-disc {
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--accent);
  border-radius: 50%;
}
.logo-text {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.logo-hdr {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #FFF;
}
.logo-desc {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  display: none;
}

nav.desktop-nav {
  display: none;
}

.mobile-menu-details {
  position: relative;
}
.mobile-menu-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
.mobile-menu-details summary::-webkit-details-marker {
  display: none;
}
.mobile-nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--masthead);
  padding: 1rem;
  min-width: 200px;
  border-radius: 0 0 0 6px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}
.mobile-nav-dropdown a {
  color: #FFF;
  font-size: 0.9rem;
}
.mobile-nav-dropdown .btn {
  padding: 0.6rem;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .logo-desc { display: block; }
  .mobile-menu-details { display: none; }
  nav.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  nav.desktop-nav a {
    font-size: 0.9rem;
    font-weight: 700;
  }
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
}
.hero-copy {
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.75rem);
  line-height: 1.02;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-subhead {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 36rem;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.micro-trust {
  font-size: 0.85rem;
  color: var(--caption);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-cover {
  position: relative;
  height: 60vh;
  min-height: 400px;
}
.hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-caption-tab {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: var(--ink);
  color: #FFF;
  padding: 0.6rem 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
    height: calc(100vh - 70px);
    min-height: 600px;
  }
  .hero-copy {
    width: 48%;
    padding: 4rem 4rem 4rem 6rem;
  }
  .hero-cover {
    width: 52%;
    height: 100%;
  }
  .hero-ctas {
    flex-direction: row;
  }
}

/* Trust Strip */
.trust-strip {
  background-color: var(--card);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}
.trust-item {
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  flex: 1 1 auto;
}

@media (min-width: 768px) {
  .trust-strip {
    padding: 2rem 4rem;
  }
}

/* Reveal Section */
.vision-sequence {
  padding: 4rem 1.5rem;
}
.vision-sequence .container {
  max-width: 1200px;
  margin: 0 auto;
}
.vision-header {
  margin-bottom: 2rem;
}
.vision-header .kicker {
  color: var(--accent-ink);
}
.vision-header h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.vision-header p {
  max-width: 45rem;
}
.stepper-container {
  background-color: var(--card);
  padding: 1rem;
  margin-top: 2rem;
}
.stepper-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  overflow-x: auto;
}
.step-tab {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--caption);
  padding: 0.5rem 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.step-tab.active {
  color: var(--accent-ink);
  border-bottom-color: var(--accent);
}
.stepper-stage {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--ground);
}
.stepper-layer {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.stepper-layer.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.stepper-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stepper-caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--caption);
  text-align: right;
  min-height: 1.5em;
}

@media (min-width: 1024px) {
  .vision-sequence {
    padding: 6rem 4rem;
  }
  .stepper-stage {
    aspect-ratio: 16/9;
  }
}

/* Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
  .stepper-tabs { display: none; }
  .stepper-stage { display: none; }
  .stepper-caption { display: none; }
  .rm-fallback {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
  }
  .rm-frame {
    background: var(--card);
    padding: 1rem;
  }
  .rm-frame img {
    aspect-ratio: 4/3;
    object-fit: cover;
    margin-bottom: 1rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .rm-fallback { display: none; }
}

/* What We Remodel */
.services {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.services h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.services-list-col .intro {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.services-ul li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
}
.services-ul li::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
}
.promise-col {
  background-color: var(--ground);
  padding: 2rem;
}
.promise-col .kicker {
  margin-bottom: 1rem;
  display: block;
  color: var(--accent-ink);
}
.promise-ul li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
}
.promise-ul li svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 3px;
}

@media (min-width: 768px) {
  .services { padding: 6rem 4rem; }
  .services-grid {
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
  }
}

/* Recent Transformations */
.transformations-preview {
  padding: 4rem 1.5rem;
  background-color: var(--ground);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.tp-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.tp-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.tp-header a {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-ink);
}
.tp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.tp-card {
  background-color: var(--card);
}
.tp-card img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.tp-card-body {
  padding: 1.5rem;
}
.tp-card-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.tp-card-mat {
  font-size: 0.8rem;
  color: var(--caption);
}
@media (min-width: 768px) {
  .transformations-preview { padding: 6rem 4rem; }
  .tp-grid { grid-template-columns: repeat(3, 1fr); }
  .tp-header { flex-direction: row; justify-content: space-between; align-items: baseline; }
}

/* About Ralph */
.about {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.about img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}
.about-3d {
  margin-top: 2rem;
  background-color: var(--ground);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.9rem;
}
.about-3d svg {
  flex-shrink: 0;
  color: var(--accent);
}
@media (min-width: 768px) {
  .about {
    padding: 6rem 4rem;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .about img {
    aspect-ratio: 3/4;
  }
}

/* Reviews */
.reviews {
  padding: 4rem 1.5rem;
  background-color: var(--ground);
}
.reviews .container {
  max-width: 1200px;
  margin: 0 auto;
}
.reviews h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.review-card {
  background-color: var(--card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.stars {
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  gap: 4px;
}
.review-quote {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.review-author {
  font-weight: 700;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .reviews { padding: 6rem 4rem; }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Contact / Mock Form */
.contact {
  background-color: var(--ink);
  color: #FFF;
  padding: 4rem 1.5rem;
}
.contact .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.contact h2 {
  color: #FFF;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.contact-info p {
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.8);
}
.contact-phone {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFF;
  margin: 2rem 0;
}
.contact-phone svg {
  color: var(--accent);
}
.contact-address {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.mock-form {
  background-color: var(--card);
  color: var(--body);
  padding: 2rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--caption);
}
.form-group input, .form-group select {
  width: 100%;
  padding: 0.8rem;
  background-color: var(--ground);
  border: 1px solid var(--hairline);
  font-family: inherit;
  font-size: 1rem;
}
.mock-form .btn {
  width: 100%;
}
@media (min-width: 768px) {
  .contact { padding: 6rem 4rem; }
  .contact .container { grid-template-columns: 1fr 1fr; align-items: center; }
  .mock-form { padding: 3rem; }
}

/* Footer */
footer {
  background-color: var(--footer);
  color: rgba(255,255,255,0.7);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Sticky Mobile Call */
.sticky-call {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background-color: var(--accent);
  color: #FFF;
  text-align: center;
  padding: 1rem;
  font-weight: 700;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .sticky-call { display: none; }
}

/* Transformations Page */
.page-header {
  padding: 4rem 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}
.page-header p {
  font-size: 1.2rem;
  max-width: 40rem;
}

.portfolio-grid {
  padding: 2rem 1.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.portfolio-card {
  background-color: var(--card);
}
.portfolio-card img {
  width: 100%;
  height: auto;
}
.portfolio-card-body {
  padding: 1.5rem;
}

.portfolio-cta {
  text-align: center;
  padding: 4rem 1.5rem;
  background-color: var(--ground);
}
.portfolio-cta h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .page-header { padding: 6rem 4rem 2rem; }
  .portfolio-grid {
    padding: 2rem 4rem 6rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}
@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
