/* ---------- Seabourne design variables ---------- */

:root {
     /* --seabourne-blue: #176785; */
	 --seabourne-blue: #0C99B4;
    --seabourne-white: #ffffff;
    --page-background: #f7fafb;
    --text-colour: #1f2933;
}


/* ---------- Basic page setup ---------- */

* {
    box-sizing: border-box;
}

body {
     margin: 0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--text-colour);
    background: var(--page-background);
}


/* ---------- Header ---------- */

.site-header {
    background: var(--seabourne-blue);
    color: var(--seabourne-white);
    padding: 0.5rem 1rem 1rem;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}


/* Brand */

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    color: var(--seabourne-white);
    text-decoration: none;
}

.brand-logo {
    width: 4.25rem;
    height: 4.25rem;
    object-fit: contain;
}

.brand-name {
    font-size: 1.15rem;
    line-height: 1.3;
}


/* Contact information */

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    font-size: 0.85rem;
    line-height: 1.5;
}

.contact-details a {
    color: var(--seabourne-white);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}


/* ---------- Main navigation ---------- */

.site-nav {
    display: flex;
    justify-content: space-around;
    gap: 1rem;

    padding: 0.65rem 1rem;

    background: var(--seabourne-white);
    border-bottom: 1px solid var(--seabourne-blue);
}

.site-nav a {
    color: var(--seabourne-blue);
    text-decoration: none;
    font-size: 1.35rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    text-decoration: underline;
}

/* Services dropdown */

.nav-item {
    position: relative;
}
.nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;

    display: none;

    min-width: 13rem;
    padding: 0.5rem 0;

    background: var(--seabourne-white);
    border: 1px solid var(--seabourne-blue);
	box-shadow: 0 0.35rem 0.75rem rgba(0, 0, 0, 0.12);
    z-index: 10;
	
}

.nav-submenu a {
    display: block;
    padding: 0.6rem 1rem;

    color: var(--text-colour);
    font-size: 1rem;
    white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
    color: var(--seabourne-blue);
    background: var(--page-background);
    text-decoration: none;
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
    display: block;
}



.hero {
    position: relative;
    overflow: visible;
    padding: 2.5rem 1.5rem 3rem;
    background: #f7fafb;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    margin-inline: auto;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 20%;
    height: 130%;
    background: url("../assets/data-sweep.png")
                center / cover no-repeat;
    opacity: 0.20;
    pointer-events: none;
    z-index: 0;
}

.hero-kicker {
    margin: 0 0 1rem;
    color: var(--seabourne-blue);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 1000px;
    margin: 0;
    font-size: clamp(1.8rem, 2.3vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    font-weight: 600;
}



.hero-intro {
    max-width: 1050px;
    margin: 2rem 0 0;
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.6;
}

.hero-detail {
    max-width: 850px;
    margin: 0.75rem 0 0;
    font-size: 1rem;
    line-height: 1.6;
}

.section-content {
    width: min(1100px, 100%);
    margin-inline: auto;
    text-align: left;
}

.service-wheel-section {
    padding: 1.0rem 1.5rem 4rem;
     position: relative;
    background: transparent;
    text-align: center;
}

.service-wheel-section h2 {
	font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    margin: 0 0 1rem;
    color: var(--text-colour);
    font-size: clamp(1.4rem, 1.8vw, 1.7rem);
    font-weight: 600;
    letter-spacing: -0.025em;
}


.service-summary h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: clamp(1.4rem, 1.8vw, 1.7rem);
    font-weight: 400;
}

.capability-layout {
    display: grid;
    grid-template-columns: minmax(520px, 720px) minmax(280px, 420px);
    align-items: center;
    justify-content: center;
    gap: 2rem;

    width: min(1200px, 100%);
    margin-inline: auto;
}



.service-wheel {
    position: relative;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 1;
    margin: -7rem 0 0;
}

.wheel-centre {
    position: absolute;
    width: 50%;
    max-width: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.wheel-centre img {
    display: block;
    width: 100%;
    height: auto;
}

.wheel-item {
    position: absolute;
    color: var(--seabourne-blue);
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    font-weight: 600;
    white-space: nowrap;
}

.wheel-resilience {
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
}

.wheel-security {
    left: 50%;
    bottom: 22%;
    transform: translateX(-50%);
}

.wheel-operations {
    left: 6%;
    top: 50%;
    transform: translateY(-50%);
}

.wheel-change {
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
}

/* ---------- Capability wheel controls ---------- */

.wheel-button {
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;

    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: inherit;

    cursor: pointer;
}


.capability-panel {
    position: relative;
    align-self: center;
    transform: translate(-4rem, -6rem);
    z-index: 5;
}

.capability-popup {
    display: none; 
	max-width: 320px;
    padding: 1rem 1.25rem;

    background: var(--seabourne-white);
    border-left: 3px solid var(--seabourne-blue);
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.08);

    text-align: left;
}

.capability-popup p {
    margin: 0 0 0.7rem;
	font-size: 0.9rem;
    line-height: 1.45;
}

.capability-popup .capability-examples {
    font-size: 0.85rem;
    font-weight: 400;
}


.capability-popup a {
    color: var(--seabourne-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.capability-popup a:hover,
.capability-popup a:focus-visible {
    text-decoration: underline;
}

.site-footer {
    padding: 1.5rem;
    background: var(--seabourne-blue);
    color: var(--seabourne-white);
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-content {
    width: min(1100px, 100%);
    margin-inline: auto;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
}

.site-footer p {
    margin: 0.25rem 0 0;
}

.site-footer a {
    color: var(--seabourne-white);
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    text-decoration: underline;
}
/* Service page layout */

/* ---------------------------------
   Services page
   --------------------------------- */

.page-intro,
.services-overview {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.page-intro {
    padding-top: 2.5rem;
    padding-bottom: 1.25rem;
}

.page-intro h1 {
    max-width: 1000px;
    margin: 0 0 1.5rem;
    font-size: clamp(1.8rem, 2.3vw, 2.25rem);
    line-height: 1.15;
}

.page-intro p {
    max-width: 800px;
    line-height: 1.7;
}

.page-lead {
    font-size: 1.15rem;
    line-height: 1.5;
}
.page-intro > :last-child {
    margin-bottom: 0;
}

/* ---------- Standard internal page content ---------- */

.page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

.page-content h2 {
    max-width: 800px;
    margin: 2rem 0 0.75rem;
    font-size: clamp(1.4rem, 1.8vw, 1.7rem);
    font-weight: 400;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p {
    max-width: 800px;
    line-height: 1.6;
}

.page-content > :last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .page-content {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}


@media (max-width: 600px) {

/* Individual service sections */

.service-summary {
    padding: 1.5rem 0;
    border-top: 1px solid #d8d8d8;
}

.service-summary:last-child {
    border-bottom: 1px solid #d8d8d8;
}

.service-summary > p {
    max-width: 800px;
    line-height: 1.6;
}

.service-summary-lead {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.service-summary-examples {
    margin-top: 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.service-summary > :last-child {
    margin-bottom: 0;
}


/* Future More links */

.service-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.service-more:hover,
.service-more:focus {
    text-decoration: underline;
}


/* Mobile */


@media (max-width: 900px) {
    .service-wheel {
        width: min(100%, 600px);
        min-width: 0;
        margin-inline: auto;
        margin-bottom: -8rem;
    }

    .capability-layout {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        min-width: 0;
    }

    .capability-panel {
        transform: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-inline: auto;
    }

    .capability-popup {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 600px) {

    .page-intro,
    .services-overview {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .page-intro {
        padding-top: 2.5rem;
        padding-bottom: 2rem;
    }

    .page-lead {
        font-size: 1.2rem;
    }

    .service-summary {
        padding: 1.25rem 0;
    }

    .service-summary h2 {
        font-size: 1.7rem;
    }

    .service-summary-lead {
        font-size: 1.1rem;
    }

    .brand-name {
        white-space: nowrap;
    }

    .contact-details {
        font-size: 0.75rem;
    }

    .contact-details a[href^="mailto:"] {
        font-size: 0.62rem;
        white-space: nowrap;
    }

    .nav-submenu {
        display: none !important;
    }

    .site-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }

    .site-nav a {
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
	
	.service-wheel {
    width: 92vw;
    margin-top: -4rem;
    margin-bottom: -3rem;
	}

	.capability-panel {
		transform: translateY(-2rem);
	}
}

@media print {

    /* Don't waste ink on decorative backgrounds */
    body,
    .site-header,
    .hero,
    .service-wheel-section {
        background: #ffffff !important;
        color: #000000 !important;
    }

    /* Navigation and interactive-only elements add no value on paper */
    .site-nav,
    .capability-popup,
    .print-button {
        display: none !important;
    }

    /* Make the branding printable rather than white-on-teal */
    .site-header {
        padding: 0 0 1rem;
        border-bottom: 1px solid #666666;
    }

    .brand,
    .brand-name,
    .contact-details a {
        color: #000000 !important;
    }

    /* Avoid unnecessarily enormous headings */
    .hero h1 {
        font-size: 24pt;
    }

    .service-wheel-section h2 {
        font-size: 18pt;
    }
	
	    /* Don't split useful content awkwardly */
    article,
    .service,
    .experience-item {
        break-inside: avoid;
    }

    h1,
    h2,
    h3 {
        break-after: avoid;
    }

    /* Interactive wheel is less useful on paper */
    .service-wheel {
        break-inside: avoid;
        transform: scale(0.8);
        transform-origin: top center;
    }

    a {
        color: #000000;
        text-decoration: none;
    }
}
