/* ============================================================
   WERWHOLF MEDIA — Main Stylesheet
   Colors: Navy #121E31 | Breeze #B2C6D5 | Charcoal #1A1C1E | Platinum #E2E4E6
   Fonts: Teko (display) | Acumin Variable Concept (body)
   ============================================================ */

/* === RESET & ROOT === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:     #121E31;
  --charcoal: #1A1C1E;
  --breeze:   #B2C6D5;
  --platinum: #E2E4E6;
  --white:    #FFFFFF;
  --off-white: #F5F6F7;

  --font-display: 'Teko', sans-serif;
  --font-body:    'acumin-variable', 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  --nav-height: 90px;
  --max-width: 1200px;
}

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(3rem, 7vw, 7rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 500; }
h4 { font-size: 1.2rem; font-weight: 500; }

p  { font-size: 1.05rem; line-height: 1.7; }

.label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--breeze);
}

.label--dark { color: var(--navy); }

/* === UTILITY === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 100px 0; }
.section--sm { padding: 60px 0; }
.section--lg { padding: 130px 0; }

.section--dark  { background: var(--navy);    color: var(--platinum); }
.section--char  { background: var(--charcoal); color: var(--platinum); }
.section--light { background: var(--off-white); }
.section--breeze { background: var(--breeze); color: var(--navy); }

.rule {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--breeze);
  margin: 24px 0;
}

.rule--white { background: var(--white); }
.rule--navy  { background: var(--navy); }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 2px solid currentColor;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
}

.btn--primary {
  background: var(--breeze);
  color: var(--navy);
  border-color: var(--breeze);
}
.btn--primary:hover {
  background: transparent;
  color: var(--breeze);
}

.btn--outline {
  background: transparent;
  color: var(--platinum);
  border-color: var(--platinum);
}
.btn--outline:hover {
  background: var(--platinum);
  color: var(--navy);
}

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* === NAVIGATION === */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--navy);
  border-bottom: 1px solid rgba(178, 198, 213, 0.15);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-nav.scrolled {
  background: rgba(18, 30, 49, 0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 60px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--platinum);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--breeze);
  transition: width 0.25s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  border: 1px solid var(--breeze) !important;
  color: var(--breeze) !important;
}
.nav-cta:hover {
  background: var(--breeze) !important;
  color: var(--navy) !important;
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--platinum);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === PAGE HERO (non-home) === */
.page-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  background: var(--navy);
  color: var(--platinum);
}

.page-hero h1 { color: var(--white); }
.page-hero .label { margin-bottom: 16px; }

/* === HERO (HOME) === */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(178,198,213,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px 120px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero__watermark {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(680px, 60vw);
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero__watermark img {
  width: 100%;
  filter: brightness(0) invert(1);
}

.hero__logo {
  width: min(380px, 60vw);
  margin-bottom: 52px;
}

.hero__logo img {
  width: 100%;
  height: auto;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--breeze);
  line-height: 1;
  margin-bottom: 28px;
}

.hero__rule {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--breeze);
  margin: 0 auto 28px;
}

.hero__sub {
  color: var(--platinum);
  font-size: 1.1rem;
  opacity: 0.75;
  max-width: 480px;
  letter-spacing: 0.02em;
}

.hero__ctas {
  display: flex;
  gap: 20px;
  margin-top: 44px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(226, 228, 230, 0.35);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 32px;
  height: 1px;
  background: rgba(226, 228, 230, 0.25);
}

/* === NETWORK STRIP === */
.network-strip {
  background: var(--charcoal);
  padding: 24px 0;
  border-top: 1px solid rgba(178, 198, 213, 0.1);
  border-bottom: 1px solid rgba(178, 198, 213, 0.1);
}

.network-strip__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}

.network-strip__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(178, 198, 213, 0.5);
  white-space: nowrap;
  flex-shrink: 0;
}

.network-strip__divider {
  width: 1px;
  height: 20px;
  background: rgba(178, 198, 213, 0.2);
  flex-shrink: 0;
}

.network-strip__logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.network-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(226, 228, 230, 0.45);
  transition: color 0.2s;
  white-space: nowrap;
}
.network-name:hover { color: var(--platinum); }

/* === SERVICES CARDS === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--platinum);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  padding: 48px 36px;
  border-right: 1px solid var(--platinum);
  position: relative;
  transition: background 0.3s;
}
.service-card:last-child { border-right: none; }

.service-card:hover { background: var(--navy); }
.service-card:hover .service-card__title,
.service-card:hover .service-card__body { color: var(--platinum); }
.service-card:hover .service-card__num { color: rgba(178, 198, 213, 0.2); }
.service-card:hover .rule { background: var(--breeze); }

.service-card__num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--platinum);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 16px;
  transition: color 0.3s;
}

.service-card__body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #555;
  transition: color 0.3s;
}

/* Services detail page */
.service-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
  padding: 80px 0;
  border-bottom: 1px solid var(--platinum);
}
.service-block:first-child { padding-top: 0; }
.service-block:last-child  { border-bottom: none; }

.service-block__num {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  color: var(--platinum);
  line-height: 0.9;
}

.service-block__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 24px;
}

.service-block__list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-block__list li {
  font-size: 0.95rem;
  color: #444;
  padding-left: 20px;
  position: relative;
}
.service-block__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--breeze);
}

/* === ABOUT TEASER === */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-split__img {
  aspect-ratio: 4/5;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.about-split__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(178, 198, 213, 0.3);
}

.about-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--platinum);
}
.credential-item:first-child { border-top: 1px solid var(--platinum); }

.credential-item__org {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  flex: 0 0 160px;
}
.credential-item__role {
  font-size: 0.9rem;
  color: #666;
}

/* === STATS BAR === */
.stats-bar {
  background: var(--navy);
  padding: 60px 0;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 0 40px;
  border-right: 1px solid rgba(178, 198, 213, 0.15);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-item__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--breeze);
  line-height: 1;
  display: block;
}
.stat-item__label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(226, 228, 230, 0.6);
  margin-top: 8px;
  display: block;
}

/* === AWARDS === */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.award-card {
  background: var(--charcoal);
  padding: 48px 40px;
  transition: background 0.25s;
}
.award-card:hover { background: #252729; }
.award-card__icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1;
}
.award-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--breeze);
  margin-bottom: 8px;
}
.award-card__desc {
  font-size: 0.95rem;
  color: rgba(226, 228, 230, 0.65);
  line-height: 1.6;
}

/* === WORK GRID === */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.work-item {
  aspect-ratio: 4/3;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.work-item__bg {
  width: 100%;
  height: 100%;
  background: var(--charcoal);
  transition: transform 0.5s;
}
.work-item:hover .work-item__bg { transform: scale(1.04); }
.work-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,30,49,0.9) 0%, rgba(18,30,49,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.3s;
}
.work-item:hover .work-item__overlay { opacity: 1; }
.work-item__cat {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--breeze);
  margin-bottom: 6px;
}
.work-item__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
}

.work-item__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(178, 198, 213, 0.2);
  background: var(--charcoal);
}

/* === CONTACT === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  align-items: start;
}

.contact-info__item {
  margin-bottom: 36px;
}
.contact-info__label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--breeze);
  margin-bottom: 6px;
}
.contact-info__value {
  font-size: 1rem;
  color: var(--platinum);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.form-group label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(226, 228, 230, 0.6);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(178, 198, 213, 0.25);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.25s;
  resize: vertical;
  width: 100%;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--breeze);
}

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

/* Form success message */
.form-success {
  display: none;
  background: rgba(178, 198, 213, 0.1);
  border: 1px solid var(--breeze);
  padding: 24px;
  text-align: center;
  color: var(--platinum);
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

/* === CTA BANNER === */
.cta-banner {
  background: var(--breeze);
  padding: 80px 0;
}
.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-banner h2 { color: var(--navy); }
.cta-banner p { color: var(--navy); opacity: 0.75; margin-top: 12px; max-width: 480px; }

/* === FOOTER === */
.site-footer {
  background: var(--charcoal);
  padding: 60px 0 40px;
  border-top: 1px solid rgba(178, 198, 213, 0.1);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(178, 198, 213, 0.1);
  margin-bottom: 32px;
}
.footer-logo { margin-bottom: 20px; }
.footer-logo img { height: 30px; width: auto; }
.footer-tagline { font-size: 0.9rem; color: rgba(226,228,230,0.5); line-height: 1.6; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--breeze);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(226,228,230,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--platinum); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(226,228,230,0.35);
}

/* === INLINE HIGHLIGHT === */
.highlight { color: var(--breeze); }

/* === HERO ENTRANCE ANIMATION === */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim {
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
}

/* === PAGE TRANSITIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(178, 198, 213, 0.15); padding-top: 40px; }
  .stat-item:nth-child(4) { padding-top: 40px; }

  .service-block { grid-template-columns: 1fr; gap: 24px; }
  .service-block__num { font-size: 5rem; }
  .about-split { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 60px; }
  .awards-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 70px 0; }

  .nav-links { display: none; flex-direction: column; gap: 0;
    position: absolute; top: var(--nav-height); left: 0; right: 0;
    background: var(--navy); border-bottom: 1px solid rgba(178,198,213,0.15);
    padding: 20px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; width: 100%; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }

  .hero__inner { padding-bottom: 80px; }
  .hero__watermark { right: -10%; width: min(500px, 85vw); opacity: 0.04; }
  .hero__ctas { gap: 14px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid var(--platinum); }
  .service-card:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .awards-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .network-strip__logos { gap: 24px; }
}
