/* Fernhollow Landscape Co. · Sample concept · fresh white & deep green
   Type: Fraunces (soft, static opsz) + Figtree (SIL OFL), self-hosted. */
@font-face { font-family: "Fraunces FH"; src: url("fonts/fraunces-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree FH"; src: url("fonts/figtree-var.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --white: #fff;
  --paper: #f7f9f4;
  --sage-50: #eef4ec;
  --sage-100: #e2ecdf;
  --sage-200: #cfdfca;
  --leaf: #9cc38a;
  --moss: #3d7652;
  --green: #1f5137;
  --forest: #143a27;
  --forest-900: #0e2a1c;
  --ink: #1b2a21;
  --muted: #4d5e53;
  --radius-lg: 28px;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "Fraunces FH", "Fraunces", Georgia, serif;
  --sans: "Figtree FH", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400' viewBox='0 0 600 400' fill='none' stroke='%23ffffff' stroke-width='1.2'%3E%3Cpath d='M-20 60c80-40 160 30 240 0s150-70 230-20 150 40 170 10'/%3E%3Cpath d='M-20 100c90-40 170 40 250 10s140-60 220-20 140 50 170 20'/%3E%3Cpath d='M-20 140c100-30 170 40 260 10s130-50 210-10 130 50 170 20'/%3E%3Cpath d='M-20 190c90-20 160 40 250 15s140-40 220-5 130 40 170 15'/%3E%3Cpath d='M-20 240c80-10 170 40 260 15s130-40 210 0 140 40 170 10'/%3E%3Cpath d='M-20 290c90-10 160 35 250 10s140-35 220 0 140 35 170 5'/%3E%3Cpath d='M-20 340c100 0 170 30 260 5s130-30 210 5 130 30 170 0'/%3E%3Cellipse cx='430' cy='210' rx='40' ry='22'/%3E%3Cellipse cx='430' cy='210' rx='70' ry='40'/%3E%3C/svg%3E");
}

body { font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 40px; } }
svg use, .eyebrow svg, .tile__icon svg, .perk__blob svg, .btn__icon { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--sage-50); font: 600 13.5px/1.2 var(--sans); letter-spacing: .04em; color: var(--green); }
.eyebrow svg { width: 18px; height: 18px; color: var(--moss); }
.eyebrow--center { margin-inline: auto; }
.sec-title { font: 500 clamp(36px, 5.6vw, 64px)/1.05 var(--serif); letter-spacing: -.025em; color: var(--forest); text-wrap: balance; }
.sec-head { margin-bottom: 44px; max-width: 760px; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border: 0; border-radius: 999px;
  font: 700 16px/1 var(--sans); text-decoration: none; transition: transform .45s var(--ease), background-color .3s ease, color .3s ease, box-shadow .45s var(--ease); }
.btn__icon { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn--green { background: var(--green); color: var(--white); box-shadow: 0 12px 26px -14px rgb(20 58 39 / .8); }
.btn--soft { background: var(--sage-50); color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--sage-200); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; }
@media (hover: hover) {
  .btn--green:hover { background: var(--forest); transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgb(20 58 39 / .9); }
  .btn--soft:hover { background: var(--sage-100); transform: translateY(-2px); }
  .btn:hover .btn__icon { transform: translateX(4px) rotate(-8deg); }
}

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .97); transition: box-shadow .35s ease; }
.hdr.is-scrolled { box-shadow: 0 1px 0 var(--sage-100), 0 14px 30px -24px rgb(20 58 39 / .45); }
.hdr__inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); text-decoration: none; }
.logo__mark { width: 34px; height: 34px; fill: rgb(156 195 138 / .35); stroke: var(--green); stroke-width: 1.6; stroke-linejoin: round; transition: transform .8s var(--ease); transform-origin: 50% 100%; }
.logo:hover .logo__mark { transform: rotate(-8deg); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font: 600 23px/1 var(--serif); letter-spacing: -.02em; }
.logo__sub { margin-top: 3px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--moss); }
.logo:focus-visible { outline: 3px solid var(--moss); outline-offset: 5px; border-radius: 6px; }

.hdr__toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--sage-50); color: var(--forest); }
.hdr__toggle:focus-visible { outline: 3px solid var(--moss); outline-offset: 2px; }
.burger { position: relative; width: 20px; height: 14px; }
.burger span { position: absolute; left: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease), opacity .3s ease, width .45s var(--ease); }
.burger span:nth-child(1) { top: 0; width: 100%; } .burger span:nth-child(2) { top: 6px; width: 70%; } .burger span:nth-child(3) { top: 12px; width: 100%; }
.is-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-open .burger span:nth-child(2) { opacity: 0; width: 0; }
.is-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav { display: none; }
.js .nav { position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); display: block; padding: 14px 18px 20px; background: var(--white); border-radius: 22px; box-shadow: 0 30px 60px -24px rgb(20 58 39 / .45), 0 0 0 1px var(--sage-100);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .3s ease, transform .45s var(--ease), visibility 0s linear .45s; }
.is-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .45s var(--ease); }
html:not(.js) .hdr__toggle { display: none; }
html:not(.js) .nav { display: block; width: 100%; padding-bottom: 12px; }
html:not(.js) .nav__list { display: flex; flex-wrap: wrap; gap: 0 18px; }
html:not(.js) .hdr__inner { flex-wrap: wrap; }
.nav__list { display: grid; }
.nav__link { display: flex; align-items: center; justify-content: space-between; padding: 14px 6px; border-bottom: 1px solid var(--sage-100); font: 500 22px/1.2 var(--serif); color: var(--forest); text-decoration: none; }
.nav__link:focus-visible { outline: 3px solid var(--moss); outline-offset: 2px; border-radius: 8px; }
.nav__cta { width: 100%; margin-top: 16px; }
@media (min-width: 960px) {
  .hdr__toggle { display: none; }
  .hdr__inner { min-height: 84px; }
  .js .nav, .nav { position: static; display: flex; align-items: center; gap: 28px; padding: 0; background: none; box-shadow: none; border-radius: 0; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav__list { display: flex; gap: 6px; }
  .nav__link { padding: 10px 16px; border: 0; border-radius: 999px; font: 600 15.5px/1 var(--sans); color: var(--ink); transition: background-color .3s ease, color .3s ease; }
  .nav__link:hover { background: var(--sage-50); color: var(--green); }
  .nav__cta { width: auto; margin: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 8px 0 72px; }
.hero__grid { position: relative; display: grid; }
.hero__media { position: relative; }
.hero__img { position: relative; aspect-ratio: 4 / 3.3; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--sage-200), var(--moss)); transform: translate3d(0, var(--parallax, 0px), 0); }
.hero__img picture, .hero__img img { width: 100%; height: 100%; }
.hero__img img { object-fit: cover; object-position: 62% 60%; }
.hero__img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); background: linear-gradient(180deg, transparent 60%, rgb(14 42 28 / .25)); pointer-events: none; }
.hero__leaf { position: absolute; border-radius: 0 100% 0 100%; background: var(--leaf); opacity: .9; pointer-events: none; }
.hero__leaf--a { width: 64px; height: 64px; right: 20px; top: -18px; background: var(--sage-200); }
.hero__leaf--b { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero__leaf { animation: fh-sway 7s ease-in-out infinite alternate; }
  .hero__leaf--b { animation-duration: 9s; animation-delay: -3s; }
  @keyframes fh-sway { from { transform: rotate(-8deg) translateY(0); } to { transform: rotate(10deg) translateY(10px); } }
}
.hero__card { position: relative; z-index: 2; margin: -64px 10px 0; padding: 28px 22px 26px; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 40px 80px -40px rgb(20 58 39 / .45), 0 0 0 1px var(--sage-100); }
.hero__title { font: 500 clamp(38px, 9.6vw, 76px)/1.02 var(--serif); letter-spacing: -.03em; color: var(--forest); text-wrap: balance; }
.hero__sub { margin-top: 18px; font-size: 17.5px; color: var(--muted); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (min-width: 640px) { .hero__card { margin: -110px 32px 0; padding: 40px 38px 36px; } .hero__img { aspect-ratio: 16 / 10; } }
@media (min-width: 1024px) {
  .hero { padding: 12px 0 110px; }
  .hero__grid { grid-template-columns: repeat(12, 1fr); align-items: center; min-height: min(calc(100svh - 110px), 760px); }
  .hero__media { grid-column: 5 / -1; grid-row: 1; height: 100%; }
  .hero__img { aspect-ratio: auto; height: 100%; min-height: 560px; }
  .hero__card { grid-column: 1 / 7; grid-row: 1; margin: 0; padding: 52px 50px 48px; }
  .hero__title { font-size: clamp(46px, 5.2vw, 76px); }
  .hero__leaf--a { width: 90px; height: 90px; right: auto; left: -30px; top: auto; bottom: 40px; }
  .hero__leaf--b { display: block; width: 46px; height: 46px; right: 36px; top: -16px; background: var(--leaf); }
}

/* ---------- Services (bento) ---------- */
.services { padding: 88px 0; background: var(--paper); }
.bento { display: grid; gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 28px; padding: 28px 26px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile::after { content: ""; position: absolute; right: -40px; bottom: -40px; z-index: -1; width: 160px; height: 160px; border-radius: 0 100% 0 100%; background: currentColor; opacity: .06; transition: transform .8s var(--ease), opacity .5s ease; }
.tile__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--white); color: var(--green); transition: transform .6s var(--ease); box-shadow: 0 8px 20px -12px rgb(20 58 39 / .45); }
.tile__icon svg { width: 28px; height: 28px; }
.tile h3 { font: 500 27px/1.15 var(--serif); letter-spacing: -.02em; margin-bottom: 8px; }
.tile p { max-width: 420px; }
.tile--feature { background: var(--green) var(--topo) center / 700px auto; color: var(--white); background-blend-mode: soft-light; }
.tile--feature { background-color: var(--green); }
.tile--feature p { color: #d6e7d8; }
.tile--feature .tile__icon { background: rgb(255 255 255 / .12); color: var(--white); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); }
.tile--sage { background: var(--sage-100); color: var(--forest); }
.tile--sage p, .tile--line p, .tile--wide p { color: var(--muted); }
.tile--line { background: var(--white); color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--sage-200); }
.tile--wide { background: linear-gradient(120deg, var(--sage-50), var(--white)); color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--sage-100); }
@media (hover: hover) {
  .tile:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgb(20 58 39 / .5); }
  .tile--line:hover, .tile--wide:hover { box-shadow: inset 0 0 0 1.5px var(--sage-200), 0 30px 50px -30px rgb(20 58 39 / .5); }
  .tile:hover::after { transform: scale(1.5) rotate(-20deg); opacity: .1; }
  .tile:hover .tile__icon { transform: rotate(-8deg) scale(1.06); }
}
@media (min-width: 700px) { .bento { grid-template-columns: 1fr 1fr; } .tile--feature { grid-column: 1 / -1; } .tile--wide { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .services { padding: 130px 0; }
  .bento { grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: minmax(250px, auto); gap: 18px; }
  .tile--feature { grid-column: 1; grid-row: 1 / span 2; justify-content: space-between; padding: 40px; }
  .tile--feature h3 { font-size: 40px; }
  .tile--feature p { font-size: 19px; }
  .tile--wide { grid-column: 2 / span 2; flex-direction: row; align-items: center; justify-content: flex-start; gap: 30px; }
  .tile { justify-content: space-between; padding: 34px; }
  .tile.tile--wide { justify-content: flex-start; }
}

/* ---------- Why ---------- */
.why { padding: 96px 0; background: var(--white); }
.why__head { text-align: center; max-width: 820px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; }
.perks { display: grid; gap: 18px; }
.perk { padding: 34px 28px 36px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--sage-100); transition: transform .5s var(--ease), background-color .4s ease; }
.perk__blob { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 24px; color: var(--green); background: var(--sage-200); border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%; transition: border-radius 1s var(--ease), background-color .4s ease, color .4s ease, transform .8s var(--ease); }
.perk__blob svg { width: 34px; height: 34px; }
.perk h3 { font: 500 26px/1.2 var(--serif); letter-spacing: -.02em; color: var(--forest); margin-bottom: 10px; }
.perk p { color: var(--muted); }
@media (hover: hover) {
  .perk:hover { transform: translateY(-6px); background: var(--sage-50); }
  .perk:hover .perk__blob { border-radius: 40% 60% 42% 58% / 60% 44% 56% 40%; background: var(--green); color: var(--white); transform: rotate(-6deg); }
}
@media (min-width: 900px) { .why { padding: 130px 0; } .perks { grid-template-columns: repeat(3, 1fr); gap: 22px; } .perk { padding: 42px 36px 44px; } }

/* ---------- Process ---------- */
.process { padding: 96px 0; background: linear-gradient(180deg, var(--paper), var(--sage-50)); overflow: hidden; }
.path { position: relative; }
.path__line { display: none; }
.stones { position: relative; display: grid; gap: 30px; padding-left: 70px; }
.stones::before { content: ""; position: absolute; left: 26px; top: 20px; bottom: 20px; width: 2px; background: repeating-linear-gradient(180deg, var(--moss) 0 8px, transparent 8px 16px); opacity: .5; }
.stone { position: relative; }
.stone__n { position: absolute; left: -70px; top: -4px; display: grid; place-items: center; width: 54px; height: 50px; background: var(--white); color: var(--green); font: 600 24px/1 var(--serif);
  border-radius: 58% 42% 50% 50% / 55% 50% 50% 45%; box-shadow: 0 10px 22px -12px rgb(20 58 39 / .5), inset 0 0 0 1.5px var(--sage-200); transition: transform .6s var(--ease), background-color .3s ease, color .3s ease; }
.stone h3 { font: 500 26px/1.2 var(--serif); letter-spacing: -.02em; color: var(--forest); margin-bottom: 6px; }
.stone p { color: var(--muted); max-width: 360px; }
@media (hover: hover) { .stone:hover .stone__n { transform: translateY(-4px) rotate(-8deg); background: var(--green); color: var(--white); } }
@media (min-width: 900px) {
  .process { padding: 130px 0; }
  .path__line { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 160px; fill: none; stroke: var(--moss); stroke-width: 2; stroke-dasharray: .012 .01; stroke-opacity: .55; }
  .stones { grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 0; }
  .stones::before { display: none; }
  .stone { padding-top: 162px; }
  .stone__n { left: 0; width: 74px; height: 68px; font-size: 30px; }
  .stone:nth-child(1) .stone__n { top: 56px; }
  .stone:nth-child(2) .stone__n { top: 6px; }
  .stone:nth-child(3) .stone__n { top: 66px; }
}

/* ---------- CTA ---------- */
.cta { padding: 20px 0 96px; background: var(--sage-50); }
.cta__panel { position: relative; display: grid; gap: 30px; padding: 44px 22px 26px; border-radius: 32px; overflow: hidden; isolation: isolate; color: var(--white);
  background: radial-gradient(70% 90% at 100% 0%, rgb(156 195 138 / .35), transparent 60%), var(--forest); }
.cta__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--topo) center / 900px auto; opacity: .16; }
.cta__title { font: 500 clamp(36px, 5.6vw, 62px)/1.05 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.qform { display: grid; gap: 14px; padding: 22px; border-radius: 22px; background: var(--white); color: var(--ink); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .5); }
.qform__field { display: grid; gap: 6px; }
.qform label { font: 700 13.5px/1.2 var(--sans); color: var(--forest); }
.qform input, .qform select { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid #82958a; border-radius: 14px; background: var(--paper); font-size: 17px; color: var(--ink); transition: border-color .25s ease, box-shadow .25s ease; }
.qform select { appearance: none; padding-right: 42px; background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; }
.qform input:focus, .qform select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgb(61 118 82 / .2); }
.qform__btn { width: 100%; margin-top: 4px; }
.qform .demo-note { color: var(--green); font-weight: 600; }
@media (min-width: 900px) {
  .cta { padding: 20px 0 130px; }
  .cta__panel { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; padding: 72px; }
  .qform { padding: 30px; }
}

/* ---------- Footer ---------- */
.ftr { padding: 64px 0 88px; background: var(--white); border-top: 1px solid var(--sage-100); color: var(--muted); }
.ftr__top { display: grid; gap: 28px; padding-bottom: 30px; border-bottom: 1px solid var(--sage-100); }
.ftr__line { margin-top: 14px; max-width: 360px; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.ftr__links a { display: inline-block; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 15.5px; color: var(--forest); text-decoration: none; background: var(--sage-50); transition: background-color .3s ease, color .3s ease; }
.ftr__links a:hover, .ftr__links a:focus-visible { background: var(--green); color: var(--white); }
.ftr__legal { display: grid; gap: 10px; padding-top: 24px; font-size: 14.5px; }
.ftr__gd { color: var(--green); font-weight: 700; text-underline-offset: 4px; width: fit-content; }
.ftr__gd:hover { color: var(--forest); }
@media (min-width: 900px) {
  .ftr { padding: 80px 0 96px; }
  .ftr__top { grid-template-columns: 1fr auto; align-items: end; }
  .ftr__legal { grid-template-columns: 1fr auto; align-items: center; }
}

/* WebKit hardening: backdrop-filter only on desktop widths (mobile Safari stability). */
@media (min-width: 960px) {
  .hdr { background: rgb(255 255 255 / .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}

/* Kai mobile fixes: lock page scroll while the mobile menu is open (matches the other samples; sample-base.js toggles html.nav-locked). */
html.nav-locked { overflow: hidden; }
