/* ==========================================================================
   THE GENESYS - About us ("Chi siamo")
   Design: "Nuova proposta grafica.dc.html" -> Turn 8, "Web — Chi siamo"

   Pairs with templates/about.php. Ordinary CSS against markup this theme owns:
   the page sits inside .gns-scope, so gns-base.css has already neutralised the
   parent's globals and there is nothing here to out-specify.

   Values read off the artboard: 52px/1.02/-.04em title, 15.5px/1.7 lead in
   secondary, 20px figures over 11px labels above a rgba(255,255,255,.08)
   hairline, a 560x420 radial cyan glow at .1 behind the mark, 8px/16px pills
   at 12px, and a three-cell foot band - 10px mono labels, 13px/1.6 text, the
   third cell washed with the brand gradient at .08/.07.

   Tokens only. The light palette flips every surface, border and tint below
   without a single rule changing; the cyan glow and the gradient wash are the
   brand alphas and read on both grounds.
   ========================================================================== */

.gns-about {
  --about-gutter: 48px;
  --about-measure: 720px;
  --about-wide: 1180px;
  --about-gap: 104px;

  display: block;
  /*
   * The site header is position: fixed and nothing in the parent's wrappers
   * pushes content below it - every redesigned screen clears it itself (the
   * plans page pads its <main> 72px; reserved.css uses this same expression).
   * --gns-header-h is the measured height once theme-switch.js has run,
   * --top-margin the theme's own figure, 63px what it measures here.
   */
  padding-top: var(--gns-header-h, var(--top-margin, 63px));
  background: var(--gns-bg);
  color: var(--gns-text);
  font-family: var(--gns-font);
  overflow-x: clip;
}

/* ------------------------------------------------------------ shared --- */

.gns-about__section {
  max-width: var(--about-wide);
  margin: 0 auto;
  padding: 0 var(--about-gutter);
}
.gns-about__section + .gns-about__section { margin-top: var(--about-gap); }

.gns-about__measure {
  max-width: var(--about-measure);
}

.gns-about__eyebrow {
  margin: 0 0 14px;
  font: 500 10.5px var(--gns-font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gns-cyan-ink);
}

.gns-about__h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--gns-text);
  text-wrap: balance;
}

/* The one-line thesis under a heading. */
.gns-about__sub {
  margin: 18px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--gns-text);
}

.gns-about__prose {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--gns-body);
  text-wrap: pretty;
}
.gns-about__prose p { margin: 0; }
.gns-about__prose p + p { margin-top: 1.1em; }
.gns-about__prose strong { color: var(--gns-text); font-weight: 600; }
.gns-about__prose em { font-style: italic; }

/* The opening prose runs a touch larger: it is the page's argument. */
.gns-about__prose--lead {
  margin-top: 0;
  font-size: 17px;
  line-height: 1.7;
}
.gns-about__prose--lead p:first-child::first-letter {
  float: left;
  margin: 8px 12px 0 0;
  font-size: 64px;
  line-height: .8;
  font-weight: 500;
  letter-spacing: -.04em;
  color: var(--gns-text);
}

/* Media sits in a hairline frame on the elevated surface, like a product. */
.gns-about__frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--gns-border);
  border-radius: var(--gns-r-hero);
  background: var(--gns-elevated);
}
.gns-about__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gns-about__grad {
  background: var(--gns-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* -------------------------------------------------------------- hero --- */

.gns-about__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 560px;
  border-bottom: 1px solid var(--gns-border-faint);
}

.gns-about__hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 56px var(--about-gutter) 56px;
  border-right: 1px solid var(--gns-border-faint);
}
.gns-about__hero-copy .gns-about__eyebrow { margin: 0; }

.gns-about__title {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.04em;
  color: var(--gns-text);
  text-wrap: balance;
}

.gns-about__lead {
  margin: 0;
  max-width: 460px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--gns-secondary);
  text-wrap: pretty;
}

/*
 * The figures. A <dl> because each is a labelled value; the label is written
 * first in the markup so a screen reader hears "free files to print: 70,000",
 * and drawn second so the eye reads the number.
 */
.gns-about__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  margin: 4px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--gns-border);
}
.gns-about__stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.gns-about__stat-value {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--gns-text);
}
.gns-about__stat-label {
  font: 500 10px var(--gns-font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gns-muted);
}

/* The artboard's right half: the mark on a cyan glow. The glow stays; the
   photograph the page has always opened with sits on it. */
.gns-about__hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--about-gutter);
  background: radial-gradient(560px 420px at 50% 46%, var(--gns-cyan-tint-2), transparent 72%);
}
.gns-about__hero-media .gns-about__frame {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 3;
  box-shadow: var(--gns-glow-card);
}

/* ------------------------------------------------------------- intro --- */

.gns-about__intro { padding-top: 88px; }

/* ----------------------------------------------------------- feature --- */

.gns-about__feature {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}
.gns-about__feature-media { aspect-ratio: 16 / 10; }

/* ------------------------------------------------------- singularity --- */

.gns-about__quote {
  margin: 56px 0 0;
  padding: 0;
  border: 0;
}
.gns-about__quote p {
  margin: 0;
  max-width: 820px;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.03em;
  color: var(--gns-text);
  text-wrap: balance;
}
.gns-about__quote p::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--gns-gradient);
}

/* The foot band, lifted straight off the artboard. */
.gns-about__band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
  border: 1px solid var(--gns-border);
  border-radius: var(--gns-r-panel);
  overflow: hidden;
  background: var(--gns-surface);
}
.gns-about__cell {
  padding: 26px 30px 28px;
}
.gns-about__cell + .gns-about__cell { border-left: 1px solid var(--gns-border); }
.gns-about__cell.is-accent {
  background: linear-gradient(120deg, var(--gns-cyan-tint-2), var(--gns-magenta-tint));
}
.gns-about__cell-label {
  margin: 0 0 12px;
  font: 500 10px var(--gns-font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gns-muted);
}
.gns-about__cell-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--gns-text);
}
.gns-about__cell-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gns-body);
}
.gns-about__cell.is-accent .gns-about__cell-text { color: var(--gns-text); }

/* ----------------------------------------------------------- creator --- */

.gns-about__creator {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
}

/* The film in the glow the artboard gives the mark. */
.gns-about__film {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--gns-border);
  border-radius: var(--gns-r-hero);
  background:
    radial-gradient(60% 55% at 50% 45%, var(--gns-cyan-tint-2), transparent 72%),
    var(--gns-surface);
}
.gns-about__film video,
.gns-about__film img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gns-about__film--mark img {
  width: 46%;
  height: auto;
  filter: var(--gns-shadow-model-sm);
}

.gns-about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.gns-about__chip {
  padding: 8px 16px;
  border: 1px solid var(--gns-border-strong);
  border-radius: var(--gns-r-pill);
  font-size: 12px;
  color: var(--gns-secondary-2);
}

/* ------------------------------------------------------------ future --- */

.gns-about__future-head .gns-about__prose { margin-top: 14px; }

.gns-about__tenets {
  counter-reset: tenet;
  display: grid;
  /*
   * 300, not 260: five cards at a 260 floor packed FOUR across the 1084px
   * column and left the fifth alone on a row of its own. At 300 the row holds
   * three, so the five read as 3 + 2; on a tablet two, on a phone one.
   */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.gns-about__tenet {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--gns-border);
  border-radius: var(--gns-r-card);
  background: var(--gns-surface);
  transition: border-color .15s ease, transform .15s ease;
}
.gns-about__tenet:hover { border-color: var(--gns-border-cyan); }
.gns-about__tenet p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--gns-text);
  text-wrap: pretty;
}
/* Inline <svg> from the upload, or an <img> of it; both sit in this box. */
.gns-about__tenet-icon,
.gns-about__tenet-icon svg {
  display: block;
  width: 32px;
  height: 32px;
}
.gns-about__tenet-num {
  font: 500 12px var(--gns-font-mono);
  letter-spacing: .12em;
  color: var(--gns-cyan-ink);
}

.gns-about__closing {
  max-width: 720px;
  margin: 64px auto 0;
  text-align: center;
}
.gns-about__closing p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--gns-body);
  text-wrap: balance;
}
.gns-about__closing p + p { margin-top: 6px; }
.gns-about__closing .gns-about__signoff {
  margin-top: 26px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--gns-text);
}

/* ----------------------------------------------------------- founder --- */

.gns-about__founder {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
.gns-about__portrait {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 600 / 553;
  border: 1px solid var(--gns-border);
  border-radius: var(--gns-r-hero);
  background: var(--gns-elevated);
}
.gns-about__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gns-about__founder-copy .gns-about__sub {
  margin-top: 10px;
  font-size: 16px;
  color: var(--gns-secondary);
  font-weight: 400;
}

/* ------------------------------------------------------------- close --- */

.gns-about__cta {
  margin-bottom: 96px;
  padding: 64px var(--about-gutter);
  border: 1px solid var(--gns-border);
  border-radius: var(--gns-r-panel);
  background:
    radial-gradient(520px 280px at 50% 0%, var(--gns-cyan-tint-2), transparent 70%),
    var(--gns-surface);
  text-align: center;
}
.gns-about__cta-title {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--gns-text);
}
.gns-about__cta-text {
  margin: 14px 0 0;
  font-size: 15.5px;
  color: var(--gns-secondary);
}
.gns-about__cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

/* Same pill as the landing's CTA: text on the ground, cyan on hover. */
.gns-about__btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--gns-r-pill);
  background: var(--gns-text);
  color: var(--gns-bg);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.gns-about__btn:hover { background: var(--gns-cyan); color: var(--gns-on-accent); }
.gns-about__btn--ghost {
  background: transparent;
  border-color: var(--gns-border-strong);
  color: var(--gns-text);
}
.gns-about__btn--ghost:hover { background: var(--gns-cyan-tint); border-color: var(--gns-border-cyan); color: var(--gns-text); }
.gns-about__btn:focus-visible {
  outline: 2px solid var(--gns-focus);
  outline-offset: 3px;
}

/* -------------------------------------------------------- responsive --- */

@media (max-width: 1024px) {
  .gns-about { --about-gap: 80px; --about-gutter: 32px; }
  .gns-about__feature,
  .gns-about__creator,
  .gns-about__founder {
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .gns-about { --about-gap: 64px; --about-gutter: 20px; }

  .gns-about__hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .gns-about__hero-copy {
    padding: 40px var(--about-gutter) 36px;
    border-right: 0;
  }
  .gns-about__hero-media { padding: 0 var(--about-gutter) 40px; }
  .gns-about__hero-media .gns-about__frame { max-width: none; }

  .gns-about__intro { padding-top: 56px; }
  .gns-about__prose--lead p:first-child::first-letter { font-size: 52px; }

  .gns-about__feature,
  .gns-about__creator,
  .gns-about__founder {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Text first when stacked: the picture illustrates, it does not lead. */
  .gns-about__feature-media { order: 2; }
  .gns-about__creator-media { max-width: 420px; }
  .gns-about__portrait { max-width: 360px; }

  .gns-about__band { grid-template-columns: minmax(0, 1fr); }
  .gns-about__cell + .gns-about__cell { border-left: 0; border-top: 1px solid var(--gns-border); }

  .gns-about__cta { margin-bottom: 64px; padding: 44px var(--about-gutter); }
}

@media (prefers-reduced-motion: reduce) {
  .gns-about__tenet,
  .gns-about__btn { transition: none; }
}
