/* ============================================================
   KY Resorts Management, LLC — Refreshed design system
   Bright morning on the lake · professional · inviting
   Brand tokens shared with K2 v6 & KCG v6 (pine/lake/sand/sun)
   Text-brand only — no logo image; CSS monogram block lockup.
   ============================================================ */

:root {
  /* — existing brand tokens (unchanged) — */
  --pine:        #2e5233;
  --pine-dark:   #223d26;
  --lake:        #1e5f74;
  --lake-dark:   #14495a;
  --sand:        #f4efe6;
  --sand-dark:   #e8e0d0;
  --charcoal:    #23303a;

  /* — brightening layer — */
  --sun:         #f2b84b;
  --sun-soft:    #fbe3b5;
  --sky:         #cfe3ec;
  --mist:        #eef4ef;
  --white:       #ffffff;
  --ivory:       #fbf8f1;

  /* — layout / effects — */
  --radius:      18px;
  --radius-sm:   12px;
  --shadow-sm:   0  4px 14px rgba(20, 40, 50, 0.06);
  --shadow:      0 12px 34px rgba(20, 40, 50, 0.10);
  --shadow-lg:   0 24px 60px rgba(20, 40, 50, 0.14);
  --maxw:        1200px;

  /* — type — */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-ui:      "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-ui);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--lake); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--lake-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--pine-dark);
}
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 0.6rem; }
h3 { font-size: 1.25rem; letter-spacing: -0.005em; }

.container { width: min(var(--maxw), 92%); margin: 0 auto; }
.section { padding: clamp(4.5rem, 8vw, 6.5rem) 0; }

/* ————— Skip link ————— */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--charcoal); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid rgba(20, 40, 50, 0.07);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0; gap: 1rem; position: relative;
}

/* ————— Brand lockup (text-brand — no logo img) ————— */
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand-block {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; flex: 0 0 52px;
  background: var(--pine);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.brand-mono {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.4rem;
  color: var(--sand);
  letter-spacing: 0.02em;
  transform: translateY(-1px); /* optical nudge */
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.06rem;
  letter-spacing: 0.005em;
  color: var(--pine-dark);
}
.brand-sub {
  font-size: 0.72rem; color: var(--lake);
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
}
.brand-loc {
  font-size: 0.62rem; color: #5a6a72;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  margin-top: 0.15rem;
}

.nav { display: flex; align-items: center; gap: 1.45rem; flex-wrap: wrap; }
.nav > a:not(.btn) {
  color: var(--charcoal);
  font-weight: 600; font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%;
  bottom: 0; height: 2px; background: var(--sun);
  transition: right .25s ease;
}
.nav > a:not(.btn):hover { color: var(--lake); }
.nav > a:not(.btn):hover::after { right: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-weight: 700; font-size: 0.98rem;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background .18s ease, color .18s ease, border-color .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--lake); color: #fff; }
.btn-primary:hover { background: var(--sun); color: var(--charcoal); border-color: var(--sun); }
.btn-outline { border: 2px solid var(--lake); color: var(--lake); background: transparent; }
.btn-outline:hover { background: var(--lake); color: #fff; border-color: var(--lake); }
.btn-sun { background: var(--sun); color: var(--charcoal); border-color: var(--sun); }
.btn-sun:hover { background: var(--sun-soft); color: var(--charcoal); border-color: var(--sun-soft); }
.btn-ghost { background: rgba(255,255,255,0.18); color: #fff; border-color: rgba(255,255,255,0.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.32); color: #fff; border-color: #fff; }
.btn-lg { padding: 0.95rem 1.85rem; font-size: 1.05rem; }

/* ============================================================
   EYEBROW + SECTION HEAD
   ============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.78rem; font-weight: 700; color: var(--lake);
  margin-bottom: 0.5rem;
}
.eyebrow-rule {
  display: inline-block; width: 28px; height: 3px;
  background: var(--sun); border-radius: 2px;
}
.eyebrow-light { color: var(--sun-soft); }
.eyebrow-light .eyebrow-rule { background: var(--sun); }

.section-head { max-width: 720px; margin-bottom: 2.4rem; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: #4a5a63;
  max-width: 58ch;
  margin-bottom: 0.85rem;
}
.section-head-center .lede { margin-left: auto; margin-right: auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: stretch;
  color: var(--charcoal);
  overflow: clip;
  padding: 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("assets/hero-aerial.jpg") center 32% / cover no-repeat;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg,
      rgba(251, 248, 241, 0.65) 0%,
      rgba(251, 248, 241, 0.30) 45%,
      rgba(251, 248, 241, 0.06) 75%,
      rgba(34, 61, 38, 0.18) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(3.5rem, 5vw, 4.5rem);
  gap: clamp(2.5rem, 5vw, 4rem);
}
.hero-card {
  background: rgba(251, 248, 241, 0.78);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 720px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  margin: 0.4rem 0 1.1rem;
  color: var(--pine-dark);
}
.hero-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: #3a4a52;
  max-width: 56ch;
}
.hero-cta {
  display: flex; gap: 0.9rem; flex-wrap: wrap;
  margin-top: 1.9rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  padding: 1.4rem 1.8rem;
  box-shadow: var(--shadow);
  max-width: 880px;
}
.hero-stats li { display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.hero-stats strong {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.9rem;
  color: var(--pine-dark);
  line-height: 1.05;
}
.hero-stats span {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 600;
  color: var(--lake);
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio { background: var(--ivory); }
.portfolio-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.portfolio-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem 1.7rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20,40,50,0.06);
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.portfolio-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(to right, var(--lake), var(--pine));
}
.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--sun);
}
.portfolio-card h3 { font-size: 1.06rem; color: var(--lake-dark); margin-bottom: 0.4rem; }
.portfolio-loc {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--lake); font-weight: 600; margin-bottom: 0.7rem;
}
.portfolio-desc { font-size: 0.93rem; color: #5a6a72; line-height: 1.6; margin-bottom: 1rem; }
.portfolio-link {
  font-weight: 700; font-size: 0.92rem; color: var(--lake);
  transition: color .15s ease;
}
.portfolio-link:hover { color: var(--sun-dark); }

/* ============================================================
   PROMISE
   ============================================================ */
.promise { background: var(--white); }
.promise-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.promise-card {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem 1.7rem;
  border: 1px solid rgba(20,40,50,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.promise-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.promise-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.85rem;
  color: var(--sun); letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}
.promise-card h3 { font-size: 1.06rem; color: var(--pine-dark); margin-bottom: 0.5rem; }
.promise-card p { font-size: 0.93rem; color: #5a6a72; line-height: 1.6; }

/* ============================================================
   TEAM
   ============================================================ */
.team { background: var(--sand); }
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem 1.7rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20,40,50,0.06);
  display: flex; gap: 1.1rem; align-items: flex-start;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.team-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--sun);
}
.team-mono {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; flex: 0 0 52px;
  background: var(--pine);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.3rem;
  color: var(--sand); letter-spacing: 0.02em;
}
.team-body { flex: 1; }
.team-card h3 { font-size: 1.1rem; color: var(--pine-dark); margin-bottom: 0.2rem; }
.team-role {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--lake); font-weight: 600; margin-bottom: 0.6rem;
}
.team-bio { font-size: 0.93rem; color: #5a6a72; line-height: 1.6; margin-bottom: 0.8rem; }
.team-chip {
  display: inline-block;
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.7rem; font-weight: 700;
  color: var(--lake);
  background: var(--mist);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--ivory); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}
.contact-info {
  display: flex; flex-direction: column; gap: 1.2rem;
}
.contact-row {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.25rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--sun);
}
.contact-label {
  display: block;
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.7rem; font-weight: 700;
  color: var(--lake);
  margin-bottom: 0.25rem;
}
.contact-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem; font-weight: 600;
  color: var(--pine-dark);
  line-height: 1.4;
}
.contact-row small { display: block; margin-top: 0.2rem; color: #6a7a83; font-size: 0.84rem; }

.contact-form {
  display: flex; flex-direction: column; gap: 0.95rem;
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(20,40,50,0.05);
}
.contact-form label {
  display: flex; flex-direction: column; gap: 0.35rem;
  font-weight: 600; font-size: 0.92rem;
  color: var(--pine-dark);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-ui);
  font-size: 1rem;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid rgba(20,40,50,0.15);
  border-radius: var(--radius-sm);
  background: var(--ivory);
  color: var(--charcoal);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--lake);
  box-shadow: 0 0 0 3px var(--sun-soft);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { align-self: flex-start; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--pine-dark);
  color: #d8e2d5;
  padding: 3.2rem 0 1.8rem;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 2fr 1fr;
  gap: 2.5rem; align-items: start;
  padding-bottom: 2rem;
}
.brand-footer .brand-block { background: var(--sun); }
.brand-footer .brand-mono { color: var(--pine-dark); }
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-sub { color: #b6cdae; }
.brand-footer .brand-loc { color: #8fa88a; }
.footer-blurb {
  font-size: 0.93rem; line-height: 1.65;
  opacity: 0.9; max-width: 460px;
}
.footer-links {
  list-style: none; display: flex; flex-direction: column; gap: 0.5rem;
  align-self: stretch;
}
.footer-links a { color: #cfe0c9; font-weight: 500; }
.footer-links a:hover { color: var(--sun-soft); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.4rem;
  font-size: 0.83rem; opacity: 0.85;
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
.nav-toggle { display: none; }
.nav-burger { display: none; }
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--charcoal);
  margin: 5px 0; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .portfolio-grid, .team-grid, .promise-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.6rem; }
}
@media (max-width: 720px) {
  .nav-burger {
    display: block; cursor: pointer; padding: 10px;
    margin-left: auto;
  }
  .header-row { padding: 0.6rem 0; }
  .brand-block { width: 42px; height: 42px; flex: 0 0 42px; }
  .brand-mono { font-size: 1.1rem; }
  .brand-name { font-size: 0.92rem; }
  .brand-sub { font-size: 0.62rem; }
  .brand-loc { font-size: 0.58rem; }

  .nav {
    display: none;
    position: absolute; top: 100%; right: max(4%, calc((100vw - 92vw) / 2)); left: auto;
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.8rem;
    min-width: 220px;
  }
  #nav-toggle:checked ~ .container .nav { display: flex; }
  .nav > a:not(.btn) { padding: 0.55rem 0.6rem; border-radius: 8px; }
  .nav > a:not(.btn):hover { background: var(--sand); }
  .nav > a.btn { margin-top: 0.4rem; }

  .hero-card { padding: 1.6rem 1.3rem; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.4rem); }
  .hero-cta .btn { width: 100%; }
}

/* Focus visibility for a11y */
:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
