:root {
  --linen: #f1eee6;     /* drawing paper */
  --paper: #faf8f3;
  --ink: #1f1d1a;       /* pencil line */
  --muted: #6c645a;
  --oak: #b07a45;       /* floorboards, Eames plywood */
  --moss: #4d5a3a;      /* courtyard green */
  --plum: #5a3a33;      /* RO logo */
  --mustard: #c9962e;
  --line: #d9d3c7;
  --sans: "Josefin Sans", "Futura", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--linen); color: var(--ink); font: 400 1.0625rem/1.65 var(--serif); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--sans); font-weight: 400; margin: 0 0 1.25rem; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.08; max-width: 16ch; font-weight: 300; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.15; font-weight: 300; }
p { max-width: 62ch; margin: 0 0 1rem; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem clamp(1.25rem, 4vw, 3rem); max-width: var(--max); margin: 0 auto; font-family: var(--sans); }
.mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e8e0d3; color: var(--plum); font: 400 1.25rem/1 Georgia, serif; text-decoration: none; letter-spacing: -0.04em; }
.top nav { display: flex; gap: 1.5rem; align-items: center; font-size: 1rem; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--moss); }
.nav-cta { border: 1px solid var(--ink); padding: 0.45rem 1rem; border-radius: 2px; }
.nav-cta:hover { background: var(--ink); color: var(--paper) !important; }
@media (max-width: 780px) { .top nav a:not(.nav-cta) { display: none; } }

main > section { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 3rem); }

/* Buttons */
.btn { display: inline-block; font: 400 1rem var(--sans); background: var(--ink); color: var(--paper); border: 1px solid var(--ink); padding: 0.8rem 1.5rem; border-radius: 2px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--moss); border-color: var(--moss); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: transparent; color: var(--moss); border-color: var(--moss); }
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-top: clamp(1.5rem, 4vw, 3rem) !important; }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; } .reveal { order: -1; max-width: 440px; } }
.lede { font-size: 1.15rem; color: #3d372f; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem 1.5rem; padding: 0; margin: 2rem 0 0; }
.badges li { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; width: 92px; text-align: center; font: 400 0.85rem/1.3 var(--sans); color: var(--muted); }
.disc { display: grid; place-content: center; width: 78px; height: 78px; border-radius: 50%; border: 1px solid var(--ink); color: var(--ink); font: 300 1.35rem/1 var(--sans); }
.disc small { display: block; font-size: 0.68rem; font-weight: 400; margin-top: 3px; color: var(--muted); }
.brandline { font: 400 1rem var(--sans); color: var(--muted); margin-bottom: 1rem; }
.reveal { margin: 0; position: relative; }
.reveal .r-photo, .reveal .r-sketch { width: 100%; height: auto; aspect-ratio: 3 / 4.2; object-fit: cover; border-radius: 2px; }
.reveal .r-sketch { position: absolute; top: 0; left: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.r-line { position: absolute; top: 0; height: calc(100% - 2.2rem); left: var(--pos); width: 1px; background: var(--ink); pointer-events: none; }
.r-line::after { content: ""; position: absolute; top: 50%; left: -14px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper); }
.r-range { position: absolute; inset: 0 0 2.2rem 0; width: 100%; height: calc(100% - 2.2rem); opacity: 0; cursor: ew-resize; margin: 0; }
.reveal figcaption { font: 400 0.85rem var(--sans); color: var(--muted); margin-top: 0.6rem; }
.sticker { position: absolute; right: -1rem; top: 1.5rem; margin: 0; background: var(--moss); color: var(--paper); font: 400 0.95rem/1.3 var(--sans); padding: 0.7rem 1rem; border-radius: 2px; max-width: 15rem; pointer-events: none; }
@media (max-width: 880px) { .sticker { right: 0.75rem; } }

/* Story */
.story { display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.story figure { margin: 0; }
.story img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }

/* Gallery: free, spaced, uncropped */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2.5vw, 2rem); row-gap: clamp(3rem, 7vw, 6rem); align-items: start; padding-top: clamp(2rem, 6vw, 5rem) !important; }
.ph { margin: 0; }
.ph-open { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.ph img { width: 100%; height: auto; border-radius: 2px; transition: opacity .2s; }
.ph-open:hover img { opacity: .92; }
.ph figcaption { font: 400 0.82rem var(--sans); color: var(--muted); margin-top: 0.6rem; }
.g1 { grid-column: 1 / 7; grid-row: 1; }
.g2 { grid-column: 8 / 13; grid-row: 1; margin-top: 9rem; }
.g3 { grid-column: 2 / 6; grid-row: 2; }
.g4 { grid-column: 7 / 11; grid-row: 2; margin-top: 6rem; }
.g5 { grid-column: 4 / 9; grid-row: 3; }
.g6 { grid-column: 10 / 13; grid-row: 3; margin-top: 12rem; }
.g7 { grid-column: 1 / 5; grid-row: 4; margin-top: 3rem; }
.g8 { grid-column: 6 / 9; grid-row: 4; margin-top: 10rem; }
.g9 { grid-column: 10 / 13; grid-row: 4; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(6, 1fr); row-gap: 2.5rem; }
  .ph { grid-row: auto !important; margin-top: 0 !important; grid-column: 1 / 6 !important; }
  .ph:nth-child(even) { grid-column: 2 / 7 !important; }
  .g6, .g8 { grid-column: 3 / 7 !important; }
}

/* Lightbox */
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: var(--linen); }
.lightbox::backdrop { background: rgba(31, 29, 26, 0.4); }
.lightbox figure { margin: 0; height: 100%; display: grid; place-items: center; grid-template-rows: 1fr auto; padding: 3.5rem 4.5rem 1.5rem; box-sizing: border-box; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; }
.lightbox figcaption { font: 400 0.9rem var(--sans); color: var(--muted); padding-top: 0.75rem; }
.lightbox button { position: absolute; background: none; border: 0; font: 300 2.4rem/1 var(--sans); color: var(--ink); cursor: pointer; padding: 1rem; }
.lb-prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
.lb-close { top: 0.5rem; right: 1rem; font-size: 1rem !important; }
@media (max-width: 600px) { .lightbox figure { padding: 3.5rem 0.5rem 1rem; } .lb-prev, .lb-next { top: auto; bottom: 0.5rem; transform: none; } }

/* The flat */
.flat { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .flat { grid-template-columns: 1fr; } }
.included { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.included li { padding: 0.55rem 0 0.55rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; }
.included li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 0.8rem; height: 1px; background: var(--ink); }
.plan { margin: 0; }
.plan img { width: 100%; height: auto; }
.plan figcaption { font: 400 0.9rem/1.45 var(--sans); color: var(--muted); margin-top: 0.75rem; }

/* Green band */
.green { max-width: none !important; padding: 0 !important; display: grid; grid-template-columns: 1.2fr 1fr; background: var(--moss); color: var(--paper); }
.green img { width: 100%; height: 600px; object-fit: cover; }
.green-text { padding: clamp(2.5rem, 6vw, 5rem); align-self: center; }
.green-text p { color: #e3e6d8; font-size: 1.1rem; }
@media (max-width: 760px) { .green { grid-template-columns: 1fr; } .green img { height: 340px; } }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } }
.link { color: var(--moss); text-underline-offset: 4px; font-family: var(--sans); }

/* Calendar */
.availability { border-top: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 1rem; }
.legend { font: 400 0.9rem var(--sans); color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.key { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); }
.key-busy { background: var(--ink); border-color: var(--ink); }
.key-free { margin-left: 0.75rem; }
.calendar { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2rem 2.5rem; margin-top: 1.5rem; }
.month h3 { font: 500 1.05rem var(--sans); margin: 0 0 0.5rem; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; font-family: var(--sans); }
.days span { aspect-ratio: 1; font-size: 0.75rem; display: grid; place-items: center; border-radius: 50%; background: var(--paper); }
.days .dow { background: none; color: var(--muted); }
.days .blank, .days .past { background: none; }
.days .past { color: #b9b0a3; }
.days .busy { background: var(--ink); color: var(--paper); }
.cal-note { font: 400 0.9rem var(--sans); color: var(--muted); margin-top: 1.5rem; }

/* Request form */
.request { max-width: 820px !important; }
.request .sub { color: #3d372f; }
form { display: grid; gap: 1rem; margin-top: 2rem; font-family: var(--sans); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 0.35rem; font-size: 0.92rem; color: #3d372f; }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 0.75rem 1rem; border-radius: 2px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(77, 90, 58, 0.15); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; }
.check input { width: auto; margin-top: 0.3rem; }
.hp { position: absolute; left: -9999px; }
.date-msg { min-height: 1.4em; margin: 0; font-size: 0.92rem; color: var(--plum); }
.date-msg.ok { color: var(--moss); }
form .btn { justify-self: start; }

/* Neighbourhood */
.area-intro { font-size: 1.1rem; }
.icons { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 760px) { .icons { grid-template-columns: 1fr 1fr; } }
.icons li { font: 400 0.95rem/1.45 var(--sans); color: var(--muted); }
.icons svg { width: 84px; height: 84px; padding: 18px; border-radius: 50%; border: 1px solid var(--ink); fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0.75rem; }
.icons strong { display: block; color: var(--ink); font-weight: 500; font-size: 1.05rem; }

.area-head { display: grid; grid-template-columns: 1fr 260px; gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.facade { width: 100%; aspect-ratio: 3 / 4.3; object-fit: cover; border-radius: 2px; }
@media (max-width: 760px) { .area-head { grid-template-columns: 1fr; } .facade { max-width: 240px; } }

/* Instagram strip */
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 1.5rem; }
.insta-grid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 2px; transition: opacity .2s; }
.insta-grid:hover img { opacity: .9; }
@media (max-width: 600px) { .insta-grid { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; max-width: 780px; }
.faq summary { cursor: pointer; font: 400 1.2rem var(--sans); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.75rem 0 0; color: #3d372f; }

/* Footer */
.foot { max-width: var(--max); margin: 0 auto; padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem; border-top: 1px solid var(--line); display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; font: 400 0.92rem var(--sans); color: var(--muted); }
.foot p { margin: 0; flex: 1; }
.foot nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Article pages */
.article { max-width: 780px !important; }
.article h1 { max-width: 18ch; }
.article h2 { margin-top: 2.5rem; font-size: 1.7rem; }
.article ul { padding-left: 1.2rem; }
.article li { margin-bottom: 0.4rem; }
@media (max-width: 480px) { .badges { gap: 1rem 0.5rem; justify-content: space-between; } .badges li { width: 72px; font-size: 0.78rem; } .disc { width: 64px; height: 64px; font-size: 1.1rem; } }
