:root {
  --orange: #e95e25;
  --orange-bright: #f26522;
  --orange-soft: rgba(233, 94, 37, 0.16);
  --black: #0a0a0a;
  --ink: #121212;
  --charcoal: #1a1a1a;
  --slate: #2a2a2a;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.1);
  --paper: #f4f2ef;
  --paper-deep: #ebe7e1;
  --text-on-light: #1c1c1c;
  --white: #ffffff;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --wrap: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
  --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);
  font-weight: 400;
  color: var(--white);
  background: var(--black);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ff7a3d;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  max-width: 16ch;
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-bottom: 0.45rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

code {
  font-size: 0.9em;
  color: var(--orange-bright);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--orange);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 0.25rem;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin: 0 0 0.75rem;
}

.section-lead {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: var(--white);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-bright);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand img {
  width: clamp(150px, 22vw, 200px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.2rem;
}

.nav-cta:hover {
  border-color: var(--orange-bright);
  color: var(--orange-bright);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--white);
  margin: 0 auto;
  transition: transform 0.25s var(--ease);
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: relative;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 4px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 1.5rem) 0 3rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 55% at 70% 15%, rgba(233, 94, 37, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(233, 94, 37, 0.12), transparent 50%),
    linear-gradient(165deg, #141414 0%, #0a0a0a 45%, #101010 100%);
}

.hero-atmosphere {
  position: absolute;
  inset: -10% -5% auto auto;
  width: min(70vw, 720px);
  aspect-ratio: 1;
  background: url("../images/telecomwholesale_logo_2022_sq_sphere.png") center / contain no-repeat;
  opacity: 0.07;
  filter: grayscale(0.2);
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-grid {
  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: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  opacity: 0;
  transform: translateY(1.25rem);
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero-brand {
  margin: 0 0 1.25rem;
}

.hero-wordmark {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 0.95;
}

.brand-telecom {
  color: var(--orange-bright);
}

.brand-wholesale {
  color: var(--white);
}

.brand-biz {
  position: absolute;
  left: 52%;
  top: 78%;
  font-size: 0.34em;
  font-weight: 700;
  color: var(--orange-bright);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.95);
  paint-order: stroke fill;
  transform: rotate(-32deg);
  transform-origin: left center;
}

.hero-tagline {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero-title {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  max-width: 22ch;
  line-height: 1.12;
  letter-spacing: 0.005em;
  margin-bottom: 1rem;
}

.hero-lead {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-3%, 4%) scale(1.04);
  }
}

/* Expertise */
.section-expertise {
  background:
    linear-gradient(180deg, #0f0f0f, #151515),
    var(--ink);
  border-top: 1px solid var(--line);
}

.expertise-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 2.5rem;
}

.expertise-list li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.expertise-list li.is-visible {
  opacity: 1;
  transform: none;
}

.expertise-list p {
  color: var(--muted);
  margin: 0;
}

/* Services — light band for contrast */
.section-services {
  background:
    linear-gradient(135deg, rgba(233, 94, 37, 0.08), transparent 40%),
    linear-gradient(180deg, var(--paper), var(--paper-deep));
  color: var(--text-on-light);
}

.section-services .section-lead {
  color: #5c5c5c;
}

.section-services h2,
.section-services h3 {
  color: var(--ink);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  margin-top: 2.5rem;
}

.services-grid article {
  padding-top: 1.15rem;
  border-top: 2px solid var(--orange);
}

.services-grid p {
  color: #555;
  margin: 0;
}

/* Tools */
.section-tools {
  background:
    radial-gradient(ellipse 55% 70% at 0% 50%, rgba(233, 94, 37, 0.14), transparent 55%),
    var(--ink);
  border-top: 1px solid var(--line);
}

.tools-inner {
  max-width: 46rem;
}

.tools-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin: 2rem 0 1.75rem;
}

.tools-list li {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.tools-list p {
  color: var(--muted);
  margin: 0;
}

.tools-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

.tools-note {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Education */
.section-education {
  background: var(--charcoal);
  border-top: 1px solid var(--line);
}

.education-inner {
  display: grid;
  gap: 2rem;
}

.education-topics {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.education-topics li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.topic-label {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.topic-note {
  color: var(--muted);
  font-weight: 300;
}

.education-cta a {
  font-weight: 500;
  text-decoration: none;
}

.education-cta a:hover {
  text-decoration: underline;
}

/* Partner */
.section-partner {
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(233, 94, 37, 0.18), transparent 55%),
    var(--ink);
}

.partner-inner {
  max-width: 46rem;
}

.partner-note {
  color: rgba(255, 255, 255, 0.68);
  max-width: 40rem;
}

/* Contact */
.section-contact {
  background: var(--paper);
  color: var(--text-on-light);
}

.section-contact .section-lead {
  color: #5c5c5c;
}

.section-contact h2 {
  color: var(--ink);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-details {
  margin: 1.5rem 0;
  display: grid;
  gap: 0.85rem;
}

.detail-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.15rem;
}

.contact-details a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--orange);
}

.contact-hint {
  font-size: 0.85rem;
  color: #777;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid #ddd6ce;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
}

.optional {
  font-weight: 400;
  color: #888;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d5cdc3;
  border-radius: 0.15rem;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: #faf9f7;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(233, 94, 37, 0.35);
  border-color: var(--orange);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-status {
  margin: 0;
  font-size: 0.92rem;
}

.form-status.is-success {
  color: #1f6b3a;
}

.form-status.is-error {
  color: #a12818;
}

/* Legal / privacy */
.section-legal {
  padding-top: calc(var(--header-h) + 3rem);
  background:
    linear-gradient(180deg, #121212, #0f0f0f);
  border-top: 1px solid var(--line);
}

.legal-inner {
  max-width: 46rem;
}

.legal-inner h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  max-width: none;
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-inner h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  max-width: none;
  margin-top: 2.25rem;
}

.legal-inner h3 {
  margin-top: 1.35rem;
  color: rgba(255, 255, 255, 0.92);
}

.legal-inner p,
.legal-inner li {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
}

.legal-inner ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.4rem;
}

.legal-back {
  margin-top: 2.5rem;
}

.legal-back a {
  font-weight: 500;
  text-decoration: none;
}

.legal-back a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  background: var(--black);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  gap: 0.65rem;
}

.footer-inner img {
  width: 140px;
  opacity: 0.9;
}

.footer-inner p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.footer-meta {
  font-size: 0.85rem !important;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--orange-bright);
}

/* Responsive */
@media (max-width: 860px) {
  .expertise-list,
  .services-grid,
  .tools-list,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .education-topics li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(10, 10, 10, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-inner,
  .hero-atmosphere,
  .expertise-list li {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
