/* RigSafe · PinLock — temporary landing styles
   Industrial / film-grip feel · muted neutrals */

:root {
  --bg: #3c3c3b;
  --bg-elev: #4e5c66;
  --bg-card: #4e5c66;
  --line: #5f7b91;
  --text: #f4f4f4;
  --muted: #c2ccd3;
  --accent: #82bae6;
  --accent-dim: #398899;
  --warn-bg: #4e5c66;
  --warn-text: #82bae6;
  --warn-border: #5f7b91;
  --buy: #398899;
  --buy-hover: #5f7b91;
  --radius: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #f4f4f4;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Test banner —— */
.test-banner {
  background: var(--warn-bg);
  color: var(--warn-text);
  border-bottom: 1px solid var(--warn-border);
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
}

.test-banner strong {
  letter-spacing: 0.02em;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 20, 22, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 1.1rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

/* —— Hero —— */
.hero {
  padding: 3.25rem 0 2.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(196, 163, 90, 0.08), transparent 55%),
    linear-gradient(180deg, #4e5c66 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 220px;
  display: flex;
  align-items: stretch;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 0.015) 8px,
      rgba(255, 255, 255, 0.015) 16px
    );
}

.hero-panel-inner {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  border-left: 3px solid var(--accent);
}

.panel-label {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.panel-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
}

.panel-points li::before {
  content: "▸ ";
  color: var(--accent);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #3c3c3b;
}

.btn-primary:hover {
  background: #4e5c66;
  color: #3c3c3b;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--muted);
  color: var(--text);
}

.btn-buy {
  width: 100%;
  background: var(--buy);
  color: #f4f4f4;
  margin-top: 0.5rem;
}

.btn-buy:hover {
  background: var(--buy-hover);
  color: #f4f4f4;
}

.btn-note {
  font-weight: 500;
  font-size: 0.78rem;
  opacity: 0.85;
}

/* —— Products —— */
.products {
  padding: 3rem 0;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.product-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.product-media.placeholder {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(160deg, #5f7b91 0%, #3c3c3b 100%);
  border-bottom: 1px solid var(--line);
  display: grid;
  place-content: center;
  gap: 0.35rem;
  text-align: center;
  padding: 1rem;
  position: relative;
}

.product-media.placeholder::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed #5f7b91;
  border-radius: 6px;
  pointer-events: none;
}

.ph-label {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted);
  z-index: 1;
}

.ph-hint {
  font-size: 0.8rem;
  color: #82bae6;
  z-index: 1;
}

.ph-sku {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  z-index: 1;
}

.product-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.variant {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.95rem;
}

.price {
  margin: 0 0 0.85rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.amount {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.currency {
  color: var(--muted);
  font-size: 0.85rem;
}

.blurb {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

/* —— Notes —— */
.notes {
  padding: 0 0 3.5rem;
}

.notes-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .notes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.note-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.note-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.note-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  background: #3c3c3b;
  padding: 0.45rem 0 0.55rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-brand {
  color: var(--text);
  margin: 0;
}

.footer-notice {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  max-width: 36rem;
}

/* —— Mobile nav —— */
@media (max-width: 520px) {
  .nav {
    gap: 0.75rem;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 2.25rem;
  }
}

.nav-tagline {
  margin: 0;
  margin-right: auto;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.header-inner { gap: 1.25rem; }
@media (max-width: 720px) {
  .nav-tagline { margin-right: 0; width: 100%; }
  .header-inner { flex-wrap: wrap; }
}

.notify-card { max-width: 40rem; }
.notify-form { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.notify-form input { flex: 1 1 14rem; padding: 0.7rem 0.9rem; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* —— Home compact (Oct 2) —— */
.lede a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.lede a:hover { color: var(--accent); }
.hero { padding: 1.5rem 0 1.25rem; }
.hero h1 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin-bottom: 0.65rem; }
.lede { margin-bottom: 0.9rem; font-size: 0.98rem; }
.hero-grid { align-items: center; }
.hero .notify-card { max-width: none; padding: 0.55rem 0.75rem; }
@media (min-width: 800px) {
  body.home .hero-grid { align-items: stretch; }
  body.home .hero-copy { grid-column: 1; grid-row: 1; }
  body.home .notify-card {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    height: 0;
    min-height: 100%;
    max-height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    margin: 0;
  }
}
.hero .notify-card h2 { margin-bottom: 0.25rem; font-size: 0.9rem; }
.hero .notify-card p { font-size: 0.78rem; line-height: 1.35; }
.hero .notify-form { flex-direction: row; flex-wrap: nowrap; align-items: center; margin-top: 0.5rem; gap: 0.45rem; }
.hero .notify-form input { width: auto; flex: 1 1 auto; padding: 0.45rem 0.65rem; }
.hero .notify-form .btn { width: auto; flex: 0 0 auto; padding: 0.45rem 0.7rem; font-size: 0.8rem; white-space: nowrap; }
.products { padding: 1.1rem 0 1.5rem; }
.products .section-head { margin-bottom: 0.7rem; }
.products .section-head h2 { font-size: 1.15rem; }
.product-grid { gap: 0.75rem; }
.product-card { flex-direction: row; align-items: stretch; }
.product-media.placeholder {
  aspect-ratio: auto;
  width: 7.5rem;
  flex: 0 0 7.5rem;
  border-bottom: 0;
  border-right: 1px solid var(--line);
  padding: 0.4rem;
  gap: 0.15rem;
}
.product-media.placeholder::after { inset: 6px; }
.ph-hint { display: none; }
.ph-label { font-size: 0.62rem; }
.ph-sku { margin-top: 0.15rem; font-size: 0.7rem; }
.product-body { padding: 0.65rem 0.8rem 0.75rem; }
.product-body h3 { font-size: 0.92rem; margin-bottom: 0.25rem; }
.variant { font-size: 0.8rem; }
.price { margin-bottom: 0.3rem; }
.amount { font-size: 1.15rem; }
.blurb { font-size: 0.78rem; margin-bottom: 0.45rem; }
.product-body .btn { padding: 0.4rem 0.7rem; font-size: 0.82rem; margin-top: 0; }
@media (max-width: 640px) {
  .product-card { flex-direction: column; }
  .product-media.placeholder { width: auto; flex-basis: auto; height: 4.25rem; border-right: 0; border-bottom: 1px solid var(--line); }
}

.page { padding: 2rem 0 3rem; }
.page h1 { margin: 0 0 0.75rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.line-list { display: grid; gap: 0.75rem; max-width: 28rem; }
.line-card { text-decoration: none; color: inherit; display: block; }
.line-card:hover { border-color: var(--accent); }
.nav a[aria-current="page"] { color: var(--text); }
.page .product-card { flex-direction: column; }

.pin-products .product-card { min-height: 50vh; flex-direction: column; }
.pin-photo { width: 100%; flex: 1 1 auto; min-height: 12rem; object-fit: cover; display: block; background: #4e5c66; }
.pin-products .product-body { flex: 0 0 auto; }

.about-wrap { max-width: 52rem; }
.about-grid { display: grid; gap: 0.75rem; }
@media (min-width: 720px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.banner-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.line-banner { position: relative; display: block; min-height: 70vh; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); color: inherit; text-decoration: none; }
.line-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-name { position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.9rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #f4f4f4; text-shadow: 0 1px 8px #3c3c3b; }
.banner-name small { display: block; font-weight: 500; letter-spacing: 0.08em; font-size: 0.72rem; color: #c2ccd3; text-transform: uppercase; }
a.line-banner:hover { border-color: var(--accent); }
@media (max-width: 800px) {
  .banner-row { grid-template-columns: 1fr 1fr; }
  .line-banner { min-height: 46vh; }
}

.home-products { display: flex; align-items: center; gap: 0.75rem; }
.home-products .product-grid { flex: 1 1 auto; width: auto; min-width: 0; }
.all-products { flex: 0 0 5.5rem; width: 5.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem; text-align: center; font-weight: 700; letter-spacing: 0.04em; text-transform: lowercase; text-decoration: none; color: var(--accent); line-height: 1.15; }
.all-products-arrow { font-size: 2.6rem; line-height: 0.85; }
.all-products:hover { color: var(--text); }
.line-section { margin-top: 1.75rem; }
.line-section h2 { margin: 0 0 0.75rem; font-size: 1.15rem; }
.page .product-card { flex-direction: column; }
@media (max-width: 720px) {
  .home-products { flex-direction: column; align-items: stretch; }
  .home-products .product-grid { flex-basis: auto; width: 100%; }
  .all-products { flex: 0 0 auto; width: auto; align-self: center; padding: 0.4rem 0; }
}

.footer-bar { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; padding-top: 0; font-size: 0.82rem; }
.footer-bar p { margin: 0; }
.footer-bar strong { color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.75rem; margin-right: 0.35rem; }

body.home { min-height: 100vh; }
body.home .hero {
  min-height: 32vh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  border-bottom-color: #3c3c3b;
  background:
    linear-gradient(115deg, rgba(244,244,244,0.16) 0%, rgba(244,244,244,0.02) 28%, transparent 46%),
    linear-gradient(180deg, rgba(130,186,230,0.22) 0%, rgba(60,60,59,0.18) 100%),
    #4e5c66;
}
body.home .hero .eyebrow { color: #f4f4f4; }

body.home .hero .notify-card { border-color: #398899; }
body.home .hero .notify-card .btn-primary { background: #398899; color: #f4f4f4; }
body.home .hero .notify-card .btn-primary:hover { background: #4e5c66; color: #f4f4f4; }
body.home .hero .notify-card {
  background:
    linear-gradient(305deg, rgba(244,244,244,0.14) 0%, rgba(244,244,244,0.03) 32%, transparent 52%),
    linear-gradient(0deg, rgba(130,186,230,0.16) 0%, rgba(60,60,59,0) 70%),
    #3c3c3b;
}
body.home .site-footer { background: #82bae6; border-top-color: #5f7b91; }
body.home .site-footer, body.home .site-footer a, body.home .footer-bar strong { color: #3c3c3b; }
body.home .footer-notice { color: #f4f4f4; }
body.home .products { min-height: 43vh; display: flex; align-items: center; box-sizing: border-box; padding-top: 0; padding-bottom: 0; }
body.home .site-footer { min-height: 0; padding: 0.45rem 0 0.55rem; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
body.home .footer-bar { padding-top: 0; }
body.home .footer-notice { margin-top: 0.2rem; }

img, svg { max-width: 100%; }
body { overflow-x: hidden; }
@media (max-width: 1024px) {
  .nav { flex-wrap: wrap; }
  .header-inner { flex-wrap: wrap; }
  .hero .notify-form { flex-wrap: wrap; }
  .home-products { flex-direction: column; align-items: stretch; }
  .home-products .product-grid { width: 100%; flex: 1 1 auto; }
  .all-products { flex: 0 0 auto; width: auto; align-self: center; padding: 0.4rem 0; }
  .banner-row { grid-template-columns: 1fr 1fr; }
  .pin-products .product-card { min-height: 42vh; }
  body.home .hero, body.home .products, body.home .site-footer { min-height: 0; }
  body.home .hero { padding: 1.75rem 0; }
  body.home .products { padding: 1.25rem 0 1.5rem; }
}
@media (max-width: 700px) {
  body.home .products .product-card { flex-direction: row; align-items: stretch; }
  body.home .products .product-photo { width: 6.25rem; flex: 0 0 6.25rem; }
  .nav { width: 100%; justify-content: flex-start; gap: 0.55rem 0.85rem; font-size: 0.85rem; }
  .nav-tagline { width: auto; margin-right: 0; }
  .banner-row { grid-template-columns: 1fr; }
  .line-banner { min-height: 58vh; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 0.55rem; }
  .hero h1 { font-size: 1.35rem; }
  .product-grid { grid-template-columns: 1fr; }
  .pin-products .product-card { min-height: 0; }
  .about-grid { grid-template-columns: 1fr; }
}

.contact-grid { display: grid; gap: 1rem; align-items: start; margin-top: 1rem; }
@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1.45fr 0.85fr; }
}
.contact-card h2 { margin-bottom: 0.35rem; }
.contact-card label { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.85rem; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.contact-card input, .contact-card textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.contact-card textarea { min-height: 11rem; resize: vertical; }
.contact-card .btn { margin-top: 1rem; }
.page .lede a { color: var(--accent); }

.product-photo { width: 7.5rem; flex: 0 0 7.5rem; object-fit: contain; background: #f4f4f4; display: block; align-self: stretch; }
.pin-photo { background: #f4f4f4; object-fit: contain; }
