/* 235 Beddington Road — site styles
   Palette drawn from the house: white weatherboard, warm oak, linen, eucalyptus, pool blue. */
:root {
  --ivory: #f7f4ee;
  --paper: #ffffff;
  --ink: #1f231f;
  --stone: #6b6a62;
  --sage: #5f6f5a;
  --sage-deep: #3f4d3b;
  --sage-light: #e7ebe2;
  --sand: #c9b79c;
  --line: #e3ded4;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1,h2,h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .6em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }
em { font-style: italic; }
.wrap { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }
.wrap.narrow { width: min(760px, calc(100% - 2.5rem)); }
.eyebrow { font-family: var(--sans); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sage); margin-bottom: 1.2rem; font-weight: 400; }
.eyebrow.light { color: rgba(255,255,255,.85); }
.btn { display: inline-block; padding: .95rem 2rem; border-radius: 999px; font-family: var(--sans); font-weight: 400; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 1px solid currentColor; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-dark { color: #fff; background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--sage-deep); border-color: var(--sage-deep); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 1.4rem 0; color: #fff; transition: background .35s var(--ease), color .35s var(--ease), padding .35s var(--ease), box-shadow .35s; }
.site-header.solid { background: rgba(247,244,238,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); padding: .8rem 0; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: baseline; gap: .6rem; text-decoration: none; }
.brand-number { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; letter-spacing: .02em; }
.brand-name { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; }
.site-nav { display: flex; gap: 2rem; align-items: center; }
.site-nav a { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; font-weight: 400; opacity: .9; transition: opacity .2s; }
.site-nav a:hover { opacity: 1; }
.nav-cta { padding: .55rem 1.2rem; border: 1px solid currentColor; border-radius: 999px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; color: inherit; }
.nav-toggle span { display: block; height: 1px; background: currentColor; margin: 7px 0; transition: transform .3s var(--ease); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 0; background: var(--ivory); color: var(--ink); flex-direction: column; justify-content: center; gap: 1.8rem; transform: translateX(100%); transition: transform .4s var(--ease); }
  .site-nav.open { transform: none; }
  .site-nav a { font-size: 1rem; }
  body.nav-open .site-header { color: var(--ink); }
  body.nav-open { overflow: hidden; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: heroIn 2.4s var(--ease) both; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.6s var(--ease); pointer-events: none; }
.hero-video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
@keyframes heroIn { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background:
  linear-gradient(to right, rgba(16,20,16,.82) 0%, rgba(16,20,16,.7) 35%, rgba(16,20,16,.35) 65%, rgba(16,20,16,.25) 100%),
  linear-gradient(to top, rgba(16,20,16,.85) 0%, rgba(16,20,16,.35) 45%, rgba(16,20,16,.45) 100%); }
@media (max-width: 860px) { .hero-overlay { background: linear-gradient(to top, rgba(16,20,16,.9) 0%, rgba(16,20,16,.72) 50%, rgba(16,20,16,.55) 100%); } }
.hero-content { position: relative; padding: 9rem 0 5rem; max-width: 820px; }
.hero-content h1 { margin-bottom: 1.2rem; text-shadow: 0 2px 6px rgba(0,0,0,.55), 0 4px 28px rgba(0,0,0,.5); }
.hero-content .eyebrow, .hero-address { text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero-content h1 em { font-weight: 300; }
.hero-address { font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 2.2rem; opacity: .9; }
.hero-stats { position: relative; border-top: 1px solid rgba(255,255,255,.25); background: rgba(20,26,20,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-stats ul { list-style: none; margin: 0; padding: 1.2rem 0; display: flex; gap: 3rem; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.stat-value { font-family: var(--serif); font-size: 1.9rem; line-height: 1; }
.stat-label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; margin-top: .3rem; }
@media (max-width: 640px) { .hero-stats ul { gap: 1.4rem 2rem; } .stat-value { font-size: 1.5rem; } .hero-content { padding-top: 7rem; } .hero-content h1 br { display: none; } .hero-content h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); } .hero .eyebrow { letter-spacing: .16em; font-size: .68rem; } }

/* Intro */
.intro { padding: 7rem 0 4rem; text-align: center; }
.lede { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.45; font-weight: 300; }
.intro-rule { display: flex; justify-content: center; margin-top: 3rem; }
.intro-rule span { width: 1px; height: 64px; background: var(--sand); }

/* Story */
.story { padding: 2rem 0 5rem; }
.story-block { width: min(var(--wrap), calc(100% - 2.5rem)); margin: 0 auto 6rem; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.story-block.flip .story-image { order: 2; }
.story-image img { border-radius: 4px; aspect-ratio: 3/2; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(31,35,31,.35); }
.story-text h2 { margin-bottom: 1rem; }
.story-text p { color: #3d3f3a; }
@media (max-width: 860px) { .story-block { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 4.5rem; } .story-block.flip .story-image { order: 0; } }

/* Section heads */
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.light h2 { color: #fff; }

/* Video */
.video { background: var(--ink); color: #fff; padding: 6rem 0; }
.video-frame { position: relative; aspect-ratio: 1920/888; background: #000; border-radius: 6px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play { position: absolute; inset: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,.05)); border: 0; color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; transition: opacity .4s; }
.video-play .play-ring { width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); display: grid; place-items: center; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); transition: transform .3s var(--ease), background .3s; }
.video-play:hover .play-ring { transform: scale(1.06); background: rgba(255,255,255,.2); }
.play-label { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; }
.video-frame.playing .video-play { opacity: 0; pointer-events: none; }

/* Gallery */
.gallery { padding: 6rem 0; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.chip { font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--stone); cursor: pointer; transition: all .25s var(--ease); }
.chip span { opacity: .6; margin-left: .3rem; }
.chip:hover { border-color: var(--sage); color: var(--sage); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.tile { position: relative; display: block; overflow: hidden; border-radius: 3px; aspect-ratio: 3/2; background: var(--sage-light); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile-caption { position: absolute; inset: auto 0 0 0; padding: 2rem .9rem .8rem; font-size: .78rem; letter-spacing: .04em; color: #fff; background: linear-gradient(to top, rgba(20,26,20,.7), transparent); opacity: 0; transition: opacity .35s; }
.tile:hover .tile-caption { opacity: 1; }
.tile.hidden { display: none; }
.tile.reveal { transition-duration: .6s; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .grid { grid-template-columns: 1fr; } .tile-caption { opacity: 1; } }

/* Floorplan */
.floorplan { padding: 5rem 0 6rem; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.floorplan-frame { max-width: 960px; }
.floorplan-link img { border: 1px solid var(--line); border-radius: 4px; }
.fineprint { font-size: .8rem; color: var(--stone); margin-top: 1rem; }
.fineprint a { color: var(--sage); }

/* Highlights */
.highlights { padding: 6rem 0; }
.highlight-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2.5rem; }
.highlight-group h3 { font-size: 1.5rem; margin-bottom: .8rem; padding-bottom: .6rem; border-bottom: 1px solid var(--sand); }
.highlight-group ul { list-style: none; margin: 0; padding: 0; }
.highlight-group li { position: relative; padding-left: 1.3rem; margin-bottom: .55rem; font-size: .97rem; line-height: 1.55; color: #3d3f3a; }
.highlight-group li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
@media (max-width: 860px) { .highlight-groups { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .highlight-groups { grid-template-columns: 1fr; } }

/* Location */
.location { background: var(--sage-light); padding: 6rem 0; }
.location-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.location-copy p { color: #3d3f3a; }
.closing { font-family: var(--serif); font-size: 1.45rem; line-height: 1.4; margin-top: 2rem; color: var(--sage-deep); }
.distances { background: var(--paper); padding: 2.2rem 2.4rem; border-radius: 6px; }
.distances-title { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sage); margin-bottom: 1rem; font-weight: 400; }
.distances ul { list-style: none; margin: 0; padding: 0; }
.distances li { display: flex; justify-content: space-between; gap: 1.5rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.distances li:last-child { border-bottom: 0; }
.distances small { display: block; color: var(--stone); font-size: .8rem; }
.distances .time { font-family: var(--serif); font-size: 1.25rem; white-space: nowrap; color: var(--sage-deep); }
@media (max-width: 860px) { .location-grid { grid-template-columns: 1fr; } }

/* Enquire */
.enquire { padding: 6rem 0 7rem; }
.enquire-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.enquire-copy address { font-style: normal; font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; margin-top: 2rem; color: var(--sage-deep); }
.enquire-form { background: var(--paper); padding: 2.5rem; border-radius: 6px; border: 1px solid var(--line); }
.field { display: block; margin-bottom: 1.2rem; }
.field > span, .field legend { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: .45rem; font-weight: 400; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
input[type=text], input[type=email], input[type=tel], textarea { width: 100%; font: inherit; font-size: 1rem; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 4px; background: var(--ivory); color: var(--ink); transition: border-color .2s, background .2s; }
input:focus, textarea:focus { outline: none; border-color: var(--sage); background: #fff; }
textarea { resize: vertical; min-height: 130px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.2rem; }
fieldset.interest { display: flex; flex-wrap: wrap; gap: .6rem; }
fieldset.interest legend { width: 100%; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; }
.radio span { display: inline-block; padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; letter-spacing: .06em; cursor: pointer; transition: all .2s; }
.radio input:checked + span { background: var(--sage); border-color: var(--sage); color: #fff; }
.radio input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.2rem; border-radius: 4px; margin-bottom: 1.4rem; font-size: .95rem; display: flex; flex-direction: column; gap: .15rem; }
.notice strong { font-weight: 500; }
.notice.success { background: var(--sage-light); color: var(--sage-deep); border-left: 3px solid var(--sage); }
.notice.error { background: #fbeeea; color: #7a2e1e; border-left: 3px solid #b5432b; }
.form-notice { margin: 0 0 1.2rem; }
.field-error { display: block; margin-top: .4rem; font-size: .82rem; color: #b5432b; letter-spacing: .01em; }
.field.has-error input, .field.has-error textarea { border-color: #b5432b; background: #fff8f6; }
.field.has-error > span { color: #b5432b; }
[data-submit] { position: relative; min-width: 12rem; }
[data-submit] .btn-busy { display: none; }
[data-submit].is-busy { pointer-events: none; opacity: .75; }
[data-submit].is-busy .btn-label { display: none; }
[data-submit].is-busy .btn-busy { display: inline; }
.form-success { text-align: center; padding: 2rem 1rem; color: var(--sage-deep); animation: fade .5s ease; }
.form-success svg { margin: 0 auto 1rem; display: block; }
.form-success h3 { font-size: 2rem; margin-bottom: .5rem; }
.form-success p { color: var(--stone); margin: 0; }
@media (max-width: 860px) { .enquire-grid { grid-template-columns: 1fr; } .enquire-form { padding: 1.6rem; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 2.5rem 0; font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.site-footer .brand-number { color: #fff; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,18,15,.96); display: flex; align-items: center; justify-content: center; color: #fff; animation: fade .25s ease; }
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0 } }
.lightbox figure { margin: 0; max-width: min(1400px, 92vw); max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 3px; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.lightbox figcaption { display: flex; gap: 1.5rem; font-size: .85rem; letter-spacing: .04em; color: rgba(255,255,255,.8); }
.lb-count { opacity: .6; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-family: var(--serif); line-height: 1; opacity: .75; transition: opacity .2s; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 1rem; right: 1.4rem; font-size: 2.8rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 4rem; padding: 1rem; }
.lb-prev { left: .5rem; } .lb-next { right: .5rem; }
@media (max-width: 640px) { .lb-prev, .lb-next { font-size: 3rem; padding: .5rem; } .lightbox img { max-height: 70vh; } }
