/* Longhorn Helicopters — Texas Sunset theme (Longhorn Blue buttons) */
:root {
  --bg: #1b1613;
  --panel: #2a221d;
  --line: rgba(243, 231, 211, 0.16);
  --text: #f3e7d3;
  --muted: rgba(243, 231, 211, 0.64);
  --accent: #e8a33d;
  --blue: #243b8f;
  --sky: #6f9dbf;
  --pill: rgba(243, 231, 211, 0.18);
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(20px, 2.5vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

h1, h2, h3, .h1, .h2, .h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
h1, .h1 { font-size: clamp(52px, 7.6vw, 108px); line-height: 0.92; }
h2, .h2 { font-size: clamp(38px, 4.6vw, 62px); line-height: 0.96; }
h3, .h3 { font-size: clamp(27px, 2.5vw, 34px); line-height: 1; }
.lead { font-size: clamp(19px, 2.1vw, 28px); line-height: 1.15; font-weight: 500; }
.body { color: var(--muted); font-size: 17px; line-height: 1.45; }
.body strong, .body b { color: var(--text); font-weight: 600; }
.body a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.mono b { color: var(--text); font-weight: 500; }
.mono .hot { color: var(--accent); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--text); color: #000; padding: 8px 12px; }

/* Buttons */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 0; border-radius: 2px;
  background: var(--pill);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--text); font: 600 13px/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.pill:hover, .pill:focus-visible { background: var(--blue); color: var(--text); }
.pill.solid { background: var(--blue); color: var(--text); }
.pill.solid:hover, .pill.solid:focus-visible { background: var(--accent); color: var(--bg); }
.pill.lg { padding: 14px 24px; font-size: 14px; }
.pill .arr { transition: transform 0.25s; }
.pill:hover .arr { transform: translateX(3px); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 72px; padding: 0 var(--pad);
  transition: background 0.3s;
}
.site-header.scrolled { background: rgba(27, 22, 19, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tabs { display: flex; align-items: stretch; height: 100%; gap: 2px; }
.tabs a {
  display: flex; align-items: center; padding: 0 13px;
  font: 600 13px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  color: rgba(243, 231, 211, 0.78);
  border-bottom: 2px solid transparent; border-top: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.tabs a:hover, .tabs a:focus-visible { color: var(--text); border-bottom-color: rgba(243, 231, 211, 0.4); }
.tabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.burger { display: none; }
.brand img { height: 34px; width: auto; }
.site-header .section-label { text-align: center; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.burger { width: 34px; height: 34px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 6px; right: 6px; height: 1.5px; background: var(--text); transition: transform 0.3s, top 0.3s; }
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 20px; }
.menu-open .burger span:nth-child(1) { top: 16.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 16.5px; transform: rotate(-45deg); }

/* Fullscreen menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--pad) var(--pad);
  background: rgba(27, 22, 19, 0.96);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
  overflow-y: auto;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.menu nav a {
  display: block; width: fit-content;
  font: 700 clamp(44px, 7.4vw, 88px)/0.98 var(--head); text-transform: uppercase;
  color: rgba(243, 231, 211, 0.45);
  transition: color 0.2s, transform 0.3s;
}
.menu nav a:hover, .menu nav a:focus-visible, .menu nav a[aria-current="page"] { color: var(--text); }
.menu nav a:hover { transform: translateX(10px); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 12px 48px; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.menu-foot a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding: 112px var(--pad) var(--pad); overflow: hidden; }
.hero.short { min-height: 78vh; min-height: 78svh; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: settle 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; will-change: transform; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.8)), radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(0, 0, 0, 0.55)); }
@keyframes settle { to { transform: scale(1); } }
.hero h1 { max-width: 13ch; }
.hero-bottom { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 32px; align-items: end; }
.hero-bottom .lead { grid-column: 2; }
.hero-bottom .hud { grid-column: 1; grid-row: 1; }
.scroll-cue { margin-top: 28px; justify-self: start; }

/* Sections */
.section { padding: clamp(72px, 10vw, 150px) var(--pad); position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); align-items: start; }
.section-head .mono { padding-top: 10px; }
.section-head p.lead { margin-top: 20px; color: var(--muted); max-width: 30ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Cards */
.grid { display: grid; gap: 16px; }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c5 { grid-template-columns: repeat(5, 1fr); }

.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.card .media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.card .media img, .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s; filter: saturate(0.85) brightness(0.88); }
.card:hover .media img, .shot:hover img { transform: scale(1.05); filter: none; }
.card .tag { position: absolute; left: 14px; top: 12px; z-index: 2; color: var(--text); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.card .tag.right { left: auto; right: 14px; }
.card .info { display: flex; flex-direction: column; gap: 12px; padding: 22px 20px 22px; flex: 1; }
.card .info .pill { align-self: flex-start; margin-top: auto; }
.card .price { font-size: 22px; font-weight: 600; color: var(--accent); }
.card .price small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }

/* Overlay card (image fills, text on top) */
.card.over .media { aspect-ratio: 3 / 4; }
.card.over .info { position: absolute; inset: auto 0 0 0; padding-top: 80px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.88) 60%); }
.card.over { border: 0; }

.shot { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 3 / 4; background: var(--panel); }
.shot .mono { position: absolute; left: 12px; bottom: 10px; color: var(--text); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.shot .idx { bottom: auto; top: 10px; }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .sticky { position: sticky; top: 96px; }
.split .frame { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.split .frame img { width: 100%; }
.stack > * + * { margin-top: 18px; }

/* Numbered list rows (services) */
.rows > li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 34px 0; border-top: 1px solid var(--line); }
.rows > li:last-child { border-bottom: 1px solid var(--line); }
.rows h3 { margin-bottom: 14px; }
.rows p + p { margin-top: 12px; }
.figure { color: var(--accent); font-weight: 600; }

.bullets li { position: relative; padding-left: 20px; color: var(--muted); font-size: 17px; line-height: 1.45; }
.bullets li + li { margin-top: 6px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: 0.65em; width: 8px; height: 1px; background: var(--accent); }
.bullets ul { margin-top: 6px; }
.bullets.cols { columns: 2; column-gap: 32px; }
.bullets.cols li { break-inside: avoid; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; padding: 24px 0; cursor: pointer; list-style: none; font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--muted); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq .answer { padding: 0 0 28px; max-width: 62ch; }
.faq .answer > * + * { margin-top: 12px; }

/* Form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
.form .full { grid-column: 1 / -1; }
.form label, .form legend { display: block; margin-bottom: 8px; padding: 0; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form input[type="time"], .form textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(243, 231, 211, 0.06); color: var(--text);
  border: 1px solid var(--line); border-radius: 6px;
  font: 400 16px/1.3 var(--sans); color-scheme: dark;
  transition: border-color 0.2s, background 0.2s;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--text); background: rgba(255, 255, 255, 0.1); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { margin: 0; cursor: pointer; }
.checks input { position: absolute; opacity: 0; }
.checks span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 2px; font-size: 14px; color: var(--muted); transition: all 0.2s; }
.checks input:checked + span { background: var(--blue); color: var(--text); border-color: var(--blue); }
.checks input:focus-visible + span { border-color: var(--text); }
.form-note { color: var(--muted); font-size: 14px; }
.form-note.err { color: #ff8f8f; }

/* Footer */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 120px) var(--pad) 28px; overflow: hidden; }
.wordmark {
  font: 700 clamp(30px, 10.2vw, 230px)/0.9 var(--head); text-transform: uppercase; white-space: nowrap;
  color: #fff;
  margin: 0 0 clamp(48px, 7vw, 110px);
  user-select: none;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px 32px; }
.footer-grid h4 { margin-bottom: 12px; font-weight: 400; }
.footer-grid p, .footer-grid li { font-size: 15px; line-height: 1.55; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-cta .lead { margin-bottom: 18px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: clamp(48px, 6vw, 90px); padding-top: 20px; border-top: 1px solid var(--line); }
.footer-base a { text-decoration: underline; text-underline-offset: 3px; }
.footer-base a:hover { color: var(--text); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto; }
  .tabs { display: none; }
  .burger { display: block; }
  .grid.c4, .grid.c5 { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 720px) {
  .site-header { grid-template-columns: 1fr auto; height: 64px; }
  .site-header .section-label { display: none; }
  .brand img { height: 28px; }
  .hero { padding-top: 96px; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-bottom .lead, .hero-bottom .hud { grid-column: 1; grid-row: auto; }
  .split { grid-template-columns: 1fr; }
  .split .sticky { position: static; }
  .grid.c2, .grid.c3 { grid-template-columns: 1fr; }
  .grid.c4.keep2, .grid.c5 { grid-template-columns: repeat(2, 1fr); }
  .grid.c4:not(.keep2) { grid-template-columns: 1fr; }
  .rows > li { grid-template-columns: 1fr; gap: 6px; }
  .form { grid-template-columns: 1fr; }
  .bullets.cols { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
}
