*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: #fbfaf7;
}

body {
  margin: 0;
  background: #fbfaf7;
  color: #1d1a17;
}

.go-section {
  --gap: 7px;
  --panel-width: clamp(190px, 12.76vw, 245px);
  --panel-height: calc(var(--panel-width) * 1.4898);
  --text: #000000;
  --muted: #5a5249;
  --go-gold: #b88908;
  /* Gold underline tuning */
  --rule-height: 1px;
  --rule-gap: 9px;     /* distance from "Make Every" down to the gold line */
  --rule-rise: 24px;   /* how far the line travels up as it lands */
  --rule-delay: 3450ms;/* keeps the heading and underline in one even reveal sequence */
  width: 100%;
  padding: clamp(60px, 4.2vw, 82px) 0 clamp(64px, 5.2vw, 96px);
  overflow: clip;
  background: #fbfaf7;
  font-family: "Jost", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.go-layout {
  display: grid;
  grid-template-columns: calc((var(--panel-width) * 3) + (var(--gap) * 2)) calc((var(--panel-width) * 3) + (var(--gap) * 2));
  column-gap: clamp(58px, 3.25vw, 64px);
  align-items: start;
  justify-content: center;
  min-height: calc(var(--panel-height) + clamp(145px, 12vw, 230px));
}

.go-group {
  width: calc((var(--panel-width) * 3) + (var(--gap) * 2));
}

.go-group--left {
  padding-top: 0;
}

.go-group--right {
  padding-top: 18px;
}

.go-heading {
  display: grid;
  width: calc((var(--panel-width) * 3) + (var(--gap) * 2));
  max-width: 860px;
  margin: 0 0 clamp(34px, 2.15vw, 42px) calc(var(--panel-width) * 0.1);
  color: #000000;
  /* Matched to the Shop by Category heading: Cormorant Garamond ~47px,
     weight 400, title case, tight letter-spacing. */
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(37.5px, 2.45vw, 47px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.02em;
  text-transform: none;
}

.go-heading-line {
  display: block;
  opacity: 0;
  transform: translate3d(-42px, 0, 0);
  transition:
    transform 3400ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 2400ms ease;
  will-change: transform, opacity;
}

.go-heading-line--one {
  justify-self: start;
  position: relative;
}

.go-heading-line--two {
  justify-self: end;
  margin-top: 18px;
  margin-right: 52px;
  transform: translate3d(42px, 0, 0);
}

/* Gold underline sits under "Make Every" only. The wrapper hugs those two
   words exactly, so the rule auto-matches their width. */
.go-h1-emph {
  position: relative;
}

.go-h1-emph::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 65px;
  top: calc(100% + var(--rule-gap));
  height: var(--rule-height);
  background: var(--go-gold);
  opacity: 0;
  transform: translate3d(0, var(--rule-rise), 0);
  transition:
    transform 2200ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1500ms ease;
  will-change: transform, opacity;
}

.is-visible .go-h1-emph::after {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: var(--rule-delay);
}

.is-visible .go-heading-line--one {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 2650ms;
}

.is-visible .go-heading-line--two {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 2950ms;
}

.go-panel-row,
.go-label-row {
  display: grid;
  grid-template-columns: repeat(3, var(--panel-width));
  column-gap: var(--gap);
}

.go-label-row--below {
  margin-top: 16px;
}

.go-label-row--above {
  margin-top: 75px;
  margin-bottom: 8px;
}

.go-panel {
  position: relative;
  display: block;
  width: var(--panel-width);
  height: var(--panel-height);
  overflow: hidden;
  background: #e8e7e3;
  text-decoration: none;
}

.go-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transform-origin: center;
}

.go-panel--valentine,
.go-panel--wedding {
  background: #f7f4ef;
}

.valentine-video,
.valentine-placeholder,
.occasion-video,
.occasion-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: none;
}

.go-panel--valentine .valentine-video,
.go-panel--valentine .valentine-placeholder,
.go-panel--wedding .occasion-video,
.go-panel--wedding .occasion-placeholder {
  transform: none;
}

.valentine-placeholder,
.valentine-video,
.occasion-placeholder,
.occasion-video {
  position: absolute;
  inset: 0;
}

.valentine-placeholder,
.occasion-placeholder {
  z-index: 1;
}

.valentine-video,
.occasion-video {
  z-index: 2;
  opacity: 0;
  transition: opacity 360ms ease;
}

.go-panel--valentine.is-playing .valentine-video,
.go-panel--wedding.is-playing .occasion-video {
  opacity: 1;
}

.go-label {
  display: flex;
  flex-direction: column;
  align-items: center;             /* centre the ornament under the word(s) (owner 17 Jul 2026) */
  justify-self: center;            /* centre each label within its grid cell */
  width: fit-content;              /* label hugs the word so centring works */
  min-height: 26px;
  color: var(--text);
  /* Matched to the Shop by Category tile label style: elegant Cormorant serif,
     21px / weight 500, title case, no letter-spacing. */
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
  text-decoration: none;
  text-transform: none;
}

/* Gold ornament under each label: two short hairlines with a small rotated-
   square diamond floating in the gap between them (dash · diamond · dash).
   Drawn on a dedicated <i class="go-orn"> child so it always sits directly
   BELOW the word, left-aligned with a slight indent — matching the mockup. */
.go-orn {
  position: relative;
  display: block;
  width: 58px;
  height: 6px;
  margin-top: 4px;    /* gap between the word and the ornament (halved from 9px) */
  margin-left: 0;     /* centred under the label now — indent removed (owner 17 Jul 2026) */
}
.go-orn::before {     /* the two hairline segments, with a clear gap in the middle */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
  background:
    linear-gradient(rgba(168, 128, 26, 0.85), rgba(168, 128, 26, 0.85)) 0 50% / 23px 1px no-repeat,
    linear-gradient(rgba(168, 128, 26, 0.85), rgba(168, 128, 26, 0.85)) 100% 50% / 23px 1px no-repeat;
}
.go-orn::after {      /* the diamond — a real rotated square in the centre gap */
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.5px;
  height: 4.5px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: #a8801a;   /* consolidated gold-on-white (was #9f7b3f) */
}

/* "Shop the Collection" CTA — drops into the open space below the left group's
   labels, centred under that column. Gold-gradient button matching the Hero and
   Footer "Shop the Collection" exactly (Jost 500, uppercase, 0.18em tracking). */
.go-cta-row--left {
  display: flex;
  justify-content: center;
  margin-top: calc(3.3vw + 35px);   /* lands the button in the upper-middle of the empty area (nudged 15px lower, +20px net owner 17 Jul 2026) */
}
.go-shop-button {
  display: inline-block;
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 1.92vw, 17px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #14110b;
  background: linear-gradient(180deg, #C2A05C, #9F7B3F);
  padding: 17px 38px;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.25s ease;
}
.go-shop-button:hover,
.go-shop-button:focus-visible {
  filter: brightness(1.07);
}

.go-reveal-up,
.go-reveal-left,
.go-heading-fade {
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.go-reveal-up {
  transform: translate3d(0, 44px, 0);
  transition:
    transform 3600ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 2300ms ease;
  transition-delay: var(--delay, 0ms);
}

.go-reveal-left {
  transform: translate3d(54px, 0, 0);
  transition:
    transform 3700ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 2350ms ease;
  transition-delay: var(--delay, 0ms);
}

.go-heading-fade {
  opacity: 1;
  transition: none;
}

.is-visible .go-reveal-up,
.is-visible .go-reveal-left {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 1060px) {
  .go-section {
    --panel-width: min(29.6vw, 190px);
    padding-inline: 22px;
  }

  .go-layout {
    grid-template-columns: 1fr;
    row-gap: 58px;
    justify-items: center;
  }

  .go-group--right {
    padding-top: 0;
  }

  .go-heading {
    width: auto;
    margin-left: 0;
    text-align: center;
  }

  .go-heading-line {
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .go-section {
    --panel-width: calc((100vw - 58px) / 3);
    padding: 46px 18px 58px;
  }

  .go-label {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .go-reveal-up,
  .go-reveal-left,
  .go-heading-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .go-h1-emph::after {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
