/* Green Meadows Haven — design tokens, typography, and component classes
   Layered on top of Tailwind (via CDN). See README for palette reference. */

:root {
  --gmh-forest:     #1d3a2a;
  --gmh-meadow:     #3d6b4a;
  --gmh-mist:       #dde6dd;
  --gmh-cream:      #f6f1e7;
  --gmh-gold:       #b8924d;
  --gmh-deep-gold:  #8a6a30;
  --gmh-lake:       #5a8a9a;
  --gmh-ink:        #1a1a17;

  --gmh-serif:  'Cormorant Garamond', 'Georgia', serif;
  --gmh-sans:   'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--gmh-sans);
  color: var(--gmh-ink);
  background: var(--gmh-cream);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .gmh-serif {
  font-family: var(--gmh-serif);
  color: var(--gmh-forest);
  font-weight: 500;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.1; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); line-height: 1.2; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.3; }

a {
  color: var(--gmh-lake);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--gmh-deep-gold);
}

.gmh-eyebrow {
  font-family: var(--gmh-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gmh-deep-gold);
}

.gmh-rule {
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--gmh-gold);
  vertical-align: middle;
  margin: 0 0.9rem;
}

.gmh-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gmh-gold), transparent);
  border: 0;
  margin: 4rem 0;
}

.gmh-card {
  background: #fffdf8;
  border-top: 1px solid var(--gmh-gold);
  padding: 2rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gmh-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px -16px rgba(29, 58, 42, 0.18);
}

.gmh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.9rem;
  font-family: var(--gmh-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--gmh-forest);
  background: var(--gmh-forest);
  color: var(--gmh-cream);
  transition: all 0.3s ease;
  cursor: pointer;
}
.gmh-btn:hover {
  background: var(--gmh-meadow);
  border-color: var(--gmh-meadow);
  color: var(--gmh-cream);
}
.gmh-btn--ghost {
  background: transparent;
  color: var(--gmh-forest);
}
.gmh-btn--ghost:hover {
  background: var(--gmh-forest);
  color: var(--gmh-cream);
}
.gmh-btn--gold {
  background: var(--gmh-gold);
  border-color: var(--gmh-gold);
  color: var(--gmh-cream);
}
.gmh-btn--gold:hover {
  background: var(--gmh-deep-gold);
  border-color: var(--gmh-deep-gold);
}
.gmh-btn:disabled,
.gmh-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Site header */
.gmh-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(184, 146, 77, 0.25);
  transition: padding 0.3s ease;
}
/* ---------------------------------------------------------------------
   Search picker — shared autocomplete component.
   Behaviour lives in js/picker.js; this is the visuals. Used by
   admin.html (citizen/org/sponsor pickers) and members/index.html
   (request modal). Same selectors are duplicated inline in admin.html
   for legacy reasons — safe to delete from there in a future cleanup.
   --------------------------------------------------------------------- */
.picker { position:relative; }
.picker__results {
  position:absolute; top:100%; left:0; right:0; z-index:50;
  background:var(--gmh-cream); border:1px solid rgba(184,146,77,0.5);
  border-top:none; max-height:280px; overflow-y:auto;
  box-shadow:0 12px 28px rgba(13,32,22,0.18);
}
.picker__result {
  padding:0.7rem 1rem; cursor:pointer; border-bottom:1px solid rgba(184,146,77,0.18);
  display:flex; justify-content:space-between; gap:1rem; align-items:baseline;
}
.picker__result:last-child { border-bottom:none; }
.picker__result:hover { background:rgba(184,146,77,0.12); }
.picker__result-main { font-family:var(--gmh-serif); color:var(--gmh-forest); font-weight:500; }
.picker__result-sub  { font-size:0.78rem; color:var(--gmh-meadow); letter-spacing:0.04em; }
.picker__empty, .picker__error {
  padding:0.9rem 1rem; font-style:italic; color:var(--gmh-meadow);
  font-family:var(--gmh-serif);
}
.picker__error { color:#8a4d2e; }
/* Selected chip — padding matches the input/select line-height so this
   row stays the same height as the dropdowns it sits next to. */
.picker__selected {
  display:flex; justify-content:space-between; align-items:center; gap:0.8rem;
  padding:0.4rem 0.7rem; background:rgba(29,58,42,0.05); border:1px solid rgba(184,146,77,0.4);
}
.picker__chip { font-family:var(--gmh-serif); color:var(--gmh-forest); font-weight:500; }
.picker__chip-sub { color:var(--gmh-meadow); font-size:0.85rem; margin-left:0.5rem; }
/* Clear button — borderless × so it doesn't add height to the row. */
.picker__clear {
  background:none; border:none; color:var(--gmh-meadow);
  width:1.1rem; height:1.1rem; line-height:1; cursor:pointer;
  font-size:1.1rem; padding:0;
}
.picker__clear:hover { color:var(--gmh-deep-gold); }

/* ---------------------------------------------------------------------
   Dashboard tabs — top-of-page navigation between Dashboard / Request
   User / Remove User / Refer Org / Message Center. Mirrors admin-tabs
   styling so members + admins feel consistent.
   --------------------------------------------------------------------- */
.dash-tabs {
  display:flex; gap:0; border-bottom:1px solid rgba(184,146,77,0.4);
  margin-bottom:2rem; flex-wrap:wrap;
}
.dash-tab {
  padding:0.85rem 1.4rem; cursor:pointer; background:transparent; border:none;
  font-family:var(--gmh-serif); font-size:1.05rem; color:var(--gmh-meadow);
  letter-spacing:0.02em; border-bottom:3px solid transparent; margin-bottom:-1px;
}
.dash-tab.is-active { color:var(--gmh-forest); border-bottom-color:var(--gmh-gold); }
.dash-tab[hidden] { display:none; }
.dash-pane { display:none; }
.dash-pane.is-active { display:block; }

/* Form controls inside any dash-pane (Request User, Remove User, etc). */
.dash-pane label,
.dash-pane .req-eyebrow {
  display:block;
  font-family:var(--gmh-sans); font-size:0.78rem; font-weight:500;
  letter-spacing:0.22em; text-transform:uppercase;
  color:var(--gmh-deep-gold);
  margin:0.9rem 0 0.3rem;
}
.dash-pane input[type="text"],
.dash-pane select,
.dash-pane textarea {
  width:100%; padding:0.55rem 0.7rem;
  border:1px solid rgba(184,146,77,0.4);
  background:var(--gmh-cream);
  font-family:var(--gmh-sans); font-size:0.9rem;
  box-sizing:border-box;
}
.dash-pane textarea { resize:vertical; min-height:60px; }
.dash-pane__intro {
  color:var(--gmh-meadow); font-family:var(--gmh-serif); font-style:italic;
  margin:0 0 1rem;
}
.req-slot-info {
  padding:0.7rem 0.9rem;
  background:rgba(184,146,77,0.12);
  border-left:3px solid var(--gmh-gold);
  font-family:var(--gmh-serif); font-style:italic;
  color:var(--gmh-deep-gold);
}
.req-readonly {
  padding:0.55rem 0.7rem;
  border:1px solid rgba(184,146,77,0.3);
  background:rgba(184,146,77,0.06);
  color:var(--gmh-forest);
  font-family:var(--gmh-serif); font-size:1rem;
  margin:0;
}
.req-error {
  color:#8a4d2e; font-style:italic; margin:0.6rem 0 0;
}
.req-actions {
  display:flex; gap:0.8rem; justify-content:flex-end;
  margin-top:1.4rem; flex-wrap:wrap;
}

/* ---------------------------------------------------------------------
   Message Center — thread list rows + message bubbles.
   --------------------------------------------------------------------- */
.msg-thread-row {
  padding:0.85rem 1rem;
  border:1px solid rgba(184,146,77,0.25);
  margin-bottom:0.5rem;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  transition: background 0.15s ease;
}
.msg-thread-row:hover { background:rgba(184,146,77,0.08); }
.msg-thread-row__main { min-width:0; flex:1; }
.msg-thread-row__subject {
  font-family:var(--gmh-serif); color:var(--gmh-forest);
  font-size:1.05rem; line-height:1.3;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.msg-thread-row__meta {
  color:var(--gmh-meadow); font-size:0.78rem; margin-top:0.2rem;
  font-family:ui-monospace,monospace; letter-spacing:0.05em;
}
.msg-thread-row__right {
  display:flex; flex-direction:column; align-items:flex-end; gap:0.3rem;
  flex-shrink:0;
}
.msg-status-badge {
  display:inline-block; padding:0.12rem 0.55rem;
  font-size:0.65rem; letter-spacing:0.12em; text-transform:uppercase;
  border-radius:3px;
}
.msg-status-badge--open   { background:var(--gmh-meadow); color:var(--gmh-cream); }
.msg-status-badge--closed { background:rgba(184,146,77,0.3); color:var(--gmh-deep-gold); }

.msg-bubble {
  margin-bottom:0.8rem; padding:0.8rem 1rem;
  background:rgba(184,146,77,0.08); border-left:3px solid var(--gmh-gold);
  border-radius:0 4px 4px 0;
}
.msg-bubble--admin {
  background:rgba(29,58,42,0.08); border-left-color:var(--gmh-forest);
}
.msg-bubble__header {
  display:flex; justify-content:space-between; gap:1rem;
  font-size:0.78rem; color:var(--gmh-meadow); margin-bottom:0.35rem;
  flex-wrap:wrap;
}
.msg-bubble__sender {
  font-family:var(--gmh-serif); font-weight:500; color:var(--gmh-deep-gold);
}
.msg-bubble--admin .msg-bubble__sender {
  color:var(--gmh-forest); font-style:italic;
}
.msg-bubble__time {
  font-family:ui-monospace,monospace; font-size:0.72rem; letter-spacing:0.04em;
}
.msg-bubble__body { white-space:pre-wrap; line-height:1.55; color:var(--gmh-ink); }

/* ---------------------------------------------------------------------
   Membership card 3-column layout — stacks on narrower viewports.
   --------------------------------------------------------------------- */
.card-grid-3 {
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.3rem 1.5rem;
  align-items: start;
}
@media (max-width: 700px) {
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .card-grid-3 { grid-template-columns: 1fr; }
}

/* Desktop header: two stacked rows, both centered.
   Row 1 = logo + serif title (prominent).
   Row 2 = nav links + (member-only) sign-out, tight letter-spacing,
   small font so the whole banner stays compact. */
.gmh-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem 0.6rem;
}
.gmh-header__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--gmh-serif);
  font-size: 1.85rem;
  color: var(--gmh-forest);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.gmh-header__brand img {
  height: 56px;
  width: 56px;
  object-fit: contain;
}
.gmh-nav {
  display: flex;
  gap: 1.35rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.gmh-nav a {
  font-family: var(--gmh-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gmh-ink);
  padding: 0;
}
.gmh-nav a:hover,
.gmh-nav a.active {
  color: var(--gmh-deep-gold);
}
.gmh-nav__toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--gmh-forest);
  cursor: pointer;
  padding: 0.3rem;
}

/* Mobile: revert to single-row brand + hamburger; nav slides down. */
@media (max-width: 880px) {
  .gmh-header__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
    padding: 0.85rem 1.2rem;
  }
  .gmh-header__brand {
    font-size: 1.3rem;
    gap: 0.7rem;
  }
  .gmh-header__brand img {
    height: 40px;
    width: 40px;
  }
  .gmh-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    background: var(--gmh-cream);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(184, 146, 77, 0.25);
    gap: 1.1rem;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
  }
  .gmh-nav.open {
    transform: translateY(0);
  }
  .gmh-nav__toggle {
    display: inline-flex;
  }
}

/* Hero */
.gmh-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gmh-cream);
  overflow: hidden;
  isolation: isolate;
}
.gmh-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.04);
}
.gmh-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15, 28, 21, 0.55) 0%,
    rgba(15, 28, 21, 0.35) 40%,
    rgba(15, 28, 21, 0.7) 100%);
  z-index: -1;
}
.gmh-hero__inner {
  padding: 8rem 1.5rem;
  max-width: 900px;
}
.gmh-hero h1 {
  color: var(--gmh-cream);
  font-weight: 400;
  margin: 0.5rem 0;
}
.gmh-hero p {
  font-family: var(--gmh-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: rgba(246, 241, 231, 0.92);
  max-width: 580px;
  margin: 1.4rem auto 0;
}
.gmh-hero .gmh-eyebrow {
  color: var(--gmh-gold);
}

/* Page-internal hero (smaller) */
.gmh-subhero {
  position: relative;
  min-height: 44vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gmh-cream);
  overflow: hidden;
  isolation: isolate;
}
.gmh-subhero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.gmh-subhero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15, 28, 21, 0.5) 0%,
    rgba(15, 28, 21, 0.65) 100%);
  z-index: -1;
}
.gmh-subhero__inner {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 800px;
}
.gmh-subhero h1 {
  color: var(--gmh-cream);
  font-weight: 400;
}
.gmh-subhero .gmh-eyebrow {
  color: var(--gmh-gold);
}

/* Content containers */
.gmh-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.gmh-prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.06rem;
}
.gmh-prose p {
  margin: 0 0 1.3rem;
}
.gmh-prose p:first-of-type::first-letter {
  font-family: var(--gmh-serif);
  font-size: 3.6rem;
  float: left;
  line-height: 0.9;
  padding: 0.25rem 0.6rem 0 0;
  color: var(--gmh-deep-gold);
  font-weight: 500;
}

.gmh-section {
  padding: 5rem 0;
}
.gmh-section--mist {
  background: var(--gmh-mist);
}
.gmh-section--forest {
  background: var(--gmh-forest);
  color: var(--gmh-cream);
}
.gmh-section--forest h1,
.gmh-section--forest h2,
.gmh-section--forest h3 {
  color: var(--gmh-cream);
}
.gmh-section--forest a {
  color: var(--gmh-gold);
}

/* Tile / facility grid */
.gmh-tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  color: var(--gmh-cream);
}
.gmh-tile__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.gmh-tile:hover .gmh-tile__bg {
  transform: scale(1.06);
}
.gmh-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 28, 21, 0.85) 100%);
}
.gmh-tile__label {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  right: 1.4rem;
  z-index: 1;
  font-family: var(--gmh-serif);
  font-size: 1.4rem;
  font-weight: 500;
}

/* Footer */
.gmh-footer {
  background: var(--gmh-forest);
  color: rgba(246, 241, 231, 0.78);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}
.gmh-footer a {
  color: rgba(246, 241, 231, 0.92);
}
.gmh-footer a:hover {
  color: var(--gmh-gold);
}
.gmh-footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (max-width: 740px) {
  .gmh-footer__cols {
    grid-template-columns: 1fr;
  }
}
.gmh-footer__brand {
  font-family: var(--gmh-serif);
  font-size: 1.6rem;
  color: var(--gmh-cream);
  margin-bottom: 0.5rem;
}
.gmh-footer__rule {
  height: 1px;
  background: rgba(184, 146, 77, 0.35);
  margin: 2.5rem 1.5rem 1.5rem;
}
.gmh-footer__meta {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Timeline (history.html) */
.gmh-timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid var(--gmh-gold);
}
.gmh-timeline__item {
  position: relative;
  padding: 0 0 3rem 1.5rem;
}
.gmh-timeline__item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.5rem;
  width: 11px;
  height: 11px;
  background: var(--gmh-gold);
  border-radius: 50%;
}
.gmh-timeline__year {
  font-family: var(--gmh-serif);
  font-size: 1.8rem;
  color: var(--gmh-deep-gold);
  margin-bottom: 0.6rem;
}

/* Article (charter.html) */
.gmh-charter {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.gmh-charter__toc {
  position: sticky;
  top: 100px;
  align-self: start;
  font-size: 0.85rem;
}
.gmh-charter__toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gmh-charter__toc li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(184, 146, 77, 0.25);
}
.gmh-charter__toc a {
  color: var(--gmh-ink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.gmh-charter__toc a:hover {
  color: var(--gmh-deep-gold);
}
.gmh-charter__body article {
  margin-bottom: 3rem;
}
.gmh-charter__body h2 {
  border-bottom: 1px solid var(--gmh-gold);
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
}
@media (max-width: 880px) {
  .gmh-charter {
    grid-template-columns: 1fr;
  }
  .gmh-charter__toc {
    position: static;
  }
}

/* Feature block (facilities.html) */
.gmh-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 5rem 0;
}
.gmh-feature:nth-child(even) > div:first-child {
  order: 2;
}
.gmh-feature__img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}
.gmh-feature__facts {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
}
.gmh-feature__facts li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(184, 146, 77, 0.4);
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}
.gmh-feature__facts span:first-child {
  color: var(--gmh-deep-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
}
@media (max-width: 820px) {
  .gmh-feature {
    grid-template-columns: 1fr;
  }
  .gmh-feature:nth-child(even) > div:first-child {
    order: 0;
  }
}

/* Gallery */
.gmh-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.gmh-gallery__item {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.gmh-gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}
.gmh-gallery__item--tall {
  aspect-ratio: 3 / 4;
}
.gmh-gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 28, 21, 0);
  transition: background 0.3s ease;
}
.gmh-gallery__item:hover::after {
  background: rgba(15, 28, 21, 0.25);
}
.gmh-gallery__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gmh-mist);
  color: var(--gmh-meadow);
  font-family: var(--gmh-serif);
  font-style: italic;
  font-size: 1rem;
  text-align: center;
  padding: 1rem;
  aspect-ratio: 4 / 3;
}

/* Lightbox */
.gmh-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 28, 21, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
}
.gmh-lightbox.open {
  display: flex;
}
.gmh-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.gmh-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 0;
  color: var(--gmh-cream);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* Form */
.gmh-form {
  max-width: 560px;
  margin: 0 auto;
}
.gmh-form label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gmh-deep-gold);
  margin-bottom: 0.4rem;
  margin-top: 1.4rem;
}
.gmh-form input,
.gmh-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #fffdf8;
  border: 1px solid rgba(29, 58, 42, 0.2);
  font-family: var(--gmh-sans);
  font-size: 1rem;
  color: var(--gmh-ink);
  transition: border-color 0.2s ease;
}
.gmh-form input:focus,
.gmh-form textarea:focus {
  outline: none;
  border-color: var(--gmh-gold);
}
.gmh-form textarea {
  min-height: 140px;
  resize: vertical;
}
.gmh-form__actions {
  margin-top: 2rem;
}

/* Toast */
.gmh-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  background: var(--gmh-forest);
  color: var(--gmh-cream);
  padding: 0.9rem 1.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-top: 2px solid var(--gmh-gold);
  z-index: 200;
  transition: transform 0.4s ease;
  max-width: 90vw;
}
.gmh-toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Reveal-on-scroll
   Default state is VISIBLE. JS adds .gmh-hidden to opt elements into the
   hidden-then-revealed animation. If JS fails to load, content stays visible. */
.gmh-reveal {
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.gmh-reveal.gmh-hidden {
  opacity: 0;
  transform: translateY(20px);
}
.gmh-reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Feature-block image fallback for browsers without aspect-ratio support */
.gmh-feature__img,
.gmh-tile__bg,
.gmh-gallery__item {
  background-color: var(--gmh-mist);
}
.gmh-feature__img {
  min-height: 280px;
}
.gmh-tile {
  min-height: 360px;
}
.gmh-gallery__item {
  min-height: 240px;
}
