/* ==========================================================================
   HEMRISH GLOBAL — /about
   Loaded only on the About page. Surfaces follow the site system:
   warm ivory page, white panels, champagne accents.
   ========================================================================== */

/* ---------- At a glance ---------- */
.ag {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-1);
}
.ag::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--gold-grad);
}
.ag__seal {
  position: absolute; right: -40px; top: -52px; z-index: -1;
  width: clamp(150px, 14vw, 210px); height: auto;
  color: var(--gold); opacity: .13; pointer-events: none;
}
.ag__item { position: relative; padding: clamp(24px, 2.6vw, 34px) clamp(20px, 2.2vw, 30px); }
.ag__item + .ag__item::before {
  content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--line);
}
.ag__ico {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--tint); box-shadow: inset 0 0 0 1px rgba(201, 160, 77, .5);
  color: var(--gold-ink); margin-bottom: 16px;
}
.ag__ico .ico { width: 17px; height: 17px; }
.ag__item small { display: block; font: 700 10.5px var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.ag__item b { display: block; margin-top: 8px; font: 700 16.5px/1.25 var(--f-display); letter-spacing: -.018em; color: var(--navy); }
.ag__d { display: block; margin-top: 7px; font-size: 13.2px; line-height: 1.55; color: var(--muted); }

/* ---------- Our story ---------- */
.story {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4.5vw, 76px); align-items: start;
}
.story__media { position: relative; }
.story__img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 24px; box-shadow: var(--shadow-2);
}
.story__quote {
  position: relative; margin: -56px 18px 0 -18px;
  padding: clamp(22px, 2.4vw, 32px) clamp(22px, 2.4vw, 30px) clamp(24px, 2.6vw, 34px);
  background: var(--navy); color: var(--ivory);
  border-radius: 18px; box-shadow: var(--shadow-2);
}
.story__quote p { font: 500 clamp(16px, 1.3vw, 19px)/1.5 var(--f-display); letter-spacing: -.018em; }
.story__mark {
  display: block; font: 700 46px/.6 var(--f-display); color: var(--gold); margin-bottom: 10px;
}
.story__copy .prose { margin-top: 22px; display: grid; gap: 18px; }
.story__copy .prose p { font-size: 15.5px; line-height: 1.75; color: var(--muted); }
.story__copy .prose strong { color: var(--navy); font-weight: 600; }

/* ---------- Managed-network model ---------- */
.model {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  position: relative;
}
.model li {
  position: relative; overflow: hidden;
  padding: clamp(26px, 2.8vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-1);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.model li:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(201, 160, 77, .55); }
.model li::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease);
}
.model li:hover::before { transform: scaleX(1); }
/* champagne connector between the three stages */
.model li + li::after {
  content: ""; position: absolute; left: -14px; top: 50%; width: 14px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 160, 77, .8));
}
.model__n {
  position: absolute; right: clamp(22px, 2.4vw, 30px); top: clamp(22px, 2.4vw, 30px);
  font: 700 11px var(--f-display); letter-spacing: .18em; color: var(--gold-ink); opacity: .75;
}
.model__ico {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--tint); box-shadow: inset 0 0 0 1px rgba(201, 160, 77, .5);
  color: var(--gold-ink); margin-bottom: 20px;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.model__ico .ico { width: 21px; height: 21px; }
.model li:hover .model__ico { background: var(--navy); color: var(--gold); box-shadow: inset 0 0 0 1px var(--navy); }
.model h3 { font-size: 19px; letter-spacing: -.02em; }
.model p { margin-top: 10px; font-size: 14.5px; line-height: 1.62; color: var(--muted); }

/* ---------- Functions / the team behind a project ---------- */
.fn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fn__card {
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.6vw, 32px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-1);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.fn__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(201, 160, 77, .55); }
.fn__ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--ivory-2); color: var(--navy); margin-bottom: 18px;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.fn__ico .ico { width: 20px; height: 20px; }
.fn__card:hover .fn__ico { background: var(--navy); color: var(--gold); }
.fn__card h3 { font-size: 17.5px; letter-spacing: -.018em; }
.fn__card p { margin-top: 9px; font-size: 14px; line-height: 1.6; color: var(--muted); flex: 1; }
.fn__mail {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); word-break: break-all;
  transition: color .3s;
}
.fn__mail:hover { color: var(--navy); }
.fn__mail .ico { width: 15px; height: 15px; color: var(--gold-ink); flex: none; }

/* ---------- Jain values band ---------- */
.vband { position: relative; overflow: hidden; }
.vband__triptych {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .18);
  margin-top: clamp(4px, 1vw, 12px);
}
.vband__triptych li { position: relative; padding: clamp(24px, 2.6vw, 34px) clamp(20px, 2.4vw, 32px) clamp(26px, 2.8vw, 36px) 0; }
.vband__triptych li + li { padding-left: clamp(20px, 2.4vw, 32px); }
.vband__triptych li + li::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, rgba(201, 160, 77, .55), transparent);
}
.vband__triptych i {
  display: block; font: 700 11px/1 var(--f-display); letter-spacing: .22em; font-style: normal;
  color: var(--gold); margin-bottom: 14px;
}
.vband__triptych h3 {
  color: #fff; max-width: 12ch;
  font: 700 clamp(21px, 2vw, 29px)/1.12 var(--f-display); letter-spacing: -.03em;
}
.vband__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 3.4vw, 60px);
  margin-top: clamp(26px, 3vw, 42px);
}
.vband__quote {
  margin: 0; padding: clamp(22px, 2.4vw, 32px);
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  font: 400 clamp(16px, 1.3vw, 19px)/1.65 var(--f-display);
  letter-spacing: -.015em; color: rgba(255, 255, 255, .88);
}
.vband .ticks { margin-top: 0; }
.vband .ticks li { color: rgba(255, 255, 255, .78); font-size: 14.5px; }

/* ---------- Locations ---------- */
.abloc {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-2);
}
.abloc::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 3;
  background: var(--gold-grad);
}
.abloc__seal {
  position: absolute; right: -44px; bottom: -54px; z-index: 0;
  width: clamp(170px, 16vw, 240px); height: auto;
  color: var(--gold); opacity: .12; pointer-events: none;
}

.abloc__media { position: relative; overflow: hidden; min-height: 100%; }
.abloc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.abloc__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 38, .16) 0%, transparent 34%, rgba(7, 18, 38, .62) 100%);
}
.abloc__chip {
  position: absolute; z-index: 2; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 15px; border-radius: 999px;
  background: rgba(7, 18, 38, .55);
  border: 1px solid rgba(201, 160, 77, .45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 600 12px var(--f-display); letter-spacing: .04em; color: #fff;
}
.abloc__chip .ico { width: 14px; height: 14px; color: var(--gold); }

.abloc__cards { position: relative; z-index: 1; display: grid; gap: 0; padding: clamp(24px, 2.6vw, 38px); }
.abloc__card { position: relative; padding: clamp(18px, 1.9vw, 24px) 0; }
.abloc__card + .abloc__card { border-top: 1px solid var(--line); }
.abloc__card:first-child { padding-top: 0; }
.abloc__head { display: flex; gap: 15px; align-items: flex-start; }
.abloc__ico {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--tint); box-shadow: inset 0 0 0 1px rgba(201, 160, 77, .5);
  color: var(--gold-ink);
}
.abloc__ico .ico { width: 18px; height: 18px; }
.abloc__card b { display: block; font: 700 11px var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.abloc__card em { display: block; margin-top: 5px; font-style: normal; font-size: 13px; line-height: 1.5; color: var(--muted); }
.abloc__card > p { margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--navy); }
.abloc__card--wide > p { color: var(--muted); font-size: 14.5px; }

.abloc__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.abloc__acts a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font: 600 12.5px var(--f-display); color: var(--navy);
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.abloc__acts a:hover { border-color: var(--gold); background: var(--tint); transform: translateY(-2px); }
.abloc__acts .ico { width: 14px; height: 14px; color: var(--gold-ink); }

.abloc__note {
  display: flex; gap: 13px; align-items: flex-start;
  margin-top: clamp(16px, 1.8vw, 22px); padding-top: clamp(16px, 1.8vw, 22px);
  border-top: 1px solid var(--line);
  font-size: 13.2px; line-height: 1.6; color: var(--muted);
}
.abloc__note .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--gold-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ag { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ag__item:nth-child(odd)::before { display: none; }
  .ag__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .story { grid-template-columns: minmax(0, 1fr); }
  .story__quote { margin: -46px 18px 0 18px; }
  .model, .fn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model li + li::after { display: none; }
  .vband__triptych { grid-template-columns: minmax(0, 1fr); }
  .vband__triptych li, .vband__triptych li + li { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .vband__triptych li:first-child { border-top: 0; }
  .vband__triptych li + li::before { display: none; }
  .vband__grid, .abloc { grid-template-columns: minmax(0, 1fr); }
  .abloc__media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 680px) {
  .ag { grid-template-columns: minmax(0, 1fr); }
  .ag__item + .ag__item { border-top: 1px solid var(--line); }
  .ag__item + .ag__item::before { display: none; }
  .ag__seal { display: none; }
  .model, .fn { grid-template-columns: minmax(0, 1fr); }
  .story__quote { margin: -36px 0 0; }
}
