:root {
  --cream: #f4ede1;
  --paper: #fffaf2;
  --ink: #173b35;
  --green: #1e5048;
  --green-dark: #113b35;
  --orange: #d85a32;
  --gold: #edb044;
  --brick: #a8432d;
  --line: rgba(23, 59, 53, 0.2);
  --shadow: 0 24px 60px rgba(41, 50, 44, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "DM Sans", sans-serif; line-height: 1.6; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: white; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { max-width: 1240px; margin: 0 auto; padding: 1.25rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-size: .78rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; text-transform: uppercase; }
.brand-mark { display: flex; align-items: end; height: 36px; gap: 2px; }
.brand-mark span { width: 9px; background: var(--orange); border-radius: 1px 1px 0 0; }
.brand-mark span:nth-child(1) { height: 25px; }
.brand-mark span:nth-child(2) { height: 34px; background: var(--green); }
.brand-mark span:nth-child(3) { height: 21px; background: var(--gold); }
.brand-mark span { transform-origin: bottom; transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
.brand:hover .brand-mark span:nth-child(1) { transform: translateY(-4px) scaleY(1.12); }
.brand:hover .brand-mark span:nth-child(2) { transform: translateY(-2px) scaleY(.9); }
.brand:hover .brand-mark span:nth-child(3) { transform: translateY(-7px) scaleY(1.2); }
.brand:hover .brand-mark span { filter: saturate(1.22) drop-shadow(0 5px 6px rgba(23,59,53,.18)); }
nav { display: flex; gap: 2rem; }
nav a { text-decoration: none; font-size: .9rem; font-weight: 600; }
nav a:hover { color: var(--orange); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: .8rem 1.25rem; background: var(--orange); color: white; text-decoration: none; border-radius: 3px; font-size: .9rem; font-weight: 700; box-shadow: 5px 5px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.button-small { min-height: 42px; padding: .55rem 1rem; box-shadow: none; }

.hero { min-height: 700px; max-width: 1240px; margin: 0 auto; padding: 5.5rem 2rem 4rem; display: grid; grid-template-columns: 1.04fr .96fr; gap: 6rem; align-items: center; }
.eyebrow, .section-label { margin: 0 0 1rem; color: var(--orange); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2 { font-family: "Fraunces", serif; line-height: .98; letter-spacing: -.04em; }
h1 { max-width: 700px; margin: 0; font-size: clamp(3.8rem, 7vw, 6.8rem); }
h2 { margin: 0; font-size: clamp(2.3rem, 4.2vw, 4.4rem); }
h3 { line-height: 1.2; }
.hero-lede { max-width: 620px; margin: 2rem 0; font-size: 1.15rem; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.text-link { text-underline-offset: 5px; font-weight: 700; }
.hero-art { position: relative; min-height: 490px; overflow: hidden; border-radius: 48% 48% 6px 6px; background: #7ba39b; box-shadow: var(--shadow); }
.sun { position: absolute; width: 170px; height: 170px; top: 55px; right: 70px; border-radius: 50%; background: var(--gold); }
.wire { position: absolute; left: -20%; width: 150%; height: 1px; background: rgba(23,59,53,.6); transform-origin: center; }
.wire-one { top: 105px; transform: rotate(7deg); }
.wire-two { top: 150px; transform: rotate(-4deg); }
.rowhouses { position: absolute; left: 0; right: 0; bottom: 0; height: 68%; display: flex; align-items: flex-end; }
.house { position: relative; flex: 1; height: 82%; background: var(--brick); border-right: 4px solid rgba(244,237,225,.55); border-top: 8px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 45px 14px 0; }
.house-two { height: 98%; background: #d06a3f; }
.house-three { height: 88%; background: #ede0c5; }
.house-four { height: 94%; background: #b84c35; }
.window { height: 56px; background: #bfd2c7; border: 7px solid var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.door { position: absolute; width: 44px; height: 84px; bottom: 0; left: calc(50% - 22px); background: var(--ink); border: 5px solid var(--paper); border-bottom: 0; }
.street-sign { position: absolute; z-index: 3; top: 38px; left: 28px; width: 160px; background: var(--green); color: white; border: 4px solid white; padding: .45rem .7rem; transform: rotate(-3deg); box-shadow: 0 4px 0 var(--ink); font-weight: 700; line-height: 1.15; }
.street-sign small { display: block; color: #cde3d8; font-size: .65rem; }
.art-caption { position: absolute; z-index: 4; right: 24px; bottom: 17px; margin: 0; color: white; font-family: "Fraunces", serif; font-size: 1.05rem; }
.hero-copy > *, .house, .street-sign, .sun { will-change: transform, opacity; }
.motion-reveal { will-change: transform, opacity; }

.intro { padding: 8rem max(2rem, calc((100vw - 1176px)/2)); background: var(--paper); display: grid; grid-template-columns: .9fr 1.1fr; gap: 8rem; align-items: start; }
.intro-copy { max-width: 650px; font-size: 1.2rem; }
.intro-copy p:first-child { margin-top: 0; }
.priorities, .how-it-works { max-width: 1240px; margin: 0 auto; padding: 8rem 2rem; }
.section-heading { max-width: 800px; margin-bottom: 3.2rem; }
.section-heading > p:last-child { max-width: 570px; font-size: 1.05rem; }
.priority-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.priority-card { min-height: 350px; padding: 1.8rem; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.priority-card.featured { background: var(--green); color: white; transform: translateY(-16px); }
.card-number { align-self: flex-end; font-family: "Fraunces", serif; font-size: 1rem; opacity: .55; }
.icon { width: 62px; height: 62px; margin: 2.5rem 0 1.5rem; color: var(--orange); }
.icon-spark { display: grid; place-items: center; border-radius: 50%; color: var(--gold); border: 2px solid currentColor; font-size: 2rem; }
.icon-shield { border: 3px solid var(--orange); border-radius: 50% 50% 44% 44%; box-shadow: inset 0 0 0 7px var(--paper); background: var(--gold); }
.icon-people { display: flex; align-items: center; gap: 3px; }
.icon-people i { display: block; width: 19px; height: 35px; border-radius: 50% 50% 3px 3px; background: var(--orange); }
.icon-people i:nth-child(2) { height: 50px; background: var(--green); }
.priority-card h3 { margin: auto 0 .6rem; font-family: "Fraunces", serif; font-size: 1.75rem; }
.priority-card p { margin: 0; }
.how-it-works { padding-top: 2rem; }
.compact { max-width: 600px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.steps li > span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); font-family: "Fraunces", serif; font-weight: 700; }
.steps h3 { margin: 0 0 .25rem; font-size: 1.25rem; }
.steps p { margin: 0; }
.resources { padding: 4rem max(2rem, calc((100vw - 1176px)/2)); background: var(--gold); display: grid; grid-template-columns: 1.4fr .6fr; gap: 2rem; align-items: end; }
.resources h2 { max-width: 800px; font-size: clamp(2rem, 3.4vw, 3.5rem); }
.resource-link { justify-self: end; font-size: 1.3rem; font-weight: 700; text-underline-offset: 6px; }
.resource-note { grid-column: 1 / -1; margin: 0; font-size: .83rem; opacity: .7; }
.contact { padding: 7rem max(2rem, calc((100vw - 1176px)/2)); background: var(--green-dark); color: white; display: grid; grid-template-columns: 1fr .85fr; gap: 8rem; align-items: center; }
.contact-copy p:last-child { max-width: 540px; font-size: 1.1rem; }
.section-label.light { color: #f2b45d; }
.contact-card { padding: 2.5rem; background: var(--orange); box-shadow: 12px 12px 0 #0b2824; }
.contact-card p { margin: 0 0 .3rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-card > a:not(.button) { display: block; margin-bottom: 2rem; font-family: "Fraunces", serif; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.25; }
.button-cream { background: var(--paper); color: var(--ink); }
footer { padding: 2.5rem max(2rem, calc((100vw - 1176px)/2)); background: #0a2c27; color: rgba(255,255,255,.75); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; font-size: .8rem; }
footer p:nth-child(2) { text-align: center; }
footer p:last-child { text-align: right; }

/* Liquid-glass interaction layer */
body {
  min-height: 100%;
  background:
    radial-gradient(circle at 8% 8%, rgba(237,176,68,.30), transparent 28rem),
    radial-gradient(circle at 92% 24%, rgba(123,163,155,.32), transparent 32rem),
    radial-gradient(circle at 52% 82%, rgba(216,90,50,.16), transparent 34rem),
    var(--cream);
  background-attachment: fixed;
}
.site-header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  width: calc(100% - 2rem);
  margin-top: 1rem;
  padding: .8rem 1rem .8rem 1.2rem;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,250,242,.42));
  box-shadow: 0 16px 42px rgba(23,59,53,.11), inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(23,59,53,.06);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
}
.brand, nav a, .button, .text-link, .resource-link, .priority-card, .contact-card, .hero-art, .steps li {
  -webkit-tap-highlight-color: transparent;
}
nav { gap: .35rem; padding: .3rem; border-radius: 999px; background: rgba(255,255,255,.28); }
nav a { padding: .5rem .85rem; border-radius: 999px; transition: color .25s ease, background-color .25s ease, box-shadow .25s ease, transform .25s ease; }
nav a:hover, nav a:focus-visible { color: var(--ink); background: rgba(255,255,255,.72); box-shadow: 0 8px 20px rgba(23,59,53,.1), inset 0 1px 0 white; transform: translateY(-1px); }
.button {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(231,108,67,.97), rgba(199,69,38,.94));
  box-shadow: 0 12px 24px rgba(168,67,45,.23), inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(88,24,12,.18);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, filter .3s ease;
}
.button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--pointer-x, 30%) var(--pointer-y, 10%), rgba(255,255,255,.48), transparent 42%);
  opacity: .55;
  transform: translateX(-24%);
  transition: opacity .25s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.button:hover::after, .button:focus-visible::after { transform: translateX(24%); opacity: .85; }
.button:hover, .button:focus-visible { transform: translateY(-3px) scale(1.015); box-shadow: 0 18px 34px rgba(168,67,45,.3), inset 0 1px 0 rgba(255,255,255,.7); filter: saturate(1.08); }
.button:active { transform: translateY(0) scale(.985); box-shadow: 0 7px 14px rgba(168,67,45,.2), inset 0 2px 4px rgba(88,24,12,.15); }
.button-small { box-shadow: 0 8px 18px rgba(168,67,45,.2), inset 0 1px 0 rgba(255,255,255,.52); }
.button-cream { color: var(--ink); background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(244,237,225,.78)); box-shadow: 0 12px 28px rgba(61,24,16,.2), inset 0 1px 0 white; }
.text-link, .resource-link { border-radius: 999px; transition: transform .25s ease, color .25s ease, text-decoration-color .25s ease; }
.text-link:hover, .resource-link:hover { color: var(--orange); transform: translateY(-2px); }
.text-link span, .resource-link span { display: inline-block; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.text-link:hover span { transform: translateY(5px); }
.resource-link:hover span { transform: translate(5px, -5px); }
.hero { padding-top: 4.25rem; }
.hero-art {
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 48% 48% 30px 30px;
  box-shadow: 0 36px 80px rgba(23,59,53,.2), 0 8px 24px rgba(23,59,53,.13), inset 0 1px 0 rgba(255,255,255,.72);
  transition: transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .55s ease;
}
.hero-art:hover { transform: translateY(-7px) rotateX(1deg); box-shadow: 0 46px 92px rgba(23,59,53,.24), 0 12px 30px rgba(23,59,53,.14), inset 0 1px 0 rgba(255,255,255,.82); }
.hero-art .house, .hero-art .sun, .hero-art .street-sign { transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .55s ease; }
.hero-art:hover .sun { transform: translate(-8px, -8px) scale(1.07); filter: drop-shadow(0 14px 20px rgba(139,92,16,.2)); }
.hero-art:hover .street-sign { transform: translateY(-7px) rotate(-1deg); }
.hero-art:hover .house-one { transform: translateY(-7px); }
.hero-art:hover .house-two { transform: translateY(-15px); }
.hero-art:hover .house-three { transform: translateY(-9px); }
.hero-art:hover .house-four { transform: translateY(-18px); }
.street-sign { border-radius: 14px; background: rgba(17,59,53,.78); box-shadow: 0 14px 32px rgba(17,59,53,.28), inset 0 1px 0 rgba(255,255,255,.42); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.intro { background: linear-gradient(135deg, rgba(255,250,242,.78), rgba(255,255,255,.44)); border-block: 1px solid rgba(255,255,255,.7); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.priority-card, .contact-card, .resources {
  --pointer-x: 50%;
  --pointer-y: 20%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.contact-card::before, .resources::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255,255,255,.58), transparent 34%);
  opacity: .48;
  transition: opacity .35s ease;
}
.priority-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.24) 48%, transparent 66%);
  opacity: .32;
  transform: translateX(-36%);
  transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
}
.priority-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,250,242,.48));
  box-shadow: 0 18px 45px rgba(23,59,53,.1), inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(23,59,53,.05);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease, border-color .45s ease;
}
.priority-card:hover { transform: perspective(900px) translateY(-10px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.018); border-color: rgba(255,255,255,.98); box-shadow: 0 30px 64px rgba(23,59,53,.17), inset 0 1px 0 white; }
.priority-card:hover::before { opacity: .52; transform: translateX(36%); }
.contact-card:hover::before { opacity: .58; }
.priority-card.featured { color: white; background: linear-gradient(145deg, rgba(30,80,72,.9), rgba(17,59,53,.76)); border-color: rgba(255,255,255,.28); box-shadow: 0 26px 58px rgba(17,59,53,.24), inset 0 1px 0 rgba(255,255,255,.28); }
.priority-card.featured:hover { transform: perspective(900px) translateY(-25px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.018); box-shadow: 0 38px 76px rgba(17,59,53,.3), inset 0 1px 0 rgba(255,255,255,.34); }
.priority-card .icon { transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .45s ease; }
.priority-card:hover .icon { transform: translateY(-7px) rotate(-5deg) scale(1.12); filter: drop-shadow(0 10px 9px rgba(23,59,53,.14)); }
.priority-card:hover .card-number { transform: translate(3px, -3px); opacity: .85; }
.card-number { transition: transform .35s ease, opacity .35s ease; }
.steps { border-top: 0; display: grid; gap: .8rem; }
.steps li { padding: 1.25rem 1.4rem; border: 1px solid rgba(255,255,255,.68); border-radius: 22px; background: rgba(255,255,255,.4); box-shadow: 0 9px 25px rgba(23,59,53,.06), inset 0 1px 0 rgba(255,255,255,.85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease; }
.steps li:hover { transform: translateX(8px); background: rgba(255,255,255,.62); box-shadow: 0 16px 34px rgba(23,59,53,.11), inset 0 1px 0 white; }
.steps li > span { transition: transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s ease; }
.steps li:hover > span { transform: rotate(-8deg) scale(1.1); box-shadow: 0 10px 20px rgba(139,92,16,.2); }
.resources { margin: 0 max(1rem, calc((100vw - 1240px)/2)); border: 1px solid rgba(255,255,255,.5); border-radius: 34px; background: linear-gradient(135deg, rgba(237,176,68,.82), rgba(255,210,111,.58)); box-shadow: 0 26px 64px rgba(139,92,16,.16), inset 0 1px 0 rgba(255,255,255,.65); -webkit-backdrop-filter: blur(20px) saturate(135%); backdrop-filter: blur(20px) saturate(135%); }
.contact { margin-top: 5rem; background: radial-gradient(circle at 12% 0%, rgba(73,124,114,.7), transparent 38rem), var(--green-dark); }
.contact-card { border: 1px solid rgba(255,255,255,.3); border-radius: 32px; background: linear-gradient(145deg, rgba(224,99,59,.88), rgba(190,62,37,.7)); box-shadow: 0 30px 72px rgba(4,27,24,.38), inset 0 1px 0 rgba(255,255,255,.35); -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease; }
.contact-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 42px 86px rgba(4,27,24,.45), inset 0 1px 0 rgba(255,255,255,.45); }
.contact-card > a:not(.button) { transition: letter-spacing .35s ease, text-shadow .35s ease; }
.contact-card:hover > a:not(.button) { letter-spacing: .01em; text-shadow: 0 8px 22px rgba(61,24,16,.28); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 880px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-top: 3.5rem; }
  .hero-art { min-height: 430px; }
  .intro, .contact { grid-template-columns: 1fr; gap: 3rem; }
  .priority-grid { grid-template-columns: 1fr; }
  .priority-card.featured { transform: none; }
  .resources { grid-template-columns: 1fr; }
  .resource-link { justify-self: start; }
  footer { grid-template-columns: 1fr; }
  footer p:nth-child(2), footer p:last-child { text-align: left; }
}

@media (max-width: 560px) {
  .site-header { top: .5rem; width: calc(100% - 1rem); margin-top: .5rem; padding: .75rem 1rem; border-radius: 20px; }
  .site-header > .button { display: none; }
  .hero { min-height: auto; padding: 3rem 1rem 4rem; }
  h1 { font-size: 3.4rem; }
  .hero-art { min-height: 360px; border-radius: 34% 34% 4px 4px; }
  .window { height: 40px; border-width: 4px; }
  .house { gap: 6px; padding: 40px 7px 0; }
  .intro, .resources, .contact { padding-left: 1rem; padding-right: 1rem; }
  .priorities, .how-it-works { padding-left: 1rem; padding-right: 1rem; }
  .steps li { grid-template-columns: 56px 1fr; gap: 1rem; }
  .steps li > span { width: 48px; height: 48px; }
  .contact-card { padding: 1.5rem; }
  .resources { margin-left: .5rem; margin-right: .5rem; border-radius: 26px; }
}

@media (hover: none) {
  .hero-art:hover, .priority-card:hover, .priority-card.featured:hover, .contact-card:hover, .steps li:hover, .button:hover { transform: none; }
  .hero-art:hover .sun, .hero-art:hover .street-sign, .hero-art:hover .house { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header, .priority-card, .steps li, .intro { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .priority-card.featured { background: var(--green); }
  .contact-card { background: var(--orange); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .hero-copy > *, .house, .street-sign, .sun, .motion-reveal { will-change: auto; }
  .hero-art:hover .sun, .hero-art:hover .street-sign, .hero-art:hover .house, .priority-card:hover .icon, .brand:hover .brand-mark span { transform: none; }
}
