/* Site shell — full-width warm layout: sticky nav, photo hero, content bands,
   CTA band and footer, shared by every page. Built on the theme tokens. */

body { background: var(--color-bg); }

/* The page is now full-width cream; content is centred by .wrap / section padding. */
.page {
  width: 100%;
  margin: 0;
  background: var(--color-bg);
  box-shadow: none;
  --gutter: max(24px, calc((100% - 1200px) / 2));
}

a { color: var(--color-accent); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-600); }

/* ══ header / nav ══ */
.site-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 26px;
  padding: 16px var(--gutter);
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--color-divider);
  flex-wrap: wrap;
}
.site-nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 800; font-size: 20px;
  letter-spacing: -0.02em; color: var(--color-text); text-decoration: none;
  margin-right: 6px;
}
.site-nav__brand img { width: 34px; height: 34px; border-radius: 50%; }
.site-nav__cta { margin-left: auto; }

.ilink {
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  color: var(--color-muted); text-decoration: none; transition: color .15s;
}
.ilink:hover { color: var(--color-text); }
.ilink[aria-current] { color: var(--color-accent); }

/* Nav laid over a hero photo — light text, transparent bar. */
.site-nav--over {
  position: absolute; top: 0; left: 0; right: 0;
  background: transparent; backdrop-filter: none; border-bottom: 0;
}
.site-nav--over .site-nav__brand { color: #fff; }
.site-nav--over .ilink { color: rgba(255,255,255,0.85); }
.site-nav--over .ilink:hover,
.site-nav--over .ilink[aria-current] { color: #fff; }

/* ══ hero (photo) ══ */
.hero {
  position: relative;
  min-height: var(--hero-h, 560px);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18,32,26,0.45) 0%, rgba(18,32,26,0.05) 30%, rgba(18,32,26,0.10) 55%, rgba(15,28,22,0.82) 100%);
}
.hero__body {
  position: relative; margin-top: auto;
  padding: 0 var(--gutter) clamp(40px, 6vw, 76px);
  color: #fff; max-width: 760px;
}
.hero__body h1 {
  color: #fff; letter-spacing: -0.03em; margin: 0 0 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.28);
}
.hero__body p {
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; margin: 0;
  color: rgba(255,255,255,0.92); max-width: 56ch;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__back {
  align-self: flex-start;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  color: rgba(255,255,255,0.9); text-decoration: none;
}
.hero__back:hover { color: #fff; }

/* Ghost button sits over a photo here — needs to stay legible on light areas. */
.hero .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.12); backdrop-filter: blur(4px);
}
.hero .btn-ghost:hover { background: rgba(255,255,255,0.24); color: #fff; }

/* Pill chip used above hero/section titles */
.chip, .hero__badge > span {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-body); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--radius-pill);
}
.hero__badge { display: inline-block; margin-bottom: 18px; }
.hero__badge > span {
  background: color-mix(in srgb, var(--color-accent-2) 92%, #fff); color: #3a1e05;
}

/* ══ photographs ══ */
.photo {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background-color: var(--color-surface-2);
  background-image: repeating-linear-gradient(45deg, transparent 0 12px, color-mix(in srgb, var(--color-text) 5%, transparent) 12px 13px);
}
.photo::after {
  content: attr(data-label); position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; padding: var(--space-4);
  text-align: center; font-family: var(--font-heading); font-weight: 600; font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-neutral-500);
}
.photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }

/* ══ section furniture ══ */
.kicker {
  display: block; font-family: var(--font-body); font-weight: 700;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-accent-2-600); margin-bottom: 14px;
}
.lede { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.65; max-width: 60ch; margin: 0; color: var(--color-muted); }

.page-header { padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(28px, 4vw, 48px); }
.page-header h1 { max-width: var(--h1-measure, 18ch); }
.page-header .lede { margin-top: 4px; }

/* numbered reason columns */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.reasons > div {
  background: var(--color-surface); border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-sm);
}
.reasons__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--color-accent-100); color: var(--color-accent);
  font-family: var(--font-heading); font-weight: 800; font-size: 15px; margin-bottom: 14px;
}
.reasons h3 { font-size: 20px; margin: 0 0 8px; }
.reasons p { font-size: 15px; line-height: 1.6; margin: 0; color: var(--color-muted); }

/* ══ CTA band ══ */
.cta-band {
  position: relative;
  margin: clamp(40px, 6vw, 80px) var(--gutter);
  padding: clamp(48px, 6vw, 76px);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-700) 100%);
  color: #fff;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  overflow: hidden;
}
.cta-band h2 { color: #fff; margin: 0; letter-spacing: -0.02em; }
.cta-band p { font-size: 17px; margin: 0 0 22px; color: rgba(255,255,255,0.9); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.18); color: #fff; }
.cta-band .btn-warm:hover { background: var(--color-accent-2-600); }

/* poster (single-column accent statement, e.g. Contact) */
.poster {
  margin: clamp(40px, 6vw, 80px) var(--gutter);
  padding: clamp(48px, 6vw, 72px);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-700) 100%);
  color: #fff;
}
.poster h2 { color: #fff; margin: 0; max-width: 22ch; letter-spacing: -0.02em; }

/* ══ footer ══ */
.site-footer {
  margin-top: clamp(32px, 5vw, 64px);
  padding: 40px var(--gutter);
  border-top: 1px solid var(--color-divider);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--color-muted);
}
.site-footer__links { display: flex; gap: 22px; }
.site-footer__links a { color: var(--color-muted); text-decoration: none; }
.site-footer__links a:hover { color: var(--color-accent); }

/* ══ responsive ══ */
@media (max-width: 860px) {
  .reasons { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .site-nav { gap: 16px; padding-block: 12px; }
  .site-nav__cta { margin-left: 0; }
  .hero { min-height: 76vh; }
}
