/*
  Diamond Claw – Myriad-based design
  Layout follows aerospace page sections and copy.
  Typography: Myriad Pro (requires license). Fallbacks provided.
*/

/* Optional local font-face loading – place licensed files into /fonts/ */
/*
@font-face {
  font-family: "Myriad Pro";
  src: url("/fonts/MyriadPro-Regular.woff2") format("woff2"),
       url("/fonts/MyriadPro-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Myriad Pro";
  src: url("/fonts/MyriadPro-Bold.woff2") format("woff2"),
       url("/fonts/MyriadPro-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*/

:root {
  /* Palette derived from logo: deep navy + dark/light grey */
  --navy: #2f4f7f;
  /* primary brand navy */
  --navy-900: #0e1a2b;
  /* page background */
  --navy-700: #385b8d;
  /* hover/bright navy */
  --grey-dark: #5c5f65;
  /* dark grey accents */
  --steel: #8a8a8a;
  /* mid grey (logo claw) */
  --grey-light: #d0d3d8;
  /* light grey text/support */
  --text: #e6e9ee;
  /* near-light grey for body text */
  --text-muted: var(--grey-light);
  --glass: rgba(15, 18, 26, .72);
  --glass-border: rgba(224, 228, 234, .14);
  --blur: 18px;
  --ease: cubic-bezier(.215, .61, .355, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden
}

body {
  font-family: "Myriad Pro", Myriad, "Source Sans Pro", "Segoe UI", Arial, Helvetica, sans-serif;
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none
}

/* Navigation */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 26, 43, .85);
  /* Dark by default for readability */
  border-bottom: 1px solid transparent;
  transition: all .6s var(--ease);
}

.nav-bar.scrolled {
  background: rgba(14, 26, 43, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.logo {
  display: flex;
  align-items: center;
  gap: .75rem
}

.logo img {
  height: 42px
}

.logo .wordmark {
  font-weight: 700;
  letter-spacing: .8px;
  color: var(--text);
  text-transform: uppercase
}

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

.nav-links a {
  margin-left: 1.5rem;
  color: var(--text);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  opacity: .9;
  transition: color .25s, opacity .25s
}

.nav-links a:hover {
  color: #fff;
  opacity: 1
}

.hamburger {
  display: none;
  cursor: pointer
}

.bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: all .3s ease
}

/* Hero */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%) fixed;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(225deg, rgba(14, 26, 43, 0.85) 0%, rgba(14, 26, 43, 0.4) 40%, transparent 80%), linear-gradient(135deg, rgba(47, 169, 165, 0.15) 0%, rgba(74, 111, 169, 0.15) 100%), linear-gradient(90deg, var(--navy-900) 10%, rgba(14, 26, 43, 0.6) 50%, rgba(14, 26, 43, 0.2) 100%);
  mix-blend-mode: multiply;
}

.bokeh-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
  will-change: transform
}

/* Bokeh palette (brighter but non-neon) */
:root {
  --bokeh-blue: #4a6fa9;
  --bokeh-teal: #2fa9a5
}

.bokeh-layer .dot {
  position: absolute;
  border-radius: 50%;
  filter: blur(3.8px);
  opacity: .46;
  will-change: transform;
  transform: translateZ(0)
}

.bokeh-layer .dot.blue {
  background: radial-gradient(circle, rgba(74, 111, 169, .55) 0%, rgba(74, 111, 169, .25) 45%, rgba(74, 111, 169, 0) 70%)
}

.bokeh-layer .dot.teal {
  background: radial-gradient(circle, rgba(47, 169, 165, .55) 0%, rgba(47, 169, 165, .25) 45%, rgba(47, 169, 165, 0) 70%)
}

/* idle bobbing */
@keyframes bob {
  0% {
    transform: translateY(-6px)
  }

  50% {
    transform: translateY(6px)
  }

  100% {
    transform: translateY(-6px)
  }
}

/* gentle horizontal sway */
@keyframes sway {
  0% {
    translate: -6px 0
  }

  50% {
    translate: 6px 0
  }

  100% {
    translate: -6px 0
  }
}

.bokeh-layer .dot {
  animation:
    bob var(--dur, 10s) ease-in-out infinite,
    sway var(--dur2, 14s) ease-in-out infinite;
  animation-delay: var(--delay, 0s), var(--delay2, 0s);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-left: 8%;
  padding-right: 2rem;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 1.1s var(--ease) forwards .5s
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.tagline {
  color: var(--steel);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
  font-size: .88rem
}

.hero h1 {
  font-size: 3.8rem;
  margin-bottom: 1rem;
  line-height: 1.06;
  letter-spacing: -.5px
}

.lead {
  opacity: .95;
  margin-bottom: 1.2rem;
  max-width: 56ch
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.2rem;
  background: var(--navy-700);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  transition: transform .25s, background .25s
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #42679c
}

/* Feature blocks */
section.full-block {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  isolation: isolate
}

.parallax-bg-container {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  z-index: 0;
  pointer-events: none;
  will-change: transform
}

.parallax-bg-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06)
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(10, 16, 28, .92) 0%, transparent 60%)
}

.hud-panel {
  position: relative;
  z-index: 2;
  padding: 3rem;
  max-width: 640px;
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--navy-700);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
  opacity: 0;
  transform: translateY(36px) scale(.985);
  transition: opacity 1s ease, transform 1s var(--ease)
}

section.full-block.is-active .hud-panel {
  opacity: 1;
  transform: translateY(0) scale(1)
}

.subtitle {
  display: block;
  color: var(--steel);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem
}

h2 {
  font-size: 3rem;
  margin-bottom: .5rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -.6px;
  line-height: 1
}

p.block-text {
  font-size: 1.1rem;
  color: rgba(233, 238, 247, .94);
  line-height: 1.6;
  max-width: 96%
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(138, 138, 138, .12);
  border-color: var(--grey-dark)
}

/* --------------------------------------------------
   Gutenberg Core Button Styles
   -------------------------------------------------- */

/* 1. Primary Style */
.wp-block-button.is-style-dc-primary .wp-block-button__link {
  display: inline-block;
  padding: 1rem 2.2rem;
  background: var(--navy-700);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  border: none;
  transition: transform .25s, background .25s;
}

.wp-block-button.is-style-dc-primary .wp-block-button__link:hover {
  transform: translateY(-2px);
  background: #42679c;
}

/* 2. Secondary Style */
.wp-block-button.is-style-dc-secondary .wp-block-button__link {
  display: inline-block;
  padding: .85rem 1.7rem;
  border: 1px solid var(--steel);
  color: #fff;
  border-radius: 6px;
  background: transparent;
  font-weight: 600;
  letter-spacing: .5px;
  transition: transform .2s, background .25s, border-color .25s;
}

.wp-block-button.is-style-dc-secondary .wp-block-button__link:hover {
  transform: translateY(-2px);
  background: rgba(138, 138, 138, .12);
  border-color: var(--grey-dark);
}

/* New Layout Helpers */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

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

.capability-item h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.capability-item p {
  font-size: 0.95rem;
  color: var(--grey-light);
  line-height: 1.5;
}

.differentiator-list {
  list-style: none;
  margin-top: 1.5rem;
  padding: 0;
}

.differentiator-list li {
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  border-left: 2px solid var(--steel);
}

.differentiator-list strong {
  color: #fff;
  display: block;
}

.sector-list {
  margin-top: 2rem;
}

.sector-item {
  margin-bottom: 1.5rem;
}

.sector-item h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.secondary-text {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* Inner Page Layouts */
.inner-hero {
  height: 70vh;
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-700);
  /* Fallback */
}

.inner-hero .overlay {
  display: none;
}

.inner-hero .hero-bg::after {
  display: none;
}

.inner-hero h1 {
  position: relative;
  z-index: 2;
  font-size: 3.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  background: #0e1a2bd9;
  /* requested barrier */
  padding: 1rem 3rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* shadow removed to let background do the work, or keep subtle */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.content-section {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem;
  max-width: 900px;
  margin: -60px auto 0;
  /* overlap hero */
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-top: 4px solid var(--navy-700);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.prose h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.prose p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text);
}

.prose ul {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.75rem;
  color: var(--text);
}

@media (max-width: 768px) {
  .inner-hero {
    height: 40vh;
  }

  .inner-hero h1 {
    font-size: 2.5rem;
  }

  .content-section {
    margin: 0;
    border: none;
  }
}



/* Sector classes removed. Layouts now use standard dc-layout-* classes assigned in front-page.php */

section.full-block.dc-layout-left {
  justify-content: flex-start;
  align-items: center;
}

section.full-block.dc-layout-left .hud-panel {
  margin-left: 10%;
  border-left: 4px solid var(--navy-700);
}

section.full-block.dc-layout-right {
  justify-content: flex-end;
  align-items: center;
}

section.full-block.dc-layout-right .hud-panel {
  margin-right: 10%;
  border-left: 1px solid var(--glass-border);
  border-right: 4px solid var(--steel);
}

section.full-block.dc-layout-center {
  justify-content: center;
  align-items: center;
}

section.full-block.dc-layout-center .hud-panel {
  margin: 0;
  border-left: 4px solid var(--steel);
}

.dc-panel-transparent {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.dc-panel-transparent h2 {
  font-size: 3.8rem;
  line-height: 1.06;
}

/* Scrim (dark overlay behind text for readability) */
.dc-scrim-light {
  background: rgba(10, 16, 28, 0.35) !important;
  padding: 2.5rem !important;
  border-radius: 8px;
}

.dc-scrim-medium {
  background: rgba(10, 16, 28, 0.55) !important;
  padding: 2.5rem !important;
  border-radius: 8px;
}

.dc-scrim-heavy {
  background: rgba(10, 16, 28, 0.75) !important;
  padding: 2.5rem !important;
  border-radius: 8px;
}

/* Responsive */
@media(max-width:992px) {
  .hero h1 {
    font-size: 3.2rem
  }
}

@media(max-width:768px) {
  .nav-bar {
    padding: 1.25rem 1.5rem
  }

  .hamburger {
    display: block;
    position: relative;
    z-index: 1001;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg)
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg)
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background: rgba(14, 26, 43, .98);
    width: 100%;
    height: 100vh;
    justify-content: center;
    transition: .3s
  }

  .nav-links.active {
    left: 0
  }

  .nav-links a {
    margin: 1.5rem 0;
    font-size: 1.1rem
  }

  .hero h1 {
    font-size: 2.6rem
  }

  .hero-content {
    margin-left: 6%;
    max-width: 92%;
    padding: 0
  }

  section.full-block {
    height: auto;
    min-height: 100vh;
    display: block
  }

  .hud-panel {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 0;
    border: none;
    border-top: 4px solid var(--navy-700);
    padding: 2.5rem 1.5rem;
    background: rgba(10, 14, 22, .9)
  }

  #fit .hud-panel {
    text-align: left;
    border-right: none
  }
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

/* Capabilities Page Gradient - REMOVED, handled globally by .hero-bg */

/* =========================================================================
   PAGE TEMPLATE VARIANTS
   Selectable from the WP editor: Pages → Edit → Page Attributes → Template
   ========================================================================= */

/* --------------------------------------------------
   1. Photo-Centric  (inner-hero--photo-centric)
   Taller hero, image dominates, H1 de-emphasized
   at bottom-center with gradient scrim.
   -------------------------------------------------- */
.inner-hero--photo-centric {
  height: 85vh;
  min-height: 600px;
  align-items: flex-end;
  /* push H1 to bottom */
  justify-content: center;
}

.inner-hero--photo-centric::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
      rgba(14, 26, 43, 0.88) 0%,
      rgba(14, 26, 43, 0.35) 35%,
      transparent 65%);
  pointer-events: none;
}

.inner-hero--photo-centric h1 {
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
  font-size: 2.4rem;
  letter-spacing: 1.5px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------
   2. Title Left  (inner-hero--title-left)
   H1 anchored to the bottom-left.
   -------------------------------------------------- */
.inner-hero--title-left {
  align-items: flex-end;
  justify-content: flex-start;
}

.inner-hero--title-left::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right,
      rgba(14, 26, 43, 0.85) 0%,
      transparent 60%),
    linear-gradient(to top,
      rgba(14, 26, 43, 0.7) 0%,
      transparent 50%);
  pointer-events: none;
}

.inner-hero--title-left h1 {
  position: relative;
  z-index: 2;
  margin: 0 0 3rem 5%;
  text-align: left;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-left: 4px solid var(--navy-700);
  padding: 1rem 2rem;
  border-radius: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------
   3. Title Right  (inner-hero--title-right)
   H1 anchored to the bottom-right.
   -------------------------------------------------- */
.inner-hero--title-right {
  align-items: flex-end;
  justify-content: flex-end;
}

.inner-hero--title-right::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to left,
      rgba(14, 26, 43, 0.85) 0%,
      transparent 60%),
    linear-gradient(to top,
      rgba(14, 26, 43, 0.7) 0%,
      transparent 50%);
  pointer-events: none;
}

.inner-hero--title-right h1 {
  position: relative;
  z-index: 2;
  margin: 0 5% 3rem 0;
  text-align: right;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-right: 4px solid var(--steel);
  border-left: none;
  padding: 1rem 2rem;
  border-radius: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------
   Template responsive overrides
   -------------------------------------------------- */
@media (max-width: 768px) {
  .inner-hero--photo-centric {
    height: 55vh;
    min-height: 400px;
  }

  .inner-hero--photo-centric h1 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .inner-hero--title-left,
  .inner-hero--title-right {
    height: 50vh;
  }

  .inner-hero--title-left h1,
  .inner-hero--title-right h1 {
    font-size: 2rem;
    margin: 0 1.5rem 2rem;
  }
}

/* =========================================================================
   FOOTER (ported from Footer.astro <style>)
   ========================================================================= */
.site-footer {
  background: #080f1b;
  border-top: 1px solid var(--navy-700);
  padding: 4rem 2rem 2rem;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 38px;
  margin-bottom: 0.25rem;
  opacity: 1;
}

.footer-logo .tagline {
  color: var(--steel);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  margin-left: 2px;
}

.subsidiary-text {
  color: var(--grey-light);
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.8;
}

.subsidiary-text a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--bokeh-teal);
}

.footer-col h4 {
  color: var(--steel);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.links-col nav,
.links-col .footer-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* WP nav menu outputs ul>li>a – flatten visually */
.links-col .footer-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links-col .footer-nav-menu li {
  margin: 0;
}

.links-col a,
.links-col .footer-nav-menu a {
  color: var(--text);
  transition: color 0.2s;
  font-size: 0.95rem;
}

.links-col a:hover,
.links-col .footer-nav-menu a:hover {
  color: var(--bokeh-teal);
}

.contact-col address {
  font-style: normal;
  color: var(--text);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.contact-col address a {
  color: #fff;
}

.social-links a {
  display: inline-block;
  color: var(--steel);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--navy-700);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.social-links a:hover {
  border-color: var(--bokeh-teal);
  color: #fff;
}

.footer-legal {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.8rem;
  color: var(--steel);
  opacity: 0.6;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .branding-col {
    grid-column: span 2;
    margin-bottom: 1rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .branding-col {
    grid-column: span 1;
  }

  .footer-logo {
    justify-content: center;
  }

  .social-links {
    display: flex;
    justify-content: center;
  }
}

/* =========================================================================
   NAV WALKER COMPATIBILITY
   WP wp_nav_menu() outputs <ul class="menu"><li><a> by default.
   These rules make that structure visually match the flat <a> tags from Astro.
   ========================================================================= */
.nav-links ul.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.nav-links ul.menu li {
  margin: 0;
}

.nav-links ul.menu li a {
  margin-left: 1.5rem;
  color: var(--text);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  opacity: .9;
  transition: color .25s, opacity .25s;
}

.nav-links ul.menu li a:hover {
  color: #fff;
  opacity: 1;
}

@media (max-width: 768px) {
  .nav-links ul.menu {
    flex-direction: column;
  }

  .nav-links ul.menu li a {
    margin: 1.5rem 0;
    margin-left: 0;
    font-size: 1.1rem;
  }
}