:root {
  --gr-header-height: 76px;
  --gr-content-width: 1180px;
  --gr-green-950: #06170f;
  --gr-green-900: #0b281a;
  --gr-green-800: #173a27;
  --gr-gold: #dfb44e;
  --gr-gold-dark: #946919;
  --gr-cream: #f4f0e6;
  --gr-white: #ffffff;
  --gr-ink: #172019;
  --gr-muted: #5d665e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--gr-header-height);
}

body.gr-page {
  margin: 0;
  background: var(--gr-green-950);
  color: var(--gr-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.gr-panel {
  position: relative;
}

.gr-eyebrow {
  margin: 0 0 14px;
  color: var(--gr-gold-dark);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gr-panel h1,
.gr-panel h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

/* ==========================================================
   Measured GlobalRoar hero
   ========================================================== */

.gr-hero {
  position: relative;
  overflow: hidden;
  background: var(--gr-green-950);
  color: var(--gr-white);
}

.gr-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: 58%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding-left:
    max(
      34px,
      calc((100vw - var(--gr-content-width)) / 2)
    );
  padding-right: clamp(46px, 5vw, 74px);
}

.gr-hero .gr-eyebrow {
  color: var(--gr-gold);
}

.gr-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.4rem, 5vw, 5.5rem);
  letter-spacing: -0.048em;
  line-height: 0.96;
  text-wrap: balance;
}

.gr-introduction {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.65;
}

.gr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

.gr-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid transparent;
  color: var(--gr-white);
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
}

.gr-button-primary {
  background: var(--gr-gold);
  color: var(--gr-green-950);
}

.gr-button-secondary {
  border-color: rgba(255, 255, 255, 0.58);
}

.gr-hero-image {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 100%;
  overflow: hidden;

  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      #000000 12%,
      #000000 100%
    );

  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      #000000 12%,
      #000000 100%
    );
}

.gr-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: right center;
}

/* ==========================================================
   Temporary measured panel shells
   ========================================================== */

.gr-placeholder-panel {
  display: flex;
  align-items: center;
}

.gr-light-panel {
  background: var(--gr-cream);
}

.gr-white-panel {
  background: var(--gr-white);
}

.gr-section-copy {
  width: min(
    var(--gr-content-width),
    calc(100% - 56px)
  );
  margin: 0 auto;
}

.gr-placeholder-panel h2,
.gr-trips-panel h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 4.4vw, 4.7rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.gr-placeholder-panel
  .gr-section-copy
  > p:not(.gr-eyebrow),
.gr-trips-panel
  .gr-section-copy
  > p:not(.gr-eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--gr-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.gr-trips-panel {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(
      135deg,
      var(--gr-green-900),
      var(--gr-green-950)
    );
  color: var(--gr-white);
}

.gr-trips-panel > .gr-section-copy {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gr-trips-panel .gr-eyebrow {
  color: var(--gr-gold);
}

.gr-trips-panel
  .gr-section-copy
  > p:not(.gr-eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================
   Desktop panels
   ========================================================== */

@media (min-width: 1000px) {
  html {
    scroll-snap-type: y mandatory;
  }

  .gr-panel {
    height: calc(
      100dvh - var(--gr-header-height)
    );
    min-height: 0;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .gr-placeholder-panel .gr-section-copy,
  .gr-trips-panel > .gr-section-copy {
    padding-top: 42px;
    padding-bottom: 42px;
  }
}

/* ==========================================================
   Tablet and mobile
   ========================================================== */

@media (max-width: 999px) {
  html {
    scroll-snap-type: none;
  }

  .gr-panel {
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  .gr-hero {
    display: flex;
    flex-direction: column;
  }

  .gr-hero-copy {
    width: 100%;
    height: auto;
    padding:
      60px
      max(
        28px,
        calc((100% - 760px) / 2)
      );
  }

  .gr-hero-image {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;

    -webkit-mask-image: none;
    mask-image: none;
  }

  .gr-hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .gr-placeholder-panel,
  .gr-trips-panel > .gr-section-copy {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

@media (max-width: 620px) {
  :root {
    --gr-header-height: 68px;
  }

  .gr-hero-copy {
    padding: 50px 19px 58px;
  }

  .gr-hero h1 {
    font-size: clamp(2.9rem, 14vw, 4.2rem);
  }

  .gr-actions {
    display: grid;
  }

  .gr-button {
    width: 100%;
  }

  .gr-section-copy {
    width: calc(100% - 38px);
  }
}

/* ==========================================================
   GlobalRoar Mission panel — split-tone composition
   Desktop:
   - dark-green field: 40%
   - cream field: 60%
   - photograph: 500 × 282px
   - text column: 560px
   ========================================================== */

.gr-mission-panel {
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      to right,
      var(--gr-green-900) 0%,
      var(--gr-green-900) 40%,
      var(--gr-cream) 40%,
      var(--gr-cream) 100%
    );
}

.gr-mission-inner {
  display: grid;
  width: min(
    var(--gr-content-width),
    calc(100% - 56px)
  );
  margin: 0 auto;
  grid-template-columns: 520px 560px;
  gap: 70px;
  align-items: center;
}

.gr-mission-media {
  position: relative;
  margin: 0;
}

.gr-mission-media::before {
  content: "01";
  position: absolute;
  z-index: 0;
  top: -76px;
  left: -20px;
  color: rgba(223, 180, 78, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8.5rem;
  line-height: 1;
}

.gr-mission-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 500px;
  height: 282px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

.gr-mission-media figcaption {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  color: var(--gr-gold);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.gr-mission-copy {
  max-width: 560px;
}

.gr-mission-copy h2 {
  max-width: 560px;
  margin: 0;
  color: var(--gr-ink);
  font-size: clamp(3rem, 4.15vw, 4.35rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.gr-mission-introduction {
  max-width: 555px;
  margin: 24px 0 0;
  color: var(--gr-muted);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 999px) {
  .gr-mission-panel {
    padding: 72px 0;
    background: var(--gr-cream);
  }

  .gr-mission-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .gr-mission-media {
    padding: 24px;
    background: var(--gr-green-900);
  }

  .gr-mission-media::before {
    display: none;
  }

  .gr-mission-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 1000 / 563;
  }

  .gr-mission-copy {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .gr-mission-inner {
    width: calc(100% - 38px);
  }

  .gr-mission-media {
    padding: 14px;
  }

  .gr-mission-copy h2 {
    font-size: clamp(2.7rem, 12vw, 3.8rem);
  }
}

/* Mobile GlobalRoar section-heading correction */
@media (max-width: 620px) {
  .gr-mission-copy h2,
  .gr-placeholder-panel h2,
  .gr-trips-panel h2 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.45rem, 11.2vw, 2.7rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }
}

/* Mobile anchor offset uses the measured 84px header height */
@media (max-width: 620px) {
  :root {
    --gr-header-height: 84px;
  }
}

/* Explicit offset for mobile sticky-header anchor navigation */
@media (max-width: 620px) {
  .gr-panel {
    scroll-margin-top: var(--gr-header-height);
  }
}

/* ==========================================================
   GlobalRoar Field Work panel
   Desktop:
   - copy: 480px
   - image: 620 × 465px
   - gap: 70px
   ========================================================== */

.gr-field-work-panel {
  display: flex;
  align-items: center;
}

.gr-field-work-inner {
  display: grid;
  width: min(
    var(--gr-content-width),
    calc(100% - 56px)
  );
  margin: 0 auto;
  grid-template-columns: 480px 620px;
  gap: 70px;
  align-items: center;
}

.gr-field-work-copy h2 {
  max-width: 480px;
  margin: 0;
  font-size: clamp(3rem, 4.2vw, 4.45rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.gr-field-work-introduction {
  max-width: 470px;
  margin: 24px 0 0;
  color: var(--gr-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.gr-field-work-media {
  position: relative;
  margin: 0;
}

.gr-field-work-media img {
  display: block;
  width: 620px;
  height: 465px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  box-shadow: 0 22px 48px rgba(6, 23, 15, 0.18);
}

.gr-field-work-media figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(6, 23, 15, 0.9);
  color: var(--gr-gold);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

@media (max-width: 999px) {
  .gr-field-work-panel {
    padding: 72px 0;
  }

  .gr-field-work-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .gr-field-work-copy h2 {
    max-width: none;
  }

  .gr-field-work-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 620px) {
  .gr-field-work-inner {
    width: calc(100% - 38px);
  }
}

/* ==========================================================
   GlobalRoar Trips & Reports panel
   Desktop:
   - copy: 680px
   - status card: 380px
   - gap: 70px
   ========================================================== */

.gr-trips-inner {
  flex: 1 1 auto;
  display: grid;
  width: min(
    var(--gr-content-width),
    calc(100% - 56px)
  );
  margin: 0 auto;
  grid-template-columns: 680px 380px;
  gap: 70px;
  align-items: center;
  padding-top: 36px;
  padding-bottom: 36px;
}

.gr-trips-copy h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3rem, 4.2vw, 4.45rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.gr-trips-copy > p:not(.gr-eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.7;
}

.gr-reports-status {
  padding: 30px;
  border: 1px solid rgba(223, 180, 78, 0.34);
  background: rgba(255, 255, 255, 0.05);
}

.gr-reports-status__eyebrow {
  margin: 0 0 14px;
  color: var(--gr-gold);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gr-reports-status h3 {
  margin: 0;
  color: var(--gr-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.05;
}

.gr-reports-status > p:not(.gr-reports-status__eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.65;
}

@media (max-width: 999px) {
  .gr-trips-inner {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .gr-trips-copy h2 {
    max-width: none;
  }

  .gr-reports-status {
    max-width: 620px;
  }
}

@media (max-width: 620px) {
  .gr-trips-inner {
    width: calc(100% - 38px);
  }

  .gr-reports-status {
    padding: 24px;
  }
}
