/* Grounded Retreats: self-contained brand styles (separate from the Oreka athlete site) */
:root {
  --g-forest: #35503f;
  --g-forest-deep: #263a2e;
  --g-ivory: #F5F1E8;
  --g-ivory-dark: #EAE4D4;
  --g-clay: #C97B4A;
  --g-sun: #ffed83;
  --g-ink: #1F2A22;
  --g-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --g-sans: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.grounded [id] { scroll-margin-top: 76px; }
body.grounded {
  margin: 0; background: var(--g-ivory); color: var(--g-ink);
  font-family: var(--g-sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.grounded img { max-width: 100%; display: block; }
.grounded a:not(.g-btn) { color: inherit; }
.grounded :focus-visible { outline: 3px solid var(--g-sun); outline-offset: 3px; }
.g-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.g-narrow { max-width: 720px; }

/* Header */
.g-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(38, 58, 46, 0.94); backdrop-filter: blur(6px);
  color: var(--g-ivory);
}
.g-header-inner { max-width: 1080px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.g-brand img { height: 34px; width: auto; }
.g-nav { display: flex; align-items: center; gap: 26px; }
.g-nav a { text-decoration: none; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9; }
.g-nav a:hover { opacity: 1; }
.g-nav a.g-btn { opacity: 1; }

/* Buttons */
.g-btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-family: var(--g-sans); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 28px; border-radius: 3px; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.g-btn:hover { transform: translateY(-1px); }
.g-btn-sun { background: var(--g-sun); color: var(--g-forest-deep); }
.g-btn-sun:hover { background: #fff3a6; }
.g-btn-forest { background: var(--g-forest); color: var(--g-ivory); }
.g-btn-forest:hover { background: var(--g-forest-deep); }
.g-btn-ghost { border-color: rgba(245,241,232,0.7); color: var(--g-ivory); }
.g-btn-ghost:hover { background: rgba(245,241,232,0.12); }
.g-header .g-btn { padding: 11px 20px; }
.g-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero */
.g-hero {
  position: relative; min-height: 94vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--g-ivory); overflow: hidden; padding: 130px 24px 90px;
}
.g-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center center; }
.g-hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(38,58,46,0.62) 0%, rgba(38,58,46,0.72) 45%, rgba(38,58,46,0.9) 100%); }
.g-hero-content { position: relative; z-index: 2; max-width: 780px; }
.g-hero-mark { height: 84px; width: auto; margin: 0 auto 26px; }
.g-kicker { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 18px; color: var(--g-sun); }
.g-hero h1 { font-family: var(--g-serif); font-weight: 600; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.05; margin: 0 0 22px; letter-spacing: -0.01em; }
.g-hero-sub { font-size: 1.15rem; max-width: 620px; margin: 0 auto 34px; opacity: 0.95; }
.g-hero .g-cta-row { justify-content: center; }
.g-adults { margin: 26px 0 0; font-size: 0.85rem; opacity: 0.85; }

/* Sections */
.g-section { padding: 96px 0; }
.g-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--g-forest); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.g-label::before { content: ""; width: 36px; height: 3px; background: var(--g-clay); display: block; }
.g-statement { font-family: var(--g-serif); font-weight: 500; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.25; color: var(--g-forest); margin: 0 0 28px; max-width: 860px; }
.g-section p { margin: 0 0 18px; }
.g-lead { max-width: 680px; font-size: 1.08rem; }

.g-pillars { background: var(--g-ivory-dark); }
.g-pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 12px; }
.g-pillar { border-top: 3px solid var(--g-clay); padding-top: 22px; }
.g-pillar h3 { font-family: var(--g-serif); font-weight: 600; font-size: 1.5rem; color: var(--g-forest); margin: 0 0 10px; }
.g-pillar p { margin: 0; }

/* Day */
.g-day { background: var(--g-forest-deep); color: var(--g-ivory); }
.g-day .g-label { color: var(--g-sun); }
.g-day .g-label::before { background: var(--g-clay); }
.g-day h2 { font-family: var(--g-serif); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.15; margin: 0 0 16px; }
.g-day-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.g-day-note { opacity: 0.85; margin-bottom: 30px; }
.g-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.g-steps li { counter-increment: step; display: flex; gap: 18px; padding: 14px 0; border-top: 1px solid rgba(245,241,232,0.18); font-size: 1.08rem; }
.g-steps li:last-child { border-bottom: 1px solid rgba(245,241,232,0.18); }
.g-steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--g-serif); color: var(--g-clay); font-weight: 600; min-width: 28px; }
.g-steps small { display: block; opacity: 0.75; font-size: 0.88rem; }
.g-day-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }

/* Photo band */
.g-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.g-photos img { width: 100%; height: 440px; object-fit: cover; }

/* Next / series */
.g-next { background: var(--g-ivory); }
.g-next-card { background: #fff; border-left: 6px solid var(--g-sun); box-shadow: 0 1px 0 rgba(0,0,0,0.04); padding: 40px 44px; border-radius: 3px; max-width: 820px; }
.g-next-card h2 { font-family: var(--g-serif); font-weight: 600; font-size: clamp(1.7rem, 3.5vw, 2.3rem); color: var(--g-forest); margin: 0 0 14px; }
.g-next-card .g-cta-row { margin-top: 24px; }
.g-fine { font-size: 0.88rem; opacity: 0.75; margin-top: 18px !important; }

/* Groups */
.g-groups { background: var(--g-forest); color: var(--g-ivory); }
.g-groups .g-label { color: var(--g-sun); }
.g-groups h2 { font-family: var(--g-serif); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.15; margin: 0 0 18px; max-width: 700px; }
.g-groups p { max-width: 640px; }
.g-groups .g-cta-row { margin-top: 26px; }

/* Contact */
.g-contact { background: var(--g-ivory); }
.g-contact-title { font-family: var(--g-serif); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; color: var(--g-forest); margin: 0 0 36px; }
.g-contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.g-contact-lead { font-size: 1.08rem; margin-bottom: 30px !important; max-width: 440px; }
.g-contact-detail { margin-bottom: 20px; }
.g-contact-key { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--g-forest); margin: 0 0 4px !important; }
.grounded .g-contact-detail a { color: var(--g-forest); font-weight: 600; text-underline-offset: 3px; }
.grounded .g-contact-detail a:hover { color: var(--g-forest-deep); }
.g-form { display: flex; flex-direction: column; gap: 18px; }
.g-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g-forest); }
.g-form input, .g-form textarea {
  font-family: var(--g-sans); font-size: 1rem; letter-spacing: normal; text-transform: none; font-weight: 400;
  color: var(--g-ink); background: #fff; border: 1px solid rgba(53, 80, 63, 0.35);
  border-radius: 3px; padding: 13px 14px; width: 100%;
}
.g-form input:focus, .g-form textarea:focus { outline: none; border-color: var(--g-forest); box-shadow: 0 0 0 3px rgba(255, 237, 131, 0.9); }
.g-form button { align-self: flex-start; cursor: pointer; }
.g-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.g-form-success { align-self: start; background: #fff; border-left: 6px solid var(--g-sun); border-radius: 3px; padding: 28px 30px; }
.g-form-success:focus { outline: none; }
.g-form-success h3 { font-family: var(--g-serif); font-weight: 600; font-size: 1.4rem; color: var(--g-forest); margin: 0 0 8px; }
.g-form-success p { margin: 0; }
.form-error { color: #9b1c1c; font-size: 0.95rem; margin: 0; }
.form-error[hidden], .g-form-success[hidden], .g-form[hidden] { display: none; }

/* Footer */
.g-footer { background: var(--g-forest-deep); color: var(--g-ivory); text-align: center; padding: 64px 24px 40px; }
.g-footer img { height: 70px; margin: 0 auto 18px; }
.g-footer-tag { font-family: var(--g-serif); font-size: 1.2rem; margin: 0 0 22px; }
.g-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-bottom: 26px; }
.g-footer-links a { text-decoration: none; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9; }
.g-footer-links a:hover { opacity: 1; text-decoration: underline; }
.g-footer-fine { font-size: 0.8rem; opacity: 0.65; max-width: 560px; margin: 0 auto; }

@media (max-width: 860px) {
  .g-nav a:not(.g-btn) { display: none; }
  .g-pillar-grid { grid-template-columns: 1fr; gap: 32px; }
  .g-day-grid { grid-template-columns: 1fr; gap: 40px; }
  .g-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .g-day-photo { order: -1; }
  .g-day-photo img { aspect-ratio: 4 / 3; }
  .g-photos { grid-template-columns: 1fr; }
  .g-photos img { height: 260px; }
  .g-section { padding: 72px 0; }
  .g-next-card { padding: 30px 26px; }
  .g-hero { min-height: 88vh; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .g-btn { transition: none; } }
