/* Blowpack Ltd — premium brochure styles
   Navy + teal, refined typography, full-bleed imagery */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --navy: #0a1e36;
  --navy-deep: #061421;
  --navy-mid: #123052;
  --teal: #0e8a8a;
  --teal-light: #1aa8a8;
  --teal-pale: #e8f6f6;
  --teal-glow: rgba(14, 138, 138, 0.18);
  --cream: #f6f3ee;
  --slate: #4a5568;
  --grey: #6b7280;
  --border: #d8e0e8;
  --bg: #f4f7fa;
  --white: #ffffff;
  --text: #152033;
  --max: 1140px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(10, 30, 54, 0.08);
  --shadow-hover: 0 12px 40px rgba(10, 30, 54, 0.14);
  --font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--navy);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 2px;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  background: rgba(6, 20, 33, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.logo:hover {
  color: var(--white);
  opacity: 0.92;
}

.logo-mark {
  width: 52px;
  height: 32px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}

.logo:hover .logo-mark {
  transform: scale(1.05);
}

.logo-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.12rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 500;
  transition: background 0.2s;
}

.nav-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.1);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.2rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s, background 0.2s;
}

.site-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(14, 138, 138, 0.45);
}

/* —— Hero (home, full-bleed) —— */
.hero {
  position: relative;
  min-height: clamp(28rem, 72vh, 40rem);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 20, 33, 0.92) 0%, rgba(6, 20, 33, 0.78) 42%, rgba(10, 45, 55, 0.55) 100%),
    linear-gradient(to top, rgba(6, 20, 33, 0.55) 0%, transparent 45%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  padding: 5rem 0 4.5rem;
  animation: fadeUp 0.9s var(--ease) both;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8edfdf;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(142, 223, 223, 0.35);
  border-radius: 999px;
  background: rgba(14, 138, 138, 0.15);
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 5vw, 3.15rem);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero p {
  margin: 0 0 2rem;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* —— Page hero (inner) —— */
.page-hero {
  position: relative;
  color: var(--white);
  padding: 4rem 0 3.5rem;
  overflow: hidden;
  background: var(--navy-deep);
  min-height: 14rem;
  display: flex;
  align-items: center;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 20, 33, 0.9) 0%, rgba(6, 20, 33, 0.72) 55%, rgba(10, 50, 58, 0.55) 100%);
  z-index: 1;
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
  animation: fadeUp 0.7s var(--ease) both;
}

.page-hero h1 {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
}

.page-hero p {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
}

/* —— Buttons —— */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.3;
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(14, 138, 138, 0.35);
}

.btn-primary:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(14, 138, 138, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg);
}

.section-cream {
  background: var(--cream);
}

.section-header {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.section-header .eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.65rem;
}

.section-header h2 {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 400;
}

.section-header p {
  margin: 0;
  color: var(--slate);
  font-size: 1.05rem;
}

.lead {
  font-size: 1.18rem;
  color: var(--slate);
  max-width: 40rem;
  line-height: 1.75;
}

/* —— Cards —— */
.card-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(14, 138, 138, 0.35);
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  color: var(--navy);
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.98rem;
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: var(--teal);
  padding: 0.55rem;
  background: var(--teal-pale);
  border-radius: 10px;
}

.card-media {
  margin: -1.75rem -1.75rem 1.25rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card-media img {
  transform: scale(1.04);
}

/* —— Split feature —— */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }

  .split.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split.reverse .split-media {
    order: 2;
  }

  .split.reverse .split-copy {
    order: 1;
  }
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 4 / 3;
  background: var(--navy-deep);
}

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

.split-copy .eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.65rem;
}

.split-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  color: var(--navy);
  font-weight: 400;
  line-height: 1.25;
}

.split-copy p {
  margin: 0 0 1rem;
  color: var(--slate);
}

.split-copy p:last-child {
  margin-bottom: 0;
}

.img-caption {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--grey);
  font-style: italic;
}

/* —— Feature strip —— */
.feature-strip {
  display: grid;
  gap: 1.15rem;
  margin-top: 2.25rem;
}

@media (min-width: 700px) {
  .feature-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-item {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.feature-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-item strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
}

.feature-item span {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* —— CTA band —— */
.cta-band {
  position: relative;
  padding: 4.5rem 0;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}

.cta-band-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 20, 33, 0.88) 0%, rgba(14, 80, 90, 0.78) 100%);
  z-index: 1;
}

.cta-band .wrap {
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 400;
}

.cta-band p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

/* —— Prose —— */
.prose {
  max-width: 42rem;
}

.prose h2 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 400;
  margin: 2.25rem 0 0.85rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose ul {
  color: var(--slate);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.note-box {
  background: var(--teal-pale);
  border-left: 3px solid var(--teal);
  padding: 1.15rem 1.35rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.75rem 0;
}

.note-box p {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
}

.note-box strong {
  color: var(--navy);
}

/* —— Team —— */
.team-list {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .team-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy-mid));
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
  color: var(--navy);
}

.team-card .role {
  margin: 0;
  font-size: 0.88rem;
  color: var(--teal);
  font-weight: 600;
}

/* —— Contact —— */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }
}

.contact-details dt {
  font-weight: 600;
  color: var(--navy);
  margin-top: 1.15rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-details dt:first-child {
  margin-top: 0;
}

.contact-details dd {
  margin: 0.3rem 0 0;
  color: var(--slate);
}

.contact-details a {
  color: var(--teal);
  font-weight: 500;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow);
}

.form-card h2 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--navy);
}

.form-card > p {
  margin: 0 0 1.35rem;
  color: var(--slate);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.05rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
  outline: none;
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--grey);
  margin: 0.85rem 0 0;
}

.form-success {
  display: none;
  background: var(--teal-pale);
  border: 1px solid #a8d4d4;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  color: var(--navy);
}

.form-success.is-visible {
  display: block;
}

/* —— Footer —— */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 1.75rem;
  margin-top: auto;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-footer p {
  margin: 0 0 0.5rem;
  line-height: 1.55;
}

.site-footer a {
  color: #8edfdf;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

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

.footer-nav li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: #8edfdf;
}

/* —— Utility —— */
.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;
}

.mt-2 {
  margin-top: 2rem;
}

.reveal {
  animation: fadeUp 0.75s var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* —— Mobile nav —— */
@media (max-width: 719px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-bottom: 0.85rem;
  }

  .site-nav.is-open {
    display: block;
    animation: fadeUp 0.35s var(--ease) both;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.15rem;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0.9rem;
  }

  .hero-inner {
    padding: 3.5rem 0 3.25rem;
  }

  .section {
    padding: 3.25rem 0;
  }
}




.logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 5px 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform 0.35s var(--ease);
}

.logo:hover .logo-img {
  transform: scale(1.03);
}

@media (max-width: 640px) {
  .logo-img {
    height: 44px;
    max-width: 140px;
    padding: 4px 8px;
  }
}
