@import url("/styles.css?v=3");
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');

/* ===== Alternate homepage — built off Odd Ritual Golf Club's real
   Webflow markup (grid ratios, aspect ratios, carousel behavior),
   adapted to our fonts/colors/content. ===== */

.accent-serif {
  font-family: "Instrument Serif", serif;
  font-style: italic;
}

/* ---- Hero graphic: single flat composite image (photo + rings already
   baked in) instead of the CSS-built circle-photo + ring divs, which were
   double-rendering the rings that are already part of the source image. ---- */
.hero-graphic-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Intro split (real 12-col grid, icon col ~1/12) ---- */
.intro-grid-v2 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
}

.intro-icon-v2 {
  grid-column: span 1;
}

.intro-icon-v2 img {
  width: 100%;
  max-width: 64px;
  height: auto;
}

.intro-copy-v2 {
  grid-column: 2 / span 10;
}

.intro-copy-v2 h1 {
  font-family: var(--body-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.15;
  max-width: 760px;
}

.intro-copy-v2 p {
  font-size: 14px;
  line-height: 21px;
  margin-top: 18px;
  max-width: 760px;
}

/* ---- Draggable / auto-scrolling product carousel ---- */
.product-draggable_wrap {
  padding: clamp(48px, 6vw, 90px) 0;
  overflow: hidden;
}

.or-info {
  max-width: 640px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  text-align: center;
}

.text-style_alt-large {
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
}

.product-draggable_el {
  display: flex;
  gap: 10px;
  width: max-content;
  padding: 0 clamp(24px, 5vw, 64px);
  cursor: grab;
  will-change: transform;
}

.product-draggable_el.dragging {
  cursor: grabbing;
}

.product-card {
  flex: none;
  width: clamp(220px, 26vw, 420px);
}

.product-img_wrap.is-slider {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111111;
}

.product-img_wrap.is-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* ---- Trio nav tiles (real 6/3/3 grid + hover caption) ---- */
.trio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.trio-tile {
  position: relative;
  display: block;
}

.trio-tile.is-lg {
  grid-column: span 6;
}

.trio-tile:not(.is-lg) {
  grid-column: span 3;
}

.trio-label {
  display: block;
  font-family: var(--nav-font);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 12px;
}

.trio-img_wrap {
  position: relative;
  aspect-ratio: 2.3 / 2.6;
  overflow: hidden;
}

.trio-img_wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.trio-tile:hover .trio-img_wrap img {
  transform: scale(1.05);
}

.trio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
}

.trio-tile:hover .trio-overlay {
  background: rgba(0, 0, 0, 0.35);
}

.trio-caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  padding: 0 clamp(16px, 2vw, 24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #ffffff;
}

.trio-caption.is-list {
  align-items: flex-start;
}

.trio-caption.is-list .cap-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.trio-tile:hover .trio-caption {
  opacity: 1;
}

.trio-caption .cap-title {
  font-family: var(--body-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
}

.bracket-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--nav-font);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: inherit;
}

.bracket-link .bracket {
  color: var(--accent);
}

/* ---- Row list (community-item equivalent) for Services / Industries ---- */
.row-list {
  border-top: 1px solid rgba(250, 250, 250, 0.15);
}

.row-item {
  position: relative;
  border-bottom: 1px solid rgba(250, 250, 250, 0.15);
  overflow: hidden;
}

.row-item .row-line {
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 0%;
  background: var(--accent);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.row-item.is-inview .row-line {
  width: 100%;
}

.row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.row-text {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(48px, 9vw, 130px);
  align-items: start;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 48px) clamp(28px, 4vw, 40px) clamp(24px, 5vw, 64px);
}

.row-copy h3 {
  font-family: var(--body-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(17px, 1.8vw, 21px);
  margin-bottom: 10px;
}

.row-copy p {
  font-size: 14px;
  line-height: 20px;
  color: rgba(250, 250, 250, 0.85);
  max-width: 380px;
}

.row-media {
  position: relative;
  aspect-ratio: 1.9643 / 1;
  overflow: hidden;
}

.row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Industries We Serve: mirror of the Services row layout — image on the left, text on the right */
#industries .row-text {
  order: 2;
}

#industries .row-media {
  order: 1;
}

/* ---- Shared section rhythm hairline ---- */
.section {
  border-top: 1px solid rgba(250, 250, 250, 0.08);
}

.hero + .marquee-section,
.marquee-section,
.final-cta,
.brand-incubator,
.why-ip-group {
  border-top: none;
}

.brand-incubator {
  padding: 0;
}

/* ---- Step-card / reason-card border glow hover effect (adapted from React Bits'
   BorderGlow, simplified to a single accent color instead of a multi-color mesh) ---- */
.step-card,
.reason-card {
  --edge-proximity: 0;
  --cursor-angle: 45deg;
  --edge-sensitivity: 30;
  --glow-padding: 16px;

  position: relative;
  isolation: isolate;
  border: 1px solid rgba(250, 250, 250, 0.15);
  border-radius: 0;
  padding: clamp(20px, 2.4vw, 28px);
}

.step-card .step-edge-light,
.reason-card .step-edge-light {
  content: "";
  position: absolute;
  inset: calc(var(--glow-padding) * -1);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: plus-lighter;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    black 2.5%, transparent 10%, transparent 90%, black 97.5%
  );
}

.step-card:hover .step-edge-light,
.reason-card:hover .step-edge-light {
  transition: opacity 0.25s ease-out;
  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
}

.step-card .step-edge-light::before,
.reason-card .step-edge-light::before {
  content: "";
  position: absolute;
  inset: var(--glow-padding);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(238, 251, 82, 1),
    inset 0 0 1px 0 rgba(238, 251, 82, 0.6),
    inset 0 0 3px 0 rgba(238, 251, 82, 0.5),
    inset 0 0 6px 0 rgba(238, 251, 82, 0.4),
    inset 0 0 15px 0 rgba(238, 251, 82, 0.3),
    inset 0 0 25px 2px rgba(238, 251, 82, 0.2),
    inset 0 0 50px 2px rgba(238, 251, 82, 0.1),
    0 0 1px 0 rgba(238, 251, 82, 0.6),
    0 0 3px 0 rgba(238, 251, 82, 0.5),
    0 0 6px 0 rgba(238, 251, 82, 0.4),
    0 0 15px 0 rgba(238, 251, 82, 0.3),
    0 0 25px 2px rgba(238, 251, 82, 0.2),
    0 0 50px 2px rgba(238, 251, 82, 0.1);
}

@media (max-width: 860px) {
  .intro-grid-v2 {
    grid-template-columns: 1fr;
  }

  .intro-icon-v2 {
    grid-column: auto;
  }

  .intro-icon-v2 img {
    max-width: 40px;
  }

  .intro-copy-v2 {
    grid-column: auto;
  }

  .trio-grid {
    grid-template-columns: 1fr;
  }

  .trio-tile.is-lg,
  .trio-tile:not(.is-lg) {
    grid-column: span 12;
  }

  .trio-caption {
    opacity: 1;
    position: static;
    padding: 12px 0 0;
    color: var(--fg);
  }

  .trio-overlay {
    display: none;
  }

  .row-grid {
    grid-template-columns: 1fr;
  }

  .row-text {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 12px;
  }

  .row-media {
    aspect-ratio: 4 / 3;
  }

  /* On mobile only, flip Services to image-then-text (Industries is already
     image-first via its desktop column mirror, so this just matches it). */
  #services .row-text {
    order: 2;
  }

  #services .row-media {
    order: 1;
  }
}

/* ---- Brand Incubator: two-column heading/copy overlaid directly on a
   full-bleed banner image with a dark overlay ---- */
.brand-incubator-media {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
}

.brand-incubator-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
  display: block;
}

.brand-incubator-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.57);
}

.brand-incubator-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.brand-incubator-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  width: 100%;
}

.brand-incubator-copy p {
  font-size: 14px;
  line-height: 20px;
  margin-top: 14px;
}

.brand-incubator-copy p:first-child {
  margin-top: 0;
}

@media (max-width: 860px) {
  /* Not enough height in a compact mobile banner to overlay this much
     copy legibly, so fall back to stacking the text below the image. */
  .brand-incubator-media {
    aspect-ratio: 4 / 3;
    overflow: visible;
  }

  .brand-incubator-overlay {
    position: static;
    display: block;
    padding-top: 24px;
    padding-bottom: 8px;
  }

  .brand-incubator-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
