/* ShoreMate — landing page (option 3a). Design tokens from the go-live handoff. */

:root {
  --navy: #0F2A44;      /* Harbour Navy  */
  --mustard: #D4A017;   /* Dune Mustard  */
  --cream: #F5EFE6;     /* Shell Cream   */
  --slate: #3D4A5C;     /* Jetty Slate   */
  --white: #FFFFFF;
  --border: #EDE6D9;
  --input: #D9D2C2;
  --muted: #6B7280;
  --faint: #9CA3AF;
  --scrim-light: #DCE4EC;
  --line: #E3DAC7;
  --content: 1280px;
  --radius-card: 12px;
  --radius-panel: 16px;
  --radius-btn: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--slate);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.015em;
}

a { text-decoration: none; color: inherit; }

h1, h2, h3 { letter-spacing: -0.015em; }

/* ---- Accessibility (shared across all pages) ---- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px;
  border-radius: 0 0 8px 0; font-weight: 600; font-size: 14px;
}
.skip-link:focus { left: 0; }

/* Visible keyboard focus for all interactive elements */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

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

.wrap { max-width: var(--content); margin: 0 auto; }

/* Section spacing helpers */
.band { padding: 48px 56px; }
.band-navy { background: var(--navy); }
.band-white { background: var(--white); }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--mustard); color: var(--navy); }
.btn-navy   { background: var(--navy);   color: var(--white); }

/* Eyebrow / caps labels */
.eyebrow {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--mustard);
}

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--white); box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  max-width: var(--content); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 16px 40px; flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand svg { width: 26px; height: 26px; }
.brand-name { font-size: 17px; font-weight: 600; color: var(--navy); }
.site-nav {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  flex: 1; min-width: 0; flex-wrap: wrap;
}
.site-nav a { font-size: 13.5px; font-weight: 500; color: var(--navy); }
.site-nav a:hover { color: var(--mustard); }
.header-cta { font-size: 13.5px; padding: 11px 18px; flex-shrink: 0; }

/* ============ HERO ============ */
.hero { position: relative; height: 480px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,42,68,.9), rgba(15,42,68,.05) 65%);
  display: flex; align-items: flex-end;
}
.hero-copy {
  max-width: 660px; padding: 40px 56px;
  display: flex; flex-direction: column; gap: 12px;
}
.hero-copy h1 {
  margin: 0; font-size: 36px; font-weight: 600; color: var(--white); line-height: 1.15;
}
.hero-copy p { margin: 0; font-size: 15px; color: var(--scrim-light); line-height: 1.6; }
.hero-copy .btn { align-self: flex-start; font-size: 15px; padding: 14px 26px; }

/* ============ PROCESS STRIP ============ */
.process { padding: 40px 56px; }
.process-row { position: relative; display: flex; align-items: flex-start; }
.process-line {
  position: absolute; top: 20px; left: 12%; right: 12%; height: 2px; background: var(--line);
}
.process-step {
  flex: 1; position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--mustard); color: var(--navy); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-label { font-size: 13.5px; font-weight: 600; color: var(--navy); }

/* ============ SERVICES ============ */
.section-title {
  text-align: center; font-size: 24px; font-weight: 600; color: var(--navy); margin: 0;
}
.services { padding: 24px 56px 48px; display: flex; flex-direction: column; gap: 28px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  scroll-margin-top: 90px; background: var(--white);
  border-radius: var(--radius-card); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.accent-bar { width: 36px; height: 4px; background: var(--mustard); border-radius: 2px; }
.service-card h3 { margin: 0; font-size: 17px; font-weight: 600; color: var(--navy); }
.service-card p  { margin: 0; font-size: 13.5px; color: var(--slate); line-height: 1.6; }
.uses { font-size: 12px; color: var(--muted); }
.card-link { font-size: 13px; font-weight: 600; color: var(--navy); margin-top: 4px; }
.card-link:hover { color: var(--mustard); }

/* ============ ABOUT ============ */
.about {
  scroll-margin-top: 90px; padding: 48px 56px; background: var(--white);
  display: flex; gap: 40px; align-items: center;
}
.about-photo { flex: 1; height: 320px; border-radius: 14px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.about-copy .eyebrow { letter-spacing: 0.15em; }
.about-copy h2 { margin: 0; font-size: 24px; font-weight: 600; color: var(--navy); }
.about-copy p  { margin: 0; font-size: 14.5px; color: var(--slate); line-height: 1.7; }

/* ============ STANDARD (navy band) ============ */
.standard h2 { text-align: center; font-size: 24px; font-weight: 600; color: var(--white); margin: 0 0 28px; }
.standard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.standard-col { display: flex; flex-direction: column; gap: 6px; }
.standard-col h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--mustard); }
.standard-col p  { margin: 0; font-size: 12.5px; color: var(--scrim-light); line-height: 1.6; }

/* ============ RECENT WORK ============ */
.work { padding: 48px 56px; display: flex; flex-direction: column; gap: 20px; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.work-tile { height: 200px; border-radius: 10px; overflow: hidden; }
.work-tile img { width: 100%; height: 100%; object-fit: cover; }

/* ============ FAQ ============ */
.faq { scroll-margin-top: 90px; padding: 48px 56px; background: var(--white); }
.faq h2 { font-size: 24px; font-weight: 600; color: var(--navy); margin: 0 0 16px; }
.faq-row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.faq-row:last-child { border-bottom: 1px solid var(--border); }
.faq-num { font-size: 14px; font-weight: 700; color: var(--mustard); flex-shrink: 0; }
.faq-q { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.faq-a { font-size: 13.5px; color: var(--muted); margin: 4px 0 0; line-height: 1.6; }

/* ============ CLOSING CTA ============ */
.closing {
  padding: 44px 56px; background: var(--mustard);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.closing-head { font-size: 22px; font-weight: 600; color: var(--navy); }
.closing-sub  { font-size: 14px; color: var(--slate); margin-top: 4px; }
.closing .btn { font-size: 15px; padding: 14px 28px; }

/* ============ FOOTER ============ */
.site-footer {
  padding: 40px 56px; background: var(--navy); color: var(--scrim-light);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand svg { width: 24px; height: 24px; }
.footer-name { font-size: 14px; font-weight: 600; color: var(--white); }
.footer-tag  { font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mustard); }
.footer-contact { font-size: 12.5px; text-align: right; line-height: 1.7; }
.footer-contact a:hover { color: var(--mustard); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .header-inner, .band, .process, .services, .about, .work, .faq, .closing, .site-footer { padding-left: 24px; padding-right: 24px; }
  .site-nav { display: none; }              /* keep header clean on small screens */
  .card-grid { grid-template-columns: 1fr; }
  .standard-grid { grid-template-columns: repeat(2, 1fr); }
  .about { flex-direction: column; align-items: stretch; }
  .about-photo { height: 240px; }
  .hero { height: 440px; }
  .hero-copy { padding: 28px 24px; }
  .hero-copy h1 { font-size: 30px; }
}

@media (max-width: 560px) {
  .process-row { flex-wrap: wrap; gap: 20px; }
  .process-line { display: none; }
  .process-step { flex: 0 0 calc(50% - 10px); }
  .standard-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .closing { flex-direction: column; align-items: flex-start; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .footer-contact { text-align: left; }
}
