/* ============================================================
   INDUSTRIES — Editorial Grid Design
   Concept: Financial report reimagined. Ruled lines, large
   display type, horizontal structure, content revealed through
   precise typographic hierarchy.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Sora:wght@300;400;500;600&display=swap');

/* ── INDUSTRY PAGE VARIABLES ── */
:root {
  --ind-rule: #102B3215;
  --ind-rule-strong: #102B3230;
  --ind-accent-line: var(--clr-brand-accent);
  --ind-num-size: clamp(5rem, 12vw, 10rem);
  --ind-gap: clamp(3rem, 6vw, 6rem);
}

/* ── INDUSTRY HERO ── */
.ind-hero {
  padding: calc(var(--nav-h) + var(--topbar-h) + 5rem) var(--ind-gap) 4rem;
  position: relative;
  border-bottom: 1px solid var(--ind-rule-strong);
  overflow: hidden;
}

.ind-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 2rem;
  opacity: 0;
  animation: ind-fade-up 0.6s 0.1s forwards;
}

.ind-hero__eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--clr-brand-accent);
}

.ind-hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 6vw;
  align-items: end;
}

.ind-hero__name {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.92;
  color: var(--primary-color);
  letter-spacing: -0.02em;
  opacity: 0;
  animation: ind-fade-up 0.7s 0.2s forwards;
}

.ind-hero__hook {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--clr-text);
  font-weight: 300;
  max-width: 46ch;
  align-self: end;
  padding-bottom: 0.5rem;
  opacity: 0;
  animation: ind-fade-up 0.7s 0.35s forwards;
}

.ind-hero__rule {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--ind-rule-strong);
  margin-top: 2rem;
  position: relative;
}

.ind-hero__rule::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 1px;
  width: 0;
  background: var(--clr-brand-accent);
  animation: ind-rule-expand 1s 0.6s cubic-bezier(.4,0,.2,1) forwards;
}

/* ── CONTENT SECTIONS ── */
.ind-section {
  padding: 4.5rem var(--ind-gap);
  border-bottom: 1px solid var(--ind-rule);
  position: relative;
}

.ind-section--shaded {
  background: var(--clr-brand-light);
}

/* Section label system */
.ind-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.ind-label__num {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.72rem;
  color: var(--clr-brand-accent);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.ind-label__text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.ind-label__line {
  flex: 1;
  height: 1px;
  background: var(--ind-rule-strong);
}

/* ── THE REALITY ── */
.ind-reality__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 8vw;
  align-items: start;
}

.ind-reality__heading {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}

.ind-reality__body {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--clr-text);
  font-weight: 300;
}

/* ── WHERE WE COME IN ── */
.ind-approach {
  display: grid;
  grid-template-columns: 3fr 4fr;
  gap: 3rem 6vw;
  align-items: start;
}

.ind-approach__label-col {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.ind-approach__title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.ind-approach__body {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--clr-text);
  font-weight: 300;
}

/* ── WHAT WE BUILD ── */
.ind-build__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
}

.ind-build__item {
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--ind-rule-strong);
  margin: -1px 0 0 -1px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--trans);
  cursor: default;
}

.ind-build__item:hover {
  background: var(--clr-brand-light);
  z-index: 1;
  position: relative;
}

.ind-build__item:hover .ind-build__dot {
  background: var(--clr-brand-accent);
  transform: scale(1.4);
}

.ind-build__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clr-brand);
  flex-shrink: 0;
  margin-top: 0.55rem;
  transition: var(--trans);
}

.ind-build__text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--clr-text);
  font-weight: 400;
}

/* ── WHAT CHANGES (Before / After) ── */
.ind-changes {
  overflow: hidden;
}

.ind-changes__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: 0;
}

.ind-changes__col-head {
  padding: 0.8rem 1.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.ind-changes__col-head:first-child {
  border-right: 1px solid var(--ind-rule-strong);
}

.ind-changes__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--ind-rule);
  transition: var(--trans);
}

.ind-changes__row:hover {
  background: var(--clr-brand-light);
}

.ind-changes__cell {
  padding: 1.2rem 1.4rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--clr-text);
  font-weight: 300;
}

.ind-changes__cell--before {
  border-right: 1px solid var(--ind-rule-strong);
  color: var(--clr-text-muted);
  position: relative;
}

.ind-changes__cell--before::after {
  content: '';
  position: absolute;
  right: -1px; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 60%;
  background: var(--clr-brand-accent);
  opacity: 0;
  transition: var(--trans);
}

.ind-changes__row:hover .ind-changes__cell--before::after {
  opacity: 1;
}

.ind-changes__cell--after {
  font-weight: 400;
  color: var(--primary-color);
}

/* ── CALLOUT ── */
.ind-callout {
  padding: 4rem var(--ind-gap);
  background: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.ind-callout::before {
  content: '';
  position: absolute;
  top: 0; left: var(--ind-gap);
  right: var(--ind-gap);
  height: 2px;
  background: var(--clr-brand-accent);
}

.ind-callout__quote {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  max-width: 70ch;
}

.ind-callout__mark {
  font-family: 'Libre Baskerville', serif;
  font-size: 6rem;
  color: var(--clr-brand-accent);
  line-height: 1;
  display: block;
  margin-bottom: -1rem;
  opacity: 0.4;
}

/* ── WHAT TO EXPECT ── */
.ind-expect__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem 8vw;
}

.ind-expect__aside {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.ind-expect__aside-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.3;
}

.ind-expect__body {
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--clr-text);
  font-weight: 300;
}

/* ── CTA ── */
.ind-cta {
  padding: 4rem var(--ind-gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--ind-rule-strong);
}

.ind-cta__text {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.3;
}

.ind-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--primary-color);
  color: #fff;
  padding: 0.9rem 2rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--primary-color);
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}

.ind-cta__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-brand-accent);
  transform: translateX(-101%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.ind-cta__btn:hover::before { transform: translateX(0); }
.ind-cta__btn:hover { color: var(--primary-color); }

.ind-cta__btn span { position: relative; z-index: 1; }
.ind-cta__btn svg { position: relative; z-index: 1; transition: transform 0.2s; }
.ind-cta__btn:hover svg { transform: translateX(4px); }

/* ── ANIMATIONS ── */
@keyframes ind-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ind-rule-expand {
  from { width: 0; }
  to   { width: 30%; }
}

.ind-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.ind-reveal.is-visible { opacity: 1; transform: translateY(0); }
.ind-reveal-delay-1 { transition-delay: 0.1s; }
.ind-reveal-delay-2 { transition-delay: 0.2s; }
.ind-reveal-delay-3 { transition-delay: 0.32s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .ind-hero__layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .ind-reality__grid { grid-template-columns: 1fr; }
  .ind-approach { grid-template-columns: 1fr; }
  .ind-approach__label-col { position: static; }
  .ind-expect__grid { grid-template-columns: 1fr; }
  .ind-expect__aside { position: static; }
  .ind-cta { flex-direction: column; align-items: flex-start; }
  .ind-build__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .ind-build__grid { grid-template-columns: 1fr; }
  .ind-changes__header,
  .ind-changes__row { grid-template-columns: 1fr; }
  .ind-changes__cell--before { border-right: none; border-bottom: 1px solid var(--ind-rule); }
  .ind-changes__col-head:first-child { border-right: none; }
}
