:root {
  --bg: #ffffff;
  --surface: #fbfaf8;
  --surface-2: #f4f1ec;
  --surface-3: #f0ede8;
  --text: #171717;
  --muted: #66615b;
  --border: rgba(23, 23, 23, 0.1);
  --border-strong: rgba(23, 23, 23, 0.18);
  --shadow: 0 24px 80px rgba(15, 39, 48, 0.08);
  --accent: #0f4a54;
  --accent-dark: #0a3941;
  --accent-soft: rgba(15, 74, 84, 0.12);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1240px;
  --container-wide: 1360px;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", "Baskerville", serif;
  --sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 64%, #fbfaf8 100%);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(15, 74, 84, 0.18);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  transform: translateY(-200%);
  transition: transform 180ms ease;
  z-index: 999;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.container.narrow {
  width: min(calc(100% - 2rem), 860px);
}

.section {
  padding: clamp(3.75rem, 7vw, 6.5rem) 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(244, 241, 236, 0.28), rgba(244, 241, 236, 0.18));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.header-inner {
  min-height: 4.875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  width: 3.25rem;
  height: 1.6rem;
  flex: 0 0 auto;
  color: var(--accent);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-wordmark {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.95rem;
  color: rgba(23, 23, 23, 0.76);
}

.primary-nav a {
  transition: color 160ms ease, opacity 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
  color: var(--text);
}

.nav-cta {
  padding: 0.88rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: white !important;
  box-shadow: 0 10px 28px rgba(15, 74, 84, 0.18);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  flex-direction: column;
}

.nav-toggle span {
  width: 1rem;
  height: 1px;
  background: var(--text);
  display: block;
}

.hero {
  padding-top: clamp(3rem, 6vw, 5.5rem);
}

.hero-grid,
.split-layout,
.cta-grid,
.commission-layout {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.section-divider h2,
.cta-copy h2,
.pricing-card h2,
.story-panel h2,
.summary-card h2,
.info-panel h2,
.commission-form h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

.hero-copy h1 {
  font-size: clamp(3.35rem, 6vw, 6.6rem);
  max-width: 11ch;
}

.hero-lead {
  max-width: 34rem;
  margin: 1.35rem 0 0;
  font-size: clamp(1.06rem, 1.45vw, 1.32rem);
  line-height: 1.65;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.88rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.96rem;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible,
.filter-pill:hover,
.filter-pill:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible,
.story-arrow:hover,
.story-arrow:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 28px rgba(15, 74, 84, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.button-secondary {
  background: white;
  color: var(--text);
  border-color: var(--border-strong);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(15, 74, 84, 0.35);
  color: var(--accent);
}

.button-light {
  background: white;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.24);
}

.full-width {
  width: 100%;
}

.hero-visual {
  margin: 0;
  padding: 0;
  text-align: right;
}

.hero-visual figcaption {
  margin-top: 0.75rem;
  color: rgba(23, 23, 23, 0.55);
  font-size: 0.9rem;
}

.product-stage {
  position: relative;
  min-height: clamp(26rem, 44vw, 40rem);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(15, 74, 84, 0.08), transparent 42%),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.88), transparent 35%),
    linear-gradient(180deg, #f6f0e8 0%, #ece4da 100%);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), var(--shadow);
}

.product-shadow {
  position: absolute;
  inset: auto 10% 7% 10%;
  height: 30%;
  background: radial-gradient(ellipse at center, rgba(15, 74, 84, 0.18) 0%, rgba(15, 74, 84, 0) 70%);
  filter: blur(22px);
}

.product-object {
  position: absolute;
  right: 8%;
  bottom: 11%;
  width: min(76%, 33rem);
  aspect-ratio: 1.2;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 50%),
    linear-gradient(180deg, #f8f4ee 0%, #e9dfd4 100%);
  box-shadow:
    0 30px 70px rgba(84, 67, 52, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: perspective(1100px) rotateX(58deg) rotateZ(-14deg) translateY(1.2rem);
}

.product-object-top {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.72), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 32%);
  clip-path: polygon(9% 18%, 23% 6%, 41% 10%, 55% 0, 74% 10%, 92% 26%, 100% 46%, 96% 68%, 82% 82%, 61% 92%, 36% 95%, 18% 88%, 4% 66%, 0 42%, 4% 28%);
}

.product-ridges {
  position: absolute;
  inset: 6% 6% 10% 6%;
  border-radius: 22px;
  background:
    repeating-linear-gradient(
      120deg,
      rgba(115, 94, 72, 0.33) 0 1px,
      rgba(115, 94, 72, 0) 1px 8px
    ),
    repeating-radial-gradient(
      circle at 40% 45%,
      rgba(255, 255, 255, 0) 0 8px,
      rgba(87, 66, 47, 0.25) 9px 10px
    );
  mask: linear-gradient(180deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.38));
  opacity: 0.92;
  transform: translateZ(40px);
}

.section-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-divider span {
  height: 1px;
  background: var(--border);
}

.section-divider h2 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--sans);
  font-weight: 500;
  color: rgba(23, 23, 23, 0.86);
}

.section-heading {
  text-align: center;
}

.section-heading.left {
  text-align: left;
  margin-bottom: 1.6rem;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.45rem);
}

.section-heading p {
  margin: 1rem auto 0;
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}

.location-grid,
.value-grid,
.product-grid,
.steps-grid,
.pricing-grid,
.about-grid {
  display: grid;
  gap: 1rem;
}

.location-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.location-card {
  min-height: 11.75rem;
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(244, 241, 236, 0.62)),
    radial-gradient(circle at top, rgba(15, 74, 84, 0.05), transparent 42%);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.9rem;
  text-align: center;
}

.location-card h3,
.value-card h3,
.product-card h3,
.step-card h3,
.pricing-card h2,
.story-panel h2,
.summary-card h2 {
  font-size: 1.22rem;
  margin: 0;
  font-weight: 500;
}

.icon {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: rgba(23, 23, 23, 0.86);
}

.icon.accent {
  color: var(--accent);
}

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.value-card {
  padding: 1.25rem 1rem 1.1rem;
  border-top: 1px solid var(--border);
}

.value-card p,
.product-card p,
.step-card p,
.pricing-card p,
.story-panel p,
.summary-card p,
.footer-note,
.info-panel p,
.gallery-intro p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.product-card {
  padding: 1.25rem 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  min-height: 12rem;
  display: grid;
  align-content: start;
  gap: 0.95rem;
}

.product-badge {
  width: 3.2rem;
  height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(15, 74, 84, 0.12);
  color: var(--accent);
}

.product-badge .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}

.product-card h3 {
  font-size: 1.08rem;
  min-height: 2.4rem;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
  padding: 0.25rem 0.6rem 0.5rem;
  display: grid;
  gap: 0.75rem;
  justify-items: start;
  position: relative;
}

.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 700;
}

.gallery-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.35rem;
}

.gallery-intro {
  padding-top: 0.8rem;
}

.gallery-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 500;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.92fr 0.68fr;
  grid-auto-rows: 11rem;
  gap: 0.9rem;
}

.gallery-tile {
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(240, 237, 232, 0.4)),
    linear-gradient(180deg, #f3efe9 0%, #ebe5de 100%);
  border: 1px solid rgba(23, 23, 23, 0.06);
}

.gallery-tile.tall {
  grid-row: span 2;
}

.gallery-tile.wide {
  grid-column: span 2;
}

.stories-rail {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto;
  gap: 1rem;
  align-items: stretch;
}

.story-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  min-height: 13rem;
  padding: 1.1rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.story-card.placeholder .quote-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story-lines {
  display: grid;
  gap: 0.5rem;
}

.story-lines span,
.story-meta span:not(.story-avatar) {
  display: block;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(23, 23, 23, 0.06), rgba(23, 23, 23, 0.1));
}

.story-lines span:nth-child(1) {
  width: 94%;
}

.story-lines span:nth-child(2) {
  width: 84%;
}

.story-lines span:nth-child(3) {
  width: 72%;
}

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

.story-meta span:not(.story-avatar) {
  width: 7rem;
}

.story-avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(15, 74, 84, 0.16), rgba(15, 74, 84, 0.05));
  border: 1px solid rgba(15, 74, 84, 0.12);
  flex: 0 0 auto;
}

.story-arrow {
  align-self: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.story-arrow:disabled {
  opacity: 0.5;
}

.cta-band {
  background:
    linear-gradient(115deg, rgba(15, 74, 84, 0.98), rgba(10, 57, 65, 0.97)),
    linear-gradient(180deg, rgba(15, 74, 84, 0.95), rgba(15, 74, 84, 0.95));
  color: white;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  filter: blur(2px);
}

.cta-band::before {
  width: 18rem;
  height: 18rem;
  right: -4rem;
  top: -7rem;
}

.cta-band::after {
  width: 22rem;
  height: 22rem;
  left: -7rem;
  bottom: -10rem;
}

.cta-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  font-size: clamp(2.3rem, 4.5vw, 4rem);
}

.cta-copy p {
  max-width: 28rem;
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.cta-panel {
  justify-self: end;
  width: min(100%, 34rem);
  padding: 1rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.cta-mini-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.cta-mini-form label,
.commission-form label {
  display: grid;
  gap: 0.42rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.cta-mini-form label {
  color: rgba(255, 255, 255, 0.82);
}

.cta-mini-form label:last-of-type,
.cta-mini-form .full-width {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: white;
  color: var(--text);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  resize: vertical;
  min-height: 8.25rem;
}

input::placeholder,
textarea::placeholder {
  color: rgba(23, 23, 23, 0.45);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(15, 74, 84, 0.4);
  box-shadow: 0 0 0 4px rgba(15, 74, 84, 0.08);
}

.full-width {
  grid-column: 1 / -1;
}

.site-footer {
  border-top: 1px solid rgba(23, 23, 23, 0.08);
  padding: 2rem 0;
  background: #fff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: start;
}

.footer-brand .brand-wordmark {
  font-size: 1.4rem;
}

.footer-note {
  max-width: 31rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem 1.2rem;
  color: rgba(23, 23, 23, 0.74);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.compact {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.split-layout {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
}

.info-panel {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(244, 241, 236, 0.68));
  box-shadow: var(--shadow);
}

.info-panel h2,
.summary-card h2 {
  font-size: 1.6rem;
}

.checklist,
.bullet-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.checklist li,
.bullet-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--muted);
  line-height: 1.6;
}

.checklist li::before,
.bullet-list li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.commission-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.75fr);
  align-items: start;
}

.card-shell,
.summary-card,
.pricing-card,
.story-panel {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.commission-form {
  padding: clamp(1.1rem, 2vw, 1.7rem);
}

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

.form-grid label.full-span {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.form-hint {
  margin-top: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.form-confirmation {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(15, 74, 84, 0.08);
  border: 1px solid rgba(15, 74, 84, 0.16);
  display: grid;
  gap: 0.25rem;
}

.summary-column {
  display: grid;
  gap: 1rem;
}

.summary-card,
.pricing-card,
.story-panel {
  padding: 1.35rem;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card.featured {
  background:
    linear-gradient(180deg, rgba(15, 74, 84, 0.04), rgba(15, 74, 84, 0.02)),
    white;
  border-color: rgba(15, 74, 84, 0.16);
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.filter-pill {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  font-weight: 600;
}

.filter-pill.is-active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 8rem;
  gap: 1rem;
}

.media-card {
  grid-column: span 4;
  border-radius: 28px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(244, 241, 236, 0.72)),
    linear-gradient(135deg, rgba(15, 74, 84, 0.03), transparent);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  display: flex;
  align-items: end;
  color: rgba(23, 23, 23, 0.62);
  line-height: 1.5;
}

.media-card span {
  max-width: 18ch;
}

.media-large {
  grid-column: span 7;
  grid-row: span 2;
}

.media-tall {
  grid-column: span 5;
  grid-row: span 2;
}

.media-wide {
  grid-column: span 8;
}

.gallery-intro .button {
  margin-top: 1.25rem;
}

.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-panel p:first-of-type {
  margin-top: 1rem;
}

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

@media (max-width: 1120px) {
  .hero-grid,
  .split-layout,
  .cta-grid,
  .commission-layout,
  .gallery-preview {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .location-grid,
  .value-grid,
  .steps-grid,
  .pricing-grid,
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stories-rail {
    grid-template-columns: auto repeat(2, minmax(0, 1fr)) auto;
  }

  .cta-panel {
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .primary-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.75rem);
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: white;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    position: relative;
  }

  .nav-cta {
    justify-content: center;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-visual {
    text-align: left;
  }

  .product-grid,
  .location-grid,
  .value-grid,
  .steps-grid,
  .pricing-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 10rem;
  }

  .gallery-tile.wide {
    grid-column: auto;
  }

  .stories-rail {
    grid-template-columns: 1fr;
  }

  .story-arrow {
    display: none;
  }

  .cta-mini-form,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
  }

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

  .hero-copy h1 {
    font-size: clamp(2.95rem, 13vw, 4.3rem);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .section {
    padding: 3rem 0;
  }

  .header-inner {
    min-height: 4.4rem;
  }

  .brand-wordmark {
    font-size: 1.45rem;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-visual figcaption {
    text-align: left;
  }

  .product-stage {
    min-height: 21rem;
  }

  .section-divider {
    grid-template-columns: 1fr;
  }

  .section-divider span {
    display: none;
  }

  .masonry-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 12rem;
  }

  .media-card,
  .media-large,
  .media-tall,
  .media-wide {
    grid-column: auto;
    grid-row: auto;
  }
}
