/* ==========================================================================
   Vantry & Lowe · concept website (fictional estate agency)
   Designed by Pathfinder Automation Solutions.

   Squarespace 7.1 map
   1. Site Styles ........ fonts, colours, section themes: linen (Light 1), stone (Light 2), night (Dark 1)
   2. Header ............. transparent over the hero, solid after scroll (custom CSS + header settings)
   3. Blocks ............. gallery slideshow, summary block (homes), form blocks, accordion
   4. Custom CSS ......... filter chips, saved homes, day chips, concept badge
   ========================================================================== */

@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --night: #141311; --night-2: #1d1b18; --stone: #ece6dc; --linen: #f6f2ea; --sand: #d9cdb9;
  --bronze: #b08d5f; --bronze-deep: #85663e; --ink: #1b1916; --muted: #696257; --muted-d: rgba(236, 230, 220, 0.68);
  --line: rgba(27, 25, 22, 0.14);
  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  --max: 1360px; --pad: clamp(20px, 4.4vw, 64px); --sy: clamp(88px, 10vw, 160px);
  --ease: cubic-bezier(0.22, 0.68, 0.18, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; } }
body { margin: 0; background: var(--linen); color: var(--ink); font-family: var(--sans); font-size: 1.02rem; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, dl, dd, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--bronze); color: #fff; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--stone); padding: 10px 14px; font-size: 14px; }
.skip-link:focus { top: 12px; }
section[id] { scroll-margin-top: 72px; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }

/* ---------- type ---------- */
.eyebrow { font-size: 11.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze-deep); }
.eyebrow--light { color: var(--sand); }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5.4vw, 4.9rem); line-height: 1.02; letter-spacing: -0.02em; font-optical-sizing: auto; margin-top: 18px; }
.display em, .hero__title em { font-style: italic; }
.display--light { color: var(--stone); }
.body { color: var(--muted); max-width: 34rem; margin-top: 22px; }
.body--light { color: var(--muted-d); }
.note { margin-top: 26px; padding-left: 16px; border-left: 2px solid var(--bronze); font-size: 13.5px; color: var(--muted); max-width: 30rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 26px; font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; border-radius: 0; transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease); }
.btn--ink { background: var(--ink); color: var(--linen); }
.btn--ink:hover { background: var(--bronze-deep); }
.btn--light { background: var(--linen); color: var(--ink); }
.btn--light:hover { background: var(--bronze); color: #fff; }
.btn--brass { background: var(--bronze); color: #fff; }
.btn--brass:hover { background: var(--bronze-deep); }
.btn--line { border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--linen); }

/* ---------- announcement ---------- */
.announcement { position: relative; z-index: 60; background: var(--night); color: var(--stone); text-align: center; font-size: 13px; padding: 10px 48px; }
.announcement a { border-bottom: 1px solid var(--bronze); padding-bottom: 1px; margin-left: 6px; }
.announcement__close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; opacity: 0.7; }
.announcement__close svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.5; fill: none; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; color: var(--stone); transition: background 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease); margin-bottom: -84px; }
.header__inner { height: 84px; display: flex; align-items: center; gap: 36px; width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.header.is-solid { background: rgba(246, 242, 234, 0.94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.logo { font-family: var(--serif); font-size: 25px; letter-spacing: 0.02em; display: inline-flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.logo i { font-style: italic; color: var(--bronze); font-size: 0.86em; }
.logo--light { color: var(--stone); }
.header__nav { margin-left: auto; display: flex; gap: 30px; font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.header__nav a { position: relative; padding: 6px 0; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.header__nav a:hover::after { transform: scaleX(1); }
.header.is-solid .header__cta { background: var(--ink); color: var(--linen); }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--night); color: var(--stone); padding: 120px var(--pad) 40px; }
.mobile-menu nav { display: grid; gap: 6px; }
.mobile-menu a { font-family: var(--serif); font-size: 2.4rem; line-height: 1.3; }
.mobile-menu__cta { margin-top: 24px; font-family: var(--sans) !important; font-size: 13px !important; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(640px, 100svh); display: grid; align-items: end; color: var(--stone); overflow: hidden; background: var(--night); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 2.6s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 19, 17, 0.55) 0%, rgba(20, 19, 17, 0.08) 38%, rgba(20, 19, 17, 0.72) 100%); }
.hero__inner { position: relative; width: min(100% - 2 * var(--pad), var(--max)); margin: 0 auto; padding: 180px 0 clamp(56px, 7vw, 96px); }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.1rem, 8.4vw, 7.6rem); line-height: 0.96; letter-spacing: -0.025em; margin-top: 22px; max-width: 12ch; }
.hero__lede { margin-top: 26px; max-width: 36rem; color: rgba(236, 230, 220, 0.86); font-size: 1.08rem; }
.hero__credit { position: absolute; right: var(--pad); bottom: 18px; font-size: 11px; letter-spacing: 0.08em; color: rgba(236, 230, 220, 0.55); }
.search { margin-top: 42px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; background: rgba(246, 242, 234, 0.96); color: var(--ink); max-width: 880px; }
.search label { display: grid; padding: 14px 20px; border-right: 1px solid var(--line); }
.search span { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.search select { border: 0; background: transparent; padding: 4px 0 0; font-size: 15px; appearance: none; cursor: pointer; }
.search .btn { height: auto; }

/* ---------- featured ---------- */
.featured { padding: var(--sy) 0; background: var(--linen); }
.featured__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.featured__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.featured__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.featured__frame img.is-on { opacity: 1; transform: none; }
.featured__controls { display: flex; align-items: center; gap: 18px; margin-top: 16px; font-size: 12px; letter-spacing: 0.18em; color: var(--muted); }
.featured__controls button { width: 44px; height: 44px; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color 0.3s; }
.featured__controls button:hover { border-color: var(--ink); }
.featured__controls svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.featured__where { margin-top: 14px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.specs { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.specs div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.specs div:nth-child(odd) { padding-right: 18px; }
.specs dt { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.specs dd { font-family: var(--serif); font-size: 1.7rem; margin-top: 4px; }
.actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.save { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 20px; border: 1px solid var(--line); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; transition: border-color 0.3s; }
.save svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: fill 0.3s, stroke 0.3s; }
.save[aria-pressed="true"] svg { fill: var(--bronze); stroke: var(--bronze); }
.save:hover { border-color: var(--ink); }

/* ---------- homes ---------- */
.homes { padding: var(--sy) 0; background: var(--stone); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: clamp(36px, 5vw, 64px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { height: 40px; padding: 0 18px; border: 1px solid var(--line); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.filters button.is-on, .filters button:hover { background: var(--ink); border-color: var(--ink); color: var(--linen); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
.card { position: relative; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.card.is-out { display: none; }
.card__media { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__body { padding-top: 18px; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.15; }
.card p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.card .card__price { color: var(--ink); letter-spacing: 0.04em; }
.save--icon { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; padding: 0; justify-content: center; background: rgba(246, 242, 234, 0.92); border: 0; }
.homes__empty, .homes__saved { margin-top: 28px; color: var(--muted); font-size: 14px; }

/* ---------- selling ---------- */
.selling { padding: var(--sy) 0; background: var(--night); color: var(--stone); }
.selling__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); }
.selling .btn { margin-top: 34px; }
.steps { border-top: 1px solid rgba(236, 230, 220, 0.16); }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 30px 0; border-bottom: 1px solid rgba(236, 230, 220, 0.16); }
.steps span { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--bronze); }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.2; }
.steps p { margin-top: 10px; color: var(--muted-d); font-size: 15px; }

/* ---------- journal ---------- */
.journal { padding: var(--sy) 0; background: var(--linen); }
.journal__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
.post img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.post__meta { margin-top: 18px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze-deep); }
.post h3 { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.25; }

/* ---------- viewing ---------- */
.viewing { padding: var(--sy) 0; background: var(--stone); }
.viewing__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field > span, .field legend { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { border: 0; border-bottom: 1px solid rgba(27, 25, 22, 0.3); background: transparent; padding: 10px 0; font-size: 16px; border-radius: 0; transition: border-color 0.3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips button { min-width: 74px; padding: 10px 12px; border: 1px solid var(--line); text-align: center; font-size: 13px; line-height: 1.35; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.chips button b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.form .btn { justify-self: start; margin-top: 8px; }
.form__error { color: #8a3b24; font-size: 14px; }
.done { border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); background: var(--linen); }
.done h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.2; }
.done p { margin: 14px 0 26px; color: var(--muted); }

/* ---------- questions ---------- */
.questions { padding: var(--sy) 0; background: var(--linen); }
.questions__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--bronze-deep); transition: transform 0.4s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion p { padding: 0 0 26px; color: var(--muted); max-width: 40rem; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--muted-d); padding: 80px 0 110px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
.footer nav { display: grid; gap: 6px; justify-items: start; }
.footer nav a:hover { color: var(--stone); }
.footer__legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(236, 230, 220, 0.14); display: grid; gap: 8px; font-size: 12.5px; }
.footer__legal a { color: var(--stone); border-bottom: 1px solid rgba(236, 230, 220, 0.3); }

/* ---------- concept badge (custom) ---------- */
.concept-badge { position: fixed; left: 14px; bottom: 14px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(20, 19, 17, 0.9); color: #ece6dc; font-size: 12px; letter-spacing: 0.02em; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }
.concept-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); }

/* ---------- reveal (custom) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .header__nav, .header__cta { display: none; }
  .burger { display: block; }
  .cards, .journal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured__grid, .selling__grid, .viewing__grid, .questions__grid { grid-template-columns: 1fr; }
  .search { grid-template-columns: 1fr 1fr; }
  .search .btn { grid-column: 1 / -1; height: 52px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards, .journal__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .search { grid-template-columns: 1fr; }
  .search label { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero__credit { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .announcement { font-size: 12px; text-align: left; padding-left: 16px; }
}
