:root {
    --navy-950: #04101b;
    --navy-900: #07131f;
    --navy-800: #0c2235;
    --navy-700: #15334d;
    --gold-500: #c99a42;
    --gold-400: #dfb45f;
    --gold-300: #edcf8f;
    --ink: #17202a;
    --muted: #687482;
    --line: #dfe5ea;
    --paper: #f5f2ec;
    --white: #ffffff;
    --shadow-sm: 0 12px 30px rgba(4, 16, 27, .08);
    --shadow-lg: 0 28px 80px rgba(4, 16, 27, .22);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --container: min(1180px, calc(100% - 40px));
    --header-height: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
address { font-style: normal; }

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    padding: 10px 14px;
    background: var(--gold-400);
    color: var(--navy-950);
    transform: translateY(-150%);
    transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 92px 0; }
.section-sm { padding: 68px 0; }
.section-dark { background: var(--navy-900); color: var(--white); }
.section-paper { background: var(--paper); }
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}
.section-head.center { display: block; text-align: center; }
.section-head h2,
.page-hero h1,
.hero-copy h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.02;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 3.8rem); max-width: 760px; }
.section-head p { margin: 0; max-width: 600px; color: var(--muted); }
.section-dark .section-head p { color: #b8c4cf; }
.eyebrow {
    margin: 0 0 10px;
    color: var(--gold-500);
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.lede { font-size: 1.16rem; color: var(--muted); max-width: 760px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .01em;
    transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
    color: var(--navy-950);
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
    box-shadow: 0 12px 30px rgba(201, 154, 66, .24);
}
.btn-gold:hover { box-shadow: 0 16px 36px rgba(201, 154, 66, .34); }
.btn-light { background: rgba(255,255,255,.95); color: var(--navy-950); }
.btn-outline { border-color: rgba(255,255,255,.5); color: var(--white); background: rgba(4,16,27,.18); backdrop-filter: blur(8px); }
.btn-outline-dark { border-color: #aab5bf; color: var(--navy-900); background: transparent; }
.btn-full { width: 100%; }
.text-link { color: var(--navy-800); font-weight: 800; border-bottom: 1px solid var(--gold-500); }
.section-dark .text-link { color: var(--white); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.95);
    border-bottom: 1px solid rgba(4,16,27,.08);
    backdrop-filter: blur(16px);
    transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(4,16,27,.08); }
.topbar { background: var(--navy-950); color: #d9e2e9; font-size: .82rem; }
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-inner div { display: flex; align-items: center; gap: 10px; }
.topbar a:hover { color: var(--gold-300); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand img { width: 190px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav > a,
.nav-dropdown > button {
    position: relative;
    padding: 12px 0;
    border: 0;
    background: transparent;
    color: #253241;
    font-weight: 750;
    font-size: .92rem;
}
.primary-nav > a:not(.btn)::after,
.nav-dropdown > button::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}
.primary-nav > a:hover::after,
.primary-nav > a.active::after,
.nav-dropdown > button:hover::after { transform: scaleX(1); }
.nav-cta { padding-inline: 18px !important; font-size: .86rem !important; }
.nav-cta::after { display: none !important; }
.nav-dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -18px;
    min-width: 290px;
    padding: 12px;
    display: grid;
    gap: 4px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { padding: 10px 12px; border-radius: 9px; font-weight: 700; color: #2c3947; }
.dropdown-menu a:hover { background: var(--paper); color: var(--navy-800); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--navy-900); margin: 5px 0; }

.hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: var(--navy-950);
    color: var(--white);
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3,11,20,.95) 0%, rgba(3,11,20,.78) 38%, rgba(3,11,20,.28) 68%, rgba(3,11,20,.12) 100%),
                linear-gradient(0deg, rgba(3,11,20,.62), transparent 55%);
    z-index: 1;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 6s ease; }
.hero-slide.active img { transform: scale(1.08); }
.hero-inner { position: relative; z-index: 2; min-height: 720px; display: flex; align-items: center; }
.hero-copy { max-width: 760px; padding: 120px 0 96px; }
.hero-copy h1 { font-size: clamp(3rem, 7vw, 6.4rem); text-wrap: balance; }
.hero-copy .hero-subtitle { margin: 22px 0 28px; max-width: 680px; color: #d4dde5; font-size: clamp(1.02rem, 2vw, 1.28rem); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.hero-meta li { padding: 8px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); font-size: .84rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-controls {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    width: var(--container);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-dots { display: flex; gap: 9px; }
.hero-dot { width: 38px; height: 4px; padding: 0; border: 0; background: rgba(255,255,255,.38); border-radius: 99px; overflow: hidden; }
.hero-dot::before { content: ""; display: block; width: 0; height: 100%; background: var(--gold-400); }
.hero-dot.active::before { animation: heroProgress 5s linear forwards; }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrow { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: var(--white); background: rgba(4,16,27,.32); font-size: 1.2rem; }
@keyframes heroProgress { to { width: 100%; } }
.hero-proof-strip {
    position: relative;
    z-index: 5;
    margin-top: -1px;
    background: var(--navy-900);
    color: var(--white);
}
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 25px 28px; border-right: 1px solid rgba(255,255,255,.12); }
.proof-item:last-child { border-right: 0; }
.proof-value { display: block; color: var(--gold-300); font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.proof-label { display: block; color: #c3ced8; margin-top: 7px; font-size: .87rem; }

.entry-grid, .service-grid, .material-grid { display: grid; gap: 22px; }
.entry-grid { grid-template-columns: repeat(3, 1fr); }
.entry-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    color: var(--white);
}
.entry-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,16,27,.9), rgba(4,16,27,.05) 68%); }
.entry-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.entry-card:hover img { transform: scale(1.05); }
.entry-card-content { position: absolute; z-index: 2; inset: auto 26px 26px; }
.entry-card h3 { margin: 0 0 6px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.entry-card p { margin: 0 0 16px; color: #dce5ec; }

.service-grid { grid-template-columns: repeat(3, 1fr); }
.service-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.service-card img { width: 100%; height: 220px; object-fit: cover; }
.service-card-body { padding: 25px; }
.service-card h3 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 500; }
.service-card p { margin: 0 0 20px; color: var(--muted); }
.service-card .card-link { color: var(--navy-800); font-weight: 850; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.filter-button {
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-weight: 800;
}
.filter-button.active, .filter-button:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.project-card[hidden] { display: none !important; }
.project-image-button { position: relative; width: 100%; height: 250px; padding: 0; border: 0; background: #d8dde2; overflow: hidden; }
.project-image-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover .project-image-button img { transform: scale(1.045); }
.project-status { position: absolute; top: 14px; right: 14px; padding: 6px 10px; color: var(--white); background: rgba(4,16,27,.78); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: .72rem; font-weight: 800; backdrop-filter: blur(8px); }
.project-card-body { padding: 22px; }
.project-card h3 { margin: 0 0 15px; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.project-card dl { margin: 0; display: grid; gap: 9px; }
.project-card dl div { display: grid; grid-template-columns: 74px 1fr; gap: 8px; }
.project-card dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.project-card dd { margin: 0; font-size: .88rem; }
.load-more-wrap { text-align: center; margin-top: 34px; }

.case-study {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--navy-900);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}
.case-study-media { min-height: 560px; }
.case-study-media img { width: 100%; height: 100%; object-fit: cover; }
.case-study-content { padding: clamp(34px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.case-study-content h2 { margin: 0 0 18px; font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; font-weight: 500; }
.case-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
.case-meta div { padding: 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.05); }
.case-meta span { display: block; color: #aebbc7; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.case-meta strong { display: block; margin-top: 4px; }
.spec-list { margin: 18px 0 26px; padding: 0; list-style: none; display: grid; gap: 10px; }
.spec-list li { display: flex; gap: 10px; }
.spec-list li::before { content: "◆"; color: var(--gold-400); font-size: .72rem; margin-top: 5px; }

.before-after-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.comparison {
    position: relative;
    height: 520px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: #d7dde1;
    --position: 54%;
}
.comparison img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comparison .after-image { clip-path: inset(0 0 0 var(--position)); }
.comparison-line { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--position); width: 3px; background: var(--white); transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(4,16,27,.15); }
.comparison-handle { position: absolute; z-index: 4; top: 50%; left: var(--position); width: 54px; height: 54px; transform: translate(-50%, -50%); border: 2px solid var(--white); border-radius: 50%; background: var(--gold-500); color: var(--navy-950); display: grid; place-items: center; font-weight: 900; }
.comparison input { position: absolute; z-index: 6; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.comparison-label { position: absolute; z-index: 5; top: 16px; padding: 7px 10px; border-radius: 999px; background: rgba(4,16,27,.7); color: var(--white); font-size: .76rem; font-weight: 800; }
.comparison-label.before { left: 16px; }
.comparison-label.after { right: 16px; }
.before-after-copy h2 { margin: 0 0 18px; font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; font-weight: 500; }
.before-after-copy ul { padding-left: 20px; color: var(--muted); }

.material-grid { grid-template-columns: repeat(5, 1fr); }
.material-card { overflow: hidden; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line); }
.material-card img { width: 100%; height: 160px; object-fit: cover; }
.material-card div { padding: 19px; }
.material-card h3 { margin: 0 0 7px; font-family: Georgia, serif; font-size: 1.26rem; font-weight: 500; }
.material-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { overflow: hidden; border-radius: var(--radius-md); background: #06111c; box-shadow: var(--shadow-lg); }
.video-card video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.video-card.portrait video { aspect-ratio: 4 / 5; }
.video-card-body { padding: 20px; color: var(--white); }
.video-card h3 { margin: 0 0 5px; font-family: Georgia, serif; font-size: 1.38rem; font-weight: 500; }
.video-card p { margin: 0; color: #b6c3ce; font-size: .88rem; }

.review-shell { position: relative; }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3); gap: 22px; overflow: hidden; scroll-behavior: smooth; }
.review-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); }
.stars { color: #e1a928; letter-spacing: .12em; }
.review-card blockquote { margin: 16px 0 22px; font-family: Georgia, serif; font-size: 1.18rem; line-height: 1.55; }
.review-card strong { display: block; }
.review-card small { color: var(--muted); }
.review-controls { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.review-controls button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }

.enquiry-wrap {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 50px;
    align-items: start;
}
.enquiry-panel { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.enquiry-form label { display: grid; gap: 7px; }
.enquiry-form label > span { font-weight: 800; font-size: .86rem; }
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    border: 1px solid #cbd4db;
    border-radius: 11px;
    background: #fbfcfd;
    color: var(--ink);
    padding: 13px 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus { border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(201,154,66,.13); }
.enquiry-form small { color: var(--muted); }
.full-field { margin-top: 17px; }
.consent-row { grid-template-columns: auto 1fr !important; align-items: start; margin: 17px 0; }
.consent-row input { width: 18px; height: 18px; margin-top: 2px; }
.form-note { margin: 13px 0 0; color: var(--muted); font-size: .8rem; text-align: center; }
.enquiry-form button[type="submit"]:disabled {
    cursor: not-allowed;
    opacity: .48;
    transform: none;
    box-shadow: none;
    filter: grayscale(.2);
}
.enquiry-form button[type="submit"]:disabled:hover { transform: none; }
.honeypot { position: absolute; left: -9999px; }
.contact-points { display: grid; gap: 16px; margin-top: 28px; }
.contact-point { padding: 18px; border-left: 3px solid var(--gold-500); background: rgba(255,255,255,.06); }
.contact-point strong { display: block; margin-bottom: 4px; }

.final-cta {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    background: var(--navy-900);
    color: var(--white);
}
.final-cta::before { content: ""; position: absolute; inset: 0; opacity: .18; background: url('/assets/images/projects/industrial-warehouse-wide.webp') center/cover; }
.final-cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.final-cta h2 { margin: 0; max-width: 780px; font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 4.8rem); line-height: 1.05; font-weight: 500; }

.page-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: var(--navy-950);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,11,20,.92), rgba(3,11,20,.44)); z-index: 1; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-content { position: relative; z-index: 2; padding: 110px 0 66px; max-width: 850px; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6rem); }
.page-hero p { max-width: 760px; color: #d4dde5; font-size: 1.15rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: #bdc9d3; font-size: .84rem; }
.breadcrumbs span { color: var(--gold-300); }

.content-grid { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: start; }
.prose h2, .prose h3 { font-family: Georgia, serif; font-weight: 500; line-height: 1.15; }
.prose h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 0 0 18px; }
.prose h3 { font-size: 1.65rem; margin: 30px 0 10px; }
.prose p, .prose li { color: #4f5c69; }
.prose ul { padding-left: 20px; }
.sidebar-card { position: sticky; top: 130px; padding: 26px; border-radius: var(--radius-md); background: var(--paper); border: 1px solid var(--line); }
.sidebar-card h2 { margin: 0 0 14px; font-family: Georgia, serif; font-size: 1.6rem; font-weight: 500; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.sidebar-card li { padding-bottom: 9px; border-bottom: 1px solid #d4dbe0; }

.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.feature-box { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.feature-box h3 { margin-top: 0; font-family: Georgia, serif; font-size: 1.6rem; font-weight: 500; }
.feature-box ul { margin: 0; padding-left: 20px; }
.service-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-gallery button { height: 250px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #dfe4e8; }
.service-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-gallery button:hover img { transform: scale(1.04); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
.faq-item button { width: 100%; padding: 18px 20px; border: 0; background: transparent; display: flex; align-items: center; justify-content: space-between; gap: 15px; text-align: left; font-weight: 850; }
.faq-item .faq-answer { display: none; padding: 0 20px 20px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }
.faq-item.open button span { transform: rotate(45deg); }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.founder-image { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.founder-image img { width: 100%; height: 620px; object-fit: cover; }
.timeline { display: grid; gap: 18px; margin-top: 30px; }
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 18px; }
.timeline-item strong { color: var(--gold-500); font-size: 1.1rem; }
.timeline-item p { margin: 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; }
.contact-card { padding: 28px; border-radius: var(--radius-md); background: var(--navy-900); color: var(--white); }
.contact-card h2 { margin-top: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.contact-card a { color: var(--gold-300); }
.map-frame { width: 100%; min-height: 320px; border: 0; border-radius: var(--radius-md); background: var(--paper); }

.notice { padding: 16px 18px; border-radius: 12px; background: #edf7f0; color: #1f5d38; border: 1px solid #b8dec4; }
.notice.warning { background: #fff7e7; color: #80590b; border-color: #ead19e; }
.thank-you { min-height: 65vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.thank-you-card { max-width: 720px; padding: 50px; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.thank-you-card h1 { font-family: Georgia, serif; font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.05; margin: 0 0 20px; font-weight: 500; }

.lightbox { position: fixed; z-index: 3000; inset: 0; padding: 30px; background: rgba(2,8,14,.94); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 94vw); max-height: 90vh; }
.lightbox img { max-height: 82vh; width: auto; margin: auto; border-radius: 12px; }
.lightbox figcaption { padding-top: 12px; color: var(--white); text-align: center; }
.lightbox-close { position: fixed; top: 18px; right: 20px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: var(--white); background: rgba(255,255,255,.08); font-size: 2rem; }

.site-footer { padding: 70px 0 20px; background: #020a12; color: #d2dce4; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 38px; }
.footer-brand img { filter: brightness(0) invert(1); width: 210px; }
.footer-brand p { color: #9faeb9; }
.footer-proof { color: var(--gold-300) !important; font-weight: 800; }
.site-footer h2 { margin: 0 0 16px; color: var(--white); font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a:hover { color: var(--gold-300); }
.site-footer address, .site-footer p { color: #9faeb9; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.social-links a { padding: 8px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: .8rem; }
.footer-bottom { margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #81909c; font-size: .8rem; }
.mobile-sticky { display: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
    :root { --container: min(100% - 30px, 960px); }
    .primary-nav { gap: 15px; }
    .nav-cta { display: none !important; }
    .service-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
    .material-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: 1fr; }
    .sidebar-card { position: static; }
}

@media (max-width: 820px) {
    :root { --container: calc(100% - 28px); }
    body { padding-bottom: 64px; }
    .topbar { display: none; }
    .nav-wrap { min-height: 70px; }
    .brand img { width: 165px; }
    .menu-toggle { display: block; }
    .primary-nav {
        position: fixed;
        top: 70px;
        left: 14px;
        right: 14px;
        max-height: calc(100vh - 90px);
        overflow: auto;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: var(--white);
        box-shadow: var(--shadow-lg);
    }
    .primary-nav.open { display: flex; }
    .primary-nav > a, .nav-dropdown > button { width: 100%; padding: 12px 5px; text-align: left; }
    .nav-dropdown { width: 100%; }
    .dropdown-menu { position: static; min-width: 0; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 10px 14px; }
    .nav-dropdown.open .dropdown-menu { display: grid; }
    .hero, .hero-inner { min-height: 700px; }
    .hero-copy { padding: 100px 0 90px; }
    .hero-slide::before { background: linear-gradient(0deg, rgba(3,11,20,.93), rgba(3,11,20,.34)); }
    .hero-copy h1 { font-size: clamp(2.8rem, 12vw, 4.7rem); }
    .proof-grid { grid-template-columns: repeat(2, 1fr); }
    .proof-item:nth-child(2) { border-right: 0; }
    .proof-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
    .entry-grid, .case-study, .before-after-shell, .enquiry-wrap, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .entry-card { min-height: 330px; }
    .case-study-media { min-height: 420px; }
    .before-after-shell { gap: 30px; }
    .comparison { height: 470px; }
    .video-grid { grid-template-columns: 1fr; }
    .video-card video, .video-card.portrait video { aspect-ratio: 16 / 10; }
    .review-track { grid-auto-columns: calc((100% - 22px) / 2); }
    .feature-split { grid-template-columns: 1fr; }
    .service-gallery { grid-template-columns: repeat(2, 1fr); }
    .founder-image img { height: 520px; }
    .final-cta-inner { display: block; }
    .final-cta .btn { margin-top: 24px; }
    .mobile-sticky {
        position: fixed;
        z-index: 1500;
        left: 0;
        right: 0;
        bottom: 0;
        min-height: 64px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        background: var(--navy-950);
        box-shadow: 0 -10px 30px rgba(4,16,27,.2);
    }
    .mobile-sticky a { display: grid; place-items: center; color: var(--white); font-size: .82rem; font-weight: 850; border-right: 1px solid rgba(255,255,255,.12); }
    .mobile-sticky a:nth-child(2) { background: #0e6f4e; }
    .mobile-sticky a:last-child { color: var(--navy-950); background: var(--gold-400); border-right: 0; }
}

@media (max-width: 620px) {
    .section { padding: 70px 0; }
    .section-sm { padding: 52px 0; }
    .section-head { display: block; }
    .section-head p { margin-top: 14px; }
    .hero-actions { display: grid; }
    .hero-actions .btn { width: 100%; }
    .hero-controls { bottom: 18px; }
    .hero-arrows { display: none; }
    .entry-grid, .service-grid, .project-grid, .material-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
    .project-image-button { height: 260px; }
    .case-meta { grid-template-columns: 1fr; }
    .case-study-content { padding: 30px 24px; }
    .comparison { height: 430px; }
    .review-track { grid-auto-columns: 92%; }
    .service-gallery { grid-template-columns: 1fr; }
    .service-gallery button { height: 280px; }
    .page-hero { min-height: 430px; }
    .page-hero-content { padding: 90px 0 48px; }
    .founder-image img { height: 460px; }
    .footer-bottom { display: grid; }
    .thank-you-card { padding: 34px 22px; }
    .timeline-item { grid-template-columns: 70px 1fr; }
}

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

/* ===== MD FABRICATIONS FINAL PREMIUM UPDATE ===== */
.hero-slide > picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
.hero-slide > picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Subtle welding spark transition — mobile only */
.welding-sparks {
    position: absolute;
    z-index: 6;
    left: 58%;
    top: 43%;
    width: 8px;
    height: 8px;
    pointer-events: none;
    display: none;
}
.welding-sparks span {
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 13px;
    border-radius: 999px;
    opacity: 0;
    background: linear-gradient(#fff8cf, #ffc04d 45%, #e56a18 100%);
    box-shadow: 0 0 8px rgba(255, 177, 52, .85);
    transform-origin: 50% 100%;
}
.welding-sparks.fire span { animation: sparkFly .72s cubic-bezier(.2,.65,.25,1) both; }
.welding-sparks span:nth-child(1)  { --x: -54px; --y: -42px; --r: -58deg; animation-delay: 0ms; }
.welding-sparks span:nth-child(2)  { --x: -28px; --y: -68px; --r: -28deg; animation-delay: 35ms; }
.welding-sparks span:nth-child(3)  { --x: 12px;  --y: -76px; --r: 8deg; animation-delay: 70ms; }
.welding-sparks span:nth-child(4)  { --x: 48px;  --y: -54px; --r: 43deg; animation-delay: 20ms; }
.welding-sparks span:nth-child(5)  { --x: 70px;  --y: -18px; --r: 76deg; animation-delay: 90ms; }
.welding-sparks span:nth-child(6)  { --x: 58px;  --y: 24px;  --r: 112deg; animation-delay: 45ms; }
.welding-sparks span:nth-child(7)  { --x: 24px;  --y: 50px;  --r: 146deg; animation-delay: 110ms; }
.welding-sparks span:nth-child(8)  { --x: -18px; --y: 46px;  --r: 202deg; animation-delay: 65ms; }
.welding-sparks span:nth-child(9)  { --x: -52px; --y: 22px;  --r: 238deg; animation-delay: 130ms; }
.welding-sparks span:nth-child(10) { --x: -78px; --y: -4px;  --r: 272deg; animation-delay: 85ms; }
.welding-sparks span:nth-child(11) { --x: -42px; --y: -22px; --r: -72deg; animation-delay: 150ms; }
.welding-sparks span:nth-child(12) { --x: 38px;  --y: -26px; --r: 66deg; animation-delay: 125ms; }
.welding-sparks span:nth-child(13) { --x: 34px;  --y: 34px;  --r: 132deg; animation-delay: 175ms; }
.welding-sparks span:nth-child(14) { --x: -32px; --y: 32px;  --r: 222deg; animation-delay: 155ms; }
@keyframes sparkFly {
    0% { opacity: 1; transform: translate(0,0) rotate(var(--r)) scaleY(.45); }
    65% { opacity: .95; }
    100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scaleY(1.05); }
}

/* Premium footer */
.footer-cta {
    position: relative;
    overflow: hidden;
    padding: 46px 0;
    color: var(--white);
    background: linear-gradient(115deg, #0b2439, #071a2b 55%, #04111d);
    border-top: 1px solid rgba(214,168,75,.55);
    border-bottom: 1px solid rgba(214,168,75,.2);
}
.footer-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(214,168,75,.08), transparent);
    transform: skewX(-18deg) translateX(-80%);
    animation: footerSheen 10s ease-in-out infinite;
    pointer-events: none;
}
@keyframes footerSheen { 0%,70%,100% { transform: skewX(-18deg) translateX(-80%); } 85% { transform: skewX(-18deg) translateX(90%); } }
.footer-cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.footer-cta h2 { margin: 0; max-width: 780px; font-family: Georgia, serif; font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 500; line-height: 1.08; }
.footer-cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.site-footer {
    position: relative;
    overflow: hidden;
    padding: 72px 0 20px;
    background: #071a2b;
    color: #d5dee6;
    border-top: 3px solid #d6a84b;
}
.footer-pattern {
    position: absolute;
    inset: 0;
    opacity: .09;
    background-image:
        linear-gradient(30deg, transparent 48%, rgba(214,168,75,.7) 49%, rgba(214,168,75,.7) 51%, transparent 52%),
        linear-gradient(150deg, transparent 48%, rgba(214,168,75,.45) 49%, rgba(214,168,75,.45) 51%, transparent 52%);
    background-size: 90px 52px;
    pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }
.site-footer h2 { color: #d6a84b; }
.site-footer address, .site-footer p { color: #a9b4c0; }
.footer-legal {
    display: grid;
    gap: 4px;
    margin: 17px 0;
    padding: 14px 15px;
    border: 1px solid rgba(214,168,75,.25);
    border-radius: 12px;
    background: rgba(4,17,29,.38);
}
.footer-legal strong { color: #f5f7fa; }
.footer-legal span { color: #a9b4c0; font-size: .79rem; }
.footer-bottom {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid rgba(214,168,75,.22);
    color: #8998a5;
}

/* Contact conversion page */
.contact-grid-premium { align-items: start; }
.contact-form-heading { display: block; margin-bottom: 22px; }
.enquiry-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
    padding: 7px;
    margin-bottom: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #eef1f3;
}
.enquiry-tab {
    min-height: 48px;
    padding: 10px 12px;
    border: 0;
    border-radius: 11px;
    color: #4d5b67;
    background: transparent;
    font-weight: 850;
}
.enquiry-tab.active { color: var(--white); background: var(--navy-800); box-shadow: 0 10px 24px rgba(4,16,27,.16); }
.enquiry-tab-panel { animation: tabFade .3s ease; }
@keyframes tabFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tab-intro { margin: 0 0 20px; color: var(--muted); }
.legal-trust-card {
    display: grid;
    gap: 4px;
    margin: 22px 0;
    padding: 17px;
    color: #dce5ec;
    border: 1px solid rgba(214,168,75,.3);
    border-radius: 14px;
    background: linear-gradient(145deg, #0c263a, #071a2b);
}
.legal-trust-card span { color: #d6a84b; font-size: .75rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.legal-trust-card strong { color: #fff; }
.legal-trust-card small { color: #b9c5ce; }
.map-contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 28px; align-items: stretch; }
.map-card, .site-review-card { border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden; }
.map-card .map-frame { min-height: 430px; border-radius: 0; }
.map-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; }
.map-card-footer div { display: grid; }
.map-card-footer span { color: var(--muted); font-size: .88rem; }
.site-review-card { padding: 36px; }
.site-review-card h2 { margin: 0 0 20px; font-family: Georgia, serif; font-size: clamp(2rem,3.2vw,3rem); font-weight: 500; line-height: 1.08; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 0 0 24px; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-500); font-weight: 900; }
.contact-review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.file-field input[type=file] { padding: 10px; background: #fff; }

@media (max-width: 820px) {
    .hero {
        min-height: 740px;
        height: min(880px, calc(100svh - 22px));
        max-height: 880px;
    }
    .hero-inner {
        min-height: inherit;
        height: 100%;
        align-items: flex-end;
    }
    .hero-slide::before {
        background:
            linear-gradient(0deg, rgba(3,11,20,.98) 0%, rgba(3,11,20,.87) 40%, rgba(3,11,20,.38) 71%, rgba(3,11,20,.14) 100%),
            linear-gradient(90deg, rgba(3,11,20,.55), transparent 70%);
    }
    .hero-slide > picture img { object-position: center center; transform: scale(1.01); }
    .hero-slide.active > picture img { transform: scale(1.045); }
    .hero-copy { max-width: 100%; padding: 112px 0 92px; }
    .hero-copy h1 { font-size: clamp(2.45rem, 11vw, 4rem); line-height: 1; }
    .hero-copy .hero-subtitle { margin: 15px 0 17px; font-size: .98rem; line-height: 1.5; }
    .hero-meta { gap: 7px; margin-bottom: 20px; }
    .hero-meta li { padding: 6px 9px; font-size: .72rem; }
    .hero-actions { gap: 9px; }
    .hero-actions .btn { min-height: 47px; padding: 11px 17px; font-size: .86rem; }
    .welding-sparks { display: block; }
    .footer-cta-inner { display: grid; }
    .footer-cta-actions { justify-content: flex-start; }
    .map-contact-grid { grid-template-columns: 1fr; }
    .contact-review-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .hero { min-height: 720px; height: min(840px, calc(100svh - 8px)); }
    .hero-copy { padding: 104px 0 82px; }
    .hero-copy .eyebrow { margin-bottom: 7px; font-size: .67rem; }
    .hero-meta li:nth-child(3) { display: none; }
    .hero-controls { bottom: 14px; }
    .welding-sparks { left: 65%; top: 37%; }
    .footer-cta { padding: 38px 0; }
    .footer-cta-actions { display: grid; width: 100%; }
    .footer-cta-actions .btn { width: 100%; }
    .enquiry-tabs { grid-template-columns: 1fr; }
    .map-card-footer { align-items: flex-start; flex-direction: column; }
    .site-review-card { padding: 28px 23px; }
}

@media (prefers-reduced-motion: reduce) {
    .welding-sparks, .footer-cta::after { display: none !important; }
}

/* Consent-gated enquiry submission */
.enquiry-form button[type="submit"]:disabled {
    opacity: 0.48;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    filter: grayscale(0.15);
    pointer-events: none;
}
