/* Peerless Production Group — site styles
   Palette is drawn from the blue-to-white gradient logo, set against a night sky. */
:root {
  --night: #050b1a;
  --navy: #0a1530;
  --panel: #101f44;
  --line: rgba(160, 200, 255, .16);
  --blue: #2a78c8;
  --blue-deep: #0d4a86;
  --ice: #9fd4ff;
  --frost: #eef5fd;
  --white: #fff;
  --text: #dbe7fb;
  --muted: #9fb2d4;
  --ink: #0b1730;
  --ink-soft: #44546f;
  --glow: #ffcf6b;
  --grad: linear-gradient(180deg, #2f7fd0 0%, #9fd4ff 55%, #eaf6ff 100%);
  --radius: 14px;
  --wrap: 1200px;
  --font: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Inter, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  color: var(--text); background: var(--night);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--ice); text-underline-offset: .18em; }
a:hover { color: var(--white); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; color: var(--white); font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--ink); padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.eyebrow {
  display: inline-block; margin-bottom: 1rem; font-size: .8rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ice);
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--text); max-width: 46ch; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease; cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(180deg, #bfe3ff, #6fb6f2); color: #05214a; }
.btn-primary:hover { color: #05214a; background: linear-gradient(180deg, #fff, #9fd4ff); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); background: rgba(5, 11, 26, .25); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { color: var(--white); background: #14264d; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.arrow::after { content: "\2192"; transition: transform .15s ease; }
a:hover > .arrow::after, .arrow:hover::after { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(5, 11, 26, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav > li { position: relative; }
.nav a { display: block; padding: .6rem .85rem; color: var(--text); text-decoration: none; font-weight: 600; font-size: .96rem; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: rgba(159, 212, 255, .1); }
.nav .btn { padding: .65rem 1.2rem; margin-left: .6rem; color: #05214a; }
.nav .btn:hover { background: linear-gradient(180deg, #fff, #9fd4ff); color: #05214a; }
.sub {
  position: absolute; left: 0; top: 100%; min-width: 260px; padding: .5rem; background: var(--navy);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub > a::after { content: ""; display: inline-block; width: .4em; height: .4em; margin-left: .45em; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-.2em) rotate(45deg); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--white); transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .nav-wrap {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 77px); height: calc(100dvh - 77px);
    background: var(--night); padding: 1rem 1.25rem 3rem; overflow-y: auto;
    display: none;
  }
  .nav-wrap.open { display: block; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: .95rem .5rem; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: none; padding: 0 0 0 1rem; min-width: 0; }
  .sub a { font-size: 1rem; padding: .7rem .5rem; color: var(--muted); }
  .has-sub > a::after { display: none; }
  .nav .btn { margin: 1.5rem 0 0; justify-content: center; border-bottom: 0; border-radius: 999px; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media video { position: absolute; inset: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5, 11, 26, .7) 0%, rgba(5, 11, 26, .25) 55%, transparent 80%),
    linear-gradient(180deg, rgba(5, 11, 26, .35) 0%, rgba(5, 11, 26, .15) 35%, rgba(5, 11, 26, .88) 82%, var(--night) 100%);
}
.hero .wrap { padding-block: 7rem 4.5rem; }
.hero h1 { max-width: 15ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.hero .lede { margin-top: 1.4rem; max-width: 52ch; }
.hero-sm { min-height: min(64vh, 620px); }
.hero-sm h1 { max-width: 18ch; font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
.video-toggle {
  position: absolute; right: 1.25rem; bottom: 1.25rem; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5); background: rgba(5, 11, 26, .55); color: var(--white); cursor: pointer; font-size: .8rem;
}
.crumbs { font-size: .85rem; margin-bottom: 1.2rem; color: var(--muted); }
.crumbs a { color: var(--text); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 .5em; opacity: .6; }

.page-head { padding: 5rem 0 3rem; background: radial-gradient(1000px 420px at 15% -10%, rgba(42, 120, 200, .35), transparent 70%); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 18ch; }
.page-head .lede { margin-top: 1.2rem; max-width: 58ch; }

/* Sections */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { max-width: 62ch; margin-bottom: 3rem; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }
.band-navy { background: var(--navy); }
.band-light { background: var(--frost); color: var(--ink-soft); }
.band-light h2, .band-light h3 { color: var(--ink); }
.band-light .eyebrow { color: var(--blue-deep); }
.band-light a { color: var(--blue-deep); }
.band-light .section-head p { color: var(--ink-soft); }

/* Proof strip */
.proof { border-block: 1px solid var(--line); background: var(--navy); padding: 1.6rem 0; }
.proof .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.6rem; }
.proof strong { color: var(--white); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.proof li { display: inline; color: var(--muted); font-weight: 600; font-size: .98rem; }
.proof ul { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }

/* Attraction cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.card {
  position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4; border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--white); isolation: isolate; background: var(--panel);
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(5, 11, 26, .92) 100%); }
.card:hover img { transform: scale(1.06); }
.card-body { padding: 1.3rem; }
.card h3 { font-size: 1.35rem; }
.card p { margin: .4rem 0 0; font-size: .93rem; color: var(--text); line-height: 1.45; }
.card .more { display: inline-block; margin-top: .8rem; font-size: .85rem; font-weight: 700; color: var(--ice); letter-spacing: .04em; }
.cards.wide { grid-template-columns: repeat(3, 1fr); }
.cards.wide .card { aspect-ratio: 4 / 3; }
@media (max-width: 1020px) { .cards, .cards.wide { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards, .cards.wide { grid-template-columns: 1fr; } .card { aspect-ratio: 4 / 3; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { padding: 2rem; border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 40px rgba(11, 23, 48, .08); counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.2rem;
  border-radius: 50%; background: linear-gradient(180deg, #2f7fd0, #0d4a86); color: var(--white); font-weight: 800;
}
.step p { margin: .6rem 0 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
.tiles.two { grid-template-columns: repeat(2, 1fr); }
.tile { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(16, 31, 68, .9), rgba(10, 21, 48, .9)); }
.tile h3 { margin-bottom: .5rem; }
.tile p { margin: 0; color: var(--muted); font-size: .98rem; }
.tile .more { display: inline-block; margin-top: 1rem; font-weight: 700; text-decoration: none; }
.band-light .tile { background: var(--white); border-color: #dbe6f5; }
.band-light .tile p { color: var(--ink-soft); }
@media (max-width: 1020px) { .tiles, .tiles.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles, .tiles.three, .tiles.two { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.top { align-items: start; }
.split-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.split h2 { margin-bottom: 1.2rem; }
.split.flip .split-media { order: 2; }
.split.form-split { grid-template-columns: 1.5fr 1fr; }
@media (max-width: 860px) { .split, .split.form-split { grid-template-columns: 1fr; } .split.flip .split-media { order: 0; } }

/* Case studies */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.case { padding: 2.2rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.case .stat { display: block; font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.case .stat-label { display: block; margin: .5rem 0 1.4rem; color: var(--ice); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.case h3 { margin-bottom: .6rem; }
.case p { color: var(--text); margin: 0; }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } }

/* Check lists and facts */
.checks li { position: relative; padding: .55rem 0 .55rem 2rem; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: .2rem; top: 1rem; width: .9rem; height: .5rem; border-left: 3px solid var(--ice); border-bottom: 3px solid var(--ice); transform: rotate(-45deg); }
.band-light .checks li { border-color: #d5e1f1; color: var(--ink); }
.band-light .checks li::before { border-color: var(--blue); }
.facts { border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem 1.6rem; background: var(--navy); margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .9rem; font-weight: 600; flex: none; }
.facts dd { margin: 0; color: var(--white); font-weight: 600; text-align: right; }
.prose p { font-size: 1.12rem; max-width: 62ch; }
.prose .logo-mark { width: 220px; margin-bottom: 1.5rem; }
.pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.pills li { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; font-weight: 600; color: var(--text); }
.band-light .pills li { border-color: #c8d8ee; color: var(--ink); background: var(--white); }

/* Gallery */
.gallery { columns: 3; column-gap: 1rem; }
.gallery a { display: block; margin-bottom: 1rem; border-radius: 10px; overflow: hidden; break-inside: avoid; }
.gallery img { width: 100%; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .gallery { columns: 2; } }
@media (max-width: 480px) { .gallery { columns: 1; } }

/* Shows */
.show { display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: center; padding: 2.5rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.show-logo { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 1.5rem; border-radius: var(--radius); background: radial-gradient(circle at 50% 40%, #16306a, #081228); border: 1px solid var(--line); }
.show-logo img { max-height: 170px; width: auto; max-width: 100%; object-fit: contain; }
.show .season { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--glow); }
.show h3 { font-size: 1.8rem; margin: .3rem 0; }
.show .tag { color: var(--ice); font-weight: 600; margin-bottom: .8rem; }
.show p { margin: 0; max-width: 64ch; }
@media (max-width: 760px) { .show { grid-template-columns: 1fr; gap: 1.5rem; } .show-logo { aspect-ratio: 16 / 9; } }
.logo-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.logo-row a, .cards > *, .tiles > *, .split > *, .cases > *, .steps > *, .show > * { min-width: 0; }
.logo-row a { display: grid; place-items: center; grid-template-columns: minmax(0, 1fr); aspect-ratio: 3 / 2; padding: 1rem; border-radius: var(--radius); background: radial-gradient(circle at 50% 40%, #16306a, #081228); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.logo-row a:hover { transform: translateY(-4px); border-color: var(--ice); }
.logo-row img { max-height: 84px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 1020px) { .logo-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .logo-row { grid-template-columns: repeat(2, 1fr); } }

/* CTA band */
.cta { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; text-align: center; overflow: hidden; isolation: isolate; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--night) 0%, rgba(5, 11, 26, .72) 45%, rgba(5, 11, 26, .9) 100%); }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta p { margin: 1.2rem auto 0; max-width: 52ch; font-size: 1.15rem; }
.cta .btn-row { justify-content: center; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; padding: .85rem 1rem; border-radius: 10px; border: 1.5px solid #b9c9e0; background: var(--white); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(42, 120, 200, .35); border-color: var(--blue); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { grid-column: 1 / -1; font-size: .9rem; color: var(--ink-soft); margin: 0; }
.form-status { grid-column: 1 / -1; padding: 1rem 1.2rem; border-radius: 10px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e2f6e9; color: #14532d; }
.form-status.err { display: block; background: #fde8e8; color: #7f1d1d; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.contact-card { padding: 2rem; border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 40px rgba(11, 23, 48, .08); }
.contact-card h3 { margin-bottom: .6rem; }
.contact-card address { font-style: normal; color: var(--ink); line-height: 1.7; }
.contact-card + .contact-card { margin-top: 1.2rem; }

/* Footer */
.site-footer { background: #030713; border-top: 1px solid var(--line); padding: 4rem 0 2rem; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; font-weight: 700; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--muted); line-height: 1.7; margin-top: 1.2rem; }
.site-footer .brand img { width: 170px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; background: rgba(3, 7, 19, .94); padding: 1.5rem; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 8px; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* Scroll-in motion */
/* Content is always visible; .reveal only adds a short rise when a section scrolls in. */
.reveal.in { animation: rise .6s ease both; }
@keyframes rise { from { transform: translateY(16px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.in { animation: none; }
  .card img, .gallery img, .btn { transition: none; }
}
