/* Rullo Overdo — homepage design system (scoped to .page-home) */

.page-home {
  /* Colors */
  --ink: #15201B;
  --brand: #0E3B2E;
  --muted-green: #3F6B5B;
  --body: #3A4640;
  --secondary: #55615B;
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --border: #E2DED4;
  --soft: #DCE6DF;
  --accent: #F2B233;

  /* Type */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;

  /* Scale */
  --text-h1: clamp(40px, 6vw, 68px);
  --text-h2: clamp(32px, 4vw, 44px);
  --text-body: clamp(16px, 1.2vw, 19px);

  /* Layout */
  --space: 8px;
  --pad-section: 48px;
  --pad-gutter: 16px;
  --max: 1200px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 64px;
  --focus: 2px solid var(--brand);
  --focus-offset: 2px;
  --ease: 200ms ease;

  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}

@media (min-width: 768px) {
  .page-home {
    --pad-section: 72px;
    --pad-gutter: 24px;
    --header-h: 72px;
  }
}

@media (min-width: 1280px) {
  .page-home {
    --pad-section: 96px;
  }
}

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

.page-home img,
.page-home svg {
  display: block;
  max-width: 100%;
}

.page-home a {
  color: inherit;
}

.page-home :focus-visible {
  outline: var(--focus);
  outline-offset: var(--focus-offset);
}

.page-home .ro-wrap {
  width: min(100% - (var(--pad-gutter) * 2), var(--max));
  margin-inline: auto;
}

/* —— Skip link —— */
.page-home .skip-link {
  position: absolute;
  left: var(--pad-gutter);
  top: 0;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform var(--ease);
}

.page-home .skip-link:focus {
  transform: translateY(12px);
  outline: var(--focus);
  outline-offset: var(--focus-offset);
}

/* —— Sticky header —— */
.page-home .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 245, 240, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-home .site-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
  width: min(100% - (var(--pad-gutter) * 2), var(--max));
  margin-inline: auto;
}

.page-home .site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.page-home .site-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.page-home .site-logo span {
  display: none;
}

@media (min-width: 400px) {
  .page-home .site-logo span {
    display: inline;
  }
}

.page-home .site-nav {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
  margin-left: 8px;
}

.page-home .site-nav a {
  padding: 6px 6px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--ease), background var(--ease);
}

@media (min-width: 1100px) {
  .page-home .site-nav a {
    padding: 7px 8px;
    font-size: 13px;
  }
}

@media (min-width: 1280px) {
  .page-home .site-nav a {
    padding: 8px 9px;
    font-size: 13.5px;
  }
}

.page-home .site-nav a:hover {
  color: var(--ink);
  background: var(--soft);
}

.page-home .site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.page-home .site-header-end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.page-home .lang-switch {
  display: none;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.page-home .lang-switch a {
  min-width: 36px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-home .lang-switch a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

.page-home .lang-switch a[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.page-home .btn-wa-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: filter var(--ease), transform var(--ease);
}

.page-home .btn-wa-accent:hover {
  filter: brightness(0.97);
}

.page-home .btn-wa-accent:active {
  transform: translateY(1px);
}

.page-home .btn-wa-accent svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.page-home .btn-wa-accent .btn-wa-label-full {
  display: none;
}

.page-home .btn-wa-accent .btn-wa-label-short {
  display: inline;
}

@media (min-width: 480px) {
  .page-home .btn-wa-accent .btn-wa-label-full {
    display: inline;
  }
  .page-home .btn-wa-accent .btn-wa-label-short {
    display: none;
  }
}

.page-home .nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  color: var(--ink);
}

.page-home .nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--ease), opacity var(--ease);
}

.page-home .site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.page-home .site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.page-home .site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile full-width panel */
.page-home .mobile-panel {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 24px var(--pad-gutter) 32px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  overflow-y: auto;
}

.page-home .site-header.is-open .mobile-panel {
  display: flex;
}

.page-home .mobile-panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-home .mobile-panel .mobile-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 8px;
}

.page-home .mobile-panel .mobile-lang span {
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
}

.page-home .mobile-panel .mobile-lang a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.page-home .mobile-panel .mobile-lang a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.page-home .mobile-panel .mobile-lang a[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.page-home.nav-open {
  overflow: hidden;
}

@media (min-width: 960px) {
  .page-home .site-nav {
    display: flex;
  }

  .page-home .lang-switch {
    display: inline-flex;
  }

  .page-home .nav-toggle,
  .page-home .mobile-panel {
    display: none !important;
  }
}

/* —— Main —— */
.page-home .page-main {
  min-height: 40vh;
}

/* —— Buttons (shared) —— */
.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: filter var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
}

.page-home .btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.page-home .btn-primary {
  background: var(--accent);
  color: var(--ink);
  border: 1px solid transparent;
}

.page-home .btn-primary:hover {
  filter: brightness(0.97);
}

.page-home .btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
}

.page-home .btn-secondary:hover {
  background: var(--soft);
  border-color: var(--muted-green);
}

/* —— Hero —— */
.page-home .hero {
  padding: 40px 0 var(--pad-section);
}

.page-home .hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  width: min(100% - (var(--pad-gutter) * 2), var(--max));
  margin-inline: auto;
}

@media (min-width: 960px) {
  .page-home .hero {
    padding: 56px 0 var(--pad-section);
  }

  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px;
  }
}

.page-home .hero-copy {
  max-width: 34rem;
}

.page-home .hero-eyebrow {
  margin: 0 0 16px;
  color: var(--muted-green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.page-home .hero h1 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.page-home .hero-sub {
  margin: 0 0 28px;
  max-width: 38ch;
  color: var(--body);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.5;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.page-home .hero-trust {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

/* —— Hero slider shell —— */
.page-home .hero-slider {
  position: relative;
  min-width: 0;
  touch-action: pan-y;
}

.page-home .hero-slider:focus {
  outline: none;
}

.page-home .hero-slider:focus-visible {
  outline: var(--focus);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.page-home .slide-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(21, 32, 27, 0.06);
}

.page-home .slide-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  background: #EEF0EC;
  border-bottom: 1px solid var(--border);
}

.page-home .slide-dots-fake {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.page-home .slide-dots-fake i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C5CBC6;
}

.page-home .slide-dots-fake i:nth-child(1) { background: #E8A0A0; }
.page-home .slide-dots-fake i:nth-child(2) { background: #E2C98A; }
.page-home .slide-dots-fake i:nth-child(3) { background: #A8C9A8; }

.page-home .slide-url {
  flex: 1;
  min-width: 0;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .slide-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--soft);
  overflow: hidden;
  /* Reserve height before images paint — limits CLS */
  contain: layout;
}

.page-home .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.page-home .slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-home .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.page-home .slide-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 14px 16px 16px;
}

.page-home .slide-trade {
  margin: 0;
  color: var(--muted-green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-home .slide-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-home .slide-name a {
  color: var(--ink);
  text-decoration: none;
}

.page-home .slide-name a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.page-home .slider-arrows {
  display: flex;
  gap: 8px;
}

.page-home .slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
}

.page-home .slider-btn:hover {
  background: var(--soft);
  border-color: var(--muted-green);
}

.page-home .slider-btn svg {
  width: 20px;
  height: 20px;
}

.page-home .slider-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.page-home .slider-dot {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-home .slider-dot i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--ease), transform var(--ease);
}

.page-home .slider-dot[aria-current="true"] i {
  background: var(--brand);
  transform: scale(1.25);
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .slide {
    transition: none;
  }
}

/* —— Shared sections —— */
.page-home .section {
  padding: var(--pad-section) 0;
}

.page-home .section-head {
  max-width: 40rem;
  margin-bottom: 32px;
}

.page-home .section-kicker {
  margin: 0 0 10px;
  color: var(--muted-green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-home .section-head h2,
.page-home .section h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-home .section-lead {
  margin: 0;
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.5;
  max-width: 42ch;
}

/* —— Client strip —— */
.page-home .client-strip {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.page-home .client-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 768px) {
  .page-home .client-strip-inner {
    flex-direction: row;
    align-items: baseline;
    gap: 24px;
  }
}

.page-home .client-strip-label {
  margin: 0;
  flex-shrink: 0;
  color: var(--muted-green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-home .client-strip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .client-strip-list li {
  display: inline-flex;
  align-items: center;
}

.page-home .client-strip-list li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 12px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

.page-home .client-strip-list a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.4;
}

.page-home .client-strip-list a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* —— Services —— */
.page-home .service-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .page-home .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.page-home .price-graphics {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.page-home .price-graphic {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--ease), box-shadow var(--ease);
}

.page-home .price-graphic:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(21, 32, 27, 0.08);
}

.page-home .price-graphic img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home a.result-card {
  text-decoration: none;
  color: inherit;
  transition: transform var(--ease), box-shadow var(--ease);
}

.page-home a.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(21, 32, 27, 0.08);
}

.page-home .results-grid--prices .result-number {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.05;
}

.page-home .price-stack {
  margin: 28px auto 0;
  max-width: 420px;
  text-align: center;
}

.page-home .price-stack img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.page-home .price-stack figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--secondary);
}

.page-home .results-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .flyer-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 900px) {
  .page-home .flyer-strip-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .flyer-strip-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform var(--ease), box-shadow var(--ease);
}

.page-home .flyer-strip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(21, 32, 27, 0.08);
}

.page-home .flyer-strip-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.page-home .about-photo img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
}

.page-home .service-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 100%;
}

.page-home .service-card-art {
  display: block;
  margin: -24px -24px 18px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-home .service-card-art img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .service-label {
  margin: 0 0 12px;
  color: var(--muted-green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-home .service-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.page-home .service-desc {
  margin: 0 0 20px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.5;
  flex: 1;
}

.page-home .service-price {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: lining-nums;
}

.page-home .service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.page-home .service-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .service-link svg {
  width: 16px;
  height: 16px;
}

/* —— Results —— */
.page-home .results-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .page-home .results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.page-home .result-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--body);
}

.page-home .result-card--dark {
  background: var(--brand);
  border-color: var(--brand);
  color: #E8EFEA;
}

.page-home .result-number {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: lining-nums;
}

.page-home .result-card--dark .result-number {
  color: #fff;
}

.page-home .result-context {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--secondary);
}

.page-home .result-card--dark .result-context {
  color: rgba(255, 255, 255, 0.78);
}

.page-home .result-quote {
  margin: auto 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.page-home .result-card--dark .result-quote {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.page-home .result-quote p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 15px;
  font-style: italic;
  line-height: 1.45;
}

.page-home .result-card--dark .result-quote p {
  color: #fff;
}

.page-home .result-quote footer {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 500;
  font-style: normal;
}

.page-home .result-card--dark .result-quote footer {
  color: rgba(255, 255, 255, 0.7);
}

/* —— Work —— */
.page-home .section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  max-width: none;
}

.page-home .section-head--row .section-lead {
  max-width: 46ch;
}

.page-home .section-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.page-home .section-more:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .work-grid,
.page-home .concepts-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .page-home .work-grid,
  .page-home .concepts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

.page-home .work-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease);
}

.page-home .work-card:hover {
  border-color: var(--muted-green);
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .work-card:hover {
    transform: translateY(-2px);
  }
}

.page-home .work-shot {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--soft);
  overflow: hidden;
}

.page-home .work-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.page-home .work-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 16px;
}

.page-home .work-trade {
  color: var(--muted-green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .work-name {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.page-home .concepts {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.page-home .concepts-head {
  margin-bottom: 20px;
}

.page-home .concepts-title {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home .concepts-note {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
}

.page-home .work-card--concept {
  background: #FBF9F5;
}

/* —— How it works —— */
.page-home .how {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.page-home .how-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

@media (min-width: 768px) {
  .page-home .how-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.page-home .how-step {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.page-home .how-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.page-home .how-copy h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-home .how-copy p {
  margin: 0;
  color: var(--body);
  font-size: 15px;
  line-height: 1.5;
}

/* —— About —— */
.page-home .about-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-home .about-grid {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 48px;
  }
}

.page-home .about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 320px;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px dashed var(--muted-green);
  overflow: hidden;
}

.page-home .about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .about-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: var(--muted-green);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.page-home .about-copy .section-kicker {
  margin-bottom: 10px;
}

.page-home .about-copy h2 {
  margin: 0 0 16px;
}

.page-home .about-copy p {
  margin: 0 0 12px;
  max-width: 48ch;
  color: var(--body);
  font-size: 16px;
  line-height: 1.55;
}

.page-home .about-copy p:last-child {
  margin-bottom: 0;
}

/* —— Final CTA —— */
.page-home .final-cta {
  padding: var(--pad-section) 0;
  background: var(--brand);
  color: #E8EFEA;
}

.page-home .final-cta-grid {
  display: grid;
  gap: 36px;
  align-items: start;
}

@media (min-width: 900px) {
  .page-home .final-cta-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 48px;
  }
}

.page-home .final-cta-copy h2 {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-home .final-cta-copy > p {
  margin: 0 0 24px;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.55;
}

.page-home .final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.page-home .final-cta .btn-primary {
  background: var(--accent);
  color: var(--ink);
}

.page-home .final-cta-email {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .final-cta-email:hover {
  color: var(--accent);
}

.page-home .cta-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.page-home .cta-field {
  display: grid;
  gap: 6px;
}

.page-home .cta-field label {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.page-home .cta-field input,
.page-home .cta-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
}

.page-home .cta-field textarea {
  min-height: 96px;
  resize: vertical;
}

.page-home .cta-field input:focus-visible,
.page-home .cta-field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.page-home .cta-form-status {
  margin: 0;
  min-height: 1.2em;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.page-home .cta-form-status.is-error {
  color: #FFD6A8;
}

.page-home .cta-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

/* —— Footer —— */
.page-home .site-footer {
  padding: 28px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.page-home .site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.page-home .footer-copy {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
}

.page-home .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.page-home .footer-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.page-home .footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .footer-social {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.page-home .footer-social a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.page-home .footer-social svg {
  width: 18px;
  height: 18px;
}

/* Smooth anchors under sticky header */
.page-home [id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  .page-home {
    scroll-behavior: smooth;
  }

  .page-home .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 280ms ease, transform 280ms ease;
  }

  .page-home .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .reveal {
    opacity: 1;
    transform: none;
  }
}
