/*
Theme Name: JGT Design – Digital Services
Theme URI: https://www.jgtdesign.com
Author: Juan Gonzalez Tel
Author URI: https://www.jgtdesign.com
Description: Custom portfolio theme for JGT Design – Digital Services. Built for freelance client acquisition and personal branding.
Version: 1.1.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
License: Private
Text Domain: jgt-design
Tags: portfolio, custom, one-author
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand colours */
  --clr-navy:       #575a7c;   /* PANTONE 2766 U – primary */
  --clr-blue:       #7299c6;   /* PANTONE 652 U  – accent  */
  --clr-navy-dark:  #3d4057;   /* darkened navy for hover  */
  --clr-blue-light: #a8c3e3;   /* tinted blue for subtle bg */
  --clr-blue-pale:  #edf2f8;   /* very light blue bg       */

  /* Neutrals */
  --clr-white:  #ffffff;
  --clr-off:    #f7f8fc;
  --clr-border: #dde3ef;
  --clr-muted:  #8a8fa8;
  --clr-text:   #2c2e3e;       /* near-black for body copy  */

  /* Typography */
  --font-sans:  'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif;
  --font-mono:  'Source Code Pro', monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.5rem;
  --text-5xl:  3.5rem;

  --weight-regular:  400;
  --weight-semibold: 600;
  --weight-bold:     700;

  --leading-tight:  1.2;
  --leading-snug:   1.4;
  --leading-normal: 1.6;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 5vw, 3rem);

  /* UI */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(44,46,62,.08), 0 1px 2px rgba(44,46,62,.06);
  --shadow-md: 0 4px 16px rgba(44,46,62,.10);
  --shadow-lg: 0 8px 32px rgba(44,46,62,.14);

  --transition: 200ms ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--clr-text);
  background: var(--clr-white);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--clr-navy);
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }

p { max-width: 68ch; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-blue);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: clamp(var(--sp-12), 8vw, var(--sp-32));
}

.section--alt { background: var(--clr-off); }
.section--navy { background: var(--clr-navy); color: var(--clr-white); }
.section--navy h2, .section--navy h3 { color: var(--clr-white); }

.grid-2 { display: grid; gap: var(--sp-8); }
.grid-3 { display: grid; gap: var(--sp-6); }
.grid-4 { display: grid; gap: var(--sp-6); }

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

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }

.text-center { text-align: center; }
.mt-2  { margin-top: var(--sp-2); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--clr-navy);
  color: #ffffff;
}
.btn--primary:hover {
  background: var(--clr-navy-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--clr-navy);
  border: 2px solid var(--clr-navy);
}
.btn--outline:hover {
  background: var(--clr-navy);
  color: var(--clr-white);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn--ghost:hover {
  border-color: var(--clr-white);
  background: rgba(255,255,255,.1);
}

/* ============================================================
   SITE HEADER & NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--clr-text);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo img,
.site-logo svg {
  height: 44px;
  width: auto;
  max-width: 60vw;   /* keep the wordmark from overflowing on small screens */
}

/* White logo on dark header */
.site-header .site-logo img,
.site-header .site-logo svg {
  filter: brightness(0) invert(1);
}

/* Larger header + logo on tablet/desktop */
@media (min-width: 768px) {
  .site-header__inner { height: 90px; }
  .site-logo img,
  .site-logo svg { height: 80px; max-width: none; }
}

.site-nav { display: flex; align-items: center; gap: var(--sp-8); }

.site-nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-6);
}

@media (min-width: 768px) {
  .site-nav__links { display: flex; }
}

/* wp_nav_menu outputs a <ul> — reset it */
.site-nav__links ul,
.site-nav__links .menu {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__links li { margin: 0; padding: 0; position: static; }

.site-nav__links a {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: #f2f2f2;
  letter-spacing: .02em;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
.site-nav__links a:hover,
.site-nav__links .current-menu-item > a {
  color: #8bc3e3;
  border-bottom-color: #8bc3e3;
}

/* Mobile nav <ul> reset */
.mobile-nav ul,
.mobile-nav .menu {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav li { margin: 0; padding: 0; }
.mobile-nav a {
  font-weight: var(--weight-semibold);
  color: var(--clr-navy);
  font-size: var(--text-lg);
}

/* Mobile hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
@media (min-width: 768px) { .nav-toggle { display: none; } }

/* Header CTA: hidden on mobile (lives inside the burger menu instead), shown on desktop */
.site-nav__cta { display: none; }
@media (min-width: 768px) { .site-nav__cta { display: inline-flex; } }

/* Keep the CTA label readable on the dark header (beats the global `a` color) */
.site-header .site-nav__cta,
.site-header .site-nav__cta:hover { color: #f2f2f2; }

/* Primary buttons always sit on a dark navy fill, so their label must stay light
   everywhere — including inside Elementor, whose global link color can otherwise
   recolor the text and make it vanish. */
a.btn--primary,
a.btn--primary:hover,
a.btn--primary:focus { color: #f2f2f2 !important; }

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--clr-navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-6) var(--container-pad);
  border-top: 1px solid var(--clr-border);
  background: var(--clr-white);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  font-weight: var(--weight-semibold);
  color: var(--clr-navy);
  font-size: var(--text-lg);
}

/* Hero-specific button overrides (dark background) */
.hero .btn--primary {
  background: var(--clr-white);
  color: var(--clr-navy) !important;
  border: 2px solid var(--clr-white);
}
.hero .btn--primary:hover {
  background: var(--clr-blue-pale);
  color: var(--clr-navy-dark) !important;
  border-color: var(--clr-blue-pale);
  box-shadow: var(--shadow-md);
}
.hero .btn--ghost {
  color: var(--clr-white) !important;
  border-color: rgba(255,255,255,.5);
}
.hero .btn--ghost:hover {
  color: var(--clr-white) !important;
  border-color: var(--clr-white);
  background: rgba(255,255,255,.1);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--clr-navy) 0%, #3d4057 60%, #2c2e3e 100%);
  color: var(--clr-white);
  padding-block: clamp(var(--sp-16), 12vw, var(--sp-32));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

/* blue accent blob */
.hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(114,153,198,.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr 1fr; }
}

.hero__eyebrow { color: var(--clr-blue-light); }

.hero h1 {
  color: #f2f2f2;
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.hero__lead {
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: rgba(255,255,255,.8);
  max-width: 52ch;
  margin-bottom: var(--sp-8);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

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

.hero__logomark {
  width: min(280px, 80%);
  opacity: .75;
  filter: brightness(0) invert(1);
}

/* ============================================================
   SECTION HEADER (reusable)
   ============================================================ */
.section-header {
  margin-bottom: var(--sp-12);
}
.section-header p {
  margin-top: var(--sp-4);
  color: var(--clr-muted);
  font-size: var(--text-lg);
}

/* ============================================================
   SERVICES / WHAT I DO
   ============================================================ */
.service-card {
  padding: var(--sp-8);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--clr-blue-light);
  transform: translateY(-3px);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--clr-blue-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-6);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--clr-blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--sp-3);
}

.service-card p {
  color: var(--clr-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}

.filter-btn {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--clr-border);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  /* !important so Elementor's global button color can't wash the label out */
  color: var(--clr-muted) !important;
  transition: all var(--transition);
  cursor: pointer;
  background: var(--clr-white);
}
.filter-btn:hover,
.filter-btn.is-active {
  background: var(--clr-navy);
  border-color: var(--clr-navy);
  color: var(--clr-white) !important;
}

.portfolio-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.project-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--clr-blue-pale);
}
.project-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.project-card:hover .project-card__thumb img { transform: scale(1.04); }

.project-card__body {
  padding: var(--sp-6);
}

.project-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: var(--clr-blue-pale);
  color: var(--clr-navy);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: .04em;
}

.project-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--sp-2);
}

.project-card p {
  font-size: var(--text-sm);
  color: var(--clr-muted);
}

/* Small "View Project" button under each card's intro */
.project-card__cta {
  margin-top: var(--sp-4);
  padding: 0.5rem 1.15rem;
  font-size: var(--text-sm);
  gap: var(--sp-2);
}
.project-card__cta svg {
  width: 15px; height: 15px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--transition);
}
.project-card__cta:hover svg { transform: translateX(3px); }

/* Single project */
.project-hero { background: var(--clr-off); padding-block: var(--sp-16); }
.project-content { padding-block: var(--sp-16); }
.project-content img { border-radius: var(--radius-lg); margin-block: var(--sp-8); }
.project-meta { display: flex; flex-wrap: wrap; gap: var(--sp-6); margin-block: var(--sp-8); }
.project-meta__item { display: flex; flex-direction: column; gap: 2px; }
.project-meta__label { font-size: var(--text-xs); font-weight: var(--weight-semibold); text-transform: uppercase; letter-spacing: .08em; color: var(--clr-muted); }
.project-meta__value { font-weight: var(--weight-semibold); color: var(--clr-navy); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  gap: var(--sp-16);
  align-items: start;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 340px 1fr; }
}

.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;            /* square frame */
  background: var(--clr-blue-pale);
  box-shadow: var(--shadow-md);
}
/* Fill the square and crop to keep the right aspect ratio.
   !important defeats Elementor's `img { height: auto }` on builder pages. */
.about-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.skill-pill {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--clr-blue-pale);
  color: var(--clr-navy);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  border: 1px solid var(--clr-border);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  gap: var(--sp-12);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.6fr; }
}

.contact-info { display: flex; flex-direction: column; gap: var(--sp-6); }

.contact-link {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  color: var(--clr-text);
  transition: color var(--transition);
}
.contact-link:hover { color: var(--clr-blue); }
/* Let the text column shrink and break long values (e.g. the LinkedIn URL) so it
   doesn't overflow and cause horizontal scrolling on narrow screens. */
.contact-link > div:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.contact-link__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--clr-blue-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-link__icon svg {
  width: 20px; height: 20px;
  stroke: var(--clr-blue); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: var(--sp-4); }

.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-row { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--clr-navy);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: var(--clr-white);
  color: var(--clr-text);
  font-size: var(--text-base);
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 3px rgba(114,153,198,.2);
}
textarea { resize: vertical; min-height: 140px; }

/* CF7 reset */
.wpcf7 form .wpcf7-response-output { margin: var(--sp-4) 0 0; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--clr-blue) 0%, var(--clr-navy) 100%);
  color: var(--clr-white);
  text-align: center;
  padding-block: clamp(var(--sp-12), 8vw, var(--sp-24));
}
.cta-band h2 { color: var(--clr-white); }
.cta-band p {
  margin-inline: auto;
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-8);
  color: rgba(255,255,255,.8);
  font-size: var(--text-lg);
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--clr-text);
  color: rgba(255,255,255,.6);
  padding-block: var(--sp-12);
}

.site-footer__inner {
  display: grid;
  gap: var(--sp-8);
}
@media (min-width: 640px) {
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: center; }
}

.site-footer .site-logo img,
.site-footer .site-logo svg { filter: brightness(0) invert(1); opacity: .8; height: 48px; }

.site-footer p { font-size: var(--text-sm); margin-top: var(--sp-3); }

.footer-links { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--clr-white); }

.social-links { display: flex; gap: var(--sp-3); }
.social-links a {
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.social-links a:hover { background: var(--clr-blue); }
.social-links svg {
  width: 18px; height: 18px;
  stroke: rgba(255,255,255,.7); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ============================================================
   SKIP LINK (A11Y)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--clr-navy);
  color: var(--clr-white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  z-index: 999;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* ============================================================
   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;
}

.no-js .js-only { display: none; }
