/*
Theme Name: ArcticTech
Theme URI: https://arctictech.no
Author: Mustaffa
Description: A custom WordPress theme for ArcticTech Network Solutions.
Version: 1.1.8
Text Domain: arctictech
*/

/* =====================================
   Reset and base styles
===================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #172033;
    background-color: #ffe599;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

/* =====================================
   Header
===================================== */

.site-header {
    position: relative;
    z-index: 100;

    background-color: #ffffff;
    border-bottom: 1px solid #dddddd;
}

.site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;

    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.site-header__inner > a {
    flex-shrink: 0;

    color: #0c4a6e;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.site-header__inner > a:hover,
.site-header__inner > a:focus {
    color: #08344d;
}

/* =====================================
   Primary navigation
===================================== */

.primary-navigation {
    margin-left: auto;
}

.primary-navigation ul {
    display: flex;
    align-items: center;
    gap: 2rem;

    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-navigation li {
    margin: 0;
}

.primary-navigation a {
    display: block;
    padding: 0.35rem 0;

    color: #1f2937;
    font-weight: 600;
    text-decoration: none;

    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.primary-navigation a:hover,
.primary-navigation a:focus {
    color: #0c4a6e;
}

.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a,
.primary-navigation .current-menu-ancestor > a {
    color: #0c4a6e;
    border-bottom: 3px solid #0c4a6e;
    font-weight: 700;
}

/* =====================================
   Mobile menu button
===================================== */

.menu-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;

    padding: 0.65rem 0.9rem;

    color: #0f172a;
    background-color: #ffffff;
    border: 2px solid #0c4a6e;
    border-radius: 0.35rem;

    font-weight: 700;
    line-height: 1;
    cursor: pointer;

    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.menu-toggle:hover {
    color: #ffffff;
    background-color: #0c4a6e;
}

.menu-toggle__icon {
    font-size: 1.25rem;
    line-height: 1;
}

/* =====================================
   Keyboard focus styles
===================================== */

.site-header a:focus-visible,
.primary-navigation a:focus-visible,
.footer-navigation a:focus-visible,
.menu-toggle:focus-visible,
.call-to-action__button:focus-visible,
.hero a:focus-visible,
.about-preview__link:focus-visible {
    outline: 3px solid #7dd3fc;
    outline-offset: 4px;
}

/* =====================================
   Accessibility
===================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #7dd3fc;
    outline-offset: 4px;
}

/* =====================================
   Main content
===================================== */

.site-main {
    min-height: 60vh;
}

.site-main h1,
.site-main h2,
.site-main h3 {
    line-height: 1.2;
}

/* =====================================
   Shared button motion
===================================== */

.hero a,
.about-preview__link,
.call-to-action__button {
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.hero a:hover,
.about-preview__link:hover,
.call-to-action__button:hover {
    transform: translateY(-2px);
}

/* =====================================
   Hero
===================================== */

.hero {
    padding: 6rem 2rem;
    background-color: #e8f1f8;
}

.hero__content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    max-width: 850px;
    margin: 0 0 1.5rem;

    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
}

.hero p {
    max-width: 760px;
    margin: 0 0 2rem;

    font-size: 1.25rem;
}

.hero a {
    display: inline-block;
    padding: 0.85rem 1.4rem;

    color: #ffffff;
    background-color: #0c4a6e;
    border-radius: 0.35rem;

    font-weight: 700;
    text-decoration: none;
}

.hero a:hover,
.hero a:focus {
    background-color: #08344d;
}

/* =====================================
   Services
===================================== */

.services {
    padding: 6rem 2rem;
    background-color: #ffffff;
}

.services__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.services__intro {
    max-width: 720px;
    margin-bottom: 3rem;
}

.services__eyebrow {
    margin: 0 0 0.75rem;

    color: #0c4a6e;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.services__intro h2 {
    margin: 0 0 1rem;

    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
}

.services__intro > p:last-child {
    margin: 0;
    font-size: 1.125rem;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;

    background-color: #f5f7fa;
    border: 1px solid #dfe5ec;
    border-radius: 0.5rem;
}

.service-card h3 {
    margin: 0 0 0.75rem;

    color: #0c4a6e;
    font-size: 1.35rem;
}

.service-card p {
    margin: 0;
}

/* =====================================
   About preview
===================================== */

.about-preview {
    padding: 6rem 2rem;

    color: #ffffff;
    background-color: #0f172a;
}

.about-preview__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 4rem;
    align-items: start;

    max-width: 1200px;
    margin: 0 auto;
}

.about-preview__content {
    max-width: 720px;
}

.about-preview__eyebrow {
    margin: 0 0 0.75rem;

    color: #7dd3fc;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-preview h2 {
    margin: 0 0 1.5rem;

    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
}

.about-preview__content > p:not(.about-preview__eyebrow) {
    margin: 0 0 1.25rem;

    color: #dbe7f3;
    font-size: 1.125rem;
}

.about-preview__link {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.85rem 1.4rem;

    color: #0f172a;
    background-color: #7dd3fc;
    border-radius: 0.35rem;

    font-weight: 700;
    text-decoration: none;
}

.about-preview__link:hover,
.about-preview__link:focus {
    background-color: #bae6fd;
}

.about-preview__highlights {
    display: grid;
    gap: 1rem;
}

.about-highlight {
    padding: 1.5rem;

    background-color: #17233a;
    border: 1px solid #2c3b54;
    border-radius: 0.5rem;
}

.about-highlight strong,
.about-highlight span {
    display: block;
}

.about-highlight strong {
    margin-bottom: 0.35rem;

    color: #7dd3fc;
    font-size: 1.25rem;
}

.about-highlight span {
    color: #dbe7f3;
}

/* =====================================
   Why Choose Us
===================================== */

.why-choose-us {
    padding: 6rem 2rem;
    background-color: #eef5f9;
}

.why-choose-us__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-us__intro {
    max-width: 720px;
    margin-bottom: 3rem;
}

.why-choose-us__eyebrow {
    margin: 0 0 0.75rem;

    color: #0c4a6e;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.why-choose-us__intro h2 {
    margin: 0 0 1rem;

    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
}

.why-choose-us__intro > p:last-child {
    margin: 0;
    font-size: 1.125rem;
}

.why-choose-us__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.reason-card {
    padding: 2rem;

    background-color: #ffffff;
    border: 1px solid #d8e2ea;
    border-radius: 0.5rem;
}

.reason-card__number {
    display: block;
    margin-bottom: 1.5rem;

    color: #7c9db2;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.reason-card h3 {
    margin: 0 0 0.75rem;

    color: #0c4a6e;
    font-size: 1.3rem;
}

.reason-card p {
    margin: 0;
}

/* =====================================
   Testimonials
===================================== */

.testimonials {
    padding: 6rem 2rem;
    background-color: #ffffff;
}

.testimonials__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials__intro {
    max-width: 720px;
    margin-bottom: 3rem;
}

.testimonials__eyebrow {
    margin: 0 0 0.75rem;

    color: #0c4a6e;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.testimonials__intro h2 {
    margin: 0 0 1rem;

    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
}

.testimonials__intro > p:last-child {
    margin: 0;
    font-size: 1.125rem;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    margin: 0;
    padding: 2rem;

    background-color: #f5f7fa;
    border: 1px solid #d8e2ea;
    border-radius: 0.5rem;
}

.testimonial-card blockquote {
    margin: 0 0 2rem;
}

.testimonial-card blockquote p {
    margin: 0;

    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-card figcaption {
    padding-top: 1.25rem;
    border-top: 1px solid #d8e2ea;
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
}

.testimonial-card strong {
    margin-bottom: 0.25rem;
    color: #0c4a6e;
}

.testimonial-card span {
    color: #596579;
    font-size: 0.95rem;
}

/* =====================================
   Call to Action
===================================== */

.call-to-action {
    padding: 5rem 2rem;

    color: #ffffff;
    background-color: #0c4a6e;
}

.call-to-action__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;

    max-width: 1200px;
    margin: 0 auto;
}

.call-to-action__content {
    max-width: 760px;
}

.call-to-action__eyebrow {
    margin: 0 0 0.75rem;

    color: #bae6fd;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.call-to-action h2 {
    margin: 0 0 1rem;

    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
}

.call-to-action__content > p:last-child {
    margin: 0;

    color: #e0f2fe;
    font-size: 1.125rem;
}

.call-to-action__actions {
    flex-shrink: 0;
}

.call-to-action__button {
    display: inline-block;
    padding: 1rem 1.5rem;

    color: #0f172a;
    background-color: #ffffff;
    border-radius: 0.35rem;

    font-weight: 700;
    text-decoration: none;
}

.call-to-action__button:hover,
.call-to-action__button:focus {
    background-color: #bae6fd;
}

/* =====================================
   Standard Pages
===================================== */

.page-main {
    background-color: #ffffff;
}

.page-entry__header {
    padding: 5rem 2rem 3rem;
    background-color: #e8f1f8;
}

.page-entry__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.page-entry__title {
    max-width: 850px;
    margin: 0;

    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
}

.page-entry__content {
    padding: 4rem 2rem 6rem;
}

.page-entry__content p {
    max-width: 760px;
    font-size: 1.1rem;
}

.page-entry__content > .page-entry__inner > *:first-child {
    margin-top: 0;
}

.page-entry__content > .page-entry__inner > *:last-child {
    margin-bottom: 0;
}

/* =====================================
   Footer
===================================== */

.site-footer {
    color: #dbe7f3;
    background-color: #0f172a;
}

.site-footer__main {
    padding: 5rem 2rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.4fr)
        repeat(2, minmax(180px, 0.7fr));
    gap: 4rem;

    max-width: 1200px;
    margin: 0 auto;
}

.site-footer__brand {
    max-width: 480px;
}

.site-footer__title {
    display: inline-block;
    margin-bottom: 1rem;

    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.site-footer__title:hover,
.site-footer__title:focus {
    color: #7dd3fc;
}

.site-footer__brand p {
    margin: 0;
    font-size: 1.05rem;
}

.site-footer__heading {
    margin: 0 0 1rem;

    color: #ffffff;
    font-size: 1.1rem;
}

.footer-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-navigation li {
    margin: 0;
}

.footer-navigation li + li {
    margin-top: 0.6rem;
}

.footer-navigation a,
.site-footer__contact a {
    color: #dbe7f3;
    text-decoration: none;
}

.footer-navigation a:hover,
.footer-navigation a:focus,
.site-footer__contact a:hover,
.site-footer__contact a:focus {
    color: #7dd3fc;
}

.site-footer__contact address {
    font-style: normal;
}

.site-footer__contact p {
    margin: 0;
}

.site-footer__contact p + p {
    margin-top: 0.6rem;
}

.site-footer__bottom {
    border-top: 1px solid #2c3b54;
}

.site-footer__bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.site-footer__bottom p {
    margin: 0;
    font-size: 0.95rem;
}

/* =====================================
   Services Page
===================================== */

.services-page {
    background-color: #ffffff;
}

.services-page__hero {
    padding: 5rem 2rem;
    background-color: #e8f1f8;
}

.services-page__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.services-page__eyebrow {
    margin: 0 0 0.75rem;

    color: #0c4a6e;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.services-page__title {
    margin: 0 0 1.5rem;

    font-size: clamp(2.75rem, 6vw, 4.5rem);
    line-height: 1.05;
}

.services-page__intro {
    max-width: 760px;

    font-size: 1.2rem;
}

.services-page__intro p {
    margin: 0;
}

.services-page__details {
    padding: 6rem 2rem;
}

.services-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.services-page__card {
    padding: 2rem;

    background-color: #f5f7fa;
    border: 1px solid #d8e2ea;
    border-radius: 0.5rem;
}

.services-page__card h2 {
    margin: 0 0 0.75rem;

    color: #0c4a6e;
    font-size: 1.5rem;
}

.services-page__card p {
    margin: 0;
}

/* =====================================
   About Page
===================================== */

.about-page {
    background-color: #ffffff;
}

.about-page__hero {
    padding: 5rem 2rem;
    background-color: #e8f1f8;
}

.about-page__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.about-page__eyebrow {
    margin: 0 0 0.75rem;

    color: #0c4a6e;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-page__title {
    margin: 0 0 1.5rem;

    font-size: clamp(2.75rem, 6vw, 4.5rem);
    line-height: 1.05;
}

.about-page__intro {
    max-width: 760px;
    font-size: 1.2rem;
}

.about-page__intro p {
    margin: 0;
}


/* About Story */

.about-page__story {
    padding: 6rem 2rem;
}

.about-page__story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-page__story h2 {
    max-width: 540px;
    margin: 0;

    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.about-page__story-text {
    font-size: 1.125rem;
    line-height: 1.7;
}

.about-page__story-text p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}


/* About Values */

.about-page__values {
    padding: 6rem 2rem;
    background-color: #0f172a;
}

.about-page__values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.about-page__value {
    padding: 2rem;

    background-color: #18243b;
    border: 1px solid #2b3b57;
    border-radius: 0.5rem;
}

.about-page__number {
    display: block;
    margin-bottom: 2rem;

    color: #7dd3fc;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.about-page__value h2 {
    margin: 0 0 0.75rem;

    color: #7dd3fc;
    font-size: 1.5rem;
}

.about-page__value p {
    margin: 0;
    color: #ffffff;
}

/* =====================================
   Contact Page
===================================== */

.contact-page {
    background-color: #ffffff;
}

.contact-page__hero {
    padding: 5rem 2rem;
    background-color: #e8f1f8;
}

.contact-page__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-page__eyebrow {
    margin: 0 0 0.75rem;

    color: #0c4a6e;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-page__title {
    margin: 0 0 1.5rem;

    font-size: clamp(2.75rem, 6vw, 4.5rem);
    line-height: 1.05;
}

.contact-page__intro {
    max-width: 760px;
    font-size: 1.2rem;
}

.contact-page__intro p {
    margin: 0;
}


/* Contact Details */

.contact-page__details {
    padding: 6rem 2rem;
}

.contact-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 4rem;
    align-items: start;
}

.contact-page__info h2,
.contact-page__form-panel h2 {
    margin: 0 0 1.25rem;

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.contact-page__info > p:not(.contact-page__eyebrow) {
    max-width: 620px;
    margin: 0 0 2rem;

    font-size: 1.1rem;
}

.contact-page__address {
    display: grid;
    gap: 1.25rem;

    margin-top: 2rem;
    font-style: normal;
}

.contact-page__contact-item {
    padding: 1.25rem;

    background-color: #f5f7fa;
    border: 1px solid #d8e2ea;
    border-radius: 0.5rem;
}

.contact-page__contact-item span {
    display: block;
    margin-bottom: 0.35rem;

    color: #0c4a6e;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-page__contact-item a {
    color: #172033;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.contact-page__contact-item a:hover,
.contact-page__contact-item a:focus-visible {
    color: #0c4a6e;
    text-decoration-thickness: 2px;
}

.contact-page__contact-item p {
    margin: 0;
}


/* Form Panel */

.contact-page__form-panel {
    padding: 2rem;

    background-color: #0f172a;
    border-radius: 0.5rem;
}

.contact-page__form-panel .contact-page__eyebrow {
    color: #7dd3fc;
}

.contact-page__form-panel h2 {
    color: #ffffff;
}

.contact-page__form-placeholder {
    margin-top: 2rem;
    padding: 2rem;

    color: #dbe7f3;
    background-color: #17233a;
    border: 1px dashed #476078;
    border-radius: 0.5rem;
}

.contact-page__form-placeholder p {
    margin: 0;
}

/* =====================================
   404 Page
===================================== */

.error-404 {
    background-color: #ffffff;
}

.error-404__section {
    padding: 7rem 2rem;
    background-color: #e8f1f8;
}

.error-404__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.error-404__eyebrow {
    margin: 0 0 1rem;

    color: #0c4a6e;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.error-404__title {
    margin: 0 0 1.5rem;

    font-size: clamp(2.75rem, 6vw, 4.5rem);
    line-height: 1.05;
}

.error-404__text {
    max-width: 680px;
    margin: 0 auto 2.5rem;

    font-size: 1.15rem;
}

.error-404__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.error-404__button {
    display: inline-block;
    padding: 0.9rem 1.4rem;

    color: #ffffff;
    background-color: #0c4a6e;
    border-radius: 0.35rem;

    font-weight: 700;
    text-decoration: none;
}

.error-404__button:hover,
.error-404__button:focus {
    background-color: #08344d;
}

.error-404__link {
    color: #0c4a6e;
    font-weight: 700;
}

/* =====================================
   Search Page
===================================== */

.search-page {
    background-color: #ffffff;
}

.search-page__header {
    padding: 5rem 2rem;
    background-color: #e8f1f8;
}

.search-page__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.search-page__eyebrow {
    margin: 0 0 0.75rem;
    color: #0c4a6e;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.search-page__title {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
}

.search-page__results {
    padding: 5rem 2rem;
}

.search-page__list {
    display: grid;
    gap: 1.5rem;
}

.search-result {
    padding: 2rem;
    background-color: #f5f7fa;
    border: 1px solid #d8e2ea;
    border-radius: 0.5rem;
}

.search-result__title {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
}

.search-result__title a {
    color: #0c4a6e;
    text-decoration: none;
}

.search-result__title a:hover,
.search-result__title a:focus {
    color: #08344d;
}

.search-result__excerpt p {
    margin: 0;
}

.search-page__empty {
    max-width: 700px;
}

.search-page__empty h2 {
    margin-top: 0;
}

.search-page__button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.9rem 1.4rem;

    color: #ffffff;
    background-color: #0c4a6e;
    border-radius: 0.35rem;

    font-weight: 700;
    text-decoration: none;
}

.search-page__button:hover,
.search-page__button:focus {
    background-color: #08344d;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;

    z-index: 9999;

    padding: 0.75rem 1rem;

    color: #ffffff;
    background-color: #0c4a6e;

    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

/* =====================================
   Tablet styles
===================================== */

@media (max-width: 900px) {
    .site-header__inner {
        gap: 1.5rem;
    }

    .site-header__inner > a {
        font-size: 1.6rem;
    }

    .primary-navigation ul {
        gap: 1.25rem;
    }

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

    .why-choose-us__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .call-to-action__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

/* =====================================
   Mobile styles
===================================== */

@media (max-width: 700px) {
    .site-header__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 1rem;

        padding: 1.25rem;
    }

    .site-header__inner > a {
        min-width: 0;
        font-size: 1.55rem;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .primary-navigation {
        grid-column: 1 / -1;
        width: 100%;
        margin-left: 0;
    }

    /*
     * JavaScript adds .has-menu-toggle.
     * Only then is the navigation hidden by default.
     */
    .site-header.has-menu-toggle .primary-navigation {
        display: none;
    }

    .site-header.has-menu-toggle .primary-navigation.is-open {
        display: block;
    }

    .primary-navigation ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        width: 100%;
    }

    .primary-navigation li {
        width: 100%;
    }

    .primary-navigation a {
        width: 100%;
        padding: 0.8rem 0;

        border-bottom: 1px solid #dfe5ec;
    }

    .primary-navigation .current-menu-item > a,
    .primary-navigation .current_page_item > a,
    .primary-navigation .current-menu-ancestor > a {
        border-bottom: 1px solid #0c4a6e;
    }

    .hero {
        padding: 4rem 1.25rem;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 12vw, 3.5rem);
    }

    .hero p {
        font-size: 1.1rem;
    }

    .services {
        padding: 4rem 1.25rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.5rem;
    }

    .about-preview {
        padding: 4rem 1.25rem;
    }

    .about-preview__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-preview__content > p:not(.about-preview__eyebrow) {
        font-size: 1.05rem;
    }

    .why-choose-us {
        padding: 4rem 1.25rem;
    }

    .why-choose-us__grid {
        grid-template-columns: 1fr;
    }

    .reason-card {
        padding: 1.5rem;
    }

    .testimonials {
        padding: 4rem 1.25rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .call-to-action {
        padding: 4rem 1.25rem;
    }

    .call-to-action__actions {
        width: 100%;
    }

    .call-to-action__button {
        width: 100%;
        text-align: center;
    }

    .site-footer__main {
        padding: 4rem 1.25rem;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .site-footer__brand {
        grid-column: auto;
    }

    .site-footer__bottom-inner {
        padding: 1.5rem 1.25rem;
    }
    
    .page-entry__header {
    	padding: 3.5rem 1.25rem 2.5rem;
    }

    .page-entry__content {
    	padding: 3rem 1.25rem 4rem;
    }
     
    .services-page__hero {
    	padding: 4rem 1.25rem;
    }

   .services-page__details {
    	padding: 4rem 1.25rem;
   }

   .services-page__grid {
    	grid-template-columns: 1fr;
   }

   .services-page__card {
    	padding: 1.5rem;
   }

   .about-page__hero {
    	padding: 4rem 1.25rem;
   }

   .about-page__story {
    	padding: 4rem 1.25rem;
   }

   .about-page__story-grid {
    	grid-template-columns: 1fr;
    	gap: 2rem;
   }

   .about-page__values {
    	padding: 4rem 1.25rem;
   }

   .about-page__values-grid {
    	grid-template-columns: 1fr;
   }

   .about-page__value {
    	padding: 1.5rem;
   }
   .contact-page__hero {
    	padding: 4rem 1.25rem;
   }

   .contact-page__details {
    	padding: 4rem 1.25rem;
   }

   .contact-page__grid {
    	grid-template-columns: 1fr;
    	gap: 3rem;
   }

   .contact-page__form-panel {
    	padding: 1.5rem;
   }

   .contact-page__form-placeholder {
    	padding: 1.5rem;
   }

   .error-404__section {
    	padding: 5rem 1.25rem;
   }

   .error-404__actions {
    	flex-direction: column;
   }

   .search-page__header {
    	padding: 4rem 1.25rem;
   }

   .search-page__results {
    	padding: 4rem 1.25rem;
   }

   .search-result {
    	padding: 1.5rem;
   }

   .primary-navigation a,
   .footer-navigation a {
    	min-height: 44px;

    	display: flex;
    	align-items: center;
   }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

::selection {
    color: #ffffff;
    background-color: #0c4a6e;
}

/* =========================================================
   Single Project
   ========================================================= */

.single-project .project-single {
    background: #eaf3f8;
    padding: 7rem 2.5rem;
}

.single-project .project-single__header,
.single-project .project-single__content {
    width: min(100%, 1440px);
    margin-left: auto;
    margin-right: auto;
}

.single-project .section-label {
    margin: 0 0 2rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #00577d;
}

.single-project .project-single__title {
    margin: 0;
    max-width: 900px;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    color: #0d1930;
}

.single-project .project-single__content {
    margin-top: 3rem;
    max-width: 1440px;
    font-size: 1.25rem;
    line-height: 1.7;
    color: #172033;
}

.single-project .project-single__content > * {
    max-width: 800px;
}

@media (max-width: 768px) {
    .single-project .project-single {
        padding: 5rem 1.5rem;
    }

    .single-project .project-single__title {
        font-size: clamp(2.5rem, 11vw, 4rem);
    }

    .single-project .project-single__content {
        font-size: 1.1rem;
    }
}

/* =========================================================
   Projects Archive
   ========================================================= */

.post-type-archive-project .projects-archive {
    background: #ffffff;
}

/* Archive hero */
.post-type-archive-project .projects-archive__hero {
    background: #eaf3f8;
    padding: 7rem 2.5rem;
}

.post-type-archive-project .projects-archive__container {
    width: min(100%, 1440px);
    margin-left: auto;
    margin-right: auto;
}

.post-type-archive-project .projects-archive__hero .section-label {
    margin: 0 0 2rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #00577d;
}

.post-type-archive-project .projects-archive__title {
    margin: 0;
    max-width: 950px;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    color: #0d1930;
}

.post-type-archive-project .projects-archive__intro {
    max-width: 760px;
    margin: 2.5rem 0 0;
    font-size: 1.25rem;
    line-height: 1.7;
    color: #172033;
}

/* Project listing */
.post-type-archive-project .projects-archive__content {
    padding: 6rem 2.5rem;
    background: #ffffff;
}

.post-type-archive-project .projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

/* Individual project card */
.post-type-archive-project .project-card {
    display: flex;
    flex-direction: column;
    padding: 3rem;
    min-height: 360px;
    background: #0d1930;
    border-radius: 12px;
}

.post-type-archive-project .project-card__label {
    margin: 0 0 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6fc8f2;
}

.post-type-archive-project .project-card__title {
    margin: 0 0 1.5rem;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.15;
}

.post-type-archive-project .project-card__title a {
    color: #ffffff;
    text-decoration: none;
}

.post-type-archive-project .project-card__title a:hover,
.post-type-archive-project .project-card__title a:focus {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.post-type-archive-project .project-card__excerpt {
    margin-bottom: 2rem;
    max-width: 650px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #dbe7f1;
}

.post-type-archive-project .project-card__excerpt p {
    margin-top: 0;
}

/* Push the link toward the bottom of the card */
.post-type-archive-project .project-card__link {
    align-self: flex-start;
    margin-top: auto;
    display: inline-block;
    padding: 0.9rem 1.4rem;
    background: #ffffff;
    color: #0d1930;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
}

.post-type-archive-project .project-card__link:hover,
.post-type-archive-project .project-card__link:focus {
    background: #eaf3f8;
}

/* Empty archive */
.post-type-archive-project .projects-archive__empty {
    font-size: 1.2rem;
    color: #172033;
}

/* Responsive archive */
@media (max-width: 900px) {
    .post-type-archive-project .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .post-type-archive-project .projects-archive__hero {
        padding: 5rem 1.5rem;
    }

    .post-type-archive-project .projects-archive__content {
        padding: 4rem 1.5rem;
    }

    .post-type-archive-project .projects-archive__title {
        font-size: clamp(2.5rem, 11vw, 4rem);
    }

    .post-type-archive-project .projects-archive__intro {
        font-size: 1.1rem;
    }

    .post-type-archive-project .project-card {
        min-height: 0;
        padding: 2rem;
    }
}

/* ========================================
   Single Project — Featured Image
   ======================================== */

.project-featured-image {
    max-width: 1000px;
    margin: 2rem 0 2.5rem;
}

.project-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* ========================================
   Single Project — Case Study Content
   ======================================== */

.project-content {
    max-width: 760px;
    margin-top: 2rem;
    line-height: 1.75;
}

.project-content p {
    margin: 0 0 1.5rem;
}

.project-content h2,
.project-content h3 {
    margin: 2.75rem 0 1rem;
    color: #0f1b33;
    line-height: 1.25;
}

.project-content h2 {
    font-size: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
}

