/* Elms Court - site styles. Built from the ClickUp design's .ec-* styles (Fraunces + DM Sans,
   pine / leaf / apricot / cream), with real media queries and the extra components the
   multi-page site needs. */

:root {
  --pine: #1E4B3A; --pine-d: #163a2d; --leaf: #7BB342; --leaf-d: #5a8f22; --apricot: #F2A27A;
  --cream: #FFF7EC; --plum: #7A4E7E; --sun: #E9B949; --bark: #3B2E1E; --rust: #8a3e1c;
  --ink: #24302a; --muted: #3d4a43; --soft: #56635b; --line: #E6EDE2; --chip: #D8E4D6;
  --shadow: 0 20px 50px -34px #1e4b3a80;
  --gut: 36px;
}
@media (max-width: 980px) { :root { --gut: 22px; } }
@media (max-width: 400px) { :root { --gut: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--cream); color: var(--ink); font: 16px/1.6 "DM Sans", system-ui, sans-serif; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: Fraunces, Georgia, serif; font-variation-settings: "SOFT" 100; color: var(--pine); letter-spacing: -.02em; line-height: 1.12; font-weight: 600; }
.ic { flex: none; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--pine); color: #fff; padding: 10px 16px; border-radius: 99px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; border-radius: 6px; }
[id] { scroll-margin-top: 130px; }

.ec-in { max-width: 1240px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); display: inline-flex; align-items: center; gap: 6px; }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; }
.center { text-align: center; }

/* ---------- buttons */
.ec-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--pine); color: #fff; font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 99px; white-space: nowrap; border: 0; cursor: pointer; transition: transform .2s, background .2s; }
.ec-btn.big { font-size: 16px; padding: 15px 26px; }
.ec-btn.light { background: var(--cream); color: var(--pine); }
.ec-btn:hover { background: var(--pine-d); transform: translateY(-2px); }
.ec-btn.light:hover { background: #fff; }
.ec-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--pine); padding: 13px 22px; border-radius: 99px; border: 2px solid var(--pine); background: transparent; cursor: pointer; transition: transform .2s, background .2s; }
.ec-ghost:hover { transform: translateY(-2px); background: #fff; }
.ec-ghost.sm { padding: 8px 16px; font-size: 14px; }
.ec-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ec-acts.center { justify-content: center; }

/* ---------- header */
.ec-head { position: sticky; top: 0; z-index: 40; background: var(--cream); transition: box-shadow .3s; }
.ec-head.stuck { box-shadow: 0 10px 30px -22px #1e4b3a99; }
.ec-top { background: var(--pine); color: #f3eee3; font-size: 14px; padding: 9px 0; }
.ec-top .ec-in { display: flex; justify-content: space-between; gap: 16px; }
.ec-top span { display: inline-flex; align-items: center; gap: 8px; }
.ec-nav { display: flex; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; }
.ec-logo img { height: 120px; width: auto; transition: height .3s; }
.ec-head.stuck .ec-logo img { height: 84px; }
.ec-menu { margin-left: auto; }
.ec-menu > ul { display: flex; gap: 20px; font-size: 15px; font-weight: 600; color: var(--pine); }
.ec-menu li { position: relative; }
.ec-menu > ul > li > a { display: block; padding: 8px 0; transition: color .2s; }
.ec-menu > ul > li > a:hover, .ec-menu li.on > a { color: var(--leaf-d); }
.ec-menu li.on > a { box-shadow: inset 0 -2px 0 var(--leaf); }
.ec-menu .sub { position: absolute; top: 100%; left: -16px; min-width: 260px; background: #fff; border-radius: 20px; padding: 10px; box-shadow: var(--shadow), 0 4px 20px -10px #1e4b3a40; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; }
.ec-menu .has-sub:hover .sub, .ec-menu .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.ec-menu .sub a { display: block; padding: 8px 12px; border-radius: 12px; font-weight: 600; }
.ec-menu .sub a:hover { background: #f1f6ea; color: var(--leaf-d); }
.sub-toggle, .menu-btn, .menu-cta { display: none; }
.menu-btn { background: none; border: 0; padding: 8px; cursor: pointer; color: var(--pine); margin-left: 4px; }
.menu-btn .i-close { display: none; }

@media (max-width: 1120px) {
  .ec-top .hide-m { display: none; }
  .nav-cta { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .ec-menu { position: fixed; inset: 0 0 0 auto; width: min(380px, 100%); background: var(--cream); padding: 90px 26px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; box-shadow: -20px 0 50px -30px #1e4b3a99; z-index: 50; visibility: hidden; }
  .menu-open .ec-menu { transform: none; visibility: visible; }
  .menu-open .menu-btn .i-open { display: none; }
  .menu-open .menu-btn .i-close { display: block; }
  .menu-open .menu-btn { position: relative; z-index: 51; }
  body.menu-open::after { content: ""; position: fixed; inset: 0; background: #0f1f1866; z-index: 30; }
  .ec-menu > ul { flex-direction: column; gap: 0; font-size: 18px; }
  .ec-menu > ul > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
  .ec-menu > ul > li > a { padding: 14px 0; flex: 1; }
  .ec-menu li.on > a { box-shadow: none; }
  .sub-toggle { display: inline-flex; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--pine); transition: transform .2s; }
  .sub-toggle[aria-expanded="true"] { transform: rotate(90deg); }
  .ec-menu .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 10px 10px; min-width: 0; width: 100%; display: none; }
  .ec-menu .sub.open { display: block; }
  .ec-menu .sub a { font-size: 16px; padding: 7px 10px; }
  .menu-cta { display: inline-flex; margin-top: 24px; width: 100%; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .ec-top { font-size: 13px; }
  .ec-logo img, .ec-head.stuck .ec-logo img { height: 72px; }
  .nav-cta { padding: 9px 14px; font-size: 14px; }
  .nav-cta .ic { display: none; }
}
@media (max-width: 360px) { .nav-cta { display: none; } .menu-btn { margin-left: auto; } }

/* ---------- swoosh + hero */
/* The leaf line sits in its own strip at the bottom of each hero, below all the text (the hero bottom padding reserves the room). */
.ec-swoosh { position: absolute; left: 0; right: 0; bottom: var(--swoosh-bottom, 6px); width: 100%; height: 64px; pointer-events: none; overflow: visible; }
.ec-swoosh path { fill: none; stroke: var(--leaf); stroke-width: 3; opacity: .55; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 2.4s .3s ease-out forwards; }
/* Home page hero keeps the design's original full-height line. */
.ec-swoosh.full { top: 0; bottom: 0; height: 100%; }
.ec-swoosh.full path { vector-effect: none; stroke-dasharray: 1600; stroke-dashoffset: 1600; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes breathe { 0%, 100% { border-radius: 52% 48% 54% 46% / 44% 56%; } 50% { border-radius: 46% 54% 48% 52% / 52% 46% 54% 48%; } }

.ec-hero { position: relative; overflow: hidden; padding: 40px 0 70px; }
.ec-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.ec-pill { display: inline-flex; align-items: center; gap: 8px; background: #fbe0d0; color: var(--rust); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 99px; }
.ec-hero h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1; margin-top: 18px; }
.ec-hero h1 em { font-style: italic; color: var(--leaf-d); font-weight: 500; display: block; }
.ec-hero p { margin-top: 18px; font-size: 18px; max-width: 440px; color: var(--muted); }
.ec-photo { position: relative; }
.ec-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1.05; object-fit: cover; object-position: 62% 50%; border-radius: 48% 52% 46% 54% / 56% 44%; box-shadow: 0 30px 60px -30px #1e4b3a8c; }
.ec-photo::before { content: ""; position: absolute; inset: -14px -10px 10px 18px; border-radius: 52% 48% 54% 46% / 44% 56%; background: var(--apricot); opacity: .55; animation: breathe 9s ease-in-out infinite; }
.ec-badge { position: absolute; z-index: 2; left: -14px; bottom: 28px; background: #fff; border-radius: 24px; padding: 12px 18px; display: flex; align-items: center; gap: 12px; box-shadow: 0 14px 30px -16px #00000059; }
.ec-badge b { font-family: Fraunces, serif; font-size: 40px; line-height: 1; color: var(--leaf); }
.ec-badge span { font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--pine); }

.pg-hero { position: relative; overflow: hidden; padding: 46px 0 84px; }
.pg-hero-in { position: relative; }
.pg-hero h1 { font-size: clamp(36px, 4.6vw, 58px); margin-top: 8px; max-width: 900px; }
.pg-hero .lead { margin-top: 16px; }
.pg-hero .prose.lead p + p { margin-top: 10px; }
.pg-hero.center { text-align: center; padding: 80px 0 110px; }
.pg-hero.center h1, .pg-hero.center .lead { margin-left: auto; margin-right: auto; }
.big-ic { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--leaf); color: #fff; margin-bottom: 14px; }

@media (max-width: 980px) {
  .ec-hero { padding: 26px 0 60px; }
  .ec-hero-grid { grid-template-columns: 1fr; }
  .ec-photo { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .ec-acts > * { flex: 1 1 100%; }
  .ec-badge { left: 0; bottom: 10px; padding: 8px 14px; }
  .ec-badge b { font-size: 32px; }
}

/* ---------- finder */
.ec-finder { background: #fff; margin: -30px -12px 0; border-radius: 40px; padding: 36px; box-shadow: var(--shadow); position: relative; z-index: 1; }
.ec-finder.standalone { margin-top: 0; }
.ec-fhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.ec-fhead h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 4px; }
.ec-count { font-weight: 700; color: var(--pine); background: #e8f1dd; padding: 6px 14px; border-radius: 99px; font-size: 14px; }
.ec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ec-chips button { font-weight: 700; font-size: 14px; border: 2px solid var(--chip); background: #fff; color: var(--pine); padding: 9px 16px; border-radius: 99px; cursor: pointer; transition: all .2s; }
.ec-chips button:hover { border-color: var(--leaf); }
.ec-chips button.on { background: var(--pine); border-color: var(--pine); color: #fff; }
.ec-homes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 24px; }
.ec-home { position: relative; cursor: pointer; border-radius: 110px 110px 26px 26px; padding: 34px 16px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; transition: opacity .35s, transform .35s, filter .35s; }
.ec-home:not(.off):hover { transform: translateY(-4px); }
.ec-home.off { opacity: .42; filter: grayscale(1); transform: scale(.96); }
.ec-arch { width: 78px; height: 78px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin: 4px auto 8px; }
.ec-arch img { width: 56px; height: auto; }
.ec-home small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 5px; }
/* The home name sits at the top of the arch (where the design had a logo). */
.ec-home h3 { font-size: 24px; line-height: 1.1; color: inherit; margin-bottom: 4px; }
.ec-home h3 span { display: block; font: 700 13px "DM Sans", system-ui; letter-spacing: 0; }
.ec-home h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* The whole coloured card links to the home page (stretched link); the phone number stays its own link on top. */
.ec-home h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ec-home:hover h3 a { text-decoration: underline; text-underline-offset: 3px; }
.ec-call, .ec-arch { position: relative; z-index: 1; }
.ec-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.ec-home .ec-tags { justify-content: center; }
.ec-tags i { font-style: normal; font-size: 13px; font-weight: 600; background: #ffffffb3; padding: 2px 9px; border-radius: 99px; }
.ec-tags i.hit { background: var(--pine); color: #fff; }
.ec-tags.big i { font-size: 14px; padding: 4px 12px; background: #fff; color: var(--pine); }
.ec-call { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.tone-apricot { background: #f8d3bd; color: #5a2a12; }
.tone-leaf { background: #d6e9bf; color: #25401a; }
.tone-pine { background: #bfdccd; color: #16382b; }
.tone-plum { background: #e7d3e8; color: #4a2a4d; }
.tone-sun { background: #f7e2a6; color: #4a3a0a; }
@media (max-width: 1100px) { .ec-homes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .ec-homes { grid-template-columns: 1fr 1fr; } .ec-finder { margin: -30px -8px 0; padding: 24px; border-radius: 30px; } }
@media (max-width: 480px) {
  .ec-homes { grid-template-columns: 1fr; }
  .ec-home { border-radius: 80px 80px 26px 26px; }
  .ec-finder { margin: -30px calc(var(--gut) * -1 + 8px) 0; padding: 22px 16px; }
}

/* ---------- values band */
.ec-values { position: relative; margin-top: 60px; background: var(--pine); color: #eaf1e6; }
.ec-values.plain-band { margin-top: 110px; }
.ec-wave { position: absolute; top: -79px; left: 0; width: 100%; height: 80px; }
.ec-wave path { fill: var(--pine); }
.ec-vin { padding-top: 36px; padding-bottom: 86px; }
.ec-vhead .eyebrow { color: #bfe08f; }
.ec-vhead h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); max-width: 680px; margin-top: 4px; }
.v-intro { margin-top: 12px; max-width: 680px; color: #d4e2d6; font-size: 17px; }
.ec-vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
@media (max-width: 1100px) { .ec-vgrid { grid-template-columns: 1fr 1fr; } }
.ec-vgrid > div { background: #ffffff12; border-radius: 28px; padding: 22px; }
.ec-vic { width: 46px; height: 46px; border-radius: 50%; background: var(--leaf); color: var(--pine); display: grid; place-items: center; }
.ec-vgrid h3 { margin-top: 12px; font: 700 18px "DM Sans", system-ui; color: #fff; letter-spacing: 0; }
.ec-vgrid p { font-size: 15px; color: #d4e2d6; margin-top: 4px; }
.v-more { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; font-weight: 700; }
.v-more a { display: inline-flex; align-items: center; gap: 6px; color: #bfe08f; }
.v-more a:hover { color: #fff; }
@media (max-width: 600px) { .ec-vgrid { grid-template-columns: 1fr; } }

/* ---------- quote */
.ec-quote { margin-top: 26px; background: var(--cream); color: var(--pine); border-radius: 40px 40px 40px 10px; padding: 26px 30px; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.ec-quote > .ic { color: var(--apricot); grid-row: span 2; }
.ec-quote blockquote p { font-family: Fraunces, serif; font-size: 21px; line-height: 1.4; }
.ec-quote figcaption { font-weight: 700; font-size: 14px; }
.ec-quote figcaption span { font-weight: 500; color: var(--soft); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 22px; padding-top: 10px; padding-bottom: 20px; }
.quotes .ec-quote, .sec > .ec-quote { background: #fff; box-shadow: var(--shadow); }
.quotes.masonry { display: block; columns: 2 380px; column-gap: 22px; }
.quotes.masonry .ec-quote { break-inside: avoid; margin: 0 0 22px; display: grid; }
@media (max-width: 560px) { .ec-quote { padding: 22px; grid-template-columns: 1fr; } .ec-quote > .ic { grid-row: auto; } .ec-quote blockquote p { font-size: 18px; } }

/* ---------- tea banner */
.ec-tea { background: var(--apricot); padding: 34px 0; border-radius: 60px 60px 0 0; margin-top: 70px; position: relative; }
.ec-values + .ec-tea { margin-top: -28px; }
.ec-tea .ec-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.ec-tea h2 { font-size: 30px; color: #3a1a08; }
.ec-tea p { color: #2a1206; font-size: 16px; max-width: 620px; }
@media (max-width: 560px) { .ec-tea { border-radius: 40px 40px 0 0; } .ec-tea .ec-btn { width: 100%; } }

/* ---------- footer */
.ec-foot { background: #fff; padding: 44px 0 24px; font-size: 14px; color: var(--pine); }
.ec-fgrid { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 20px; align-items: start; }
.f-logo { height: 64px; width: auto; }
.ec-fgrid p { font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 6px; }
.f-links a { font-weight: 700; color: var(--pine); }
.f-home { display: block; font-family: Fraunces, serif; font-size: 17px; font-weight: 600; color: var(--pine); }
.f-home:hover { color: var(--leaf-d); }
.f-tel { font-weight: 700; display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; }
.f-acc { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.f-acc img { height: 44px; width: auto; }
.ec-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.ec-legal .credit { color: var(--pine); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ec-legal .credit:hover { color: var(--leaf-d); }
@media (max-width: 980px) { .ec-fgrid { grid-template-columns: 1fr 1fr; } .ec-fgrid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 380px) { .ec-fgrid { grid-template-columns: 1fr; } }

/* ---------- generic sections */
.sec { padding-top: 40px; padding-bottom: 40px; }
.sec-title { font-size: clamp(26px, 3vw, 34px); margin-bottom: 20px; }
.prose { font-size: 17px; color: var(--ink); }
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: 28px; margin-top: 30px; }
.prose h3 { font-size: 22px; margin-top: 24px; }
.prose a { color: var(--leaf-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose li + li { margin-top: 4px; }
.prose .plain { list-style: none; padding: 0; }
.empty-note, .center-note { text-align: center; color: var(--muted); }
.empty-note { background: #fff; border-radius: 30px; padding: 40px 24px; box-shadow: var(--shadow); }
.empty-note .ec-btn { margin-top: 16px; }
.center-note { margin-top: 30px; }
.center-note a { color: var(--leaf-d); font-weight: 700; }

/* ---------- our homes list */
.home-list { display: grid; gap: 26px; padding-top: 50px; padding-bottom: 20px; }
.home-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); border-radius: 36px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.home-row:nth-child(even) .hr-img { order: 2; }
.hr-img img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.hr-body { padding: 30px; background: #fff; color: var(--ink); }
.hr-body .eyebrow { color: var(--rust); }
.hr-body h2 { font-size: 30px; margin-top: 4px; }
.hr-body > p { margin-top: 10px; color: var(--muted); }
.hr-body .ec-tags i { background: #f1f6ea; color: var(--pine); }
.hr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.hr-meta a { display: inline-flex; gap: 6px; align-items: center; color: var(--pine); }
/* Our homes rows: the whole card links to the home too; phone and button sit above the stretched link. */
.hr-body h2 a::after { content: ""; position: absolute; inset: 0; }
.home-row { cursor: pointer; transition: transform .2s, box-shadow .2s; }
.home-row:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -30px #1e4b3a99; }
.home-row:hover .hr-body h2 a { text-decoration: underline; text-underline-offset: 3px; }
.hr-meta a, .hr-body .ec-btn { position: relative; z-index: 1; }
.hr-body .ec-btn { margin-top: 18px; }
.home-row.tone-apricot .hr-body { border-top: 8px solid #f8d3bd; }
.home-row.tone-leaf .hr-body { border-top: 8px solid #d6e9bf; }
.home-row.tone-pine .hr-body { border-top: 8px solid #bfdccd; }
.home-row.tone-plum .hr-body { border-top: 8px solid #e7d3e8; }
.home-row.tone-sun .hr-body { border-top: 8px solid #f7e2a6; }
@media (max-width: 760px) { .home-row { grid-template-columns: 1fr; } .home-row:nth-child(even) .hr-img { order: 0; } .hr-img img { min-height: 0; aspect-ratio: 16/9; } .hr-body { padding: 22px; } }

/* ---------- home detail */
.hd-hero { position: relative; overflow: hidden; padding: 40px 0 84px; background: transparent; color: inherit; }
.hd-hero.tone-apricot, .hd-hero.tone-leaf, .hd-hero.tone-pine, .hd-hero.tone-plum, .hd-hero.tone-sun { background: transparent; }
.hd-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.hd-t h1 { font-size: clamp(38px, 4.8vw, 60px); margin-top: 10px; }
.hd-t h1 span { display: block; font: 700 16px "DM Sans", system-ui; color: var(--leaf-d); letter-spacing: 0; }
.hd-t .lead { margin-top: 14px; }
.hd-t .ec-tags { margin-top: 18px; }
.hd-hero.tone-apricot .ec-photo::before { background: #f2a27a; }
.hd-hero.tone-leaf .ec-photo::before { background: var(--leaf); opacity: .4; }
.hd-hero.tone-pine .ec-photo::before { background: #7fb79c; opacity: .45; }
.hd-hero.tone-plum .ec-photo::before { background: #c79bc9; opacity: .5; }
.hd-hero.tone-sun .ec-photo::before { background: var(--sun); opacity: .5; }
.hd-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; padding-top: 20px; padding-bottom: 30px; }
.hd-card { background: #fff; border-radius: 32px; padding: 26px; box-shadow: var(--shadow); position: sticky; top: 130px; }
.hd-card h2 { font-size: 24px; }
.hd-card > p { margin-top: 8px; color: var(--muted); }
.facts { margin-top: 14px; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts .ic { color: var(--leaf-d); margin-top: 3px; }
.facts a { font-weight: 700; color: var(--pine); }
.doc-btn { display: flex; align-items: center; gap: 10px; margin-top: 18px; background: #f1f6ea; color: var(--pine); font-weight: 700; padding: 12px 16px; border-radius: 16px; transition: background .2s; }
.doc-btn:hover { background: #e3eed4; }
.doc-btn span { margin-left: auto; font-weight: 500; font-size: 13px; color: var(--soft); white-space: nowrap; }
.hd-links { display: grid; gap: 8px; margin-top: 16px; font-weight: 600; font-size: 15px; }
.hd-links a { display: inline-flex; gap: 8px; align-items: center; color: var(--pine); }
.hd-links a:hover { color: var(--leaf-d); }
.hd-sale { margin-top: 30px; background: #fff; border-radius: 24px; padding: 20px 24px; box-shadow: var(--shadow); }
.hd-sale h2 { margin-top: 0; font-size: 22px; }
.hd-sale li { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.tel-big { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 18px; color: var(--pine); }
.mini-homes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mini-home { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 70px 24px 24px 70px; transition: transform .2s; }
.mini-home:hover { transform: translateY(-3px); }
.mini-home img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.mini-home b { display: block; font-family: Fraunces, serif; font-size: 18px; }
.mini-home small { font-size: 13px; font-weight: 600; }
@media (max-width: 980px) {
  .hd-grid { grid-template-columns: 1fr; }
  .hd-body { grid-template-columns: 1fr; }
  .hd-card { position: static; }
  .mini-homes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .mini-homes { grid-template-columns: 1fr; } .hd-card { padding: 22px 18px; border-radius: 26px; } }

/* ---------- map */
.map-box { margin-top: 18px; border-radius: 22px; background: #eef4e7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 60h120M60 0v120' stroke='%23dbe7cf' stroke-width='2'/%3E%3C/svg%3E"); min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; overflow: hidden; }
.map-box a { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: var(--pine); }
.map-box.loaded { padding: 0; display: block; }
.map-box iframe { display: block; width: 100%; height: 320px; border: 0; }
.sec .map-box iframe { height: 460px; }

/* ---------- gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery a { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; background: #eef2ea; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery.cal { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery.cal a { aspect-ratio: auto; }
.gallery.cal img { height: auto; }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } .gallery a { border-radius: 12px; } }
.lightbox { position: fixed; inset: 0; z-index: 100; background: #0f1f18f2; display: flex; align-items: center; justify-content: center; padding: 50px 60px; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 12px; object-fit: contain; }
.lightbox figcaption { color: #eaf1e6; margin-top: 10px; font-size: 15px; text-align: center; }
.lightbox button { position: absolute; background: #ffffff1f; border: 0; color: #fff; border-radius: 50%; width: 50px; height: 50px; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: #ffffff3d; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) { .lightbox { padding: 60px 8px; } .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; } }

/* ---------- studios */
.studio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.studio-card { background: #fff; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.sc-img { position: relative; display: block; aspect-ratio: 3/2; background: #eef2ea; overflow: hidden; }
.sc-img img { width: 100%; height: 100%; object-fit: cover; }
.no-photo { display: grid; place-items: center; height: 100%; color: #a9bfa0; }
.ribbon { position: absolute; top: 22px; right: -46px; transform: rotate(40deg); background: var(--apricot); color: #3a1a08; font-weight: 700; font-size: 14px; padding: 6px 54px; box-shadow: 0 6px 14px -8px #0006; }
.st-sold .ribbon { background: var(--pine); color: #fff; }
.st-sold .sc-img img { filter: grayscale(.5); }
.sc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sc-body h2 { font-size: 23px; }
.sc-meta { font-weight: 700; color: var(--rust); font-size: 15px; }
.sc-body > p { color: var(--muted); }
.more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--pine); display: inline-flex; gap: 6px; align-items: center; }
.more:hover { color: var(--leaf-d); }
.home-badge { align-self: flex-start; display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 99px; }
.ribbon-s { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 99px; background: #e8f1dd; color: var(--pine); }
.ribbon-s.st-under-offer { background: #fbe0d0; color: var(--rust); }
.ribbon-s.st-sold { background: var(--pine); color: #fff; }
.sd-head { padding-top: 30px; padding-bottom: 20px; }
.sd-head .back { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--pine); margin-bottom: 16px; }
.sd-head .back + .home-badge { margin-right: 6px; }
.sd-head h1 { font-size: clamp(32px, 4vw, 50px); margin-top: 12px; }
.sd-head .lead { margin-top: 8px; }
.sd-head .sc-meta { margin-top: 8px; }
.sd-photos { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.sd-main { position: relative; display: block; border-radius: 28px; overflow: hidden; aspect-ratio: 3/2; }
.sd-main img { width: 100%; height: 100%; object-fit: cover; }
.sd-count { position: absolute; right: 14px; bottom: 14px; background: #fff; color: var(--pine); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 99px; display: inline-flex; gap: 6px; align-items: center; }
.sd-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.sd-thumbs a { border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; display: block; }
.sd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sd-thumbs .more-photo { display: none; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; list-style: none; }
.prose ul.ticks { list-style: none; padding: 0; }
.ticks .ic { color: var(--leaf-d); margin-top: 4px; }
@media (max-width: 760px) { .sd-photos { grid-template-columns: 1fr; } .sd-thumbs { grid-template-columns: repeat(4, 1fr); } .sd-thumbs a { border-radius: 12px; } }

/* ---------- moving in */
.mi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mi-card { background: #fff; border-radius: 30px; padding: 18px 18px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.mi-img { position: relative; display: block; border-radius: 20px; overflow: hidden; background: #eef2ea; }
.mi-img img { width: 100%; aspect-ratio: 1061/1501; object-fit: cover; object-position: top; }
.zoom { position: absolute; right: 10px; bottom: 10px; background: #fff; color: var(--pine); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 99px; display: inline-flex; gap: 6px; align-items: center; }
.mi-card h2 { font-size: 24px; margin-top: 8px; }
.mi-card p { color: var(--muted); }
.mi-card .doc-btn { margin-top: auto; }
@media (max-width: 900px) { .mi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .mi-grid { grid-template-columns: 1fr; } }

/* ---------- activities */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; margin-bottom: 44px; }
.split.flip .split-img { order: 2; }
.split-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 46% 54% 40% 60% / 50% 44% 56% 50%; box-shadow: 0 30px 60px -30px #1e4b3a8c; }
.split .prose h2 { margin-top: 0; }
.fb-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.fb-links a { display: inline-flex; align-items: center; gap: 8px; background: #ffffff14; color: #fff; padding: 10px 18px; border-radius: 99px; font-weight: 700; }
.fb-links a:hover { background: #ffffff2b; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 20px; } .split.flip .split-img { order: 0; } }

/* ---------- about */
.about-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: start; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: linear-gradient(var(--leaf), #d6e9bf); }
.timeline li { position: relative; padding-bottom: 22px; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 6px; width: 17px; height: 17px; border-radius: 50%; background: var(--cream); border: 4px solid var(--leaf); }
.timeline b { font-family: Fraunces, serif; font-size: 24px; color: var(--pine); }
.timeline p { color: var(--muted); margin-top: 2px; }
.family { position: sticky; top: 140px; }
.family figcaption { font-weight: 700; color: var(--pine); margin-top: 18px; text-align: center; }
.gm { margin-top: 18px; background: #fff; border-radius: 24px 24px 24px 8px; padding: 18px 22px; box-shadow: var(--shadow); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.team article { background: #ffffff12; border-radius: 28px; padding: 24px; }
.team img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 4px solid var(--leaf); }
.team h3 { color: #fff; font-size: 26px; margin-top: 14px; }
.team .role { color: #bfe08f; font-weight: 700; font-size: 14px; margin-top: 2px; }
.team p:not(.role) { color: #d4e2d6; font-size: 15px; margin-top: 10px; }
.closing { max-width: 780px; margin: 0 auto 30px; text-align: center; font-size: 19px; }
@media (max-width: 980px) { .about-top { grid-template-columns: 1fr; } .family { position: static; max-width: 520px; } .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team { grid-template-columns: 1fr; } }

/* ---------- resources */
.res { display: grid; gap: 34px; max-width: 980px; }
.res-group h2 { font-size: 28px; margin-bottom: 12px; }
.res-group ul { display: grid; gap: 12px; }
.res-group li { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: #fff; border-radius: 22px; padding: 18px 20px; box-shadow: var(--shadow); }
.res-ic { width: 48px; height: 48px; border-radius: 14px; background: #f1f6ea; color: var(--leaf-d); display: grid; place-items: center; }
.res-group h3 { font: 700 17px "DM Sans", system-ui; letter-spacing: 0; color: var(--pine); }
.res-group h3 a:hover { color: var(--leaf-d); }
.res-group p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.res-group small { color: var(--soft); font-size: 13px; }
@media (max-width: 600px) { .res-group li { grid-template-columns: auto 1fr; } .res-group li .ec-ghost { grid-column: 1 / -1; } }

/* ---------- contact + forms */
.contact-homes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.ch { border-radius: 30px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.ch h2 { font-size: 22px; color: inherit; }
.ch h2 a:hover { text-decoration: underline; }
.ch-who { font-weight: 700; margin-bottom: 4px; }
.ch p { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; overflow-wrap: anywhere; }
.ch p .ic { margin-top: 4px; }
.ch a { font-weight: 700; }
.ch-msg { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; }
.contact-form { display: grid; grid-template-columns: 1fr 1.4fr; gap: 44px; align-items: start; }
.cf-intro h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 4px; }
.cf-intro > p { color: var(--muted); margin-top: 10px; }
.cf-box { background: #fff; border-radius: 34px; padding: 32px; box-shadow: var(--shadow); }
@media (max-width: 900px) { .contact-form { grid-template-columns: 1fr; } .cf-box { padding: 22px 18px; border-radius: 26px; } }

.enq { display: grid; gap: 16px; }
.enq label { display: grid; gap: 6px; }
.enq label > span, .enq legend { font-weight: 700; font-size: 15px; color: var(--pine); }
.enq b { color: var(--rust); }
.enq input[type=text], .enq input[type=email], .enq input[type=tel], .enq select, .enq textarea { width: 100%; border: 2px solid var(--chip); border-radius: 16px; background: #fbfdf9; padding: 12px 14px; font-size: 16px; transition: border-color .2s, background .2s; }
.enq input:focus, .enq select:focus, .enq textarea:focus { outline: 0; border-color: var(--leaf); background: #fff; }
.enq .bad { border-color: #c2410c !important; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.home-pick { border: 0; padding: 0; }
.home-pick legend { margin-bottom: 8px; }
.home-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.home-opt { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 18px; cursor: pointer; border: 3px solid transparent; transition: border-color .2s; }
.home-opt input { margin-top: 5px; accent-color: var(--pine); width: 18px; height: 18px; flex: none; }
.home-opt b { display: block; color: inherit; font-size: 15px; }
.home-opt small { font-size: 13px; font-weight: 600; }
.home-opt:has(input:checked) { border-color: var(--pine); }
.home-pick.bad .home-opts { outline: 2px solid #c2410c; outline-offset: 4px; border-radius: 18px; }
.form-msg { background: #fdecea; color: #8a1c1c; border-radius: 14px; padding: 12px 16px; font-weight: 600; }
.form-msg.ok { background: #e8f1dd; color: var(--pine); }
.enq button[type=submit] { justify-self: start; }
.enq button[disabled] { opacity: .6; cursor: wait; }
.rc-note { font-size: 12px; color: var(--soft); }
.rc-note a { text-decoration: underline; }
.grecaptcha-badge { visibility: hidden !important; }
@media (max-width: 560px) { .row2, .home-opts { grid-template-columns: 1fr; } .enq button[type=submit] { justify-self: stretch; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ec-swoosh path { stroke-dashoffset: 0; }
}
@media print { .ec-head, .ec-tea, .ec-foot, .map-box, .lightbox { display: none !important; } body { background: #fff; } }

/* ---------- activities: example weekly timetable */
.timetable { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.tt-day { background: #fff; border-radius: 22px; padding: 16px 14px; box-shadow: var(--shadow); }
.tt-day h3 { font-size: 19px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 3px solid #d6e9bf; }
.tt-day:nth-child(6) h3, .tt-day:nth-child(7) h3 { border-bottom-color: #f8d3bd; }
.tt-day li { font-size: 14px; line-height: 1.35; padding: 5px 0; }
.tt-day li + li { border-top: 1px dashed var(--line); }
.tt-day b { display: block; color: var(--leaf-d); font-size: 13px; }
.tt-intro { color: var(--muted); margin: -10px 0 20px; max-width: 680px; }
@media (max-width: 1100px) { .timetable { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .timetable { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .timetable { grid-template-columns: 1fr; } }

/* ---------- properties for sale: premium-room option (20 Oct 2026) */
.pg-hero .premium-note { margin-top: 14px; font-size: clamp(19px, 2vw, 22px); line-height: 1.4; font-weight: 700; color: var(--leaf-d); max-width: 720px; }
.sc-premium { font-size: 14px; font-weight: 600; color: var(--leaf-d); margin-top: -4px; }
.sd-head .sc-premium { margin-top: 4px; font-size: 16px; }

/* Home-page galleries: fixed columns (3, or 2 on phones) so a count divisible by 6 gives even rows (Leigh, 20 Oct 2026). */
.gallery.home-gal { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 480px) { .gallery.home-gal { grid-template-columns: 1fr 1fr; } }

/* Contact page: several testimonials stacked beside the form; the home picker allows several homes (21 Oct 2026). */
.cf-intro .cf-quote { margin-top: 16px; padding: 20px 22px; }
.cf-intro .cf-quote blockquote p { font-size: 18px; }
.home-pick legend small { display: block; font-weight: 500; font-size: 13px; color: var(--soft); margin-top: 2px; }
.home-opt input[type=checkbox] { margin-top: 5px; accent-color: var(--pine); width: 18px; height: 18px; flex: none; }
