@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Roboto+Condensed:wght@400;500;600;700&display=swap');

:root {
  --ink: #0b0d0e;
  --steel: #24292c;
  --paper: #e9e7e1;
  --silver: #a9afb2;
  --violet: #a06bb3;
  --white: #f7f6f2;
  --line-dark: rgba(11, 13, 14, 0.22);
  --line-light: rgba(247, 246, 242, 0.24);
  --page-x: clamp(1.25rem, 5vw, 5.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
body { margin: 0; background: var(--ink); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; }
a { color: inherit; }

.skip-link { position: fixed; z-index: 100; left: 1rem; top: -4rem; padding: .75rem 1rem; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 1.5rem var(--page-x); color: var(--white); border-bottom: 1px solid transparent; transition: background .3s ease, padding .3s ease, border-color .3s ease; }
.site-header.scrolled { padding-block: .9rem; background: rgba(11,13,14,.94); border-color: var(--line-light); backdrop-filter: blur(14px); }
.brand { display: block; width: clamp(11rem, 17vw, 15rem); text-decoration: none; }
.brand img { display: block; width: 100%; height: auto; }
.site-nav { display: flex; gap: clamp(1.5rem, 3vw, 3.5rem); font-family: "Roboto Condensed", Arial Narrow, sans-serif; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; }
.site-nav a { position: relative; text-decoration: none; }
.site-nav a::before { content: "/"; position: absolute; right: calc(100% + .6rem); color: var(--violet); opacity: 0; transition: opacity .2s; }
.site-nav a:hover::before, .site-nav a:focus-visible::before { opacity: 1; }
.menu-toggle { display: none; }

.section-index { position: fixed; z-index: 10; right: 1.35rem; top: 50%; translate: 0 -50%; display: grid; justify-items: center; gap: .6rem; color: var(--white); font-family: "Roboto Condensed", Arial Narrow, sans-serif; font-size: .56rem; letter-spacing: .1em; mix-blend-mode: difference; }
.index-line { width: 1px; height: 6rem; background: rgba(255,255,255,.3); }
.index-line i { display: block; width: 1px; height: 25%; background: #fff; transform-origin: top; }

.panel { position: relative; min-height: 100svh; overflow: hidden; scroll-snap-align: start; }
.panel::after { content: ""; position: absolute; pointer-events: none; inset: 0; background-image: linear-gradient(90deg, transparent calc(25% - .5px), rgba(255,255,255,.08) 25%, transparent calc(25% + .5px), transparent calc(50% - .5px), rgba(255,255,255,.08) 50%, transparent calc(50% + .5px), transparent calc(75% - .5px), rgba(255,255,255,.08) 75%, transparent calc(75% + .5px)); }
.eyebrow { margin: 0 0 1.7rem; font-family: "Roboto Condensed", Arial Narrow, sans-serif; font-size: .67rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow::before { content: "— "; color: var(--violet); }
h1, h2 { margin: 0; font-family: "Roboto Condensed", Arial Narrow, sans-serif; font-weight: 600; letter-spacing: -.055em; line-height: .82; text-transform: uppercase; }
h1 { color: var(--white); font-size: clamp(4.8rem, 11.2vw, 10.5rem); }
h2 { font-size: clamp(4rem, 8.4vw, 8.7rem); }
h1 em, h2 em { font-style: normal; font-weight: 300; color: var(--violet); }
.panel-number { position: absolute; z-index: 3; right: var(--page-x); bottom: 2.2rem; margin: 0; color: rgba(255,255,255,.7); font-family: "Roboto Condensed", Arial Narrow, sans-serif; font-size: .7rem; letter-spacing: .18em; }
.panel-number::before { content: "/ "; color: var(--violet); }
.dark-number { color: rgba(11,13,14,.55); }

.image-layer, .contact-image, .split-image { background-position: center; background-size: cover; filter: saturate(.55) contrast(1.08); }
.image-layer { position: absolute; inset: 0; background-image: url("assets/property-hero.png"); animation: hero-in 1.2s cubic-bezier(.2,.7,.2,1) both; }
.image-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,9,10,.88) 0%, rgba(7,9,10,.5) 48%, rgba(7,9,10,.12) 82%); }
.hero-content { position: relative; z-index: 2; display: flex; min-height: 100svh; flex-direction: column; justify-content: center; align-items: flex-start; padding: 8rem var(--page-x) 4rem; color: var(--white); }
.hero-intro { margin: 2.1rem 0 2.6rem; padding-left: 1rem; border-left: 2px solid var(--violet); font-size: clamp(.92rem, 1.2vw, 1.15rem); }
.text-link { display: inline-flex; align-items: center; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: .65rem; text-decoration: none; font-family: "Roboto Condensed", Arial Narrow, sans-serif; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

.panel-who { display: grid; grid-template-columns: 1.06fr .94fr; background: var(--ink); color: var(--white); }
.split-image { min-height: 100svh; background-image: linear-gradient(rgba(11,13,14,.08),rgba(11,13,14,.08)), url("assets/property-street.png"); background-position: 55% center; border-right: 1px solid var(--line-light); }
.split-copy { display: flex; flex-direction: column; justify-content: center; padding: 8rem clamp(2rem, 7vw, 8rem); }
.split-copy h2 em { color: var(--silver); }
.split-copy p:last-child, .statement > p:last-of-type { max-width: 30rem; margin: 3rem 0 0; font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.65; }

.panel-what { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background-color: var(--paper); background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 100% 25%, 25% 100%; padding: 7rem var(--page-x); }
.panel-what::after { display: none; }
.statement { position: relative; z-index: 2; }
.statement h2 em { color: var(--violet); }
.what-detail { display: grid; align-content: center; margin-left: clamp(2rem, 8vw, 9rem); border-top: 2px solid var(--ink); counter-reset: item; }
.what-detail span { display: flex; justify-content: space-between; padding: 1.35rem 0; border-bottom: 1px solid var(--line-dark); color: rgba(11,13,14,.74); font-family: "Roboto Condensed", Arial Narrow, sans-serif; font-size: clamp(1.5rem, 2.5vw, 2.8rem); text-transform: uppercase; }
.what-detail span::after { counter-increment: item; content: "0" counter(item); color: var(--violet); font-family: "DM Sans", Arial, sans-serif; font-size: .65rem; letter-spacing: .12em; }

.panel-contact { color: var(--white); }
.contact-image { position: absolute; inset: 0; background-image: url("assets/property-contact.png"); background-position: center; }
.contact-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,9,10,.25), rgba(7,9,10,.42) 45%, rgba(7,9,10,.92)); }
.contact-content { position: relative; z-index: 2; display: flex; min-height: 100svh; flex-direction: column; justify-content: center; align-items: flex-start; padding: 7rem var(--page-x); margin-left: 48%; }
.contact-content h2 { font-size: clamp(3.4rem, 6.6vw, 7rem); }
.contact-content h2 em { color: var(--violet); }
.contact-details { display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; margin-top: 2rem; padding-left: 1rem; border-left: 2px solid var(--violet); font-size: clamp(.88rem, 1vw, 1rem); }
.contact-details a { width: fit-content; text-decoration-thickness: 1px; text-underline-offset: .35em; }
.contact-details p { margin: 0; color: rgba(255,255,255,.72); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; width: min(100%, 39rem); margin-top: 2rem; }
.form-field { display: grid; gap: .45rem; }
.form-field-message { grid-column: 1 / -1; }
.form-field label { font: 600 .62rem "Roboto Condensed", Arial Narrow, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.form-field input, .form-field textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.45); border-radius: 0; background: rgba(11,13,14,.18); color: var(--white); padding: .65rem .1rem; font: inherit; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: 0; border-color: var(--violet); box-shadow: 0 1px 0 var(--violet); }
.form-submit { width: fit-content; border: 0; border-bottom: 1px solid rgba(255,255,255,.55); background: transparent; color: var(--white); padding: .4rem 0 .65rem; font: 600 .68rem "Roboto Condensed", Arial Narrow, sans-serif; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.form-submit:hover { color: var(--violet); }
.form-status { align-self: center; margin: 0; color: rgba(255,255,255,.72); font-size: .75rem; line-height: 1.4; }
footer { position: absolute; z-index: 3; left: var(--page-x); right: var(--page-x); bottom: 1.6rem; display: flex; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--line-light); color: rgba(255,255,255,.65); font-family: "Roboto Condensed", Arial Narrow, sans-serif; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--violet); outline-offset: 5px; }
@keyframes hero-in { from { scale: 1.03; opacity: .75; } to { scale: 1; opacity: 1; } }

@media (max-width: 760px) {
  html { scroll-snap-type: none; }
  .site-header { padding: .9rem 1.15rem; }
  .brand { width: 10.6rem; }
  .menu-toggle { display: flex; align-items: center; gap: .75rem; border: 0; background: transparent; color: inherit; padding: .8rem 0 .8rem 1rem; font: 600 .65rem "Roboto Condensed", Arial Narrow, sans-serif; text-transform: uppercase; letter-spacing: .14em; }
  .menu-toggle i, .menu-toggle i::after { display: block; width: 1.25rem; height: 1px; background: currentColor; transition: transform .25s; }
  .menu-toggle i { position: relative; }
  .menu-toggle i::after { content: ""; position: absolute; top: .35rem; }
  .menu-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::after { top: 0; transform: rotate(90deg); }
  .site-nav { position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; gap: 0; padding: 1rem 1.25rem 1.5rem; background: rgba(11,13,14,.97); border-bottom: 1px solid var(--line-light); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem 0; }
  .section-index { display: none; }
  .panel::after { background-image: linear-gradient(90deg, transparent calc(50% - .5px), rgba(255,255,255,.07) 50%, transparent calc(50% + .5px)); }
  .image-shade { background: linear-gradient(180deg, rgba(7,9,10,.32), rgba(7,9,10,.84)); }
  .image-layer { background-position: 60% center; }
  .hero-content { justify-content: flex-end; padding: 7rem 1.25rem 5rem; }
  h1 { font-size: clamp(4.4rem, 22vw, 6.3rem); }
  h2 { font-size: clamp(3.9rem, 18vw, 5.7rem); }
  .panel-who { display: block; }
  .split-image { min-height: 55svh; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .split-copy { min-height: 65svh; padding: 5rem 1.25rem; }
  .panel-what { display: block; padding: 6rem 1.25rem; background-size: 100% 25%, 50% 100%; }
  .statement { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; }
  .what-detail { margin: 0 0 3rem; }
  .contact-image { background-position: 35% center; }
  .contact-shade { background: linear-gradient(180deg, rgba(7,9,10,.25), rgba(7,9,10,.9) 55%); }
  .contact-content { justify-content: flex-end; min-height: 100svh; margin: 0; padding: 7rem 1.25rem 8rem; }
  .contact-content h2 { font-size: clamp(3.5rem, 17vw, 5rem); }
  .contact-form { grid-template-columns: 1fr; gap: .85rem; margin-top: 1.5rem; }
  .form-field-message { grid-column: auto; }
  .form-submit { margin-top: .25rem; }
  .form-status { align-self: start; }
  footer { left: 1.25rem; right: 1.25rem; bottom: 1.25rem; display: block; line-height: 1.6; }
  footer p:last-child { display: none; }
  .panel-number { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
