/* generative.studio brand overrides for the Nicepage template.
   Loaded after nicepage.css + index.css so these win.
   The brand register: cream paper, ink, confident blue accent, EB Garamond
   editorial italics, JetBrains Mono for the labels and numerals. */

:root {
  --gs-ink: #0E0E0E;
  --gs-paper: #F1EEE6;
  --gs-paper-soft: #EDE9DD;
  --gs-blue: #3D69AD;
  --gs-saffron: #D89A4A;
  --gs-muted: rgba(14, 14, 14, 0.55);
  --gs-rule: rgba(14, 14, 14, 0.18);

  --ff-display: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --ff-sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ff-serif: 'Instrument Serif', Georgia, serif;
  /* Legacy alias still used by some old rules — points to display */
  --ff-display-legacy: var(--ff-display);
}

/* ───── Section divider rules ─────
   With every section now on ink, hairlines define the breaks. */

.gs-work,
#capsule,
.u-section-2,
.u-section-3,
.u-section-8 {
  border-top: 1px solid rgba(241, 238, 230, 0.10);
}


/* ───── Accessibility: focus-visible rings ─────
   Keyboard users need clear focus indicators. Brand-blue 2px ring with offset. */

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--gs-blue);
  outline-offset: 3px;
  border-radius: 2px;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gs-blue);
  outline-offset: 3px;
}

/* The capsule plate has its own thick border — offset focus outside it */
#gs-plate:focus-visible {
  outline-offset: 6px;
}

/* ───── Cursor: pointer on visibly-interactive elements ─────
   .gs-work-card and .gs-contact-mark have hover-lift; mark them pointer
   even though they're not links yet — communicates interactivity. */
.gs-work-card,
.gs-contact-mark {
  cursor: pointer;
}

/* ───── Touch-target hit areas ─────
   Brand wordmark link, email, and footer link need ≥44px hit area. The visible
   element can be smaller — use padding to extend the click region. */
.u-logo.gs-brand {
  min-height: 44px;
  padding: 4px 0 !important;
}

.gs-contact-email {
  min-height: 44px;
  padding-top: 6px;
  padding-bottom: 6px !important;
}

.gs-footer-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 14px 4px;
  margin: -14px -4px;
}

/* ───── Interaction layer ───── */

/* Smooth scroll for in-page anchors (interactions.js also handles older browsers) */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Scroll-revealed elements: CSS controls the initial hidden state so there's
   no flash-of-visible-then-invisible. JS only adds `.is-revealed` to land them. */
html.js .gs-reveal-target,
html.js .u-section-1 h1,
html.js .gs-work-h2,
html.js .gs-work-card,
html.js .gs-capsule-frame,
html.js #gs-plate,
html.js #method h2,
html.js .u-section-2 .u-list-item,
html.js .u-section-2 .u-image-1,
html.js #block-3 h2,
html.js #block-3 p,
html.js .gs-partner,
html.js .gs-contact-h3,
html.js .gs-contact-body,
html.js .gs-contact-email,
html.js .gs-contact-mark,
html.js .gs-colophon-block {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms cubic-bezier(.2,.7,.3,1),
              transform 420ms cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}

html.js .is-revealed,
html.js .is-revealed.gs-reveal-target,
html.js .u-section-1 h1.is-revealed,
html.js .gs-work-h2.is-revealed,
html.js .gs-work-card.is-revealed,
html.js .gs-capsule-frame.is-revealed,
html.js #gs-plate.is-revealed,
html.js #method h2.is-revealed,
html.js .u-section-2 .u-list-item.is-revealed,
html.js .u-section-2 .u-image-1.is-revealed,
html.js #block-3 h2.is-revealed,
html.js #block-3 p.is-revealed,
html.js .gs-partner.is-revealed,
html.js .gs-contact-h3.is-revealed,
html.js .gs-contact-body.is-revealed,
html.js .gs-contact-email.is-revealed,
html.js .gs-contact-mark.is-revealed,
html.js .gs-colophon-block.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Method section: same quick reveal as the rest, no slow-down */

/* If motion is reduced, never animate */
@media (prefers-reduced-motion: reduce) {
  html.js .gs-reveal-target,
  html.js [class*="reveal"],
  html.js .u-section-1 h1,
  html.js #method h2,
  html.js #block-3 h2,
  html.js #block-3 p,
  html.js .gs-work-card,
  html.js .gs-partner,
  html.js .gs-contact-h3,
  html.js .gs-contact-body,
  html.js .gs-contact-email,
  html.js .gs-contact-mark,
  html.js .gs-colophon-block,
  html.js .u-section-2 .u-list-item,
  html.js .u-section-2 .u-image-1,
  html.js .gs-work-h2,
  html.js .gs-capsule-frame,
  html.js #gs-plate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Tilt elements snap back faster — studio feel, not editorial */
#gs-plate,
.gs-contact-mark {
  transition: transform 220ms cubic-bezier(.2,.7,.3,1);
  transform-style: preserve-3d;
}

/* Hairline scroll-progress at the very top of the viewport */
.gs-scrollbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 154, 74, 0.7), rgba(61, 105, 173, 0.85));
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 2500;
  pointer-events: none;
  will-change: transform;
}

/* ───── Foundations ───── */

body,
.u-body {
  background-color: var(--gs-ink) !important;
  color: var(--gs-paper);
  font-family: var(--ff-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

/* Subtle film-grain overlay across the whole page. SVG fractal noise,
   barely visible (3% opacity) — adds organic texture to the flat ink. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.11;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* The template hard-codes Open Sans / Roboto on most text classes. Override
   broadly — anything that doesn't explicitly want serif or mono stays sans. */
.u-text,
.u-text-default,
h1, h2, h3, h4, h5, h6, p {
  font-family: var(--ff-sans);
}

/* Hero italic tail — Instrument Serif italic, sole serif accent on the page */
.u-section-1 h1 em,
.u-section-1 h1 i {
  font-family: var(--ff-serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em;
}

/* Method + partnership headlines → display sans, heavy weight */
.u-section-2 h2,
.u-section-3 h2 {
  font-family: var(--ff-display) !important;
  font-weight: 700 !important;
  font-style: normal !important;
  letter-spacing: -0.028em;
  line-height: 1 !important;
}

/* /01 /02 /03 numerals — mono, tracked */
.u-section-2 .gs-step-num,
.u-section-2 h6 {
  font-family: var(--ff-mono) !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  font-size: 0.78rem !important;
  opacity: 0.55;
}

/* Contact headline — display sans heavy, tight */
.u-section-8 h3 {
  font-family: var(--ff-display) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: -0.028em !important;
  font-size: clamp(2.4rem, 4vw, 3.6rem) !important;
  line-height: 0.96 !important;
  margin-bottom: 0 !important;
}

.u-section-8 h6 {
  font-family: var(--ff-sans) !important;
  font-weight: 400 !important;
  font-size: 1.05rem !important;
  line-height: 1.45 !important;
  opacity: 0.78;
}

/* ───── Section frame: tiny mono № 00X labels (editorial register) ───── */

.gs-section-num {
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(241, 238, 230, 0.55);
  display: block;
  margin-bottom: 18px;
}

.u-palette-3-base .gs-section-num {
  color: rgba(255, 255, 255, 0.55);
}

/* ───── Hero (Section 1) ───── */

.u-section-1 {
  /* Slightly lift the bottom of the hero so the cards float a touch over it. */
  padding-bottom: 0 !important;
}

.u-section-1 .u-text-body-alt-color {
  color: var(--gs-paper) !important;
  font-family: var(--ff-display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.034em;
  line-height: 0.96;
}

/* ───── Cards (Section 1, palette-3-base): black inverted, 3-up grid ───── */

.u-palette-3-base,
.u-body.u-palette-3-base,
section.u-palette-3-base:before,
.u-palette-3-base > .u-container-layout:before,
.u-palette-3-base > .u-inner-container-layout:before {
  background-color: var(--gs-ink) !important;
  color: #ffffff !important;
}

.u-palette-3-base .u-text,
.u-palette-3-base h1,
.u-palette-3-base h2,
.u-palette-3-base h3,
.u-palette-3-base h4,
.u-palette-3-base h5,
.u-palette-3-base p {
  color: #ffffff !important;
}

.u-palette-3-base .u-text-grey-75 {
  color: rgba(255, 255, 255, 0.72) !important;
}

/* Force the cards' grid to 3 columns instead of the template's 4 — the
   template's repeater is grid-auto-flow on a 4-track template; we collapse
   to 3 explicit tracks so our 3 cards fill the row cleanly. */
.u-section-1 .u-repeater,
.u-section-1 .u-repeater-1 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

@media (max-width: 900px) {
  .u-section-1 .u-repeater,
  .u-section-1 .u-repeater-1 {
    grid-template-columns: 1fr !important;
  }
}

/* Card icon: turn it into the blue brand accent */
.u-palette-3-base .u-icon,
.u-text-palette-3-dark-1,
.u-text-palette-3-base,
.u-text-palette-3-dark-2,
.u-text-palette-3-dark-3 {
  color: var(--gs-blue) !important;
}

.u-palette-3-base .u-icon svg path,
.u-palette-3-base .u-icon svg circle,
.u-palette-3-base .u-icon svg g {
  fill: var(--gs-blue);
}

/* Card title — display sans, heavy */
.u-palette-3-base h4 {
  font-family: var(--ff-display) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: -0.028em !important;
  font-size: 1.5rem !important;
  margin-top: 12px !important;
}

/* Card body — generous line-height */
.u-palette-3-base .u-text-grey-75 {
  font-family: var(--ff-sans) !important;
  font-size: 0.98rem !important;
  line-height: 1.45 !important;
  margin-top: 8px !important;
}

/* ───── Section 2 (method): black ground, cream type */

.u-section-2 {
  background-color: var(--gs-ink) !important;
}

.u-section-2 .u-text {
  color: var(--gs-paper);
}

.u-section-2 .u-text-body-alt-color {
  color: var(--gs-paper) !important;
}

.u-section-2 h2 {
  color: var(--gs-paper) !important;
}

.u-section-2 .gs-section-num {
  color: rgba(241, 238, 230, 0.55) !important;
}

/* Step intros (Brief. / Build. / Deliver.) — display sans, blue */
.u-section-2 .u-text-body-alt-color strong {
  font-family: var(--ff-display) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: -0.022em;
  color: var(--gs-blue);
  font-size: 1.18em;
  margin-right: 8px;
  display: inline-block;
}

/* Step body line height + size + cream-on-ink */
.u-section-2 .u-text-body-alt-color {
  font-size: 1.02rem !important;
  line-height: 1.5 !important;
  color: var(--gs-paper) !important;
}

/* Method step cards: outlined panels on the new black ground */
.u-section-2 .u-list-item {
  background-color: transparent !important;
  border: 1px solid rgba(241, 238, 230, 0.18) !important;
  padding: 28px 26px !important;
}

.u-section-2 .u-list-item:hover {
  border-color: var(--gs-blue) !important;
}

/* Step cards (method) — turn off the dark filled background, become quiet outlined panels */
.u-section-2 .u-list-item {
  background-color: transparent !important;
  border: 1px solid var(--gs-rule) !important;
  padding: 28px 26px !important;
}

.u-section-2 .u-list-item:hover {
  border-color: var(--gs-blue) !important;
  transition: border-color 280ms ease;
}

.u-section-2 .u-icon {
  color: var(--gs-blue) !important;
}

.u-section-2 .u-icon svg path,
.u-section-2 .u-icon svg circle,
.u-section-2 .u-icon svg g {
  fill: var(--gs-blue);
}

/* Section 2 — flex row, two equal-height columns */
.u-section-2 {
  padding: 140px 0 130px !important;
  position: relative !important;
}

.u-section-2 .u-sheet-1 {
  padding: 0 56px !important;
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 80px !important;
  align-items: stretch !important;
}

/* Left column wrapper: holds eyebrow + H2 + step list */
.gs-method-left {
  flex: 1 1 720px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.u-section-2 .gs-section-num {
  display: block !important;
  margin-bottom: 18px !important;
}

#method h2 {
  max-width: 18ch !important;
  font-size: clamp(40px, 5.2vw, 76px) !important;
  margin: 0 0 36px !important;
  padding-bottom: 28px !important;
  border-bottom: 1px solid rgba(241, 238, 230, 0.14);
}

.u-section-2 .u-list-1 {
  margin: 0 !important;
  max-width: 100% !important;
}

.u-section-2 .u-repeater {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

/* Right column: image, stretches to match left column height */
.u-section-2 .u-image-1 {
  display: block !important;
  border-radius: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  position: static !important;
  flex: 0 0 480px !important;
  align-self: stretch !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
}

.u-section-2 .u-preserve-proportions-child {
  display: none !important;
}

/* Each step: full-width row, no box, hairline above each */
.u-section-2 .u-list-item {
  background-color: transparent !important;
  border: none !important;
  border-top: 1px solid rgba(241, 238, 230, 0.10) !important;
  padding: 32px 0 32px 0 !important;
  margin: 0 !important;
}

.u-section-2 .u-list-item:last-child {
  border-bottom: 1px solid rgba(241, 238, 230, 0.10);
}

.u-section-2 .u-list-item:hover {
  border-top-color: var(--gs-blue) !important;
}

.u-section-2 .u-container-layout {
  display: grid !important;
  grid-template-columns: 80px 1fr !important;
  gap: 32px !important;
  align-items: baseline !important;
  background-color: transparent !important;
}

/* The mono numeral on the LEFT, big and confident */
.u-section-2 .gs-step-num,
.u-section-2 h6 {
  font-family: var(--ff-mono) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  letter-spacing: 0.26em !important;
  text-transform: uppercase !important;
  color: var(--gs-blue) !important;
  text-align: left !important;
  margin: 0 !important;
  opacity: 1 !important;
  order: -1 !important;
  display: block !important;
}

/* Step body text on the right, larger */
.u-section-2 .u-text-body-alt-color {
  font-size: 1.18rem !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  max-width: 38ch !important;
}

/* ───── Logo: cap size, no band-aid cream box ─────
   The logo PNG has a white-card background baked in. On cream sections
   multiply blends it cleanly. On dark sections we accept that the white
   shows — fixing this needs a transparent PNG export. Don't add a cream
   sticker around it; that just shouts "I have no idea what I'm doing." */

/* Logo: new bronze yacht-and-wave mark on black — sits naturally on the ink
   header with no chip / sticker needed. */
.u-logo-image {
  height: 48px !important;
  width: 48px !important;
  max-height: 48px !important;
  object-fit: contain;
  mix-blend-mode: normal;
  border-radius: 0;
  box-shadow: none;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 14px rgba(216, 154, 74, 0.12));
}

/* Brand lockup: mark + wordmark */
.gs-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px;
  padding: 0 !important;
  text-decoration: none;
  color: inherit;
}

.gs-brand-wordmark {
  font-family: var(--ff-display);
  font-style: normal;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.024em;
  color: var(--gs-paper);
  white-space: nowrap;
}

.gs-header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
  max-width: none !important;
}

@media (max-width: 640px) {
  .u-logo-image {
    height: 40px !important;
    width: 40px !important;
    max-height: 40px !important;
  }
  .gs-brand-wordmark {
    font-size: 1.12rem;
  }
}

/* Give the logo + nav some breathing room in the header */
.u-header {
  padding: 18px 0 !important;
}

.u-header .u-sheet-1 {
  padding-left: 28px !important;
  padding-right: 28px !important;
  max-width: none !important;
}

/* ───── Hero composition — anchor bottom-left, cinematic ─────
   The headline anchors to the bottom-left of the hero, over the dark water.
   Bigger type. Generous left margin. The italic tail breaks the grid and
   ends with a confident period. */

.u-section-1 {
  min-height: 88vh !important;
  position: relative !important;
  overflow: hidden !important;
}

/* ───── Hero stage: layered motion ─────
   .gs-hero-stage = outer wrapper, takes the cursor-parallax shift via CSS vars.
   .gs-hero-bg    = the photo, slow Ken Burns continuous zoom keyframe.
   Both behind the section gradient overlay (which lives on .u-section-1 itself). */

.gs-hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  --gs-px: 0;
  --gs-py: 0;
  transform: translate3d(calc(var(--gs-px) * 14px), calc(var(--gs-py) * 14px), 0);
  transition: transform 600ms cubic-bezier(.2,.7,.3,1);
  will-change: transform;
}

.gs-hero-bg {
  position: absolute;
  inset: -4%;
  background-image: image-set(
    url('images/hero.webp') type('image/webp'),
    url('images/hero.jpg') type('image/jpeg')
  );
  background-image: url('images/hero.webp');
  background-size: cover;
  background-position: 50% 55%;
  animation: gs-hero-zoom 24s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes gs-hero-zoom {
  from { transform: scale(1.0) translate3d(0, 0, 0); }
  to   { transform: scale(1.10) translate3d(-2%, -1%, 0); }
}

/* Drifting fine grain texture for atmosphere */
.gs-hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.07;
  mix-blend-mode: overlay;
  animation: gs-hero-grain 8s steps(8) infinite;
}

@keyframes gs-hero-grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -2%); }
  80%  { transform: translate(3%, 1%); }
  100% { transform: translate(0, 0); }
}

/* Make the section content sit ABOVE the stage. (.gs-hero-coords is excluded —
   it needs `position: absolute` to anchor top-right, set below.) */
.u-section-1 .u-sheet-1 {
  position: relative !important;
  z-index: 2 !important;
}

.u-section-1::before,
.u-section-1::after {
  z-index: 3;
}

/* The section's own background-image (gradient overlay) sits between the stage
   and the content — that's its natural layer. */

@media (prefers-reduced-motion: reduce) {
  .gs-hero-bg,
  .gs-hero-grain {
    animation: none !important;
  }
  .gs-hero-stage {
    transform: none !important;
    transition: none !important;
  }
}

.u-section-1 .u-sheet-1 {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  padding-bottom: 72px !important;
  min-height: 88vh !important;
}

.u-section-1 .gs-section-num {
  margin-bottom: 24px !important;
  color: rgba(241, 238, 230, 0.7) !important;
  letter-spacing: 0.32em !important;
}

.u-section-1 h1.gs-hero-h1 {
  max-width: 18ch !important;
  font-size: clamp(56px, 7.2vw, 124px) !important;
  line-height: 0.94 !important;
  letter-spacing: -0.034em !important;
  font-weight: 700 !important;
  margin: 0 !important;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 4px 24px rgba(0, 0, 0, 0.65),
    0 0 80px rgba(0, 0, 0, 0.4);
}

.u-section-1 .gs-hero-tail {
  color: rgba(241, 238, 230, 0.96) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  display: block;
  margin-top: 6px;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 4px 22px rgba(0, 0, 0, 0.65);
}

/* Cinematic frame marks — four corner brackets, paper-cream, very thin */
.u-section-1::before,
.u-section-1::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(241, 238, 230, 0.5);
  pointer-events: none;
  z-index: 3;
}

.u-section-1::before {
  top: 96px;
  left: 56px;
  border-right: none;
  border-bottom: none;
}

.u-section-1::after {
  bottom: 32px;
  right: 56px;
  border-left: none;
  border-top: none;
}

/* Right-side eyebrow at the hero top — studio location */
.gs-hero-coords {
  position: absolute;
  top: 152px;
  right: 56px;
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(241, 238, 230, 0.92);
  z-index: 4;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(241, 238, 230, 0.28);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 0 14px rgba(0, 0, 0, 0.5);
}

@media (max-width: 760px) {
  .gs-hero-coords {
    top: 96px;
    right: 22px;
    font-size: 9px;
    letter-spacing: 0.28em;
  }
}

/* ───── Work section — editorial 3-column with hairlines ─────
   No box-grid. The /01 /02 /03 ride big at the top, hairlines above and
   below define the row. Type does the work, not borders. */

.gs-work {
  background: var(--gs-ink);
  padding: 100px 56px 110px;
  position: relative;
}

.gs-work-frame {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: baseline;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(241, 238, 230, 0.14);
  margin-bottom: 96px;
}

.gs-work-num {
  margin-bottom: 0 !important;
  color: rgba(241, 238, 230, 0.55) !important;
}

.gs-work-h2 {
  font-family: var(--ff-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1;
  letter-spacing: -0.024em;
  color: var(--gs-paper);
  margin: 0;
  max-width: 22ch;
}

.gs-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  position: relative;
}

.gs-work-card {
  background: rgba(241, 238, 230, 0.015);
  border: 1px solid rgba(241, 238, 230, 0.10);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  position: relative;
  overflow: hidden;
  transition: transform 320ms cubic-bezier(.2,.7,.3,1),
              border-color 320ms cubic-bezier(.2,.7,.3,1),
              background 320ms cubic-bezier(.2,.7,.3,1);
}

/* Soft inner glow that slides in from the bottom on hover */
.gs-work-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: radial-gradient(ellipse 80% 70% at 50% 100%,
              rgba(61, 105, 173, 0.16) 0%,
              rgba(61, 105, 173, 0) 70%);
  opacity: 0;
  transition: opacity 420ms cubic-bezier(.2,.7,.3,1);
  pointer-events: none;
}

.gs-work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 105, 173, 0.45);
  background: rgba(241, 238, 230, 0.025);
}

.gs-work-card:hover::after {
  opacity: 1;
}

/* ───── Per-card visual zones at the top of each box ───── */
.gs-work-card-visual {
  position: relative;
  width: 100%;
  height: 96px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(241, 238, 230, 0.08);
  padding-bottom: 20px;
}

/* ── Card 1: Web / Software — a tiny browser window with a blinking caret ── */
.gs-vis-window {
  position: relative;
  width: 132px;
  height: 76px;
  border: 1px solid rgba(241, 238, 230, 0.24);
  border-radius: 4px;
  background: rgba(241, 238, 230, 0.02);
  overflow: hidden;
}

.gs-vis-window::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 16px;
  background: rgba(241, 238, 230, 0.05);
  border-bottom: 1px solid rgba(241, 238, 230, 0.12);
}

.gs-vis-dot {
  position: absolute;
  top: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(241, 238, 230, 0.28);
}
.gs-vis-dot:nth-child(1) { left: 8px; }
.gs-vis-dot:nth-child(2) { left: 18px; }
.gs-vis-dot:nth-child(3) { left: 28px; }

.gs-vis-caret {
  position: absolute;
  top: 36px;
  left: 14px;
  width: 8px;
  height: 14px;
  background: var(--gs-blue);
  opacity: 0;
  transition: opacity 200ms ease;
}

[data-card="web"]:hover .gs-vis-caret {
  opacity: 1;
  animation: gs-blink 1100ms steps(2, jump-none) infinite;
}

@keyframes gs-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ── Card 2: Film — 16:9 frame with a playhead sweep ── */
.gs-vis-frame {
  position: relative;
  width: 132px;
  height: 76px;
  border: 1px solid rgba(241, 238, 230, 0.24);
  background: rgba(241, 238, 230, 0.02);
  overflow: hidden;
}

.gs-vis-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 14px solid rgba(241, 238, 230, 0.6);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  transition: border-left-color 200ms ease, transform 320ms ease;
}

[data-card="film"]:hover .gs-vis-play {
  border-left-color: var(--gs-blue);
  transform: translate(-50%, -50%) scale(1.1);
}

.gs-vis-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(61, 105, 173, 0.7);
  box-shadow: 0 0 8px rgba(61, 105, 173, 0.5);
  opacity: 0;
}

[data-card="film"]:hover .gs-vis-playhead {
  opacity: 1;
  animation: gs-playhead 2400ms cubic-bezier(.4, 0, .6, 1) infinite;
}

@keyframes gs-playhead {
  0%   { left: -1px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ── Card 3: Imagery — concentric bronze rings (aperture) ── */
.gs-vis-aperture {
  position: relative;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gs-vis-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(216, 154, 74, 0.55);
  transition: transform 420ms cubic-bezier(.2,.7,.3,1),
              border-color 420ms cubic-bezier(.2,.7,.3,1),
              opacity 420ms cubic-bezier(.2,.7,.3,1);
}

.gs-vis-ring-1 {
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
}
.gs-vis-ring-2 {
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-color: rgba(216, 154, 74, 0.35);
}
.gs-vis-ring-3 {
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  background: rgba(216, 154, 74, 0.16);
  border-color: rgba(216, 154, 74, 0.65);
}

[data-card="imagery"]:hover .gs-vis-ring-1 {
  transform: translate(-50%, -50%) scale(1.12);
  border-color: rgba(216, 154, 74, 0.85);
}
[data-card="imagery"]:hover .gs-vis-ring-2 {
  transform: translate(-50%, -50%) scale(0.92);
  border-color: rgba(216, 154, 74, 0.55);
}
[data-card="imagery"]:hover .gs-vis-ring-3 {
  transform: translate(-50%, -50%) scale(0.7);
  background: rgba(216, 154, 74, 0.42);
}

@media (prefers-reduced-motion: reduce) {
  .gs-vis-caret,
  .gs-vis-playhead,
  .gs-vis-ring {
    animation: none !important;
    transition: none !important;
  }
}

/* Oversized mono numerals, brand-blue */
.gs-work-card-num {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gs-blue);
  margin: 0;
}

.gs-work-card-title {
  font-family: var(--ff-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 0.96;
  letter-spacing: -0.032em;
  color: var(--gs-paper);
  margin: 0;
}

.gs-work-card-sep {
  font-style: normal;
  color: var(--gs-blue);
  margin: 0 6px;
  font-weight: 400;
}

.gs-work-card-body {
  font-family: var(--ff-sans);
  font-size: 1.04rem;
  line-height: 1.5;
  color: rgba(241, 238, 230, 0.65);
  margin: 0;
  max-width: 28ch;
}

/* ───── Mobile fixes ───── */

@media (max-width: 880px) {
  /* Force the body out of u-xl-mode display assumptions. */
  body, .u-body {
    min-width: 0 !important;
    overflow-x: hidden !important;
  }
  .u-sheet, .u-sheet-1 {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
    box-sizing: border-box !important;
  }
  .u-section-1 .u-sheet,
  .u-section-1 .u-sheet-1 {
    min-height: 560px !important;
  }
  .u-section-1 {
    min-height: 600px !important;
  }
  .u-logo-image {
    max-height: 40px !important;
  }
  /* Hero text on mobile */
  .u-section-1 h1.gs-hero-h1 {
    font-size: clamp(34px, 10vw, 56px) !important;
    max-width: 100% !important;
  }
  /* Work cards: single column */
  .gs-work {
    padding: 64px 22px !important;
  }
  .gs-work-frame {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .gs-work-grid {
    grid-template-columns: 1fr !important;
  }
  .gs-work-card {
    min-height: auto !important;
    padding: 32px 24px !important;
  }
  /* Capsule plate keeps 16:9 */
  .gs-capsule {
    padding: 56px 22px 32px !important;
  }
  /* Method block: collapse the flex row to single column on mobile */
  .u-section-2 {
    padding: 60px 0 !important;
  }
  .u-section-2 .u-sheet-1 {
    flex-direction: column !important;
    gap: 32px !important;
    padding: 0 22px !important;
    align-items: stretch !important;
  }
  .gs-method-left {
    flex: 1 1 auto !important;
  }
  .u-section-2 .u-image-1 {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    min-height: 360px !important;
    margin-top: 16px !important;
    align-self: stretch !important;
  }
  #method h2 {
    max-width: 100% !important;
    font-size: clamp(34px, 8.8vw, 56px) !important;
    margin-bottom: 36px !important;
  }
  .u-section-2 .u-list-item {
    padding: 22px !important;
  }
  /* Contact: stack the columns */
  .u-section-8 {
    padding: 64px 22px !important;
  }
  .u-section-8 .u-layout-row {
    display: flex !important;
    flex-direction: column !important;
  }
  .u-section-8 .u-layout-cell {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 !important;
  }
  /* Partnership: tighter padding */
  .u-section-3 {
    padding: 64px 22px !important;
  }
  .u-section-3 h2 {
    font-size: clamp(24px, 7vw, 36px) !important;
  }
  .gs-partners {
    gap: 32px !important;
  }
  .gs-partner img {
    height: 64px !important;
  }
  /* Header on mobile */
  .u-header .u-sheet-1 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  /* Plate caption sizing */
  .gs-plate-caption-title {
    font-size: 22px !important;
  }
}

/* ───── Force responsive even if Nicepage's u-xl-mode lingers ───── */

@media (max-width: 1200px) {
  body.u-xl-mode {
    /* Strip the fixed-XL assumption */
  }
}

/* ───── Section 3 (partnership black band) ───── */

.u-section-3 {
  padding: 110px 24px !important;
}

.u-section-3 h2 {
  font-size: clamp(2rem, 3.8vw, 3.6rem) !important;
  line-height: 1.05 !important;
  max-width: 18ch;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ───── Legacy section 8 (kept hidden) ───── */
#contact-legacy { display: none !important; }

/* ───── Contact section — new editorial composition ───── */

.gs-contact {
  background: var(--gs-ink);
  padding: 130px 56px 110px;
  position: relative;
  --spot-x: 50%;
  --spot-y: 50%;
  --spot-opacity: 0;
  overflow: hidden;
}

/* Cursor spotlight — a soft blue-tinted radial that tracks the cursor over the
   contact section. Position + opacity driven by CSS custom props set in JS. */
.gs-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    520px circle at var(--spot-x) var(--spot-y),
    rgba(61, 105, 173, 0.22) 0%,
    rgba(61, 105, 173, 0.08) 28%,
    rgba(61, 105, 173, 0) 60%
  );
  opacity: var(--spot-opacity);
  transition: opacity 320ms cubic-bezier(.2,.7,.3,1);
  z-index: 0;
  mix-blend-mode: screen;
}

.gs-contact > * {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .gs-contact::before { opacity: 0 !important; }
}

.gs-contact-frame {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(241, 238, 230, 0.14);
  margin-bottom: 96px;
}

.gs-contact-frame .gs-section-num {
  margin-bottom: 0 !important;
}

.gs-contact-coords {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(241, 238, 230, 0.55);
  display: flex;
  gap: 14px;
  align-items: center;
}

.gs-contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.gs-contact-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 32ch;
}

.gs-contact-h3 {
  font-family: var(--ff-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(56px, 7vw, 124px);
  line-height: 0.92;
  letter-spacing: -0.038em;
  color: var(--gs-paper);
  margin: 0;
}

.gs-contact-body {
  font-family: var(--ff-sans);
  font-size: 1.12rem;
  line-height: 1.45;
  color: rgba(241, 238, 230, 0.7);
  margin: 0;
  max-width: 26ch;
}

.gs-contact-email {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--ff-display);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--gs-blue);
  text-decoration: none;
  padding-bottom: 4px;
  align-self: flex-start;
  position: relative;
  transition: color 200ms cubic-bezier(.2,.7,.3,1);
}

/* Static base underline — sits at brand blue, half-strength */
.gs-contact-email::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(61, 105, 173, 0.45);
  transform-origin: 0 50%;
  transition: background 200ms cubic-bezier(.2,.7,.3,1);
}

/* Overlay underline — draws left-to-right on hover, in paper cream */
.gs-contact-email::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gs-paper);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 420ms cubic-bezier(.2,.7,.3,1);
  pointer-events: none;
}

.gs-contact-email:hover {
  color: var(--gs-paper);
}

.gs-contact-email:hover::after {
  transform: scaleX(1);
}

/* Middle column: the mark, dead-center as the visual anchor of the page */
.gs-contact-mark {
  width: 320px;
  height: 320px;
  margin: 0;
  padding: 0;
  position: relative;
  justify-self: center;
  align-self: center;
}

.gs-contact-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* PNG/WebP have transparent backgrounds — bronze floats on any surface.
     Subtle bronze glow lifts it from the page. */
  filter: drop-shadow(0 8px 36px rgba(216, 154, 74, 0.10));
  transition: transform 600ms cubic-bezier(.2,.7,.3,1), filter 600ms ease;
}

.gs-contact-mark:hover img {
  transform: scale(1.03);
  filter: drop-shadow(0 16px 70px rgba(216, 154, 74, 0.22));
}

/* Right column: colophon */
.gs-contact-colophon {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(241, 238, 230, 0.10);
  width: 100%;
  max-width: 320px;
  justify-self: end;
}

.gs-colophon-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gs-colophon-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(241, 238, 230, 0.5);
}

.gs-colophon-value {
  font-family: var(--ff-display);
  font-style: normal;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.018em;
  color: var(--gs-paper);
}

@media (max-width: 880px) {
  .gs-contact {
    padding: 80px 22px 64px;
  }
  .gs-contact-inner {
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: start;
  }
  .gs-contact-mark {
    width: 220px;
    height: 220px;
    justify-self: center;
  }
  .gs-contact-colophon {
    justify-self: start;
    max-width: 100%;
  }
  .gs-contact-frame {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .gs-contact-h3 {
    font-size: clamp(40px, 11vw, 76px) !important;
  }
  /* The email is long — let it shrink on narrow viewports */
  .gs-contact-email {
    font-size: clamp(18px, 4.4vw, 28px) !important;
    word-break: break-word;
  }
}

/* ───── Header (palette-5-dark-3) ───── */

.u-palette-5-dark-3 {
  background-color: var(--gs-ink) !important;
  color: var(--gs-paper) !important;
}

.u-palette-5-dark-3 .u-nav-link {
  color: var(--gs-paper) !important;
  font-family: var(--ff-mono) !important;
  font-weight: 500 !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.u-text-hover-palette-2-base:hover,
.u-text-active-palette-1-base:active,
.u-text-active-palette-1-base.active {
  color: var(--gs-blue) !important;
}

/* Logo: multiply-blend on cream, screen on dark headers */
.u-logo-image {
  mix-blend-mode: multiply;
}

.u-palette-5-dark-3 .u-logo-image,
.u-section-1 .u-logo-image,
.u-section-3 .u-logo-image,
.u-section-8 .u-logo-image {
  mix-blend-mode: screen;
}

/* Footer (legacy class no longer used; new gs-footer below) */
.u-footer {
  background-color: var(--gs-ink) !important;
}

.gs-footer {
  background: var(--gs-ink);
  border-top: 1px solid rgba(241, 238, 230, 0.10);
  padding: 36px 56px;
}

.gs-footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
}

.gs-footer-mark {
  font-family: var(--ff-display);
  font-style: normal;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.022em;
  color: var(--gs-paper);
}

.gs-footer-cols {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(241, 238, 230, 0.42);
  display: flex;
  gap: 12px;
  justify-self: center;
}

.gs-footer-link {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(241, 238, 230, 0.7);
  text-decoration: none;
  transition: color 240ms ease;
}

.gs-footer-link:hover {
  color: var(--gs-blue);
}

@media (max-width: 760px) {
  .gs-footer {
    padding: 28px 22px;
  }
  .gs-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }
  .gs-footer-cols {
    justify-self: center;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ───── Hero video plate (Section: capsule) ───── */

.gs-capsule {
  padding: 80px 56px 40px;
  background: var(--gs-ink);
  position: relative;
}

.gs-capsule-frame {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(241, 238, 230, 0.55);
}

.gs-plate {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #0a0d10;
  border: 1px solid var(--gs-rule);
  cursor: pointer;
  transition: transform 320ms cubic-bezier(.2,.7,.3,1);
}

.gs-plate iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  /* Hidden until user explicitly starts. Avoids the Cloudflare Stream
     domain-allowlist error showing through locally, and avoids the iframe
     stacking-context overriding the poster overlay. */
  opacity: 0;
  z-index: 0;
}

.gs-plate.is-started iframe {
  opacity: 1;
  z-index: 1;
}

.gs-plate-poster {
  z-index: 1;
}

.gs-plate-shroud,
.gs-plate-play,
.gs-plate-corner-tl,
.gs-plate-caption {
  z-index: 2;
}

.gs-plate-poster {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  transition: opacity 600ms cubic-bezier(.2,.7,.3,1);
}

.gs-plate.is-started .gs-plate-poster {
  opacity: 0;
}

.gs-plate-shroud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.20) 0%,
    rgba(0,0,0,0) 24%,
    rgba(0,0,0,0) 58%,
    rgba(0,0,0,0.55) 100%);
}

.gs-plate-play {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 280ms cubic-bezier(.2,.7,.3,1);
}

.gs-plate.is-playing .gs-plate-play {
  opacity: 0;
}

.gs-plate-play-button {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(241, 238, 230, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 50px -12px rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  transition: transform 240ms cubic-bezier(.2,.7,.3,1);
}

/* Quiet ring around the play button — only appears + expands on plate hover */
.gs-plate-play-button::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(241, 238, 230, 0.42);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 280ms cubic-bezier(.2,.7,.3,1),
              transform 380ms cubic-bezier(.2,.7,.3,1);
  pointer-events: none;
}

#gs-plate:hover .gs-plate-play-button::before {
  opacity: 1;
  transform: scale(1.06);
}

#gs-plate:hover .gs-plate-play-button {
  transform: scale(1.03);
}

.gs-plate-corner-tl {
  position: absolute;
  top: 20px;
  left: 24px;
  pointer-events: none;
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}

.gs-plate-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  pointer-events: none;
  color: var(--gs-paper);
}

.gs-plate-caption-eyebrow {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.gs-plate-caption-title {
  margin-top: 6px;
  font-family: var(--ff-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.018em;
}

.gs-plate-caption-num {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ───── Partner logo row (Section 3) — bigger, deliberate paper-card chips ───── */

.gs-partners {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  margin: 72px auto 0;
  max-width: 920px;
  position: relative;
}

/* Vertical hairline between the two cards */
.gs-partners::after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 50%;
  width: 1px;
  background: rgba(241, 238, 230, 0.16);
  transform: translateX(-50%);
  pointer-events: none;
}

.gs-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-decoration: none;
  padding: 36px 48px;
  background: var(--gs-paper);
  border-radius: 2px;
  transition: transform 200ms cubic-bezier(.2,.7,.3,1), box-shadow 200ms ease;
  box-shadow: 0 14px 38px -16px rgba(0, 0, 0, 0.55);
  width: 340px;
  min-height: 220px;
}

.gs-partner:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 56px -14px rgba(0, 0, 0, 0.7);
}

.gs-partner img {
  display: block;
  width: 240px;
  height: 130px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Tiny mono caption below each logo */
.gs-partner-meta {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.55);
  text-align: center;
}

@media (max-width: 760px) {
  .gs-partners {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    max-width: 100%;
    padding: 0 !important;
  }
  .gs-partners::after {
    display: none !important;
  }
  .gs-partner {
    width: 100% !important;
    min-width: 0 !important;
    padding: 28px 32px !important;
    min-height: 160px !important;
  }
  .gs-partner img {
    height: 96px !important;
    width: 200px !important;
  }
}

/* ───── Strip the generic Nicepage SVG icons ─────
   The template ships stock symbols (a building, a location pin, pixel dots)
   that have nothing to do with what we do. Hide them entirely and let the
   typography carry the cards and method steps. */

.u-section-1 .u-icon,
.u-section-2 .u-icon {
  display: none !important;
}

/* Compensate: pull card titles up to where the icon used to sit. */
.u-palette-3-base h4 {
  margin-top: 0 !important;
  padding-top: 8px;
}

/* Method step cards: lift the body copy now that the icon is gone */
.u-section-2 .u-list-item {
  padding-top: 36px !important;
}

/* ───── Motion: disable Nicepage's broken reveal pattern ─────
   The template leaves elements at visibility:hidden until JS scroll-triggers
   add a class. In any non-canonical viewport / headless context that JS misses
   elements and they stay invisible forever. Force visible. */

[data-animation-name="customAnimationIn"],
[data-animation-name="customAnimationIn"] * {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

/* ───── Kill template default uppercase / capitalize / underline on headings ─────
   nicepage.css applies text-transform: capitalize and text-decoration: underline
   to h1/h2 — that's the source of "Software And Design" with the blue underlines. */

h1, h2, h3, h4, h5, h6,
.u-text {
  text-transform: none !important;
  text-decoration: none !important;
}

/* The card h4 specifically has display:table from the template (for centering).
   Switch to block so it lays out normally. */
.u-palette-3-base h4 {
  display: block !important;
  text-align: center !important;
}

/* Kill the decorative circles the template scatters around — every section
   has at least one big colored ball that adds no information. */
.u-shape-circle,
.u-section-1 .u-shape,
.u-section-2 .u-shape,
.u-section-3 .u-shape {
  display: none !important;
}

/* Mobile menu icon — keep visible against ink header */
.u-hamburger-link {
  color: var(--gs-paper) !important;
}
