/* Design tokens (matched to the live site's palette) */
:root {
  --light-blue: #0095d9;
  --dark-blue: #01529c;
  --darkest-blue: #1a3f75;
  --navy: #1d3f75;
  --text: #171717;
  --muted: #43464d;
  --border: #e4ebf3;
  --white: #fff;
  --radius: 16px;
  --gutter: 72px;
  --display: "Archivo", "Montserrat", sans-serif;
  --body: "Montserrat", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* Image placeholders: swap for real <img> or background-image once you have the photos */
.ph { position: relative; background: linear-gradient(135deg, #5b7a99, #2a3f58); overflow: hidden; }
.ph::after { content: attr(data-label); position: absolute; right: 12px; bottom: 10px; font: 500 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ph--hero { background: radial-gradient(ellipse at 70% 45%, #3d4a3a 0%, #2c4a24 35%, #1b2b17 100%); }
.ph--harbour { background: linear-gradient(180deg, #8a9aa8 0%, #b9cde0 30%, #3f6f8e 55%, #1f4d66 100%); }

[data-img].has-img { background-size: cover; background-position: center; }
.ph.has-img::after { content: none; }
.hero .ph.has-img { background-position: 70% 20%; }
.hero .ph.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,0) 55%); }

/* ---------- Header / nav ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; padding: 30px 0; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0)); }
.site-header--solid { position: relative; background: var(--darkest-blue); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-left: 64px; padding-right: 29px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--white); }
.brand__logo { width: 362px; height: auto; }
.brand__sub { font: 800 16px/1.2 var(--display); margin-top: 2px; }

.menu-btn { width: 40px; height: 42px; border: 0; border-radius: 4px; background: var(--white); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 12px; height: 1.5px; background: currentColor; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -4px; }
.menu-btn span::after { position: absolute; top: 4px; }

.nav-panel { position: fixed; inset: 0; z-index: 100; background: var(--white); overflow-y: auto; transform: translateY(-100%); transition: transform .45s ease; }
.nav-panel.is-open { transform: translateY(0); }
.nav-panel__top { display: flex; justify-content: space-between; align-items: center; padding: 30px 29px 30px 64px; border-bottom: 1px solid var(--border); }
.nav-panel__top .brand { color: var(--text); }
.nav-close { background: none; border: 0; font-size: 34px; line-height: 1; cursor: pointer; color: var(--text); }
.nav-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px; padding: 48px var(--gutter); }
.nav-grid h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.nav-grid a { display: block; text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; }
.nav-grid a:hover { color: var(--dark-blue); }
.nav-contact { display: flex; gap: 32px; flex-wrap: wrap; padding: 24px var(--gutter) 48px; border-top: 1px solid var(--border); font-weight: 600; }
.nav-contact a { text-decoration: none; color: var(--dark-blue); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 900px; display: flex; align-items: flex-end; color: var(--white); }
.hero .ph { position: absolute; inset: 0; }
.hero__content { position: relative; z-index: 2; padding-bottom: 82px; }
.hero__first { font: 400 64px/1 var(--display); letter-spacing: -.01em; }
.hero__last { font: 900 80px/1 var(--display); letter-spacing: -.02em; margin-top: 4px; }
.hero__last small { font-size: 50px; font-weight: 400; margin-left: 8px; }
.hero__role { font: 500 38px/1 var(--display); margin-top: 16px; }
.hero__tag { display: inline-block; margin-top: 14px; padding: 8px 10px; border-radius: 8px; background: var(--dark-blue); font: 700 32px/1 var(--display); }

/* ---------- Newsletter band ---------- */
.newsletter { background: var(--navy); color: var(--white); text-align: center; padding: 56px 0 140px; }
.newsletter h2 { font-size: 26px; font-weight: 600; line-height: 1.5; }
.inline-form { display: flex; gap: 10px; max-width: 1036px; margin: 22px auto 0; align-items: center; }
.inline-form input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid #ccc; border-radius: 8px; font: 400 14px var(--body); }
.btn { display: inline-block; border: 0; cursor: pointer; text-decoration: none; font: 700 14px/1 var(--body); color: var(--white); background: var(--light-blue); padding: 12px 15px; border-radius: 8px; }
.btn--dark { background: var(--dark-blue); }
.btn--caps { font-weight: 500; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; padding: 16px 25px; }
.form-msg { margin-top: 14px; font-size: 14px; }

/* ---------- Strong local voice ---------- */
.voice { position: relative; min-height: 700px; display: flex; align-items: center; color: var(--white); }
.voice .ph { position: absolute; inset: 0; }
.voice .ph::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0) 60%); }
.voice__content { position: relative; z-index: 2; max-width: 820px; }
.voice h2 { font-size: 44px; font-weight: 700; margin-bottom: 24px; }
.voice p { font-size: 17px; font-weight: 500; line-height: 1.7; max-width: 680px; }

/* ---------- Gradient body ---------- */
.gradient { background: linear-gradient(90deg, var(--light-blue), var(--darkest-blue)); color: var(--white); }
.cta { display: grid; grid-template-columns: 1fr 502px; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 110px; }
.cta h2 { font-size: 44px; font-weight: 700; }
.cta p { font-size: 19px; margin: 32px 0 44px; }
.cta .ph { height: 334px; border-radius: var(--radius); }

.section-title { font-size: 44px; font-weight: 700; margin-bottom: 38px; }
.issues { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 10px 110px; }
.issue { position: relative; height: 300px; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; text-decoration: none; color: var(--white); }
.issue .ph { position: absolute; inset: 0; }
.issue .ph::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); transition: background .3s; }
.issue:hover .ph::before { background: rgba(0,0,0,.15); }
.issue span { position: relative; z-index: 2; font-size: 20px; font-weight: 700; text-align: center; padding: 0 16px; }

.speech { padding-bottom: 110px; }
.speech h2 { font-size: 50px; font-weight: 500; margin-bottom: 18px; }
.speech p { font-size: 17px; font-weight: 500; }
.video { position: relative; aspect-ratio: 16 / 9; max-width: 1000px; margin-top: 40px; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 90px 0 70px; }
.page-hero h1 { font-size: 56px; font-weight: 700; }
.page-hero p { font-size: 19px; margin-top: 18px; max-width: 760px; }
.page-body { padding: 72px 0 110px; }
.page-body .prose { max-width: 820px; font-size: 17px; }
.page-body .prose h2 { font-size: 30px; margin: 36px 0 14px; }
.page-body .prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.page-body .prose li { margin-bottom: .35em; }
.page-body .prose h3 { font-size: 20px; margin: 24px 0 8px; }
.page-body .prose a { color: var(--dark-blue); }
.page-body .prose a.btn { color: var(--white); }
.page-body blockquote { margin: 0 0 1.5em; padding: 8px 0 8px 20px; border-left: 4px solid var(--light-blue); font-size: 19px; font-style: italic; color: var(--darkest-blue); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.page-body .gallery .ph { height: 260px; margin: 0; }
.page-body .ph { height: 420px; border-radius: var(--radius); margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.card .ph { height: 200px; border-radius: 0; margin: 0; }
.card div { padding: 20px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); margin: 0; }
.stack-form { display: grid; gap: 12px; max-width: 560px; }
.stack-form input, .stack-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #ccc; border-radius: 8px; font: 400 15px var(--body); }
.stack-form textarea { min-height: 160px; resize: vertical; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; font-size: 17px; }
.contact-list a { color: var(--dark-blue); font-weight: 600; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { padding: 116px 0 0; }
.socials { display: flex; justify-content: center; gap: 12px; margin-bottom: 44px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 6px; }
.socials svg { width: 22px; height: 22px; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.footer-grid h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.footer-grid a { display: block; text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.9; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--dark-blue); }
.footer-auth { border-top: 1px solid var(--border); margin-top: 48px; padding: 24px 0 56px; text-align: center; font-size: 12px; font-weight: 500; color: var(--muted); }

/* ---------- Newsletter popup ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: rgba(0,0,0,.45); padding: 16px; }
.modal.is-open { display: grid; }
.modal__box { width: 100%; max-width: 578px; padding: 30px 40px 26px; border: 2px solid var(--white); border-radius: 40px; background: linear-gradient(135deg, var(--darkest-blue), var(--light-blue)); color: var(--white); text-align: center; }
.modal__box h3 { font: 900 26px/1.2 "Lato", sans-serif; text-align: left; margin-bottom: 12px; }
.modal__box input { width: 100%; height: 50px; margin-bottom: 10px; padding: 0 12px; border: 1px solid var(--white); border-radius: 8px; background: transparent; color: var(--white); font: 500 16px var(--body); }
.modal__box input::placeholder { color: var(--white); }
.modal__box .btn { display: block; background: var(--white); color: var(--dark-blue); font-size: 18px; margin: 10px 0 0; }
.modal__close { margin-top: 20px; background: none; border: 0; color: var(--white); font: 600 15px var(--body); letter-spacing: .05em; cursor: pointer; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .nav-panel { transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  :root { --gutter: 32px; }
  .nav-grid, .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .cta { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .hero__first { font-size: 52px; } .hero__last { font-size: 64px; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .site-header { padding: 16px 0; }
  .site-header .container, .nav-panel__top { padding-left: 16px; padding-right: 16px; }
  .brand__logo { width: 230px; }
  .hero { min-height: 640px; }
  .hero__first { font-size: 38px; } .hero__last { font-size: 46px; } .hero__last small { font-size: 28px; }
  .hero__role { font-size: 22px; } .hero__tag { font-size: 20px; }
  .newsletter { padding: 48px 0 64px; } .newsletter h2 { font-size: 20px; }
  .inline-form { flex-direction: column; align-items: stretch; }
  .inline-form input { flex: none; }
  .voice { min-height: 560px; } .voice h2, .cta h2, .section-title, .page-hero h1 { font-size: 32px; } .speech h2 { font-size: 36px; }
  .cta .ph { height: 240px; }
  .issues { grid-template-columns: 1fr; padding: 0 0 72px; } .issue { height: 220px; }
  .nav-grid, .footer-grid, .cards, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; } .page-body .gallery .ph { height: 160px; }
  .modal__box { padding: 24px 20px; border-radius: 24px; } .modal__box h3 { font-size: 20px; }
}
