/*
Theme Name: farris-knight
Description: A single page dynamic theme for Farris Knight housing and pathways, converted from HTML.
Author: Antigravity
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: farris-knight
*/

:root {
  --paper: #FAF6EF;
  --paper-2: #F2EBDF;
  --card: #FFFFFF;
  --ink: rgba(76, 76, 76, 1.00);
  --ink-soft: rgba(76, 76, 76, 0.78);
  --ink-faint: rgba(76, 76, 76, 0.45);
  --teal: rgba(76, 76, 76, 1.00);
  --teal-2: rgba(50, 50, 50, 1.00);
  --teal-soft: rgba(76, 76, 76, 0.12);
  --clay: rgba(253, 128, 8, 1.00);
  --clay-soft: rgba(253, 128, 8, 0.12);
  --gold: rgba(253, 128, 8, 1.00);
  --gold-soft: rgba(253, 128, 8, 0.15);
  --line: rgba(76, 76, 76, 0.12);
  --line-2: rgba(76, 76, 76, 0.07);
  --shadow: 0 24px 60px rgba(76, 76, 76, 0.10);
  --shadow-sm: 0 10px 30px rgba(76, 76, 76, 0.07);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
}

h1,
h2,
h3,
h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.012em;
  color: var(--ink)
}

a {
  text-decoration: none;
  color: inherit
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: 'Manrope';
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clay)
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: currentColor
}

.eyebrow.t::before {
  background: var(--gold)
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Manrope';
  font-weight: 600;
  font-size: .96rem;
  padding: 14px 26px;
  border-radius: 100px;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform .4s var(--ease)
}

.btn-solid {
  background: var(--teal);
  color: var(--paper)
}

.btn-solid:hover {
  background: var(--teal-2);
  transform: translateY(-2px)
}

.btn-solid:hover svg {
  transform: translateX(4px)
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--line)
}

.btn-line:hover {
  border-color: var(--teal);
  transform: translateY(-2px)
}

.btn-clay {
  background: var(--clay);
  color: #fff
}

.btn-clay:hover {
  transform: translateY(-2px);
  filter: brightness(1.05)
}

.btn-ghost-l {
  background: rgba(255, 255, 255, .1);
  color: var(--paper);
  border-color: rgba(255, 255, 255, .28)
}

.btn-ghost-l:hover {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-2px)
}

/* nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: .4s var(--ease)
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: .4s var(--ease)
}

header.scrolled {
  background: rgba(250, 246, 239, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-2)
}

header.scrolled .nav {
  padding: 13px 32px
}

/* logo styles */
.logo {
  display: flex;
  align-items: center;
  position: relative;
  transition: all 0.3s var(--ease);
}

.logo-scrolled-mark {
  opacity: 0;
  visibility: hidden;
  width: 0;
  transition: opacity 0.3s var(--ease), visibility 0.3s, width 0.3s var(--ease);
  display: none;
  overflow: hidden;
  width: 100%;
  max-width: 44px;
}

.logo-scrolled-mark img {
  height: AUTO;
  width: 100%;
  display: block;
}

.logo-default-full {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--ease), visibility 0.3s, width 0.3s var(--ease);
  display: block;
  max-width: 200px;
  width: 100%;
}

.logo-default-full img {
  height: AUTO;
  width: 100%;
  display: block;
}

.logo-default-full span {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 1.28rem;
  display: flex;
  flex-direction: column;
}

.logo-default-full small {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-top: 1px;
}

/* Scrolled logo state (transparent bg, helmet only) */
header.scrolled .logo-default-full {
  opacity: 0;
  visibility: hidden;
  width: 0;
  height: 0;
  overflow: hidden;
  display: none;
}

header.scrolled .logo-scrolled-mark {
  opacity: 1;
  visibility: visible;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px
}

.nav-links a {
  font-weight: 500;
  font-size: .92rem;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: .25s
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--paper-2)
}

.menu-btn {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center
}

.menu-btn span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px
}

/* anim */
@keyframes rise {
  to {
    opacity: 1;
    transform: none
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease)
}

.reveal.in {
  opacity: 1;
  transform: none
}

.stagger>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease)
}

.stagger.in>* {
  opacity: 1;
  transform: none
}

.stagger.in>*:nth-child(2) {
  transition-delay: .09s
}

.stagger.in>*:nth-child(3) {
  transition-delay: .18s
}

.stagger.in>*:nth-child(4) {
  transition-delay: .27s
}

.stagger.in>*:nth-child(5) {
  transition-delay: .36s
}

/* headline line mask */
.mask {
  /* overflow: hidden; */
  display: block
}

.mask span {
  display: block;
  transform: translateY(110%);
  animation: up 1s var(--ease) forwards
}

.mask.l2 span {
  animation-delay: .12s
}

.mask.l3 span {
  animation-delay: .24s
}

@keyframes up {
  to {
    transform: translateY(0)
  }
}

.fade {
  opacity: 0;
  animation: rise .9s var(--ease) forwards
}

.fd1 {
  animation-delay: .5s
}

.fd2 {
  animation-delay: .62s
}

.fd3 {
  animation-delay: .74s
}

/* gentle floats for illustration layers */
.floatA {
  animation: fa 8s ease-in-out infinite
}

@keyframes fa {
  50% {
    transform: translateY(-10px)
  }
}

.floatB {
  animation: fa 10s ease-in-out infinite .8s
}

.floatC {
  animation: fa 9s ease-in-out infinite .4s
}

.breathe {
  transform-box: fill-box;
  transform-origin: center;
  animation: br 7s ease-in-out infinite
}

@keyframes br {
  50% {
    transform: scale(1.04)
  }
}

.lit {
  animation: lit 6s ease-in-out infinite
}

.lit.b {
  animation-delay: 1.4s
}

.lit.c {
  animation-delay: 2.6s
}

.lit.d {
  animation-delay: 3.6s
}

@keyframes lit {

  0%,
  100% {
    opacity: .35
  }

  45%,
  70% {
    opacity: 1
  }
}

.draw {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: draw 2.2s var(--ease) .5s forwards
}

@keyframes draw {
  to {
    stroke-dashoffset: 0
  }
}

.uline {
  transform: scaleX(0);
  transform-origin: left;
  animation: ul 1s var(--ease) .9s forwards
}

@keyframes ul {
  to {
    transform: scaleX(1)
  }
}

/* @media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important
  }

  .mask span {
    transform: none
  }
} */

/* ===== hero ===== */
.hero {
  padding: 170px 0 70px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--paper) 0%, #FAF6EF 55%, #F6ECE0 100%);
  background-size: 200% 200%;
  animation: hero-gradient 20s ease-in-out infinite;
}

@keyframes hero-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}

.ho1 {
  width: 580px;
  height: 580px;
  background: linear-gradient(135deg, rgba(76, 76, 76, 0.16) 0%, rgba(253, 128, 8, 0.08) 100%);
  top: -120px;
  right: -100px;
  opacity: .8;
  animation: drift-ho1 25s ease-in-out infinite;
}

.ho2 {
  width: 480px;
  height: 480px;
  background: linear-gradient(135deg, rgba(253, 128, 8, 0.2) 0%, rgba(76, 76, 76, 0.04) 100%);
  bottom: -150px;
  left: -80px;
  opacity: .7;
  animation: drift-ho2 28s ease-in-out infinite;
}

.ho3 {
  width: 420px;
  height: 420px;
  background: linear-gradient(135deg, rgba(253, 128, 8, 0.12) 0%, rgba(76, 76, 76, 0.08) 100%);
  top: 35%;
  left: 25%;
  opacity: .65;
  animation: drift-ho3 32s ease-in-out infinite;
}

@keyframes drift-ho1 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(60px, -80px) scale(1.15) rotate(120deg); }
  66% { transform: translate(-40px, 50px) scale(0.9) rotate(240deg); }
  100% { transform: translate(0, 0) scale(1) rotate(360deg); }
}

@keyframes drift-ho2 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(-80px, 90px) scale(1.2) rotate(-180deg); }
  100% { transform: translate(0, 0) scale(1) rotate(-360deg); }
}

@keyframes drift-ho3 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(90px, 40px) scale(1.25) rotate(140deg); }
  66% { transform: translate(-50px, -60px) scale(0.8) rotate(280deg); }
  100% { transform: translate(0, 0) scale(1) rotate(360deg); }
}


.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center
}

.hpill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 28px
}

.hpill b {
  color: var(--teal);
  font-weight: 700
}

.hero h1 {
  font-size: clamp(2.9rem, 5.6vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -.02em
}

.hero h1 i {
  font-style: italic;
  color: var(--clay)
}

.hero h1 .u {
  position: relative;
  display: inline-block
}

.hero h1 .u::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 7px;
  background: var(--gold-soft);
  z-index: -1;
  transform-origin: left
}

.hero p.lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  margin: 26px 0 6px;
  max-width: 500px
}

.hero .note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 30px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal)
}

.hero .note svg {
  width: 15px;
  height: 15px
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px
}

.hero-art {
  position: relative
}

.hero-art svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible
}

/* Hero Flying Birds Animation */
.hero-birds {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.bird-div {
  position: absolute;
  pointer-events: none;
}

.bird-div svg {
  width: 100%;
  height: auto;
  display: block;
}

.bird-div svg path {
  animation: flap-wings 0.48s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

.bird-div.b1 {
  width: 48px;
  height: 16px;
  left: -60px;
  top: 15%;
  animation: fly-across-1 20s linear infinite;
}

.bird-div.b1 svg path {
  animation-duration: 0.42s;
}

.bird-div.b2 {
  width: 36px;
  height: 12px;
  left: -60px;
  top: 32%;
  animation: fly-across-2 26s linear infinite;
  animation-delay: 4s;
}

.bird-div.b2 svg path {
  animation-duration: 0.48s;
  animation-delay: 0.1s;
}

.bird-div.b3 {
  width: 30px;
  height: 10px;
  left: -60px;
  top: 8%;
  animation: fly-across-3 32s linear infinite;
  animation-delay: 9s;
}

.bird-div.b3 svg path {
  animation-duration: 0.54s;
  animation-delay: 0.2s;
}

.bird-div.b4 {
  width: 42px;
  height: 14px;
  left: -60px;
  top: 22%;
  animation: fly-across-1 22s linear infinite;
  animation-delay: 2s;
}

.bird-div.b4 svg path {
  animation-duration: 0.45s;
}

.bird-div.b5 {
  width: 27px;
  height: 9px;
  left: -60px;
  top: 6%;
  animation: fly-across-2 28s linear infinite;
  animation-delay: 7s;
}

.bird-div.b5 svg path {
  animation-duration: 0.51s;
  animation-delay: 0.1s;
}

@keyframes flap-wings {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.22) translateY(1.5px);
  }
}

@keyframes fly-across-1 {
  0% {
    left: -60px;
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  4% {
    opacity: 0.85;
  }
  90% {
    opacity: 0.85;
  }
  100% {
    left: calc(100% + 60px);
    transform: translateY(-40px) scale(0.95);
    opacity: 0;
  }
}

@keyframes fly-across-2 {
  0% {
    left: -60px;
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  4% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    left: calc(100% + 60px);
    transform: translateY(60px) scale(1.05);
    opacity: 0;
  }
}

@keyframes fly-across-3 {
  0% {
    left: -60px;
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  4% {
    opacity: 0.75;
  }
  90% {
    opacity: 0.75;
  }
  100% {
    left: calc(100% + 60px);
    transform: translateY(-20px) scale(0.9);
    opacity: 0;
  }
}

/* trust row */
.trust {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line-2);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start
}

.trust-item .ic {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--teal-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0
}

.trust-item .ic svg {
  width: 20px;
  height: 20px;
  stroke: var(--teal)
}

.trust-item b {
  font-family: 'Fraunces';
  font-weight: 500;
  font-size: 1.04rem;
  display: block
}

.trust-item span {
  font-size: .88rem;
  color: var(--ink-soft)
}

/* sections */
.sec {
  padding: 104px 0;
  position: relative
}

.sec-head {
  max-width: 620px;
  margin-bottom: 56px
}

.sec-head.center {
  margin-inline: auto;
  text-align: center
}

.sec-head h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  margin: 18px 0 14px;
  font-weight: 500
}

.sec-head h2 i {
  font-style: italic;
  color: var(--clay)
}

.sec-head p {
  font-size: 1.1rem;
  color: var(--ink-soft)
}

/* mission */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center
}

.mission-text h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin: 18px 0 20px;
  font-weight: 500
}

.mission-text h2 i {
  font-style: italic;
  color: var(--clay)
}

.mission-text p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin-bottom: 16px
}

.mission-art {
  position: relative
}

.mission-art svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  overflow: visible
}

/* offer */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line)
}

.ocard {
  padding: 38px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease);
  position: relative
}

.ocard:hover {
  background: var(--card)
}

.ocard .ic {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--teal-soft);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: .35s var(--ease)
}

.ocard:nth-child(2) .ic {
  background: var(--clay-soft)
}

.ocard:nth-child(3) .ic {
  background: var(--gold-soft)
}

.ocard:nth-child(4) .ic {
  background: var(--teal-soft)
}

.ocard .ic svg {
  width: 25px;
  height: 25px;
  stroke: var(--teal)
}

.ocard:nth-child(2) .ic svg {
  stroke: var(--clay)
}

.ocard:nth-child(3) .ic svg {
  stroke: var(--gold)
}

.ocard:hover .ic {
  transform: translateY(-4px)
}

.ocard h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
  font-weight: 500
}

.ocard p {
  font-size: .94rem;
  color: var(--ink-soft)
}

.ocard .no {
  position: absolute;
  top: 30px;
  right: 30px;
  font-family: 'Fraunces';
  font-style: italic;
  color: var(--ink-faint);
  font-size: 1rem;
  opacity: .6
}

/* support (teal section) */
.support {
  background: linear-gradient(135deg, var(--teal) 0%, rgba(55, 55, 55, 1) 100%);
  background-size: 200% 200%;
  animation: support-gradient 18s ease-in-out infinite;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

@keyframes support-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.support .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}

.so1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(253, 128, 8, 0.22) 0%, rgba(255, 255, 255, 0.05) 100%);
  top: -180px;
  right: -120px;
  opacity: .8;
  animation: drift-so1 22s ease-in-out infinite;
}

.so2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(253, 128, 8, 0.14) 0%, rgba(50, 50, 50, 0.1) 100%);
  bottom: -120px;
  left: -80px;
  opacity: .6;
  animation: drift-so2 26s ease-in-out infinite;
}

@keyframes drift-so1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 40px) scale(1.15); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes drift-so2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

.support-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2
}

.support h2 {
  color: var(--paper);
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  font-weight: 500
}

.support h2 i {
  font-style: italic;
  color: var(--gold)
}

.support .eyebrow {
  color: var(--gold)
}

.support .eyebrow::before {
  background: var(--gold)
}

.support .lead {
  color: rgba(250, 246, 239, .8);
  font-size: 1.08rem;
  margin-top: 16px
}

.elig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 11px 18px;
  border-radius: 100px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--paper)
}

.elig svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold)
}

.sup-list {
  display: grid;
  gap: 0
}

.sup-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  transition: .35s var(--ease)
}

.sup-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .14)
}

.sup-row:hover {
  padding-left: 10px
}

.sup-row .n {
  font-family: 'Fraunces';
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 34px
}

.sup-row b {
  display: block;
  color: var(--paper);
  font-size: 1.14rem;
  font-family: 'Fraunces';
  font-weight: 500;
  margin-bottom: 2px
}

.sup-row span {
  color: rgba(250, 246, 239, .72);
  font-size: .92rem
}

/* pathways */
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease)
}

.pcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow)
}

.pcard .top {
  height: 175px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center
}

.pt1 {
  background: var(--teal-soft)
}

.pt2 {
  background: var(--gold-soft)
}

.pt3 {
  background: var(--clay-soft)
}

.pcard .top svg {
  width: 200px;
  height: auto;
  overflow: visible
}

.pcard .body {
  padding: 30px
}

.pcard h3 {
  font-size: 1.34rem;
  margin-bottom: 10px;
  font-weight: 500
}

.pcard p {
  font-size: .94rem;
  color: var(--ink-soft);
  margin-bottom: 18px
}

.pcard .lnk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--teal)
}

.pcard .lnk svg {
  width: 15px;
  height: 15px;
  transition: transform .3s
}

.pcard:hover .lnk svg {
  transform: translateX(5px)
}

/* landlords */
.landlord-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  position: relative
}

.landlord-card .orb {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(217, 155, 62, .14);
  filter: blur(60px);
  top: -120px;
  right: -80px
}

.ll-left {
  padding: 56px 52px;
  position: relative;
  z-index: 2
}

.ll-left .eyebrow {
  color: var(--gold)
}

.ll-left .eyebrow::before {
  background: var(--gold)
}

.ll-left h2 {
  color: var(--paper);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin: 16px 0 16px;
  font-weight: 500
}

.ll-left>p {
  color: rgba(250, 246, 239, .78);
  margin-bottom: 26px;
  font-size: 1.04rem
}

.ll-feats {
  display: grid;
  gap: 13px;
  margin-bottom: 30px
}

.llf {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: .98rem;
  color: rgba(250, 246, 239, .92)
}

.llf .ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(217, 155, 62, .18);
  display: grid;
  place-items: center;
  flex-shrink: 0
}

.llf svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold)
}

.ll-right {
  background: rgba(255, 255, 255, .04);
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  border-left: 1px solid rgba(255, 255, 255, .08)
}

.ll-right .big {
  font-family: 'Fraunces';
  font-weight: 500;
  font-size: 4.6rem;
  color: var(--gold);
  line-height: 1
}

.ll-right h3 {
  color: var(--paper);
  font-size: 1.3rem;
  margin: 6px 0 10px;
  font-weight: 500
}

.ll-right p {
  color: rgba(250, 246, 239, .74);
  font-size: .95rem;
  margin-bottom: 24px
}

/* education */
.edu {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center
}

.edu-art {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  padding: 44px
}

.edu-art svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  overflow: visible
}

.edu-text h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 16px 0 16px;
  font-weight: 500
}

.edu-text h2 i {
  font-style: italic;
  color: var(--clay)
}

.edu-text>p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 18px
}

.owl-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--gold-soft);
  color: #8a5e16;
  padding: 7px 16px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .84rem;
  margin-bottom: 8px
}

.edu-points {
  display: grid;
  gap: 14px;
  margin-top: 8px
}

.edu-pt {
  display: flex;
  gap: 14px;
  align-items: flex-start
}

.edu-pt .ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--teal-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px
}

.edu-pt svg {
  width: 15px;
  height: 15px;
  stroke: var(--teal)
}

.edu-pt b {
  display: block;
  font-family: 'Fraunces';
  font-weight: 500;
  font-size: 1.02rem
}

.edu-pt span {
  color: var(--ink-soft);
  font-size: .92rem
}

/* cta */
.cta-inner {
  background: var(--clay);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden
}

.cta-inner .orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  filter: blur(60px)
}

.co1 {
  top: -160px;
  left: -80px
}

.co2 {
  bottom: -180px;
  right: -60px
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  max-width: 16ch;
  margin: 0 auto 16px;
  font-weight: 500;
  position: relative;
  z-index: 2
}

.cta-inner h2 i {
  font-style: italic;
  color: rgba(50, 50, 50, 1.00)
}

.cta-inner p {
  color: rgba(255, 255, 255, .88);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 2
}

.cta-actions {
  display: flex;
  gap: 13px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2
}

.cta-inner .btn-light {
  background: #fff;
  color: var(--clay)
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 16px 0 18px;
  font-weight: 500
}

.contact-info>p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 30px
}

.ci-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
  transition: .3s var(--ease)
}

.ci-item:hover {
  padding-left: 8px
}

.ci-item .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0
}

.ci-item .ic svg {
  width: 20px;
  height: 20px;
  stroke: var(--teal)
}

.ci-item small {
  display: block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700
}

.ci-item b {
  font-family: 'Fraunces';
  font-weight: 500;
  font-size: 1.06rem
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  font-weight: 500
}

.contact-form>p {
  color: var(--ink-soft);
  font-size: .92rem;
  margin-bottom: 24px
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.field {
  margin-bottom: 14px
}

.field label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px
}

.field input,
.field select,
.field textarea,
.wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--paper);
  transition: .25s
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.wpcf7-form-control:not(.wpcf7-submit):focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px var(--teal-soft)
}

.field textarea,
textarea.wpcf7-form-control {
  resize: vertical;
  min-height: 96px
}

.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Manrope';
  font-weight: 600;
  font-size: .96rem;
  padding: 14px 26px;
  border-radius: 100px;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  background: var(--teal);
  color: var(--paper);
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s;
  width: 100%;
}

.wpcf7-submit:hover {
  background: var(--teal-2);
  transform: translateY(-2px)
}

/* Contact Form 7 whitespace/break overrides */
.wpcf7 br,
.wpcf7-form br {
  display: none !important;
}

.wpcf7 p:empty,
.wpcf7-form p:empty {
  display: none !important;
}

.form-note {
  font-size: .82rem;
  color: var(--teal);
  margin-top: 8px;
  display: none;
  font-weight: 600
}

.form-note.show {
  display: block
}

/* footer */
footer {
  background: var(--ink);
  color: rgba(250, 246, 239, .7);
  padding: 72px 0 30px
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px
}

.foot-brand .logo {
  color: var(--paper);
  margin-bottom: 18px
}

.foot-brand .logo .mark {
  background: var(--clay)
}

.foot-brand .logo small {
  color: var(--gold)
}

.foot-brand p {
  font-size: .92rem;
  max-width: 300px
}

.foot-col h4 {
  color: var(--paper);
  font-family: 'Manrope';
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px
}

.foot-col a {
  display: block;
  font-size: .92rem;
  margin-bottom: 11px;
  transition: .25s
}

.foot-col a:hover {
  color: var(--gold)
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .84rem
}

/* mobile panel */
.mobile-panel {
  display: none
}

.mp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px
}

.mp-close {
  background: none;
  border: 1.5px solid var(--line);
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer
}

.mobile-panel a {
  font-family: 'Fraunces';
  font-weight: 500;
  font-size: 1.7rem;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-2)
}

.mobile-panel .btn {
  margin-top: 22px;
  justify-content: center
}

@media(max-width:1200px) {
  .nav {
    padding-left: 24px;
    padding-right: 24px;
    gap: 12px;
  }
  header.scrolled .nav {
    padding-left: 24px;
    padding-right: 24px;
  }
  .nav-links {
    gap: 2px;
  }
  .nav-links a {
    padding: 8px 8px;
    font-size: .86rem;
  }
  .logo-default-full {
    max-width: 160px;
  }
}

@media(max-width:980px) {
  .mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: var(--paper);
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
    display: flex;
    flex-direction: column;
    padding: 28px 32px;
    gap: 6px
  }

  .mobile-panel.open {
    transform: translateY(0)
  }

  .hero-grid,
  .mission-grid,
  .support-grid,
  .landlord-card,
  .edu,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .offer-grid {
    grid-template-columns: 1fr 1fr
  }

  .path-grid {
    grid-template-columns: 1fr
  }

  .trust {
    grid-template-columns: 1fr
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr
  }

  .nav-links {
    display: none
  }

  .menu-btn {
    display: flex
  }

  .hero-art,
  .mission-art {
    max-width: 480px;
    margin: 0 auto
  }

  .mission-art {
    order: -1
  }

  .ll-right {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .08)
  }
}

@media(max-width:768px) {
  .header-referral-btn {
    display: none !important;
  }
}

@media(max-width:560px) {
  .wrap {
    padding: 0 20px
  }

  .sec {
    padding: 72px 0
  }

  section#offer {
    padding-top: 0 !important;
  }

  .nav {
    padding: 20px 20px
  }

  header.scrolled .nav {
    padding: 13px 20px
  }

  .logo-default-full {
    max-width: 150px;
  }

  /* Scale down flying birds on small viewports */
  .bird-div.b1 {
    width: 28px;
    height: 9.3px;
  }
  .bird-div.b2 {
    width: 22px;
    height: 7.3px;
  }
  .bird-div.b3 {
    width: 18px;
    height: 6px;
  }
  .bird-div.b4 {
    width: 25px;
    height: 8.3px;
  }
  .bird-div.b5 {
    width: 16px;
    height: 5.3px;
  }

  .offer-grid,
  .foot-grid,
  .f-row {
    grid-template-columns: 1fr
  }

  .ll-left,
  .ll-right,
  .contact-form,
  .edu-art,
  .ocard,
  .pcard .body {
    padding: 32px 24px
  }

  .cta-inner {
    padding: 56px 26px
  }

  .hero {
    padding: 140px 0 50px
  }
}