/* =========================================================
   TiffanyNichole — Editorial Luxury Real Estate
   Palette: ivory / white / gold / rose gold
   Type: Cormorant Garamond (display) + Jost (sans)
   ========================================================= */

:root {
  /* Color */
  --ivory: #FBF7F1;
  --ivory-deep: #F4ECE2;
  --white: #FFFFFF;
  --ink: #2A2420;          /* warm near-black text */
  --ink-soft: #6E645B;     /* secondary text */
  --gold: #C2A14D;         /* accent / hairlines / wordmark */
  --gold-light: #D9C089;
  --gold-deep: #A8893A;
  --rose: #B76E79;         /* primary action */
  --rose-deep: #9E5A65;    /* hover */
  --rose-blush: #F3DDDF;   /* soft tint */
  --line: rgba(194,161,77,0.32); /* gold hairline */

  /* Type */
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Spacing rhythm */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  --shadow-soft: 0 24px 60px -28px rgba(42,36,32,0.35);
  --shadow-card: 0 18px 44px -26px rgba(42,36,32,0.30);
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.04; letter-spacing: 0.005em; }
.display-xl { font-size: clamp(3rem, 8.5vw, 6.75rem); font-weight: 500; }
.display-l  { font-size: clamp(2.4rem, 5.5vw, 4.25rem); }
.display-m  { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.italic { font-style: italic; }
.gold-text { color: var(--gold-deep); }
.rose-text { color: var(--rose); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.centered { justify-content: center; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-soft); max-width: 56ch; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--ivory-deep { background: var(--ivory-deep); }
.section--ink { background: var(--ink); color: var(--ivory); }
.section--ink .lead { color: rgba(251,247,241,0.72); }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 1rem; }
.stack > * + * { margin-top: 1.6rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 1.05rem 2.1rem; border-radius: 2px;
  transition: all 0.4s var(--ease); position: relative;
}
.btn--primary { background: var(--rose); color: var(--white); }
.btn--primary:hover { background: var(--rose-deep); transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(158,90,101,0.7); }
.btn--ghost { border: 1px solid var(--gold); color: var(--gold-deep); }
.btn--ghost:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }
.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light:hover { background: var(--white); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.link-arrow {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rose); display: inline-flex; gap: 0.5rem; align-items: center;
  border-bottom: 1px solid transparent; padding-bottom: 2px; transition: all 0.3s var(--ease);
}
.link-arrow:hover { border-color: var(--rose); gap: 0.85rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-block: 1.5rem; transition: all 0.45s var(--ease);
}
.site-header.scrolled {
  background: rgba(251,247,241,0.92);
  backdrop-filter: blur(14px);
  padding-block: 0.85rem;
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark {
  font-family: var(--display); font-size: 1.7rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--ink); line-height: 1; display: inline-flex; align-items: baseline;
}
.wordmark .nicole { color: var(--gold-deep); font-style: italic; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a {
  font-size: 0.8rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink);
  position: relative; padding-block: 0.4rem; transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold-deep); }
.nav-cta { margin-left: 0.5rem; }
.nav-toggle { display: none; width: 30px; height: 22px; position: relative; }
.nav-toggle span { position: absolute; left: 0; height: 1.5px; width: 100%; background: var(--ink); transition: all 0.35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-toggle.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(7rem, 12vw, 10rem); padding-bottom: var(--section-y); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -10%; right: -8%; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  background: radial-gradient(circle, rgba(183,110,121,0.16), transparent 68%); z-index: 0;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; z-index: 1; }
.hero-copy { max-width: 34ch; }
.hero-copy h1 { margin-block: 1.4rem 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-figure { position: relative; }
.hero-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; border-radius: 3px; box-shadow: var(--shadow-soft); }
.hero-figure .frame {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: 3px; z-index: -1;
}
.hero-badge {
  position: absolute; bottom: -28px; left: -28px; background: var(--ivory); border: 1px solid var(--line);
  padding: 1.1rem 1.4rem; box-shadow: var(--shadow-card); border-radius: 3px; text-align: center;
}
.hero-badge .num { font-family: var(--display); font-size: 2.1rem; color: var(--gold-deep); line-height: 1; }
.hero-badge .lbl { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.35rem; }
.swap { color: var(--rose); font-style: italic; }  /* bracketed swap-in copy */

/* ---------- Marquee / trust strip ---------- */
.trust-strip { border-block: 1px solid var(--line); padding-block: 1.4rem; }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.4rem 3rem; }
.trust-item { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.trust-item strong { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--gold-deep); letter-spacing: 0; display: block; text-transform: none; }

/* ---------- Section heading ---------- */
.sec-head { max-width: 64ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head.center { margin-inline: auto; }
.sec-head h2 { margin-block: 1.1rem 1rem; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 2.4rem 2rem 2.2rem;
  position: relative; overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  display: flex; flex-direction: column;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--rose)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.service-card:hover::before { transform: scaleX(1); }
.service-num { font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--gold); }
.service-card h3 { font-size: 1.85rem; margin-block: 0.9rem 0.8rem; }
.service-card p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 1.6rem; flex: 1; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 16%; border-radius: 3px; box-shadow: var(--shadow-soft); }
.split-media { position: relative; }
/* Full-length portrait: match the photo's real ratio so nothing is cropped */
.split-media.is-portrait { max-width: 440px; margin-inline: auto; }
.split-media.is-portrait img { aspect-ratio: 1289 / 2245; object-position: center top; }
.split-media .tag {
  position: absolute; top: 1.4rem; left: -1rem; background: var(--rose); color: var(--white);
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; padding: 0.6rem 1.1rem; border-radius: 2px;
}

/* ---------- Value list ---------- */
.value-list { display: grid; gap: 1.3rem; }
.value-item { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.value-item:last-child { border-bottom: none; }
.value-item .vi-num { font-family: var(--display); font-style: italic; color: var(--gold-deep); font-size: 1.3rem; line-height: 1.2; }
.value-item h4 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.value-item p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Credentials list ---------- */
.cred-list { display: grid; }
.cred-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 0.95rem; line-height: 1.45; }
.cred-list li:last-child { border-bottom: none; }

/* ---------- Quote / testimonial ---------- */
.quote-block { max-width: 50ch; margin-inline: auto; text-align: center; }
.quote-block .mark { font-family: var(--display); font-size: 5rem; color: var(--gold-light); line-height: 0.5; }
.quote-block blockquote { font-family: var(--display); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; margin-block: 1rem 1.6rem; }
.quote-block cite { font-style: normal; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(183,110,121,0.25), transparent 60%); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 1.2rem; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.form-intro { position: sticky; top: 120px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 5px; padding: clamp(1.8rem, 3.5vw, 3rem); box-shadow: var(--shadow-card); }
.field { margin-bottom: 1.5rem; }
.field label { display: block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.55rem; }
.field .req { color: var(--rose); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 0.98rem; font-weight: 300; color: var(--ink);
  padding: 0.85rem 1rem; background: var(--ivory); border: 1px solid var(--line); border-radius: 3px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-blush);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; }
.consent { font-size: 0.82rem; color: var(--ink-soft); display: flex; gap: 0.6rem; align-items: flex-start; max-width: 42ch; }
.consent input { width: auto; margin-top: 0.25rem; }
.hp { position: absolute; left: -9999px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-top: clamp(8.5rem, 14vw, 12rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; }
.page-hero .eyebrow { margin-bottom: 1.2rem; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 1.4rem; }
.breadcrumb { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--gold-deep); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.contact-detail { display: grid; gap: 1.6rem; }
.contact-detail .row { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.contact-detail .row .k { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.contact-detail .row .v { font-family: var(--display); font-size: 1.4rem; }
.icon-dot { width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold-deep); }

/* ---------- Thank you ---------- */
.ty-wrap { min-height: 78vh; display: grid; place-items: center; text-align: center; padding-top: 6rem; }
.ty-mark { width: 90px; height: 90px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; margin: 0 auto 2rem; color: var(--gold-deep); }
.ty-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--ivory); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(217,192,137,0.25); }
.site-footer .wordmark { color: var(--ivory); }
.site-footer .wordmark .nicole { color: var(--gold-light); }
.footer-about p { color: rgba(251,247,241,0.6); font-size: 0.92rem; margin-top: 1.2rem; max-width: 38ch; }
.footer-col h5 { font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.3rem; }
.footer-col a { display: block; color: rgba(251,247,241,0.72); font-size: 0.92rem; margin-bottom: 0.8rem; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: 0.8rem; color: rgba(251,247,241,0.5); }
.footer-bottom .credit { color: rgba(251,247,241,0.62); transition: color 0.3s var(--ease); }
.footer-bottom .credit:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 1.2rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.1s; }
.reveal[data-d="2"] { transition-delay: 0.2s; }
.reveal[data-d="3"] { transition-delay: 0.3s; }
.reveal[data-d="4"] { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 460px; margin-inline: auto; order: -1; }
  .hero-copy { max-width: none; }
  .services-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: -1; }
  .split-media img { aspect-ratio: 16/12; }
  .split-media.is-portrait img { aspect-ratio: 1289 / 2245; }
  .form-layout { grid-template-columns: 1fr; }
  .form-intro { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 340px); background: var(--ivory);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.8rem;
    padding: 3rem 2.4rem; transform: translateX(100%); transition: transform 0.5s var(--ease);
    box-shadow: -20px 0 50px -30px rgba(42,36,32,0.5); z-index: 99;
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1rem; }
  .nav-toggle { display: block; z-index: 100; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -24px; }
}

/* ---------- Print (PDF intake) ---------- */
@media print {
  .site-header, .site-footer, .form-intro, .no-print, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .form-card { box-shadow: none; border: 1px solid #bbb; }
  .field input, .field select, .field textarea { background: #fff; border: 1px solid #999; }
  .print-only { display: block !important; }
  .page-hero { padding-top: 1rem; }
}
.print-only { display: none; }
