/* Island Times Masonry — site styles */
:root {
  --navy: #14212B;
  --navy-line: #2A3B48;
  --ground: #F5F3EF;
  --stone: #E9E5DD;
  --line: #E4DFD6;
  --text: #1B1F23;
  --muted: #55606A;
  --soft: #D5DCE1;
  --accent: #0D6E6E;
  --accent-dark: #0A5555;
  --sun: #F2B33D;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--ground); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 12px 16px; }

/* Top bar + header */
.topbar { background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .05em; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.logo { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 12px; line-height: 1; }
.logo-text { display: flex; flex-direction: column; }
.logo-mark { width: 52px; height: 52px; flex: none; }
@media (max-width: 420px) { .logo-mark { width: 40px; height: 40px; } .logo-top { font-size: 24px; } }
.logo:hover { color: #fff; }
.logo-top { white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: .06em; }
.logo-bottom { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .46em; color: var(--sun); }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 600; }
.nav a { color: var(--soft); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--sun); }
.nav .btn { border-bottom: 0; }
.nav-toggle { display: none; background: none; border: 2px solid var(--soft); color: #fff; border-radius: 4px; width: 48px; height: 48px; cursor: pointer; }
.nav-toggle svg { margin: auto; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-top: 1px solid var(--navy-line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--navy-line); }
  .nav .btn { margin-top: 16px; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; text-decoration: none; padding: 14px 26px; border-radius: 4px; font-weight: 700; font-size: 17px; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-sun { background: var(--sun); color: var(--navy) !important; }
.btn-sun:hover { background: #E5A42B; }
.btn-ghost { border-color: #fff; color: #fff !important; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-accent { background: var(--accent); color: #fff !important; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy) !important; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.eyebrow { font-weight: 700; font-size: 15px; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; margin-bottom: 8px; }
.dark .eyebrow { color: var(--sun); }
.section { padding: 96px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.section-head h2, .h2 { font-size: clamp(38px, 5vw, 52px); }
.section-head a { font-weight: 700; font-size: 17px; }
.lead { font-size: 20px; line-height: 1.55; }
.muted { color: var(--muted); }
.dark { background: var(--navy); color: #fff; }
.dark .lead { color: var(--soft); }
.stone { background: var(--stone); }
.white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero-text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(46px, 7vw, 84px); line-height: .95; }
.hero-img { flex: 1 1 460px; }
.hero-img img { width: 100%; height: 480px; object-fit: cover; object-position: center 70%; border-radius: 6px; }
.page-hero .wrap { padding-top: 64px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--navy-line); }
.page-hero h1 { font-size: clamp(42px, 6vw, 72px); }
.page-hero .lead { max-width: 720px; }

/* Trust strip */
.trust .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.trust-item { display: flex; gap: 14px; align-items: center; }
.trust-item strong { display: block; font-size: 17px; }
.trust-item span { font-size: 15px; color: var(--muted); }
.trust-item svg { flex: none; color: var(--accent); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { color: var(--text); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(20,33,43,.12); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 28px; }
.card p { color: var(--muted); }

/* Photo grid */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.photo-grid img { width: 100%; height: 300px; object-fit: cover; border-radius: 6px; }
.photo-grid figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.photo-grid figcaption { font-size: 15px; font-weight: 600; color: #3A434B; }
.photo-grid figure[hidden] { display: none; }

/* Steps / values */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.step { border-top: 4px solid var(--accent); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--navy); }
.step h3 { font-family: var(--body); font-size: 20px; line-height: 1.3; }
.step p { color: var(--muted); }
.value h3 { font-size: 28px; }

/* Split layout */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split.reverse { flex-direction: row-reverse; }
.split img { width: 100%; height: 360px; object-fit: cover; border-radius: 6px; }
.split-text { display: flex; flex-direction: column; gap: 16px; }
.split-text h2 { font-size: 44px; }
.split-text p { font-size: 18px; line-height: 1.6; color: var(--muted); }
.service-list { display: flex; flex-direction: column; gap: 80px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; font-weight: 600; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks li::before { content: ''; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; flex: none; }

.map { width: 100%; height: 420px; border: 0; border-radius: 6px; }

/* CTA band */
.cta { background: var(--accent); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 72px; padding-bottom: 72px; }
.cta h2 { font-size: clamp(36px, 5vw, 48px); margin-bottom: 8px; }
.cta p { font-size: 19px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters button { font-family: inherit; font-size: 15px; font-weight: 700; padding: 12px 18px; min-height: 44px; border-radius: 999px; cursor: pointer; background: #fff; color: var(--text); border: 2px solid #CFC8BC; }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Contact */
.contact-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.contact-card { background: var(--navy); color: #fff; border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.contact-card .label { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--sun); }
.contact-card .name { font-family: var(--display); font-weight: 700; font-size: 30px; }
.contact-card .phone { color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.info-card .label { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--accent); margin-top: 8px; }
.form-card { flex: 2 1 520px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 40px; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font-family: inherit; font-size: 16px; padding: 12px 14px; min-height: 48px; width: 100%; border: 1.5px solid #B9B1A4; border-radius: 4px; background: #fff; color: var(--text); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(13,110,110,.3); border-color: var(--accent); }
.form textarea { resize: vertical; }
.form button { justify-self: start; }
.hidden { display: none; }

/* Footer */
.site-footer { background: var(--navy); color: var(--soft); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.footer-grid > div, .footer-grid > nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-title { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .06em; color: #fff; }
.footer-head { font-weight: 700; color: #fff; letter-spacing: .1em; }
.site-footer a { color: var(--soft); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .phone { color: var(--sun); font-weight: 700; }
.copyright { border-top: 1px solid var(--navy-line); padding-top: 20px; padding-bottom: 32px; font-size: 14px; color: #9AA6AF; }

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