/* The Tinto Collective — shared styles */
:root {
  --olive: #6e6a58;
  --olive-deep: #575444;
  --linen: #e9e2d0;
  --linen-soft: #ded5bf;
  --brass: #b98a4f;
  --ink: #26251e;
  --line: rgba(233, 226, 208, 0.28);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--olive);
  color: var(--linen);
  font-family: 'EB Garamond', serif;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.75;
}
img { display: block; max-width: 100%; }

.caps {
  font-family: 'Sorts Mill Goudy', serif;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
}

/* ---------- top bar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  background: linear-gradient(rgba(38,37,30,0.55), transparent);
  transition: background 0.4s ease;
}
.topbar.scrolled { background: rgba(87, 84, 68, 0.96); box-shadow: 0 1px 0 var(--line); }
.topbar .wordmark {
  font-family: 'Sorts Mill Goudy', serif;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  color: var(--linen);
  text-decoration: none;
  white-space: nowrap;
}
.topbar nav { display: flex; gap: 2rem; align-items: center; }
.topbar nav a {
  font-family: 'Sorts Mill Goudy', serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  color: var(--linen-soft);
  text-decoration: none;
  transition: color 0.3s ease;
}
.topbar nav a:hover, .topbar nav a.active { color: var(--brass); }
.topbar .cta {
  border: 1px solid var(--linen);
  padding: 0.55rem 1.2rem;
  color: var(--linen);
  transition: background 0.3s ease, color 0.3s ease;
}
.topbar .cta:hover { background: var(--linen); color: var(--olive-deep); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero .veil {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(87,84,68,0.45), rgba(38,37,30,0.55)),
              radial-gradient(ellipse at 50% 45%, transparent 30%, rgba(38,37,30,0.35) 100%);
}
.hero .inner { position: relative; z-index: 2; padding: 6rem 1.5rem 3rem; }
.hero .ridge { width: min(430px, 76vw); margin: 0 auto 1rem; }
.hero .ridge svg { width: 100%; height: auto; }
.hero .the {
  display: block;
  font-family: 'Sorts Mill Goudy', serif;
  font-size: 0.85rem;
  letter-spacing: 0.6em;
  text-indent: 0.6em;
  text-transform: uppercase;
  color: var(--linen-soft);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: 'Sorts Mill Goudy', serif;
  font-weight: 400;
  font-size: clamp(2rem, 5.4vw, 3.8rem);
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(38,37,30,0.45);
}
.hero .tagline {
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  color: var(--linen-soft);
  margin-top: 1.4rem;
}
.hero .down {
  position: absolute;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--linen-soft);
  font-size: 0.65rem;
  text-decoration: none;
  opacity: 0.85;
}
.hero.small { min-height: 72vh; }

/* ---------- sections ---------- */
section { padding: 5.5rem 1.5rem; }
.wrap { max-width: 1060px; margin: 0 auto; }
.narrow { max-width: 640px; margin: 0 auto; }

.kicker {
  font-family: 'Sorts Mill Goudy', serif;
  font-size: 0.68rem;
  letter-spacing: 0.45em;
  text-indent: 0.45em;
  text-transform: uppercase;
  color: var(--brass);
  text-align: center;
  margin-bottom: 1.3rem;
}
h2 {
  font-family: 'Sorts Mill Goudy', serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2rem;
}
.rule {
  width: 150px;
  margin: 2.2rem auto;
  display: flex; align-items: center; gap: 10px;
}
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--brass); opacity: 0.8; }
.rule span { width: 5px; height: 5px; background: var(--brass); transform: rotate(45deg); }

.prose { text-align: center; color: var(--linen); }
.prose p + p { margin-top: 1.2rem; }
.prose .em { font-style: italic; color: var(--linen-soft); }

/* alternating band */
.band { background: var(--olive-deep); }

/* ---------- property cards (home) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2.4rem;
  margin-top: 3rem;
}
.card { text-decoration: none; color: var(--linen); display: block; }
.card .ph {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  outline: 1px solid rgba(233,226,208,0.08);
  outline-offset: 5px;
}
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s ease; }
.card:hover .ph img { transform: scale(1.045); }
.card .sleeps {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--brass);
  text-align: center;
  margin-top: 1.6rem;
}
.card h3 {
  font-family: 'Sorts Mill Goudy', serif;
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0.5rem;
}
.card .loc {
  font-style: italic;
  text-align: center;
  color: var(--linen-soft);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}
.card .blurb { text-align: center; font-size: 0.98rem; margin-top: 0.8rem; color: var(--linen); opacity: 0.9; }
.card .more {
  display: block;
  text-align: center;
  margin-top: 1.1rem;
  font-family: 'Sorts Mill Goudy', serif;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Sorts Mill Goudy', serif;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--linen);
  border: 1px solid var(--linen);
  padding: 1rem 2.4rem;
  transition: background 0.35s ease, color 0.35s ease;
}
.btn:hover { background: var(--linen); color: var(--olive-deep); }
.btn.brass { border-color: var(--brass); color: var(--brass); }
.btn.brass:hover { background: var(--brass); color: var(--ink); }
.center { text-align: center; }

/* ---------- split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.4rem;
  align-items: center;
}
.split .ph {
  border: 1px solid var(--line);
  outline: 1px solid rgba(233,226,208,0.08);
  outline-offset: 5px;
  overflow: hidden;
}
.split .ph img { width: 100%; height: 100%; object-fit: cover; }
.split .txt h2, .split .txt .kicker { text-align: left; text-indent: 0; }
.split .txt .kicker { margin-bottom: 0.9rem; }
.split .txt p + p { margin-top: 1.1rem; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2.6rem;
}
.gallery .g {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery .g.wide { grid-column: span 2; aspect-ratio: auto; position: relative; }
.gallery .g.wide img { position: absolute; inset: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s ease; }
.gallery .g:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .g.wide { grid-column: span 1; aspect-ratio: 1 / 1; }
  .gallery .g.wide img { position: static; }
}

/* ---------- facts strip ---------- */
.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 4rem;
  margin-top: 2.8rem;
  text-align: center;
}
.facts .f .n {
  font-family: 'Sorts Mill Goudy', serif;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  color: var(--linen);
}
.facts .f .l {
  font-family: 'Sorts Mill Goudy', serif;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 0.4rem;
}

/* ---------- quote ---------- */
.quote {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.quote p {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.7;
  color: var(--linen-soft);
}
.quote cite {
  display: block;
  margin-top: 1.4rem;
  font-family: 'Sorts Mill Goudy', serif;
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ---------- notice ---------- */
.notice {
  font-style: italic;
  color: var(--linen-soft);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 2.4rem;
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 4rem 1.5rem 2.6rem;
  text-align: center;
  background: var(--olive-deep);
}
footer .fw {
  font-family: 'Sorts Mill Goudy', serif;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
footer .ft { font-style: italic; color: var(--linen-soft); font-size: 0.95rem; }
footer .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  margin: 1.8rem 0 2.2rem;
}
footer .links a {
  font-family: 'Sorts Mill Goudy', serif;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--linen-soft);
  text-decoration: none;
}
footer .links a:hover { color: var(--brass); }
footer .fine {
  font-family: 'Sorts Mill Goudy', serif;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--linen-soft);
  opacity: 0.65;
}

/* ---------- notebook / journal ---------- */
.journal { display: flex; flex-direction: column; gap: 4.5rem; margin-top: 3.4rem; }
.entry {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.6rem;
  align-items: center;
}
.entry:nth-child(even) .ph { order: 2; }
.entry .ph { overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.entry .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s ease; }
.entry:hover .ph img { transform: scale(1.04); }
.entry .date {
  font-family: 'Sorts Mill Goudy', serif;
  font-size: 0.66rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.9rem;
}
.entry h3 {
  font-family: 'Sorts Mill Goudy', serif;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.entry p { line-height: 1.85; color: var(--linen-soft); }
.entry p + p { margin-top: 1rem; }
@media (max-width: 820px) {
  .entry { grid-template-columns: 1fr; gap: 1.4rem; }
  .entry:nth-child(even) .ph { order: 0; }
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 700px) {
  .topbar nav { gap: 1rem; }
  .topbar nav a.hide-m { display: none; }
  section { padding: 4rem 1.2rem; }
}
