/* ── Fonts ─────────────────────────────────────────── */

@font-face {
  font-family: 'Open Sans';
  src: url('branding/fonts/opensans-latin-var.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Assistant';
  src: url('branding/fonts/assistant-latin-var.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens (from cteep.com) ───────────────────────── */

:root {
  --ink:      #161615;
  --text:     #232323;
  --blue:     #005ba8;
  --blue-mid: #337cb9;
  --blue-sky: #5ebfe8;
  --gray:     #6b747b;
  --line:     #dee1e3;
  --light:    #ebf2f8;
  --white:    #ffffff;

  --display: 'Open Sans', 'Segoe UI', system-ui, sans-serif;
  --body:    'Assistant', 'Open Sans', 'Segoe UI', system-ui, sans-serif;

  --radius: 20px;
}

/* ── Base ──────────────────────────────────────────── */

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

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.site {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1rem;
}

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* ── Header ────────────────────────────────────────── */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
}

.logo {
  display: block;
  width: 200px;
  height: auto;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.header__phone:hover {
  border-color: var(--blue);
  background: var(--light);
}

/* ── Main ──────────────────────────────────────────── */

.main {
  flex: 1;
  padding-bottom: 3rem;
  animation: rise 0.7s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 6vw, 4.5rem);
  background: var(--light);
  border-radius: var(--radius);
}

/* brand stripes, echoing the CTEEP icon */
.hero::after {
  content: '';
  position: absolute;
  right: clamp(-120px, -6vw, -40px);
  top: 50%;
  width: clamp(220px, 32vw, 380px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: repeating-linear-gradient(
    to bottom,
    var(--white) 0 14%,
    transparent 14% 22%
  );
  opacity: 0.7;
  pointer-events: none;
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--blue);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
}

.headline {
  font-family: var(--display);
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.headline em {
  font-style: normal;
  color: var(--blue);
}

.tagline {
  margin-top: 1.5rem;
  font-size: 1.1875rem;
  line-height: 1.6;
}

.tagline span {
  display: block;
}

/* ── Buttons ───────────────────────────────────────── */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button--primary {
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--blue);
}

.button--primary:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
}

.button--ghost {
  color: var(--blue);
  background: var(--white);
  border: 2px solid var(--white);
}

.button--ghost:hover {
  border-color: var(--blue);
}

.button:focus-visible,
.header__phone:focus-visible {
  outline: 3px solid var(--blue-sky);
  outline-offset: 3px;
}

/* ── Photo ─────────────────────────────────────────── */

.photo {
  display: block;
  width: 100%;
  height: clamp(220px, 38vw, 420px);
  margin-top: 1rem;
  object-fit: cover;
  object-position: center 40%;
  border-radius: var(--radius);
}

/* ── Footer ────────────────────────────────────────── */

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--gray);
}

.footer a {
  color: var(--text);
  text-decoration: none;
}

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

/* ── Responsive ────────────────────────────────────── */

@media (max-width: 680px) {
  .header {
    padding: 1.25rem 0;
  }

  .logo {
    width: 150px;
  }

  .header__phone {
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
  }

  .tagline {
    font-size: 1.0625rem;
  }

  .tagline span {
    display: inline;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .hero::after {
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main {
    animation: none;
  }
}
