/* TheAIR.Tech - site styles (hand-built, no page-builder framework) */

:root {
  --black: #000;
  --grey-90: #191919;
  --grey-80: #333;
  --grey-75: #404040;
  --grey-60: #666;
  --white: #fff;
  --blue: #478ac9;      /* active menu item (old palette-1) */
  --red-hover: #db545a; /* menu hover (old palette-2) */
  --sheet: 1140px;
  --gutter: 20px;
  --body-font: "Open Sans", Arial, Helvetica, sans-serif;
  --head-font: Roboto, Arial, Helvetica, sans-serif;
  --display-font: Anton, Impact, "Arial Narrow", sans-serif;
  --alt-font: Montserrat, Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--head-font); font-weight: 500; line-height: 1.2; margin: 0; }
p { margin: 20px 0 0; }
.sheet { width: min(var(--sheet), calc(100% - 2 * var(--gutter))); margin: 0 auto; position: relative; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--black);
  padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { border: 1px solid var(--grey-75); background: var(--black); position: relative; z-index: 20; }
.site-header .sheet { min-height: 158px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.logo { align-self: flex-start; display: block; width: 306px; margin-top: 22px; }
.logo img { width: 100%; height: auto; }
.main-nav ul { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a {
  display: block; padding: 10px 16px; text-decoration: none; color: var(--white); font-size: 1rem;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--red-hover); }
.main-nav a[aria-current="page"] { color: var(--blue); }
.menu-toggle { display: none; }

/* home page: header sits over the hero video */
.overlap .site-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; }

@media (max-width: 991px) {
  .site-header .sheet { min-height: 110px; align-items: center; }
  .logo { width: 220px; margin: 16px 0; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    background: none; border: 0; color: var(--white); cursor: pointer; padding: 0;
  }
  .menu-toggle svg { width: 24px; height: 24px; fill: currentColor; }
  .main-nav {
    position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .95);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: center; margin: 0; }
  .main-nav a { font-size: 1.25rem; padding: 12px 20px; }
  .menu-close {
    position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; background: none; border: 0;
    color: var(--white); font-size: 36px; line-height: 1; cursor: pointer;
  }
  body.menu-open { overflow: hidden; }
}
@media (min-width: 992px) { .menu-close { display: none; } }

/* ---------- Video helpers (YouTube shown "cover" style, controls cropped away) ---------- */
.video-cover { position: absolute; inset: 0; overflow: hidden; background: var(--black); }
.video-cover iframe {
  position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
  width: 178%; height: 178%; transform: translate(-50%, -50%);
}

/* ---------- Home: hero ---------- */
.hero { position: relative; min-height: 601px; overflow: hidden; display: flex; align-items: flex-end; }
.hero .video-cover iframe { width: max(178%, 316vh); height: max(178%, 100vw); }
.hero-text {
  position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; padding: 230px 0 33px;
}
.hero h1 {
  font-family: var(--display-font); font-weight: 400; font-size: 3.75rem; line-height: .8;
  text-transform: uppercase; letter-spacing: .01em; text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.hero p { margin: 0; max-width: 616px; text-align: right; font-size: 1.125rem; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
@media (max-width: 767px) {
  .hero { min-height: 520px; }
  .hero-text { flex-direction: column-reverse; align-items: flex-start; padding: 180px 0 50px; }
  .hero p { text-align: left; }
  .hero h1 { font-size: 3rem; }
}

/* ---------- Home: services ---------- */
.service { padding: 50px 0; }
.service .sheet { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.service-video { position: relative; min-height: 451px; margin: 20px; overflow: hidden; }
.service-copy { padding: 20px 60px; }
.service h2 { text-transform: uppercase; font-size: 1.5rem; }
@media (max-width: 1199px) { .service-video { min-height: 372px; } }
@media (max-width: 991px) {
  .service .sheet { gap: 20px; }
  .service-video { min-height: 285px; margin: 0; }
  .service-copy { padding: 10px 0; }
}
@media (max-width: 767px) {
  .service { padding: 30px 0; }
  .service .sheet { grid-template-columns: 1fr; }
  .service-video { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ---------- Home: full-bleed photo ---------- */
.photo-band {
  min-height: 724px; background: #fff url("../../images/bg.jpg") 50% 50% / cover no-repeat;
}
@media (max-width: 991px) { .photo-band { min-height: 562px; background-position: 17% 50%; } }
@media (max-width: 575px) { .photo-band { min-height: 300px; } }

/* ---------- Home: team ---------- */
.team { background: var(--grey-80); padding: 70px 0 60px; }
.team-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px 10px; }
.member { padding: 10px; }
.member img { width: 223px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin: 0 auto; }
.member h3 { font-family: var(--alt-font); font-weight: 700; font-size: 1.25rem; margin-top: 18px; }
.member ul { list-style: none; margin: 22px 0 0; padding: 0; }
.member li::before { content: "-"; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { display: block; width: 32px; height: 32px; color: var(--grey-75); transition: color .2s; }
.socials a:hover, .socials a:focus-visible { color: var(--white); }
.socials svg { width: 100%; height: 100%; display: block; }
@media (max-width: 991px) { .team-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .team-list { grid-template-columns: 1fr; } .member img { width: 223px; margin: 0; } }

/* ---------- Home: contact ---------- */
.contact {
  background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url("../../images/aerial-reconnaisance-scaled.jpg") 50% 50% / cover no-repeat;
  padding: 60px 0 40px;
}
.contact .sheet { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.contact-info { padding: 30px 29px; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.contact-info h2 { font-family: var(--alt-font); font-weight: 700; font-size: 1.5rem; }
.contact-list { list-style: none; margin: 89px 0 0; padding: 0; max-width: 417px; }
.contact-list li { padding: 20px 30px 15px 0; }
.contact-list h3 { font-family: var(--alt-font); font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; gap: 8px; }
.contact-list h3 img { width: 1.1em; height: 1.1em; filter: invert(1); }
.contact-list p { margin-top: 20px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.contact-form { padding: 30px; }
.contact-form form { max-width: 509px; margin: 4px auto 0; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 30px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; margin-bottom: 5px; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.field input, .field textarea {
  font: inherit; color: #111; background: var(--white); border: 0; border-bottom: 2px solid var(--white);
  padding: 10px 12px; width: 100%; border-radius: 0;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit {
  grid-column: 1 / -1; width: 100%; border: 0; cursor: pointer; border-radius: 50px;
  background: var(--grey-90); color: var(--white); font: 700 1rem var(--body-font);
  text-transform: uppercase; letter-spacing: 2px; padding: 14px 0 15px; transition: background .2s, color .2s;
}
.btn-submit:hover, .btn-submit:focus-visible { background: var(--white); color: var(--black); }
.btn-submit[disabled] { opacity: .6; cursor: wait; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 12px 16px; display: none; }
.form-status.ok { display: block; background: #2e7d32; }
.form-status.err { display: block; background: #b3261e; }
@media (max-width: 991px) {
  .contact .sheet { grid-template-columns: 1fr; }
  .contact-list { margin-top: 30px; }
  .contact-form { padding: 0 0 30px; }
}
@media (max-width: 575px) {
  .contact-info { padding: 20px 0; }
  .contact-form form { grid-template-columns: 1fr; padding: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--grey-80); padding: 50px 0 30px; text-align: center; font-size: .9rem; }
.site-footer p { margin: 0; }

/* ---------- Gallery page ---------- */
.gallery-intro { background: var(--grey-80); padding: 79px 0 40px; }
.gallery-intro h1 { font-size: 2.25rem; font-weight: 400; max-width: 606px; }
.gallery-intro .cols { display: grid; grid-template-columns: 1fr 1fr; margin-top: 35px; }
.gallery-intro .cols > div { padding: 30px 22px 30px 30px; }
.gallery-intro .cols p { margin: 0; line-height: 1.8; }
.mail-link {
  display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 2.25rem; letter-spacing: 1px;
  text-decoration: none; color: var(--white); transition: color .2s; word-break: break-all;
}
.mail-link img { width: 36px; height: 36px; filter: invert(1); }
.mail-link:hover, .mail-link:focus-visible { color: var(--blue); }
.gallery-intro .cols > div:last-child { display: flex; align-items: flex-end; }
@media (max-width: 991px) {
  .gallery-intro h1 { font-size: 1.75rem; }
  .gallery-intro .cols { grid-template-columns: 1fr; }
  .gallery-intro .cols > div { padding: 20px 0; }
  .mail-link { font-size: 1.75rem; }
}
@media (max-width: 575px) { .mail-link { font-size: 1.35rem; } .mail-link img { width: 26px; height: 26px; } }

.photographer { padding: 70px 0 60px; }
.signature { display: block; margin: 0 auto 70px; width: fit-content; }
.signature img { margin: 0 auto; }
.signature.frank img { width: 300px; }
.signature.matthew img { width: 330px; }
.signature.timothy img { width: 253px; }
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.photo-grid a { display: block; position: relative; overflow: hidden; aspect-ratio: 368 / 268; background: var(--grey-90); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s; }
.photo-grid a::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .3s; }
.photo-grid a:hover::after, .photo-grid a:focus-visible::after { opacity: 1; }
.photo-grid a:hover img { transform: scale(1.03); }
@media (max-width: 767px) { .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (max-width: 575px) { .photo-grid { grid-template-columns: 1fr; } .signature { margin-bottom: 40px; } }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .94); display: none;
  align-items: center; justify-content: center; padding: 50px 70px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--white); cursor: pointer;
  font-size: 44px; line-height: 1; width: 56px; height: 56px; opacity: .8;
}
.lightbox button:hover, .lightbox button:focus-visible { opacity: 1; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: .9rem; color: #ccc; padding: 0 20px; margin: 0; }
.lb-caption a { color: var(--white); font-weight: 700; margin-left: 6px; }
.lb-caption a:hover, .lb-caption a:focus-visible { color: var(--blue); }
@media (max-width: 575px) { .lightbox { padding: 60px 8px; } .lb-prev, .lb-next { top: auto; bottom: 30px; transform: none; } }

/* ---------- MSFS / Rooivalk page ---------- */
.rooivalk {
  background: var(--black) url("../../images/TheAIRtech_RooivalkWIPPoster.jpg") 50% 50% / contain no-repeat;
  min-height: 846px; display: flex; align-items: flex-end;
}
.rooivalk-card {
  background: var(--white); color: #111; width: 565px; max-width: 100%; border-radius: 20px 20px 0 0;
  padding: 32px 30px 30px; margin: 0 0 30px 5px; text-align: center;
}
.rooivalk-card h1 { font-size: 1.25rem; font-weight: 300; text-align: left; line-height: 1.4; }
.btn-outline {
  display: inline-block; margin-top: 32px; padding: 10px 30px; border: 2px solid var(--black); color: var(--black);
  text-decoration: none; font-weight: 700; text-transform: uppercase; transition: background .2s, color .2s;
}
.btn-outline:hover, .btn-outline:focus-visible { background: var(--black); color: var(--white); }
@media (max-width: 991px) {
  .rooivalk { min-height: 0; flex-direction: column; align-items: stretch; background: var(--black); }
  .rooivalk-poster { display: block !important; }
  .rooivalk-card { margin: 0 auto 30px; }
}
.rooivalk-poster { display: none; }

/* ---------- Filmography ---------- */
.film-intro { padding-bottom: 60px; }
.film-lede { max-width: 640px; line-height: 1.8; margin-top: 30px; }
.film .trailer { margin: 20px; }
.yt-facade { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--grey-90); overflow: hidden; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; color: transparent; font-size: 0; transition: transform .4s ease, opacity .3s; }
.yt-facade:hover img, .yt-facade:focus-visible img { transform: scale(1.03); opacity: .85; }
.yt-play {
  position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%;
  background: rgba(0, 0, 0, .65); border: 2px solid var(--white); transition: background .2s, transform .2s;
}
.yt-play::after {
  content: ""; position: absolute; left: 31px; top: 23px; border-style: solid; border-width: 15px 0 15px 24px;
  border-color: transparent transparent transparent var(--white);
}
.yt-facade:hover .yt-play, .yt-facade:focus-visible .yt-play { background: var(--red-hover); transform: scale(1.06); }
.trailer iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.film-kind { margin: 0 0 10px; font-size: .85rem; letter-spacing: 2px; text-transform: uppercase; color: #aaa; }
.film-role { margin: 20px 0 0; line-height: 1.7; }
.film-role a { color: var(--white); font-weight: 700; }
.film-role a:hover, .film-role a:focus-visible { color: var(--blue); }
.film-role span { display: block; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: #aaa; margin-bottom: 4px; }
.film-meta { list-style: none; margin: 20px 0 0; padding: 0; font-size: .95rem; color: #ddd; }
.film-meta li { padding: 2px 0; }
.film-meta li:first-child { font-weight: 700; }
.film-link a { color: var(--white); font-weight: 700; text-decoration: none; }
.film-link a:hover, .film-link a:focus-visible { color: var(--blue); }
@media (max-width: 991px) { .film .trailer { margin: 0; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; align-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { font-family: var(--display-font); font-weight: 400; font-size: 5rem; line-height: 1; }
.notfound a { color: var(--blue); }

/* ---------- Image protection: no long-press "save image" on phones, no dragging ---------- */
img { -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none; }

/* ---------- Pilot Companion landing page ---------- */
.pc-hero {
  background:
    linear-gradient(90deg, rgba(15, 42, 67, .92) 0%, rgba(15, 42, 67, .72) 45%, rgba(15, 42, 67, .35) 100%),
    url("../../images/pilot-companion/hero.jpg") 50% 46% / cover no-repeat #0f2a43;
  padding: 90px 0 80px;
}
.pc-hero-inner { display: flex; align-items: center; gap: 50px; }
.pc-icon { width: 200px; flex: 0 0 auto; border-radius: 44px; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.pc-hero-copy { max-width: 640px; }
.pc-badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 5px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase;
}
.pc-badge > span[aria-hidden="true"] { width: 8px; height: 8px; border-radius: 50%; background: #ffb612; flex: 0 0 auto; }
.pc-hero h1 { font-family: var(--display-font); font-weight: 400; font-size: 4rem; line-height: 1.05; margin-top: 18px; text-transform: uppercase; }
.pc-sub { margin: 6px 0 0; font-family: var(--head-font); font-size: 1.25rem; font-weight: 300; color: #dfe7ef; }
.pc-lede { line-height: 1.8; max-width: 560px; }
.pc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.pc-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; font-weight: 700; text-decoration: none;
  text-transform: uppercase; letter-spacing: .5px; border: 2px solid var(--white); transition: background .2s, color .2s, border-color .2s;
}
.pc-btn svg { width: 18px; height: 18px; }
.pc-btn-primary { background: var(--white); color: #0f2a43; }
.pc-btn-primary:hover, .pc-btn-primary:focus-visible { background: var(--red-hover); border-color: var(--red-hover); color: var(--white); }
.pc-btn-ghost { color: var(--white); }
.pc-btn-ghost:hover, .pc-btn-ghost:focus-visible { background: var(--white); color: #0f2a43; }
.pc-note { font-size: .875rem; color: #c5d2de; margin-top: 14px; }

.pc-features { background: var(--grey-90); padding: 70px 0 60px; }
.pc-features h2 { text-transform: uppercase; font-size: 1.5rem; }
.pc-grid { list-style: none; margin: 35px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pc-grid li { background: var(--black); border-top: 3px solid var(--blue); padding: 26px 26px 28px; }
.pc-grid li:nth-child(6n+2) { border-top-color: #ffb612; }
.pc-grid li:nth-child(6n+3) { border-top-color: #e03c31; }
.pc-grid li:nth-child(6n+4) { border-top-color: #007749; }
.pc-grid li:nth-child(6n+5) { border-top-color: #ffb612; }
.pc-grid li:nth-child(6n+6) { border-top-color: #e03c31; }
.pc-grid h3 { font-family: var(--alt-font); font-weight: 700; font-size: 1.1rem; }
.pc-grid p { margin-top: 12px; line-height: 1.7; color: #ddd; font-size: .95rem; }
.pc-disclaimer { margin-top: 40px; font-size: .85rem; color: #aaa; max-width: 820px; line-height: 1.7; }
@media (max-width: 991px) {
  .pc-hero { padding: 60px 0; }
  .pc-hero-inner { flex-direction: column; align-items: flex-start; gap: 30px; }
  .pc-icon { width: 120px; border-radius: 27px; }
  .pc-hero h1 { font-size: 3rem; }
  .pc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .pc-hero h1 { font-size: 2.4rem; }
  .pc-grid { grid-template-columns: 1fr; }
  .pc-btn { width: 100%; justify-content: center; }
}

/* ---------- Pilot Companion pricing ---------- */
.pc-pricing { background: var(--black); padding: 70px 0; }
.pc-pricing h2 { text-transform: uppercase; font-size: 1.5rem; }
.pc-pricing .pc-pricing-lede { color: #ddd; max-width: 640px; line-height: 1.8; }
.pc-price-grid { list-style: none; margin: 35px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 20px; }
.pc-price { background: var(--grey-90); border: 1px solid var(--grey-75); padding: 30px 28px; display: flex; flex-direction: column; position: relative; }
.pc-price.best { border-color: #ffb612; }
.pc-price-tag { position: absolute; top: -12px; left: 28px; background: #ffb612; color: #111; font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; }
.pc-price h3 { font-family: var(--alt-font); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }
.pc-price-amount { font-family: var(--display-font); font-size: 3rem; line-height: 1; margin: 18px 0 0; }
.pc-price-amount small { font-family: var(--body-font); font-size: 1rem; color: #bbb; margin-left: 4px; }
.pc-price-note { color: #bbb; font-size: .9rem; margin-top: 10px; }
.pc-price .pc-btn { margin-top: 26px; justify-content: center; }
.pc-pricing-small { color: #aaa; font-size: .85rem; margin-top: 26px; max-width: 760px; line-height: 1.7; }
.pc-pricing-small a, .pc-note a { color: var(--white); }
@media (max-width: 767px) { .pc-price-grid { grid-template-columns: 1fr; } }

/* Pilot Companion: photos beside the main features */
.pc-show { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 50px; align-items: center; margin-top: 50px; }
.pc-show-flip .pc-shot { order: 2; }
.pc-show-tall { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.pc-show-tall.pc-show-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.pc-shot { margin: 0; background: var(--black); box-shadow: 0 18px 44px rgba(0, 0, 0, .5); }
.pc-shot img { display: block; width: 100%; height: auto; }
.pc-show-copy { border-left: 3px solid var(--blue); padding: 4px 0 4px 26px; }
.pc-show:nth-of-type(2) .pc-show-copy { border-left-color: #ffb612; }
.pc-show:nth-of-type(3) .pc-show-copy { border-left-color: #007749; }
.pc-kicker { font-family: var(--alt-font); font-weight: 700; font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; color: #9fb3c6; }
.pc-show-copy h3 { font-family: var(--alt-font); font-weight: 700; font-size: 1.5rem; margin-top: 6px; }
.pc-show-copy p:not(.pc-kicker) { margin-top: 14px; line-height: 1.8; color: #ddd; }
.pc-show + .pc-grid { margin-top: 60px; }
.pc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
@media (max-width: 991px) {
  .pc-show, .pc-show-tall, .pc-show-tall.pc-show-flip { gap: 30px; }
  .pc-grid { grid-template-columns: repeat(3, 1fr); }   /* three cards: keep them in one row, not two and one */
}
@media (max-width: 767px) {
  .pc-show, .pc-show-tall, .pc-show-tall.pc-show-flip { grid-template-columns: 1fr; gap: 22px; margin-top: 40px; }
  .pc-show-flip .pc-shot { order: 0; }
  .pc-show-tall .pc-shot { max-width: 420px; }
  .pc-show-copy { padding-left: 18px; }
  .pc-pair { grid-template-columns: 1fr; }
  .pc-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer legal links ---------- */
.legal-links { margin-bottom: 14px !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.legal-links a { color: #ccc; text-decoration: none; font-size: .85rem; }
.legal-links a:hover, .legal-links a:focus-visible { color: var(--white); text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal { padding: 70px 0 80px; }
.legal .sheet { max-width: 820px; }
.legal h1 { font-size: 2.25rem; font-weight: 400; }
.legal h2 { font-size: 1.25rem; margin-top: 40px; text-transform: uppercase; }
.legal p, .legal li { line-height: 1.8; color: #ddd; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--white); }
.legal .legal-updated { color: #aaa; font-size: .9rem; }
.legal .legal-draft { background: #4a3500; border-left: 4px solid #ffb612; padding: 12px 16px; color: #fff; }
.legal table { border-collapse: collapse; width: 100%; margin-top: 16px; font-size: .95rem; }
.legal th, .legal td { border: 1px solid var(--grey-75); padding: 8px 10px; text-align: left; vertical-align: top; color: #ddd; }

/* ---------- Members area ---------- */
.mem { background: var(--grey-90); }
.mem-bar { background: #0f2a43; font-size: .9rem; }
.mem-bar .sheet { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 10px 0; }
.mem-bar-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.mem-bar a, .mem-bar button { color: var(--white); text-decoration: none; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.mem-bar a:hover, .mem-bar button:hover, .mem-bar a:focus-visible, .mem-bar button:focus-visible { text-decoration: underline; }
.mem-inline { display: inline; margin: 0; }
.mem-body { padding: 50px 0 70px; }
.mem-narrow .mem-body { max-width: 560px; }
.mem h1 { font-size: 2rem; font-weight: 400; }
.mem h2 { font-family: var(--alt-font); font-weight: 700; font-size: 1.1rem; }
.mem-lede { color: #ddd; line-height: 1.7; }
.mem-small { font-size: .9rem; color: #bbb; line-height: 1.6; }
.mem-small a, .mem-lede a, .mem-msg a, .mem-check a, .mem-summary a { color: var(--white); }
.mem-form { display: grid; gap: 20px; margin-top: 26px; }
.mem-form .field input, .mem-form .field textarea { width: 100%; }
.mem-form .field small { font-weight: 400; color: #bbb; }
.mem-form .btn-submit { justify-self: start; }
.mem-form fieldset { border: 0; margin: 0; padding: 0; }
.mem-form legend { font-weight: 700; margin-bottom: 8px; }
.mem-plans { display: grid; gap: 10px; }
.mem-plan { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--black); border: 1px solid var(--grey-75); cursor: pointer; }
.mem-plan:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.mem-plan input { width: 18px; height: 18px; accent-color: var(--blue); }
.mem-plan-name { font-weight: 700; }
.mem-plan-price { margin-left: auto; font-weight: 700; }
.mem-plan-price small { font-weight: 400; color: #bbb; }
.mem-check { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; font-size: .95rem; }
.mem-check input { margin-top: 5px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--blue); }
.mem-msg { padding: 12px 16px; margin: 20px 0 0; line-height: 1.6; }
.mem-ok { background: #1f5f2a; }
.mem-err { background: #8f1f19; }
.mem-info { background: #0f2a43; border-left: 4px solid var(--blue); }
.mem-summary { background: var(--black); border-left: 4px solid #ffb612; padding: 4px 18px 16px; margin-top: 20px; }
.mem-summary p { line-height: 1.7; }
.mem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.mem-card { background: var(--black); border: 1px solid var(--grey-75); padding: 24px 26px 28px; margin-top: 20px; }
.mem-grid .mem-card { margin-top: 0; }
.mem-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 18px 0 0; }
.mem-dl dt { color: #bbb; }
.mem-dl dd { margin: 0; font-weight: 700; word-break: break-word; }
.mem-static { margin: 0; padding: 8px 0; }
.mem-details { margin-top: 22px; }
.mem-details summary { cursor: pointer; color: #ddd; }
.btn-danger { background: #8f1f19 !important; border-color: #8f1f19 !important; color: var(--white) !important; }
.mem .pc-btn { margin-top: 10px; }
.mem-stats { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.mem-stats li { background: var(--black); border: 1px solid var(--grey-75); padding: 12px 18px; }
.mem-stats strong { font-size: 1.3rem; margin-right: 4px; }
.mem-inline-form { grid-template-columns: 1fr 1fr auto; align-items: end; }
.mem-table-wrap { overflow-x: auto; margin-top: 16px; }
.mem-table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.mem-table th, .mem-table td { border-bottom: 1px solid var(--grey-75); padding: 10px 8px; text-align: left; vertical-align: top; }
.mem-table th { color: #bbb; font-weight: 400; white-space: nowrap; }
.mem-actions { display: flex; flex-wrap: wrap; gap: 6px; min-width: 260px; }
.mem-actions form { display: flex; gap: 4px; margin: 0; }
.mem-actions button { background: var(--grey-80); color: var(--white); border: 1px solid var(--grey-60); padding: 4px 9px; font: inherit; font-size: .8rem; cursor: pointer; }
.mem-actions button:hover { background: var(--grey-60); }
.mem-actions input { width: 58px; background: var(--grey-90); color: var(--white); border: 1px solid var(--grey-60); padding: 3px 5px; }
@media (max-width: 767px) {
  .mem-grid, .mem-inline-form { grid-template-columns: 1fr; }
}
.mem .btn-submit, .mem-form .btn-submit { background: var(--white); color: #0f2a43; width: auto; padding: 14px 30px 15px; border-radius: 0; letter-spacing: 1px; }
.mem .btn-submit:hover, .mem .btn-submit:focus-visible { background: var(--red-hover); color: var(--white); }
.mem .field label { text-shadow: none; }
.legal mark { background: #ffb612; color: #111; padding: 0 3px; }
.pc-disclaimer a { color: var(--white); }
