:root {
  --plum: #5a4048;
  --plum-deep: #3f2c33;
  --magenta: #b0286f;
  --coral: #e35c5c;
  --cream: #f6f1ef;
  --paper: #fffcfb;
  --ink: #2c2426;
  --muted: #6d5d62;
  --line: rgba(90, 64, 72, 0.14);
  --white: #fff;
  --display: "Josefin Sans", "Segoe UI", sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --shadow: 0 18px 40px rgba(63, 44, 51, 0.12);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
}

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

a {
  color: var(--magenta);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--plum);
}

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.15rem);
  margin: 0 0 0.6rem;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin: 0.2rem 0 0.8rem;
  color: var(--plum);
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  color: var(--plum);
}

p {
  margin: 0 0 1rem;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--plum);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip:focus {
  top: 1rem;
}

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

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
}

.center {
  text-align: center;
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 4vw;
  background: var(--plum);
  color: var(--white);
}

.home .site-header {
  position: absolute;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(47, 32, 37, 0.72), rgba(47, 32, 37, 0));
}

.home .site-header.is-solid {
  position: fixed;
  background: var(--plum-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.brand img {
  height: 64px;
  width: auto;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav {
  display: flex;
  gap: 1.35rem;
  align-items: center;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  padding: 0.2rem 0;
}

.nav a:hover,
.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--white);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% 28%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(90, 64, 72, 0.12) 0%, rgba(90, 64, 72, 0.25) 38%, rgba(47, 32, 37, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto 8vh;
  text-align: right;
}

.hero-kicker {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
}

.hero h1 {
  max-width: 12ch;
  margin-left: auto;
}

.hero-sub {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 52px;
  padding: 0.75rem 1.8rem;
  border-radius: 6px;
  border: 2px solid var(--plum);
  background: var(--white);
  color: var(--magenta);
  font-family: var(--display);
  font-size: 1.15rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  color: var(--white);
  background: linear-gradient(90deg, var(--plum), var(--magenta));
  border-color: transparent;
}

.btn-light {
  border-color: var(--white);
  background: transparent;
  color: var(--white);
}

.btn-light:hover {
  background: var(--white);
  color: var(--magenta);
  border-color: var(--white);
}

.section {
  padding: 5rem 0;
}

.section-cream { background: var(--cream); }
.section-plum { background: var(--plum); color: var(--white); }
.section-plum h2,
.section-plum h3 { color: var(--white); }

.intro-lines {
  display: grid;
  gap: 0.15rem;
  margin-bottom: 1.2rem;
}

.intro-lines h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.spec {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--plum);
  transition: transform 0.2s ease;
}

.spec:hover {
  transform: translateY(-4px);
  color: var(--magenta);
}

.spec-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.7rem;
  color: var(--magenta);
}

.spec h3 {
  font-size: 1.2rem;
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split.reverse { grid-template-columns: 0.95fr 1.05fr; }

.portrait {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: 22% 18%;
  border-radius: 12px;
}

.frame {
  border-radius: 12px;
  overflow: hidden;
  min-height: 420px;
  background: #ddd center / cover no-repeat;
}

.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
}

.logos a {
  display: grid;
  place-items: center;
  background: var(--white);
  border-radius: var(--radius);
  min-height: 120px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.logos img {
  max-height: 78px;
  width: auto;
  margin: 0 auto;
}

.quote {
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
}

.quote p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.quote footer {
  color: var(--muted);
  font-family: var(--display);
  letter-spacing: 0.04em;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.carousel-controls button,
.dot {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--plum);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

.dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  padding: 0;
}

.dot[aria-current="true"] {
  background: var(--magenta);
  border-color: var(--magenta);
}

.no-js .carousel-controls { display: none; }
.no-js [data-carousel] .quote { display: block; margin-bottom: 2.5rem; }
.js [data-carousel] .quote { display: none; }
.js [data-carousel] .quote.is-active { display: block; }

.page-hero {
  background: var(--cream);
  padding: 3.5rem 0 2.4rem;
}

.page-hero h1 {
  color: var(--plum);
  max-width: 20em;
}

.reasons {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.reasons li {
  background: var(--white);
  border-left: 4px solid var(--magenta);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.15rem;
  box-shadow: 0 8px 24px rgba(63, 44, 51, 0.06);
}

.reasons h3 { margin-bottom: 0.25rem; }

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.4rem 1.4rem 1.1rem;
  box-shadow: var(--shadow);
}

.card-dark {
  background: var(--plum);
  color: var(--white);
}

.card-dark h2,
.card-dark a {
  color: var(--white);
}

.card ul,
.plain-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.8rem 0 1rem;
  padding: 0;
  list-style: none;
}

.chips li {
  background: var(--cream);
  color: var(--plum);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.98rem;
}

.steps {
  display: grid;
  gap: 0;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  padding: 0 0 1.4rem;
  position: relative;
}

.steps li::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 54px;
  bottom: 0;
  width: 2px;
  background: rgba(176, 40, 111, 0.25);
}

.steps li:last-child::before { display: none; }

.step-no {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--plum);
  color: var(--white);
  font-family: var(--display);
  font-size: 1.1rem;
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.tools li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-family: var(--display);
  color: var(--plum);
}

.quotes {
  display: grid;
  gap: 1rem;
}

.quotes .quote {
  text-align: left;
  max-width: none;
  background: var(--white);
  border-radius: 12px;
  padding: 1.3rem 1.4rem 1rem;
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.contact-card a {
  color: var(--white);
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-family: var(--display);
  color: var(--plum);
  font-size: 0.98rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}

textarea { min-height: 150px; resize: vertical; }

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(176, 40, 111, 0.45);
  outline-offset: 2px;
}

.form-note {
  color: var(--muted);
  font-size: 0.98rem;
}

.site-footer {
  background: var(--cream);
  color: var(--plum);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-logo { height: 78px; width: auto; }

.site-footer a { color: var(--plum); text-decoration: none; }
.site-footer a:hover { color: var(--magenta); }

.footer-menu {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-lines {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  background: var(--plum);
  color: var(--white);
  padding: 1rem 4vw;
}

.legal a { color: var(--white); }

.social {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.85rem;
}

.compare-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  margin: 0;
  padding: 0.55rem 1rem;
  background: #2c2426;
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
}

.compare-bar a { color: #fff; }

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 4.2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--magenta);
  color: var(--white);
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--plum-deep);
    padding: 0.4rem 0 0.8rem;
  }

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

  .nav a {
    width: 100%;
    padding: 0.75rem 1.3rem;
  }

  .specs,
  .logos,
  .two,
  .split,
  .split.reverse,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: left;
    margin-left: 0;
  }

  .hero h1 {
    text-align: left;
    margin-left: 0;
    max-width: 12ch;
  }

  .hero-shade {
    background: linear-gradient(to top, rgba(47, 32, 37, 0.88) 0%, rgba(47, 32, 37, 0.35) 55%, rgba(47, 32, 37, 0.25) 100%);
  }

  .portrait,
  .frame { min-height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
  }
}
