/* Voice of the Trumpet - brand palette taken from the logo */
:root {
  --cyan: #14c8e0;
  --cyan-deep: #0aa9c2;
  --indigo: #2d0fa6;
  --indigo-deep: #1d0878;
  --rose: #e03a5f;
  --ink: #0e0a24;
  --muted: #5b5a70;
  --paper: #f5fbfd;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(29, 8, 120, 0.35);
  --grad: linear-gradient(135deg, var(--cyan) 0%, var(--indigo) 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { color: var(--muted); }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
section { padding: clamp(64px, 9vw, 110px) 0; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan-deep); margin-bottom: 12px;
}
.lead { font-size: 1.1rem; max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { margin-bottom: 44px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-family: inherit; font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 10px 24px -10px rgba(224, 58, 95, .8); }
.btn-primary:hover { background: #c92c50; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--indigo); }
.btn-indigo { background: var(--indigo); color: #fff; }
.btn-indigo:hover { background: var(--indigo-deep); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid rgba(45,15,166,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 16px; }
.brand img { height: 56px; width: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 500; position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 0;
  background: var(--grad); border-radius: 3px; transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--indigo); font-weight: 600; }
.nav-cta { padding: 10px 20px !important; font-size: .95rem; }
.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer;
}
.nav-toggle span { display: block; height: 3px; background: var(--indigo); margin: 6px auto; border-radius: 3px; width: 26px; }

/* Hero */
.hero {
  position: relative; color: #fff; min-height: min(92vh, 780px); display: flex; align-items: center;
  background: var(--indigo-deep) center/cover no-repeat;
  isolation: isolate; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(29,8,120,.92) 0%, rgba(45,15,166,.78) 45%, rgba(20,200,224,.55) 100%);
}
.hero-inner { padding: 110px 0; max-width: 760px; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--cyan); }
.hero p { color: rgba(255,255,255,.88); font-size: 1.15rem; margin: 22px 0 34px; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .eyebrow { color: #7ff0ff; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.badge {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff;
  padding: 8px 16px; border-radius: 999px; font-size: .9rem; backdrop-filter: blur(6px);
}

.page-hero {
  color: #fff; padding: 110px 0 90px; background: var(--grad); position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  right: -120px; top: -160px; border: 56px solid rgba(255,255,255,.12);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-hero p { color: rgba(255,255,255,.9); max-width: 60ch; margin-top: 14px; font-size: 1.1rem; }
.crumb { font-size: .9rem; opacity: .85; margin-bottom: 10px; }
.crumb a { color: #fff; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.card {
  background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
  border: 1px solid rgba(45,15,166,.06); transition: transform .25s ease;
}
.card:hover { transform: translateY(-6px); }
.icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px;
}
.card p { margin-top: 8px; }

/* Feature image */
.photo-frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.photo-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: 28px;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.2);
}
.float-tag {
  position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; z-index: 2;
}
.float-tag strong { display: block; color: var(--indigo); font-size: 1.4rem; line-height: 1; }
.float-tag span { font-size: .85rem; color: var(--muted); }

/* Checklist */
.checks { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.checks li::before {
  content: "✓"; flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--cyan); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .85rem; margin-top: 2px;
}

/* Quote / CTA band */
.band {
  background: var(--grad); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.9); }

/* Strip of photos */
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-strip img { width: 100%; height: 260px; object-fit: cover; border-radius: 20px; transition: transform .35s ease; }
.photo-strip img:hover { transform: scale(1.03); }

/* Gallery masonry */
.masonry { columns: 3 280px; column-gap: 18px; }
.masonry figure {
  break-inside: avoid; margin: 0 0 18px; border-radius: 18px; overflow: hidden;
  position: relative; cursor: zoom-in; background: #eef6fb; box-shadow: 0 8px 22px -14px rgba(14,10,36,.5);
}
.masonry img { width: 100%; height: auto; transition: transform .5s ease, filter .3s ease; }
.masonry figure:hover img { transform: scale(1.05); filter: saturate(1.1); }
.masonry figure::after {
  content: "View"; position: absolute; inset: auto 12px 12px auto; background: rgba(14,10,36,.75);
  color: #fff; font-size: .8rem; padding: 6px 12px; border-radius: 999px; opacity: 0; transition: opacity .25s;
}
.masonry figure:hover::after { opacity: 1; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.lightbox {
  position: fixed; inset: 0; background: rgba(14,10,36,.92); display: none; place-items: center;
  z-index: 100; padding: 20px;
}
.lightbox.open { display: grid; }
.lightbox img { max-height: 88vh; max-width: min(1100px, 100%); border-radius: 14px; }
.lightbox button {
  position: absolute; top: 18px; right: 18px; background: #fff; border: 0; width: 46px; height: 46px;
  border-radius: 50%; font-size: 1.4rem; cursor: pointer; color: var(--indigo);
}

/* Services list */
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 16px;
  background: var(--paper); border: 1px solid rgba(20,200,224,.25); transition: background .2s, transform .2s;
}
.service-item:hover { background: #fff; transform: translateX(4px); box-shadow: var(--shadow); }
.service-item .dot {
  flex: 0 0 12px; height: 12px; margin-top: 8px; border-radius: 50%; background: var(--rose);
}
.service-item h3 { margin-bottom: 4px; }

.values { background: var(--paper); }
.mission-box { border-left: 6px solid var(--cyan); padding: 8px 0 8px 24px; }
.mission-box p { margin-top: 10px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: start; }
.info-stack { display: grid; gap: 16px; }
.info-card {
  display: flex; gap: 18px; align-items: flex-start; background: #fff; padding: 22px 24px;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.info-card .icon { margin: 0; flex: 0 0 52px; height: 52px; width: 52px; font-size: 1.2rem; }
.info-card h3 { margin-bottom: 2px; }
.info-card a { color: var(--indigo); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.form-card { background: #fff; border-radius: 26px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 14px 16px; border-radius: 12px; border: 1.5px solid #d8e6ee;
  background: var(--paper); color: var(--ink); transition: border .2s, box-shadow .2s; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(20,200,224,.2); background: #fff;
}
.form-note { font-size: .85rem; margin-top: 10px; }
.form-status { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.form-status.success { background: #e6f9fc; color: #05677a; border: 1px solid var(--cyan); }
.form-status.error { background: #fdecef; color: #9b1837; border: 1px solid var(--rose); }
.form-status[hidden] { display: none; }
/* Honeypot: hidden from people, visible to bots that fill every field */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.map-wrap { margin-top: 36px; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--ink); color: #c9c8dc; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.site-footer p, .site-footer li { color: #b3b2c9; font-size: .95rem; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #b3b2c9; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.footer-logo { background: #fff; padding: 10px 14px; border-radius: 14px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 56px; width: auto; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem;
}
.sys-credit a { color: var(--cyan); font-weight: 700; }
.sys-credit a:hover { color: #7ff0ff; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 84px; left: 0; right: 0; background: #fff; flex-direction: column;
    padding: 20px 24px 28px; gap: 6px; transform: translateY(-120%); transition: transform .3s ease;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.25); z-index: 49; align-items: stretch;
  }
  .nav-links.open { transform: none; }
  .nav-links a { display: block; padding: 12px 4px; }
  .nav-cta { text-align: center; }
  .grid-3, .service-list, form .row { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip img { height: 180px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 80px 0; }
  .map-wrap iframe { height: 320px; }
  .brand img { height: 46px; }
}
/* Tablets and small laptops: hamburger menu up to 960px so the links never crowd */
@media (max-width: 960px) {
  .nav { height: 72px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column;
    padding: 20px 24px 28px; gap: 6px; transform: translateY(-120%); transition: transform .3s ease;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.25); z-index: 49; align-items: stretch;
  }
  .nav-links.open { transform: none; }
  .nav-links a { display: block; padding: 12px 4px; }
  .nav-cta { text-align: center; }
  .brand img { height: 50px; }
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hero-inner { padding: 96px 0; }
  .photo-frame img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .grid-3 > :last-child:nth-child(odd) { grid-column: auto; }
}
@media (min-width: 961px) {
  .nav-links { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
