/* ============================================================
   LUNA & CO. PROPERTIES — sample boutique property agency site
   Theme: light editorial / paper and ink
   SAMPLE / PLACEHOLDER PROJECT · EulClavie web design demo
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:root {
  --paper: #FAF9F6;
  --paper-2: #F0EDE6;
  --ink: #1A1A18;
  --muted: #6B6862;
  --line: #E4DFD5;
  --olive: #5C6B4A;
  --radius: 4px;
  --gutter: clamp(20px, 5vw, 76px);
  --max: 1240px;
  --bar-h: 30px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink); background: var(--paper);
  padding-top: var(--bar-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; line-height: 1.02; letter-spacing: -.015em;  }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.4rem; }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); }
.lead { color: var(--muted); font-size: 17px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
  letter-spacing: .01em; 
  background: var(--ink); color: var(--paper);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--olive); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--paper-2); }

/* ---------- sample warning bar ---------- */
.sample-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--bar-h);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--ink); color: var(--paper);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  padding-inline: 14px; text-align: center;
}
.sample-bar .dim { color: rgba(250,249,246,.55); }
@media (max-width: 720px) { .sample-bar { font-size: 8.5px; letter-spacing: .14em; } .sample-bar .dim { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: var(--bar-h); left: 0; right: 0; z-index: 150;
  background: rgba(250,249,246,.86);
  -webkit-backdrop-filter: blur(13px); backdrop-filter: blur(13px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.nav.is-solid { border-bottom-color: var(--line); background: rgba(250,249,246,.96); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .25s;  }
.nav__links a:hover { color: var(--ink); }
.nav__toggle { display: none; width: 36px; height: 36px; position: relative; }
.nav__toggle i { position: absolute; left: 7px; right: 7px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.nav__toggle i:nth-child(1) { top: 14px; }
.nav__toggle i:nth-child(2) { top: 21px; }
body.menu-open .nav__toggle i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav__toggle i:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 960px) { .nav__links { display: none; } .nav__toggle { display: block; } }
@media (max-width: 540px) { .nav__inner > .btn { display: none; } }

.menu {
  position: fixed; inset: calc(var(--bar-h) + 74px) 0 0 0; z-index: 140;
  background: var(--paper); padding: 26px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
body.menu-open .menu { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }
.menu a { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 1.7rem;  padding-block: 12px; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 22px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(58px, 8vw, 116px); }
.sechead { max-width: 660px; }
.sechead h2 { margin-top: 12px; }
.sechead p { margin-top: 14px; color: var(--muted); }
.sechead--center { margin-inline: auto; text-align: center; }
.sechead--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sechead--split p { max-width: 40ch; margin-top: 0; }

/* ---------- sample notice ---------- */
.notice {
  border: 1px dashed var(--line); background: var(--paper-2);
  border-radius: var(--radius); padding: clamp(20px, 3vw, 32px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(14px, 3vw, 36px);
}
.notice b { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); }
.notice p { font-size: 13.5px; color: var(--muted); max-width: 64ch; }
.notice p + p { margin-top: 8px; }
@media (max-width: 760px) { .notice { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--paper); margin-top: clamp(40px, 6vw, 80px); padding-block: clamp(44px, 5vw, 76px); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 46px); }
.foot__brand p { margin-top: 14px; font-size: 14px; color: rgba(250,249,246,.6); max-width: 32ch; }
.foot h4 { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(250,249,246,.6); margin-bottom: 14px; font-weight: 700; }
.foot li + li { margin-top: 8px; }
.foot li, .foot a { font-size: 14.5px; }
.foot a:hover { color: #B9C9A3; }
.foot__bottom { margin-top: clamp(32px, 4vw, 54px); padding-top: 20px; border-top: 1px solid rgba(250,249,246,.16); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: 12.5px; color: rgba(250,249,246,.6); }
@media (max-width: 820px) { .foot__top { grid-template-columns: repeat(2, 1fr); } .foot__brand { grid-column: 1 / -1; } }

/* ---------- reveal + page transition ---------- */
.rv { opacity: 0; transform: translateY(20px); }
.is-ready .rv { transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.page { opacity: 0; transition: opacity .4s ease; }
.page.is-visible { opacity: 1; }
.page.is-leaving { opacity: 0; transition-duration: .25s; }

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


.brand { font-family: "Instrument Serif", serif; font-size: 26px; }
.brand small { display: block; font-family: "Inter", sans-serif; font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: -3px; }

/* hero */
.hero { padding-top: clamp(104px, 12vw, 148px); padding-bottom: clamp(30px, 5vw, 60px); }
.hero h1 { max-width: 15ch; }
.hero__row { display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-top: 26px; }
.hero .lead { max-width: 44ch; }
.hero__media { margin-top: clamp(30px, 4vw, 54px); overflow: hidden; border-radius: var(--radius); }
.hero__media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.hero__meta { margin-top: 16px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .hero__media img { aspect-ratio: 4 / 3; } }

/* collection rows */
.coll { border-top: 1px solid var(--line); margin-top: clamp(30px, 4vw, 52px); }
.row { display: grid; grid-template-columns: 80px minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 40px); align-items: center; padding-block: clamp(18px, 2.2vw, 26px); border-bottom: 1px solid var(--line); transition: background-color .5s var(--ease), padding-left .5s var(--ease); }
.row:hover { background: var(--paper-2); padding-left: 12px; }
.row__thumb { width: 80px; height: 60px; object-fit: cover; border-radius: 2px; }
.row h3 { font-size: clamp(1.15rem, 2vw, 1.6rem); }
.row__loc { font-size: 13.5px; color: var(--muted); }
.row__price { font-family: "Instrument Serif", serif; font-size: 1.3rem; white-space: nowrap; }
@media (max-width: 800px) {
  .row { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 6px 16px; }
  .row__loc { grid-column: 2 / -1; }
}

/* feature spread */
.spread { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 44px); align-items: end; }
.spread__big { grid-column: 1 / 8; overflow: hidden; border-radius: var(--radius); }
.spread__big img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.spread__big:hover img { transform: scale(1.03); }
.spread__side { grid-column: 8 / 13; }
.spread__side h2 { margin-top: 12px; }
.spread__side p { margin-top: 16px; color: var(--muted); }
.spread__specs { margin-top: 24px; }
.spread__specs div { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spread__specs dt { color: var(--muted); }
.spread__small { grid-column: 1 / 5; margin-top: clamp(20px, 3vw, 40px); overflow: hidden; border-radius: var(--radius); }
.spread__small img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.spread__quote { grid-column: 6 / 12; margin-top: clamp(20px, 3vw, 40px); }
.spread__quote blockquote { font-family: "Instrument Serif", serif; font-size: clamp(1.3rem, 2.6vw, 2.1rem); line-height: 1.24; }
.spread__quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .spread__big, .spread__side, .spread__small, .spread__quote { grid-column: 1 / -1; } }

/* guides */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 34px); margin-top: clamp(30px, 4vw, 50px); }
.guide figure { overflow: hidden; border-radius: var(--radius); }
.guide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.guide:hover img { transform: scale(1.04); }
.guide h3 { margin-top: 16px; }
.guide p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 800px) { .guides { grid-template-columns: 1fr; } }

/* contact */
.contact { text-align: center; }
.contact h2 { max-width: 18ch; margin-inline: auto; }
.contact p { margin-top: 18px; color: var(--muted); }
.contact__cta { margin-top: 30px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
