/* =========================================================
   TERRE ROUGE ESTATE — Stones-style Editorial
   Minimal · Off-white · Refined Serif Headlines
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Inter:wght@300;400;500&display=swap');

:root {
  --bg: #fbfaf6;        /* warm off-white */
  --bg-alt: #f3f0e9;    /* slightly warmer panel */
  --ink: #1a1a1a;       /* near-black */
  --ink-soft: #2b2b2b;
  --muted: #6e6e6e;
  --line: #d8d3c8;
  --accent: #1a1a1a;    /* keep accents monochrome */

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  --gutter: clamp(1.5rem, 5vw, 4rem);
  --section: clamp(5rem, 12vw, 10rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.005em;
  line-height: 1.1;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6.5vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); line-height: 1.15; }
h3 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

p { font-weight: 300; }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 300;
}

.body-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 36rem;
}
.body-text p + p { margin-top: 1.5rem; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container-narrow {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(3rem, 7vw, 6rem); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.5rem 0;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 0.85rem 0;
  border-bottom-color: rgba(216, 211, 200, 0.5);
}

.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-block;
  grid-column: 2;
  text-align: center;
  line-height: 0;
}
.brand img {
  height: 64px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}
.site-header.scrolled .brand img {
  height: 48px;
}
@media (max-width: 700px) {
  .brand img { height: 50px; }
  .site-header.scrolled .brand img { height: 40px; }
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  grid-column: 1;
  font-weight: 400;
}
.nav-links a {
  position: relative;
  padding: 0.25rem 0;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--ink);
}

.nav-cta {
  grid-column: 3;
  justify-self: end;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
}
.nav-cta:hover { opacity: 0.6; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  grid-column: 3;
  justify-self: end;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink);
  margin: 6px 0;
  transition: 0.3s;
}

@media (max-width: 900px) {
  .nav-wrap { grid-template-columns: 1fr auto 1fr; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 2rem var(--gutter);
    gap: 1.5rem;
    border-top: 1px solid var(--line);
  }
}

/* =========================================================
   BUTTONS — minimal, underlined link style (Stones-like)
   ========================================================= */
.link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: opacity 0.3s ease, letter-spacing 0.3s ease;
}
.link:hover { letter-spacing: 0.32em; }

.link-light {
  color: var(--bg);
  border-bottom-color: var(--bg);
}

/* =========================================================
   HERO — full bleed image, minimal text below
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  margin-top: 0;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.3) 100%);
}
.hero-tag {
  position: absolute;
  bottom: 3rem;
  left: 0; right: 0;
  text-align: center;
  z-index: 2;
  color: var(--bg);
}
.hero-tag .eyebrow {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}
.hero-tag h1 {
  color: var(--bg);
  font-weight: 300;
  max-width: 18ch;
  margin: 0 auto;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
}

/* Page hero (sub-pages — shorter) */
.page-hero {
  position: relative;
  height: 75vh;
  min-height: 520px;
  overflow: hidden;
}
.page-hero .hero-image img,
.page-hero .hero-image { /* same as hero */ }
.page-hero .hero-tag h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }

/* =========================================================
   WELCOME / INTRO BLOCK
   ========================================================= */
.welcome-intro {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}
.welcome-intro .eyebrow { margin-bottom: 1.5rem; }
.welcome-intro h2 { margin-bottom: 2rem; }
.welcome-intro .body-text {
  margin: 0 auto;
  text-align: left;
}

/* =========================================================
   SPLIT — image + text side by side, generous
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 80vh;
}
.split-image {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
}
.split-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(2rem, 6vw, 5rem);
  background: var(--bg);
}
.split-text .eyebrow { margin-bottom: 1.5rem; }
.split-text h2 { margin-bottom: 1.5rem; max-width: 14ch; }
.split-text .lead { margin-bottom: 1.5rem; max-width: 32rem; }
.split-text .body-text { margin-bottom: 2rem; }
.split.reverse .split-image { order: 2; }
.split.reverse .split-text { order: 1; }
.split.alt .split-text { background: var(--bg-alt); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split-image { min-height: 60vh; }
  .split.reverse .split-image { order: 1; }
  .split.reverse .split-text { order: 2; }
}

/* =========================================================
   FULL-BLEED IMAGE
   ========================================================= */
.full-image {
  width: 100%;
  height: clamp(60vh, 80vh, 800px);
  overflow: hidden;
}
.full-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* =========================================================
   QUOTE — large display, no fancy box
   ========================================================= */
.pull-quote {
  padding: clamp(5rem, 12vw, 10rem) var(--gutter);
  background: var(--bg);
  text-align: center;
}
.pull-quote blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  line-height: 1.25;
  max-width: 38ch;
  margin: 0 auto 2rem;
  color: var(--ink);
  font-style: italic;
}
.pull-quote cite {
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   TEXT-BLOCK SECTION (Stones-style centered prose)
   ========================================================= */
.text-block {
  max-width: 62rem;
  margin: 0 auto;
  text-align: center;
  padding-block: clamp(4rem, 10vw, 8rem);
  padding-inline: var(--gutter);
}
.text-block h2 { margin-bottom: 2.5rem; max-width: 22ch; margin-inline: auto; }
.text-block .body-text {
  text-align: left;
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1.05rem;
}
.text-block .body-text p + p { margin-top: 1.5rem; }

/* =========================================================
   FOOTER — minimal, with acknowledgment
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 6rem var(--gutter) 2rem;
}
.footer-top {
  max-width: 1400px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-top h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(251, 250, 246, 0.55);
  margin-bottom: 1.5rem;
}
.footer-brand {
  display: inline-block;
  margin-bottom: 1.5rem;
}
.footer-brand img {
  height: 70px;
  width: auto;
  display: block;
}
.footer-top p {
  color: rgba(251, 250, 246, 0.7);
  font-size: 0.92rem;
  line-height: 1.8;
}
.footer-top ul { list-style: none; }
.footer-top ul li {
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  color: rgba(251, 250, 246, 0.7);
}
.footer-top a { transition: opacity 0.3s ease; }
.footer-top a:hover { opacity: 0.7; }

.acknowledgment {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(251, 250, 246, 0.15);
  border-bottom: 1px solid rgba(251, 250, 246, 0.15);
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(251, 250, 246, 0.55);
  text-align: center;
  max-width: 48rem;
}

.footer-bottom {
  max-width: 1400px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 250, 246, 0.4);
}

@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 500px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* =========================================================
   FORM — Stones-style minimal
   ========================================================= */
.form {
  display: grid;
  gap: 2rem;
  max-width: 40rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.form label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.65rem 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.3s ease;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.form textarea { resize: vertical; min-height: 5rem; }
.form-submit { justify-self: start; margin-top: 1rem; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; gap: 2rem; }
}

/* =========================================================
   IMAGE GRID (gallery)
   ========================================================= */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.image-grid > * {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.image-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.image-grid > *:hover img { transform: scale(1.04); }

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

/* =========================================================
   THREE-UP TEASER (homepage offerings)
   ========================================================= */
.teasers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.teaser {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.teaser img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s ease;
}
.teaser:hover img { transform: scale(1.05); }
.teaser::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
}
.teaser-info {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 2.5rem clamp(1.5rem, 3vw, 3rem);
  color: var(--bg);
}
.teaser-info .eyebrow {
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}
.teaser-info h3 {
  color: var(--bg);
  margin-bottom: 1rem;
  font-weight: 300;
}
.teaser-info .link {
  color: var(--bg);
  border-bottom-color: var(--bg);
  font-size: 0.68rem;
}

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

/* =========================================================
   CONTACT LAYOUT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.contact-info dl { display: grid; gap: 2rem; margin-top: 2rem; }
.contact-info dt {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.contact-info dd {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.4;
}

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

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
