/* ============================================
   TNH Co — Template D (Luxury Experience)
   Palette: warm off-white, forest green accent
   Fonts: Cormorant Garamond (headings) + Inter (body)
   ============================================ */

:root {
  --bg:           #f5f2ed;
  --bg-card:      #ffffff;
  --bg-dark:      #1a1a1a;
  --text:         #1a1a1a;
  --text-muted:   #7a7468;
  --text-on-dark: #e8e4de;
  --accent:       #3d5a4a;
  --accent-hover: #2e4639;
  --border:       rgba(0, 0, 0, 0.06);
  --border-dark:  rgba(255, 255, 255, 0.15);
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'Inter', system-ui, sans-serif;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  border-radius: 4px;
  font-size: 14px;
}
.skip-link:focus { top: 16px; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(48px, 8vw, 96px); font-weight: 300; letter-spacing: -0.01em; }
h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 300; }
h3 { font-size: clamp(22px, 3vw, 28px); }
h4 { font-size: 20px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section--white {
  background: var(--bg-card);
}

/* ---- Navigation ---- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-nav.scrolled {
  background: var(--bg);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.nav-logo a { color: var(--text); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color 0.2s;
}

.nav-menu a:hover { color: var(--accent); }

/* ---- Nav Dropdown ---- */
.nav-dropdown {
  position: relative;
}

.nav-arrow {
  font-size: 10px;
  margin-left: 2px;
  opacity: 0.5;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  margin-top: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu li {
  padding: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(0,0,0,0.03);
}

.nav-cta {
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--text);
  border-radius: 0;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--text);
  color: var(--bg) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- Ghost Button ---- */
.btn-ghost {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn-ghost:hover {
  background: var(--text);
  color: var(--bg);
}

.btn-ghost--light {
  border-color: var(--text-on-dark);
  color: var(--text-on-dark);
}

.btn-ghost--light:hover {
  background: var(--text-on-dark);
  color: var(--bg-dark);
}

.btn-ghost--accent {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost--accent:hover {
  background: var(--accent);
  color: #fff;
}

/* ---- Hero ---- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero--image {
  background-size: cover;
  background-position: center;
}

.hero--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero--image h1,
.hero--image .hero-sub {
  color: #fff;
}

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 560px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero--text {
  min-height: 70vh;
  align-items: center;
  padding: 140px 0 100px;
}

.hero--text .hero-content {
  text-align: center;
}

.hero--text .hero-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Cards Grid ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Image Card (Location / Experience) ---- */
.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-dark);
  display: block;
}

.image-card__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.image-card:hover .image-card__img {
  transform: scale(1.03);
}

.image-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.55) 100%);
  transition: opacity 0.4s var(--ease);
}

.image-card:hover .image-card__overlay {
  background: linear-gradient(transparent 20%, rgba(0,0,0,0.6) 100%);
}

.image-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  color: #fff;
}

.image-card__title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 4px;
}

.image-card__sub {
  font-size: 14px;
  opacity: 0.8;
}

/* ---- Content Card (Story / Event / Rental) ---- */
.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.content-card__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.content-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content-card__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
}

.content-card__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.3;
}

.content-card__desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.content-card__meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.content-card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  transition: opacity 0.2s;
}

.content-card__link:hover { opacity: 0.7; }
.content-card__link::after { content: ' \2192'; }

/* ---- Star Rating ---- */
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #d4a853;
  font-size: 14px;
}

.star-rating__value {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 6px;
}

/* ---- Two Column ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col--wide-left { grid-template-columns: 3fr 2fr; }
.two-col--wide-right { grid-template-columns: 2fr 3fr; }

.two-col__img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  border-radius: 4px;
}

/* ---- Quote Section ---- */
.quote-section {
  text-align: center;
  padding: 120px 24px;
}

.quote-section blockquote {
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 300;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto 24px;
}

.quote-section cite {
  font-family: var(--sans);
  font-size: 14px;
  font-style: normal;
  opacity: 0.6;
}

/* ---- Article ---- */
.article-header {
  padding: 160px 0 60px;
  text-align: center;
}

.article-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 16px;
}

.article-meta {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.article-hero-img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 48px;
}

.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.article-body p {
  margin-bottom: 1.6em;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 300;
}

.article-body h2 {
  font-size: 32px;
  margin: 48px 0 16px;
}

.article-body h3 {
  font-size: 24px;
  margin: 36px 0 12px;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-top: 12px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 16px auto 0;
  font-weight: 300;
}

/* ---- Page Header (section list pages) ---- */
.page-header {
  padding: 160px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.page-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 16px auto 0;
  font-weight: 300;
}

/* ---- Pricing Row ---- */
.pricing-row {
  display: flex;
  gap: 16px;
  margin: 24px 0;
}

.pricing-item {
  flex: 1;
  text-align: center;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.pricing-item__amount {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  display: block;
}

.pricing-item__period {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- Pillars (About) ---- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pillar {
  text-align: center;
  padding: 40px 24px;
}

.pillar h3 {
  margin-bottom: 16px;
}

.pillar p {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* ---- Form ---- */
.form {
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg-card);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 80px 0 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(232, 228, 222, 0.5);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-on-dark);
  transition: opacity 0.2s;
}

.footer-col a:hover { opacity: 0.6; }

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(232, 228, 222, 0.4);
}

/* ---- Full-width Image ---- */
.full-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* ---- Fade-up Animation ---- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }

/* ---- Badge ---- */
.badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
}

.badge--outline {
  background: transparent;
  border: 1px solid currentColor;
  color: var(--accent);
}

/* ---- Condition Dot ---- */
.condition-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.condition-dot--excellent { background: #3d5a4a; }
.condition-dot--good { background: #d4a853; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col--wide-left, .two-col--wide-right { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { gap: 40px; }
  .pillars { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 60px 0; }
}

@media (max-width: 640px) {
  .card-grid, .card-grid--2, .card-grid--3, .card-grid--4 {
    grid-template-columns: 1fr;
  }

  .image-card__img { height: 300px; }
  .full-image { height: 300px; }

  /* Mobile nav */
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 72px 32px 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-toggle { display: block; z-index: 101; }

  .nav-menu > li {
    border-bottom: none;
  }

  .nav-menu > li > a {
    display: block;
    padding: 10px 0;
    font-size: 16px;
    text-align: left;
  }

  .nav-dropdown > a {
    color: var(--text-muted);
    font-size: 11px !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: 4px !important;
    margin-top: 8px;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: none;
    background: transparent;
    margin-top: 0;
    padding: 0 0 8px 0;
  }

  .nav-dropdown-menu a {
    padding: 10px 0;
    font-size: 16px;
    text-align: left;
  }

  .nav-dropdown-menu a:hover {
    background: transparent;
  }

  .nav-arrow { display: none; }

  .nav-cta {
    margin-top: 24px;
    text-align: center;
  }

  .nav-menu > li:last-child {
    border-bottom: none;
  }

  .pricing-row { flex-direction: column; }

  .footer-links { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

body.menu-open { overflow: hidden; }
