/* Cllubb Wedding Planning — original boutique layout */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-400.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-400.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-500.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-600.woff2") format("woff2");
}

:root {
  --ivory: #f6f1ea;
  --paper: #fbf8f4;
  --sand: #efe6dc;
  --stone: #e4d8cc;
  --ink: #1c1917;
  --charcoal: #2a2421;
  --muted: #5e564f;
  --soft: #8a7f76;
  --line: rgba(28, 25, 23, 0.14);
  --line-strong: rgba(28, 25, 23, 0.28);
  --terracotta: #7a3e36;
  --burgundy: #6d3338;
  --burgundy-deep: #54282c;
  --cream: #fffdfb;
  --header-h: 4.75rem;
  --content: 72rem;
  --narrow: 42rem;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 18px 50px rgba(28, 25, 23, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--burgundy);
}

p,
li {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(3.1rem, 7.4vw, 6.6rem);
}

h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
}

h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  line-height: 1.15;
}

p {
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

::selection {
  background: #e7c7bf;
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(246, 241, 234, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  max-width: 88rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  color: var(--ink);
}

.logo:hover {
  color: var(--ink);
}

.logo-word {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
}

.logo-sub {
  margin-top: 0.28rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.desktop-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--charcoal);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--burgundy);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-cta,
.btn-primary {
  background: var(--burgundy);
  color: var(--ivory);
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--burgundy-deep);
  color: var(--ivory);
}

.btn-light {
  background: var(--ivory);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--cream);
  color: var(--burgundy);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(255, 253, 251, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 253, 251, 0.12);
  color: var(--cream);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-line:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  min-height: 2.6rem;
  padding: 0.4rem 0.95rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 39;
  background: var(--ivory);
  padding: 1.5rem 1.4rem 2.5rem;
  overflow: auto;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 2.8rem);
  line-height: 1.05;
  color: var(--ink);
}

.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] {
  color: var(--burgundy);
}

.mobile-menu .mobile-note {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--cream);
  background: var(--ink);
  overflow: hidden;
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 25, 23, 0.16) 0%, rgba(28, 25, 23, 0.08) 30%, rgba(28, 25, 23, 0.62) 68%, rgba(28, 25, 23, 0.86) 100%),
    linear-gradient(90deg, rgba(28, 25, 23, 0.42) 0%, rgba(28, 25, 23, 0.08) 58%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 76rem);
  margin: 0 auto;
  padding: 8rem 0 3.2rem;
}

.eyebrow,
.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.hero .eyebrow {
  color: #f0d2c6;
}

.hero h1 {
  color: var(--cream);
  max-width: 12ch;
}

.lede,
.hero-copy {
  max-width: 38rem;
  font-size: 1.12rem;
  line-height: 1.6;
  color: rgba(255, 253, 251, 0.9);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.section {
  padding: clamp(4.2rem, 8vw, 7.2rem) 1.25rem;
}

.section-tight {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.wrap {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.wrap-narrow {
  width: min(100%, var(--narrow));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.split.reverse .split-copy {
  order: 2;
}

.prose {
  color: var(--charcoal);
  font-size: 1.05rem;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2,
.prose h3 {
  margin: 2.2rem 0 0.8rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.longform {
  width: min(100%, 44rem);
}

.note {
  margin: 1.3rem 0;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 2px solid var(--terracotta);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.crumbs li {
  display: inline-flex;
  gap: 0.4rem;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  color: var(--soft);
}

.intro-note {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 1.1rem;
}

.frame {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}

.frame img {
  transition: transform 0.7s var(--ease);
}

.frame:hover img {
  transform: scale(1.025);
}

.frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--sand);
}

.frame.wide img,
.frame.landscape img {
  aspect-ratio: 3 / 2;
}

.caption {
  margin-top: 0.65rem;
  color: var(--soft);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.sand {
  background: var(--ivory);
}

.ink {
  background: var(--ink);
  color: #efe7de;
}

.ink h2,
.ink h3,
.ink .intro-note {
  color: var(--cream);
}

.ink .kicker {
  color: #e7b2a4;
}

.ink p,
.ink li {
  color: #e6ddd4;
}

.service-index {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.service-list {
  display: flex;
  flex-direction: column;
}

.service-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

.service-row:hover .service-row-title {
  color: var(--burgundy);
}

.service-row-label {
  color: var(--terracotta);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-row-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  line-height: 1.05;
  color: var(--ink);
}

.service-row p {
  grid-column: 2 / 3;
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.service-row-go {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.principle-no {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: #e7b2a4;
  display: block;
  margin-bottom: 0.7rem;
}

.steps {
  display: grid;
  gap: 0;
  margin-top: 2rem;
}

.step {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.step strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--ink);
  display: block;
  margin-bottom: 0.25rem;
}

.step span {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--terracotta);
}

.reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  margin-top: 2rem;
}

.reason h3 {
  margin-bottom: 0.45rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2rem 1.15rem 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
  color: var(--ink);
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1rem;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--terracotta);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p:last-child {
  margin-bottom: 1.2rem;
}

.cta-band {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: end;
}

.page-hero {
  position: relative;
  min-height: 72vh;
  min-height: 72svh;
  display: grid;
  align-items: end;
  color: var(--cream);
  background: #1c1917;
  overflow: hidden;
}

.page-hero .frame {
  position: absolute;
  inset: 0;
  margin: 0;
  background: #1c1917;
}

.page-hero .frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 42%;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 25, 23, 0.28) 0%, rgba(28, 25, 23, 0.12) 34%, rgba(28, 25, 23, 0.78) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--content));
  margin: 0 auto;
  padding: calc(var(--header-h) + 3.4rem) 0 3.2rem;
}

.page-hero .wrap {
  display: block;
}

.page-hero h1 {
  color: #fffdfb;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  max-width: 14ch;
}

.page-hero .kicker {
  color: #f0d2c6;
}

.page-hero .lede {
  color: rgba(255, 253, 251, 0.92);
  font-size: 1.08rem;
}

.page-hero .crumbs,
.page-hero .crumbs a,
.page-hero .crumbs li:not(:last-child)::after {
  color: rgba(255, 253, 251, 0.78);
}

.page-hero .crumbs a:hover {
  color: #fffdfb;
}

.page-hero a {
  color: #fffdfb;
}

.page-hero .phone-link {
  color: #fffdfb;
}

.page-hero .btn-line {
  color: #fffdfb;
  border-color: rgba(255, 253, 251, 0.55);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  margin: 0 0 1.1rem;
  color: var(--soft);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--burgundy);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  background: var(--sand);
}

.stack {
  display: grid;
  gap: 1rem;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.5rem);
}

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.panel {
  background: var(--ivory);
  padding: clamp(1.2rem, 2vw, 1.8rem);
}

.panel h3 {
  margin-bottom: 0.55rem;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 0.5rem;
  font-size: 0.98rem;
}

.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 0.9rem 0.8rem;
  border-bottom: 1px solid var(--line);
}

.compare th {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.compare td:first-child {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.checklist li {
  padding: 0.85rem 0 0.85rem 1.6rem;
  border-top: 1px solid var(--line);
  position: relative;
}

.checklist li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--terracotta);
  position: absolute;
  left: 0;
  top: 1.25rem;
}

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.related a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 9rem;
  padding: 1.2rem;
  background: var(--ivory);
  text-decoration: none;
  color: var(--ink);
}

.related a:hover {
  background: var(--sand);
  color: var(--burgundy-deep);
}

.related span {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.related strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.1;
}

.guide-list a {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.guide-list a:last-child {
  border-bottom: 1px solid var(--line);
}

.guide-list a:hover strong {
  color: var(--burgundy);
}

.guide-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
}

.toc {
  display: grid;
  gap: 0.35rem;
  margin: 1.2rem 0 2rem;
  padding: 1.1rem 1.2rem;
  background: var(--ivory);
}

.toc a {
  text-decoration: none;
  color: var(--charcoal);
}

.toc a:hover {
  color: var(--burgundy);
}

.form-card {
  background: var(--ivory);
  padding: clamp(1.2rem, 3vw, 2rem);
}

form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.8rem;
  border-radius: 0;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: 1px;
  border-color: transparent;
}

.field-error {
  color: var(--burgundy-deep);
  font-size: 0.86rem;
  font-weight: 500;
}

.form-thanks {
  padding: 0.4rem 0 0.2rem;
}

.form-thanks h2 {
  margin-bottom: 0.6rem;
}

.form-thanks p:last-child {
  font-size: 1.15rem;
  line-height: 1.5;
}

.form-status {
  min-width: 0;
  padding: 0.9rem 1rem;
  background: var(--sand);
  overflow-wrap: anywhere;
}

.form-status[data-state="success"] {
  margin-top: 0.4rem;
  padding: 1.35rem 1.4rem;
  background: #f6f1ea;
  border-left: 3px solid var(--terracotta);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.35;
}

.form-status[data-state="error"] {
  background: #f3e2dc;
  color: var(--burgundy-deep);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.phone-link {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}

.meta-line {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  background: var(--ink);
  color: #eadfd4;
  padding: 3.5rem 1.25rem 1.5rem;
}

.footer-grid {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
}

.site-footer a {
  color: #eadfd4;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e7b2a4;
  margin-bottom: 0.9rem;
  font-weight: 500;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.footer-brand .logo-word {
  color: var(--cream);
  font-size: 2.4rem;
}

.footer-brand address {
  margin: 0.85rem 0;
  font-style: normal;
  line-height: 1.45;
}

.footer-base {
  width: min(100%, var(--content));
  margin: 2.2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 253, 251, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #b7aa9f;
  font-size: 0.85rem;
}

.not-found {
  min-height: 70vh;
  display: grid;
  align-items: center;
}

.reveal {
  animation: rise 0.8s var(--ease) both;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .split,
  .split.reverse,
  .service-index,
  .page-hero .wrap,
  .cta-band,
  .contact-layout,
  .footer-grid,
  .principles,
  .reasons,
  .related,
  .two,
  .three {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy {
    order: 0;
  }

  .service-row {
    grid-template-columns: 1fr auto;
  }

  .service-row-label {
    grid-column: 1 / -1;
  }

  .service-row p {
    grid-column: 1 / -1;
  }

  .guide-list a {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 4.3rem;
  }

  .hero-content {
    width: min(100% - 2rem, 76rem);
    padding: 5.5rem 0 2rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
  }

  .page-hero {
    min-height: 0;
  }

  .page-hero-content {
    width: min(100% - 2rem, var(--content));
    padding-top: calc(var(--header-h) + 2.4rem);
    padding-bottom: 2.2rem;
  }

  .hero-actions,
  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .nav-cta {
    width: 100%;
  }

  .desktop-nav .nav-cta {
    width: auto;
  }

  .compare {
    display: block;
  }

  .compare thead {
    display: none;
  }

  .compare tr {
    display: block;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .compare td {
    display: block;
    border: 0;
    padding: 0.25rem 0;
  }

  .compare td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .footer-base {
    flex-direction: column;
  }
}

@media (max-width: 375px) {
  body {
    font-size: 1rem;
  }

  .logo-word {
    font-size: 1.7rem;
  }

  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .btn:active,
  .frame:hover img {
    transform: none;
  }
}
