/*
Theme Name: Freewind Website v2
Theme URI: https://freewindyachtinteriors.com
Author: Freewind Yacht Interiors
Author URI: https://freewindyachtinteriors.com
Description: A modern luxury WordPress theme for Freewind Yacht Interiors — an ocean-blue, contemporary design for bespoke yacht curtains, upholstery and flooring. Version 2, distinctly modern and premium.
Version: 2.40.18
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: freewind-v2
Tags: luxury, yacht, interiors, modern, ocean, business, portfolio, custom-logo, custom-menu, featured-images, responsive
*/

/* =========================================================
   DESIGN TOKENS — Ocean Blue Luxury Modern
   ========================================================= */
:root {
    /* Ocean blue palette */
    --ink:          #051b2c;   /* deepest ocean */
    --ocean-900:    #072a44;   /* deep ocean navy */
    --ocean-800:    #0b3a5c;   /* ocean blue */
    --ocean-700:    #0f5178;   /* mid ocean */
    --ocean-600:    #1a6f9c;   /* bright ocean */
    --aqua:         #4fc4d6;   /* aqua accent */
    --aqua-soft:    #7fd8e6;
    --gold:         #c9a86a;   /* subtle gold (logo tie-in) */
    --gold-soft:    #e6d3a8;

    /* Neutrals */
    --white:        #ffffff;
    --mist:         #f3f8fb;   /* light section bg */
    --mist-2:       #e9f2f8;
    --line:         #dbe6ee;
    --ink-text:     #0d2436;
    --text:         #33505f;
    --text-muted:   #6a8291;
    --text-on-dark: rgba(255,255,255,.82);
    --text-on-dark-mute: rgba(255,255,255,.62);

    /* Gradients */
    --grad-ocean:   linear-gradient(135deg, #072a44 0%, #0f5178 55%, #1a6f9c 100%);
    --grad-ocean-deep: linear-gradient(160deg, #051b2c 0%, #0b3a5c 100%);
    --grad-aqua:    linear-gradient(90deg, #4fc4d6, #7fd8e6);

    /* Type */
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Radius & shadow */
    --r-sm: 8px;
    --r:    16px;
    --r-lg: 26px;
    --shadow-sm: 0 6px 18px rgba(7,42,68,.08);
    --shadow:    0 18px 50px rgba(7,42,68,.12);
    --shadow-lg: 0 30px 80px rgba(5,27,44,.22);

    /* Layout */
    --container: 1240px;
    --gutter: 24px;
    --ease: cubic-bezier(.22,.61,.36,1);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Offset anchor targets so they aren't hidden behind the fixed header. */
:target { scroll-margin-top: 150px; }
.split[id] { scroll-margin-top: 150px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean-700); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--aqua); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink-text);
    font-weight: 500;
    line-height: 1.12;
    margin: 0 0 .5em;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.25rem; }
p  { margin: 0 0 1.1em; }

::selection { background: var(--aqua); color: var(--ink); }

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.text-center { text-align: center; }
.bg-mist { background: var(--mist); }
.bg-ocean { background: var(--grad-ocean); color: var(--white); }
.bg-ink { background: var(--grad-ocean-deep); color: var(--white); }
.bg-ocean h1, .bg-ocean h2, .bg-ocean h3, .bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }

/* Eyebrow / kicker */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ocean-600);
    margin-bottom: 18px;
}
.eyebrow::before {
    content: "";
    width: 28px; height: 2px;
    background: var(--grad-aqua);
    display: inline-block;
}
.bg-ocean .eyebrow, .bg-ink .eyebrow { color: var(--aqua-soft); }

/* Section head */
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; margin-top: 14px; }
.bg-ocean .section-head p, .bg-ink .section-head p { color: var(--text-on-dark); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all .3s var(--ease);
    white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary {
    background: var(--grad-ocean);
    color: #fff;
    box-shadow: 0 10px 30px rgba(15,81,120,.35);
}
.btn--primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15,81,120,.45); }
.btn--aqua { background: var(--aqua); color: var(--ink); }
.btn--aqua:hover { background: var(--aqua-soft); color: var(--ink); transform: translateY(-3px); }
.btn--outline { background: transparent; border-color: var(--line); color: var(--ink-text); }
.btn--outline:hover { border-color: var(--ocean-600); color: var(--ocean-700); transform: translateY(-3px); }
.btn--ghost-light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); color: #fff; transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--ocean-800); }
.btn--light:hover { color: var(--ocean-800); transform: translateY(-3px); box-shadow: var(--shadow); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all .4s var(--ease);
}
.site-header::before {
    content: "";
    position: absolute; inset: 0;
    background: rgba(5,27,44,.0);
    backdrop-filter: blur(0px);
    transition: all .4s var(--ease);
    pointer-events: none;
}
.site-header.scrolled { padding: 10px 0; }
.site-header.scrolled::before {
    background: rgba(5,27,44,.85);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(5,27,44,.28);
    border-bottom: 1px solid rgba(79,196,214,.18);
}
.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: none;            /* full-bleed across viewport */
    padding-left: clamp(20px, 3vw, 48px);
    padding-right: clamp(20px, 3vw, 48px);
}
.site-brand { display: inline-flex; align-items: center; margin-right: auto; }
.site-brand img,
.site-brand .custom-logo {
    height: 108px;
    width: auto;
    transition: height .4s var(--ease);
}
.site-header.scrolled .site-brand img,
.site-header.scrolled .site-brand .custom-logo { height: 87px; }

.main-nav {
    margin-left: auto;          /* push nav to far right */
    margin-right: 0;
}
.main-nav .menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0; padding: 0;
}
.main-nav .menu li a {
    position: relative;
    display: block;
    padding: 10px 18px;
    color: rgba(255,255,255,.9);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.main-nav .menu li a::after {
    content: "";
    position: absolute;
    left: 18px; right: 18px; bottom: 4px;
    height: 2px;
    background: var(--grad-aqua);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.main-nav .menu li a:hover,
.main-nav .menu li.current-menu-item a { color: #fff; }
.main-nav .menu li a:hover::after,
.main-nav .menu li.current-menu-item a::after { transform: scaleX(1); }
.main-nav .menu li.menu-cta a {
    background: var(--aqua);
    color: var(--ink);
    border-radius: 100px;
    margin-left: 10px;
}
.main-nav .menu li.menu-cta a::after { display: none; }
.main-nav .menu li.menu-cta a:hover { background: var(--aqua-soft); }

/* Nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}
.nav-toggle span {
    display: block; height: 2px; width: 100%;
    background: #fff; border-radius: 2px;
    transition: all .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO — full-width background, content far-left,
   service tags bottom-left, stats bottom-right horizontal
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    color: #fff;
    overflow: hidden;
}

/* Background image — covers entire hero */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* Gradient overlay — darker on left for text readability */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(5,27,44,.95)  0%,
        rgba(5,27,44,.88)  30%,
        rgba(5,27,44,.55)  50%,
        rgba(5,27,44,.18)  70%,
        transparent         100%
    );
}

/* Hero content — vertically centered, far left */
.hero__content {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    text-align: left;
    max-width: 600px;
    padding-left: clamp(24px, 4vw, 64px);
    padding-right: 24px;
}
.hero__content .eyebrow {
    color: var(--aqua);
    font-size: .88rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.hero__content h1 {
    color: #fff;
    font-size: clamp(2.4rem, 4.8vw, 4.2rem);
    line-height: 1.08;
    margin-bottom: 28px;
    font-weight: 400;
    text-align: left;
}
/* Aqua accent line below hero heading */
.hero__content .hero__rule {
    width: 80px;
    height: 3px;
    background: var(--aqua);
    background: #4fc4d6; /* hardcoded fallback in case var() fails */
    margin: 24px 0 28px 0;
    border-radius: 2px;
    display: block;
    visibility: visible;
    opacity: 1;
    min-height: 3px;
}
.hero__content .lead {
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    color: var(--text-on-dark);
    max-width: 520px;
    margin-bottom: 36px;
    font-weight: 300;
    line-height: 1.7;
    text-align: left;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Service tags — bottom left */
.hero__tags {
    position: absolute;
    bottom: 40px;
    left: clamp(24px, 4vw, 64px);
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    font-size: .85rem;
    color: var(--text-on-dark-mute);
}
.hero__tags span { white-space: nowrap; }
.hero__tags-dot {
    margin: 0 10px;
    color: var(--aqua);
}

/* Stats badges — bottom right, single translucent box (matching stats.png) */
.hero__stats {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    overflow: hidden;
}
.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 38px;
    position: relative;
}
/* Thin divider between stats */
.hero__stat + .hero__stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}
.hero__stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    line-height: 1;
    font-weight: 400;
}
.hero__stat-lbl {
    font-size: .62rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-on-dark-mute);
    margin-top: 8px;
    white-space: nowrap;
}

/* =========================================================
   SERVICES CARDS
   ========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    position: relative;
    background: #fff;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    border: 1px solid var(--line);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__body { padding: 30px 30px 34px; }
.service-card__body h3 { margin-bottom: 12px; }
.service-card__body p { color: var(--text-muted); font-size: .98rem; margin-bottom: 18px; }
.service-card__link {
    font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: var(--ocean-700); display: inline-flex; align-items: center; gap: 8px;
}
.service-card__link span { transition: transform .3s var(--ease); }
.service-card:hover .service-card__link span { transform: translateX(6px); }

/* Icon step cards (process) */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r); padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-card h3 { margin-bottom: 10px; }
.step-card p { color: var(--text-muted); font-size: .98rem; margin: 0; }

/* =========================================================
   SPLIT / FEATURE
   ========================================================= */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 84px);
    align-items: center;
}
.split__media { position: relative; }
.split__media img {
    width: 100%; border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3.2; object-fit: cover;
}
.split__media--stack::after {
    content: ""; position: absolute;
    top: -22px; right: -22px; width: 55%; height: 55%;
    border: 2px solid var(--aqua);
    border-radius: var(--r-lg); z-index: -1;
}
.split__badge {
    position: absolute; bottom: -28px; left: -28px;
    background: var(--grad-ocean); color: #fff;
    padding: 24px 30px; border-radius: var(--r);
    box-shadow: var(--shadow);
    text-align: center;
}
.split__badge .num { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; }
.split__badge .lbl { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-soft); margin-top: 6px; }
.split__body h2 { margin-bottom: 20px; }
.split__body p { color: var(--text); }
.bg-ocean .split__body p, .bg-ink .split__body p { color: var(--text-on-dark); }

/* Checklist */
.checks { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 38px; color: var(--text); font-size: 1rem; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: 2px;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--grad-aqua);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/16px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/16px no-repeat;
}
.bg-ocean .checks li, .bg-ink .checks li { color: var(--text-on-dark); }

/* =========================================================
   SERVICE DETAIL — content-top + 2×2 image gallery
   ========================================================= */
.service-detail {
    margin-bottom: 96px;
    scroll-margin-top: 150px;
}
.service-detail:last-of-type { margin-bottom: 0; }

.service-detail__content {
    max-width: 780px;
    margin-bottom: 36px;
}
.service-detail__content .eyebrow {
    display: inline-block;
    margin-bottom: 10px;
}
.service-detail__content h2 {
    margin-bottom: 18px;
}
.service-detail__content p {
    color: var(--text);
    margin-bottom: 4px;
}

/* Single service image */
.service-image {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 620px) {
    .service-detail { margin-bottom: 64px; }
}

/* =========================================================
   STATS
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .num {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    color: #fff; line-height: 1; margin-bottom: 8px;
    background: linear-gradient(180deg, #fff, var(--aqua-soft));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat .label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-dark-mute); }
.stats--divided .stat { position: relative; }
.stats--divided .stat:not(:last-child)::after {
    content: ""; position: absolute; right: -15px; top: 10%; height: 80%; width: 1px;
    background: rgba(255,255,255,.14);
}

/* =========================================================
   PROJECTS GALLERY
   ========================================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    aspect-ratio: 4/3.4;
    display: block;
    box-shadow: var(--shadow-sm);
}
.gallery-item--wide { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(5,27,44,.85) 100%);
    display: flex; align-items: flex-end;
    padding: 26px;
    opacity: 1;
    transition: background .4s var(--ease);
}
.gallery-item:hover .gallery-item__overlay { background: linear-gradient(180deg, rgba(5,27,44,.2) 0%, rgba(5,27,44,.9) 100%); }
.gallery-item__overlay span {
    font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--aqua-soft); display: block; margin-bottom: 6px;
}
.gallery-item__overlay h4 { color: #fff; margin: 0; font-size: 1.35rem; }

/* Project media count badges (image + video counts) */
.project-badges {
    position: absolute; top: 12px; right: 12px;
    z-index: 2;
    display: flex; flex-direction: column; gap: 8px;
    opacity: 0; transform: translateY(-4px);
    transition: opacity .3s ease, transform .3s ease;
}
.project-count {
    display: flex; align-items: center; gap: 5px;
    padding: 6px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .95);
    color: var(--ocean, #051b2c);
    font-size: .8rem; font-weight: 600; letter-spacing: .02em;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.project-count svg { width: 15px; height: 15px; flex-shrink: 0; }
.project-count--video {
    background: rgba(79,196,214,.95);
    color: #051b2c;
}
.gallery-item:hover .project-badges { opacity: 1; transform: translateY(0); }
@media (max-width: 620px) {
    .project-badges { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   SINGLE PROJECT — image gallery grid
   ========================================================= */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.project-gallery__item {
    position: relative;
    display: block;
    border-radius: var(--r);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
    box-shadow: var(--shadow-md, 0 10px 30px rgba(5,27,44,.12));
    background: var(--mist, #eef3f6);
}
.project-gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.project-gallery__item:hover img { transform: scale(1.06); }
.project-gallery__item::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(5,27,44,.55) 100%);
    opacity: 0; transition: opacity .35s ease;
}
.project-gallery__item:hover::after { opacity: 1; }
.project-gallery__zoom {
    position: absolute; right: 12px; bottom: 12px;
    z-index: 2;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: var(--ocean, #051b2c);
    opacity: 0; transform: translateY(8px);
    transition: opacity .35s ease, transform .35s ease;
}
.project-gallery__zoom svg { width: 20px; height: 20px; }
.project-gallery__item:hover .project-gallery__zoom { opacity: 1; transform: translateY(0); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.fw-lb {
    position: fixed; inset: 0;
    z-index: 9999;
    display: none;
    align-items: center; justify-content: center;
    background: rgba(3, 16, 27, .94);
    padding: 4vh 4vw;
    opacity: 0;
    transition: opacity .3s ease;
}
.fw-lb.is-open { display: flex; opacity: 1; }
.fw-lb__stage {
    margin: 0;
    max-width: 90vw; max-height: 88vh;
    display: flex; flex-direction: column; align-items: center;
}
.fw-lb__img {
    max-width: 90vw; max-height: 80vh;
    width: auto; height: auto;
    border-radius: 6px;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
    opacity: 0; transform: scale(.98);
    transition: opacity .35s ease, transform .35s ease;
}
.fw-lb__img.is-loaded { opacity: 1; transform: scale(1); }
.fw-lb__caption {
    color: rgba(255,255,255,.85);
    font-size: .9rem; letter-spacing: .04em;
    margin-top: 14px; text-align: center;
}
.fw-lb__close,
.fw-lb__nav {
    position: absolute;
    z-index: 2;
    touch-action: manipulation;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: background .25s ease, transform .25s ease;
    -webkit-tap-highlight-color: transparent;
}
.fw-lb__close:hover,
.fw-lb__nav:hover { background: rgba(255,255,255,.25); }
.fw-lb__close {
    top: 20px; right: 24px;
    width: 48px; height: 48px;
    font-size: 2rem; line-height: 1;
}
.fw-lb__nav {
    top: 50%; transform: translateY(-50%);
    width: 54px; height: 54px;
    font-size: 2.2rem; line-height: 1;
}
.fw-lb__nav:hover { transform: translateY(-50%) scale(1.08); }
.fw-lb__prev { left: 24px; }
.fw-lb__next { right: 24px; }
.fw-lb__count {
    position: absolute; bottom: 22px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.7);
    font-size: .85rem; letter-spacing: .1em;
}

/* =========================================================
   VIDEO GALLERY
   ========================================================= */
.video-gallery-wrap { margin-top: 56px; }
.video-gallery__heading {
    font-family: var(--font-serif, "Fraunces", serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    text-align: center;
    margin: 0 0 28px;
    color: var(--ocean, #051b2c);
}
/* Video tiles reuse .project-gallery grid + item styles. */
.project-gallery__item--video { cursor: pointer; }
/* Fallback background when a clip has no poster/thumbnail. */
.project-gallery__item--noposter {
    background: radial-gradient(circle at 50% 40%, #0d3550 0%, #051b2c 75%);
    display: flex; align-items: center; justify-content: center;
}
/* Large centered play icon when no poster is available. */
.project-gallery__item--noposter::after {
    content: "";
    width: 80px; height: 80px;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 8px 24px rgba(5,27,44,.4);
    z-index: 1;
    /* Inline SVG background for the aqua circle + play triangle */
    background: rgba(79,196,214,.9) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23051b2c"><path d="M8 5v14l11-7z"/></svg>') no-repeat center;
    background-size: 36px 36px;
}
/* Play button badge (bottom-right, like the zoom badge on images). */
.project-gallery__play {
    position: absolute; right: 12px; bottom: 12px;
    z-index: 2;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(79,196,214,.95);
    color: #05202f;
    box-shadow: 0 6px 18px rgba(5,27,44,.35);
    transition: transform .35s ease, background .25s ease;
}
.project-gallery__play svg { width: 22px; height: 22px; margin-left: 2px; }
.project-gallery__item--video:hover .project-gallery__play {
    transform: scale(1.12);
    background: #4fc4d6;
}
/* Large centered play cue overlaid on the whole video tile. */
.project-gallery__item--video::before {
    content: "";
    position: absolute; inset: 0;
    z-index: 1;
    background: rgba(5,27,44,.28);
    opacity: .85;
    transition: opacity .35s ease;
}
.project-gallery__item--video:hover::before { opacity: .55; }

/* ---- Lightbox video display ---- */
.fw-lb__video { display: none; }
.fw-lb__video.is-active { display: block; width: 100%; }
.fw-lb__vidfile {
    max-width: 90vw; max-height: 80vh;
    width: auto; height: auto;
    border-radius: 6px;
    background: #000;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
/* Responsive 16:9 frame for YouTube / Vimeo embeds. */
.fw-lb__frame {
    position: relative;
    width: min(90vw, 142vh); /* keep within 80vh at 16:9 */
    max-width: 1100px;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.fw-lb__frame iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .project-gallery { grid-template-columns: repeat(2, 1fr); }
    .fw-lb__nav { width: 44px; height: 44px; font-size: 1.8rem; }
    .fw-lb__prev { left: 10px; }
    .fw-lb__next { right: 10px; }
    .fw-lb__close { top: 12px; right: 14px; }
}
@media (max-width: 520px) {
    .project-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* =========================================================
   QUOTE
   ========================================================= */
.quote-block { max-width: 900px; margin: 0 auto; text-align: center; position: relative; }
.quote-block .mark {
    font-family: var(--font-display);
    font-size: 6rem; line-height: .5;
    color: var(--aqua); opacity: .5;
}
.quote-block blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 400; font-style: italic;
    color: #fff; margin: 24px 0; line-height: 1.35;
}
.quote-block cite {
    font-family: var(--font-body); font-style: normal;
    font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--aqua-soft);
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-panel {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--grad-ocean);
    padding: clamp(48px, 7vw, 90px);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.cta-panel::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(79,196,214,.25), transparent 55%);
}
.cta-panel > * { position: relative; }
.cta-panel h2 { color: #fff; margin-bottom: 16px; }
.cta-panel p { color: var(--text-on-dark); max-width: 560px; margin: 0 auto 30px; font-size: 1.1rem; }

/* =========================================================
   PAGE HERO (interior pages)
   ========================================================= */
.page-hero {
    position: relative;
    background: var(--grad-ocean-deep);
    color: #fff;
    padding: clamp(140px, 18vw, 220px) 0 clamp(60px, 8vw, 90px);
    text-align: center;
    overflow: hidden;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(26,111,156,.35), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero .eyebrow { justify-content: center; }
.breadcrumb { font-size: .82rem; letter-spacing: .1em; color: var(--text-on-dark-mute); text-transform: uppercase; }
.breadcrumb a { color: var(--aqua-soft); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }

/* Team cards grid (About page) — two equal cards, centered under the heading */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
    max-width: 1040px;
    margin: 0 auto;
}
/* Compact the photo & inner gap a touch so long emails never clip */
.team-grid .contact-card--profile { gap: 20px; }
.team-grid .contact-card--profile .profile-photo { width: 116px; height: 116px; }
.team-grid .contact-line { font-size: .92rem; }
.team-grid .contact-line a { overflow-wrap: anywhere; }
@media (max-width: 820px) {
    .team-grid { grid-template-columns: 1fr; max-width: 480px; }
}
.contact-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r); padding: 28px 30px; margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card h3 { margin-bottom: 4px; }
.contact-card .role { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ocean-600); display: block; margin-bottom: 16px; }
.contact-line { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: .98rem; color: var(--text); }
.contact-line .ic {
    width: 38px; height: 38px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: var(--mist); border-radius: 50%;
    color: var(--ocean-700);
}
.contact-line .ic svg { width: 17px; height: 17px; }

/* Contact card with profile photo (wider, side-by-side layout) */
.contact-card--profile { display: flex; gap: 24px; align-items: flex-start; }
.contact-card--profile .profile-photo {
    flex: none; width: 132px; height: 132px;
    border-radius: 10px; overflow: hidden;
    background: var(--mist);
    box-shadow: 0 4px 14px rgba(5,27,44,.15);
}
.contact-card--profile .profile-photo img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.contact-card--profile .profile-info { flex: 1 1 auto; min-width: 0; }
@media (max-width: 520px) {
    .contact-card--profile { flex-direction: column; align-items: center; text-align: center; }
    .contact-card--profile .profile-photo { width: 120px; height: 120px; }
    .contact-card--profile .contact-line { justify-content: center; }
}

/* Contact form */
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-text); margin-bottom: 8px; }
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%; padding: 14px 16px;
    font-family: var(--font-body); font-size: 1rem; color: var(--ink-text);
    background: var(--mist);
    border: 1.5px solid transparent; border-radius: var(--r-sm);
    transition: all .25s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none; background: #fff;
    border-color: var(--aqua);
    box-shadow: 0 0 0 4px rgba(79,196,214,.15);
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-notice { padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 22px; font-size: .95rem; }
.form-notice--ok { background: #e6f7f2; color: #0d7a5f; border: 1px solid #b8eadd; }
.form-notice--err { background: #fdeaea; color: #b3352f; border: 1px solid #f3c4c1; }

/* =========================================================
   ENTRY CONTENT (generic pages / posts)
   ========================================================= */
.entry-content { max-width: 820px; margin: 0 auto; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content img { border-radius: var(--r); margin: 1.4em 0; }
.entry-content blockquote {
    border-left: 3px solid var(--aqua);
    padding: 6px 0 6px 24px; margin: 1.4em 0;
    font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--ink-text);
}
.post-meta { color: var(--text-muted); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px; padding: 0 12px;
    border: 1px solid var(--line); border-radius: var(--r-sm);
    color: var(--ink-text); font-size: .9rem;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--grad-ocean); color: #fff; border-color: transparent; }

/* Posts grid */
.posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--grad-ocean-deep); color: var(--text-on-dark); padding: 40px 0 0; position: relative; }
.site-footer::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad-aqua);
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 28px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 12px; }
.footer-brand p { color: var(--text-on-dark-mute); font-size: .95rem; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; margin-bottom: 14px; }
.footer-col ul, .footer-col .menu { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--text-on-dark-mute); font-size: .95rem; }
.footer-col a:hover { color: var(--aqua-soft); }
.footer-person { margin-bottom: 12px; }
.footer-person strong { color: #fff; font-weight: 600; display: block; margin-bottom: 4px; font-size: .95rem; }
.footer-contact-line { display: flex; align-items: center; gap: 9px; font-size: .9rem; margin-bottom: 5px; color: var(--text-on-dark-mute); }
.footer-contact-line svg { width: 15px; height: 15px; flex: none; color: var(--aqua); }
.footer-contact-line a { color: var(--text-on-dark-mute); }
.footer-contact-line a:hover { color: var(--aqua-soft); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 16px 0;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    font-size: .82rem; color: var(--text-on-dark-mute);
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* Hero content uses translateY(-50%) for vertical centering — the reveal
   animation must NOT wipe that transform when it adds .is-visible. */
.hero__content.reveal.is-visible { transform: translateY(-50%); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; }
    html { scroll-behavior: auto; }
}

/* Accessibility */
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: var(--ink); padding: 12px 20px; z-index: 2000; }
.skip-link:focus { left: 12px; top: 12px; border-radius: var(--r-sm); }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 900px) {
    .services-grid, .step-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item--wide { grid-column: span 2; }
    .split { grid-template-columns: 1fr; }
    .split__media { order: -1; }
    .split__badge { left: 20px; bottom: -24px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
    .stats--divided .stat::after { display: none; }
    /* Hero: responsive adjustments for tablets */
    .hero__content { max-width: 520px; }
    .hero__stats { bottom: 24px; right: 24px; }
    .hero__stat { padding: 16px 24px; }
    .hero__tags { bottom: 24px; left: 24px; font-size: .8rem; }

    /* Logo sizing for tablets and mobile */
    .site-brand img,
    .site-brand .custom-logo { height: 72px; }
    .site-header.scrolled .site-brand img,
    .site-header.scrolled .site-brand .custom-logo { height: 58px; }

    /* Mobile nav */
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; inset: 0;
        background: var(--grad-ocean-deep);
        display: flex; align-items: center; justify-content: center;
        transform: translateX(100%);
        transition: transform .45s var(--ease);
        z-index: 1050;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav .menu { flex-direction: column; gap: 6px; text-align: center; }
    .main-nav .menu li a { font-size: 1.2rem; padding: 14px 24px; }
    .main-nav .menu li a::after { display: none; }
    .main-nav .menu li.menu-cta a { margin: 12px auto 0; display: inline-block; }
}
@media (max-width: 620px) {
    body { font-size: 16px; }
    .services-grid, .step-grid, .gallery-grid, .posts-grid, .form-row { grid-template-columns: 1fr; }
    .gallery-item--wide { grid-column: span 1; aspect-ratio: 4/3; }
    /* Hero small-phone stacking is now handled by the consolidated
       768px / 480px mobile hero blocks below — removed old non-!important
       rules that conflicted with the WP overrides (v2.29.4 fix). */
    .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
    .site-footer { padding-top: 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 20px; }
    .footer-brand p { margin-bottom: 0; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cta-panel { padding: 40px 24px; }

    /* Logo sizing for small phones */
    .site-brand img,
    .site-brand .custom-logo { height: 58px; }
    .site-header.scrolled .site-brand img,
    .site-header.scrolled .site-brand .custom-logo { height: 48px; }
}


/* =========================================================
   MEDIA PROTECTION (deterrents against casual downloading)
   Prevents text/image selection, native image drag and the
   iOS "save image" long-press callout on all site media.
   Full protection is enforced server-side via .htaccess
   hotlink protection.
   ========================================================= */
img,
video,
picture,
.profile-photo,
.gallery-item,
.gallery-item img,
.project-gallery__item,
.project-gallery__item img,
.split__media,
.split__media img,
.service-image,
.service-image img,
.fw-lb__img,
.fw-lb__vidfile {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: auto;
}

/* =========================================================
   WORDPRESS-SPECIFIC OVERRIDES
   ---------------------------------------------------------
   WordPress core, Gutenberg blocks, and plugins inject CSS
   via wp_head() that can override our theme styles. These
   high-specificity rules ensure the hero (and other key
   sections) render identically to the standalone test HTML.
   ========================================================= */

/* WordPress block editor / Gutenberg resets that may target imgs */
body.home .hero__bg img,
body.page-template-front-page .hero__bg img,
.site-main .hero__bg img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure hero has full viewport height even with WordPress wrappers */
body.home .hero,
body.page-template-front-page .hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh; /* modern mobile: accounts for browser chrome */
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
/* On mobile: override WP hero to allow content flow */
/* WP mobile hero overrides moved to consolidated MOBILE RESPONSIVE block (v2.29.4) */

/* WordPress may add max-width to .site-main or add padding */
.site-main {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible;
}

/* Ensure hero__bg covers full area in WordPress context */
body .hero__bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    overflow: hidden;
}

/* Ensure hero overlay is positioned correctly */
body .hero__overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
}

/* Ensure hero content stays vertically centered — DESKTOP ONLY
   Wrapped in min-width to avoid fighting mobile media queries. */
@media (min-width: 769px) {
    body .hero__content {
        position: absolute !important;
        z-index: 2 !important;
        left: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    /* When visible (after reveal animation), keep the vertical centering */
    body .hero__content.is-visible {
        transform: translateY(-50%) !important;
    }
}

/* WordPress may set display or overflow on main */
body.home main.site-main,
body.page-template-front-page main.site-main {
    display: block;
    overflow: visible;
}

/* Hero tags and stats need proper z-index in WP */
body .hero__tags,
body .hero__stats {
    z-index: 2 !important;
}

/* Fix custom logo rendering inside hero context */
.site-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
}
.site-brand .custom-logo-link .custom-logo {
    height: 108px;
    width: auto;
    max-width: none;
}
.site-header.scrolled .site-brand .custom-logo-link .custom-logo {
    height: 87px;
}

/* Override any WordPress block spacing globals */
body .is-layout-flow > .hero,
body .is-layout-constrained > .hero {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* =========================================================
   MOBILE RESPONSIVE — Hero Section
   ---------------------------------------------------------
   v2.29.4 fix: All mobile hero overrides consolidated here
   with high-specificity selectors to prevent WP/plugin
   conflicts.  Desktop centering is now wrapped in
   @media (min-width:769px) above, so these rules win cleanly.
   ========================================================= */

/* Desktop tags keep their original inline layout. */
.hero__tag-group { display: contents; }

/* Mobile composition: visible photography followed by readable content. */
@media (max-width: 768px) {
    body.home .hero,
    body.page-template-front-page .hero,
    body .hero {
        --hero-photo-height: clamp(220px, 66vw, 370px);
        /* Small viewport height keeps the photo compact with browser bars open. */
        --hero-photo-height: clamp(210px, min(66vw, 37svh), 370px);
        --hero-header-height: 72px;
        min-height: 0;
        display: flex;
        flex-direction: column;
        background: #051b2c;
        padding: 0 0 24px;
        overflow: hidden;
    }
    body .hero__bg,
    body .hero__overlay {
        inset: var(--hero-header-height) 0 auto !important;
        height: var(--hero-photo-height);
    }
    body .hero__bg img {
        object-position: 100% center;
        transform: scale(1.2);
        transform-origin: right center;
    }
    body .hero__overlay {
        background: linear-gradient(to bottom, transparent 40%, rgba(5,27,44,.12) 58%, #051b2c 100%);
    }
    body .hero__content,
    body .hero__content.reveal,
    body .hero__content.is-visible,
    body .hero__content.reveal.is-visible {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        opacity: 1 !important;
        max-width: none;
        width: 100%;
        padding: calc(var(--hero-header-height) + var(--hero-photo-height) - 34px) 24px 0;
        margin: 0;
    }
    .hero__content .eyebrow {
        display: block;
        max-width: 28em;
        font-size: .7rem;
        letter-spacing: .18em;
        line-height: 1.5;
        margin: 0 0 12px;
    }
    .hero__content .eyebrow::before { display: none; }
    .hero__content h1 {
        font-size: clamp(1.9rem, 7.6vw, 3rem);
        line-height: 1.09;
        margin: 0;
        overflow-wrap: break-word;
    }
    .hero__content .lead {
        font-size: 1rem;
        line-height: 1.55;
        margin: 0 0 18px;
        max-width: none;
        color: rgba(255,255,255,.88);
    }
    .hero__content .btn {
        width: 100%;
        min-height: 48px;
        padding: 13px 16px;
        margin: 0;
        font-size: .75rem;
        letter-spacing: .14em;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }
    .hero__tags {
        position: relative;
        inset: auto;
        margin: 10px 24px 6px;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        font-size: clamp(.68rem, 2.7vw, .85rem);
        color: rgba(255,255,255,.8);
    }
    .hero__tag-group { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
    .hero__tags-dot { margin: 0 7px; }
    .hero__tags-separator { display: none; }
    .hero__stats {
        position: relative;
        inset: auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch;
        margin: 12px 24px 0;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .hero__stat { min-width: 0; padding: 10px 6px; }
    .hero__stat-num { color: #e7c17d; font-size: 1.55rem; }
    .hero__stat-lbl { font-size: .55rem; letter-spacing: .12em; white-space: normal; text-align: center; }
    .hero__stat + .hero__stat::before { left: 0; top: 20%; width: 1px; height: 60%; background: rgba(79,196,214,.28); }
    body.home .site-header,
    body.home .site-header.scrolled { height: 72px; padding: 10px 0; background: #051b2c; }
    body.home .site-header .header-inner { height: 52px; gap: 12px; padding: 0 20px; }
    body.home .site-header .site-brand img,
    body.home .site-header .site-brand .custom-logo-link .custom-logo {
        height: auto;
        max-height: 60px;
        width: min(70vw, 300px);
        max-width: 100%;
        object-fit: contain;
    }
    body.home .nav-toggle { min-width: 44px; min-height: 44px; }
    .hero + .section { padding-top: 32px; }
    .hero + .section .split__body { order: -1; }
    .hero + .section .split__media { order: 0; }
    .service-image { margin-top: 1.5rem; border-radius: 6px; }
    .service-image img { width: 100%; height: auto; }
    .service-detail__content { max-width: 100%; }
}

/* Aqua accent line — WordPress-proof override (high specificity) */
body .hero .hero__content .hero__rule {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 80px !important;
    height: 3px !important;
    min-height: 3px !important;
    background: #4fc4d6 !important;
    margin: 24px 0 28px 0 !important;
    border-radius: 2px;
}

/* =========================================================
   SERVICE GALLERY — compact editorial presentation (v2.31)
   ========================================================= */
.service-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    gap: clamp(38px, 6vw, 78px);
    align-items: start;
    padding-bottom: 76px;
    margin-bottom: 76px;
    border-bottom: 1px solid var(--line);
}
.service-detail:last-of-type { border-bottom: 0; padding-bottom: 0; }
.service-detail__content { max-width: 720px; margin-bottom: 0; }
.service-detail__description p:last-child { margin-bottom: 0; }
.service-gallery { min-width: 0; }
.service-gallery__main {
    display: block;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    max-height: 430px;
    box-shadow: var(--shadow-sm);
    background: var(--mist);
}
.service-gallery__main img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .5s var(--ease);
}
.service-gallery__main:hover img { transform: scale(1.025); }
.service-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
    margin-top: 10px;
}
.service-gallery__thumb {
    display: block;
    aspect-ratio: 1 / .78;
    border-radius: 8px;
    overflow: hidden;
    background: var(--mist);
}
.service-gallery__thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.service-gallery__thumb:hover img { transform: scale(1.06); opacity: .9; }

@media (max-width: 900px) {
    .service-detail { grid-template-columns: 1fr; gap: 30px; }
    .service-gallery { max-width: 720px; }
}
@media (max-width: 620px) {
    .service-detail { padding-bottom: 54px; margin-bottom: 54px; }
    .service-gallery__main { aspect-ratio: 4 / 3; max-height: 340px; border-radius: 10px; }
    .service-gallery__thumbs {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 5px;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
    }
    .service-gallery__thumb { flex: 0 0 92px; height: 72px; aspect-ratio: auto; scroll-snap-align: start; }
}

.profile-bio { margin: 10px 0 14px; color: var(--text-muted); font-size: .93rem; line-height: 1.55; }
.contact-socials, .footer-socials { display:flex; gap:14px; flex-wrap:wrap; margin-top:14px; }
.contact-socials a, .footer-socials a { font-size:.82rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }

@media (max-width: 768px) {
    body .hero .hero__content .hero__rule {
        width: 34px !important;
        height: 2px !important;
        min-height: 2px !important;
        margin: 16px 0 !important;
    }
}

/* Final mobile reference: four labelled, transparent line icons. */
.hero__service-icons { display: none; }
@media (max-width: 768px) {
    .hero__tags { display: none; }
    .hero__service-icons {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        margin: 22px 24px 4px;
        padding: 0;
        list-style: none;
        color: #b7d8e7;
        text-align: center;
    }
    .hero__service-icons li { min-width: 0; margin: 0; padding: 0; }
    .hero__service-icons img {
        display: block;
        width: clamp(44px, 13vw, 64px);
        height: clamp(44px, 13vw, 64px);
        margin: 0 auto 6px;
        background: transparent;
        border: 0;
        border-radius: 0;
    }
    .hero__service-icons span {
        display: block;
        font-size: clamp(.65rem, 2.65vw, .85rem);
        line-height: 1.45;
        letter-spacing: .02em;
        overflow-wrap: normal;
    }
}

/* 2.35.2: desktop text and service row only; mobile retains 2.35.1. */
.hero__desktop-services { display: none; }
@media (min-width: 769px) {
    body.home .hero__content { width: 55%; max-width: 850px; }
    body.home .hero__content h1 { font-size: clamp(2rem, 4.35vw, 4.2rem); line-height: 1.04; margin-bottom: 34px; }
    body.home .hero__title-line { display: block; }
    body.home .hero .hero__content .hero__rule { display: none !important; }
    body.home .hero__content .lead { max-width: 550px; line-height: 1.5; margin-bottom: 30px; }
    body.home .hero__actions .btn { border-radius: 22px; padding: 16px 30px; gap: 22px; }
    body.home .hero__actions .btn::after { content: '→'; font-size: 1.4rem; line-height: 1; }
    body.home .hero__tags { display: none; }
    .hero__desktop-services { display: grid; grid-template-columns: repeat(7,82px); justify-content: start; gap: 6px; width: max-content; max-width: 100%; list-style: none; margin: 54px 0 0; padding: 0; color: #c8dce5; text-align: center; }
    .hero__desktop-services li { min-width: 0; padding: 0; margin: 0; }
    .hero__desktop-services img { display: block; width: 44px; height: 44px; margin: 0 auto 10px; }
    .hero__desktop-services span { display: block; max-width: 80px; margin: auto; font-size: .78rem; line-height: 1.35; }
}

/* Lower desktop icons without moving the centered title and button. */
@media (min-width: 769px) {
    .hero__desktop-services { transform: translateY(clamp(30px, 8vh, 70px)); }
}

/* Shift desktop copy and button down; preserve the service row position. */
@media (min-width: 769px) {
    body.home .hero__content { margin-top: 25px; }
    .hero__desktop-services { transform: translateY(calc(clamp(30px, 8vh, 70px) - 25px)); }
}

/* Homepage below hero only — 2.37.0. */
.fw-home-wrap { width: min(1440px, 92%); margin-inline: auto; }
.fw-home-services { background: #faf9f7; padding: 42px 0 58px; color: var(--ink); }
.fw-services-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.fw-services-heading h2 { font-size: clamp(1.8rem,2.6vw,2.7rem); margin: 0; }
.fw-services-heading a { font-size: .9rem; color: var(--ink); border-bottom: 1px solid #c6ae78; }
.fw-home-service-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 16px; }
.fw-home-service { display: block; text-align: center; color: #183445; text-decoration: none; }
.fw-home-service-photo { display: block; width: 100%; aspect-ratio: 10/11; height: auto; object-fit: cover; border-radius: 8px; }
.fw-home-service-icon { display: block; width: 42px; height: 42px; margin: 20px auto 10px; filter: brightness(0) saturate(100%) invert(18%) sepia(18%) saturate(1250%) hue-rotate(159deg); }
.fw-home-service h3 { font-family: var(--font-body, 'Inter',sans-serif); font-size: 1rem; font-weight: 500; line-height: 1.4; max-width: 125px; margin: 0 auto; }
.fw-home-service:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.fw-home-service:focus-visible { outline: 3px solid #16899a; outline-offset: 6px; border-radius: 8px; }
.fw-home-why { position: relative; isolation: isolate; background: #faf9f7; overflow: hidden; color: #102b3a; }
.fw-why-photo { position: absolute; inset: 0 0 0 auto; width: 64%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.fw-why-shade { position: absolute; inset: 0; background: linear-gradient(90deg,#faf9f7 0%,#faf9f7 39%,rgba(250,249,247,.92) 44%,rgba(250,249,247,0) 65%); z-index: -1; }
.fw-why-layout { min-height: 570px; display: grid; grid-template-columns: 46% 1fr; align-items: center; gap: 6%; padding-block: 60px; }
.fw-why-copy .eyebrow { color: #243c4a; margin-bottom: 24px; }
.fw-why-copy .eyebrow::before { background: #d5b36f; }
.fw-why-copy h2 { font-size: clamp(2rem,3.1vw,3.4rem); line-height: 1.13; margin-bottom: 26px; }
.fw-why-copy > p { font-size: 1.05rem; line-height: 1.6; max-width: 540px; }
.fw-why-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 40px; text-align: center; }
.fw-why-features svg { width: 54px; height: 54px; color: #c9a052; margin-bottom: 12px; }
.fw-why-features h3 { font-family: 'Inter',sans-serif; font-size: .75rem; line-height: 1.4; font-weight: 600; margin-bottom: 8px; }
.fw-why-features p { font-size: .8rem; line-height: 1.5; margin: 0; }
.fw-why-quote { max-width: 285px; color: white; font-family: 'Fraunces',serif; font-style: italic; font-size: clamp(1.4rem,2.1vw,2.1rem); line-height: 1.4; margin: 80px 0 0; padding: 20px; background: radial-gradient(ellipse,rgba(4,23,35,.38),rgba(4,23,35,0)); text-shadow: 0 1px 8px #1c2530; }
.fw-why-quote::after { content: ''; display: block; width: 50px; height: 2px; background: #c9a052; margin-top: 22px; }
.fw-home-cta { position: relative; isolation: isolate; background: #062b40; color: white; }
.fw-cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; z-index: -2; }
.fw-home-cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,25,42,.65),rgba(0,25,42,.18)); z-index: -1; }
.fw-cta-layout { display: flex; gap: 50px; align-items: center; justify-content: space-between; min-height: 320px; padding-block: 68px; }
.fw-cta-layout h2 { color: white; font-size: clamp(1.8rem,2.6vw,2.8rem); line-height: 1.2; margin-bottom: 18px; }
.fw-cta-layout h2::before { content: ''; display: block; width: 52px; height: 2px; background: #c9a052; margin-bottom: 24px; }
.fw-cta-layout p { margin: 0; font-size: 1rem; }
.fw-cta-layout .btn { flex-shrink: 0; border-radius: 40px; gap: 25px; padding: 19px 32px; }
@media (max-width: 1100px) {
 .fw-home-service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px 20px; }
 .fw-why-layout { grid-template-columns: 53% 1fr; gap: 3%; }
 .fw-why-shade { background: linear-gradient(90deg,#faf9f7 0%,#faf9f7 47%,rgba(250,249,247,0) 78%); }
}
@media (max-width: 700px) {
 .fw-home-services { padding: 34px 0 40px; }
 .fw-services-heading { align-items: center; }
 .fw-services-heading a { font-size: .75rem; }
 .fw-home-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 14px; }
 .fw-home-service h3 { font-size: .9rem; }
 .fw-home-service-icon { margin-top: 14px; }
 .fw-why-layout { display: block; padding: 40px 0 28px; }
 .fw-why-copy h2 { font-size: 2.1rem; }
 .fw-why-copy > p { font-size: .98rem; }
 .fw-why-features { gap: 10px; margin-top: 30px; }
 .fw-why-features h3 { font-size: .67rem; }
 .fw-why-features p { font-size: .75rem; }
 .fw-why-photo { width: 100%; top: auto; bottom: 0; height: 290px; }
 .fw-why-shade { background: linear-gradient(180deg,#faf9f7 0%,#faf9f7 calc(100% - 280px),rgba(250,249,247,0) calc(100% - 185px)); }
 .fw-why-quote { margin: 110px 0 0; max-width: 240px; font-size: 1.4rem; }
 .fw-cta-layout { display: block; padding-block: 48px; }
 .fw-cta-layout .btn { margin-top: 28px; }
 .fw-cta-layout h2 { font-size: 2rem; }
}

/* About mockup — isolated from the homepage. */
.fw-about { background: #faf9f7; color: #123047; }
.fw-about .eyebrow { color: #123047; font-size: .75rem; font-weight: 600; letter-spacing: .1em; margin-bottom: 22px; }
.fw-about .eyebrow::before { background: #d2a450; }
.fw-about-hero { position: relative; min-height: 490px; background: #061c29; overflow: hidden; }
.fw-about-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.fw-about-hero-copy { position: relative; width: 37%; min-height: 490px; padding: 150px 25px 42px 6.4%; background: rgba(3,20,29,.92); color: white; }
.fw-about-hero-copy .eyebrow { color: white; font-size: .67rem; }
.fw-about-hero-copy h1 { color: white; font-size: clamp(3.3rem,5.7vw,5.5rem); line-height: 1; font-weight: 400; margin: 0 0 20px; max-width: 390px; }
.fw-about-hero-copy p { font-size: 1.1rem; line-height: 1.55; margin: 0; }
.fw-about-story,.fw-about-approach { display: grid; grid-template-columns: 50% 50%; }
.fw-about-copy { padding: 42px 9% 42px 10%; align-self: center; }
.fw-about-copy h2 { font-size: clamp(2.1rem,3.9vw,3.8rem); line-height: 1.08; font-weight: 400; margin-bottom: 26px; }
.fw-about-copy p { font-size: 1rem; line-height: 1.55; margin-bottom: 24px; }
.fw-about-story-photo,.fw-about-approach-photo { position: relative; min-height: 540px; }
.fw-about-story-photo img,.fw-about-approach-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.fw-about-story-photo img { object-position: left center; }
.fw-about-story-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,transparent 75%,#faf9f7); pointer-events: none; }
.fw-about-story-photo blockquote { position: absolute; left: 12.8%; bottom: 40px; z-index: 1; max-width: 210px; color: white; font: italic 1.85rem/1.15 'Fraunces',serif; margin: 0; text-shadow: 0 1px 12px #233039; }
.fw-about-story-photo blockquote::after { content: ''; display: block; height: 2px; width: 58px; background: #d2a450; margin-top: 24px; }
.fw-about-button { display: inline-flex; align-items: center; gap: 25px; border: 1px solid #cc9439; border-radius: 40px; padding: 14px 28px; color: #123047; font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; }
.fw-about-button:hover { background: #f0e7d5; }
.fw-about-button:focus-visible { outline: 3px solid #158493; outline-offset: 4px; }
.fw-about-features { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 34px 2%; background: #f7f6f4; border-top: 1px solid white; }
.fw-about-features > div { text-align: center; padding: 0 18px; border-right: 1px solid #dcdcdc; }
.fw-about-features > div:last-child { border-right: 0; }
.fw-about-features svg { width: 56px; height: 56px; color: #d4a049; margin-bottom: 14px; }
.fw-about-features h3 { font: 600 .85rem/1.4 'Inter',sans-serif; margin: 0 0 7px; letter-spacing: .025em; }
.fw-about-features p { font-size: .88rem; line-height: 1.4; max-width: 185px; margin: auto; }
.fw-about-approach .fw-about-copy { padding-left: 12.8%; padding-right: 6%; }
.fw-about-approach-photo { min-height: 470px; }
.fw-about-approach-photo img { object-position: right center; }
.fw-about-approach-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#faf9f7,transparent 23%); }
.freewind-about-page .site-header { background: linear-gradient(180deg,rgba(3,20,29,.6),rgba(3,20,29,.08)); }
.freewind-about-page .site-header.scrolled { background: rgba(5,27,44,.96); }
@media (min-width: 901px) {
 .freewind-about-page .site-brand img { height: 82px; }
 .freewind-about-page .main-nav .menu li.menu-cta a { background: transparent; box-shadow: none; border: 0; color: white; }
 .freewind-about-page .main-nav .menu .current-menu-item > a { color: #d4a049; }
 .freewind-about-page .main-nav .menu .current-menu-item > a::after { background: #d4a049; transform: scaleX(1); }
}
@media (max-width: 900px) {
 .fw-about-hero-copy { width: 48%; padding-left: 5%; }
 .fw-about-copy { padding: 32px 7%; }
 .fw-about-copy p { font-size: .93rem; }
 .fw-about-story-photo { min-height: 500px; }
}
@media (max-width: 600px) {
 .freewind-about-page .site-header { background: #061c29; }
 .fw-about-hero { padding-top: 280px; }
 .fw-about-hero > img { height: 310px; top: 60px; object-position: 60% center; }
 .fw-about-hero-copy { width: 100%; min-height: 0; padding: 50px 6% 32px; background: linear-gradient(180deg,transparent,#061c29 35px); }
 .fw-about-hero-copy h1 { font-size: 3.4rem; max-width: 300px; }
 .fw-about-hero-copy p { font-size: 1rem; }
 .fw-about-story,.fw-about-approach { display: flex; flex-direction: column; }
 .fw-about-story-photo { order: 2; min-height: 320px; }
 .fw-about-copy,.fw-about-approach .fw-about-copy { padding: 36px 6%; }
 .fw-about-copy h2 { font-size: 2.25rem; }
 .fw-about-story-photo::after { background: linear-gradient(180deg,#faf9f7,transparent 20%); }
 .fw-about-story-photo blockquote { left: 6%; bottom: 24px; }
 .fw-about-features { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 0; padding: 30px 2%; }
 .fw-about-features > div:nth-child(2) { border: 0; }
 .fw-about-features h3 { font-size: .72rem; }
 .fw-about-features p { font-size: .8rem; }
 .fw-about-approach-photo { min-height: 300px; }
 .fw-about-approach-photo::after { background: linear-gradient(180deg,#faf9f7,transparent 18%); }
}

/* Contact mockup — isolated from the homepage and other interior pages. */
.fw-contact { background: #fbfaf8; color: #12375e; }
.fw-contact .eyebrow { color: #12375e; font-size: .72rem; font-weight: 600; letter-spacing: .1em; margin-bottom: 20px; }
.fw-contact .eyebrow::before { width: 34px; background: #d2a450; }
.fw-contact-hero { position: relative; min-height: 490px; overflow: hidden; background: #061c29; }
.fw-contact-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.fw-contact-hero-copy { position: relative; width: 36.7%; min-height: 490px; padding: 145px 30px 38px 6.4%; background: rgba(3,25,37,.94); color: #fff; }
.fw-contact-hero-copy .eyebrow { color: #fff; font-size: .68rem; }
.fw-contact-hero-copy h1 { color: #fff; font-size: clamp(3.1rem,5.2vw,5rem); line-height: 1.02; font-weight: 400; margin: 0 0 20px; max-width: 410px; }
.fw-contact-hero-copy p { max-width: 405px; margin: 0; font-size: 1rem; line-height: 1.55; }
.fw-contact-main { display: grid; grid-template-columns: 54% 46%; width: min(1440px,100%); margin-inline: auto; padding: 30px 6.4% 46px; background: #fbfaf8; }
.fw-contact-form-column { padding: 0 6.5% 0 0; }
.fw-contact-team-column { padding: 0 0 0 7%; border-left: 1px solid #d5dce2; }
.fw-contact-main h2,.fw-contact-vision h2 { color: #12375e; font-size: clamp(2.35rem,3.8vw,3.75rem); line-height: 1.08; font-weight: 400; margin: 0 0 16px; }
.fw-contact-intro { min-height: 82px; margin: 0 0 23px; color: #244d79; font-size: 1rem; line-height: 1.5; }
.fw-contact .contact-form { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.fw-contact .form-field { margin-bottom: 15px; }
.fw-contact .form-field label { color: #12375e; margin-bottom: 5px; font-size: .84rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.fw-contact .form-field label span { color: #d24a43; }
.fw-contact .form-field input,.fw-contact .form-field textarea { padding: 12px 14px; color: #12375e; background: #fff; border: 1px solid #cad5df; border-radius: 4px; font-size: .9rem; }
.fw-contact .form-field input::placeholder,.fw-contact .form-field textarea::placeholder { color: #8798af; opacity: 1; }
.fw-contact .form-field textarea { min-height: 106px; }
.fw-contact .contact-form .btn { min-width: 205px; justify-content: space-between; margin-top: 5px; padding: 15px 28px; border-radius: 40px; color: #052b46; letter-spacing: .08em; }
.fw-honeypot { position: absolute; left: -9999px; }
.fw-contact-person { display: flex; align-items: center; gap: 18px; min-height: 168px; margin-bottom: 18px; padding: 10px; background: #fff; border: 1px solid #cad7e2; border-radius: 13px; }
.fw-contact-person-photo { flex: 0 0 136px; width: 136px; height: 146px; overflow: hidden; border-radius: 10px; background: #e9edf0; }
.fw-contact-person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.fw-contact-person-info { min-width: 0; flex: 1; }
.fw-contact-person h3 { color: #12375e; margin: 0 0 2px; font-size: clamp(1.55rem,2.4vw,2.35rem); font-weight: 400; line-height: 1.05; }
.fw-contact-person .role { display: block; margin-bottom: 15px; color: #36a7dc; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.fw-contact-person .contact-line { gap: 9px; margin-bottom: 7px; color: #244d79; font-size: .88rem; }
.fw-contact-person .contact-line:last-child { margin-bottom: 0; }
.fw-contact-person .contact-line .ic { width: 34px; height: 34px; color: #12375e; background: #f0f4f7; }
.fw-contact-person .contact-line a { color: #244d79; overflow-wrap: anywhere; }
.fw-contact-vision { display: grid; grid-template-columns: 58% 42%; min-height: 305px; background: #fbfaf8; }
.fw-contact-vision-photo { position: relative; overflow: hidden; }
.fw-contact-vision-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,transparent 72%,#fbfaf8 100%); }
.fw-contact-vision-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.fw-contact-vision-copy { align-self: center; padding: 34px 8% 34px 5%; }
.fw-contact-vision-copy h2 { font-size: clamp(2.35rem,4vw,3.85rem); }
.fw-contact-vision-copy p { max-width: 470px; margin: 0; color: #244d79; font-size: 1rem; line-height: 1.55; }
.freewind-contact-page .site-header { background: linear-gradient(180deg,rgba(3,20,29,.66),rgba(3,20,29,.08)); }
.freewind-contact-page .site-header.scrolled { background: rgba(5,27,44,.96); }
@media (min-width: 901px) {
 .freewind-contact-page .site-brand img { height: 82px; }
 .freewind-contact-page .main-nav .menu li.menu-cta a { background: transparent; box-shadow: none; border: 0; color: white; }
 .freewind-contact-page .main-nav .menu .current-menu-item > a { color: #d4a049; }
 .freewind-contact-page .main-nav .menu .current-menu-item > a::after { background: #d4a049; transform: scaleX(1); }
}
@media (max-width: 900px) {
 .fw-contact-hero-copy { width: 48%; padding-left: 5%; }
 .fw-contact-main { padding-inline: 5%; }
 .fw-contact-form-column { padding-right: 5%; }
 .fw-contact-team-column { padding-left: 5%; }
 .fw-contact-person-photo { flex-basis: 112px; width: 112px; height: 132px; }
 .fw-contact-person { gap: 13px; }
 .fw-contact-person .contact-line { font-size: .8rem; }
}
@media (max-width: 700px) {
 .freewind-contact-page .site-header { background: #061c29; }
 .fw-contact-hero { min-height: 0; padding-top: 285px; }
 .fw-contact-hero > img { height: 315px; top: 60px; object-position: 61% center; }
 .fw-contact-hero-copy { width: 100%; min-height: 0; padding: 54px 6% 38px; background: linear-gradient(180deg,transparent,#061c29 35px); }
 .fw-contact-hero-copy h1 { font-size: 3.35rem; }
 .fw-contact-main { grid-template-columns: 1fr; padding: 36px 6% 42px; }
 .fw-contact-form-column { padding: 0 0 42px; }
 .fw-contact-team-column { padding: 36px 0 0; border-top: 1px solid #d5dce2; border-left: 0; }
 .fw-contact-intro { min-height: 0; }
 .fw-contact-main h2 { font-size: 2.45rem; }
 .fw-contact-person { max-width: 520px; }
 .fw-contact-person-photo { flex-basis: 116px; width: 116px; height: 132px; }
 .fw-contact-person h3 { font-size: 1.65rem; }
 .fw-contact-person .contact-line { font-size: .82rem; }
 .fw-contact-vision { grid-template-columns: 1fr; }
 .fw-contact-vision-photo { min-height: 285px; }
 .fw-contact-vision-photo::after { background: linear-gradient(180deg,transparent 75%,#fbfaf8); }
 .fw-contact-vision-copy { padding: 32px 6% 42px; }
 .fw-contact-vision-copy h2 { font-size: 2.5rem; }
}
@media (max-width: 390px) {
 .fw-contact-person { align-items: flex-start; }
 .fw-contact-person-photo { flex-basis: 94px; width: 94px; height: 116px; }
 .fw-contact-person h3 { font-size: 1.42rem; }
 .fw-contact-person .role { font-size: .62rem; letter-spacing: .14em; }
 .fw-contact-person .contact-line { gap: 6px; font-size: .72rem; }
 .fw-contact-person .contact-line .ic { width: 29px; height: 29px; }
}

/* Services mockup — isolated from the homepage and other pages. */
.fw-services-page { background: #fbfaf8; color: #12375e; }
.fw-services-page .eyebrow { color: #12375e; font-size: .71rem; font-weight: 600; letter-spacing: .1em; margin-bottom: 20px; }
.fw-services-page .eyebrow::before { width: 34px; background: #d2a450; }
.fw-services-hero { position: relative; min-height: 440px; overflow: hidden; background: #061c29; }
.fw-services-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.fw-services-hero-copy { position: relative; width: 34%; min-height: 440px; padding: 142px 30px 36px 6.1%; color: #fff; background: rgba(3,25,37,.94); }
.fw-services-hero-copy .eyebrow { color: #fff; font-size: .68rem; }
.fw-services-hero-copy h1 { color: #fff; font-size: clamp(3.2rem,5.3vw,5.1rem); line-height: 1; font-weight: 400; margin: 0 0 20px; white-space: nowrap; }
.fw-services-hero-copy p { width: 430px; max-width: 125%; margin: 0; font-size: 1rem; line-height: 1.5; }
.fw-services-catalogue { width: min(1440px,100%); margin-inline: auto; padding: 32px 4.8% 46px; }
.fw-services-intro { display: grid; grid-template-columns: 52% 48%; gap: 32px; align-items: end; margin-bottom: 24px; }
.fw-services-intro h2 { color: #12375e; font-size: clamp(2.45rem,3.7vw,3.8rem); line-height: 1.08; font-weight: 400; margin: 0; }
.fw-services-intro > p { align-self: center; margin: 18px 0 0; color: #244d79; font-size: .94rem; line-height: 1.5; }
.fw-services-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 26px 18px; }
.fw-service-card { min-width: 0; scroll-margin-top: 120px; }
.fw-service-main { display: block; aspect-ratio: 7/5; overflow: hidden; border-radius: 5px; background: #e9edf0; }
.fw-service-main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .2s ease, transform .4s ease; }
.fw-service-main:hover img { transform: scale(1.02); }
.fw-service-thumbs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin: 5px 4px 8px; }
.fw-service-thumb { height: 50px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 4px; background: #e9edf0; cursor: pointer; }
.fw-service-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fw-service-thumb:hover,.fw-service-thumb.is-active { border-color: #c89e50; }
.fw-service-thumb:focus-visible { outline: 3px solid #16899a; outline-offset: 2px; }
.fw-service-card-icon { display: block; width: 48px; height: 48px; margin: 0 0 6px 8px; object-fit: contain; filter: brightness(0) saturate(100%) invert(19%) sepia(29%) saturate(1053%) hue-rotate(169deg) brightness(86%) contrast(95%); }
.fw-service-card h3 { color: #12375e; font-size: 1.65rem; line-height: 1.1; font-weight: 400; margin: 0 8px 8px; }
.fw-service-card > p { color: #244d79; font-size: .91rem; line-height: 1.48; margin: 0 8px; }
body.freewind-services-page .site-header { background: linear-gradient(180deg,rgba(3,20,29,.66),rgba(3,20,29,.08)); }
body.freewind-services-page .site-header.scrolled { background: rgba(5,27,44,.96); }
@media (min-width: 901px) {
 body.freewind-services-page .site-brand img { height: 82px; }
 body.freewind-services-page .main-nav .menu li.menu-cta a { background: transparent; box-shadow: none; border: 0; color: white; }
 body.freewind-services-page .main-nav .menu .current-menu-item > a { color: #d4a049; }
 body.freewind-services-page .main-nav .menu .current-menu-item > a::after { background: #d4a049; transform: scaleX(1); }
}
@media (min-width: 701px) {
 .fw-services-hero::before, .fw-about-hero::before, .fw-contact-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg,rgba(3,25,37,.76) 0%,rgba(3,25,37,.66) 28%,rgba(3,25,37,.40) 44%,rgba(3,25,37,.14) 60%,rgba(3,25,37,0) 76%); }
 .fw-services-hero-copy, .fw-about-hero-copy, .fw-contact-hero-copy { z-index: 2; background: transparent; }
}
@media (max-width: 1000px) {
 .fw-services-hero-copy { width: 42%; padding-left: 5%; }
 .fw-services-grid { gap: 24px 14px; }
 .fw-service-card h3 { font-size: 1.45rem; }
 .fw-service-card > p { font-size: .84rem; }
}
@media (max-width: 800px) {
 .fw-services-intro { grid-template-columns: 1fr; gap: 4px; }
 .fw-services-intro > p { margin-top: 0; }
 .fw-services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 16px; }
 .fw-service-thumb { height: 58px; }
}
@media (max-width: 700px) {
 body.freewind-services-page .site-header { background: #061c29; }
 .fw-services-hero { min-height: 0; padding-top: 285px; }
 .fw-services-hero > img { height: 315px; top: 60px; object-position: 61% center; }
 .fw-services-hero-copy { width: 100%; min-height: 0; padding: 54px 6% 38px; background: linear-gradient(180deg,transparent,#061c29 35px); }
 .fw-services-hero-copy h1 { font-size: 3.35rem; white-space: normal; }
 .fw-services-hero-copy p { width: auto; max-width: 100%; }
 .fw-services-catalogue { padding: 34px 6% 42px; }
 .fw-services-intro h2 { font-size: 2.5rem; }
}
@media (max-width: 520px) {
 .fw-services-grid { grid-template-columns: 1fr; }
 .fw-service-main { aspect-ratio: 16/10; }
 .fw-service-thumb { height: 66px; }
 .fw-service-card h3 { font-size: 1.8rem; }
 .fw-service-card > p { font-size: .94rem; }
}

/* Shared inner-page banner height, independent of copy length. */
.fw-services-hero > img, .fw-about-hero > img, .fw-contact-hero > img { object-position: center 52%; }
@media (min-width: 701px) {
 .fw-services-hero, .fw-about-hero, .fw-contact-hero { height: 392px; min-height: 392px; }
 .fw-services-hero-copy h1, .fw-about-hero-copy h1, .fw-contact-hero-copy h1 { font-size: clamp(2.2rem,3.8vw,3.5rem); margin-bottom: 12px; }
 .fw-services-hero-copy, .fw-about-hero-copy, .fw-contact-hero-copy { height: 100%; min-height: 0; padding-top: 96px; padding-bottom: 16px; overflow-y: auto; }
}
@media (max-width: 700px) {
 .fw-about-hero, .fw-services-hero, .fw-contact-hero { min-height: 0; padding-top: 190.5px; }
 .fw-about-hero > img, .fw-services-hero > img, .fw-contact-hero > img { height: 220.5px; top: 60px; }
 .fw-about-hero-copy { width: 100%; min-height: 0; padding: 54px 6% 38px; background: linear-gradient(180deg,transparent,#061c29 35px); }
}

@media (min-width: 1025px) {
 .footer-grid { grid-template-columns: 1fr 2fr; }
 .footer-people { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
 .footer-people .footer-person { min-width: 0; }
 .footer-people .footer-contact-line a { overflow-wrap: anywhere; min-width: 0; }
}

/* Gentle motion, without changes to content or layout. */
@keyframes fw-soft-enter { from { opacity: .25; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fw-soft-in { animation: fw-soft-enter .55s ease-out both; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
 .fw-home-service-photo, .fw-service-main img { transition: transform .35s ease; }
 .fw-home-service:hover .fw-home-service-photo, .fw-service-main:hover img { transform: scale(1.015); }
 .btn > span { display: inline-block; transition: transform .2s ease; }
 .btn:hover > span { transform: translateX(3px); }
}
@media (max-width: 700px) {
 @keyframes fw-soft-enter { from { opacity: .5; } to { opacity: 1; } }
 .fw-soft-in { animation-duration: .3s; }
}
@media (prefers-reduced-motion: reduce) {
 .fw-soft-in { animation: none; }
 .reveal, .btn, .btn > span, .fw-home-service-photo, .fw-service-main img { transition: none !important; }
 .fw-home-service:hover .fw-home-service-photo, .fw-service-main:hover img, .btn:hover > span { transform: none; }
}

.fw-service-gallery-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 2px 8px 8px; color: #12375e; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
.fw-service-gallery-link:focus-visible { outline: 3px solid #16899a; outline-offset: 3px; }
