/* telescope.repair — Penumbra Design System v1 */

@import url('https://fonts.googleapis.com/css2?family=Teko:wght@600&family=Outfit:wght@400;500;600&display=swap');

:root {
  --sapphire: #1F3064;
  --brick: #BD2031;
  --glass: #D9D9DD;
  --lynx: #F7F7F7;
  --near-white: #F9F9FB;
  --white: #FFFFFF;
  --photo-bg: #12203A;
  --font-head: 'Teko', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --spacing: 8px;
  --radius: 4px;
  --max-w: 1440px;
  --gutter: 80px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--sapphire);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sapphire);
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  gap: 48px;
}

.site-nav__logo {
  text-decoration: none;
  flex-shrink: 0;
}

.site-nav__logo img { height: 300px; width: auto; display: block; }

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-left: auto;
}

.site-nav__links a {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}

.site-nav__links a:hover,
.site-nav__links a.active { color: var(--white); }

.site-nav__links a.active {
  position: relative;
}

.site-nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brick);
}

.site-nav__cta {
  display: inline-block;
  height: 48px;
  padding: 0 24px;
  margin-left: 48px;
  background: var(--brick);
  color: var(--white) !important;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.site-nav__cta:hover { opacity: 0.9; }

/* Airy disk rings in nav */
.nav-rings {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  overflow: hidden;
  width: 300px;
  height: 96px;
}

/* ── AIRY DISK MOTIF (reusable) ─────────────────────── */
.airy-rings {
  position: absolute;
  pointer-events: none;
  overflow: visible;
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  background-image: url('/_assets/hero-refractor-texas.jpg');
  background-size: cover;
  background-position: center 40%;
  padding-top: 0;
  min-height: 860px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,48,100,0.82) 0%, rgba(31,48,100,0.55) 100%);
  z-index: 0;
}

.hero__inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 80px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.hero__content { max-width: 720px; }
.hero__photo { display: none !important; }

.hero__headline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 92px;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 24px;
}

.hero__subtext {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 32px;
  background: var(--white);
  color: var(--sapphire);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 100px;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.btn-primary:hover { opacity: 0.92; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 32px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 100px;
  transition: border-color 0.15s;
  white-space: nowrap;
}

.btn-ghost:hover { border-color: var(--white); }

.hero__photo {
  background: var(--photo-bg);
  border: 1px solid rgba(217,217,221,0.25);
  border-radius: 6px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__photo-label {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  font-style: italic;
  text-align: center;
  padding: 20px;
}

/* Hero Airy disk rings */
.hero__rings {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ── GRADIENT BRIDGE ────────────────────────────────── */
.gradient-bridge {
  height: 200px;
  background: linear-gradient(to bottom, #EEE9EF 0%, var(--white) 100%);
}

/* ── SECTION SHARED ─────────────────────────────────── */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--gutter);
}

.section-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 68px;
  line-height: 1.1;
  color: var(--sapphire);
  margin-bottom: 48px;
}

.section-subtext {
  font-size: 18px;
  line-height: 1.7;
  color: #4A5568;
  margin-bottom: 32px;
  max-width: 540px;
}

/* ── SERVICE CARDS ───────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--glass);
  border-radius: 8px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
}

.service-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brick);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon svg {
  width: 20px;
  height: 20px;
}

.service-card__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 28px;
  color: var(--sapphire);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.service-card__sub {
  font-size: 17px;
  color: #6B7280;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 32px;
}

.service-card__cta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--brick);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.service-card__cta:hover { text-decoration: underline; }

/* ── ALIGNMENT INTRO ─────────────────────────────────── */
.alignment-intro {
  background: var(--near-white);
}

.alignment-intro__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

.alignment-intro__airy {
  display: flex;
  align-items: center;
  justify-content: center;
}

.alignment-intro__airy-circle {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1.5px solid rgba(31,48,100,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.alignment-intro__airy-circle::before {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(31,48,100,0.08);
}

.alignment-intro__airy-circle::after {
  content: '';
  position: absolute;
  inset: 70px;
  border-radius: 50%;
  border: 1.5px solid rgba(31,48,100,0.06);
}

/* ── MAIL-IN BANNER ──────────────────────────────────── */
.mailin-banner {
  background: var(--brick);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.mailin-banner--photo {
  background: var(--brick);
}
.mailin-banner--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--banner-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: luminosity;
}

.mailin-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.mailin-banner__text {}

.mailin-banner__headline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 68px;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 12px;
}

.mailin-banner__sub {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
}

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--white);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}

.btn-ghost-white:hover { background: rgba(255,255,255,0.25); }

/* ── FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--sapphire);
  border-top: 2px solid var(--brick);
  padding: 56px var(--gutter) 40px;
}

.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand__logo {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 22px;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  display: block;
}

.footer-brand__tagline {
  font-size: 16px;
  color: rgba(217,217,221,0.75);
  line-height: 1.5;
}

.footer-col__heading {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 16px;
}

.footer-col__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col__links a {
  font-size: 16px;
  color: rgba(217,217,221,0.8);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col__links a:hover { color: var(--white); }

.site-footer__copyright {
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid rgba(217,217,221,0.15);
  padding-top: 24px;
  font-size: 14px;
  color: rgba(217,217,221,0.55);
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-footer__copyright a {
  color: inherit;
  text-decoration: none;
}

.site-footer__copyright a:hover { color: rgba(217,217,221,0.9); }

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.footer-social a:hover {
  border-color: rgba(255,255,255,0.6);
  color: white;
}

/* ── PAGE HERO (inner pages) ─────────────────────────── */
.page-hero {
  background: var(--sapphire);
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}

.page-hero--photo {
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center 40%;
}
.page-hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,48,100,0.88) 0%, rgba(31,48,100,0.60) 100%);
  z-index: 0;
}

.page-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--gutter) 80px;
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 76px;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero__sub {
  font-size: 20px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 600px;
}

/* ── CONTACT PAGE ────────────────────────────────────── */
.contact-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.contact-form-card {
  background: var(--sapphire);
  border-radius: 8px;
  padding: 56px 48px;
  color: var(--white);
}

.contact-form-card h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 48px;
  margin-bottom: 32px;
  color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(217,217,221,0.25);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--white);
  outline: none;
  transition: border-color 0.15s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(217,217,221,0.5);
}

.form-group select option { color: var(--sapphire); background: var(--white); }

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-brick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  background: var(--brick);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
  margin-top: 8px;
}

.btn-brick:hover { opacity: 0.9; }

.contact-info {}

.contact-info__heading {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 52px;
  line-height: 1.1;
  color: var(--sapphire);
  margin-bottom: 32px;
}

.contact-info__divider {
  height: 1px;
  background: var(--glass);
  margin-bottom: 32px;
}

.contact-info-item {
  margin-bottom: 28px;
}

.contact-info-item__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--brick);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-info-item__value {
  font-size: 17px;
  color: var(--sapphire);
  line-height: 1.5;
}

.contact-info-item__value a {
  color: var(--sapphire);
  text-decoration: none;
}

.contact-info-item__value a:hover { text-decoration: underline; }

/* Success state */
.contact-success {
  display: none;
  background: var(--sapphire);
  border-radius: 8px;
  padding: 56px 48px;
  text-align: center;
  color: var(--white);
}

.contact-success.is-visible { display: block; }
.contact-form-card.is-hidden { display: none; }

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  color: var(--brick);
}

.contact-success h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 36px;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-success p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
}

/* ── ABOUT PAGE ──────────────────────────────────────── */
.about-body { background: var(--lynx); }

.about-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--gutter);
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

.about-intro__text h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 60px;
  color: var(--sapphire);
  margin-bottom: 24px;
  line-height: 1.1;
}

.about-intro__text p {
  font-size: 18px;
  color: #4A5568;
  line-height: 1.7;
  margin-bottom: 16px;
}

.lso-strip {
  background: var(--sapphire);
  position: relative;
  overflow: hidden;
  padding: 64px var(--gutter);
}

.lso-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.lso-strip__text {
  flex: 1;
}

.lso-strip__text h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 56px;
  color: var(--white);
  margin-bottom: 16px;
}

.lso-strip__text p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 80px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}

.cred-card {
  background: var(--white);
  border: 1px solid var(--glass);
  border-radius: 8px;
  padding: 32px;
}

.cred-card__icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.cred-card__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 26px;
  color: var(--sapphire);
  margin-bottom: 8px;
}

.cred-card__body {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.6;
}

/* ── SERVICES PAGE ───────────────────────────────────── */
.services-body { background: var(--lynx); }

.services-full-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-full-card {
  background: var(--white);
  border: 1px solid var(--glass);
  border-radius: 8px;
  padding: 48px 40px;
}

.service-full-card__num {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 72px;
  color: var(--glass);
  line-height: 1;
  margin-bottom: 20px;
}

.service-full-card__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 34px;
  color: var(--sapphire);
  margin-bottom: 12px;
}

.service-full-card__sub {
  font-size: 17px;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 28px;
}

.service-full-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--brick);
  text-decoration: none;
}

.service-full-card__cta:hover { text-decoration: underline; }

/* ── MOBILE NAV ──────────────────────────────────────── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger svg { display: block; }

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--sapphire);
  z-index: 99;
  padding: 32px var(--gutter);
  flex-direction: column;
  gap: 0;
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  font-size: 22px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(217,217,221,0.1);
}

.mobile-nav .mobile-nav__cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  background: var(--brick);
  color: var(--white);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  border: none;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .site-nav__links { display: none; }
  .nav-hamburger { display: block; }
  .site-nav__cta { display: none; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__photo { display: none; }
  .hero__headline { font-size: 64px; }

  .services-grid { grid-template-columns: 1fr; }
  .services-full-grid { grid-template-columns: 1fr; }

  .alignment-intro__inner { grid-template-columns: 1fr; }
  .alignment-intro__airy { display: none; }

  .mailin-banner__inner { flex-direction: column; align-items: flex-start; }

  .site-footer__inner { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; }

  .about-intro { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .hero__headline { font-size: 52px; }
  .section-heading { font-size: 44px; }
  .mailin-banner__headline { font-size: 32px; }
  .cred-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero__title { font-size: 48px; }
  .site-nav { padding-left: var(--gutter); }
  .site-nav__logo img { height: 64px !important; }
  .hero { padding-top: 0; }
  .page-hero { padding-top: 0; }
  .mobile-nav { top: 80px; }
}
