:root {
  --red: #d81920;
  --red-dark: #a9151b;
  --ink: #181817;
  --charcoal: #252523;
  --stone: #efeee9;
  --paper: #faf9f5;
  --white: #ffffff;
  --line: #dedbd1;
  --muted: #68665f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  min-height: 86px;
  padding: 18px clamp(20px, 5vw, 58px);
  color: var(--white);
  background: rgba(24, 24, 23, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(176px, 18vw, 230px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
}

.site-nav a.is-active:not(.nav-cta) {
  box-shadow: inset 0 -2px 0 var(--red);
}

.site-nav .nav-cta {
  min-height: 46px;
  margin-left: 10px;
  padding: 0 18px;
  color: var(--white);
  background: var(--red);
  border-radius: 4px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.is-active {
  background: var(--red-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.section,
.page-hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: clamp(62px, 8vw, 106px) 0;
}

.image-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100vh - 86px);
  padding: clamp(34px, 6vw, 72px);
  color: var(--white);
  isolation: isolate;
}

.image-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: url("assets/portfolio-bathroom.png");
  background-position: center;
  background-size: cover;
}

.image-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.67), rgba(0, 0, 0, 0.24) 58%, rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.08) 48%);
}

.hero-overlay {
  width: min(960px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.78);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 20px;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.image-hero p:not(.eyebrow) {
  max-width: 900px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2.1vw, 1.55rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 4.45rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.18;
}

.page-hero {
  padding: clamp(76px, 10vw, 132px) 0 clamp(48px, 7vw, 82px);
}

.page-hero.dark {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--ink);
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.page-hero.dark p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}

.intro-section,
.trusted-suppliers,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: start;
}

.body-copy,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.16rem);
}

.body-copy p {
  margin-bottom: 18px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
}

.feature-row article {
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
}

.feature-row span,
.service-card span,
.project-card-content span,
.contact-button span {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-row p,
.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 300px;
  padding: clamp(26px, 3.4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.expertise-card {
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.expertise-card:hover,
.expertise-card:focus-visible,
.expertise-card.is-open {
  border-color: rgba(216, 25, 32, 0.42);
  box-shadow: 0 18px 44px rgba(24, 24, 23, 0.11);
}

.expertise-card:hover {
  transform: translateY(-2px);
}

.expertise-card:focus-visible {
  outline: 3px solid rgba(216, 25, 32, 0.28);
  outline-offset: 4px;
}

.service-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.expertise-reveal {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 280ms ease,
    margin-top 280ms ease,
    opacity 220ms ease;
}

.expertise-card.is-open .expertise-reveal {
  max-height: 620px;
  margin-top: 20px;
  opacity: 1;
}

.expertise-reveal img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  object-fit: cover;
  border-radius: 6px;
}

.portfolio-section {
  width: 100%;
  max-width: none;
  padding: clamp(42px, 6vw, 76px) max(20px, calc((100vw - var(--max)) / 2)) clamp(72px, 8vw, 112px);
  color: var(--white);
  background: var(--ink);
}

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

.project-card {
  overflow: hidden;
  background: #242421;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-card-content {
  padding: 22px;
}

.project-card-content h2 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  line-height: 1.12;
}

.contact-section {
  min-height: calc(100vh - 218px);
  align-items: center;
}

.contact-copy h1 {
  color: var(--ink);
  font-size: 36px;
}

.contact-actions {
  display: grid;
  gap: 14px;
}

.contact-button {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 24px;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  background: var(--red);
  border-radius: 8px;
}

.contact-button.dark {
  background: var(--ink);
}

.contact-button span {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-button:hover {
  transform: translateY(-2px);
}

.trusted-suppliers {
  padding-top: clamp(36px, 5vw, 66px);
  border-top: 1px solid var(--line);
}

.trusted-suppliers h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.5vw, 3.35rem);
}

.supplier-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.supplier-logo {
  display: grid;
  place-items: center;
  width: min(100%, 260px);
  min-height: 116px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.supplier-logo img {
  width: 190px;
  height: 90px;
  object-fit: contain;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 28px clamp(20px, 5vw, 58px);
  color: rgba(255, 255, 255, 0.68);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.footer-details {
  display: grid;
  gap: 4px;
}

.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-certifications img {
  width: auto;
  height: 58px;
  max-width: 122px;
  object-fit: contain;
  background: transparent;
  opacity: 1;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-cta {
    justify-content: center;
    margin-left: 0;
  }

  .image-hero {
    min-height: 72vh;
  }

  .intro-section,
  .trusted-suppliers,
  .contact-section,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .feature-row article {
    min-height: auto;
  }

  .supplier-logos {
    justify-content: flex-start;
  }

  .project-card img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 74px;
    padding: 14px 18px;
  }

  .brand img {
    width: 156px;
  }

  .section,
  .page-hero {
    width: min(var(--max), calc(100% - 32px));
  }

  .image-hero {
    min-height: 68vh;
    padding: 28px 18px;
  }

  .image-hero::before {
    background-position: center right;
  }

  h1 {
    font-size: 36px;
  }

  .contact-copy h1 {
    font-size: 36px;
  }

  .portfolio-section,
  .page-hero.dark {
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-footer {
    display: grid;
    justify-items: start;
  }

  .footer-certifications {
    justify-content: flex-start;
  }
}
