/* ==========================================================================
   Commons — community & co-operative housing template · archesign.studio
   1. Tokens  2. Base  3. Header  4. Components  5. Pages  6. Footer  7. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --cream: #fbf7ee;
  --cream2: #f4ecd9;
  --white: #ffffff;
  --leaf: #2f8a57;
  --forest: #17402b;
  --mint: #d4eedb;
  --sun: #f6c445;
  --sun-soft: #fdf0c8;
  --coral: #f08a6b;
  --coral-soft: #fde0d6;
  --sky: #cfe6f3;
  --muted: #4f6658;

  --font-round: "Fredoka", "Nunito", "Arial Rounded MT Bold", sans-serif;
  --font-text: "Atkinson Hyperlegible", Verdana, Arial, sans-serif;

  --gutter: clamp(16px, 3.4vw, 48px);
  --max: 1320px;
  --space: clamp(72px, 9vw, 128px);
  --r: 32px;
  --shadow: 0 14px 34px rgba(23, 64, 43, .09);
  --ease: cubic-bezier(.34, 1.3, .64, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--forest); font: 400 18px/1.65 var(--font-text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--font-round); font-weight: 600; line-height: 1.06; letter-spacing: -.01em; margin: 0; }
h4 { font: 600 15px var(--font-round); letter-spacing: .02em; color: var(--sun); margin: 0 0 10px; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--sun); color: var(--forest); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--forest); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space) 0; }
.section--tight { padding-top: 0; }
.section--mint { background: var(--mint); }
.section--cream2 { background: var(--cream2); }
.kicker { display: inline-block; font: 600 15px var(--font-round); letter-spacing: .04em; color: var(--leaf); margin: 0 0 14px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); max-width: 54ch; color: var(--muted); }
.hl { background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 90%, transparent 90%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.squiggle { position: relative; white-space: nowrap; color: var(--leaf); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M2 6c6-5 10-5 14 0s8 5 14 0 8-5 14 0 8 4 14 0' fill='none' stroke='%23f08a6b' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left bottom / .9em .18em; padding-bottom: .1em; }
.link { font: 600 17px var(--font-round); color: var(--leaf); border-bottom: 2px solid var(--mint); transition: border-color .3s; }
.link:hover { border-bottom-color: var(--leaf); }
.tag { display: inline-block; font: 500 15px var(--font-round); padding: 6px 14px; border-radius: 999px; margin: 0 0 22px; }
.tag a { text-decoration: underline; text-underline-offset: 3px; }
.tag--sun { background: var(--sun-soft); }
.tag--mint { background: var(--mint); }
.tag--coral { background: var(--coral-soft); }

/* 3. Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); box-shadow: 0 1px 0 rgba(23, 64, 43, .08); }
.header-row { display: flex; align-items: center; gap: 28px; height: 84px; }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; font: 600 23px var(--font-round); white-space: nowrap; }
.logo b { font-weight: 600; color: var(--leaf); }
.logo-mark { width: 40px; height: 40px; }
.logo-mark circle { fill: var(--leaf); }
.logo-mark path { fill: var(--sun); stroke: var(--cream); stroke-width: 1.6; stroke-linejoin: round; }
.nav { display: flex; gap: 6px; }
.nav a { font: 500 17px var(--font-round); padding: 8px 16px; border-radius: 999px; transition: background .25s; }
.nav a:hover { background: var(--cream2); }
.nav a[aria-current="page"] { background: var(--mint); }
.menu-btn, .m-menu { display: none; }

/* 4. Components ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; font: 500 18px var(--font-round); cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s, background .25s; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(23, 64, 43, .14); }
.btn--green { background: var(--leaf); color: var(--cream); }
.btn--sun { background: var(--sun); color: var(--forest); }
.btn--ghost { background: transparent; border-color: var(--forest); color: var(--forest); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.head { margin-bottom: clamp(32px, 4vw, 56px); }
.head h2 { font-size: clamp(36px, 4.6vw, 64px); max-width: 20ch; }
.head--row { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; }
.blob img { width: 100%; aspect-ratio: 14 / 11; object-fit: cover; border-radius: 58% 42% 46% 54% / 52% 46% 54% 48%; animation: morph 14s ease-in-out infinite alternate; }
@keyframes morph { 50% { border-radius: 44% 56% 58% 42% / 46% 58% 42% 54%; } 100% { border-radius: 52% 48% 40% 60% / 58% 44% 56% 42%; } }
.round img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.round figcaption { margin-top: 10px; font: 500 16px var(--font-round); color: var(--muted); }
.ticks li { position: relative; padding: 6px 0 6px 36px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 24px; height: 24px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3L17 9' fill='none' stroke='%23fbf7ee' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.chips li { font: 500 14px var(--font-round); background: var(--cream2); border-radius: 999px; padding: 4px 12px; }
.chips--big { margin-top: 26px; }
.chips--big li { font-size: 17px; padding: 8px 16px; background: var(--white); box-shadow: var(--shadow); }
.price { font: 600 22px var(--font-round); color: var(--leaf); }
.js .reveal { opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .7s ease, transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 5. Pages ----------------------------------------------------------------- */
/* hero */
.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(48px, 7vw, 104px); margin-bottom: 24px; }
.hero-art { position: relative; padding: 6% 0; }
.bubble { position: absolute; z-index: 2; background: var(--white); border-radius: 22px; padding: 12px 18px; font: 500 16px var(--font-round); box-shadow: var(--shadow); white-space: nowrap; }
.bubble::after { content: ""; position: absolute; width: 16px; height: 16px; background: var(--white); transform: rotate(45deg); }
.bubble--a { top: 4%; left: 0; }
.bubble--a::after { left: 26px; bottom: -6px; }
.bubble--b { bottom: 4%; right: 0; background: var(--sun); }
.bubble--b::after { right: 30px; top: -6px; background: var(--sun); }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.facts li { background: var(--white); border-radius: var(--r); padding: 26px 26px 22px; box-shadow: var(--shadow); }
.facts b { display: block; font: 600 clamp(36px, 3.6vw, 52px)/1 var(--font-round); color: var(--leaf); margin-bottom: 10px; }
.facts span { color: var(--muted); font-size: 16px; }

/* rings */
.rings-wrap { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.rings-text h2 { font-size: clamp(36px, 4.4vw, 60px); margin-bottom: 22px; }
.rings-text p:not(.kicker) { color: var(--muted); max-width: 48ch; }
.rings { width: min(560px, 100%); justify-self: center; }
.ring { position: relative; border-radius: 50%; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; }
.ring > span { position: absolute; top: 5.5%; left: 50%; transform: translateX(-50%); width: 72%; text-align: center; font: 600 15px/1.25 var(--font-round); }
.ring > span small { display: block; font: 400 13px var(--font-text); opacity: .8; }
.ring--4 { width: 100%; background: var(--white); border: 2px dashed var(--leaf); }
.ring--3 { width: 76%; background: var(--sun-soft); }
.ring--2 { width: 70%; background: var(--coral-soft); }
.ring--1 { width: 54%; background: var(--leaf); color: var(--cream); box-shadow: 0 0 0 10px rgba(47, 138, 87, .15); }
.ring--1 > span { top: 50%; transform: translate(-50%, -50%); font-size: clamp(18px, 2vw, 24px); }

/* tenure tabs */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 6px; background: var(--white); border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 24px; }
.tabs button { font: 500 17px var(--font-round); padding: 11px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--forest); cursor: pointer; transition: background .25s, color .25s; }
.tabs button:hover { background: var(--cream2); }
.tabs button[aria-pressed="true"] { background: var(--leaf); color: var(--cream); }
.panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--white); border-radius: 40px; padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow); animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.99); } }
.panel h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.panel p { color: var(--muted); }
.example { background: var(--mint); border-radius: 28px; padding: 26px 28px; }
.example-t { font: 600 16px var(--font-round); color: var(--leaf); margin-bottom: 8px; }
.example dl { margin: 0; }
.example div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 2px dotted rgba(23, 64, 43, .2); }
.example dd { margin: 0; font: 600 20px var(--font-round); }

/* home cards (index) */
.home-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.home-card { display: block; background: var(--white); border-radius: var(--r); padding: 14px 14px 22px; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.home-card:hover { transform: translateY(-6px) rotate(-.6deg); }
.home-card h3 { font-size: 28px; margin: 16px 8px 4px; }
.home-card p { margin: 0 8px 8px; color: var(--muted); font-size: 16px; }
.home-card .price { margin-left: 8px; font-size: 19px; }
.home-img { position: relative; border-radius: 24px; padding: 16px; }
.home-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.home-img--sun { background: var(--sun-soft); }
.home-img--mint { background: var(--mint); }
.home-img--coral { background: var(--coral-soft); }
.home-img--sky { background: var(--sky); }

/* stories */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.story:nth-child(2) { margin-top: 48px; }
.story blockquote { position: relative; margin: 0 0 22px; padding: 28px 30px; border-radius: 32px; font: 500 clamp(19px, 1.7vw, 23px)/1.4 var(--font-round); }
.story blockquote::after { content: ""; position: absolute; left: 40px; bottom: -12px; width: 26px; height: 26px; border-radius: 0 0 8px 0; background: inherit; transform: rotate(45deg); }
.story figcaption { padding-left: 24px; color: var(--muted); font-size: 16px; }
.story b { color: var(--forest); }
.story--mint blockquote { background: var(--mint); }
.story--sun blockquote { background: var(--sun-soft); }
.story--sky blockquote { background: var(--sky); }

/* week */
.week { background: var(--white); border-radius: 40px; padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.days li { text-align: center; padding: 16px 8px; border-radius: 24px; background: var(--cream); }
.days li:nth-child(4) { background: var(--sun-soft); }
.days li:last-child { background: var(--mint); }
.days b { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; background: var(--leaf); color: var(--cream); font: 600 17px var(--font-round); }
.days span { font: 500 15px/1.25 var(--font-round); display: block; }

/* page head */
.page-head { padding: clamp(48px, 7vw, 100px) 0 clamp(32px, 4vw, 60px); }
.page-head h1 { font-size: clamp(46px, 7vw, 100px); margin-bottom: 24px; max-width: 16ch; }

/* homes */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { font: 500 17px var(--font-round); padding: 10px 20px; border-radius: 999px; border: 2px solid var(--mint); background: var(--white); color: var(--forest); cursor: pointer; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.filters button:hover { border-color: var(--leaf); transform: translateY(-2px); }
.filters button[aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf); color: var(--cream); }
.homes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.home { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.home:hover { transform: translateY(-6px); }
.badge { position: absolute; left: 26px; top: 26px; font: 500 14px var(--font-round); background: var(--white); border-radius: 999px; padding: 4px 12px; box-shadow: 0 4px 10px rgba(23, 64, 43, .12); }
.badge--access { background: var(--forest); color: var(--cream); }
.home-body { padding: 18px 10px 8px; display: flex; flex-direction: column; flex: 1; }
.home h2 { font-size: 30px; margin-bottom: 4px; }
.home-meta { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.home-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 2px dotted rgba(23, 64, 43, .15); }
.left { font: 500 14px var(--font-round); background: var(--mint); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.left--none { background: var(--coral-soft); }
.fine { font-size: 15px; color: var(--muted); margin-top: 26px; max-width: 90ch; }
.map-card { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.map-card h2 { font-size: clamp(32px, 3.6vw, 50px); margin-bottom: 18px; }
.map-card p:not(.kicker) { color: var(--muted); }
.map-card .btn { margin-top: 10px; }

/* home type */
.wren-head { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-home-type .page-head h1 { font-size: clamp(60px, 10vw, 150px); }
.blob--small img { aspect-ratio: 4 / 3; }
.plan-split { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; align-items: start; }
.plan-card { background: var(--white); border-radius: 36px; padding: clamp(14px, 2vw, 26px); box-shadow: var(--shadow); }
.plan-card img { width: 100%; border-radius: 18px; }
.plan-card figcaption { margin: 12px 8px 0; font: 500 15px var(--font-round); color: var(--muted); }
.room-card { background: var(--mint); border-radius: 36px; padding: clamp(22px, 3vw, 36px); }
.room-card h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 14px; }
.rooms { width: 100%; border-collapse: collapse; font-size: 16px; }
.rooms th, .rooms td { text-align: left; font-weight: 400; padding: 8px 0; border-bottom: 2px dotted rgba(23, 64, 43, .18); }
.rooms td { text-align: right; padding-left: 10px; white-space: nowrap; }
.rooms td:nth-child(2) { color: var(--muted); }
.rooms thead th { font: 600 14px var(--font-round); color: var(--leaf); }
.rooms thead th:not(:first-child) { text-align: right; }
.rooms-floor th { font: 600 17px var(--font-round); color: var(--leaf); padding-top: 18px; border-bottom: 0; }
.rooms tfoot th, .rooms tfoot td { font: 600 22px var(--font-round); border: 0; padding-top: 14px; }
.ways { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 18px; align-items: stretch; }
.way { border-radius: 36px; padding: clamp(24px, 3vw, 36px); }
.way h3 { font-size: 28px; margin-bottom: 18px; }
.way-big { font: 600 clamp(40px, 4vw, 56px)/1 var(--font-round); margin-bottom: 18px; }
.way-big small { font-size: .4em; font-weight: 500; }
.way dl { margin: 0; }
.way dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 2px dotted rgba(23, 64, 43, .2); }
.way dd { margin: 0; font-weight: 700; }
.way--sun { background: var(--sun-soft); }
.way--mint { background: var(--mint); }
.way--sky { background: var(--sky); }
.shares { width: 100%; border-collapse: collapse; }
.shares th, .shares td { text-align: left; padding: 10px 6px 10px 0; border-top: 2px dotted rgba(23, 64, 43, .2); font-weight: 400; }
.shares thead th { border-top: 0; font: 600 14px var(--font-round); color: var(--leaf); }
.shares tbody th { font: 600 22px var(--font-round); }
.costs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.costs h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 20px; }
.costs p:not(.kicker) { color: var(--muted); max-width: 48ch; }
.cost-bubbles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cost-bubbles li { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px; background: var(--white); border-radius: 50%; box-shadow: var(--shadow); }
.cost-bubbles li:nth-child(2) { background: var(--sun-soft); }
.cost-bubbles li:nth-child(3) { background: var(--sky); }
.cost-bubbles b { font: 600 clamp(34px, 4vw, 54px)/1 var(--font-round); color: var(--leaf); margin-bottom: 6px; }
.cost-bubbles span { font-size: 15px; color: var(--muted); max-width: 12ch; }
.pics { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: end; margin-bottom: 48px; }
.inside { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.inside h3 { font-size: 28px; margin-bottom: 12px; }
.inside li { font-size: 16px; }
.next-card { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; background: var(--sun); border-radius: 40px; padding: clamp(24px, 3.4vw, 44px); margin-bottom: var(--space); transition: transform .4s var(--ease); }
.next-card:hover { transform: translateY(-4px); }
.next-card .kicker { margin: 0; color: var(--forest); width: 100%; }
.next-title { font: 600 clamp(30px, 4vw, 56px)/1.05 var(--font-round); flex: 1; }
.next-arrow { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: var(--sun); font-size: 28px; }

/* about */
.about-split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-split h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 20px; }
.about-split p:not(.kicker) { color: var(--muted); }
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.loop li { position: relative; background: var(--white); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.loop li:not(:last-child)::after { content: "→"; position: absolute; right: -22px; top: 40px; z-index: 1; font: 600 22px var(--font-round); color: var(--leaf); }
.loop b, .path b { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--sun); font: 600 22px var(--font-round); margin-bottom: 20px; }
.loop h3 { font-size: 26px; margin-bottom: 8px; }
.loop p { color: var(--muted); font-size: 16px; margin: 0; }
.past { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.past-card .round { margin-bottom: 18px; }
.past-card .tag { margin-bottom: 10px; font-size: 14px; }
.past-card h3 { font-size: 30px; margin-bottom: 6px; }
.past-card p:last-child { color: var(--muted); font-size: 16px; }
.team { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.team h2 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 18px; }
.team p:not(.kicker) { color: var(--muted); }
.faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 18px; }
.faces li { text-align: center; }
.avatar { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 12px; border-radius: 50%; font: 600 26px var(--font-round); }
.avatar--sun { background: var(--sun); }
.avatar--mint { background: var(--leaf); color: var(--cream); }
.avatar--coral { background: var(--coral); }
.avatar--sky { background: var(--sky); }
.faces b { display: block; font: 600 19px var(--font-round); }
.faces small { color: var(--muted); font-size: 15px; }
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partners li { background: var(--white); border-radius: 28px; padding: 22px 24px; font: 600 21px/1.2 var(--font-round); box-shadow: var(--shadow); }
.partners span { display: block; font: 400 14px var(--font-text); color: var(--muted); margin-bottom: 10px; }

/* shared spaces */
.spaces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.space { border-radius: var(--r); padding: 26px; }
.space--big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; gap: 22px; }
.space--big h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 10px; }
.space h3 { font-size: 26px; margin-bottom: 8px; }
.space p { margin: 0; font-size: 16px; color: var(--muted); }
.space-i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); font-size: 22px; color: var(--leaf); margin-bottom: 26px; }
.space--mint { background: var(--mint); }
.space--sun { background: var(--sun-soft); }
.space--coral { background: var(--coral-soft); }
.space--sky { background: var(--sky); }
.space--white { background: var(--white); box-shadow: var(--shadow); }
.space--white .space-i { background: var(--mint); }
.getting { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.getting h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 18px; }
.getting p:not(.kicker) { color: var(--muted); }
.getting .round { margin-top: 28px; }
.trips { display: grid; gap: 12px; }
.trips li { display: flex; align-items: center; gap: 18px; background: var(--white); border-radius: 24px; padding: 18px 22px; box-shadow: var(--shadow); }
.trips b { display: block; font: 600 19px var(--font-round); }
.trips span:not(.trip-ic) { color: var(--muted); font-size: 16px; }
.trip-ic { width: 20px; height: 20px; flex: none; border-radius: 50%; box-shadow: 0 0 0 6px rgba(23, 64, 43, .06); }
.trip-ic--sun { background: var(--sun); }
.trip-ic--coral { background: var(--coral); }
.trip-ic--sky { background: #7fbfe2; }
.trip-ic--green { background: var(--leaf); }
.path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.path::before { content: ""; position: absolute; left: 25px; right: 10%; top: 25px; border-top: 3px dashed var(--mint); }
.path li { position: relative; }
.path b { position: relative; background: var(--leaf); color: var(--cream); }
.path h3 { font-size: 26px; margin-bottom: 8px; }
.path p { color: var(--muted); font-size: 16px; }
.faq-wrap { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px); }
.faq-wrap h2 { font-size: clamp(36px, 4.4vw, 60px); }
.faq details { background: var(--white); border-radius: 24px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { display: block; position: relative; list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; font: 600 clamp(18px, 1.6vw, 21px)/1.3 var(--font-round); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font: 600 22px/1 var(--font-round); color: var(--leaf); }
.faq details[open] summary::after { content: "–"; background: var(--leaf); color: var(--cream); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); max-width: 62ch; }

/* join */
.join { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; background: var(--white); border-radius: 40px; padding: clamp(22px, 3.4vw, 44px); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field legend { font: 600 17px var(--font-round); padding: 0; margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; font: 400 18px var(--font-text); color: var(--forest); background: var(--cream); border: 2px solid var(--mint); border-radius: 18px; padding: 13px 16px; appearance: none; -webkit-appearance: none; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%232f8a57' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 18px center, var(--cream); padding-right: 46px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); background-color: var(--white); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--mint); background: var(--cream); font: 500 16px var(--font-round); transition: background .25s, border-color .25s; }
.pick b { font-weight: 600; color: var(--leaf); margin-right: 4px; }
.pick input:checked + span { background: var(--leaf); border-color: var(--leaf); color: var(--cream); }
.pick input:checked + span b { color: var(--sun); }
.pick input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.form-note { grid-column: 1 / -1; margin: 0; padding: 16px 20px; border-radius: 20px; background: var(--sun-soft); font-family: var(--font-round); }
.visit-card { background: var(--mint); border-radius: 40px; padding: clamp(22px, 3vw, 36px); }
.visit-card .blob { margin-bottom: 24px; }
.visit-card h2 { font-size: 34px; margin-bottom: 10px; }
.visit-card p { color: var(--muted); font-size: 16px; }
.hours { margin: 0 0 18px; display: grid; gap: 8px; }
.hours li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; background: var(--white); border-radius: 18px; padding: 12px 16px; font-size: 16px; }
.hours b { font-family: var(--font-round); font-weight: 600; }
.note { font-size: 15px !important; background: var(--sun-soft); border-radius: 18px; padding: 12px 16px; }

/* 6. Footer ---------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; background: var(--forest); color: var(--cream); border-radius: 48px 48px 0 0; padding: clamp(64px, 8vw, 110px) 0 28px; }
.site-footer::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--sun); opacity: .9; }
.f-top { position: relative; max-width: 760px; padding-bottom: 48px; }
.f-title { margin: 0 0 12px; font: 600 clamp(40px, 6vw, 80px)/1 var(--font-round); }
.f-text { color: #c9dccf; font-size: 19px; margin-bottom: 26px; }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 40px 0 34px; border-top: 2px dotted rgba(251, 247, 238, .2); color: #c9dccf; font-size: 16px; }
.f-cols a:hover { color: var(--sun); }
.f-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; border-top: 2px dotted rgba(251, 247, 238, .2); font-size: 14px; color: #9fbfab; }

/* 7. Responsive ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .home-cards, .partners { grid-template-columns: repeat(2, 1fr); }
  .homes { grid-template-columns: repeat(2, 1fr); }
  .spaces { grid-template-columns: repeat(2, 1fr); }
  .loop { grid-template-columns: repeat(2, 1fr); }
  .loop li:nth-child(2)::after { display: none; }
  .path { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .path::before { display: none; }
  .ways { grid-template-columns: 1fr 1fr; }
  .way--mint { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .header-row { height: 72px; }
  .menu-btn { display: inline-flex; position: relative; z-index: 60; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--leaf); color: var(--cream); font: 500 17px var(--font-round); cursor: pointer; }
  .menu-btn .when-open, .menu-open .menu-btn .when-closed { display: none; }
  .menu-open .menu-btn .when-open { display: inline; }
  .menu-open .menu-btn { background: var(--forest); }
  .m-menu { display: flex; flex-direction: column; justify-content: center; position: fixed; inset: 0; z-index: 55; background: var(--mint); padding: 100px var(--gutter) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transform: scale(.98); transition: opacity .35s, visibility .35s, transform .45s var(--ease); }
  .menu-open .m-menu { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .m-links { display: grid; gap: 10px; }
  .m-links a { display: block; background: var(--white); border-radius: 999px; padding: 12px 26px; font: 600 clamp(26px, 7vw, 40px)/1.15 var(--font-round); box-shadow: var(--shadow); }
  .m-links a:nth-child(2) { background: var(--sun); }
  .m-foot { margin: 28px 4px 0; font: 500 17px var(--font-round); }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .hero-grid, .rings-wrap, .panel, .map-card, .wren-head, .plan-split, .costs, .about-split, .team, .getting, .faq-wrap, .join { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .stories { grid-template-columns: 1fr; }
  .story:nth-child(2) { margin-top: 0; }
  .days { grid-template-columns: repeat(4, 1fr); }
  .inside, .past { grid-template-columns: 1fr; }
  .pics { grid-template-columns: 1fr; }
  .f-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; border-radius: 26px; width: 100%; }
  .tabs button { padding: 10px 8px; font-size: 15px; }
  .home-cards { gap: 12px; }
  .home-card { padding: 10px 10px 16px; border-radius: 24px; }
  .home-card h3 { font-size: 22px; margin: 12px 4px 2px; }
  .home-card p { margin: 0 4px 6px; font-size: 14px; }
  .home-card .price { margin-left: 4px; font-size: 16px; }
  .home-img { padding: 8px; border-radius: 18px; }
  .homes, .partners, .spaces, .loop, .path, .ways { grid-template-columns: 1fr; }
  .space--big { grid-column: auto; grid-row: auto; }
  .way--mint { grid-column: auto; }
  .loop li::after { display: none; }
  .faces { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; border-radius: 30px; }
  .ring > span { font-size: 12px; top: 4.5%; }
  .ring > span small { display: none; }
  .ring--1 > span { font-size: 17px; }
  .bubble { font-size: 14px; padding: 9px 14px; }
  .f-cols { grid-template-columns: 1fr; gap: 18px; }
  .site-footer { padding-top: 100px; border-radius: 36px 36px 0 0; }
  .site-footer::before { width: 130px; height: 130px; right: -44px; top: -44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
