@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-300.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #000000;
  --slate: #565c63;
  --hair: #dcdddb;
  --render: #ecedeb;
  --roof: #3a3f45;
  --timber: #9a6a3f;
  --on-ink: #ffffff;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1360px;
  font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111214;
  --ink: #f0f1f2;
  --slate: #a3a8ae;
  --hair: #2e3237;
  --render: #1a1c20;
  --roof: #c8cdd2;
  --timber: #c49260;
  --on-ink: #111214;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    color-scheme: dark;
    --paper: #111214;
    --ink: #f0f1f2;
    --slate: #a3a8ae;
    --hair: #2e3237;
    --render: #1a1c20;
    --roof: #c8cdd2;
    --timber: #c49260;
    --on-ink: #111214;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

body.lb-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--timber);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
}

.wrap > .head,
.wrap > .intro,
.wrap > .photos-acc,
.wrap > .block {
  padding: 20px;
  border-bottom: 1px solid var(--hair);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--on-ink);
  padding: 0.6em 1em;
  z-index: 50;
}

.skip:focus {
  left: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9em 1.7em;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--on-ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--timber);
  border-color: var(--timber);
}

.btn--line {
  background: transparent;
  color: var(--ink);
}

.btn--line:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hair);
}

.bar__in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mark {
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.bar nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}

.bar nav a {
  text-decoration: none;
}

.bar nav a:hover {
  color: var(--timber);
}

.bar .btn {
  padding: 0.55em 1.2em;
  font-size: 0.9rem;
}

.bar .btn:hover {
  color: var(--on-ink);
}

.theme-toggle {
  font: inherit;
  font-size: 0.85rem;
  padding: 0.4em 0.75em;
  border: 1px solid var(--hair);
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 0;
  white-space: nowrap;
}

.theme-toggle:hover {
  border-color: var(--ink);
  color: var(--timber);
}

@media (max-width: 820px) {
  .bar nav .nav-link {
    display: none;
  }
}

.hero {
  position: relative;
  width: 100%;
  /* Match hero illustration (~1024×375); height follows width */
  aspect-ratio: 1024 / 375;
  max-height: min(72vh, 720px);
  background: var(--render);
  overflow: hidden;
}

.hero > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero svg,
.hero img {
  object-fit: contain;
  object-position: center bottom;
}

.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.illus {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hero img {
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero img.is-loaded {
  opacity: 1;
}

@media (max-width: 1199px) {
  .hero {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 900px) {
  .head {
    grid-template-columns: 7fr 5fr;
    gap: 72px;
    align-items: end;
  }
}

h1 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2.75rem, 7.2vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.brand {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.place {
  margin: 16px 0 0;
  font-size: 1.25rem;
  color: var(--slate);
}

.status {
  display: inline-block;
  margin: 0 0 14px;
  padding: 0.25em 0.8em;
  border: 1px solid var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.status[hidden] {
  display: none;
}

.price {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.tenure {
  margin: 2px 0 0;
  color: var(--slate);
}

.docs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.98rem;
}

.docs li[hidden] {
  display: none;
}

.docs a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.docs a:hover {
  color: var(--timber);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.share {
  margin: 18px 0 0;
  font-size: 0.95rem;
  color: var(--slate);
}

.share button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.share a,
.share button + a {
  margin-left: 14px;
}

.intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .intro {
    grid-template-columns: 7fr 5fr;
    gap: 72px;
  }
}

.statement {
  margin: 0;
  font-weight: 300;
  font-size: clamp(1.7rem, 3.2vw, 2.75rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 24em;
}

.prose {
  max-width: 34em;
}

.prose p {
  margin: 0 0 1.1em;
}

.prose .nearby {
  margin: 0 0 1.1em;
  padding: 0;
  list-style: none;
}

.prose .nearby li {
  margin: 0 0 0.55em;
}

.prose .nearby li:last-child {
  margin-bottom: 0;
}

details.more summary {
  cursor: pointer;
  list-style: none;
  display: inline-block;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  font-weight: 500;
}

details.more summary::-webkit-details-marker {
  display: none;
}

details.more[open] summary {
  display: none;
}

details.more summary:hover {
  color: var(--timber);
}

.photos-acc {
  margin: 0;
}

.photos-acc summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.photos-acc summary::-webkit-details-marker {
  display: none;
}

.photos-acc summary:hover {
  color: var(--timber);
}

.photos-acc__hint {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--slate);
  letter-spacing: 0;
}

.photos-acc__body {
  margin-top: 28px;
}

.gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.frame {
  position: relative;
  margin: 0;
  background: var(--render);
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.frame--full {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame .ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 4px;
  padding: 24px;
  text-align: center;
  color: var(--slate);
  font-size: 0.95rem;
}

.frame .ph[hidden] {
  display: none;
}

.frame .ph b {
  font-weight: 500;
  color: var(--ink);
}

.frame.is-empty {
  cursor: default;
}

.frame:not(.is-empty) {
  cursor: zoom-in;
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .frame,
  .frame--full {
    aspect-ratio: 4 / 3;
  }
}

.more-photos {
  margin: 28px 0 0;
  text-align: center;
}

.more-photos[hidden] {
  display: none;
}

.block h2 {
  margin: 0 0 40px;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 5fr 7fr;
    gap: 72px;
  }
}

.split p {
  margin: 0 0 1.1em;
  max-width: 34em;
}

dl.facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
}

dl.facts .row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 2fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--hair);
}

dl.facts .row:last-child {
  border-bottom: 1px solid var(--hair);
}

dl.facts dt {
  color: var(--slate);
}

dl.facts dd {
  margin: 0;
}

.table-scroll {
  overflow-x: auto;
}

table.rooms {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  min-width: 560px;
}

table.rooms caption {
  caption-side: bottom;
  text-align: left;
  padding-top: 14px;
  color: var(--slate);
  font-size: 0.92rem;
}

table.rooms th,
table.rooms td {
  padding: 14px 16px 14px 0;
  border-top: 1px solid var(--hair);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

table.rooms thead th {
  color: var(--slate);
  border-top: 0;
  font-size: 0.95rem;
}

table.rooms tr:last-child th,
table.rooms tr:last-child td {
  border-bottom: 1px solid var(--hair);
}

table.rooms td:nth-child(2) {
  white-space: nowrap;
}

table.rooms td:last-child {
  color: var(--slate);
}

.plan__img {
  border: 1px solid var(--hair);
  background: var(--paper);
}

.plan__img a {
  display: block;
}

.plan__img img {
  width: 100%;
  height: auto;
}

.plan__cap {
  margin: 14px 0 0;
  color: var(--slate);
  font-size: 0.92rem;
}

.plan__link {
  margin: 10px 0 0;
  font-size: 0.98rem;
}

.plan__link a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.plan__link a:hover {
  color: var(--timber);
}

.contact.wrap {
  padding: 20px;
  border-bottom: 1px solid var(--hair);
}

.contact h2 {
  margin: 0 0 32px;
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: 5fr 7fr;
    gap: 72px;
  }
}

.how {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 34em;
}

.how li {
  padding: 14px 0;
  border-top: 1px solid var(--hair);
}

.how li:last-child {
  border-bottom: 1px solid var(--hair);
}

.how b {
  font-weight: 500;
}

.enquiry label {
  display: block;
  margin: 0 0 6px;
  color: var(--slate);
  font-size: 0.95rem;
}

.enquiry .field {
  margin: 0 0 18px;
}

.enquiry input,
.enquiry select,
.enquiry textarea {
  width: 100%;
  padding: 0.8em 1em;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.enquiry textarea {
  resize: vertical;
  min-height: 120px;
}

.enquiry input:user-invalid,
.enquiry select:user-invalid,
.enquiry textarea:user-invalid,
.enquiry .is-invalid {
  border-color: var(--ink);
}

.field-msg {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: var(--ink);
}

.field-msg[hidden] {
  display: none;
}

.form-status {
  margin: 0 0 18px;
  font-size: 0.98rem;
}

.form-note {
  margin: 14px 0 0;
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-success {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 34em;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

footer {
  padding: 20px;
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.6;
}

footer p {
  margin: 0 0 0.8em;
  max-width: 60em;
}

.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 98%, transparent);
  display: none;
  grid-template-rows: 1fr auto;
  padding: 20px;
}

.lb.is-open {
  display: grid;
}

.lb__img {
  min-height: 0;
  display: grid;
  place-items: center;
}

.lb__img img {
  max-width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
}

.lb__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  font-size: 0.95rem;
}

.lb__bar button {
  font: inherit;
  background: none;
  border: 0;
  padding: 0.5em 0.2em;
  cursor: pointer;
  color: var(--ink);
}

.lb__bar button:hover {
  color: var(--timber);
}

.lb__nav {
  display: flex;
  gap: 28px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero img,
  .btn {
    transition: none;
  }
}

@media (max-width: 600px) {
  table.rooms {
    min-width: 100%;
  }
}

.not-found {
  padding-top: 120px;
  padding-bottom: 120px;
}

.not-found h1 {
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 16px;
}

.not-found p {
  max-width: 34em;
}
