/* ==========================================================================
   Code, Create and Care — stylesheet
   Palette and type sampled from the brand banner (clay/plaster, warm ink,
   grey-blue stone). See tokens below.
   ========================================================================== */

:root {
  /* Color — pulled from the banner artwork */
  --bg: #F3EEE5;
  --bg-panel: #FAF7F2;
  --ink: #242529;
  --ink-soft: #5B584F;
  --clay: #8B7461;
  --clay-deep: #6E5A49;
  --clay-light: #E4D5C4;
  --stone: #6E6F75;
  --stone-light: #C7C6C8;
  --line: rgba(36, 37, 41, 0.14);
  --line-soft: rgba(36, 37, 41, 0.08);

  /* Type */
  --font-sans: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;

  /* Layout */
  --wrap: 1120px;
  --radius-pill: 999px;
  --radius-sm: 10px;
}

/* ---- Reset-ish basics ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: env(safe-area-inset-top, 0px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  /* subtle plaster grain, echoing the banner's textured surface */
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.14  0 0 0 0 0.14  0 0 0 0 0.15  0 0 0 0.035 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-sans);
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 100;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--clay-deep);
  outline-offset: 3px;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 238, 229, 0.86);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}

.brand-mark {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.brand-mark span {
  color: var(--clay-deep);
}

.social-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.icon-link:hover,
.icon-link:focus-visible {
  color: var(--bg);
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.icon-link svg {
  width: 18px;
  height: 18px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  width: 100%;
  background: var(--bg);
}

.hero picture,
.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-frame {
  width: 100%;
  aspect-ratio: 1983 / 793;
  overflow: hidden;
  position: relative;
}

.hero-frame picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ---- Intro ---- */
.intro {
  padding-block: 64px 40px;
  max-width: 700px;
  text-align: center;
  margin-inline: auto;
}

.intro .kicker {
  font-family: var(--font-hand);
  font-size: 2rem;
  color: var(--clay-deep);
  margin-bottom: 10px;
}

.intro .lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 58ch;
  margin-inline: auto;
}

@media (max-width: 560px) {
  .intro {
    padding-block: 48px 32px;
  }
  .intro .kicker {
    font-size: 1.6rem;
  }
  .intro .lede {
    font-size: 1.02rem;
  }
}

/* ---- Pillars ---- */
.pillars {
  padding-block: 24px 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

@media (max-width: 760px) {
  .pillars {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 16px 56px;
  }
}

.pillar {
  text-align: center;
  padding-inline: 12px;
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  color: var(--stone);
}

.pillar:nth-child(1) .pillar-icon {
  color: var(--clay-deep);
}

.pillar:nth-child(3) .pillar-icon {
  color: var(--ink-soft);
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
}

.pillar h2 {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pillar p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 32ch;
  margin-inline: auto;
}

/* ---- CTA band ---- */
.cta {
  background: var(--ink);
  color: var(--bg);
  padding-block: 72px;
}

.cta-inner {
  text-align: center;
  max-width: 560px;
}

.cta h2 {
  color: var(--bg);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 14px;
}

.cta p.cta-sub {
  color: rgba(243, 238, 229, 0.72);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 15px 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-primary {
  background: var(--clay-light);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 10px 24px rgba(0, 0, 0, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  background: #fff;
}

.cta-secondary {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.cta-secondary a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(243, 238, 229, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(243, 238, 229, 0.3);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.cta-secondary a:hover,
.cta-secondary a:focus-visible {
  color: var(--bg);
  border-color: var(--bg);
}

.cta-secondary svg {
  width: 16px;
  height: 16px;
}

/* ---- Footer ---- */
.site-footer {
  padding-block: 40px;
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-word {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--stone);
}

@media (max-width: 560px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
