:root{
  --bg:#0F3B2B;
  --cream: rgba(247, 238, 220, .96);
  --creamSoft: rgba(247, 238, 220, .78);
  --line: rgba(247, 238, 220, .22);
  --gold: rgba(216, 185, 130, .96);
}

*{ box-sizing:border-box; }
html, body { min-height: 100%; }
html { background: var(--bg); }
body{
  margin:0;
  background: var(--bg);
  color: var(--cream);
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.92; }

/* HOME HERO */
.hero{
  position: relative;
  min-height: 100svh;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding: clamp(16px, 3.2vw, 34px);
  padding-top: calc(clamp(16px, 3.2vw, 34px) + env(safe-area-inset-top));
  padding-bottom: calc(clamp(16px, 3.2vw, 34px) + env(safe-area-inset-bottom));
}

.hero-bg{
  position:absolute;
  inset:0;
  overflow:hidden;
  transform: translateZ(0);
}

.hero-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.hero-scrim{
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.25) 0%,
    rgba(0,0,0,.18) 35%,
    rgba(6,22,15,.80) 100%
  );
}

.hero-top, .hero-center, .hero-bottom{ position:relative; z-index:1; }

.kicker{
  margin:0;
  text-align:center;
  text-transform: uppercase;
  letter-spacing: .34em;
  font-weight: 200;
  color: var(--creamSoft);
  font-size: clamp(12px, 2.3vw, 15px);
}

.hero-center{ text-align:center; padding: 10px 0; }

.title{
  margin: 10px 0 8px;
  font-family: "IM Fell English SC", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: .98;
  color: var(--cream);
  font-size: clamp(40px, 7.2vw, 84px);
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.subtitle{
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--creamSoft);
  font-size: clamp(18px, 3.2vw, 28px);
}

/* HERO NAV */
.nav{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--cream);
  font-weight: 300;
  letter-spacing: .02em;
  min-width: 110px;
  transition: background .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:hover{
  background: rgba(0,0,0,.26);
  border-color: rgba(247,238,220,.30);
}
.btn:active{
  background: rgba(6,22,15,.88);
  transform: translateY(1px);
  border-color: rgba(247,238,220,.34);
}

@media (max-width: 480px){
  .hero{ padding-left: 16px; padding-right: 16px; }
  .kicker{ letter-spacing: .26em; }
  .nav{ gap: 10px; }
  .btn{ min-width: 46%; padding: 12px 14px; }
}
@media (max-height: 740px){
  .title{ font-size: clamp(34px, 6.6vw, 68px); }
}

/* TOPBAR + CONTENT PAGES */
.topbar{
  position: sticky;
  top:0;
  z-index:10;
  background: rgba(6,22,15,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(247,238,220,.10);
  padding: 14px 18px;
}
.brand{
  font-weight: 200;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--creamSoft);
  font-size: 12px;
  text-decoration: none;
}

.brand:hover{
  opacity: .9;
}

.topnav .nav{ justify-content:flex-start; }
.topnav .btn{ min-width: auto; padding: 10px 14px; }

.content{
  max-width: 980px;
  margin: 0 auto;
  padding: 26px 18px 60px;
}
.page-title{
  margin: 10px 0 18px;
  font-family: "IM Fell English SC", Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 54px);
}

.card{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(247,238,220,.10);
  border-radius: 18px;
  padding: 18px;
}
.muted{ color: rgba(247,238,220,.72); }

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 720px){
  .grid-2{ grid-template-columns: 1fr; }
}

/* ITINERARY */
.itinerary{ display:flex; flex-direction:column; gap: 18px; }
.day{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border: 1px solid rgba(247,238,220,.10);
  border-radius: 18px;
  padding: 18px;
}
.day h2{
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  color: var(--gold);
  font-size: clamp(22px, 3vw, 30px);
}
.schedule{ display:flex; flex-direction:column; gap: 10px; }
.row{
  display:grid;
  grid-template-columns: 170px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(247,238,220,.08);
}
.time{ font-weight: 300; color: rgba(247,238,220,.80); }
.event{
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: rgba(247,238,220,.94);
}
@media (max-width: 560px){
  .row{ grid-template-columns: 1fr; }
  .event{ font-size: 19px; }
}

/* DYNASTY – CENTERED LIST (MATCHED FONTS) */

.dynasty .page-title{
  text-align: center;
  margin: 14px 0 clamp(18px, 4vw, 28px);
}

.dynasty-panel{
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 3.2vw, 34px);
  border-radius: 22px;
  background: rgba(0,0,0,.10);
  border: 1px solid rgba(247,238,220,.12);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.dynasty-list{
  display: grid;
  gap: clamp(16px, 2.6vw, 22px);
}

.dynasty-item{
  text-align: center;
  display: grid;
  gap: 6px;
}

.dynasty-person,
.dynasty-years{
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(22px, 3.8vw, 30px);
  line-height: 1.05;
}

.dynasty-person{
  color: rgba(247,238,220,.96);
}

.dynasty-years{
  color: rgba(216,185,130,.96);
  letter-spacing: .10em;
  font-weight: 400;
}

.dynasty-divider{
  height: 1px;
  width: min(520px, 100%);
  margin: 0 auto;
  background: rgba(247,238,220,.12);
}

.dynasty-footnote{
  margin: 16px 0 0;
  text-align: center;
  color: rgba(247,238,220,.70);
  font-size: 14px;
}
/* Centered two-column list that feels like itinerary typography */
.dynasty-table{
  width: min(820px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(12px, 2.2vw, 18px);
  padding: clamp(10px, 2vw, 18px);
  border-radius: 18px;
  background: rgba(0,0,0,.10);
  border: 1px solid rgba(247,238,220,.12);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.dynasty-row{
  display: grid;
  grid-template-columns: 110px 1fr;
  column-gap: 72px;
  align-items: center;
}

.dynasty-year{
  text-align: right;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: rgba(247,238,220,.85);
  letter-spacing: .12em;
  font-size: clamp(22px, 4.2vw, 30px);
  line-height: 1.05;
}

.dynasty-name{
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,.96);
  font-size: clamp(22px, 4.2vw, 30px);
  line-height: 1.05;
}

.dynasty-note{
  opacity: .85;
}

.dynasty-footnote{
  margin: 18px auto 0;
  width: min(820px, 100%);
  text-align: center;
  font-size: 14px;
  color: rgba(247,238,220,.65);
}

/* WALL */
.wall{ display:flex; flex-direction:column; gap: 22px; }
.champ{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(247,238,220,.10);
  border-radius: 18px;
  padding: 16px;
}
.champ h2{
  margin: 0 0 12px;
  font-family: "IM Fell English SC", Georgia, serif;
  font-weight: 400;
  color: var(--gold);
}
.champ-img{
  width:100%;
  height:auto;
  border-radius: 14px;
  border: 1px solid rgba(247,238,220,.12);
}

.location-image {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.location-image img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 6px;
}

/* iPhone portrait: keep cover, adjust the crop window */
@media (max-width: 520px) {
  .hero-img{
    object-fit: cover;
    object-position: 70% 55%;
  }
}

.location-grid .weather-block h2{
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 600;
}

/* remove widget’s default white box look */
.location-grid .weather-block .weatherwidget-io{
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}

/* LOCATION – unify headings and make weather widget visible */
.location-page .location-grid h2,
.location-page .location-grid h3{
  margin: 0 0 10px;
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  color: var(--cream);
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: 0;
}

/* keep the address line spacing looking like before */
.location-page .loc-head .muted{
  margin: 0;
}

/* weather block spacing */
.location-page .weather-block{
  min-width: 0;
}

/* weatherwidget.io often renders but iframe height collapses, force a height */
.location-page .weather-block .weatherwidget-io{
  display: block;
  width: 100%;
  min-height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}

.location-page .weather-block iframe{
  width: 100% !important;
  height: 140px !important;
  min-height: 140px !important;
  border: 0 !important;
  display: block !important;
}

/* LOCATION – make Firekeeper Resort, Weather, Arrival, Notes identical */
.location-page .location-grid h2,
.location-page .location-grid h3{
  margin: 0 0 10px;
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  color: var(--cream);
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: 0;
}

/* LOCATION – weatherwidget.io iframe height fix */
.location-page .weather-block .weatherwidget-io{
  display: block;
  width: 100%;
  min-height: 150px;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}

.location-page .weather-block iframe{
  width: 100% !important;
  height: 150px !important;
  min-height: 150px !important;
  border: 0 !important;
  display: block !important;
}

/* LOCATION – realtime weather text */
.location-page .weather-live-main{
  font-weight: 300;
  color: rgba(247,238,220,.94);
  font-size: 20px;
  line-height: 1.25;
}
.location-page .weather-live-sub{
  margin-top: 8px;
  font-weight: 300;
}

/* GOLF – captains + rules layout */
.captains-wrap{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.captain-card{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(247,238,220,.10);
  border-radius: 18px;
  padding: 14px;
}

.captain-photo{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 25%;
  border-radius: 14px;
  border: 1px solid rgba(247,238,220,.12);
  background: rgba(0,0,0,.18);
  display: block;
}

.captain-name{
  margin: 12px 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: rgba(247,238,220,.94);
}

.team-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(247,238,220,.84);
  line-height: 1.45;
}

@media (max-width: 820px){
  .captains-wrap{ grid-template-columns: 1fr; }
  .captain-name{ font-size: 21px; }
}

/* ITINERARY – countdown (only when body has itinerary-page class) */
.itinerary-page .itinerary-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.itinerary-page .countdown-card{
  border: 1px solid rgba(247,238,220,.18);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(0,0,0,.10);
  min-width: 230px;
  text-align: right;
}

.itinerary-page .countdown-kicker{
  font-weight: 200;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--creamSoft);
  font-size: 11px;
  margin-bottom: 6px;
}

.itinerary-page .countdown-time{
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--cream);
  font-size: 18px;
  line-height: 1.1;
}

@media (max-width: 720px){
  .itinerary-page .itinerary-head{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .itinerary-page .countdown-card{
    text-align: left;
    min-width: 0;
    width: 100%;
  }
}

/* ITINERARY – header row with discreet countdown */
.itinerary-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 16px;
}

.itinerary-page .page-title{
  margin: 10px 0 18px;
}

.countdown-card{
  border: 1px solid rgba(247, 238, 220, .22);
  background: rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 190px;
  text-align: right;
}

.countdown-kicker{
  font-size: 12px;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: rgba(247, 238, 220, .78);
  font-weight: 300;
  margin-bottom: 6px;
}

.countdown-time{
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: rgba(247, 238, 220, .96);
  line-height: 1.15;
  white-space: nowrap;
}

@media (max-width: 720px){
  .itinerary-head{
    flex-direction: column;
    align-items: flex-start;
  }
  .countdown-card{
    width: 100%;
    text-align: left;
  }
  .countdown-time{
    white-space: normal;
  }
}
