/* Tyrol Crest Estates — alpine lodge editorial */
/* handwritten, no framework, no variables — just hex and habit */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #F5F0E8;
  color: #1E1E1E;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  padding-top: 78px; /* room for fixed header */
}

/* ============ header ============ */
.crest-head {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #F5F0E8;
  border-bottom: 1px solid #D4C5A9;
  z-index: 900;
}

.head-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-style: italic;
  font-size: 26px;
  color: #1E1E1E !important;
  text-decoration: none;
  letter-spacing: 0.4px;
}

.crest-nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13.5px;
  color: #1E1E1E;
  text-decoration: none;
  margin-left: 18px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.crest-nav a:hover {
  color: #6B1C28;
  border-bottom: 1px solid #6B1C28;
}

.crest-nav a.active-page {
  color: #8B2635;
  border-bottom: 1px solid #8B2635;
}

.nav-toggle {
  display: none;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: #8B2635 !important;
  text-decoration: none;
}

/* ============ layout ============ */
.alpine-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 34px 24px 60px 24px;
}

.narrow-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.page-head {
  margin-bottom: 26px;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 1.15;
  color: #1E1E1E;
  margin-bottom: 10px;
}

.page-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: #5A5A5A;
}

/* ============ alpine map ============ */
.map-holder {
  background: #FFFFFF;
  border: 1px solid #D4C5A9;
  padding: 18px;
  margin: 8px 0 34px 0;
  text-align: center;
}

.map-holder svg {
  max-width: 100%;
  height: auto;
}

.chart-holder {
  background: #FFFFFF;
  border: 1px solid #D4C5A9;
  padding: 18px;
  margin: 10px 0 34px 0;
  text-align: center;
  overflow-x: auto;
  clear: both; /* never squeeze beside the floated photo */
}

.chart-holder svg {
  max-width: 100%;
  height: auto;
}

/* ============ weather boxes ============ */
.weather-row {
  display: flex;
  gap: 22px;
  margin: 26px 0 34px 0;
  flex-wrap: wrap;
}

.wx-box {
  flex: 1;
  min-width: 260px;
  overflow: hidden; /* sit tidy beside the floated photo */
  background: #FFFFFF;
  border: 1px solid #D4C5A9;
  border-top: 3px solid #8B2635;
  padding: 16px 20px;
}

.wx-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  color: #1E1E1E;
  margin-bottom: 6px;
}

.wx-data {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: #5A5A5A;
  line-height: 1.6;
}

.wx-data strong {
  color: #1E1E1E;
  font-weight: 500;
}

/* ============ photo lead ============ */
.photo-lead {
  width: 60%;
  float: left;
  margin: 6px 26px 18px 0;
  border: 1px solid #D4C5A9;
  background: #FFFFFF;
  padding: 8px;
}

.photo-lead img {
  width: 100%;
  display: block;
}

.photo-cap {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: #8B7D6B;
  padding: 6px 2px 0 2px;
}

/* ============ essay text ============ */
.essay {
  max-width: 860px;
}

.essay h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 30px;
  color: #1E1E1E;
  margin: 40px 0 14px 0;
  line-height: 1.2;
}

.essay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 23px;
  color: #8B2635;
  margin: 30px 0 10px 0;
}

.essay p {
  margin-bottom: 16px;
  color: #1E1E1E;
}

.essay ul, .essay ol {
  margin: 0 0 16px 26px;
}

.essay li {
  margin-bottom: 7px;
}

.essay strong {
  font-weight: 500;
}

/* ============ cards & tables ============ */
.estate-card {
  background: #FFFFFF;
  border: 1px solid #D4C5A9;
  padding: 22px 26px;
  margin-bottom: 22px;
}

.estate-card h3 {
  margin-top: 0;
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px 0;
  background: #FFFFFF;
  font-size: 14px;
}

.fact-table th {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 16px;
  text-align: left;
  color: #1E1E1E;
  background: #F5F0E8;
  border: 1px solid #D4C5A9;
  padding: 9px 12px;
}

.fact-table td {
  border: 1px solid #D4C5A9;
  padding: 8px 12px;
  color: #1E1E1E;
}

.fact-table tr:nth-child(even) td {
  background: #FBF8F2;
}

/* ============ text links (no buttons, ever) ============ */
.lodge-btn, .cta-link {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 19px;
  color: #8B2635;
  text-decoration: none;
  border-bottom: 1px solid #D4C5A9;
  padding-bottom: 1px;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.lodge-btn:hover, .cta-link:hover {
  color: #6B1C28 !important;
  border-bottom: 1px solid #6B1C28;
}

/* ============ disclaimer ============ */
.legal-note {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 12px;
  color: #8B7D6B;
  margin-top: 44px;
  padding-top: 14px;
  border-top: 1px solid #D4C5A9;
  max-width: 860px;
}

/* ============ contact form ============ */
.contact-form {
  background: #FFFFFF;
  border: 1px solid #D4C5A9;
  padding: 28px 30px;
  max-width: 640px;
}

.contact-form label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #1E1E1E;
  margin: 16px 0 5px 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1E1E1E;
  background: #F5F0E8;
  border: 1px solid #D4C5A9;
  padding: 9px 11px;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 1px solid #8B2635;
}

#formNote {
  font-size: 12.5px;
  color: #5A5A5A;
  margin-top: 10px;
}

/* ============ footer ============ */
.crest-foot {
  background: #1E1E1E;
  border-top: 3px solid #8B2635;
  color: #C8B89A;
  margin-top: 50px;
}

.foot-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 24px 26px 24px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.foot-col {
  flex: 1;
  min-width: 200px;
}

.foot-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-style: italic;
  font-size: 19px;
  color: #C8B89A;
  margin-bottom: 12px;
}

.foot-col a {
  display: block;
  font-size: 13px;
  color: #C8B89A;
  text-decoration: none;
  margin-bottom: 6px;
}

.foot-col a:hover {
  color: #F5F0E8;
  text-decoration: underline;
}

.foot-col p {
  font-size: 13px;
  line-height: 1.7;
  color: #C8B89A;
}

.foot-base {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 26px 24px;
  font-size: 12px;
  color: #8B7D6B;
  border-top: 1px solid #3a3a3a;
  padding-top: 16px;
}

/* ============ cookie bar ============ */
#cookieBar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1E1E1E;
  border-top: 2px solid #8B2635;
  padding: 12px 24px;
  display: none;
  z-index: 950;
  text-align: center;
}

#cookieBar p {
  display: inline;
  font-size: 13px;
  color: #C8B89A;
  margin-right: 18px;
}

.ck-link {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: #C8B89A;
  margin: 0 10px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #5A5A5A;
}

.ck-link:hover {
  color: #F5F0E8;
}

/* misc helper classes used here and there */
.small-caps-note {
  font-size: 12px;
  color: #5A5A5A;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* ============ mobile ============ */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .crest-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #F5F0E8;
    border-bottom: 1px solid #D4C5A9;
    padding: 10px 24px 18px 24px;
  }

  .crest-nav.nav-open {
    display: block !important;
  }

  .crest-nav a {
    display: block;
    margin: 10px 0 0 0;
    font-size: 15px;
  }

  .page-title {
    font-size: 32px;
  }

  .photo-lead {
    width: 100%;
    float: none;
    margin: 0 0 18px 0;
  }

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