:root {
  --jgy-ink: #1f2722;
  --jgy-forest: #33483a;
  --jgy-clay: #a85f42;
  --jgy-sand: #d9c8ad;
  --jgy-linen: #f3eee5;
  --jgy-paper: #fbf9f4;
  --jgy-white: #ffffff;
  --jgy-muted: #5d655f;
  --jgy-line: rgba(31, 39, 34, 0.18);
  --jgy-serif: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --jgy-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --jgy-radius: 0.35rem;
  --jgy-shadow: 0 18px 60px rgba(31, 39, 34, 0.08);
}

html { scroll-behavior: smooth; }

body.jgy-site,
.editor-styles-wrapper {
  background: var(--jgy-paper);
  color: var(--jgy-ink);
  font-family: var(--jgy-sans);
  font-size: 18px;
  line-height: 1.65;
}

.jgy-site h1,
.jgy-site h2,
.jgy-site h3,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3 {
  color: var(--jgy-ink);
  font-family: var(--jgy-serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.jgy-site h1 { font-size: clamp(3rem, 8vw, 7rem); }
.jgy-site h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); }
.jgy-site p { max-width: 72ch; }

.jgy-site .entry-header,
.jgy-site .content-title-style-above .entry-content-wrap > .entry-header { display: none; }
.jgy-site .content-area { margin: 0; }
.jgy-site .site-main .entry-content { margin: 0; }
.jgy-site .entry-content-wrap { padding: 0; }
.jgy-site .site-container { max-width: none; padding: 0; }

.jgy-shell {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 1180px;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  width: 100%;
}

.jgy-hero {
  align-items: end;
  background:
    linear-gradient(120deg, rgba(31, 39, 34, 0.96), rgba(51, 72, 58, 0.78)),
    var(--jgy-forest);
  color: var(--jgy-white);
  display: flex;
  min-height: min(78vh, 780px);
  padding: clamp(7rem, 12vw, 11rem) 0 clamp(4rem, 8vw, 7rem);
  position: relative;
}

.jgy-hero::after {
  border: 1px solid rgba(255,255,255,.24);
  content: "";
  inset: 1.25rem;
  pointer-events: none;
  position: absolute;
}

.jgy-hero__inner { position: relative; z-index: 1; }
.jgy-hero h1 { color: var(--jgy-white); margin: .2rem 0 1.35rem; max-width: 10ch; }
.jgy-hero__copy { color: rgba(255,255,255,.86); font-size: clamp(1.1rem, 2vw, 1.45rem); max-width: 57ch; }

.jgy-eyebrow {
  color: var(--jgy-clay);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}
.jgy-hero .jgy-eyebrow { color: var(--jgy-sand); }

.jgy-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.jgy-button,
.jgy-site .wp-element-button {
  align-items: center;
  background: var(--jgy-clay);
  border: 1px solid var(--jgy-clay);
  border-radius: var(--jgy-radius);
  color: var(--jgy-white) !important;
  display: inline-flex;
  font-size: .76rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .08em;
  min-height: 3rem;
  padding: .72rem 1.2rem;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.jgy-button:hover,
.jgy-button:focus-visible { background: #8f4e36; color: var(--jgy-white); transform: translateY(-2px); }
.jgy-button--secondary { background: transparent; border-color: rgba(255,255,255,.6); }
.jgy-button--secondary:hover,
.jgy-button--secondary:focus-visible { background: var(--jgy-white); color: var(--jgy-ink) !important; }
.jgy-button:focus-visible,
.jgy-text-link:focus-visible { outline: 3px solid var(--jgy-sand); outline-offset: 3px; }

.jgy-section { border-bottom: 1px solid var(--jgy-line); padding: clamp(4.5rem, 9vw, 8rem) 0; }
.jgy-section h2 { max-width: 18ch; margin: 0 0 1.25rem; }
.jgy-section--intro p { font-size: 1.12rem; }

.jgy-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jgy-card {
  background: var(--jgy-white);
  border: 1px solid var(--jgy-line);
  border-radius: var(--jgy-radius);
  box-shadow: var(--jgy-shadow);
  min-height: 14rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.jgy-card h2 { font-size: 1.75rem; }
.jgy-text-link { border-bottom: 1px solid currentColor; color: var(--jgy-forest); font-size: .82rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.jgy-status { color: var(--jgy-muted); display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

.jgy-section--feature { background: var(--jgy-linen); }
.jgy-section--quote { background: var(--jgy-forest); color: var(--jgy-white); }
.jgy-section--quote h2 { color: var(--jgy-white); font-size: clamp(2.5rem, 6vw, 5rem); max-width: 20ch; }
.jgy-section--quote p { color: rgba(255,255,255,.78); }
.jgy-section--notice .jgy-shell { background: #efe2d4; border-left: 6px solid var(--jgy-clay); padding-block: 2rem; }
.jgy-section--notice h2 { font-size: 2rem; }

.jgy-timeline { border-top: 1px solid var(--jgy-line); }
.jgy-timeline__item { display: grid; gap: 1.5rem; grid-template-columns: minmax(9rem, .55fr) 2fr; padding: 1.8rem 0; border-bottom: 1px solid var(--jgy-line); }
.jgy-timeline__item h2 { color: var(--jgy-clay); font-family: var(--jgy-sans); font-size: .9rem; font-weight: 800; letter-spacing: .14em; margin: 0; }
.jgy-timeline__item ul { margin: 0; padding-left: 1.1rem; }

.jgy-stats { display: grid; gap: 1px; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--jgy-line); }
.jgy-stat { background: var(--jgy-paper); padding: 2rem; }
.jgy-stat strong { color: var(--jgy-clay); display: block; font-family: var(--jgy-serif); font-size: 4.5rem; font-weight: 500; line-height: 1; }
.jgy-stat h2 { font-family: var(--jgy-sans); font-size: 1rem; font-weight: 800; margin: .8rem 0; }
.jgy-stat p { color: var(--jgy-muted); font-size: .9rem; }

.jgy-section--newsletter { background: var(--jgy-forest); color: var(--jgy-white); }
.jgy-section--newsletter .jgy-shell { display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: .9fr 1.1fr; }
.jgy-section--newsletter h2 { color: var(--jgy-white); }
.jgy-section--newsletter p,
.jgy-section--newsletter label { color: rgba(255,255,255,.86); }
.jgy-section--newsletter .jgy-form input,
.jgy-section--newsletter .jgy-form select,
.jgy-section--newsletter .jgy-form textarea { border-color: rgba(255,255,255,.42); }

@media (max-width: 880px) {
  .jgy-grid,
  .jgy-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jgy-section--newsletter .jgy-shell { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body.jgy-site { font-size: 16px; }
  .jgy-hero { min-height: 680px; }
  .jgy-grid,
  .jgy-stats { grid-template-columns: 1fr; }
  .jgy-timeline__item { grid-template-columns: 1fr; }
  .jgy-card { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

