:root {
  --forest-950: #063e32;
  --forest-900: #075441;
  --forest-800: #08694e;
  --forest-700: #0a7c57;
  --leaf-500: #67c95a;
  --leaf-400: #8ade6d;
  --leaf-200: #d9f2c9;
  --leaf-100: #edf8e6;
  --cream: #fffdf2;
  --paper: #fffef8;
  --gold: #e9bd54;
  --ink: #123b30;
  --muted: #56766b;
  --shadow: 0 18px 45px rgba(6, 62, 50, .14);
  --tile-shadow: 0 5px 0 #a8c998, 0 11px 24px rgba(6, 62, 50, .12);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 87% 8%, rgba(138, 222, 109, .32), transparent 23rem),
    radial-gradient(circle at 3% 48%, rgba(233, 189, 84, .10), transparent 22rem),
    var(--cream);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

button, input, textarea { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--forest-950);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform .2s;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 50;
  top: 30px;
  left: clamp(24px, 3.5vw, 56px);
}

.tile-nav { display: flex; gap: 12px; align-items: flex-start; }

.nav-tile {
  min-width: 94px;
  min-height: 78px;
  padding: 12px 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(10, 124, 87, .15);
  border-radius: 17px;
  color: var(--forest-800);
  background: linear-gradient(145deg, #f8fff1 0%, #dff4d2 100%);
  box-shadow: var(--tile-shadow);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.nav-tile svg { width: 23px; height: 23px; fill: currentColor; }

.nav-tile:hover {
  transform: translateY(-4px) rotate(-1deg);
  background: linear-gradient(145deg, #fffef2, #e5f8d7);
  box-shadow: 0 7px 0 #9bc887, 0 16px 30px rgba(6, 62, 50, .17);
}

.nav-tile:focus-visible, .menu-toggle:focus-visible, .submit-tile:focus-visible, input:focus-visible, textarea:focus-visible, .text-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.nav-tile.is-current {
  color: white;
  border-color: rgba(255,255,255,.12);
  background: linear-gradient(145deg, var(--forest-700), var(--forest-950));
  box-shadow: 0 5px 0 #043c2f, 0 13px 25px rgba(6, 62, 50, .23);
}

.nav-tile.is-current svg { color: var(--leaf-400); }

.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 760px;
  padding: 200px clamp(30px, 9vw, 150px) 100px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .34;
  background-image:
    linear-gradient(rgba(10, 124, 87, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 124, 87, .08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(110deg, transparent 5%, black 75%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 640px;
  height: 640px;
  right: -160px;
  top: 90px;
  border-radius: 46% 54% 67% 33% / 37% 38% 62% 63%;
  background: linear-gradient(145deg, rgba(217, 242, 201, .9), rgba(103, 201, 90, .17));
  transform: rotate(-9deg);
}

.hero-copy { position: relative; z-index: 2; width: min(720px, 64vw); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--forest-700);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow > span { width: 32px; height: 2px; background: var(--gold); }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered > span:last-child { display: block; }

.hero h1 {
  margin: 0;
  color: var(--forest-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.1rem, 8.2vw, 8.4rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .82;
}

.hero h1 em { color: var(--forest-700); font-style: italic; }

.hero-kicker {
  margin: 42px 0 9px;
  color: var(--forest-800);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.25vw, 2rem);
  font-weight: 700;
}

.hero-description { max-width: 580px; margin: 0; color: var(--muted); font-size: 1.08rem; }

.text-link {
  width: fit-content;
  margin-top: 30px;
  padding-bottom: 4px;
  display: inline-flex;
  gap: 10px;
  border-bottom: 2px solid var(--gold);
  color: var(--forest-900);
  font-weight: 800;
  text-decoration: none;
}

.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateY(4px); }

.hero-mark {
  position: absolute;
  z-index: 1;
  top: 250px;
  right: clamp(45px, 11vw, 190px);
  width: clamp(180px, 22vw, 320px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 34%;
  color: rgba(255,255,255,.84);
  background: linear-gradient(145deg, var(--forest-800), var(--leaf-500));
  box-shadow: 0 35px 70px rgba(6, 62, 50, .2), inset 0 0 0 11px rgba(255,255,255,.1);
  transform: rotate(8deg);
}

.hero-mark strong { font-family: Georgia, serif; font-size: clamp(7rem, 13vw, 12rem); line-height: 1; transform: rotate(-8deg); }

.mark-leaf {
  position: absolute;
  top: 26px;
  right: 36px;
  width: 48px;
  height: 25px;
  border-radius: 100% 0 100% 0;
  background: var(--leaf-200);
  transform: rotate(25deg);
}

.float-tile {
  position: absolute;
  display: grid;
  place-items: center;
  color: var(--forest-700);
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(10,124,87,.14);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(6,62,50,.09);
  backdrop-filter: blur(5px);
  animation: float 5s ease-in-out infinite;
}

.tile-a { width: 72px; height: 72px; top: 188px; left: 51%; font-size: 1.4rem; transform: rotate(12deg); }
.tile-b { width: 94px; height: 94px; right: 3.5%; bottom: 145px; font-size: 2.2rem; animation-delay: -2s; transform: rotate(-7deg); }
.tile-c { width: 52px; height: 52px; left: 56%; bottom: 75px; color: var(--gold); animation-delay: -1s; transform: rotate(8deg); }

.leaf { position: absolute; width: 74px; height: 36px; border-radius: 100% 0 100% 0; background: rgba(103,201,90,.34); }
.leaf-a { right: 32%; top: 155px; transform: rotate(35deg); }
.leaf-b { right: 7%; bottom: 85px; transform: rotate(-28deg); }
.orbit { position: absolute; border: 1px solid rgba(10,124,87,.17); border-radius: 50%; }
.orbit-a { width: 470px; height: 470px; right: -15px; top: 175px; }
.orbit-b { width: 540px; height: 540px; right: -50px; top: 140px; }

@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.preview-section {
  position: relative;
  padding: 110px max(30px, 5vw) 125px;
  background:
    radial-gradient(circle at 50% 35%, rgba(103,201,90,.19), transparent 30%),
    linear-gradient(180deg, #f1f8e9 0%, #e8f4df 100%);
  overflow: hidden;
}

.preview-section::before, .preview-section::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border: 36px solid rgba(255,255,255,.35);
  border-radius: 55px;
  transform: rotate(23deg);
}
.preview-section::before { top: 100px; left: -140px; }
.preview-section::after { right: -120px; bottom: 60px; }

.section-heading { position: relative; z-index: 2; margin: 0 auto 76px; text-align: center; }
.section-heading h2, .page-intro h1 {
  margin: 0;
  color: var(--forest-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  letter-spacing: -.045em;
  line-height: 1;
}
.section-heading > p:last-child, .page-intro > p:last-child { margin: 18px auto 0; color: var(--muted); font-size: 1.05rem; }

.screen-gallery {
  position: relative;
  z-index: 2;
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
}

.screen-card {
  position: relative;
  margin: 22px 0 0;
  padding: 8px;
  border: 1px solid rgba(10,124,87,.22);
  border-radius: 31px;
  background: rgba(255,255,255,.7);
  box-shadow: 0 28px 52px rgba(6,62,50,.16), 0 9px 0 rgba(7,84,65,.08);
}

.screen-card-featured { margin-top: 0; }

.screen-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 23px;
}

.screen-card figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 14px;
  color: white;
  background: rgba(6,62,50,.82);
  box-shadow: 0 8px 25px rgba(0,0,0,.14);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .04em;
  backdrop-filter: blur(9px);
}

.screen-card figcaption span { color: var(--leaf-400); font-family: Georgia, serif; font-size: 1.25rem; }
.corner { position: absolute; z-index: 3; width: 22px; height: 22px; border: solid var(--gold); }
.corner-one { top: 17px; left: 17px; border-width: 2px 0 0 2px; border-radius: 6px 0 0 0; }
.corner-two { right: 17px; bottom: 17px; border-width: 0 2px 2px 0; border-radius: 0 0 6px 0; }
.swipe-hint { display: none; }

/* Legal pages */
.inner-page::before, .inner-page::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(10,124,87,.11);
  border-radius: 70px;
  transform: rotate(30deg);
}
.inner-page::before { top: 250px; left: -190px; box-shadow: inset 0 0 0 25px rgba(217,242,201,.25); }
.inner-page::after { right: -180px; bottom: 5%; box-shadow: inset 0 0 0 25px rgba(233,189,84,.06); }

.legal-main, .contact-main { padding: 190px 24px 100px; }
.page-intro { max-width: 760px; margin: 0 auto 58px; text-align: center; }

.legal-card {
  width: min(940px, 100%);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 75px);
  border: 1px solid rgba(10,124,87,.16);
  border-radius: var(--radius);
  background: rgba(255,254,248,.94);
  box-shadow: var(--shadow), inset 0 1px 0 white;
}

.updated { margin: 0 0 45px; color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.policy-lead { margin: 0 0 45px; color: #496b60; font-size: 1.04rem; }
.legal-card section + section { margin-top: 38px; padding-top: 38px; border-top: 1px solid rgba(10,124,87,.12); }
.legal-card h2 { margin: 0 0 12px; display: flex; align-items: center; gap: 14px; color: var(--forest-900); font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.3; }
.legal-card h2 span { width: 37px; height: 37px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; color: white; background: linear-gradient(145deg, var(--leaf-500), var(--forest-700)); box-shadow: 0 4px 0 #a4c890; font-family: "Trebuchet MS", sans-serif; font-size: .65rem; }
.legal-card section p { margin: 0; color: #496b60; }
.legal-card section p + p { margin-top: 22px; }
.legal-card a { color: var(--forest-700); font-weight: 800; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Contact */
.contact-layout { width: min(1120px, 100%); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: start; }
.email-tile, .form-card { border: 1px solid rgba(10,124,87,.17); border-radius: var(--radius); box-shadow: var(--shadow); }
.email-tile {
  position: relative;
  min-height: 420px;
  padding: 45px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: white;
  background: linear-gradient(145deg, #0a8760, var(--forest-950));
}
.email-tile::after { content: "@"; position: absolute; right: -22px; bottom: -90px; color: rgba(255,255,255,.06); font-family: Georgia, serif; font-size: 16rem; font-weight: 700; }
.mail-icon { width: 70px; height: 70px; margin-bottom: 32px; display: grid; place-items: center; border-radius: 20px; color: var(--forest-900); background: var(--leaf-200); box-shadow: 0 6px 0 rgba(0,0,0,.18); transform: rotate(-4deg); }
.mail-icon svg { width: 34px; height: 34px; fill: currentColor; }
.email-tile > p { margin: 0 0 7px; color: var(--leaf-200); font-size: .75rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.email-tile h2 { margin: 0 0 23px; font-family: Georgia, serif; font-size: 2.25rem; line-height: 1.1; }
.email-tile a { position: relative; z-index: 1; width: fit-content; color: white; font-size: clamp(.82rem, 1.3vw, 1.02rem); font-weight: 800; text-decoration-color: var(--gold); text-underline-offset: 6px; overflow-wrap: anywhere; }
.email-note { margin-top: 20px; color: rgba(255,255,255,.65); font-size: .86rem; }

.form-card { padding: clamp(28px, 4vw, 48px); background: rgba(255,254,248,.95); }
.form-heading { margin-bottom: 32px; display: flex; align-items: center; gap: 16px; }
.form-heading > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: var(--forest-800); background: var(--leaf-200); box-shadow: 0 4px 0 #b4d5a3; }
.form-heading p { margin: 0; color: var(--forest-700); font-size: .7rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.form-heading h2 { margin: 1px 0 0; color: var(--forest-950); font-family: Georgia, serif; font-size: 1.8rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 19px; }
.field label { margin: 0 0 7px; display: flex; justify-content: space-between; color: var(--forest-900); font-size: .88rem; font-weight: 800; }
.field label > span { color: #b45f45; }
.field label small { color: #799086; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid #c5dcc0;
  border-radius: 13px;
  color: var(--ink);
  background: var(--leaf-100);
  box-shadow: inset 0 2px 4px rgba(6,62,50,.04);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input { height: 50px; padding: 0 15px; }
.field textarea { min-height: 140px; padding: 13px 15px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #91bb83; }
.field input:focus, .field textarea:focus { border-color: var(--leaf-500); outline: none; background: white; box-shadow: 0 0 0 4px rgba(103,201,90,.18); }
.field [aria-invalid="true"] { border-color: #c87258; background: #fff8f4; }
.field-error { min-height: 18px; margin: 4px 2px 0; color: #a34431; font-size: .75rem; line-height: 1.3; }
.submit-tile { width: 100%; min-height: 55px; padding: 0 21px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 14px; color: white; background: linear-gradient(145deg, var(--leaf-500), var(--forest-700)); box-shadow: 0 5px 0 var(--forest-950), 0 12px 22px rgba(6,62,50,.18); font-weight: 900; letter-spacing: .06em; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.submit-tile:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--forest-950), 0 15px 25px rgba(6,62,50,.2); }
.submit-tile:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--forest-950); }
.success-message { margin-top: 25px; padding: 18px; align-items: flex-start; gap: 13px; border: 1px solid #a4d794; border-radius: 14px; color: var(--forest-900); background: #eaf8df; }
.success-message:not([hidden]) { display: flex; }
.success-message > span { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--forest-700); font-weight: 900; }
.success-message strong { display: block; font-size: .92rem; }
.success-message p { margin: 2px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }

@media (max-width: 1050px) {
  .hero { padding-left: 55px; }
  .hero-copy { width: 67%; }
  .hero-mark { right: 35px; }
  .tile-a { left: 58%; }
}

@media (max-width: 760px) {
  .site-header { position: absolute; top: 20px; left: 20px; }
  .menu-toggle {
    position: relative;
    z-index: 52;
    width: 54px;
    height: 54px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid rgba(10,124,87,.2);
    border-radius: 15px;
    color: var(--forest-900);
    background: linear-gradient(145deg, #f8fff1, #dff4d2);
    box-shadow: 0 5px 0 #a8c998, 0 10px 20px rgba(6,62,50,.14);
    cursor: pointer;
  }
  .menu-toggle span { width: 23px; height: 2px; display: block; border-radius: 3px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .tile-nav {
    position: fixed;
    z-index: 51;
    top: 0;
    left: 0;
    width: min(300px, 86vw);
    height: 100vh;
    padding: 98px 22px 30px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    background: rgba(247,252,239,.97);
    box-shadow: 20px 0 45px rgba(6,62,50,.18);
    transform: translateX(-110%);
    visibility: hidden;
    transition: transform .28s ease, visibility .28s;
    backdrop-filter: blur(14px);
  }
  .tile-nav.is-open { transform: translateX(0); visibility: visible; }
  body.menu-open::after { content: ""; position: fixed; z-index: 45; inset: 0; background: rgba(3,38,29,.4); backdrop-filter: blur(2px); }
  .nav-tile { width: 100%; min-height: 61px; padding: 10px 17px; flex-direction: row; justify-content: flex-start; gap: 13px; border-radius: 15px; }
  .nav-tile:hover { transform: translateX(3px); }
  .hero { min-height: 800px; padding: 140px 24px 80px; align-items: flex-start; }
  .hero::after { width: 460px; height: 460px; right: -220px; top: 300px; }
  .hero-copy { width: 100%; }
  .hero h1 { max-width: 560px; font-size: clamp(3.55rem, 18vw, 6.4rem); line-height: .86; }
  .hero-kicker { margin-top: 34px; }
  .hero-description { max-width: 510px; font-size: 1rem; }
  .hero-mark { width: 170px; top: auto; right: 20px; bottom: 56px; }
  .hero-mark strong { font-size: 7rem; }
  .mark-leaf { top: 17px; right: 23px; width: 30px; height: 17px; }
  .tile-a { top: 102px; right: 28px; left: auto; width: 55px; height: 55px; }
  .tile-b { display: none; }
  .tile-c { left: 24px; bottom: 74px; }
  .leaf-a { top: 87px; right: 25%; width: 48px; height: 25px; }
  .leaf-b { display: none; }
  .orbit-a { width: 250px; height: 250px; right: -40px; top: auto; bottom: 16px; }
  .orbit-b { width: 310px; height: 310px; right: -70px; top: auto; bottom: -15px; }
  .preview-section { padding: 78px 0 85px; }
  .section-heading { padding: 0 24px; margin-bottom: 45px; }
  .screen-gallery {
    width: 100%;
    padding: 16px 11vw 38px;
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 11vw;
    scrollbar-width: none;
  }
  .screen-gallery::-webkit-scrollbar { display: none; }
  .screen-card, .screen-card-featured { flex: 0 0 min(76vw, 350px); margin: 0; scroll-snap-align: center; }
  .swipe-hint { margin: 0; display: block; color: var(--forest-700); font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-align: center; text-transform: uppercase; }
  .swipe-hint span { margin-left: 6px; color: var(--gold); font-size: 1rem; }
  .legal-main, .contact-main { padding: 125px 16px 70px; }
  .page-intro { margin-bottom: 38px; padding: 0 8px; }
  .page-intro h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .legal-card { padding: 32px 22px; border-radius: 22px; }
  .legal-card section + section { margin-top: 30px; padding-top: 30px; }
  .legal-card h2 { align-items: flex-start; font-size: 1.3rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .email-tile { min-height: 350px; padding: 35px 28px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 410px) {
  .hero { min-height: 780px; }
  .hero h1 { font-size: 3.55rem; }
  .hero-mark { width: 145px; }
  .hero-mark strong { font-size: 6rem; }
  .email-tile { padding-inline: 23px; }
  .email-tile h2 { font-size: 1.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
