/* ============================================================
   INNER PAGE STYLES · Whiskey Mansion Ranch
   ============================================================ */

/* PAGE HEADER */
.page-head {
  position: relative; min-height: 64vh; padding-top: 140px;
  background: var(--ink); color: var(--parchment);
  display: flex; align-items: flex-end; padding-bottom: 80px; overflow: hidden;
}
.page-head__bg { position: absolute; inset: 0; z-index: 0; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-head__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,13,9,.5) 0%, rgba(16,13,9,.85) 100%);
}
.page-head__inner { position: relative; z-index: 2; }
.page-head .mono { color: var(--amber); margin-bottom: 22px; display: inline-flex; align-items: center; gap: 14px; }
.page-head .mono .line { width: 32px; height: 1px; background: var(--amber); opacity: .6; }
.page-head h1 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "SOFT" 100, "opsz" 144, "wght" 380;
  font-size: clamp(48px, 8vw, 112px); line-height: 1; letter-spacing: -0.02em;
  max-width: 16ch; margin-bottom: 28px;
}
.page-head h1 em { font-style: italic; color: var(--amber); }
.page-head p { color: rgba(245,239,226,.78); font-size: 18px; line-height: 1.55; max-width: 56ch; }

/* === ESTATE / RANCH PAGE === */
.space {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: clamp(60px, 8vw, 110px) 0;
  border-bottom: 1px solid rgba(16,13,9,.08);
}
.space:nth-child(even) .space__photo { order: 2; }
.space__photo { aspect-ratio: 5/6; overflow: hidden; border-radius: 4px; background: var(--ink-line); }
.space__photo img { width: 100%; height: 100%; object-fit: cover; }
.space__copy .mono { color: var(--wheat-deep); display: block; margin-bottom: 18px; }
.space__copy h2 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "SOFT" 100, "opsz" 144, "wght" 380;
  font-size: clamp(34px, 4vw, 56px); line-height: 1.05; margin-bottom: 22px;
  letter-spacing: -0.015em;
}
.space__copy h2 em { font-style: italic; color: var(--amber-deep); }
.space__copy p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 16px; max-width: 50ch; }
.space__specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px;
  padding-top: 24px; border-top: 1px dashed rgba(16,13,9,.18); margin-top: 24px;
}
.space__specs li { list-style: none; font-size: 14px; color: var(--ink-soft); }
.space__specs li span { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }

/* === GALLERY PAGE === */
.gal-filter { display: flex; gap: 12px; flex-wrap: wrap; padding: 32px 0 56px; justify-content: center; }
.gal-filter button {
  background: transparent; border: 1px solid rgba(16,13,9,.2); color: var(--ink);
  padding: 10px 18px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: all .25s;
}
.gal-filter button:hover, .gal-filter button.is-active { background: var(--ink); color: var(--parchment); border-color: var(--ink); }
.masonry {
  column-count: 3; column-gap: 14px;
  padding-bottom: clamp(80px, 10vw, 140px);
}
.masonry__item {
  break-inside: avoid;
  margin-bottom: 14px; border-radius: 4px; overflow: hidden;
  position: relative; background: var(--ink-line);
}
.masonry__item img { width: 100%; height: auto; display: block; transition: transform 1s ease; }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__item .mono {
  position: absolute; left: 12px; bottom: 12px; color: var(--parchment);
  background: rgba(16,13,9,.6); padding: 5px 10px; border-radius: 2px;
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transition: opacity .3s; backdrop-filter: blur(6px);
}
.masonry__item:hover .mono { opacity: 1; }
@media (max-width: 900px) { .masonry { column-count: 2; } }
@media (max-width: 540px) { .masonry { column-count: 1; } }

/* === EXPERIENCE PAGE === */
.timeline__stepwrap {
  display: grid; grid-template-columns: 200px 1fr; gap: clamp(30px, 4vw, 60px);
  padding: 36px 0; border-bottom: 1px dashed rgba(16,13,9,.18);
}
.timeline__time .mono { color: var(--wheat-deep); display: block; margin-bottom: 6px; }
.timeline__time .hour {
  font-family: 'Fraunces', serif; font-style: italic;
  font-variation-settings: "SOFT" 100;
  font-size: clamp(32px, 4vw, 48px); line-height: 1; color: var(--amber-deep);
}
.timeline__detail h3 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "SOFT" 100, "opsz" 80, "wght" 380;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; margin-bottom: 12px;
}
.timeline__detail p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 52ch; }

.included {
  background: var(--ink); color: var(--parchment);
  padding: clamp(80px, 10vw, 140px) 0;
}
.included__head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.included__head .mono { color: var(--amber); }
.included__head h2 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "SOFT" 100, "opsz" 144, "wght" 380;
  font-size: clamp(34px, 4.5vw, 56px); line-height: 1.05;
  margin: 18px 0 16px;
}
.included__head h2 em { font-style: italic; color: var(--amber); }
.included__head p { color: rgba(245,239,226,.7); font-size: 16px; }
.included__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); }
.included__cell { background: var(--ink); padding: 36px 28px; }
.included__cell .icon { width: 36px; height: 36px; color: var(--amber); margin-bottom: 18px; opacity: .9; }
.included__cell h4 { font-family: 'Fraunces', serif; font-style: italic; font-variation-settings: "SOFT" 100; font-size: 22px; line-height: 1; margin-bottom: 10px; color: var(--parchment); }
.included__cell p { font-size: 13px; line-height: 1.55; color: rgba(245,239,226,.65); }
@media (max-width: 900px) { .included__grid { grid-template-columns: 1fr 1fr; } .timeline__stepwrap { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 540px) { .included__grid { grid-template-columns: 1fr; } }

/* === INVESTMENT PAGE === */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; padding: clamp(60px, 8vw, 100px) 0; }
.tier {
  background: var(--paper); border: 1px solid rgba(16,13,9,.08);
  border-radius: 6px; padding: clamp(36px, 4vw, 52px);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--amber); }
.tier--mid { background: var(--ink); color: var(--parchment); border-color: var(--ink); position: relative; }
.tier--mid::before {
  content: 'Most chosen'; position: absolute; top: -12px; left: 32px;
  background: var(--amber); color: var(--ink);
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 2px;
}
.tier .mono { color: var(--wheat-deep); display: block; }
.tier--mid .mono { color: var(--amber); }
.tier h3 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "SOFT" 100, "opsz" 80, "wght" 380;
  font-size: clamp(28px, 3vw, 40px); line-height: 1.05; margin-bottom: 4px;
}
.tier h3 em { font-style: italic; }
.tier .price { font-family: 'Fraunces', serif; font-style: italic; font-variation-settings: "SOFT" 100; font-size: clamp(22px, 2vw, 28px); color: var(--amber-deep); }
.tier--mid .price { color: var(--amber); }
.tier p.lead { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.tier--mid p.lead { color: rgba(245,239,226,.75); }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding-top: 22px; margin-top: 4px; border-top: 1px dashed rgba(16,13,9,.18); }
.tier--mid ul { border-color: rgba(245,239,226,.16); }
.tier li { display: flex; gap: 12px; font-size: 14px; color: var(--ink-soft); }
.tier--mid li { color: rgba(245,239,226,.85); }
.tier li::before { content: '●'; color: var(--amber-deep); font-size: 7px; padding-top: 8px; }
.tier--mid li::before { color: var(--amber); }
.tier .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }

.faq-strip { background: var(--parchment); padding: clamp(60px, 8vw, 120px) 0; }
.faq-strip__head { text-align: center; max-width: 580px; margin: 0 auto 56px; }
.faq-strip__head .mono { color: var(--wheat-deep); }
.faq-strip__head h2 { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100, "opsz" 144, "wght" 380; font-size: clamp(30px, 4vw, 48px); margin-top: 16px; }
.faq-strip__head h2 em { font-style: italic; color: var(--amber-deep); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq {
  border-bottom: 1px solid rgba(16,13,9,.12);
  padding: 26px 0; cursor: pointer; transition: padding .25s;
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100, "opsz" 80, "wght" 380;
  font-size: clamp(18px, 1.8vw, 24px); line-height: 1.3; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: 'JetBrains Mono', monospace; color: var(--amber-deep); font-size: 22px; transition: transform .3s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin-top: 14px; max-width: 64ch; }

/* === VISIT / CONTACT PAGE === */
.visit-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(60px, 8vw, 100px) 0;
}
.visit-form { background: var(--paper); padding: clamp(36px, 4vw, 56px); border-radius: 4px; border: 1px solid rgba(16,13,9,.08); }
.visit-form h2 { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100, "opsz" 144, "wght" 380; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; margin-bottom: 8px; }
.visit-form h2 em { font-style: italic; color: var(--amber-deep); }
.visit-form .mono { color: var(--wheat-deep); display: block; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--parchment); border: 1px solid rgba(16,13,9,.18);
  border-radius: 3px; padding: 14px 16px; font-family: 'Inter Tight', sans-serif;
  font-size: 15px; color: var(--ink); width: 100%; transition: border-color .25s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--amber-deep); }
.form-field textarea { min-height: 140px; resize: vertical; font-family: inherit; }
.visit-form button { background: var(--ink); color: var(--parchment); border: 0; padding: 16px 32px; border-radius: 999px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .25s; margin-top: 8px; }
.visit-form button:hover { background: var(--amber-deep); }

.visit-side h3 { font-family: 'Fraunces', serif; font-style: italic; font-variation-settings: "SOFT" 100; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; margin-bottom: 20px; color: var(--ink); }
.visit-side h3 em { color: var(--amber-deep); }
.visit-side p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 24px; max-width: 44ch; }
.visit-card {
  background: var(--paper); border: 1px solid rgba(16,13,9,.08);
  border-radius: 4px; padding: 24px 26px; margin-bottom: 16px;
  display: flex; gap: 16px; align-items: flex-start;
}
.visit-card .icon { width: 22px; height: 22px; color: var(--wheat-deep); flex-shrink: 0; margin-top: 2px; }
.visit-card .mono { display: block; color: var(--ink-mute); margin-bottom: 4px; }
.visit-card strong { font-weight: 500; font-size: 16px; color: var(--ink); display: block; margin-bottom: 4px; }
.visit-card span { font-size: 14px; color: var(--ink-soft); }
.visit-map { aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; margin-top: 18px; background: var(--ink-line); }
.visit-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(40%) contrast(.95); }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* === 404 === */
.notfound { min-height: 100vh; background: var(--ink); color: var(--parchment); display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.notfound .mono { color: var(--amber); margin-bottom: 24px; display: inline-block; }
.notfound h1 { font-family: 'Fraunces', serif; font-style: italic; font-variation-settings: "SOFT" 100, "opsz" 144; font-size: clamp(56px, 9vw, 120px); line-height: 1; margin-bottom: 20px; color: var(--amber); }
.notfound p { color: rgba(245,239,226,.7); font-size: 18px; max-width: 50ch; margin: 0 auto 32px; }
