/* WamOceanic Studio */
:root {
    --ink: #0b1d2c;
    --ink-soft: #3d4f5e;
    --navy: #06192a;
    --navy-2: #0c2a40;
    --teal: #34b3c4;
    --teal-dark: #1c8796;
    --sand: #e8b96b;
    --cream: #f7f3ec;
    --paper: #fffdf9;
    --rule: #e4ddd1;
    --error: #b3261e;
    --radius: 14px;
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }

.wrap { width: min(1160px, 100% - 48px); margin: 0 auto; }

.sr-only {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    padding: 10px 16px; background: var(--sand); color: var(--navy);
    font-weight: 600; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }

/* ---------- Top bar ---------- */
.topbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(6, 25, 42, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand-text { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .01em; }
.brand-text em { font-style: normal; color: var(--sand); }
.brand-mark { display: inline-flex; align-items: center; gap: 3px; height: 26px; }
.brand-mark i { display: block; width: 4px; border-radius: 2px; background: var(--teal); }
.brand-mark i:nth-child(1) { height: 10px; }
.brand-mark i:nth-child(2) { height: 22px; }
.brand-mark i:nth-child(3) { height: 14px; background: var(--sand); }
.brand-mark i:nth-child(4) { height: 26px; }
.brand-mark i:nth-child(5) { height: 12px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #d6e2ea; text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: #fff; }
.nav .nav-cta {
    padding: 9px 18px; border-radius: 999px;
    background: var(--sand); color: var(--navy); font-weight: 600;
}
.nav .nav-cta:hover { background: #f1c985; color: var(--navy); }

.nav-toggle {
    display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
    position: relative;
}
.nav-toggle span[aria-hidden],
.nav-toggle span[aria-hidden]::before,
.nav-toggle span[aria-hidden]::after {
    position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; content: "";
    transition: transform .2s ease;
}
.nav-toggle span[aria-hidden] { top: 21px; }
.nav-toggle span[aria-hidden]::before { left: 0; top: -7px; }
.nav-toggle span[aria-hidden]::after { left: 0; top: 7px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
    font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sand); color: var(--navy); }
.btn-primary:hover { background: #f1c985; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-ghost-dark { border-color: var(--rule); color: var(--ink); }
.btn-ghost-dark:hover { border-color: var(--ink); }
.btn-small { padding: 10px 20px; font-size: .92rem; background: var(--navy); color: #fff; }
.btn-small:hover { background: var(--navy-2); }
.btn-wide { width: 100%; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 110px);
    color: #fff;
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(52, 179, 196, .22), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(232, 185, 107, .12), transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

.badge {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px;
    padding: 8px 16px; border-radius: 999px;
    background: rgba(232, 185, 107, .12); border: 1px solid rgba(232, 185, 107, .4);
    color: #f6d8a4; font-size: .88rem; font-weight: 600; letter-spacing: .02em;
}
.dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--sand);
    box-shadow: 0 0 0 0 rgba(232, 185, 107, .6); animation: pulse 2.2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(232, 185, 107, .55); }
    70% { box-shadow: 0 0 0 10px rgba(232, 185, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 185, 107, 0); }
}

.hero h1 {
    margin: 0 0 24px;
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -.01em;
}
.hero h1 span { color: var(--sand); }
.lead { max-width: 600px; margin: 0 0 34px; color: #c9d7e1; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; }
.hero-photo {
    margin: 0; border-radius: 22px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .08);
}
.hero-photo img { width: 100%; height: 380px; object-fit: cover; }
.wave {
    position: absolute; left: -36px; bottom: -28px; z-index: 2;
    display: flex; align-items: center; gap: 5px; height: 74px;
    padding: 0 18px; border-radius: 16px;
    background: rgba(6, 25, 42, .9); border: 1px solid rgba(255, 255, 255, .08);
}
.wave span {
    display: block; width: 4px; border-radius: 3px; background: var(--teal);
    animation: bounce 1.6s ease-in-out infinite;
}
.wave span:nth-child(5n) { background: var(--sand); }
@keyframes bounce { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
    .wave span, .dot { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Strip ---------- */
.strip { background: var(--navy); color: #fff; border-top: 1px solid rgba(255, 255, 255, .06); }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-grid > div { padding: 28px 24px; border-left: 1px solid rgba(255, 255, 255, .08); }
.strip-grid > div:first-child { border-left: 0; padding-left: 0; }
.strip-num { margin: 0; font-family: var(--serif); font-size: 1.45rem; color: var(--sand); }
.strip-label { margin: 4px 0 0; font-size: .92rem; color: #9fb3c2; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section-soft { background: var(--cream); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-lead { color: #a9bccb; }

.eyebrow {
    margin: 0 0 14px; color: var(--teal-dark);
    font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.section-dark .eyebrow { color: var(--teal); }

h2 {
    max-width: 780px; margin: 0 0 18px;
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.01em;
}
.section-lead { max-width: 680px; margin: 0 0 48px; color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
    padding: 28px 24px; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--rule);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(11, 29, 44, .08); border-color: #d4cbbb; }
.card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin-bottom: 18px; border-radius: 12px;
    background: #e8f5f7; color: var(--teal-dark); font-size: 1.35rem;
}
.card h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 600; }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; line-height: 1.6; }
.card-feature { background: var(--navy); border-color: var(--navy); color: #fff; }
.card-feature .card-icon { background: rgba(232, 185, 107, .15); color: var(--sand); }
.card-feature p { color: #b9cad6; }
.card-cta { background: var(--cream); border-style: dashed; display: flex; flex-direction: column; align-items: flex-start; }
.card-cta p { margin-bottom: 18px; }
.card-cta .btn { margin-top: auto; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work {
    display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
    background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .07);
}
.work img, .work-art { width: 100%; height: 230px; object-fit: cover; background: #0f3350; }
.work-art {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, #123a57, #0b2337);
}
.work-art span { font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--sand); }
.work-art p { margin: 0; font-size: 1.15rem; color: #e6eef3; }
.work-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.work-tag { margin: 0 0 6px; color: var(--teal); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.work h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.work-body > p:not(.work-tag) { margin: 0 0 18px; color: #b9cad6; font-size: .96rem; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.links a {
    padding: 7px 14px; border-radius: 999px; font-size: .86rem; font-weight: 500;
    color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .22);
}
.links a:hover { border-color: var(--sand); color: var(--sand); }

/* ---------- Who ---------- */
.who { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.who-list { list-style: none; margin: 0; padding: 0; }
.who-list li {
    padding: 20px 0 20px 34px; border-bottom: 1px solid var(--rule); position: relative;
    color: var(--ink-soft);
}
.who-list li:first-child { border-top: 1px solid var(--rule); }
.who-list li::before {
    content: ""; position: absolute; left: 0; top: 29px;
    width: 14px; height: 2px; background: var(--sand);
}
.who-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--rule); }
.step-num { display: block; margin-bottom: 14px; font-family: var(--serif); font-size: 2rem; color: var(--teal-dark); }
.steps h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 600; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .96rem; line-height: 1.6; }

/* ---------- Enquiry ---------- */
.enquire-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.enquire-intro p { color: var(--ink-soft); }
.enquire-alt { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule); }

.form-card {
    padding: clamp(24px, 4vw, 40px); border-radius: 20px;
    background: #fff; border: 1px solid var(--rule);
    box-shadow: 0 24px 60px rgba(11, 29, 44, .07);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: .92rem; font-weight: 600; }
.req { color: var(--error); }
.opt { color: #7b8893; font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="url"], .field select, .field textarea {
    width: 100%; padding: 13px 14px; border-radius: 10px;
    border: 1.5px solid #d9d2c6; background: var(--paper);
    font: 400 1rem/1.4 var(--sans); color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--teal-dark); box-shadow: 0 0 0 4px rgba(52, 179, 196, .18);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: 6px 0 0; color: var(--error); font-size: .88rem; }
.field-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.field-check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--teal-dark); }
.field-check label { margin: 0; font-weight: 400; color: var(--ink-soft); }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
    margin: 0 0 22px; padding: 14px 16px; border-radius: 10px;
    background: #fbeceb; color: var(--error); font-weight: 500;
}
.form-success { text-align: center; padding: 20px 0; }
.form-success:focus { outline: none; }
.success-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%;
    background: #e3f4ec; color: #1f7a4d; font-size: 1.8rem;
}
.form-success h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; }
.form-success p { color: var(--ink-soft); }
.form-success .ref { margin-bottom: 26px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #c6d4de; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr .8fr; gap: 40px; }
.footer h3 { margin: 0 0 14px; color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; font-size: .95rem; line-height: 1.55; }
.footer a { color: #c6d4de; text-decoration: none; }
.footer a:hover { color: var(--sand); }
.footer-note { margin: 14px 0 0; font-size: .92rem; color: #8ea3b3; }
.footer-bottom { margin-top: 48px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom p { margin: 0; font-size: .86rem; color: #7f95a6; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
    .nav-toggle { display: block; }
    .nav {
        position: absolute; left: 0; right: 0; top: 72px;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 8px 24px 20px; background: var(--navy);
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        display: none;
    }
    .nav.open { display: flex; }
    .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
    .nav .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; }
    .nav-toggle[aria-expanded="true"] span[aria-hidden] { background: transparent; }
    .nav-toggle[aria-expanded="true"] span[aria-hidden]::before { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span[aria-hidden]::after { transform: translateY(-7px) rotate(-45deg); }

    .hero-grid, .who, .enquire-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 560px; }
    .work-grid { grid-template-columns: 1fr; max-width: 560px; }
    .strip-grid { grid-template-columns: 1fr; }
    .strip-grid > div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; }
    .strip-grid > div:first-child { border-top: 0; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .wrap { width: min(1160px, 100% - 36px); }
    .cards, .steps { grid-template-columns: 1fr; }
    .form .row { grid-template-columns: 1fr; gap: 0; }
    .hero-photo img { height: 260px; }
    .wave { left: 12px; bottom: -24px; height: 60px; gap: 4px; }
    .wave span:nth-child(n+20) { display: none; }
    .hero-actions .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
}
