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

:root {
   --font-display: 'Cormorant Garamond', serif;
   --font-body: 'Jost', sans-serif;
   --black: #1b2733;
   --white: #f2f5f8;
   --accent: #2563a8;
   --accent-dark: #1a4d8a;
   --gray: #e5e9ee;
   --mid: #b8c2cc;
   --text-muted: #4f5f6e;
   --body-text: #364452;
   --nav-height: 93px;
}

html {
   scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {

   *,
   *::before,
   *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
   }

   html {
      scroll-behavior: auto;
   }

   .marquee-track,
   .cred-dot--available {
      animation: none !important;
   }
}

body {
   background: var(--white);
   color: var(--black);
   font-family: var(--font-body);
   font-weight: 400;
   overflow-x: hidden;
   font-size: 1rem;
   line-height: 1.6;
}

/* SKIP LINK */
.skip-link {
   position: fixed !important;
   top: -9999px !important;
   left: -9999px !important;
   width: 1px;
   height: 1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   background: var(--accent);
   color: var(--black);
   padding: 0.75rem 1.5rem;
   font-family: var(--font-display);
   font-weight: 700;
   font-size: 0.9rem;
   text-decoration: none;
   z-index: 9999;
}

.skip-link:focus {
   top: 1rem !important;
   left: 1rem !important;
   width: auto;
   height: auto;
   clip: auto;
   overflow: visible;
}

/* FOCUS */
:focus-visible {
   outline: 3px solid var(--accent);
   outline-offset: 3px;
}

/* NOISE OVERLAY */
body::before {
   content: '';
   position: fixed;
   inset: 0;
   background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
   pointer-events: none;
   z-index: 999;
   opacity: 0.4;
}

/* NAV BUTTON SIZE */
#main-nav .btn-primary {
   font-size: 0.85rem;
   padding: 0.6rem 1.4rem;
}

/* MAIN NAV — scoped to #main-nav only */
#main-nav {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   z-index: 100;
   padding: 1.5rem 3rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
   border-bottom: 1px solid rgba(27, 39, 51, 0.15);
   background: rgba(242, 245, 248, 0.95);
   backdrop-filter: blur(12px);
}

#main-nav .nav-logo {
   font-family: var(--font-display);
   font-weight: 800;
   font-size: 1.43rem;
   letter-spacing: 0.02em;
   color: var(--black);
   text-decoration: none;
}

#main-nav .nav-logo span {
   color: var(--accent);
}

#main-nav .nav-links {
   display: flex;
   gap: 2.5rem;
   list-style: none;
}

#main-nav .nav-links a {
   color: var(--text-muted);
   text-decoration: none;
   font-size: 0.9rem;
   letter-spacing: 0.06em;
   text-transform: uppercase;
   transition: color 0.2s;
   padding: 0.25rem 0;
}

#main-nav .nav-links a:hover,
#main-nav .nav-links a:focus-visible {
   color: var(--accent);
}

/* HERO */
.hero {
   min-height: 100vh;
   display: grid;
   grid-template-columns: 1fr 1fr;
   align-items: center;
   padding: 7rem 3rem 4rem;
   position: relative;
   overflow: hidden;
}

.hero::after {
   content: '';
   position: absolute;
   top: -20%;
   right: -10%;
   width: 600px;
   height: 600px;
   background: radial-gradient(circle, rgba(37, 99, 168, 0.08) 0%, transparent 70%);
   pointer-events: none;
}

.hero-left {
   max-width: 640px;
}

.hero-title {
   font-family: var(--font-display);
   font-weight: 800;
   font-size: clamp(3.2rem, 7vw, 6.5rem);
   line-height: 1.08;
   letter-spacing: -0.02em;
   margin-bottom: 1.5rem;
   opacity: 0;
   animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-title em {
   font-style: normal;
   color: var(--accent);
   position: relative;
   display: inline-block;
}

.hero-title em::after {
   content: '';
   position: absolute;
   bottom: 4px;
   left: 0;
   right: 0;
   height: 3px;
   background: var(--accent-dark);
   transform: scaleX(0);
   transform-origin: left;
   animation: lineExpand 0.6s ease forwards 1.2s;
}

.hero-sub {
   font-size: 1.1rem;
   line-height: 1.8;
   color: var(--body-text);
   margin-bottom: 2.5rem;
   max-width: 480px;
   opacity: 0;
   animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-cta {
   display: flex;
   gap: 1rem;
   flex-wrap: wrap;
   opacity: 0;
   animation: fadeUp 0.8s ease forwards 0.8s;
}

.btn-primary {
   background: var(--accent);
   color: var(--white);
   padding: 0.9rem 2rem;
   font-family: var(--font-display);
   font-weight: 700;
   font-size: 0.95rem;
   letter-spacing: 0.05em;
   text-decoration: none;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-height: 44px;
   transition: transform 0.15s, background 0.15s;
}

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

.btn-ghost {
   background: none;
   cursor: pointer;
   border: 2px solid rgba(27, 39, 51, 0.35);
   color: var(--black);
   padding: 0.9rem 2rem;
   font-family: var(--font-display);
   font-weight: 600;
   font-size: 0.95rem;
   letter-spacing: 0.05em;
   text-decoration: none;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-height: 44px;
   transition: border-color 0.15s, color 0.15s, transform 0.15s;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
   border-color: var(--accent);
   color: var(--accent);
   transform: translateY(-2px);
}

.hero-right {
   display: flex;
   justify-content: flex-end;
   align-items: center;
   opacity: 0;
   animation: fadeIn 1s ease forwards 0.9s;
}

.cred-panel {
   width: 340px;
   display: flex;
   flex-direction: column;
   gap: 1px;
   background: var(--mid);
   border: 1px solid var(--mid);
}

.cred-card {
   background: var(--gray);
   padding: 1.75rem 2rem;
   display: flex;
   align-items: center;
   gap: 1.25rem;
   transition: background 0.2s;
}

.cred-card:hover {
   background: #cdd3da;
}

.cred-icon {
   width: 44px;
   height: 44px;
   flex-shrink: 0;
   background: rgba(37, 99, 168, 0.12);
   border: 1px solid rgba(37, 99, 168, 0.25);
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--accent);
}

.cred-icon svg {
   width: 20px;
   height: 20px;
}

.cred-value {
   font-family: var(--font-display);
   font-weight: 800;
   font-size: 1.4rem;
   color: var(--black);
   line-height: 1.1;
   margin-bottom: 0.2rem;
}

.cred-label {
   font-size: 0.8rem;
   color: var(--text-muted);
   letter-spacing: 0.06em;
   text-transform: uppercase;
}

.cred-footer {
   background: var(--accent);
   padding: 1.25rem 2rem;
   display: flex;
   flex-direction: column;
   gap: 0.4rem;
}

.cred-footer-label {
   font-family: var(--font-display);
   font-size: 0.8rem;
   letter-spacing: 0.12em;
   text-transform: uppercase;
   color: var(--white);
   opacity: 0.75;
}

.cred-footer-status {
   display: flex;
   align-items: center;
   gap: 0.75rem;
}

.cred-footer-text {
   font-family: var(--font-body);
   font-weight: 700;
   font-size: 0.85rem;
   color: var(--white);
   letter-spacing: 0.04em;
}

.cred-dot {
   width: 10px;
   height: 10px;
   border-radius: 50%;
   flex-shrink: 0;
}

.cred-dot--available {
   background: #4ade80;
   animation: pulse-dot 2s ease-in-out infinite;
}

.cred-dot--unavailable {
   background: #94a3b8;
}

@keyframes pulse-dot {

   0%,
   100% {
      opacity: 1;
      transform: scale(1);
   }

   50% {
      opacity: 0.6;
      transform: scale(0.85);
   }
}

/* MARQUEE */
.marquee-wrap {
   position: fixed;
   top: var(--nav-height);
   left: 0;
   right: 0;
   z-index: 99;
   border-top: 1px solid var(--mid);
   border-bottom: 1px solid var(--mid);
   overflow: hidden;
   padding: 1rem 0;
   background: var(--gray);
   -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
   mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
   display: flex;
   gap: 3rem;
   animation: marquee 20s linear infinite;
   white-space: nowrap;
}

.marquee-item {
   font-family: var(--font-display);
   font-weight: 600;
   font-size: 0.85rem;
   letter-spacing: 0.15em;
   text-transform: uppercase;
   color: var(--text-muted);
   flex-shrink: 0;
}

.marquee-item span {
   color: var(--accent);
   margin-right: 3rem;
}

/* SECTIONS */
section {
   padding: 6rem 3rem;
   scroll-margin-top: calc(var(--nav-height) + 55px);
}

.section-label {
   font-size: 0.75rem;
   letter-spacing: 0.2em;
   text-transform: uppercase;
   color: var(--accent);
   margin-bottom: 1rem;
}

.section-title {
   font-family: var(--font-display);
   font-weight: 800;
   font-size: clamp(2.2rem, 4vw, 3.6rem);
   line-height: 1.1;
   letter-spacing: -0.02em;
   margin-bottom: 1.5rem;
}

.section-body {
   color: var(--body-text);
   font-size: 1.05rem;
   line-height: 1.8;
   max-width: 560px;
}

.pricing-starting-from {
   margin-top: 1.25rem;
   font-size: 0.95rem;
   color: var(--body-text);
   border-left: 3px solid var(--accent);
   padding-left: 1rem;
}

.pricing-starting-from strong {
   color: var(--black);
}

/* SERVICES */
.services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 1px;
   background: var(--mid);
   border: 1px solid var(--mid);
   margin-top: 4rem;
}

.service-card {
   background: var(--white);
   padding: 2.5rem;
   position: relative;
   overflow: hidden;
   transition: background 0.3s;
}

.service-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 3px;
   background: var(--accent);
   transform: scaleX(0);
   transform-origin: left;
   transition: transform 0.3s ease;
}

.service-card:hover {
   background: var(--gray);
}

.service-card:hover::before {
   transform: scaleX(1);
}

.service-num {
   font-family: var(--font-display);
   font-weight: 800;
   font-size: 3rem;
   color: rgba(37, 99, 168, 0.12);
   line-height: 1;
   margin-bottom: 1rem;
   transition: color 0.3s;
}

.service-card:hover .service-num {
   color: rgba(37, 99, 168, 0.22);
}

.service-title {
   font-family: var(--font-display);
   font-weight: 700;
   font-size: 1.2rem;
   margin-bottom: 0.75rem;
   color: var(--black);
}

.service-desc {
   font-size: 0.95rem;
   color: var(--body-text);
   line-height: 1.75;
}

/* ABOUT */
#about {
   background: var(--gray);
}

.about-body-intro {
   margin-bottom: 1.5rem;
}

.about-stat-num .stat-icon-arrow {
   width: 1em;
   height: 1em;
   vertical-align: middle;
}

.about-stat-num .stat-icon-infinity {
   width: 1.6em;
   height: 0.8em;
   vertical-align: middle;
}

.about-inner {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 6rem;
   align-items: center;
}

.about-accent-block {
   background: var(--gray);
   border: 1px solid var(--mid);
   padding: 3rem;
   position: relative;
}

.about-accent-block::before {
   content: '\201C';
   position: absolute;
   top: -1rem;
   left: 2rem;
   font-family: var(--font-display);
   font-size: 6rem;
   color: var(--accent);
   line-height: 1;
}

.about-quote {
   font-family: var(--font-display);
   font-weight: 600;
   font-size: 1.25rem;
   line-height: 1.6;
   color: var(--black);
   margin-bottom: 1.5rem;
   padding-top: 2rem;
}

.about-attribution {
   font-size: 0.85rem;
   color: var(--text-muted);
   letter-spacing: 0.05em;
}

.about-stats {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 1.5rem;
   margin-top: 2rem;
}

.about-stat-block {
   padding-left: 0;
}

.about-stat-num {
   font-family: var(--font-body);
   font-weight: 800;
   font-size: 1.5rem;
   color: var(--accent-dark);
}

.about-stat-label {
   font-size: 0.85rem;
   color: var(--body-text);
   line-height: 1.4;
}

/* PROCESS */
.how-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
   gap: 1px;
   margin-top: 4rem;
   list-style: none;
   padding: 0;
   background: var(--mid);
   border: 1px solid var(--mid);
}

.how-step {
   position: relative;
   padding: 2.5rem;
   background: var(--white);
   overflow: hidden;
   transition: background 0.3s;
}

.how-step::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 3px;
   background: var(--accent);
   transform: scaleX(0);
   transform-origin: left;
   transition: transform 0.3s ease;
}

.how-step:hover {
   background: var(--gray);
}

.how-step:hover::before {
   transform: scaleX(1);
}

.step-num {
   font-family: var(--font-display);
   font-weight: 800;
   font-size: 1.1rem;
   color: var(--accent);
   letter-spacing: 0.15em;
   margin-bottom: 0.75rem;
   opacity: 1;
}

.step-title {
   font-family: var(--font-display);
   font-weight: 700;
   font-size: 1.1rem;
   margin-bottom: 0.75rem;
   color: var(--black);
}

.step-desc {
   font-size: 0.95rem;
   color: var(--body-text);
   line-height: 1.75;
}


/* PRICING */
.pricing-section {
   background: var(--gray);
}

.pricing-cards-stack {
   display: flex;
   flex-direction: column;
   gap: 1.5rem;
}

.pricing-inner {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 4rem;
   align-items: start;
   margin-top: 4rem;
}

.pricing-card {
   background: var(--white);
   border: 1px solid var(--mid);
   padding: 2.5rem;
   position: relative;
   overflow: hidden;
   transition: background 0.3s;
}

.pricing-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 3px;
   background: var(--accent);
   transform: scaleX(0);
   transform-origin: left;
   transition: transform 0.3s ease;
}

.pricing-card:hover {
   background: var(--gray);
}

.pricing-card:hover::before {
   transform: scaleX(1);
}

.pricing-card-title {
   font-family: var(--font-display);
   font-weight: 700;
   font-size: 1.5rem;
   color: var(--black);
   margin-bottom: 0.5rem;
}

.pricing-card-sub {
   font-size: 0.8rem;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   color: var(--accent);
   margin-bottom: 1.25rem;
}

.pricing-card-desc {
   font-size: 0.95rem;
   color: var(--body-text);
   line-height: 1.75;
   margin-bottom: 1.5rem;
}

.pricing-card-items {
   list-style: none;
   padding: 0;
   display: flex;
   flex-direction: column;
   gap: 0.6rem;
}

.pricing-card-items li {
   font-size: 0.9rem;
   color: var(--body-text);
   padding-left: 1.25rem;
   position: relative;
}

.pricing-card-items li::before {
   content: '';
   position: absolute;
   left: 0;
   top: 0.55em;
   width: 6px;
   height: 6px;
   border-radius: 50%;
   background: var(--accent);
}

.pricing-message {
   border-left: 3px solid var(--accent);
   padding: 2rem 2.5rem;
   background: var(--gray);
}

.pricing-message-title {
   font-family: var(--font-display);
   font-weight: 700;
   font-size: 1.6rem;
   line-height: 1.2;
   color: var(--black);
   margin-bottom: 1rem;
}

.pricing-message-body {
   font-size: 1rem;
   color: var(--body-text);
   line-height: 1.8;
   margin-bottom: 1rem;
}

.pricing-message-cta {
   background: none;
   border: none;
   cursor: pointer;
   font-family: var(--font-display);
   font-weight: 600;
   font-size: 1rem;
   color: var(--accent);
   text-decoration: none;
   letter-spacing: 0.03em;
   transition: color 0.2s;
}

.pricing-message-cta:hover {
   color: var(--white);
}

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

/* CTA BAND */
.cta-band {
   background: var(--accent);
   color: var(--white);
   padding: 5rem 3rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 2rem;
   flex-wrap: wrap;
}

.cta-band-title {
   font-family: var(--font-display);
   font-weight: 800;
   font-size: clamp(2rem, 4vw, 3.4rem);
   line-height: 1.1;
   max-width: 560px;
   color: var(--white);
}

.cta-band-title em {
   font-style: normal;
   text-decoration: underline;
   text-decoration-color: rgba(242, 245, 248, 0.5);
}

.btn-dark {
   background: var(--white);
   color: var(--black);
   padding: 1rem 2.5rem;
   font-family: var(--font-display);
   font-weight: 700;
   font-size: 0.95rem;
   letter-spacing: 0.05em;
   text-decoration: none;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-height: 44px;
   transition: transform 0.15s, background 0.15s;
   white-space: nowrap;
}

.btn-dark:hover,
.btn-dark:focus-visible {
   background: #263749;
   transform: translateY(-2px);
}

.cta-band .btn-dark {
   border: 2px solid rgba(242, 245, 248, 0.5);
   cursor: pointer;
   transition: border-color 0.15s, transform 0.15s;
}

.cta-band .btn-dark:hover,
.cta-band .btn-dark:focus-visible {
   background: var(--white);
   color: var(--black);
   border-color: var(--white);
   transform: translateY(-2px);
}

/* CONTACT SECTION */
.contact-section {
   background: var(--white);
}

.contact-inner {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 6rem;
   align-items: start;
}

.contact-label {
   font-size: 0.75rem;
   letter-spacing: 0.2em;
   text-transform: uppercase;
   color: var(--accent);
   margin-bottom: 1rem;
}

.contact-title {
   font-family: var(--font-display);
   font-weight: 800;
   font-size: clamp(2.2rem, 4vw, 3.6rem);
   line-height: 1.1;
   letter-spacing: -0.02em;
   color: var(--black);
   margin-bottom: 2rem;
}

.contact-title em {
   font-style: normal;
   color: var(--accent);
}

.btn-contact {
   background: var(--accent);
   color: var(--white);
   border: none;
   padding: 1rem 2.25rem;
   font-family: var(--font-display);
   font-weight: 700;
   font-size: 1rem;
   letter-spacing: 0.05em;
   cursor: pointer;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-height: 44px;
   transition: background 0.15s, transform 0.15s;
}

.btn-contact:hover,
.btn-contact:focus-visible {
   background: var(--accent-dark);
   transform: translateY(-2px);
}

.contact-steps-heading {
   font-size: 0.75rem;
   letter-spacing: 0.2em;
   text-transform: uppercase;
   color: var(--accent);
   margin-bottom: 1.5rem;
}

.contact-steps {
   display: grid;
   grid-template-columns: 1fr;
   gap: 1px;
   list-style: none;
   padding: 0;
   background: var(--mid);
   border: 1px solid var(--mid);
}

.contact-step {
   position: relative;
   padding: 0.5rem 2.5rem;
   background: var(--white);
   overflow: hidden;
   transition: background 0.3s;
}

.contact-step::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 3px;
   background: var(--accent);
   transform: scaleX(0);
   transform-origin: left;
   transition: transform 0.3s ease;
}

.contact-step:hover {
   background: var(--gray);
}

.contact-step:hover::before {
   transform: scaleX(1);
}

.contact-step-num {
   font-family: var(--font-display);
   font-weight: 800;
   font-size: 1.1rem;
   color: var(--accent);
   letter-spacing: 0.15em;
   margin-bottom: 0.75rem;
   opacity: 1;
}

.contact-step-title {
   display: block;
   font-family: var(--font-display);
   font-weight: 700;
   font-size: 1.1rem;
   color: var(--black);
   margin-bottom: 0.75rem;
}

.contact-step-desc {
   font-size: 0.95rem;
   color: var(--body-text);
   line-height: 1.75;
}

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

@media (max-width: 600px) {
   .btn-contact {
      width: 100%;
      justify-content: center;
   }
}

/* FOOTER */
.site-footer {
   padding: 3rem;
   border-top: 1px solid var(--mid);
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   gap: 1rem;
}

.footer-logo {
   font-family: var(--font-display);
   font-weight: 800;
   font-size: 1rem;
   color: var(--black);
}

.footer-logo span,
.brand-accent {
   color: var(--accent);
}

.footer-copy {
   font-size: 0.85rem;
   color: var(--text-muted);
}

.footer-links {
   display: flex;
   gap: 1.5rem;
}

.footer-links a {
   color: var(--text-muted);
   text-decoration: underline;
   font-size: 0.85rem;
   transition: color 0.2s;
   min-height: 44px;
   display: inline-flex;
   align-items: center;
}

.footer-links a:hover,
.footer-links a:focus-visible {
   color: var(--accent);
}

/* ANIMATIONS */
@keyframes fadeUp {
   from {
      opacity: 0;
      transform: translateY(24px);
   }

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

@keyframes fadeIn {
   from {
      opacity: 0;
   }

   to {
      opacity: 1;
   }
}

@keyframes marquee {
   from {
      transform: translateX(0);
   }

   to {
      transform: translateX(-50%);
   }
}

@keyframes lineExpand {
   to {
      transform: scaleX(1);
   }
}

/* SCROLL REVEAL */
.reveal {
   opacity: 0;
   transform: translateY(30px);
   transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
   opacity: 1;
   transform: translateY(0);
}

/* HAMBURGER BUTTON */
.nav-hamburger {
   display: none;
   background: none;
   border: none;
   cursor: pointer;
   padding: 0.5rem;
   min-height: 44px;
   min-width: 44px;
   align-items: center;
   justify-content: center;
   flex-direction: column;
   gap: 5px;
}

.nav-hamburger-bar {
   display: block;
   width: 22px;
   height: 2px;
   background: var(--black);
   border-radius: 2px;
   transition: transform 0.3s ease, opacity 0.3s ease;
   transform-origin: center;
}

.nav-hamburger.open .nav-hamburger-bar:nth-child(1) {
   transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open .nav-hamburger-bar:nth-child(2) {
   opacity: 0;
   transform: scaleX(0);
}

.nav-hamburger.open .nav-hamburger-bar:nth-child(3) {
   transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE NAV PANEL */
.mobile-nav {
   display: none;
   position: fixed;
   top: var(--nav-height);
   left: 0;
   right: 0;
   background: rgba(242, 245, 248, 0.98);
   backdrop-filter: blur(12px);
   border-bottom: 1px solid rgba(27, 39, 51, 0.15);
   z-index: 100;
   flex-direction: column;
   padding: 0.25rem 1.5rem 1.25rem;
   opacity: 0;
   visibility: hidden;
   transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav.open {
   opacity: 1;
   visibility: visible;
}

.mobile-nav-links {
   list-style: none;
   display: flex;
   flex-direction: column;
}

.mobile-nav-links li {
   border-bottom: 1px solid var(--gray);
}

.mobile-nav-links li:last-child {
   border-bottom: none;
}

.mobile-nav-links a {
   display: flex;
   align-items: center;
   padding: 0.9rem 0;
   color: var(--text-muted);
   text-decoration: none;
   font-size: 0.9rem;
   letter-spacing: 0.06em;
   text-transform: uppercase;
   transition: color 0.2s;
   min-height: 44px;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible {
   color: var(--accent);
}

.mobile-nav-cta {
   margin-top: 1.25rem;
   align-self: flex-start;
}

/* RESPONSIVE */
@media (max-width: 900px) {
   :root {
      --nav-height: 84px;
   }

   #main-nav {
      padding: 1.25rem 1.5rem;
   }

   #main-nav .nav-links {
      display: none;
   }

   #main-nav .btn-primary {
      display: none;
   }

   .nav-hamburger {
      display: flex;
   }

   .mobile-nav {
      display: flex;
   }

   .hero {
      grid-template-columns: 1fr;
      padding: 9rem 1.5rem 3rem;
   }

   .hero-right {
      display: flex;
      justify-content: flex-start;
      margin-top: 2.5rem;
   }

   .cred-panel {
      width: 100%;
   }

   .cred-card {
      padding: 1.25rem 1.5rem;
   }

   section {
      padding: 4rem 1.5rem;
   }

   .about-inner {
      grid-template-columns: 1fr;
      gap: 3rem;
   }

   .cta-band {
      padding: 3.5rem 1.5rem;
   }

   .site-footer {
      padding: 2rem 1.5rem;
      flex-direction: column;
      align-items: flex-start;
   }
}

/* MODAL */
.modal-overlay {
   position: fixed;
   inset: 0;
   background: rgba(27, 39, 51, 0.85);
   z-index: 1000;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 1.5rem;
   opacity: 0;
   pointer-events: none;
   transition: opacity 0.3s ease;
}

.modal-overlay.open {
   opacity: 1;
   pointer-events: all;
}

.modal {
   background: var(--gray);
   border: 1px solid var(--mid);
   width: 100%;
   max-width: 520px;
   padding: 3rem;
   position: relative;
   transform: translateY(20px);
   transition: transform 0.3s ease;
}

.modal-overlay.open .modal {
   transform: translateY(0);
}

.modal-close {
   position: absolute;
   top: 1.25rem;
   right: 1.25rem;
   background: none;
   border: none;
   color: var(--text-muted);
   cursor: pointer;
   font-size: 1.5rem;
   line-height: 1;
   padding: 0.25rem 0.5rem;
   transition: color 0.2s;
}

.modal-close:hover {
   color: var(--black);
}

.modal-title {
   font-family: var(--font-display);
   font-weight: 700;
   font-size: 2rem;
   color: var(--black);
   margin-bottom: 0.4rem;
}

.modal-sub {
   font-size: 0.9rem;
   color: var(--text-muted);
   margin-bottom: 2rem;
}

.modal form {
   display: flex;
   flex-direction: column;
   gap: 1.25rem;
}

.form-group {
   display: flex;
   flex-direction: column;
   gap: 0.4rem;
}

.form-group label {
   font-size: 0.8rem;
   letter-spacing: 0.08em;
   text-transform: uppercase;
   color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
   background: var(--white);
   border: 1px solid var(--mid);
   color: var(--black);
   font-family: var(--font-body);
   font-size: 0.95rem;
   padding: 0.75rem 1rem;
   width: 100%;
   transition: border-color 0.2s;
   outline: none;
}

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

.form-group textarea {
   resize: vertical;
   min-height: 120px;
}

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

.form-submit {
   background: var(--accent);
   color: var(--white);
   border: none;
   padding: 0.9rem 2rem;
   font-family: var(--font-display);
   font-weight: 700;
   font-size: 1rem;
   letter-spacing: 0.05em;
   cursor: pointer;
   transition: background 0.15s, transform 0.15s;
   align-self: flex-start;
   min-height: 44px;
   min-width: 44px;
}

.form-submit:hover {
   background: #1a4d8a;
   transform: translateY(-2px);
}

.form-warning {
   display: none;
   font-size: 0.78rem;
   color: var(--accent);
   letter-spacing: 0.03em;
}

.form-group.has-warning .form-warning {
   display: block;
}

.form-group.has-warning input,
.form-group.has-warning textarea,
.form-group.has-warning select {
   border-color: var(--accent);
}

.form-success {
   display: none;
   text-align: center;
   padding: 2rem 0;
}

.form-success-icon {
   font-size: 3rem;
   margin-bottom: 1rem;
}

.form-success-title {
   font-family: var(--font-display);
   font-weight: 700;
   font-size: 1.6rem;
   color: var(--black);
   margin-bottom: 0.5rem;
}

.form-success-msg {
   font-size: 0.95rem;
   color: var(--text-muted);
}

/* SMALL SCREEN MODAL & LAYOUT TWEAKS */
@media (max-width: 600px) {
   .modal-overlay {
      align-items: flex-start;
      padding: 1rem;
      overflow-y: auto;
   }

   .modal {
      padding: 1.75rem 1.25rem;
      max-height: none;
   }

   .cta-band {
      flex-direction: column;
      align-items: flex-start;
   }

   .cta-band .btn-dark {
      width: 100%;
      justify-content: center;
   }

   .hero-cta {
      flex-direction: column;
   }

   .hero-cta .btn-primary,
   .hero-cta .btn-ghost {
      width: 100%;
      justify-content: center;
   }
}