/* Homepage ("Bold Introduction"). Tokens are scoped to body.page-home so other pages keep the shared palette. */

.page-home {
  --ivory: #FAF9F6;
  --charcoal: #141414;
  --sand: #FCEDEE;
  --bronze: #E56B6F;
  --coral: #E56B6F;
  --coral-hover: #D65A5F;
  --blush: #FCEDEE;
  --red-ink: #9B2226;
  --error: var(--red-ink);
  --muted: #4A4644;
  --line: rgba(20, 20, 20, .12);
  --line-strong: rgba(20, 20, 20, .2);
  --serif: var(--sans);
  --header-h: 80px;
  --wrap: 1200px;
  background: var(--ivory);
  color: var(--charcoal);
}

.page-home h1, .page-home h2, .page-home h3 { font-weight: 700; letter-spacing: -.03em; line-height: 1.04; margin: 0; }
.page-home p { margin: 0; }

/* buttons & links */
.page-home .btn { border-radius: 999px; min-height: 52px; padding: .85em 1.9em; font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.page-home .btn-coral { background: var(--coral); color: var(--charcoal); }
.page-home .btn-coral:hover { background: var(--coral-hover); color: var(--charcoal); }
.page-home .btn-coral:disabled { background: var(--line-strong); color: var(--muted); cursor: not-allowed; }

/* header */
.page-home .site-header { background: rgba(250, 249, 246, .94); border-bottom-color: var(--line); }
.page-home .logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.page-home .logo img { width: 156px; height: auto; }
.page-home .site-nav { gap: 40px; }
.page-home .site-nav ul { gap: 36px; }
.page-home .site-nav ul a { font-size: .98rem; color: var(--charcoal); }
.page-home .nav-cta { min-height: 44px; padding: .6em 1.35em; font-size: .95rem; }

/* hero */
.page-home .hero { position: static; display: block; min-height: 0; overflow: visible; background: none; color: var(--charcoal); padding: 40px 0; }
.page-home .hero :focus-visible { outline-color: var(--charcoal); }
.page-home .hero-content { padding: 0; }
.page-home .hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.page-home .eyebrow { display: flex; align-items: center; gap: 12px; font: 600 .8rem/1.4 var(--sans); letter-spacing: .14em; color: var(--charcoal); }
.page-home .eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--coral); flex: none; }
.page-home .hero h1 { font-size: 56px; line-height: 1.1; letter-spacing: -.04em; max-width: 11em; margin: 24px 0; }
.page-home .hero-accent { color: var(--red-ink); }
.page-home .hero-sub { font-size: 1.125rem; line-height: 1.55; color: var(--muted); max-width: 30em; margin-bottom: 36px; }
.page-home .hero-art { justify-self: end; width: 100%; max-width: 208px; }
.page-home .hero-art svg { display: block; width: 100%; height: auto; }

/* services: three columns, thin dividers */
.page-home .services { border-top: 1px solid var(--line-strong); padding: 32px 0 clamp(64px, 8vw, 112px); }
.page-home .service-list { --pad: clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: calc(var(--pad) * 2); }
.page-home .service { position: relative; display: flex; flex-direction: column; }
.page-home .service + .service::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--pad) * -1); border-left: 1px solid var(--line); }
.page-home .service-media { margin: 0 0 28px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--blush); }
.page-home .service-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-home .service-num { font: 700 1.5rem/1 var(--sans); color: var(--red-ink); }
.page-home .service-title { font-size: clamp(1.9rem, 3vw, 2.6rem); margin: 28px 0 16px; }
.page-home .service-label { font: 600 1rem/1.4 var(--sans); color: var(--charcoal); margin-bottom: 14px; }
.page-home .service-text { color: var(--muted); line-height: 1.6; margin-bottom: 28px; }
.page-home .service-link { align-self: flex-start; margin-top: auto; font-weight: 600; color: var(--red-ink); text-decoration: none; border-bottom: 2px solid var(--red-ink); padding-bottom: .2em; }
.page-home .service-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* about */
.page-home .about { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 112px) 0; }
.page-home .about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.page-home .about h2 { font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.02; }
.page-home .about p { font-size: 1.25rem; line-height: 1.6; color: var(--muted); padding-top: 8px; }

/* contact */
.page-home .contact { background: var(--blush); padding: clamp(64px, 8vw, 112px) 0; }
.page-home .contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.page-home .contact h2 { font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.02; }
.page-home .contact-form { display: grid; gap: 22px; }
.page-home .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.page-home .field { display: grid; gap: 8px; align-content: start; }
.page-home .field label { font: 600 .95rem/1.4 var(--sans); color: var(--charcoal); }
.page-home .req { font-weight: 400; color: var(--muted); font-size: .85rem; }
.page-home .field input, .page-home .field select, .page-home .field textarea {
  width: 100%; padding: .85em 1em; font: 400 1rem/1.4 var(--sans); color: var(--charcoal);
  background: #FFFFFF; border: 1px solid rgba(20, 20, 20, .3); border-radius: 6px;
}
.page-home .field textarea { resize: vertical; min-height: 140px; }
.page-home .field input:focus-visible, .page-home .field select:focus-visible, .page-home .field textarea:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.page-home .field [aria-invalid="true"] { border-color: var(--error); }
.page-home .field-error { font-size: .9rem; color: var(--error); min-height: 1em; }
.page-home .form-submit { justify-self: start; }
.page-home .form-status { padding: 18px 20px; background: #FFFFFF; border-left: 4px solid var(--charcoal); border-radius: 6px; }
.page-home .form-status h2 { font: 700 1.1rem/1.3 var(--sans); letter-spacing: 0; margin-bottom: 6px; }
.page-home .form-status.warn, .page-home .form-status.error { border-left-color: var(--error); }

/* footer */
.page-home .site-footer { background: var(--ivory); color: var(--charcoal); border-top: 1px solid var(--line); padding: 56px 0 32px; }
.page-home .footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.page-home .footer-name { font: 700 1.5rem/1 var(--sans); letter-spacing: -.02em; margin-bottom: 12px; }
.page-home .footer-line { color: var(--muted); }
.page-home .footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6em; justify-items: start; }
.page-home .footer-nav a { color: var(--red-ink); text-decoration: none; }
.page-home .footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-home .footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* service pages */
.page-home .service-page { padding: clamp(80px, 12vw, 160px) 0; }
.page-home .service-page h1 { font-size: clamp(2.75rem, 6.5vw, 5.5rem); line-height: 1; letter-spacing: -.04em; max-width: 12em; margin: 28px 0; }
.page-home .service-page-lede { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.55; color: var(--muted); max-width: 30em; margin-bottom: 40px; }
.page-home .service-page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.page-home .text-link { font: 600 1rem/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--red-ink); text-decoration: none; border-bottom: 2px solid var(--red-ink); padding-bottom: .2em; }

/* hover: subtle, no movement */
.page-home .site-nav ul a:hover::after { background: var(--red-ink); }

@media (max-width: 1100px) {
  .page-home .service-title { font-size: clamp(1.75rem, 3.4vw, 2.2rem); }
}

@media (max-width: 860px) {
  .page-home .hero-grid, .page-home .about-grid, .page-home .contact-grid, .page-home .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .page-home .hero { padding-top: 40px; }
  .page-home .hero h1 { font-size: 44px; }
  .page-home .hero-art { position: absolute; right: 0; bottom: 0; justify-self: auto; width: 140px; max-width: none; pointer-events: none; }
  .page-home .logo img { width: 120px; }
  .page-home .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
  .page-home .service + .service::before { content: none; }
  .page-home .nav-cta { align-self: stretch; min-height: 52px; font-size: 1rem; }
  .page-home .site-nav ul a { color: var(--charcoal); font: 600 1.75rem/1.2 var(--sans); }
}

@media (max-width: 640px) {
  .page-home .hero { padding-top: 24px; }
  .page-home .hero h1 { font-size: 34px; }
  .page-home .hero-sub { font-size: 1rem; }
  .page-home .hero-art { display: none; }
  .page-home .service-list { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .page-home .service { padding: 40px 0; border-top: 1px solid var(--line); }
  .page-home .service:first-child { padding-top: 0; border-top: 0; }
  .page-home .form-row { grid-template-columns: minmax(0, 1fr); }
  .page-home .form-submit { justify-self: stretch; }
}

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