/* HPR website — concept (2026-10-19). Same feel as the current site: dark phone bar,
   logo over a big photo, Ultra headlines, HPR blue with an orange accent. */
:root {
  --blue: #06519c;
  --blue-dark: #04305e;
  --navy: #041e3c;
  --orange: #f04124;
  --orange-dark: #c9321a;
  --ink: #1f2933;
  --ink-2: #4a5563;
  --line: #dde3ea;
  --soft: #f3f6f9;
  --white: #fff;
  --todo-bg: #fff6cc;
  --todo-line: #e5c100;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Montserrat, system-ui, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-family: Ultra, Georgia, serif; font-weight: 400; text-transform: uppercase; letter-spacing: .5px; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--blue-dark); }
h3 { font-size: 19px; font-weight: 700; }

/* Concept banner and "to confirm" notes — only while it's a concept. */
.concept { background: var(--orange); color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 6px 12px; }
.todo { background: var(--todo-bg); border: 1px dashed var(--todo-line); border-left: 4px solid var(--todo-line); color: #5a4a00; padding: 10px 14px; border-radius: 6px; margin: 14px 0; font-size: 14px; }

/* Phone bar */
.bar { background: #0b0f14; color: #cfd6de; font-size: 14px; }
.bar .wrap { display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: center; padding: 8px 0; }
.bar b { color: #fff; font-weight: 600; margin-right: 6px; }
.bar a { color: #fff; font-weight: 700; text-decoration: none; }
.phone-soon { color: #ffd75e; font-style: italic; font-weight: 500; }
main .phone-soon { color: #b85c00; }

/* Header and menu */
.head { background: var(--navy); position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.head-in { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.logo img { height: 56px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu .top { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 6px; background: none; border: 0; font-family: inherit; cursor: pointer; }
.menu .top:hover, .menu .top.on, .drop.open > .top { background: rgba(255,255,255,.1); }
.drop { position: relative; }
.drop-panel { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.25); padding: 16px; gap: 22px; min-width: 640px; }
.drop.open .drop-panel { display: flex; }
.mgroup { display: flex; flex-direction: column; min-width: 180px; }
.mgroup-t { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--orange); margin-bottom: 6px; }
.mgroup a { color: var(--ink); text-decoration: none; padding: 5px 0; font-size: 15px; }
.mgroup a:hover, .mgroup a[aria-current] { color: var(--blue); }
.menu-btn { display: none; margin-left: auto; background: none; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; padding: 8px 12px; font: 600 15px Montserrat, sans-serif; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: var(--orange); color: #fff; text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; font-size: 14px; padding: 13px 22px; border-radius: 4px; border: 2px solid var(--orange); cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn.ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn.ghost:hover { background: var(--blue); color: #fff; }
.btn.ghost.light { color: #fff; border-color: #fff; }
.btn.ghost.light:hover { background: #fff; color: var(--navy); }

/* Heroes */
.hero { background-size: cover; background-position: center; color: #fff; }
.hero-in { padding: clamp(70px, 12vw, 150px) 0; text-align: center; max-width: 880px; }
.hero h1 { font-size: clamp(32px, 6vw, 62px); margin: 6px 0 18px; }
.hero p { font-size: clamp(16px, 2vw, 19px); color: #e8eef5; margin: 0 auto 26px; max-width: 760px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.kicker { font-size: clamp(15px, 2vw, 20px); font-weight: 500; color: #cfe0f2; letter-spacing: .5px; }
.kicker.dark { color: var(--orange); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
.phero { background-size: cover; background-position: center; color: #fff; padding: clamp(46px, 7vw, 80px) 0; }
.phero h1 { font-size: clamp(28px, 4.6vw, 46px); margin: 4px 0 0; }

/* Sections */
main > section { padding: clamp(40px, 6vw, 70px) 0; }
main > section.wrap + section.wrap { padding-top: 0; }
.sec-head { text-align: center; margin-bottom: 28px; }
.sec-head p { color: var(--ink-2); margin: 0; }
.two { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.prose .lead { font-size: 18px; color: var(--ink); }
.prose p { color: var(--ink-2); }
.lead-img img { border-radius: 8px; box-shadow: 0 10px 30px rgba(4,30,60,.18); }
.ticks { list-style: none; padding: 0; margin: 10px 0 18px; }
.ticks li { position: relative; padding: 6px 0 6px 30px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }
.ticks.big li { font-size: 18px; font-weight: 600; color: #fff; }
.trust { background: var(--soft); border-left: 4px solid var(--blue); padding: 12px 16px; border-radius: 6px; color: var(--ink-2); margin: 18px 0; }

/* Equipment cards (home) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { min-height: 300px; border-radius: 10px; background-size: cover; background-position: center; color: #fff; text-decoration: none; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card h3 { font-size: 22px; margin-bottom: 6px; }
.card p { margin: 0 0 12px; color: #e3ebf3; }
.card .more { font-weight: 700; color: #ffb7a8; }

/* Bands */
.band { background: var(--blue-dark); color: #fff; padding: clamp(40px, 6vw, 70px) 0; }
.band h2 { color: #fff; }
.band p { color: #d5e2f0; }
.why h2 { margin-bottom: 12px; }
.derrick { background-size: cover; background-position: center; color: #fff; padding: clamp(50px, 8vw, 100px) 0 !important; }
.derrick h2 { color: #fff; font-family: Ultra, Georgia, serif; font-weight: 400; font-size: clamp(26px, 4vw, 40px); }
.derrick p { color: #dbe6f2; font-size: 18px; }

/* Where we work */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.area-main, .area-more { border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.area-main { border-top: 4px solid var(--blue); }
.area-more { border-top: 4px solid var(--orange); background: var(--soft); }

/* Locations */
.locs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.locs.small { grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
.loc { border: 1px solid var(--line); border-radius: 10px; padding: 20px; border-top: 4px solid var(--blue); }
.loc h3, .loc h2 { margin-bottom: 2px; }
.loc-area { color: var(--orange); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; }
.loc-phone { font-size: 18px; font-weight: 700; }
.loc.big { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px; margin-bottom: 22px; }
.loc.big iframe { width: 100%; min-height: 280px; border: 0; border-radius: 8px; }

/* Specs and galleries */
.specs { margin: 10px 0 28px; }
.tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 640px; }
th { background: var(--blue-dark); color: #fff; text-align: left; padding: 10px 12px; font-weight: 600; white-space: nowrap; }
td { padding: 9px 12px; border-top: 1px solid var(--line); white-space: nowrap; }
tbody tr:nth-child(even) td { background: var(--soft); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 10px 0 30px; }
.gallery .g img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; width: 100%; transition: opacity .2s; }
.gallery .g:hover img { opacity: .85; }
/* HPR's labelled photos: whole, never cropped (the label is on the picture). */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 24px 0 14px; align-items: start; }
.photos .ph img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 6px 18px rgba(4,30,60,.14); transition: opacity .2s; }
.photos .ph:hover img { opacity: .9; }

/* Call to action */
.cta { background: var(--navy); color: #fff; border-radius: 10px; padding: 26px 28px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta h3 { color: #fff; font-size: 22px; }
.cta p { margin: 0; color: #cdd9e6; }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cta .btn.ghost { color: #fff; border-color: #fff; }
.side-card { background: var(--soft); border-radius: 10px; padding: 22px; border-top: 4px solid var(--orange); }
.side-card .btn { margin: 6px 6px 0 0; }

/* For sale */
.sale-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: 18px 0 30px; }
.sale { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.sale.example { opacity: .75; border-style: dashed; }
.sale-img { height: 170px; background-size: cover; background-position: center; }
.sale-b { padding: 14px 16px; }
.sale-t { font-weight: 700; }
.rl { color: var(--ink-2); font-size: 14px; }
.sale-p { color: var(--orange); font-weight: 700; margin-top: 6px; }

/* About: the safety protocols table wraps its text */
.protocols table { min-width: 0; }
.protocols td.wrap-cell { white-space: normal; }
.protocols td:first-child { white-space: nowrap; vertical-align: top; }
@media (max-width: 960px) { .protocols td:first-child { white-space: normal; } }

/* Contact */
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
.form input, .form select, .form textarea { font: inherit; padding: 10px 12px; border: 1px solid #c4ccd6; border-radius: 6px; width: 100%; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { background: var(--soft); padding: 10px 12px; border-radius: 6px; font-size: 14px; }
.person { padding: 10px 0; border-bottom: 1px solid var(--line); }
.p-n { font-weight: 700; }

/* Footer */
.foot { background: #0b0f14; color: #aeb8c4; padding: 46px 0 0; margin-top: 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) repeat(2, 1fr); gap: 24px; }
.foot-brand img { height: 64px; width: auto; margin-bottom: 10px; }
.foot h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; margin: 0 0 8px; }
.foot a { color: #d6dde5; text-decoration: none; display: block; padding: 2px 0; }
.foot p a { display: inline; }
.foot a:hover { color: #fff; }
.foot-base { border-top: 1px solid #1f2731; margin-top: 30px; padding: 16px 0; color: #7d8794; }
.foot-base a { display: inline; color: #aeb8c4; }

/* Phones and tablets */
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 0; }
  .menu.open { display: flex; }
  .menu .top { text-align: left; padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .drop-panel { position: static; min-width: 0; flex-direction: column; gap: 10px; box-shadow: none; margin: 4px 0 8px; }
  .two, .loc.big { grid-template-columns: 1fr; }
  .cards, .locs, .area-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .row2 { grid-template-columns: 1fr; }
}
