/* Silver Sails Ltd — site styles */
:root {
  --abyss: #000000;      /* black */
  --hull: #1c1c1c;       /* charcoal for panels */
  --silver: #c4c4c4;     /* sail silver */
  --mist: #f2f2f2;       /* page tint */
  --white: #ffffff;
  --ink: #141414;        /* body text */
  --muted: #5e5e5e;      /* secondary text */
  --flag: #f2c230;       /* code flag yellow accent */
  --line: #dcdcdc;

  --wrap: 72rem;
  --radius: 4px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--abyss); text-underline-offset: 3px; }
a:hover { color: var(--hull); }
:focus-visible { outline: 3px solid var(--flag); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--flag); color: var(--abyss); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

h1, h2, h3 {
  font-stretch: 85%;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  color: var(--abyss);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; font-stretch: 90%; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.2rem; color: var(--muted); }

/* Header */
.site-header { background: var(--abyss); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--white); text-decoration: none; }
.brand img { height: 2.6rem; width: auto; }
.brand-mark { width: 2.1rem; height: 2.1rem; flex: none; }
.brand-name { font-size: 1.3rem; font-weight: 750; font-stretch: 85%; letter-spacing: .01em; line-height: 1; }
.brand-name small { display: block; font-size: .72rem; font-weight: 400; font-stretch: 100%; color: var(--silver); letter-spacing: .02em; margin-top: .2rem; }
.nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.nav a { color: var(--silver); text-decoration: none; padding: .5rem .8rem; border-radius: var(--radius); font-weight: 500; }
.nav a:hover { color: var(--white); background: var(--hull); }
.nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -3px 0 var(--flag); border-radius: 0; }

/* Hero */
.hero { background: var(--abyss); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding-top: 4rem; padding-bottom: 4.5rem; }
.hero h1 { color: var(--white); }
.hero p { color: var(--silver); font-size: 1.2rem; }
.hero-map { color: var(--silver); }
.hero-map text { font-family: var(--font); }
.page-hero { background: var(--abyss); color: var(--white); padding: 3.5rem 0 3rem; }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.5vw, 3.25rem); }
.page-hero p { color: var(--silver); font-size: 1.15rem; margin-bottom: 0; }

/* Buttons */
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.btn { display: inline-block; padding: .8rem 1.3rem; border-radius: var(--radius); font-weight: 650; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--flag); color: var(--abyss); }
.btn-primary:hover { background: #ffd451; color: var(--abyss); }
.btn-ghost { border-color: var(--silver); color: var(--white); }
.btn-ghost:hover { background: var(--hull); color: var(--white); }
.btn-dark { background: var(--abyss); color: var(--white); }
.btn-dark:hover { background: var(--hull); color: var(--white); }

/* Sections */
section { padding: 4.5rem 0; }
.tint { background: var(--mist); }
.section-head { margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); }

/* Service grid: plain columns divided by rules, not cards */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.service { padding: 1.5rem 0; border-top: 2px solid var(--abyss); }
.service p { color: var(--muted); margin: 0; }
.service-icon { width: 2.25rem; height: 2.25rem; color: var(--abyss); margin-bottom: .75rem; }

/* Delivery model */
.flow { display: grid; grid-template-columns: 1fr auto 1.3fr auto 1fr; gap: 1rem; align-items: stretch; }
.flow-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.flow-box.is-us { background: var(--abyss); color: var(--silver); border-color: var(--abyss); }
.flow-box.is-us h3 { color: var(--white); }
.flow-box ul { margin: 0; padding-left: 1.1rem; }
.flow-box li { margin: .25rem 0; }
.flow-arrow { align-self: center; color: var(--muted); width: 2rem; }

/* Port-call timeline: a real sequence, so it is numbered */
.timeline { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.timeline li { position: relative; padding: 2.4rem 1.25rem 0 0; counter-increment: step; }
.timeline li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--abyss); color: var(--white); font-weight: 700; display: grid; place-items: center; font-size: .9rem; z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: .9rem; left: 1.8rem; right: 0; height: 2px; background: var(--silver); }
.timeline li:last-child::after { display: none; }
.timeline h3 { margin-bottom: .3rem; }
.timeline p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Two-column text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: .7rem 0 .7rem 1.9rem; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: 1.15rem; width: .9rem; height: .5rem; border-left: 2.5px solid var(--abyss); border-bottom: 2.5px solid var(--abyss); transform: rotate(-45deg); }
.plain-list { columns: 2; column-gap: 3rem; padding-left: 1.1rem; margin: 0; }
.plain-list li { margin: .35rem 0; break-inside: avoid; }

.why h3 { margin-bottom: .3rem; }
.why p { color: var(--muted); }

.note { border-left: 4px solid var(--flag); background: var(--mist); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; }
.note p:last-child { margin-bottom: 0; }

/* People */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.person { border-top: 2px solid var(--abyss); padding-top: 1.25rem; }
.person h3 { margin-bottom: .15rem; }
.person .role { color: var(--muted); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.contact-card { background: var(--abyss); color: var(--silver); padding: 2rem; border-radius: var(--radius); }
.contact-card h2, .contact-card h3 { color: var(--white); }
.contact-card a { color: var(--white); }
.contact-card dl { margin: 0; }
.contact-card dt { color: var(--white); font-weight: 650; margin-top: 1.1rem; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: .15rem 0 0; }
.checklist { padding-left: 1.2rem; }
.checklist li { margin: .4rem 0; }

/* CTA band */
.cta-band { background: var(--hull); color: var(--white); padding: 3.5rem 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0 0 .3rem; }
.cta-band p { color: var(--silver); margin: 0; }

/* Footer */
.site-footer { background: var(--abyss); color: var(--silver); padding: 2.5rem 0; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.site-footer a { color: var(--white); }
.site-footer p { margin: 0 0 .4rem; }
.site-footer strong { color: var(--white); }
.legal { max-width: none; border-top: 1px solid var(--hull); margin-top: 2rem; padding-top: 1.25rem; grid-column: 1 / -1; font-size: .85rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero-map { max-width: 26rem; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .timeline li:nth-child(2)::after { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 600px) {
  section { padding: 3.25rem 0; }
  .services, .people { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li::after { display: none; }
  .plain-list { columns: 1; }
  .site-header .wrap { padding-top: .75rem; padding-bottom: .5rem; }
  .nav { width: 100%; margin-left: -.8rem; }
}
@media (prefers-reduced-motion: no-preference) {
}

/* Logo */
.brand-logo-mark { height: 1.9rem; width: auto; }
.brand-word { font-size: 1.5rem; font-weight: 400; font-stretch: 62%; text-transform: uppercase; letter-spacing: .14em; color: #e0e0e0; line-height: 1; }
.footer-logo { margin-bottom: 1rem; }
.footer-logo img { width: 6.5rem; height: auto; margin-bottom: .5rem; }
.footer-logo .brand-word { display: block; font-size: 1.35rem; }

/* Who we serve */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
.audiences > div { border-top: 2px solid var(--abyss); padding-top: 1.25rem; }
.audiences p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .audiences { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Map: keep coastline outlines a constant width while zooming */
.hero-map .hm-zoom path { vector-effect: non-scaling-stroke; }
