/* NZ Ship Supplies — homepage redesign
   Brand: navy + maritime blue, drawn from the existing wordmark. */

:root {
  --navy-950: #0c1526;
  --navy-900: #101d34;
  --navy-800: #16233f;
  --navy-700: #1e2f52;
  --navy-600: #29406e;
  --blue-500: #3f6fbf;
  --blue-400: #6b93d6;
  --blue-100: #e8eefa;
  --gold-500: #b9903f;
  --gold-100: #f4ead4;
  --paper: #f7f5f0;
  --paper-dim: #efece3;
  --ink: #16233f;
  --ink-soft: #4a5670;
  --white: #ffffff;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1800px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--navy-900);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-500);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
}
.btn-primary:hover { background: #c99f4c; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border-color: rgba(22,35,63,0.3);
}
.btn-outline-dark:hover { border-color: var(--navy-900); background: rgba(22,35,63,0.05); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16,29,52,0.96);
  backdrop-filter: blur(6px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  height: 34px;
  width: auto;
}
.brand span.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav.main-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
}
nav.main-nav a:hover { color: var(--white); }
.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  color: var(--white);
}
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 28px 24px;
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu .btn { margin-top: 18px; justify-content: center; }

@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu:not([hidden]) { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: url('../img/hero-ship.jpg') center 38% / cover no-repeat, var(--navy-950);
  color: var(--white);
  overflow: hidden;
  padding: 92px 0 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(9,15,28,0.95) 0%, rgba(10,18,33,0.9) 26%, rgba(13,22,40,0.62) 50%, rgba(16,29,52,0.32) 72%, rgba(16,29,52,0.18) 100%),
    linear-gradient(0deg, rgba(9,15,28,0.55) 0%, rgba(9,15,28,0) 30%);
  z-index: 1;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
}
.hero-copy { max-width: 620px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold-100);
}
.hero p.lede {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.86);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 46px;
}
.hero .cta-row .btn {
  min-width: 210px;
  justify-content: center;
}

.trust-strip {
  border-top: 1px solid rgba(255,255,255,0.14);
  background: rgba(8,14,26,0.55);
}
.trust-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 28px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 16px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.trust-item:first-child { border-left: none; padding-left: 0; }
.trust-item .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-100);
}
.trust-item .label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
}

@media (max-width: 900px) {
  .hero .wrap { padding-bottom: 40px; }
  .trust-strip .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .trust-item:nth-child(3) { border-left: none; padding-left: 0; }
}

/* ---------- Section shells ---------- */
section { padding: 96px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.05rem; }

.bg-navy { background: var(--navy-900); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy .eyebrow { color: var(--gold-100); }
.bg-navy .eyebrow::before { background: var(--gold-100); }
.bg-paper-dim { background: var(--paper-dim); }

/* ---------- About / story ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}
.about-copy p { color: var(--ink-soft); font-size: 1.04rem; margin: 0 0 16px; }
.mission-card {
  background: var(--white);
  border: 1px solid #e4dfd2;
  border-left: 4px solid var(--gold-500);
  padding: 32px 30px;
  border-radius: 4px;
}
.mission-card .kicker {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-500);
  margin-bottom: 12px;
  display: block;
}
.mission-card blockquote {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--navy-900);
}
.mission-card .issa-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #ece7d9;
}
.mission-card .issa-row img { width: 44px; height: auto; }
.mission-card .issa-row span { font-size: 0.86rem; color: var(--ink-soft); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Services ---------- */
#services { padding-top: 48px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #e4dfd2;
  border: 1px solid #e4dfd2;
}
.service-card {
  background: var(--white);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card .icon {
  width: 40px;
  height: 40px;
  color: var(--gold-500);
}
.service-card h3 { font-size: 1.08rem; }
.service-card p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-item .check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(185,144,63,0.18);
  color: var(--gold-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-item .check svg { width: 14px; height: 14px; }
.why-item h3 { font-size: 1.02rem; margin-bottom: 4px; color: var(--white); }
.why-item p { margin: 0; color: rgba(255,255,255,0.72); font-size: 0.95rem; }

@media (max-width: 700px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ---------- Recognition (ISSA gala) — clean photo + explainer band ---------- */
#recognition { padding: 0; }
.recognition-photo {
  position: relative;
  overflow: hidden;
}
.recognition-photo img {
  width: 100%;
  height: 720px;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.recognition-badge {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(9,15,28,0.9);
  border-left: 4px solid var(--gold-500);
  box-shadow: 0 16px 32px -14px rgba(9,15,28,0.7);
}
.recognition-badge .n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
  color: var(--gold-100);
}
.recognition-badge .t {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.82);
  max-width: 92px;
  line-height: 1.3;
}

.recognition-explainer { padding: 64px 0; }
.recognition-caption {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 22px;
}
.recognition-explainer h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}
.recognition-explainer .lede {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 72ch;
  margin: 0;
}

@media (max-width: 760px) {
  .recognition-photo img { height: 480px; object-position: center 42%; }
  .recognition-badge { left: 16px; bottom: 16px; padding: 12px 16px; gap: 8px; }
  .recognition-badge .n { font-size: 1.5rem; }
  .recognition-badge .t { font-size: 0.72rem; max-width: 78px; }
  .recognition-explainer { padding: 48px 0; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #e4dfd2;
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--navy-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--gold-500);
  position: relative;
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  top: 50%; left: 50%;
}
.faq-item summary .plus::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq-item summary .plus::after { width: 2px; height: 14px; transform: translate(-50%,-50%); transition: opacity .15s; }
.faq-item[open] summary .plus::after { opacity: 0; }
.faq-item p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  text-align: center;
  padding: 76px 0;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 54ch; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-band .cta-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-band .cta-row .btn { min-width: 240px; justify-content: center; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 60px;
  max-width: 1080px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; font-size: 0.92rem; color: rgba(255,255,255,0.55); }
.footer-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: 30ch;
}
.footer-badge img { height: 30px; width: auto; margin: 0; flex: none; }
.footer-badge span { font-size: 0.78rem; color: rgba(255,255,255,0.5); line-height: 1.4; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,0.68); font-size: 0.94rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { text-decoration: none; color: rgba(255,255,255,0.6); }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Page intro (subpages) ---------- */
.page-hero {
  position: relative;
  background: radial-gradient(1200px 600px at 15% -10%, var(--navy-700), var(--navy-900) 55%, var(--navy-950));
  color: var(--white);
  padding: 76px 0 64px;
  overflow: hidden;
}
.page-hero.has-photo {
  padding: 76px 0 84px;
  background-color: var(--navy-950);
  background-size: cover;
  background-repeat: no-repeat;
}
.page-hero.photo-services { background-image: url('../img/services-ladder.jpg'); background-position: center 18%; }
.page-hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(100deg, rgba(9,15,28,0.95) 0%, rgba(10,18,33,0.9) 30%, rgba(13,22,40,0.68) 58%, rgba(16,29,52,0.4) 100%),
    linear-gradient(0deg, rgba(9,15,28,0.5) 0%, rgba(9,15,28,0) 35%);
}
.page-hero.has-photo .wrap { position: relative; z-index: 1; }
.page-hero .crumb {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
}
.page-hero .crumb a { text-decoration: none; color: rgba(255,255,255,0.75); }
.page-hero .crumb a:hover { color: var(--gold-100); }
.page-hero .eyebrow { color: var(--gold-100); }
.page-hero .eyebrow::before { background: var(--gold-100); }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-bottom: 18px;
}
.page-hero p.lede {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 60ch;
  margin: 0;
}

/* ---------- Our Story: timeline + collage + stat band (About) ---------- */
.timeline-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}
.timeline { display: flex; flex-direction: column; }
.timeline-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 24px;
  padding: 32px 0;
}
.timeline-item:first-child { padding-top: 0; }
.timeline-item + .timeline-item { border-top: 1px solid #e4dfd2; }
.timeline-item .year {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--gold-500);
  line-height: 1;
}
.timeline-copy h3 { font-size: 1.18rem; margin-bottom: 10px; }
.timeline-copy p { color: var(--ink-soft); font-size: 1.02rem; margin: 0; }

.story-collage {
  position: relative;
  min-height: 440px;
}
.story-collage img {
  position: absolute;
  border: 6px solid var(--white);
  box-shadow: 0 20px 44px -18px rgba(16,29,52,0.32);
}
.story-collage .collage-a { top: 0; left: 0; width: 72%; z-index: 1; }
.story-collage .collage-b { bottom: 0; right: 0; width: 56%; z-index: 2; }

.stat-band {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.stat-card {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  background: var(--navy-900);
  color: var(--white);
  padding: 30px 34px;
  border-left: 4px solid var(--gold-500);
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--gold-100);
}
.stat-card .label {
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

@media (max-width: 860px) {
  .timeline-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-collage { order: -1; width: 100%; min-height: 320px; max-width: 420px; margin: 0 auto; }
}

/* ---------- Values / Our Promise (About) ---------- */
.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.values-list .value {
  font-family: var(--font-display);
  font-size: 0.96rem;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid #e4dfd2;
  border-left: 3px solid var(--gold-500);
  padding: 8px 15px;
  white-space: nowrap;
}
.values-copy { margin-top: 28px; }
.values-copy p { color: var(--ink-soft); font-size: 1.04rem; margin: 0; max-width: 60ch; }

.promise-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.promise-grid .about-copy { flex: 1 1 0%; min-width: 320px; }
.promise-grid .mission-card { flex: 0 0 480px; width: 480px; }

@media (max-width: 860px) {
  .promise-grid { gap: 32px; }
  .promise-grid .mission-card { flex-basis: 100%; width: 100%; }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border: 1px solid #e4dfd2;
  padding: 40px;
}
.contact-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d9d2bc;
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  margin-bottom: 20px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-500);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { width: 100%; justify-content: center; border: none; }
.contact-form .form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 14px;
  text-align: center;
}

.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: var(--navy-900);
  color: var(--white);
  padding: 28px 30px;
}
.contact-card .icon { width: 26px; height: 26px; color: var(--gold-100); margin-bottom: 14px; }
.contact-card h3 { color: var(--white); font-size: 1.02rem; margin-bottom: 6px; }
.contact-card p { margin: 0 0 12px; color: rgba(255,255,255,0.68); font-size: 0.92rem; }
.contact-card a { color: var(--gold-100); text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }

.map-frame {
  border: 1px solid #e4dfd2;
  overflow: hidden;
  margin-top: 20px;
}
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }
.map-link { display: inline-block; margin-top: 12px; font-size: 0.9rem; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px; }
  .contact-form .field-row { grid-template-columns: 1fr; gap: 0; }
}
