/* Ace Stevedoring — palette and type from the website concept (Oct 2026). */

:root {
  --navy: #001135;
  --navy-deep: #000b24;
  --navy-line: #13284d;
  --navy-rule: #1a2d4f;
  --navy-panel: #0a2350;
  --navy-panel-line: #2d4d80;
  --blue: #0183ed;
  --blue-hover: #2b97f1;
  --blue-ink: #0067c7;
  --blue-ink-hover: #00559f;
  --wave: #12b4ff;
  --wave-ink: #5fc4ff;
  --silver: #e9ebec;
  --mist: #f4f6f8;
  --ph: #e2e7ee;
  --ph-line: #a9b4c3;
  --line: #d5dce5;
  --ink: #0b1a33;
  --muted: #3e4c61;
  --on-navy: #c9d2de;
  --on-navy-muted: #8a98ad;

  --head: "Barlow Semi Condensed", "Barlow", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 4px;
  --container: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-ink);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.08;
}

p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--wave);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 40px;
}

.brand-name {
  font-family: var(--head);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  color: var(--silver);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav-list a:hover {
  color: #fff;
}

.nav-list a[aria-current="page"],
.nav-list .is-active > a {
  border-bottom-color: var(--wave);
  color: #fff;
}

.has-sub {
  position: relative;
}

.sub-nav {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 220px;
  margin-top: 12px;
  padding: 8px 0;
  list-style: none;
  background: var(--navy);
  border: 1px solid var(--navy-line);
  border-top: 2px solid var(--blue);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 14px 32px rgba(0, 9, 30, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.sub-nav::before {
  content: "";
  position: absolute;
  top: -14px;
  right: 0;
  left: 0;
  height: 14px;
}

.has-sub:hover .sub-nav,
.has-sub:focus-within .sub-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-list .sub-nav a {
  padding: 9px 18px;
  border: 0;
}

.nav-list .sub-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-list .sub-nav a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--wave);
}

.nav-toggle {
  display: none;
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 14px;
}

.btn-primary {
  background: var(--blue);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.9);
  background: transparent;
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-solid {
  background: var(--blue-ink);
  color: #fff;
}

.btn-solid:hover {
  background: var(--blue-ink-hover);
}

.btn-ghost {
  border-color: var(--blue-ink);
  background: #fff;
  color: var(--blue-ink);
}

.btn-ghost:hover {
  background: #eef5fd;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-arrow {
  color: var(--blue-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.link-arrow::after {
  content: "\2192";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.15s;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--blue-ink);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Hero */

.hero {
  padding: clamp(44px, 6vw, 76px) 0 clamp(52px, 7vw, 88px);
  background: var(--navy);
  color: var(--on-navy);
}

.hero.has-crumbs {
  padding-top: 0;
}

.hero .eyebrow {
  color: var(--wave-ink);
}

.hero h1 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.04;
}

.hero .lead {
  max-width: 32em;
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  line-height: 1.65;
}

.hero .lead-wide {
  max-width: 46em;
}

.hero .btn-row {
  margin-top: 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-media img,
.hero-media .ph {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-rule {
  border-bottom: 3px solid var(--blue);
}

.breadcrumb {
  padding: 22px 0 clamp(28px, 4vw, 44px);
  color: #fff;
  font-size: 13px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--on-navy);
}

.breadcrumb a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-underline-offset: 2px;
}

/* Photo placeholders: gray boxes mark photos still to come. */

.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  aspect-ratio: 4 / 3;
  background: var(--ph);
  border: 1px dashed var(--ph-line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.ph-navy {
  background: var(--navy-panel);
  border-color: var(--navy-panel-line);
  color: var(--on-navy);
}

/* Key facts band */

.stats {
  background: var(--silver);
  border-bottom: 3px solid var(--blue);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 32px;
  padding: 30px 0;
  list-style: none;
}

.stat-value {
  display: block;
  color: var(--navy);
  font-family: var(--head);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

/* Sections */

.section {
  padding: clamp(56px, 8vw, 100px) 0;
}

.bg-mist {
  background: var(--mist);
}

.section h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px 64px;
  margin-bottom: 40px;
}

.split-head p {
  color: var(--muted);
  font-size: 17px;
}

.split-head .link-arrow {
  display: inline-block;
  margin-top: 14px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  list-style: none;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.photo-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.photo-row img.keep-top {
  object-position: center 20%;
}

/* Home: service cards */

.svc-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.svc-card > img,
.svc-card > .ph {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.svc-card > .ph {
  background: #eef1f5;
  border-bottom: 1px solid var(--line);
}

.svc-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 26px 26px;
}

.svc-body h3 {
  margin-bottom: 10px;
  font-size: 1.6rem;
  font-weight: 600;
}

.svc-body > p {
  color: var(--muted);
  font-size: 15px;
}

.svc-body .link-arrow {
  align-self: flex-start;
  margin-top: auto;
}

.checklist {
  display: grid;
  gap: 6px;
  margin: 16px 0 22px;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-size: 15.5px;
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 2px;
  width: 14px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5.2 5 9 13 1' fill='none' stroke='%230067C7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Service pages */

.offer-card {
  padding: 24px 26px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
}

.offer-card h3,
.cargo-card h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  font-weight: 600;
}

.offer-card p {
  color: var(--muted);
  font-size: 15px;
}

.cargo-card {
  padding: 24px 26px;
  background: var(--mist);
  border-radius: var(--radius);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  list-style: none;
}

.pill {
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
}

.price-tag {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 3px 10px;
  background: var(--mist);
  border-radius: 999px;
  color: var(--blue-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-tag.is-new {
  background: var(--navy);
  color: #fff;
}

.price-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
}

.price-specs {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.price-amount {
  margin-top: auto;
  padding-top: 18px;
  color: var(--navy);
  font-family: var(--head);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.price-amount span {
  margin-left: 4px;
  color: var(--muted);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.price-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
}

.gallery img,
.gallery .ph {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.other-card {
  display: flex;
  align-items: center;
  min-height: 96px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.other-card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(0, 17, 53, 0.08);
}

.other-card img {
  flex: none;
  align-self: stretch;
  width: 34%;
  max-width: 160px;
  object-fit: cover;
}

.other-card span {
  padding: 18px 22px;
  color: var(--navy);
  font-family: var(--head);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}

.other-card span::after {
  content: "\2192";
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.15s;
}

.other-card:hover span::after {
  transform: translateX(3px);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 32px 56px;
}

.location-grid h2 {
  margin-bottom: 14px;
}

.location-grid p {
  color: var(--muted);
}

.location-grid p + p {
  margin-top: 6px;
}

.location-grid .btn-row {
  margin-top: 24px;
}

/* About */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 32px 64px;
}

.story-grid .prose p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16.5px;
}

.timeline {
  display: grid;
  gap: 24px;
  padding-left: 24px;
  border-left: 2px solid var(--blue);
  list-style: none;
}

.timeline-year {
  display: block;
  color: var(--navy);
  font-family: var(--head);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
}

.timeline p {
  margin-top: 4px;
  color: var(--muted);
}

.team-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.team-card .ph {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 3px solid var(--blue);
}

.team-body {
  padding: 20px 24px 24px;
}

.team-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.team-role {
  margin-top: 6px;
  color: var(--blue-ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Call to action band */

.cta-band {
  padding: clamp(36px, 5vw, 52px) 0;
  background: var(--navy);
  border-top: 3px solid var(--blue);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

/* Quote form */

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 32px 64px;
}

.quote-grid.form-first {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
}

.quote-intro p {
  margin-top: 14px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}

.field-full,
.form-actions {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--ph-line);
  border-radius: 3px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.field select {
  padding-right: 38px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%23001135' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 12px 8px;
  appearance: none;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-ink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(1, 131, 237, 0.22);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.form-status {
  color: var(--muted);
  font-size: 14.5px;
}

.quote-aside {
  padding: 26px 28px;
  background: var(--mist);
  border-radius: var(--radius);
}

.quote-aside h2 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.quote-aside h3 {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.quote-aside address,
.quote-aside p {
  color: var(--muted);
  font-size: 15px;
}

.quote-aside > * + * {
  margin-top: 16px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: stretch;
  gap: 24px;
}

.loc-list {
  display: grid;
  align-content: start;
  gap: 16px;
}

.loc-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0 16px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.loc-card.no-badge {
  grid-template-columns: minmax(0, 1fr);
}

.loc-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--navy);
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(1, 131, 237, 0.55);
  color: #fff;
  font-family: var(--head);
  font-size: 16px;
  font-weight: 700;
}

.loc-card h2 {
  margin-bottom: 6px;
  font-size: 1.5rem;
  font-weight: 600;
}

.loc-card .tel {
  display: inline-block;
  margin-top: 8px;
}

.loc-card .link-arrow {
  display: inline-block;
  margin-top: 10px;
}

.loc-card .note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

/* Maps */

.map {
  position: relative;
  z-index: 0;
  min-height: 440px;
  overflow: hidden;
  background: #e8eef5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-fallback {
  display: grid;
  align-content: center;
  gap: 8px;
  height: 100%;
  min-height: inherit;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.location-grid .map {
  min-height: 340px;
}

.leaflet-container {
  font-family: var(--body);
}

.map .leaflet-tile-pane {
  filter: saturate(0.45) brightness(1.04);
}

.map-pin {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.map-pin-num {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--navy);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(18, 180, 255, 0.35);
  color: #fff;
  font-family: var(--head);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.map-pin-label {
  padding: 5px 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 17, 53, 0.12);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

/* Footer */

.site-footer {
  padding: clamp(44px, 6vw, 64px) 0 28px;
  background: var(--navy-deep);
  color: var(--on-navy);
  font-size: 14.5px;
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 32px 48px;
}

.footer-logo img {
  width: 104px;
}

.footer-org {
  margin-bottom: 12px;
  color: #fff;
  font-weight: 600;
}

.footer-loc + .footer-loc {
  margin-top: 14px;
}

.footer-loc-title {
  color: #fff;
  font-weight: 600;
}

.footer-email {
  margin-top: 14px;
}

.site-footer a {
  color: var(--on-navy);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-links {
  display: grid;
  align-content: start;
  justify-self: end;
  gap: 6px;
  list-style: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--navy-rule);
  color: var(--on-navy-muted);
  font-size: 13px;
}

.footer-bottom a {
  color: inherit;
}

/* Photo credits */

.credit-list {
  display: grid;
  gap: 16px;
  max-width: 860px;
  list-style: none;
}

.credit-list li {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.credit-list img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.credit-list h2 {
  margin-bottom: 6px;
  font-size: 1.25rem;
  font-weight: 600;
}

.credit-list p {
  color: var(--muted);
  font-size: 15px;
}

/* Responsive */

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .hero-grid,
  .split-head,
  .quote-grid,
  .quote-grid.form-first,
  .story-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .photo-row .ph,
  .photo-row img {
    aspect-ratio: 16 / 9;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-logo {
    grid-column: 1 / -1;
  }

  .footer-links {
    justify-self: start;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0 16px;
  }

  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 0 20px;
  }

  .js .site-nav {
    display: none;
  }

  .js .site-header.is-open .site-nav {
    display: flex;
  }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
  }

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.2s, background-color 0.2s;
  }

  .nav-toggle-bars {
    position: relative;
  }

  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-bars::before {
    top: -7px;
  }

  .nav-toggle-bars::after {
    top: 7px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    padding: 13px 0;
    border-bottom: 1px solid var(--navy-line);
    font-size: 17px;
  }

  .nav-list a[aria-current="page"],
  .nav-list .is-active > a {
    padding-left: 12px;
    border-bottom-color: var(--navy-line);
    box-shadow: inset 3px 0 0 var(--wave);
  }

  .sub-nav {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 16px;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .sub-nav::before {
    display: none;
  }

  .nav-list .sub-nav a {
    padding: 11px 0;
    border-bottom: 1px solid var(--navy-line);
    font-size: 16px;
  }

  .nav-list .sub-nav a[aria-current="page"] {
    padding-left: 12px;
  }

  .nav-cta {
    margin-top: 18px;
  }
}

@media (max-width: 600px) {
  .brand-name {
    font-size: 19px;
  }

  .grid-2,
  .form-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-4 {
    gap: 10px;
  }

  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .price-card {
    padding: 18px 16px 20px;
  }

  .hero .btn-row .btn,
  .cta-inner .btn-row,
  .cta-inner .btn-row .btn {
    flex: 1 1 auto;
  }

  .cta-inner > .btn {
    width: 100%;
  }

  .map {
    min-height: 360px;
  }

  .credit-list li {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
