/* About Us — three draft layouts (about-v1/2/3.html). Shared pieces first. */

.about-page {
  --accent: #3b9eff;
  --ab-line: #1c2836;
  --ab-line-2: #2a3a4e;
  --ab-raise: #0f1620;
  --ab-muted: #95a3b3;
  --ab-dim: #7d8b9b;
  --ab-head: #8cc8ff;
}

.about-page main {
  position: relative;
  z-index: 1;
}

.ab-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.ab-hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px);
}

.ab-hero .wrap > * + *,
.ab-split-copy > * + * {
  margin-top: 18px;
}

.ab-hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 900px;
}

.ab-hero h1 .serif-accent,
.ab-section h2 .serif-accent {
  color: var(--ab-head);
}

.ab-section {
  padding: clamp(28px, 4vw, 44px) 0;
}

.ab-section--last {
  padding-bottom: clamp(64px, 9vw, 112px);
}

.ab-section--last > .wrap > .ab-eyebrow {
  margin-bottom: 18px;
}

.ab-section h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.2;
}

/* cards */
.ab-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--ab-line);
  border-radius: 16px;
  background: var(--ab-raise);
}

.ab-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ab-muted);
}

.ab-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--ab-line-2);
  background: #121c28;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ab-more {
  margin-top: auto;
  display: inline-flex;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
}

.ab-more:hover {
  color: #ffffff;
}

/* HydroScout card */
.ab-hs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid rgba(29, 166, 224, 0.4);
  border-radius: 18px;
  background:
    radial-gradient(520px 220px at 0% 50%, rgba(29, 166, 224, 0.18), transparent 70%),
    var(--ab-raise);
  color: #e8edf1;
  transition: border-color 200ms ease, transform 200ms ease;
}

.ab-hs:hover,
.ab-hs:focus-visible {
  border-color: #1da6e0;
  transform: translateY(-2px);
}

.ab-hs img {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 24px rgba(29, 166, 224, 0.35));
}

.ab-hs-copy {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ab-hs-copy .ab-eyebrow {
  color: #4cc3f0;
}

.ab-hs-copy strong {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.ab-hs-copy > span:last-child {
  font-size: 16.5px;
  color: #c4d2e0;
}

.ab-hs-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #1da6e0;
  color: #04131c;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* find us: two rows of links */
.ab-find {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ab-find-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 12px 20px;
  align-items: center;
}

.ab-find-label {
  font-size: 15px;
  font-weight: 600;
  color: #e8edf1;
}

.ab-find-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ab-link-icon {
  display: flex;
  color: #c4d2e0;
  transition: color 160ms ease;
}

@media (max-width: 640px) {
  .ab-find-row { grid-template-columns: 1fr; }
}

/* =====================================================================
   V2 — split hero with the symbol, icon tiles for links
   ===================================================================== */
.ab-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
}

.ab-mark {
  position: relative;
  justify-self: center;
  width: min(100%, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 184, 216, 0.22), transparent 65%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ab-mark img {
  height: 78%;
  width: auto;
  filter: drop-shadow(0 0 22px rgba(46, 184, 216, 0.5));
}

@media (max-width: 760px) {
  .ab-split { grid-template-columns: 1fr; }
  .ab-mark { width: 200px; justify-self: start; }
}

.ab-band {
  margin: clamp(28px, 4vw, 44px) 0;
  padding: clamp(36px, 5vw, 56px) 0;
  background: linear-gradient(90deg, rgba(29, 166, 224, 0.12), rgba(29, 166, 224, 0.03));
  border-top: 1px solid rgba(29, 166, 224, 0.25);
  border-bottom: 1px solid rgba(29, 166, 224, 0.25);
}

.ab-hs--band {
  border: 0;
  background: none;
  padding: 0;
}

.ab-hs--band:hover {
  transform: none;
}

.ab-hs--band img {
  width: 120px;
  height: 120px;
}

.ab-find--tiles .ab-find-links {
  gap: 12px;
}

.ab-tile {
  width: 112px;
  min-height: 104px;
  padding: 16px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  border: 1px solid var(--ab-line-2);
  border-radius: 14px;
  background: var(--ab-raise);
  color: #e8edf1;
  font-size: 13px;
  line-height: 1.25;
  transition: border-color 160ms ease, transform 160ms ease;
}

.ab-tile .ab-link-icon svg {
  width: 26px;
  height: 26px;
}

.ab-tile:hover,
.ab-tile:focus-visible {
  border-color: var(--brand, var(--accent));
  transform: translateY(-3px);
}

.ab-tile:hover .ab-link-icon,
.ab-tile:focus-visible .ab-link-icon {
  color: var(--brand, var(--accent));
}

/* HydroScout logo: one slow full turn when entering the band (js/about.js) */
@keyframes ab-spin-once {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ab-hs img.is-spinning {
  animation: ab-spin-once 2.4s cubic-bezier(0.45, 0, 0.25, 1) 1;
}

/* small Make in India badge in the bottom-right of the "Own your design" card */
.ab-card {
  position: relative;
}

.ab-card-badge {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 90px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  opacity: 0.9;
}

/* About hero: long statement heading + blue italic claim under it */
.ab-hero h1.ab-h1-long {
  font-size: clamp(1.2rem, 2.52vw, 1.86rem);   /* 40% smaller than before */
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.ab-claim {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.1rem, 4.2vw, 3.08rem);     /* 40% larger than before */
  line-height: 1.15;
  color: #2eb8d8;   /* same cyan as the Obliron symbol (logo_raw.png) */
}

/* the symbol floats and drifts softly away from the mouse (not a link) */
.ab-mark-move {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ab-mark img {
  animation: ab-float 4.5s ease-in-out infinite;
}

@keyframes ab-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(-2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ab-mark img { animation: none; }
  .ab-mark-move { transition: none; }
}

/* About: three wide rows (icon left, text right), stacked */
.ab-rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ab-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 28px 32px;
}

.ab-row .ab-icon {
  width: 56px;
  height: 56px;
}

.ab-row-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 860px;
}

.ab-row-body p {
  font-size: 16px;
}

.ab-row-body .ab-more {
  margin-top: 4px;
}

/* leave room for the Make in India badge in the bottom-right */
.ab-row--badge {
  padding-right: 150px;
}

@media (max-width: 640px) {
  .ab-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }

  .ab-row--badge {
    padding-right: 22px;
    padding-bottom: 90px;
  }

  .ab-row .ab-card-badge {
    right: 22px;
    bottom: 22px;
  }
}

/* claim line formed by particles from the symbol (js/about.js) */
.ab-hero {
  position: relative;
}

.beam-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.ab-claim.is-beaming .beam-word {
  opacity: 0;
}

/* the claim is set in exactly two lines on wider screens: its size follows the
   width of the text column (container units) so each line fits; phones wrap it */
.ab-split-copy {
  container-type: inline-size;
}

@supports (font-size: 1cqi) {
  .ab-claim {
    font-size: min(3.08rem, 6.4cqi);
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .ab-claim-br { display: none; }

  .ab-claim,
  .ab-claim[class] {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    white-space: normal;
  }
}
