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

:root {
  --ink: #15211f;
  --forest: #1e332f;
  --cream: #f1eee6;
  --paper: #f8f6f0;
  --gold: #d8b878;
  --muted: #6e7772;
  --line: rgba(21, 33, 31, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", Arial, sans-serif; font-weight: 300; }
a { color: inherit; text-decoration: none; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; height: 100px; padding: 0 5vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: white; border-bottom: 1px solid rgba(255,255,255,.22); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid currentColor; font: 24px/1 "Italiana", Georgia, serif; }
.brand-name { font-size: 30px; line-height: .9; letter-spacing: .16em; font-weight: 600; }
.brand-name small { display: block; margin-top: 7px; font-size: 15px; letter-spacing: .42em; font-weight: 400; }
.main-nav { display: flex; gap: clamp(28px, 3vw, 54px); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; }
.main-nav a { position: relative; opacity: .84; }
.main-nav a::after { content: ""; position: absolute; height: 1px; left: 0; right: 100%; bottom: -8px; background: var(--gold); transition: .25s; }
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { right: 0; }
.header-cta { justify-self: end; padding: 13px 18px; border: 1px solid rgba(255,255,255,.5); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: .25s; }
.header-cta:hover { color: var(--ink); background: white; }
.header-cta span { margin-left: 16px; }
.nav-toggle, .nav-button { display: none; }

.hero { min-height: 820px; height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; color: white; background: url("assets/hero-residences.png") center center / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,17,18,.86) 0%, rgba(9,17,18,.5) 42%, rgba(9,17,18,.04) 75%), linear-gradient(0deg, rgba(0,0,0,.38), transparent 40%); }
.hero-content { position: relative; z-index: 1; width: min(780px, 90vw); margin-left: 9vw; padding-top: 70px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; text-transform: uppercase; font-size: 10px; letter-spacing: .25em; }
.eyebrow span { width: 30px; height: 1px; background: var(--gold); }
h1, h2 { font-family: "Italiana", Georgia, serif; font-weight: 400; margin: 0; letter-spacing: -.025em; }
h1 { font-size: clamp(58px, 6.5vw, 100px); line-height: .95; }
h1 em, h2 em { color: var(--gold); font-weight: 400; }
.hero-copy { max-width: 475px; margin: 30px 0 35px; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 38px; }
.button { min-width: 205px; padding: 18px 21px; display: inline-flex; justify-content: space-between; gap: 25px; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 600; transition: .25s; }
.button-gold { color: var(--ink); background: var(--gold); }
.button:hover { transform: translateY(-3px); }
.text-link { font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.play { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 10px; padding-left: 2px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; font-size: 7px; }
.hero-note { position: absolute; z-index: 2; right: 5vw; bottom: 50px; display: flex; gap: 16px; align-items: center; }
.hero-note strong { font: 38px "Italiana", Georgia, serif; color: var(--gold); }
.hero-note span { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.32); font-size: 10px; line-height: 1.6; letter-spacing: .13em; text-transform: uppercase; }
.scroll-cue { position: absolute; z-index: 2; left: 2.2vw; bottom: 50px; display: flex; gap: 12px; align-items: center; writing-mode: vertical-rl; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }

.section { padding: 125px 8vw; }
.section-label { min-width: 150px; display: flex; gap: 16px; align-items: center; color: #6f7773; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.section-label span { color: var(--gold); }
.intro { display: grid; grid-template-columns: 18% 1fr; gap: 5vw; }
.kicker { color: #5f6965; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.intro h2, .experience h2 { max-width: 960px; margin: 24px 0 45px; font-size: clamp(42px, 5.2vw, 76px); line-height: 1.13; }
.intro h2 em, .experience h2 em { color: #93815e; }
.intro-bottom { display: flex; justify-content: flex-end; align-items: center; gap: 50px; border-top: 1px solid var(--line); padding-top: 35px; }
.intro-bottom p { max-width: 590px; margin: 0; color: var(--muted); line-height: 1.9; }
.circle-link { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: .25s; }
.circle-link:hover { color: white; background: var(--ink); }

.stats { padding: 0 8vw 115px; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats article { padding: 14px 3vw; display: flex; align-items: center; gap: 20px; border-left: 1px solid var(--line); }
.stats article:first-child { padding-left: 0; border: 0; }
.stats strong { font: 52px "Italiana", Georgia, serif; }
.stats sup { font-size: 17px; color: #9c875e; }
.stats span { color: var(--muted); font-size: 10px; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; }

.residences { color: white; background: var(--ink); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 10vw; margin-bottom: 65px; }
.section-label.light { color: rgba(255,255,255,.45); }
.section-heading h2 { margin-top: 28px; font-size: clamp(46px, 5vw, 74px); line-height: 1.12; }
.section-heading > p { max-width: 410px; margin: 0 0 8px; color: rgba(255,255,255,.55); line-height: 1.8; }
.project-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; }
.project { min-height: 530px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 25px; background-position: center; background-size: cover; isolation: isolate; transition: flex .4s; }
.project::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,12,12,.95), transparent 65%); }
.project::after { content: ""; position: absolute; inset: 0; z-index: -2; background: inherit; transition: transform .6s; }
.project:hover::after { transform: scale(1.04); }
.project-one { background-image: linear-gradient(120deg, rgba(29,49,44,.2), transparent), url("assets/hero-residences.png"); }
.project-two { background-image: linear-gradient(rgba(105,83,50,.25), rgba(21,33,31,.15)), url("assets/hero-residences.png"); background-position: 68% center; }
.project-three { background-image: linear-gradient(rgba(29,49,44,.42), rgba(21,33,31,.2)), url("assets/hero-residences.png"); background-position: 85% center; }
.project-number { align-self: flex-end; padding: 8px 10px; color: rgba(255,255,255,.75); background: rgba(0,0,0,.28); font-size: 9px; letter-spacing: .12em; }
.project-info > p { color: var(--gold); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.project-info h3 { margin: 8px 0 22px; font: 40px "Italiana", Georgia, serif; }
.project-info div { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); }
.project-info div span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.project-info div a { font-size: 20px; }

.experience { display: grid; grid-template-columns: 1.05fr .95fr; gap: 9vw; align-items: center; }
.experience-copy > p:not(.kicker) { max-width: 520px; color: var(--muted); line-height: 1.9; }
.experience .section-label { margin-bottom: 70px; }
.button-dark { margin-top: 25px; color: white; background: var(--ink); }
.amenities { border-top: 1px solid var(--line); }
.amenities article { display: grid; grid-template-columns: 75px 1fr; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.amenity-icon { width: 52px; height: 52px; display: grid; place-items: center; color: #9d8556; border: 1px solid var(--line); border-radius: 50%; font-size: 20px; }
.amenities small { color: #9d8556; font-size: 9px; letter-spacing: .15em; }
.amenities h3 { margin: 7px 0; font: 27px "Italiana", Georgia, serif; }
.amenities p { margin: 0; color: var(--muted); font-size: 13px; }

.contact { padding: 115px 8vw; text-align: center; color: white; background: var(--forest); }
.contact .eyebrow { justify-content: center; }
.contact h2 { font-size: clamp(48px, 5.5vw, 78px); line-height: 1.1; }
.contact > p:not(.eyebrow) { margin: 30px auto 55px; color: rgba(255,255,255,.55); }
.contact-form { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: end; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.contact-form label { padding: 22px; text-align: left; border-right: 1px solid rgba(255,255,255,.18); }
.contact-form label span { display: block; margin-bottom: 9px; color: var(--gold); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.contact-form input, .contact-form select { width: 100%; padding: 6px 0; color: white; background: transparent; border: 0; outline: 0; font: 13px "DM Sans", Arial, sans-serif; }
.contact-form input::placeholder { color: rgba(255,255,255,.55); }
.contact-form select { color: rgba(255,255,255,.65); }
.contact-form select option { color: var(--ink); }
.contact-form button { height: 100%; min-height: 80px; padding: 0 24px; color: var(--ink); background: var(--gold); border: 0; cursor: pointer; font: 600 9px "DM Sans", Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.contact-form button span { margin-left: 20px; }

footer { padding: 55px 8vw 35px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; row-gap: 45px; background: var(--paper); }
footer > p { text-align: center; color: var(--muted); font-family: "Italiana", Georgia, serif; }
footer > div { justify-self: end; display: flex; gap: 28px; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
footer > small { grid-column: 1 / -1; padding-top: 25px; color: var(--muted); border-top: 1px solid var(--line); font-size: 9px; letter-spacing: .1em; }

@media (max-width: 900px) {
  .site-header { height: 80px; grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .nav-button { position: relative; z-index: 3; width: 38px; height: 38px; display: grid; place-content: center; gap: 6px; border: 1px solid rgba(255,255,255,.3); cursor: pointer; }
  .nav-button span { width: 17px; height: 1px; background: white; transition: .3s; }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px; visibility: hidden; opacity: 0; color: white; background: var(--ink); transition: .3s; }
  .nav-toggle:checked ~ .main-nav { visibility: visible; opacity: 1; }
  .nav-toggle:checked + .nav-button span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle:checked + .nav-button span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { min-height: 730px; background-position: 62% center; }
  .hero-content { margin-left: 6vw; }
  .hero-note, .scroll-cue { display: none; }
  .intro { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .stats article:nth-child(3) { padding-left: 0; border: 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 25px; }
  .project-grid { grid-template-columns: 1fr; }
  .project { min-height: 460px; }
  .experience { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr 1fr; }
  .contact-form button { min-height: 75px; }
}

@media (max-width: 580px) {
  .section { padding: 85px 6vw; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 30px; }
  .hero-content { width: 88vw; margin: 0 auto; padding-top: 40px; }
  .hero { background-position: 66% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,16,16,.87), rgba(8,16,16,.35)), linear-gradient(0deg, rgba(0,0,0,.5), transparent); }
  .nav-button { position: absolute; top: 21px; right: 5vw; }
  h1 { font-size: clamp(46px, 13vw, 56px); line-height: 1.02; }
  .hero-copy { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .intro-bottom { align-items: flex-start; gap: 22px; }
  .stats { padding: 0 6vw 80px; }
  .stats article { padding: 12px 15px; display: block; }
  .stats strong { display: block; font-size: 40px; margin-bottom: 8px; }
  .project { min-height: 410px; }
  .contact { padding: 85px 6vw; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand, footer > div { justify-self: center; }
  footer > p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
