/* GRAVION Projects & Infrastructure — corporate site styles */

@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-SemiBold.ttf") format("truetype");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #102a43;
  --navy-deep: #0a1929;
  --navy-mid: #243b53;
  --accent: #b7791f;
  --accent-hover: #975a16;
  --accent-soft: #f7ecd8;
  --ink: #1f2933;
  --muted: #627d98;
  --line: #d9e2ec;
  --surface: #f0f4f8;
  --white: #ffffff;
  --shadow: 0 12px 32px rgba(16, 42, 67, 0.08);
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-mid);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--accent);
}

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 1rem 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    padding 0.35s ease,
    backdrop-filter 0.35s ease;
}

.site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 33, 0.55), rgba(7, 20, 33, 0));
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.site-nav .container {
  position: relative;
  z-index: 1;
}

.site-nav.is-scrolled {
  padding: 0.55rem 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(217, 226, 236, 0.9);
  box-shadow: 0 10px 30px rgba(16, 42, 67, 0.1);
}

.site-nav.is-scrolled::before {
  opacity: 0;
}

.site-nav .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff !important;
  font-size: 1.02rem;
  transition: color 0.3s ease;
}

.site-nav.is-scrolled .navbar-brand {
  color: var(--navy) !important;
}

.brand-glyph {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #d4a017, #8f5d12);
  box-shadow: 0 6px 16px rgba(183, 121, 31, 0.35);
  flex-shrink: 0;
}

.brand-glyph svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.site-nav .navbar-brand em {
  font-style: normal;
  color: #e9c46a;
  font-weight: 600;
  transition: color 0.3s ease;
}

.site-nav.is-scrolled .navbar-brand em {
  color: var(--accent);
}

.site-nav .nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.86) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem !important;
  transition: color 0.25s ease;
}

.site-nav.is-scrolled .nav-link {
  color: var(--navy-mid) !important;
}

.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.15rem;
  height: 2px;
  background: #e9c46a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.site-nav.is-scrolled .nav-link::after {
  background: var(--accent);
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: #fff !important;
}

.site-nav.is-scrolled .nav-link:hover,
.site-nav.is-scrolled .nav-link.active {
  color: var(--navy) !important;
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after {
  transform: scaleX(1);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.65rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4a017, #b7791f);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  border: none;
  box-shadow: 0 8px 20px rgba(183, 121, 31, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-nav-cta:hover {
  color: #fff !important;
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 24px rgba(183, 121, 31, 0.42);
}

.site-nav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
  padding: 0.4rem 0.55rem;
}

.site-nav.is-scrolled .navbar-toggler {
  border-color: var(--line);
}

.site-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.92)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-nav.is-scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(16,42,67,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    margin-top: 0.85rem;
    padding: 0.85rem;
    border-radius: 14px;
    background: rgba(7, 20, 33, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
  }

  .site-nav.is-scrolled .navbar-collapse {
    background: #fff;
    border-color: var(--line);
    box-shadow: var(--shadow);
  }

  .btn-nav-cta {
    margin: 0.75rem 0 0;
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/solar-field.jpg") center 40% / cover no-repeat;
  transform: scale(1.1);
  animation: heroZoom 20s ease-out forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 35%, rgba(183, 121, 31, 0.18), transparent 42%),
    linear-gradient(105deg, rgba(7, 20, 33, 0.94) 0%, rgba(10, 25, 41, 0.82) 42%, rgba(10, 25, 41, 0.45) 72%, rgba(10, 25, 41, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 20, 33, 0.35) 0%, transparent 28%, rgba(7, 20, 33, 0.55) 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 70%);
  pointer-events: none;
}

.hero-main {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 7.5rem 0 2.5rem;
}

.hero-copy-col {
  max-width: 40rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.hero-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e9c46a;
  box-shadow: 0 0 0 4px rgba(233, 196, 106, 0.2);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  font-weight: 700;
  margin: 0 0 0.45rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  color: inherit;
}

.hero-subbrand {
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  color: #e9c46a;
  margin: 0 0 1rem;
  font-weight: 600;
}

.hero-copy {
  margin: 0 0 1.7rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 34rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-panel {
  margin-top: 1.5rem;
  padding: 1.35rem 1.3rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  animation: riseIn 0.9s var(--ease) 0.45s both;
}

@media (min-width: 992px) {
  .hero-panel {
    margin-top: 0;
  }
}

.hero-panel-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0 0 1rem;
  color: #fff;
}

.hero-panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.15rem;
}

.hero-panel-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.hero-panel-list li:last-child {
  border-bottom: none;
}

.hero-panel-list span {
  color: #e9c46a;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  min-width: 1.4rem;
}

.hero-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #e9c46a !important;
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-panel-link:hover {
  color: #fff !important;
}

.hero-meta {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 20, 33, 0.45);
  backdrop-filter: blur(10px);
}

.hero-meta-inner {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 0;
}

@media (min-width: 768px) {
  .hero-meta-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-meta-item strong {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero-meta-item a,
.hero-meta-item span {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-animate > * {
  opacity: 0;
  transform: translateY(22px);
  animation: riseIn 0.8s var(--ease) forwards;
}

.hero-animate > *:nth-child(1) { animation-delay: 0.05s; }
.hero-animate > *:nth-child(2) { animation-delay: 0.14s; }
.hero-animate > *:nth-child(3) { animation-delay: 0.22s; }
.hero-animate > *:nth-child(4) { animation-delay: 0.3s; }
.hero-animate > *:nth-child(5) { animation-delay: 0.38s; }
.hero-animate > *:nth-child(6) { animation-delay: 0.46s; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 8rem 0 3.5rem;
  color: var(--white);
  background: var(--navy-deep);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(183, 121, 31, 0.16), transparent 40%),
    linear-gradient(100deg, rgba(10, 25, 41, 0.92), rgba(16, 42, 67, 0.72)),
    url("../img/solar-field.jpg") center / cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 14s ease-out forwards;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 4vw, 2.7rem);
  margin: 0 0 0.55rem;
  animation: riseIn 0.7s var(--ease) both;
}

.page-hero p {
  margin: 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.82);
  animation: riseIn 0.7s var(--ease) 0.12s both;
}

/* ---------- Buttons ---------- */
.btn-accent,
.btn-navy,
.btn-outline-navy,
.btn-outline-light-corp {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-accent:hover,
.btn-navy:hover,
.btn-outline-navy:hover,
.btn-outline-light-corp:hover {
  transform: translateY(-2px);
}

.btn-accent {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--accent-hover);
  --bs-btn-hover-border-color: var(--accent-hover);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--accent-hover);
  --bs-btn-active-border-color: var(--accent-hover);
  font-weight: 700;
  border-radius: 2px;
  padding: 0.7rem 1.3rem;
  box-shadow: 0 8px 20px rgba(183, 121, 31, 0.28);
}

.btn-outline-light-corp {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  font-weight: 700;
  border-radius: 2px;
  padding: 0.7rem 1.3rem;
}

.btn-outline-light-corp:hover {
  color: var(--navy-deep);
  background: #fff;
  border-color: #fff;
}

.btn-navy {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--navy);
  --bs-btn-border-color: var(--navy);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--navy-mid);
  --bs-btn-hover-border-color: var(--navy-mid);
  font-weight: 700;
  border-radius: 2px;
  padding: 0.7rem 1.3rem;
}

.btn-outline-navy {
  --bs-btn-color: var(--navy);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--navy);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--navy);
  --bs-btn-hover-border-color: var(--navy);
  font-weight: 700;
  border-radius: 2px;
  padding: 0.7rem 1.3rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 4.75rem 0;
  position: relative;
}

.section-alt {
  background:
    linear-gradient(180deg, #eef3f8 0%, #f5f8fb 100%);
}

.section-title {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
}

.section-lead {
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 2rem;
}

.section-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.accent-bar {
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin: 0 0 1rem;
  transform-origin: left center;
}

.reveal.is-visible .accent-bar,
.accent-bar.is-visible {
  animation: drawBar 0.7s var(--ease) both;
}

.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.25rem;
  padding: 1.35rem 1.4rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, var(--surface), #fff);
  color: var(--navy-mid);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.keywords span + span::before {
  content: "·";
  color: var(--accent);
  margin-right: 1.25rem;
}

/* ---------- Stats ---------- */
.stat-strip {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .stat-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.stat-item {
  padding: 1.15rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.stat-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Services ---------- */
.service-row {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0.85rem 1.2rem 0.35rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, transform 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.service-row:hover {
  background: rgba(247, 236, 216, 0.45);
  transform: translateX(4px);
  padding-left: 0.65rem;
}

.service-row:last-child {
  border-bottom: none;
}

.service-index {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  padding-top: 0.15rem;
}

.service-row h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin: 0 0 0.25rem;
  color: var(--navy);
}

.service-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-grid {
  display: grid;
  gap: 0;
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

  .service-grid .service-row:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

.capability {
  border-top: 2px solid var(--navy);
  padding: 1.35rem 0 0.5rem;
  height: 100%;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}

.capability:hover {
  border-top-color: var(--accent);
  transform: translateY(-3px);
}

.capability h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 0.4rem;
}

.capability p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Steps / billing ---------- */
.steps {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
}

.step {
  border-top: 2px solid var(--navy);
  padding: 1.1rem 0.25rem 0.5rem;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}

.step:hover {
  border-top-color: var(--accent);
  transform: translateY(-4px);
}

.step-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 0.35rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(16, 42, 67, 0.1);
}

.panel h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.25rem;
  color: var(--ink);
  border-bottom: 1px solid #e8eef4;
  font-size: 0.95rem;
  transition: padding-left 0.25s ease, color 0.25s ease;
}

.checklist li:hover {
  padding-left: 1.45rem;
  color: var(--navy);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.85rem;
  line-height: 1.55;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media-frame::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
}

.split-media {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.media-frame:hover .split-media {
  transform: scale(1.04);
}

/* ---------- Feature showcase ---------- */
.showcase {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(217, 226, 236, 0.95);
  box-shadow: 0 24px 60px rgba(16, 42, 67, 0.1);
}

.showcase-grid {
  display: grid;
}

@media (min-width: 992px) {
  .showcase-grid {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 460px;
  }

  .showcase-grid.is-flip {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .showcase-grid.is-flip .showcase-media {
    order: 2;
  }
}

.showcase-media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: var(--navy-deep);
}

.showcase-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.showcase:hover .showcase-media img {
  transform: scale(1.05);
}

.showcase-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 20, 33, 0.55));
  pointer-events: none;
}

.showcase-badge {
  position: absolute;
  z-index: 2;
  left: 1.1rem;
  bottom: 1.1rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
}

.showcase-body {
  padding: 1.75rem 1.5rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(183, 121, 31, 0.08), transparent 35%),
    linear-gradient(180deg, #fff, #f8fafc);
}

@media (min-width: 992px) {
  .showcase-body {
    padding: 2.4rem 2.2rem;
  }
}

.showcase-points {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
}

.showcase-point {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  background: rgba(240, 244, 248, 0.85);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease;
}

.showcase-point:hover {
  transform: translateX(4px);
  border-color: rgba(183, 121, 31, 0.35);
  background: #fff;
}

.showcase-point i {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #d4a017, #b7791f);
  color: #fff;
  font-style: normal;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
}

.showcase-point strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.showcase-point span {
  color: var(--muted);
  font-size: 0.88rem;
}

.about-story p {
  color: var(--muted);
  max-width: 42rem;
}

.about-story p + p {
  margin-top: 0.9rem;
}

.about-pillars {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .about-pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-pillar {
  padding: 1.15rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.about-pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 121, 31, 0.4);
}

.about-pillar strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.about-pillar span {
  color: var(--muted);
  font-size: 0.9rem;
}

.founder-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 1.7rem 1.5rem;
  background:
    linear-gradient(155deg, #0a1929, #163553 60%, #1d4668);
  color: #fff;
  box-shadow: 0 22px 50px rgba(16, 42, 67, 0.22);
}

.founder-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 196, 106, 0.28), transparent 70%);
}

.founder-card > * {
  position: relative;
  z-index: 1;
}

.founder-card .founder-name {
  color: #fff;
}

.founder-card .founder-role {
  color: #e9c46a;
}

.founder-card .contact-row strong {
  color: rgba(255, 255, 255, 0.55);
}

.founder-card .contact-row a,
.founder-card .contact-row span {
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- About / contact ---------- */
.contact-meta {
  display: grid;
  gap: 1rem;
}

.contact-row strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.88rem;
  margin-bottom: 0.1rem;
}

.contact-row span,
.contact-row a {
  color: var(--muted);
}

.form-label {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.88rem;
}

.form-control,
.form-select {
  border-color: #bcccdc;
  border-radius: 2px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 0.15rem rgba(16, 42, 67, 0.12);
}

.form-hint {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.founder-name {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.25rem;
  margin: 0 0 0.15rem;
}

.founder-role {
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
}

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(183, 121, 31, 0.22), transparent 35%),
    linear-gradient(120deg, var(--navy-deep), #123049 55%, #1a3f5f);
  color: var(--white);
  padding: 3.5rem 0;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  margin: 0 0 0.45rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  max-width: 34rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #071421;
  color: rgba(255, 255, 255, 0.7);
  padding: 2.75rem 0 1.35rem;
  font-size: 0.92rem;
}

.site-footer .brand {
  font-family: var(--font-display);
  color: var(--white);
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
  color: #e9c46a;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes drawBar {
  from {
    transform: scaleX(0);
    opacity: 0.2;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .hero-animate > * {
    opacity: 1;
    transform: none;
  }

  .hero-bg,
  .page-hero::before {
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: auto;
  }

  .hero-bg {
    background-position: 65% center;
  }

  .hero-main {
    padding: 6.5rem 0 1.5rem;
  }

  .hero-brand {
    font-size: clamp(2.6rem, 14vw, 3.4rem);
  }
}
