:root {
  --ink: #09121c;
  --white: #ffffff;
  --mist: #f3f6f8;
  --fog: #e7edf2;
  --line: rgba(9, 18, 28, 0.1);
  --line-dark: rgba(255, 255, 255, 0.16);
  --navy: #071420;
  --navy-soft: #0b1c2b;
  --red: #cf2e2e;
  --text-soft: #5f6b77;
  --serif: Verdana, Geneva, sans-serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.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;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.6rem;
  transition: background-color 0.24s var(--ease), backdrop-filter 0.24s var(--ease);
}

.site-nav.scrolled {
  background: rgba(7, 20, 32, 0.82);
  backdrop-filter: blur(18px);
}

.nav-brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand-logo,
.contact-logo,
.footer-logo {
  width: auto;
  height: 1.9rem;
}

.nav-links {
  gap: 1.75rem;
}

.nav-links a {
  position: relative;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.34rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s var(--ease);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  width: 1.35rem;
  height: 1px;
  background: var(--white);
  transition: transform 0.24s var(--ease);
}

.nav-toggle.open span:first-child {
  transform: translateY(0.18rem) rotate(45deg);
}

.nav-toggle.open span:last-child {
  transform: translateY(-0.18rem) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 5vw 11vh;
  overflow: hidden;
  background: var(--navy);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroPan 24s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 20, 32, 0.48) 0%, rgba(7, 20, 32, 0.24) 42%, rgba(7, 20, 32, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(7, 20, 32, 0.42) 100%);
}

@keyframes heroPan {
  0% {
    transform: scale(1.05) translate(-1.1%, 0.6%);
  }
  100% {
    transform: scale(1.1) translate(1.2%, -0.45%);
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  color: var(--white);
}

.eyebrow,
.section-kicker,
.modal-kicker {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}

.hero-brand,
.intro-band h2,
.chapter-copy h2,
.proof-copy h2,
.contact-copy h2,
.modal-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.hero-logo {
  width: clamp(11rem, 24vw, 18rem);
  height: auto;
  margin: 0 0 0.7rem;
}

.hero-rotator {
  margin-top: 0.15rem;
}

.hero-rotator-window {
  height: clamp(2.8rem, 5vw, 4.3rem);
  overflow: hidden;
}

.hero-typed {
  display: flex;
  align-items: center;
  height: clamp(2.8rem, 5vw, 4.3rem);
  font-family: var(--sans);
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.hero-typed::after {
  content: "";
  width: 1px;
  height: 0.9em;
  margin-left: 0.14em;
  background: rgba(255, 255, 255, 0.8);
  animation: caretBlink 0.8s steps(1) infinite;
}

@keyframes caretBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.hero-sub,
.intro-copy,
.chapter-copy p:last-of-type,
.contact-copy > p,
.contact-meta p,
.modal-desc {
  margin: 1.15rem 0 0;
  font-size: 1rem;
  line-height: 1.85;
}

.hero-sub {
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.82);
}

.intro-band {
  max-width: 58rem;
  margin: 0 auto;
  padding: 6.5rem 5vw 6rem;
  text-align: center;
}

.intro-band h2 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.intro-copy {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-soft);
}

.capability-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.capability-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease), background-color 0.24s var(--ease);
}

.capability-pill:hover {
  background: var(--mist);
  border-color: rgba(9, 18, 28, 0.2);
  transform: translateY(-2px);
}

.chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 0;
  align-items: stretch;
  min-height: 42rem;
  border-top: 1px solid var(--line);
}

.chapter-light {
  background: var(--mist);
}

.chapter-copy,
.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.8rem 5vw;
}

.chapter-copy h2,
.proof-copy h2,
.contact-copy h2 {
  font-size: clamp(2.35rem, 4vw, 4.3rem);
}

.chapter-copy p:last-of-type,
.intro-copy {
  color: var(--text-soft);
}

.chapter-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.chapter-points span,
.modal-tags span {
  padding: 0.5rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chapter-media {
  min-height: 100%;
}

.chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-band {
  padding: 6rem 5vw;
  background: var(--white);
}

.proof-copy {
  max-width: 48rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1px;
  margin-top: 2.5rem;
  background: var(--line);
}

.about-band {
  padding: 6rem 5vw;
  background: linear-gradient(180deg, rgba(7, 20, 32, 0.98), rgba(11, 28, 43, 0.98));
  color: var(--white);
  text-align: center;
}

.about-inner {
  max-width: 52rem;
  margin: 0 auto;
}

.about-inner h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.about-accent {
  margin: 0.5rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4.3rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--red);
}

.about-copy {
  max-width: 44rem;
  margin: 1.8rem auto 0;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
}

.work-card {
  min-height: 15rem;
  padding: 1.75rem;
  border: 0;
  text-align: left;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.24s var(--ease), background-color 0.24s var(--ease);
}

.work-card:hover {
  background: var(--mist);
  transform: translateY(-2px);
}

.work-card span {
  display: block;
  margin-bottom: 0.75rem;
  min-height: 3rem;
  line-height: 1.35;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.work-card strong {
  display: block;
  max-width: 19rem;
  min-height: 8.4rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  border-top: 1px solid var(--line);
  align-items: stretch;
}

.contact-copy {
  background: linear-gradient(180deg, rgba(7, 20, 32, 0.98), rgba(11, 28, 43, 0.98));
  color: var(--white);
  padding-top: 5.4rem;
}

.contact-copy > p,
.contact-meta p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-copy h2 {
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 0.98;
}

.contact-accent {
  margin: 0.55rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--red) !important;
}

.contact-meta-blocks {
  display: grid;
  gap: 1.7rem;
  margin-top: 2.2rem;
}

.contact-item span {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.contact-item p {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 2rem;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}

.partner-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.partner-strip img {
  display: block;
  width: auto;
  height: 2.3rem;
  object-fit: contain;
}

.partner-logo {
  opacity: 0.98;
}

.bureau-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.bureau-mark span {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.bureau-logo {
  height: 3rem;
}

.magaya-logo {
  height: 1.575rem;
}

.crffn-logo {
  height: 2.7rem;
}

.openclaw-logo {
  height: 2.8rem;
  border-radius: 0.45rem;
}

.shipsgo-logo {
  height: 0.54rem;
}

.contact-form-wrap {
  padding: 5.4rem 2.4rem 2.4rem;
  background: #f8fafc;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.42rem;
}

.field label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.field textarea {
  resize: vertical;
}

.cta-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.1rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid transparent;
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.24s var(--ease), background-color 0.24s var(--ease);
}

.cta-dark:hover {
  transform: translateY(-2px);
  background: var(--navy-soft);
}

.whatsapp-button {
  gap: 0.7rem;
  background: #25d366;
  color: var(--white);
}

.whatsapp-button:hover {
  background: #1fb85a;
}

.whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
}

.whatsapp-icon svg {
  width: 100%;
  height: 100%;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
  padding: 2rem 5vw;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p,
.site-footer a {
  display: inline-block;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(7, 20, 32, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s var(--ease);
}

.modal-shell.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: min(100%, 38rem);
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(7, 20, 32, 0.2);
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 1rem;
  border: 0;
  background: transparent;
  font-size: 2rem;
  color: var(--ink);
}

.modal-card h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.modal-desc {
  color: var(--text-soft);
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.modal-link {
  margin-top: 1.4rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .chapter,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .chapter-media {
    min-height: 26rem;
  }
}

@media (max-width: 820px) {
  .site-nav {
    padding: 0.95rem 1rem;
  }

  .nav-links {
    position: fixed;
    inset: 4.2rem 1rem auto 1rem;
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(7, 20, 32, 0.94);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.35rem);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 0 1.2rem 5rem;
  }

  .hero-brand {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .hero-logo {
    width: clamp(9.5rem, 42vw, 13rem);
  }

  .hero-rotator-window,
  .hero-typed {
    height: clamp(2.5rem, 11vw, 3.6rem);
  }

  .hero-typed {
    font-size: clamp(1.85rem, 9vw, 3rem);
  }

  .intro-band,
  .chapter-copy,
  .contact-copy,
  .proof-band,
  .contact-form-wrap {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

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

  .work-card {
    min-height: auto;
  }

  .work-card span,
  .work-card strong {
    min-height: 0;
  }

  .chapter-media {
    min-height: 22rem;
  }
}

.policy-page {
  background: var(--mist);
  color: var(--ink);
}

.policy-shell {
  padding: 7.5rem 5vw 4rem;
}

.policy-hero {
  max-width: 56rem;
  margin: 0 auto 2.5rem;
}

.policy-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.policy-intro {
  max-width: 44rem;
  margin: 1.25rem 0 0;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-soft);
}

.policy-grid {
  display: grid;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.policy-card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.policy-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.policy-card p,
.policy-card li {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text-soft);
}

.policy-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.policy-card p + p {
  margin-top: 0.85rem;
}

.policy-meta {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.policy-meta strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.policy-cta {
  margin-top: 2rem;
}

@media (max-width: 820px) {
  .policy-shell {
    padding: 6.5rem 1.2rem 3rem;
  }

  .policy-meta {
    grid-template-columns: 1fr;
  }
}
