:root {
   /* Core theme configuration. Adjust these variables to alter the global aesthetic. */
   --font-display: 'Orbitron', Arial, sans-serif;
   --font-base: 'Inter', Arial, sans-serif;
   --color-primary: #017F77;
   --color-accent: #C33B53;
   --color-accent-dark: #8a2a3b;
   --glow-blue: #005A91;
   --bg-deep: #000a11;
   --bg-surface: #000508;
   --bg-form: #081017;
   --header-height: 80px; 
}

html {
   scroll-behavior: smooth;
   scrollbar-width: none;
   -ms-overflow-style: none;
   overflow-x: hidden;
   width: 100%;
}

html::-webkit-scrollbar { 
   display: none; 
}

body {
   margin: 0;
   padding: 0;
   overflow-x: hidden;
   width: 100%;
   background: var(--bg-deep);
   font-family: var(--font-base);
   color: white;
}

h1, h2, h3, h4, h5, h6 {
   font-family: var(--font-display);
   text-transform: uppercase;
}

/* --- Initialisation UI --- */
#loading-screen {
   position: fixed;
   top: 0; left: 0;
   width: 100vw; height: 100vh;
   background: linear-gradient(to bottom, #000a11, #001b2e);
   z-index: 9999;
   display: flex;
   justify-content: center;
   align-items: center;
   transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-content {
   width: clamp(200px, 30vw, 400px);
}

.progress-track {
   width: 100%;
   height: 2px;
   background: rgba(255, 255, 255, 0.1);
   position: relative;
   border-radius: 4px; 
}

#progress-fill {
   position: absolute;
   top: 0; left: 0;
   height: 100%;
   width: 0%;
   background: #ffffff;
   box-shadow: 0 0 12px 2px rgba(255, 255, 255, 0.7); 
   transition: width 0.1s linear;
   border-radius: 4px; 
}

/* Leading glow effect for the loading bar */
#progress-fill::after {
   content: '';
   position: absolute;
   right: -3px; 
   top: 50%;
   transform: translateY(-50%);
   width: 6px; 
   height: 6px;
   background-color: #ffffff;
   border-radius: 50%; 
   box-shadow: 0 0 15px 4px rgba(255, 255, 255, 1); 
}

.scroll-prompt {
   position: fixed;
   bottom: 40px;
   left: 50%;
   transform: translateX(-50%);
   color: rgba(255, 255, 255, 0.7);
   font-family: var(--font-display);
   font-size: 12px;
   letter-spacing: 2px;
   text-transform: uppercase;
   z-index: 50;
   pointer-events: none;
   animation: uiBounce 2s infinite;
}

@keyframes uiBounce {
   0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
   40% { transform: translate(-50%, -10px); }
   60% { transform: translate(-50%, -5px); }
}

#bg-gradient {
   position: fixed;
   top: 0; left: 0;
   width: 100vw; height: 100vh;
   background: linear-gradient(to bottom, #000a11, #001b2e);
   z-index: -10;
}

#bg-canvas {
   position: fixed;
   top: 0; left: 0;
   width: 100vw; height: 120vh;
   z-index: 0;
   pointer-events: none;
   will-change: transform;
}

#hero-model-container {
   position: fixed;
   top: 25%;
   left: 50%;
   transform: translate(-50%, -50%);
   z-index: 10;
   display: flex;
   justify-content: center;
   align-items: center;
   pointer-events: none;
}

#hero-model-container::before {
   content: '';
   position: absolute;
   width: clamp(150px, 15vw, 450px); 
   height: clamp(150px, 15vw, 450px); 
   background-color: var(--glow-blue);
   border-radius: 50%;
   filter: blur(60px); 
   z-index: -1;
}

#hero-model {
   width: clamp(250px, 22vw, 800px); 
   height: clamp(250px, 22vw, 800px); 
   object-fit: contain;
}

#site-header {
   position: fixed;
   top: 0; left: 0;
   width: 100%; height: var(--header-height);
   padding: 0 5%; 
   box-sizing: border-box;
   display: flex;
   justify-content: space-between;
   align-items: center;
   z-index: 100;
   background-color: transparent;
   transition: background-color 0.4s ease;
}

#site-header.solid-nav {
   background-color: var(--bg-surface);
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

#site-header::before {
   content: '';
   position: absolute;
   top: 0; left: 0; width: 100%; height: 150%;
   z-index: -1;
   pointer-events: none;
   background: linear-gradient(to bottom, rgba(0, 10, 17, 0.8) 0%, rgba(0, 10, 17, 0) 100%);
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
   -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
   transition: opacity 0.4s ease;
}

#site-header.solid-nav::before { opacity: 0; }

.nav-brand { display: flex; align-items: flex-start; height: 100%; flex-shrink: 0; z-index: 102; }
.nav-brand a { display: block; margin-top: 10px; text-decoration: none; }
.nav-brand img {
   display: block;
   height: clamp(80px, 8vw, 300px); 
   width: auto; 
   max-width: 35vw; 
   object-fit: contain;
   transition: transform 0.3s ease;
   filter: drop-shadow(0 0 15px rgba(0,0,0,0.5));
}

.nav-brand a:hover img { transform: scale(1.05); }

.nav-menu {
   list-style: none;
   display: flex;
   gap: clamp(15px, 3vw, 50px); 
   margin: 0; padding: 0;
}

.nav-menu a {
   color: rgba(255, 255, 255, 0.6);
   text-decoration: none;
   font-size: clamp(11px, 1vw, 20px); 
   text-transform: uppercase;
   letter-spacing: 2px;
   transition: all 0.3s ease;
   font-family: var(--font-display);
   white-space: nowrap;
}

.nav-menu a:hover, .nav-menu a.active {
   color: white;
   text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.nav-toggle {
   display: none;
   cursor: pointer;
   flex-direction: column;
   gap: 6px;
   z-index: 102;
}

.nav-toggle .nav-line {
   width: 28px;
   height: 3px;
   background-color: white;
   transition: all 0.3s ease-in-out;
   border-radius: 3px;
}

#content-layer {
   position: relative;
   margin-top: 100vh;
   z-index: 20;
   width: 100%;
}

.depth-layer {
   position: absolute;
   bottom: 100%;
   left: 0; 
   width: 100%;
   height: 100vh; 
   min-height: 800px;
   background-size: cover; 
   background-position: bottom center;
   background-repeat: no-repeat;
   pointer-events: none;
   will-change: transform; 
   -webkit-backface-visibility: hidden;
   backface-visibility: hidden;
}

/* Parallax asset mapping */
#parallax-bg  { background-image: url('images/parallax/furthest.png'); z-index: 0; }
#parallax-far { background-image: url('images/parallax/far.png'); z-index: 1; }
#parallax-mid { background-image: url('images/parallax/mid.png'); z-index: 2; }
#parallax-fg  { background-image: url('images/parallax/close.png'); z-index: 3; }

#parallax-fg::after {
   content: '';
   position: absolute;
   top: 99.5%; 
   left: 0;
   width: 100%;
   height: 50vh; 
   background-color: var(--bg-surface); 
}

#main-content-area {
   position: relative;
   z-index: 4; 
   background-color: var(--bg-surface);
   color: white;
   padding: 50px 0 0 0;
   min-height: 100vh;
   width: 100%;
}

.content-block {
   max-width: clamp(800px, 80vw, 1600px);
   margin: 0 auto 100px auto;
   padding: 80px 20px 0 20px;
   box-sizing: border-box;
}

.content-block h2 {
   font-size: clamp(28px, 2.5vw, 56px);
   letter-spacing: 2px;
   color: var(--color-primary);
   border-bottom: 1px solid rgba(255,255,255,0.1);
   padding-bottom: 15px;
   margin-bottom: 30px;
}

.content-block p {
   line-height: 1.8;
   color: rgba(255, 255, 255, 0.8);
   font-size: clamp(16px, 1.2vw, 24px);
}

.split-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: clamp(40px, 5vw, 80px);
   align-items: center;
}

.values-area {
   text-align: center;
   max-width: clamp(800px, 85vw, 1800px);
   margin: 0 auto 100px auto;
}

.section-headline {
   font-size: clamp(32px, 4.5vw, 80px);
   font-weight: 900;
   color: white;
   line-height: 1.1;
   margin-bottom: 60px;
   border-bottom: none;
   padding-bottom: 0;
}

.section-headline span { color: var(--color-primary); }

.value-props-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: clamp(20px, 2vw, 40px);
   text-align: left;
}

.prop-card {
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid rgba(255, 255, 255, 0.05);
   border-radius: 16px;
   padding: clamp(25px, 2vw, 50px) clamp(20px, 1.5vw, 40px);
   transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.prop-card:hover {
   transform: translateY(-5px);
   background: rgba(138, 42, 59, 0.15); 
   border-color: var(--color-accent);
}

.prop-card.highlight-card:hover {
   background: rgba(1, 127, 119, 0.08); 
   border-color: var(--color-primary);
}

.prop-card h3 { 
   color: white; 
   margin-bottom: 15px; 
   font-size: clamp(20px, 1.5vw, 32px);
}

.align-center {
   text-align: center;
}

.team-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 30px;
   margin-top: 40px;
}

.team-profile {
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid rgba(255, 255, 255, 0.05);
   border-radius: 16px;
   padding: 40px 30px;
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
}

.team-profile:only-child {
   grid-column: 2;
}

.profile-img {
   width: clamp(80px, 6vw, 150px);
   height: clamp(80px, 6vw, 150px);
   border-radius: 50%;
   object-fit: cover;
   margin-bottom: 20px;
   border: 2px solid var(--color-accent);
   background-color: rgba(255, 255, 255, 0.05);
}

.profile-name {
	font-family: var(--font-display);
    color: #ffffff;
	font-size: clamp(15px, 1vw, 22px);
    letter-spacing: 1px;
    font-weight: bold; 
    margin-bottom: 12px; 
	text-transform: uppercase;
}

.profile-role {
   font-family: var(--font-display);
   color: var(--color-primary);
   font-size: clamp(12px, 1vw, 18px);
   letter-spacing: 1px;
   margin-bottom: 12px;
   text-transform: uppercase;
}

.profile-bio {
   font-size: clamp(14px, 1vw, 20px);
   color: rgba(255, 255, 255, 0.8);
   line-height: 1.6;
   margin-bottom: 25px;
   flex-grow: 1;
}

.profile-socials {
   display: flex;
   gap: 15px;
   min-height: 24px;
}

.profile-socials a, .profile-socials span {
   color: rgba(255, 255, 255, 0.4);
   transition: color 0.3s ease;
   display: inline-flex;
}

.profile-socials a:hover, .profile-socials span:hover {
   color: white;
}

.profile-socials svg {
   width: 24px;
   height: 24px;
   fill: currentColor;
}

.social-tooltip {
   position: relative;
}

.social-tooltip::after {
   content: attr(data-tooltip);
   position: absolute;
   bottom: -35px;
   left: 50%;
   transform: translateX(-50%);
   background: var(--bg-deep);
   color: white;
   padding: 6px 10px;
   font-size: 11px;
   border-radius: 6px;
   white-space: nowrap;
   opacity: 0;
   visibility: hidden;
   transition: opacity 0.2s, transform 0.2s;
   border: 1px solid rgba(1, 127, 119, 0.5);
   pointer-events: none;
   font-family: var(--font-base);
   z-index: 10;
}

.social-tooltip:hover::after {
   opacity: 1;
   visibility: visible;
   transform: translateX(-50%) translateY(-5px);
}

.feature-slider {
   position: relative;
   width: 100%;
}

.feature-slider .slider-img {
   width: 100%;
   height: auto;
   position: absolute;
   top: 0;
   left: 0;
   animation-duration: 16s;
   animation-iteration-count: infinite;
   animation-timing-function: linear;
   opacity: 0;
}

.feature-slider .slider-img:first-child {
   position: relative;
}

.feature-slider .slider-img:nth-child(1) { animation-name: slideAnimOne; }
.feature-slider .slider-img:nth-child(2) { animation-name: slideAnimTwo; }
.feature-slider .slider-img:nth-child(3) { animation-name: slideAnimThree; }

@keyframes slideAnimOne {
   0%, 15% { opacity: 1; }
   25%, 90% { opacity: 0; }
   100% { opacity: 1; }
}

@keyframes slideAnimTwo {
   0%, 40% { opacity: 0; }
   50%, 65% { opacity: 1; }
   75%, 100% { opacity: 0; }
}

@keyframes slideAnimThree {
   0%, 15% { opacity: 0; }
   25%, 40% { opacity: 1; }
   50%, 65% { opacity: 0; }
   75%, 90% { opacity: 1; }
   100% { opacity: 0; }
}

.status-ticker {
   background: linear-gradient(90deg, var(--color-accent-dark) 0%, var(--color-accent) 50%, var(--color-accent-dark) 100%);
   width: 100%; padding: 20px 0; margin-top: 20px;
   display: flex; justify-content: center; align-items: center;
   border-top: 1px solid rgba(255, 255, 255, 0.1);
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-wrapper {
   display: grid;
   grid-template-columns: 1fr;
   place-items: center;
   width: 100%; 
   max-width: clamp(800px, 85vw, 1800px);
   padding: 0 20px;
}

.ticker-item {
   grid-area: 1 / 1;
   display: flex; align-items: center;
   font-family: var(--font-display);
   font-size: clamp(13px, 1vw, 20px); 
   letter-spacing: 2px;
   color: white; text-transform: uppercase; text-align: center;
   opacity: 0;
   animation: itemSwap 10s infinite ease-in-out;
}

.ticker-item:nth-child(1) { animation-delay: 0s; }
.ticker-item:nth-child(2) { animation-delay: 5s; }

@keyframes itemSwap {
   0%, 40% { opacity: 1; visibility: visible; }
   50%, 90% { opacity: 0; visibility: hidden; }
   100% { opacity: 1; visibility: visible; }
}

.ticker-item .item-badge {
   color: rgba(255, 255, 255, 0.5); 
   font-size: clamp(10px, 0.8vw, 16px); 
   margin-right: 12px;
   border: 1px solid rgba(255, 255, 255, 0.3); padding: 2px 8px; border-radius: 4px;
}

.ticker-item .item-title { font-weight: 900; color: white; margin-right: 12px; }

.ticker-item .item-desc {
   color: rgba(255, 255, 255, 0.8); font-family: var(--font-base);
   font-weight: 400; letter-spacing: 0; text-transform: none;
}

/* --- Devlog Feed Styling --- */
.blog-section {
   background-color: var(--bg-form);
   width: 100%; padding: 80px 0;
   border-top: 1px solid rgba(1, 127, 119, 0.2);
   box-sizing: border-box;
   overflow-x: hidden;
}

.contact-copy h2 { 
   color: white; border: none; 
   font-size: clamp(32px, 4vw, 64px); 
   margin: 0 0 20px 0; 
   overflow-wrap: break-word; 
   word-wrap: break-word;
}
.contact-copy h2 span { color: var(--color-primary); }

.log-feed-wrapper {
   display: flex;
   flex-direction: column;
   gap: 20px;
}

.log-entries {
   display: flex;
   flex-direction: column;
   gap: 15px;
}

.log-card {
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid rgba(255, 255, 255, 0.05);
   border-radius: 12px;
   padding: 20px;
   display: grid;
   grid-template-columns: auto 1fr auto;
   gap: 20px;
   align-items: center;
   cursor: pointer;
   transition: all 0.3s ease;
}

.log-card:hover {
   background: rgba(1, 127, 119, 0.08);
   border-color: var(--color-primary);
   transform: translateX(10px);
}

.log-date {
   font-family: var(--font-display);
   color: rgba(255, 255, 255, 0.4);
   font-size: clamp(10px, 0.8vw, 12px);
   writing-mode: vertical-rl;
   transform: rotate(180deg);
   letter-spacing: 2px;
}

.log-content h3 {
   font-size: clamp(16px, 1.2vw, 20px);
   color: white;
   margin: 0 0 5px 0;
   border: none;
   padding: 0;
}

.log-content p {
   margin: 0;
   font-size: clamp(12px, 0.9vw, 14px);
   color: rgba(255, 255, 255, 0.6);
   display: -webkit-box;
   -webkit-line-clamp: 1;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

.log-action svg {
   width: 24px; height: 24px;
   color: var(--color-primary);
   transition: transform 0.3s ease;
}

.log-card:hover .log-action svg {
   transform: translateX(5px);
}

.log-pagination {
   display: flex;
   justify-content: center;
   gap: 10px;
   margin-top: 10px;
}

.log-pagination .dot {
   width: 8px; height: 8px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.2);
   transition: background 0.3s ease, transform 0.3s ease;
   cursor: pointer;
}

.log-pagination .dot.active {
   background: var(--color-primary);
   transform: scale(1.3);
}

.btn-submit {
   width: 100%; background: var(--color-accent); color: white; border: none;
   padding: clamp(16px, 1.2vw, 24px); border-radius: 8px; font-weight: bold;
   font-size: clamp(14px, 1vw, 20px);
   text-transform: uppercase; cursor: pointer; font-family: var(--font-display);
}

/* --- Action Group & Newsletter (Desktop First) --- */
.action-group {
   display: flex;
   flex-wrap: wrap;
   gap: 15px;
   margin-top: 30px;
   align-items: stretch;
}

.newsletter-form {
   display: flex;
   gap: 10px;
   flex: 1; 
   min-width: 250px;
}

.newsletter-form input {
   flex: 1;
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid rgba(255, 255, 255, 0.1);
   padding: 12px 20px;
   border-radius: 8px;
   color: white;
   font-size: clamp(14px, 1vw, 16px);
   outline: none;
   font-family: var(--font-base);
   transition: border-color 0.3s ease, background 0.3s ease;
}

.newsletter-form input:focus {
   border-color: var(--color-primary);
   background: rgba(255, 255, 255, 0.05);
}

.newsletter-form button {
   width: auto; 
   padding: 0 25px;
}

/* --- Expanding Modal Styling --- */
.modal-overlay {
   position: fixed;
   top: 0; left: 0; width: 100vw; height: 100vh;
   background: linear-gradient(135deg, rgba(0, 10, 17, 0.98) 0%, rgba(1, 58, 55, 0.98) 100%);
   backdrop-filter: blur(10px);
   z-index: 20000;
   display: flex;
   justify-content: center;
   align-items: center;
   opacity: 0;
   visibility: hidden;
   transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.modal-active {
   opacity: 1;
   visibility: visible;
}

.modal-container {
   width: clamp(300px, 90vw, 800px);
   max-height: 80vh;
   background: rgba(0, 5, 8, 0.6);
   border: 1px solid var(--color-primary);
   border-radius: 16px;
   padding: clamp(30px, 5vw, 60px);
   position: relative;
   overflow-y: auto;
   transform: translateY(30px) scale(0.95);
   transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.modal-active .modal-container {
   transform: translateY(0) scale(1);
}

.modal-close {
   position: absolute;
   top: 20px; right: 20px;
   background: none; border: none;
   color: rgba(255, 255, 255, 0.5);
   cursor: pointer;
   transition: color 0.3s ease, transform 0.3s ease;
}

.modal-close:hover {
   color: var(--color-accent);
   transform: rotate(90deg);
}

.modal-close svg { width: 30px; height: 30px; }

.modal-header {
   border-bottom: 1px solid rgba(1, 127, 119, 0.3);
   padding-bottom: 20px;
   margin-bottom: 30px;
}

.modal-date {
   font-family: var(--font-display);
   color: var(--color-accent);
   font-size: 14px;
   letter-spacing: 2px;
}

.modal-header h2 {
   font-size: clamp(24px, 3vw, 42px);
   margin: 10px 0 0 0;
   color: white;
   border: none;
}

.modal-body p {
   font-size: clamp(16px, 1.2vw, 20px);
   line-height: 1.8;
   color: rgba(255, 255, 255, 0.8);
   margin-bottom: 20px;
}

.site-footer {
   background-color: var(--bg-surface);
   padding: 30px 40px; 
   display: grid;
   grid-template-columns: 1fr auto 1fr;
   align-items: center;
   font-size: clamp(12px, 0.8vw, 16px); 
   color: rgba(255, 255, 255, 0.3);
}

.footer-legal { justify-self: start; }
.footer-socials { justify-self: end; display: flex; gap: 20px; }
.footer-socials a { color: rgba(255, 255, 255, 0.4); transition: color 0.3s; }
.footer-socials a:hover { color: white; }
.footer-socials svg { width: clamp(18px, 1.2vw, 24px); height: clamp(18px, 1.2vw, 24px); fill: currentColor; }

.media-player {
   display: flex;
   align-items: center;
   gap: 20px;
   color: rgba(255, 255, 255, 0.4);
   font-family: var(--font-display);
   transition: color 0.3s ease;
}

.media-player:hover { color: rgba(255, 255, 255, 0.9); }

.media-player button {
   background: none; border: none; padding: 0;
   cursor: pointer; color: inherit;
   display: flex; align-items: center; justify-content: center;
}

.media-player button svg, .icon-volume {
   width: clamp(18px, 1.2vw, 24px); height: clamp(18px, 1.2vw, 24px);
   fill: currentColor; transition: fill 0.3s;
}

.media-player button:hover svg { fill: var(--color-primary); }

.track-scrubber {
   display: flex; flex-direction: column; align-items: center;
   width: clamp(120px, 10vw, 200px); position: relative;
}

.track-title {
   position: absolute; top: -20px;
   font-size: clamp(10px, 0.8vw, 14px); letter-spacing: 2px;
   color: var(--color-primary);
   opacity: 0; transform: translateY(5px);
   transition: all 0.3s ease;
   white-space: nowrap; pointer-events: none;
}

.media-player:hover .track-title {
   opacity: 1; transform: translateY(0);
}

.volume-module {
   display: flex; align-items: center; gap: 8px; width: 60px;
}

.media-player input[type="range"] {
   -webkit-appearance: none; appearance: none;
   background: transparent; cursor: pointer; width: 100%;
}

.media-player input[type="range"]::-webkit-slider-runnable-track {
   background: rgba(255, 255, 255, 0.2);
   height: 2px; border-radius: 2px;
}

.media-player input[type="range"]::-webkit-slider-thumb {
   -webkit-appearance: none; appearance: none;
   height: 8px; width: 8px;
   background: var(--color-primary);
   border-radius: 50%; margin-top: -3px;
   opacity: 0; transition: opacity 0.3s;
}

.playback-controls {
   display: flex;
   gap: 12px;
   align-items: center;
}

.media-player:hover input[type="range"]::-webkit-slider-thumb {
   opacity: 1;
}

/* ===============================================
   Mobile Breakpoint Configuration 
   ===============================================
*/
@media (max-width: 989px) {

   #hero-model {
      width: clamp(290px, 45vw, 600px); 
      height: clamp(290px, 45vw, 600px);
   }
   
   #hero-model-container::before {
      width: clamp(175px, 25vw, 350px); 
      height: clamp(175px, 25vw, 350px); 
   }

   .split-grid,
   .contact-layout,
   .value-props-grid { 
      grid-template-columns: 1fr; 
   }
   
   .team-grid { grid-template-columns: repeat(2, 1fr); }
   .team-profile:only-child { 
      grid-column: 1 / -1; 
      justify-self: center; 
      width: 100%; 
      max-width: 400px; 
   }
   
   .ticker-item { flex-direction: column; gap: 8px; }
   .ticker-item .item-badge, .ticker-item .item-title { margin-right: 0; }

   .site-footer { 
      grid-template-columns: 1fr; 
      gap: 20px; 
      justify-items: center; 
      text-align: center;
   }
   .footer-legal, .footer-socials { justify-self: center; }
   
   #site-header { padding: 0 20px; }
   
   .nav-brand { align-items: center; } 
   .nav-brand a { margin-top: 0; display: flex; align-items: center; height: 100%; }
   .nav-brand img {
      height: 35px; 
      width: auto;
   }

   .nav-toggle { display: flex; }

   .nav-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 5, 8, 0.98);
      backdrop-filter: blur(10px);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
      z-index: 101;
   }

   .nav-menu.nav-active { right: 0; }
   .nav-menu li { margin: 25px 0; }
   .nav-menu a { font-size: 24px; letter-spacing: 4px; }

   .nav-toggle.toggle .nav-line:nth-child(1) { transform: translateY(9px) rotate(45deg); }
   .nav-toggle.toggle .nav-line:nth-child(2) { opacity: 0; }
   .nav-toggle.toggle .nav-line:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

@media (max-width: 600px) {
   .team-grid { grid-template-columns: 1fr; }
   .team-profile:only-child { grid-column: 1; }
   
   /* Forces vertical stacking for mobile form elements. */
   .action-group { flex-direction: column; }
   .newsletter-form { width: 100%; }
}