:root {
  --ink: #16252b;
  --navy: #102c3c;
  --navy-deep: #091f2b;
  --teal: #174b59;
  --gold: #d69a3c;
  --gold-light: #f1c36f;
  --sand: #f4efe6;
  --cream: #fbf9f5;
  --white: #ffffff;
  --muted: #68777d;
  --line: rgba(16, 44, 60, 0.15);
  --font-heading: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --shadow: 0 24px 80px rgba(9, 31, 43, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

p,
h1,
h2,
h3,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.narrow {
  width: min(780px, calc(100% - 48px));
}

.section {
  padding: 120px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--navy-deep);
  background: var(--white);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--gold-light);
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled,
.site-header.solid {
  position: fixed;
  color: var(--ink);
  background: rgba(251, 249, 245, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(9, 31, 43, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-heading);
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: var(--navy-deep);
  background: var(--gold-light);
  border-radius: 4px 13px 4px 4px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-copy {
  display: grid;
  gap: 5px;
}

.brand-copy strong {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.brand-copy span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:not(.nav-cta) {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 12px 18px;
  color: var(--navy-deep);
  background: var(--gold-light);
  border-radius: 3px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: 850px;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background-image: url("images/warehouse.jpg");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 24, 34, 0.95) 0%, rgba(8, 33, 44, 0.84) 48%, rgba(8, 33, 44, 0.33) 100%),
    linear-gradient(0deg, rgba(4, 24, 34, 0.88) 0%, transparent 42%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 100px 100px;
  mask-image: linear-gradient(to right, black, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 180px;
  padding-bottom: 56px;
}

.hero h1 {
  max-width: 940px;
  margin-bottom: 28px;
  font-size: clamp(52px, 7vw, 94px);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-weight: 400;
}

.hero-intro {
  max-width: 690px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 75px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--navy-deep);
  background: var(--gold-light);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffcf7b;
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.04);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  color: var(--navy-deep);
  background: var(--white);
}

.button-dark {
  color: var(--white);
  background: var(--navy);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--teal);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-meta div {
  display: grid;
  gap: 2px;
  padding-right: 35px;
}

.hero-meta div + div {
  padding-left: 35px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-meta span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-meta strong {
  font-size: 15px;
  font-weight: 500;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.section-heading h2,
.process-content > h2,
.contact-heading h2 {
  margin-bottom: 0;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.045em;
}

.about-copy .lead {
  margin-bottom: 22px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.55;
}

.about-copy > p:not(.lead) {
  color: var(--muted);
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.principles > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
}

.principle-number {
  grid-row: span 2;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
}

.principles strong {
  font-family: var(--font-heading);
  font-size: 16px;
}

.principles p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.services-section {
  color: var(--white);
  background: var(--navy-deep);
}

.section-intro-row {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 64px;
}

.section-intro-row > p {
  max-width: 460px;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.62);
}

.inverse h2 {
  color: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 310px 260px;
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  overflow: hidden;
  color: var(--ink);
  background: var(--sand);
  border-radius: 4px;
}

.service-card.featured {
  color: var(--navy-deep);
  background: var(--gold-light);
}

.card-index {
  font-size: 12px;
  font-weight: 700;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.service-card p {
  margin-bottom: 0;
  color: #58646a;
  font-size: 15px;
}

.featured p {
  color: rgba(9, 31, 43, 0.74);
}

.image-card {
  position: relative;
  grid-column: span 3;
  padding: 0;
  color: var(--white);
}

.image-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 25, 35, 0.8), rgba(5, 25, 35, 0.12));
  content: "";
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.image-card-caption {
  position: absolute;
  z-index: 1;
  bottom: 30px;
  left: 30px;
  display: grid;
  gap: 5px;
}

.image-card-caption span {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.image-card-caption strong {
  font-family: var(--font-heading);
  font-size: 22px;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: center;
  gap: 90px;
}

.process-image {
  position: relative;
  min-height: 660px;
}

.process-image::before {
  position: absolute;
  z-index: -1;
  top: -20px;
  right: 28px;
  bottom: 58px;
  left: -20px;
  background: var(--sand);
  content: "";
}

.process-image img {
  width: calc(100% - 34px);
  height: 600px;
  margin-left: auto;
  object-fit: cover;
}

.image-note {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: min(310px, 80%);
  gap: 6px;
  padding: 23px 27px;
  color: var(--white);
  background: var(--teal);
  box-shadow: var(--shadow);
}

.image-note span {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.image-note strong {
  font-family: var(--font-heading);
  font-size: 17px;
}

.process-content > h2 {
  margin-bottom: 50px;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 22px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
}

.process-list li > span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
}

.process-list h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.statement-section {
  position: relative;
  display: grid;
  min-height: 570px;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.statement-background {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image: url("images/warehouse.jpg");
  background-position: center 58%;
  background-size: cover;
  filter: saturate(0.55);
}

.statement-section::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 28, 38, 0.92), rgba(6, 28, 38, 0.62));
  content: "";
}

.statement-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.statement-content blockquote {
  max-width: 940px;
  margin: 0 auto;
  font-family: Georgia, serif;
  font-size: clamp(37px, 5.4vw, 68px);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.contact-section {
  background: var(--sand);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 95px;
}

.contact-heading h2 {
  max-width: 670px;
  margin-bottom: 28px;
}

.contact-heading > p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 17px;
}

.contact-card {
  padding: 44px;
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-item {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-label {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-item p,
.contact-item a {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.contact-item a {
  width: fit-content;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.contact-item.compact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #7dce8b;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(125, 206, 139, 0.12);
}

.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: #071a24;
}

.footer-main {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  padding-top: 76px;
  padding-bottom: 64px;
}

.footer-brand {
  margin-bottom: 22px;
  color: var(--white);
}

.footer-main > div > p {
  max-width: 340px;
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: 0.7fr 0.7fr 1.2fr;
  gap: 40px;
}

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links strong {
  margin-bottom: 6px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 13px;
}

.footer-links a {
  width: fit-content;
  font-size: 13px;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* Legal page */
.legal-page {
  background: var(--cream);
}

.back-link {
  font-size: 14px;
  font-weight: 600;
}

.legal-hero {
  padding: 190px 0 90px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(6, 28, 38, 0.97), rgba(16, 65, 78, 0.87)),
    url("images/warehouse.jpg") center / cover;
}

.legal-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(48px, 7vw, 78px);
  letter-spacing: -0.05em;
}

.legal-hero p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
}

.legal-content {
  padding-top: 80px;
  padding-bottom: 110px;
}

.legal-intro {
  margin-bottom: 60px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.6;
}

.legal-content section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 15px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.legal-content p,
.legal-content li {
  color: #526168;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-contact {
  margin-top: 20px;
  padding: 34px !important;
  color: var(--white);
  background: var(--navy);
  border-top: 0 !important;
}

.legal-contact h2,
.legal-contact p,
.legal-contact address {
  color: var(--white);
}

.legal-contact address {
  font-style: normal;
}

.legal-contact a {
  color: var(--gold-light);
  border-bottom: 1px solid currentColor;
}

.compact-footer .footer-bottom {
  min-height: 82px;
}

@media (max-width: 900px) {
  .section {
    padding: 90px 0;
  }

  .site-nav {
    position: fixed;
    inset: 84px 0 auto;
    display: none;
    padding: 28px 24px 36px;
    color: var(--ink);
    background: var(--cream);
    box-shadow: 0 22px 40px rgba(9, 31, 43, 0.15);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav .nav-cta {
    width: fit-content;
  }

  .menu-button {
    display: block;
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: 780px;
  }

  .split-layout,
  .process-layout,
  .contact-grid,
  .footer-main {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .section-intro-row {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .process-image {
    max-width: 680px;
  }

  .process-content {
    max-width: 680px;
  }

  .footer-links {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 32px, 1160px);
  }

  .section {
    padding: 74px 0;
  }

  .header-inner {
    min-height: 76px;
  }

  .site-nav {
    inset: 76px 0 auto;
  }

  .hero {
    min-height: 800px;
    background-position: 58% center;
  }

  .hero-content {
    padding-top: 150px;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .hero-intro {
    font-size: 17px;
  }

  .hero-actions {
    margin-bottom: 45px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-meta div,
  .hero-meta div + div {
    padding: 0;
    border-left: 0;
  }

  .section-heading h2,
  .process-content > h2,
  .contact-heading h2 {
    font-size: 40px;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 260px) 280px;
  }

  .image-card {
    grid-column: auto;
  }

  .process-image {
    min-height: 510px;
  }

  .process-image img {
    height: 460px;
  }

  .statement-section {
    min-height: 480px;
  }

  .contact-card {
    padding: 32px 25px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links > div:last-child {
    grid-column: span 2;
  }

  .footer-bottom {
    display: grid;
    gap: 7px;
  }

  .legal-hero {
    padding: 150px 0 70px;
  }

  .legal-content {
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .legal-contact {
    padding: 25px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
