.gstory,
.gstory * {
  box-sizing: border-box;
}

.gstory {
  --gstory-ink: #122126;
  --gstory-ink-2: #23363b;
  --gstory-gold: #96712c;
  --gstory-gold-light: #cbb174;
  --gstory-cream: #f4f1e9;
  --gstory-white: #fff;
  --gstory-muted: #69767a;
  --gstory-line: #d9d7d0;
  width: 100%;
  overflow: hidden;
  color: var(--gstory-ink);
  background: var(--gstory-white);
  line-height: 1.55;
}

.gstory a { color: inherit; }
.gstory h1,
.gstory h2,
.gstory h3 { margin-top: 0; }

.gstory__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--gstory-gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.gstory__eyebrow::before {
  width: 42px;
  height: 2px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.gstory__hero {
  position: relative;
  display: flex;
  align-items: end;
  min-height: min(820px, 86vh);
  overflow: hidden;
  color: var(--gstory-white);
  background:
    linear-gradient(90deg, rgba(18,33,38,.94) 0%, rgba(18,33,38,.58) 48%, rgba(18,33,38,.12) 80%),
    var(--gstory-hero) center 48% / cover no-repeat,
    var(--gstory-ink);
}

.gstory__hero-copy {
  position: relative;
  z-index: 1;
  max-width: 980px;
  padding: clamp(85px, 11vw, 150px) clamp(24px, 7vw, 110px);
}

.gstory__hero h1 {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--gstory-white);
  font-size: clamp(50px, 8vw, 104px);
  line-height: .96;
  letter-spacing: -.05em;
}

.gstory__hero-summary {
  max-width: 680px;
  margin: 28px 0 0;
  color: #e0e7e8;
  font-size: clamp(18px, 2vw, 22px);
}

.gstory__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: var(--gstory-white);
  background: var(--gstory-ink-2);
}

.gstory__facts > div {
  min-height: 150px;
  padding: 32px clamp(24px, 4vw, 56px);
  border-right: 1px solid rgba(255,255,255,.14);
}

.gstory__facts > div:last-child { border-right: 0; }
.gstory__facts span { display: block; margin-bottom: 11px; color: var(--gstory-gold-light); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.gstory__facts strong { display: block; max-width: 340px; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.1; }

.gstory__intro,
.gstory__related {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr);
  gap: clamp(45px, 8vw, 120px);
  padding: clamp(80px, 10vw, 140px) clamp(24px, 7vw, 110px);
  background: var(--gstory-cream);
}

.gstory h2 { margin-bottom: 0; font-size: clamp(34px, 5vw, 62px); line-height: 1; letter-spacing: -.04em; }
.gstory__intro-copy p { margin: 0 0 22px; color: var(--gstory-muted); font-size: clamp(17px, 1.8vw, 21px); }

.gstory__principles,
.gstory__gallery {
  padding: clamp(80px, 10vw, 130px) clamp(24px, 7vw, 110px);
}

.gstory__principles { color: var(--gstory-white); background: var(--gstory-ink); }
.gstory__gallery { background: var(--gstory-white); }
.gstory__section-heading { display: grid; grid-template-columns: minmax(0, .8fr) minmax(340px, 1.2fr); gap: clamp(40px, 8vw, 120px); align-items: end; margin-bottom: 52px; }
.gstory__section-heading > p { margin: 0; color: var(--gstory-muted); font-size: 17px; }
.gstory__principles .gstory__section-heading > p { color: #ced7d9; }

.gstory__principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.18); }
.gstory__principle-grid article { min-height: 320px; padding: 34px; background: var(--gstory-ink); }
.gstory__principle-grid span { color: var(--gstory-gold-light); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.gstory__principle-grid h3 { margin: 85px 0 13px; color: var(--gstory-white); font-size: 28px; line-height: 1.05; }
.gstory__principle-grid p { margin: 0; color: #ced7d9; }

.gstory__gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gstory__gallery-grid figure { min-height: 380px; margin: 0; overflow: hidden; background: var(--gstory-ink-2); }
.gstory__gallery-grid figure:nth-child(3n + 1) { grid-column: span 2; min-height: 560px; }
.gstory__gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gstory__gallery-grid figure:hover img { transform: scale(1.025); }

.gstory__related-links { display: grid; gap: 12px; }
.gstory__related-links a { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--gstory-line); text-decoration: none; font-size: 19px; font-weight: 750; }
.gstory__related-links a::after { color: var(--gstory-gold); content: "\2192"; }

.gstory__project-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 42px clamp(24px, 7vw, 110px); color: var(--gstory-white); background: var(--gstory-ink-2); }
.gstory__project-nav a { text-decoration: none; }
.gstory__project-nav a:last-child { text-align: right; }
.gstory__project-nav span { display: block; margin-bottom: 6px; color: var(--gstory-gold-light); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.gstory__project-nav strong { font-size: 17px; }
.gstory__all-projects { padding: 13px 18px; border: 1px solid rgba(255,255,255,.4); font-weight: 800; text-transform: uppercase; }

.gstory__cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: clamp(55px, 8vw, 100px) clamp(24px, 7vw, 110px); background: var(--gstory-gold-light); }
.gstory__cta .gstory__eyebrow { color: var(--gstory-ink); }
.gstory__button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 22px; color: var(--gstory-white) !important; background: var(--gstory-ink); text-decoration: none; font-weight: 800; }

@media (max-width: 900px) {
  .gstory__facts,
  .gstory__intro,
  .gstory__related,
  .gstory__section-heading { grid-template-columns: 1fr; }
  .gstory__facts > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .gstory__principle-grid { grid-template-columns: 1fr; }
  .gstory__gallery-grid { grid-template-columns: 1fr; }
  .gstory__gallery-grid figure,
  .gstory__gallery-grid figure:nth-child(3n + 1) { grid-column: auto; min-height: 360px; }
  .gstory__project-nav { grid-template-columns: 1fr; }
  .gstory__project-nav a,
  .gstory__project-nav a:last-child { text-align: left; }
  .gstory__all-projects { justify-self: start; }
  .gstory__cta { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .gstory__hero { min-height: 680px; background-position: center, 50% center, center; }
  .gstory__hero-copy { padding: 92px 22px 68px; }
  .gstory__gallery-grid figure,
  .gstory__gallery-grid figure:nth-child(3n + 1) { min-height: 280px; }
  .gstory__principle-grid article { min-height: auto; }
  .gstory__principle-grid h3 { margin-top: 55px; }
  .gstory__cta { padding: 62px 22px; }
}
