:root {
  --bg: #0f1720;
  --bg-soft: #182533;
  --panel: rgba(20, 31, 43, 0.9);
  --panel-soft: rgba(27, 40, 54, 0.78);
  --line: rgba(255, 214, 102, 0.12);
  --line-strong: rgba(255, 214, 102, 0.34);
  --text: #f4f1e8;
  --muted: #afbaC3;
  --sand: #ffd666;
  --amber: #f0b949;
  --rust: #b86d2c;
  --steel: #7e93a8;
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Barlow", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(240, 185, 73, 0.12), transparent 20%),
    linear-gradient(180deg, #0c131b 0%, #101922 48%, #0b1218 100%);
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 214, 102, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 214, 102, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1260px, calc(100% - 28px));
  margin: 0 auto;
  padding: 14px 0 48px;
}

.site-header,
.hero-copy,
.hero-visual,
.promise-card,
.product-card,
.contact-card,
.calc-category,
.calc-card,
.calc-summary,
.calc-tab-strip {
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 21, 29, 0.88);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  object-fit: cover;
  background: #1b1b1b;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-since {
  color: var(--sand);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-text strong,
.hero-copy h1,
.section-heading h2,
.promise-card h2,
.product-card h3,
.contact-card h2,
.calc-category h2,
.calc-card h3 {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.02em;
  margin: 0;
}

.brand-text small,
.hero-lead,
.product-card p,
.contact-card p,
.calc-card p,
.calc-card li,
.section-heading p {
  color: var(--muted);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--sand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
}

.button-primary {
  color: #15110b;
  background: linear-gradient(135deg, var(--sand), var(--amber));
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 12px;
}

.hero-copy,
.hero-visual,
.promise-card,
.product-card,
.contact-card,
.calc-category,
.calc-card,
.calc-summary,
.calc-tab-strip {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(27, 40, 54, 0.88), rgba(13, 21, 29, 0.95)),
    var(--panel);
  border-radius: var(--radius-xl);
}

.hero-copy,
.hero-visual,
.contact-card,
.calc-summary {
  padding: 22px;
}

.hero-copy.compact h1 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  max-width: none;
  width: 100%;
  line-height: 0.98;
}

.hero-lead {
  margin: 14px 0 0;
  line-height: 1.6;
}

.hero-lead-short {
  max-width: 28ch;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--sand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-actions,
.contact-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.product-actions {
  flex-wrap: nowrap;
  align-items: center;
}

.product-actions .button {
  flex: 1 1 0;
  min-width: 0;
}

.hero-home .hero-copy {
  width: 100%;
  max-width: none;
  padding: 16px 18px;
}

.hero-home {
  gap: 0;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-content: stretch;
  background:
    linear-gradient(135deg, rgba(255, 214, 102, 0.05), transparent 55%),
    linear-gradient(180deg, rgba(27, 40, 54, 0.88), rgba(13, 21, 29, 0.95));
}

.hero-metric {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-metric span,
.calc-summary strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 2.4rem;
  color: var(--sand);
}

.hero-metric small,
.calc-summary span {
  color: var(--muted);
}

.section {
  margin-top: 34px;
}

.quick-promise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.promise-card,
.product-card,
.calc-card {
  padding: 18px;
}

.promise-card {
  position: relative;
}

.promise-card::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 16px;
  min-width: 72px;
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 102, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--sand);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quick-promise .promise-card:nth-child(1)::before {
  content: "Field";
}

.quick-promise .promise-card:nth-child(3)::before {
  content: "Direct";
}

.promise-card-highlight {
  position: relative;
  border-color: rgba(255, 214, 102, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 214, 102, 0.16), rgba(184, 109, 44, 0.1) 48%, rgba(13, 21, 29, 0.95) 100%),
    linear-gradient(180deg, rgba(27, 40, 54, 0.94), rgba(13, 21, 29, 0.98));
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 214, 102, 0.12) inset;
}

.promise-card-highlight::before {
  content: "★";
  min-width: 40px;
  font-size: 1rem;
  letter-spacing: 0;
  border-color: rgba(255, 214, 102, 0.26);
  background: rgba(255, 214, 102, 0.12);
}

.promise-card-highlight h2 {
  color: #fff5d6;
}

.promise-card-highlight p {
  color: #f0dca5;
  font-weight: 600;
}

.promise-card p,
.product-card p,
.contact-short {
  margin: 10px 0 0;
  line-height: 1.6;
}

.section-heading {
  max-width: none;
  width: 100%;
  margin-bottom: 22px;
}

.compact-heading h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  align-content: start;
  height: 100%;
}

.compact-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.kids-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-cover {
  aspect-ratio: 3 / 6.1;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  padding: 10px;
}

.product-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  color: var(--sand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 1.55rem;
  line-height: 1;
  margin-top: 12px;
}

.product-card strong {
  color: var(--text);
}

.product-actions {
  margin-top: auto;
  padding-top: 18px;
}

.oilfield-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background:
    linear-gradient(135deg, rgba(255, 214, 102, 0.08), transparent 45%),
    linear-gradient(180deg, rgba(27, 40, 54, 0.88), rgba(13, 21, 29, 0.95));
}

.calc-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.calc-summary article {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.calc-tab-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
}

.calc-nav {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.calc-nav.is-active {
  background: linear-gradient(135deg, var(--sand), var(--amber));
  color: #15110b;
  border-color: transparent;
}

.calc-library {
  display: grid;
  gap: 24px;
}

.calc-category {
  padding: 24px;
}

.calc-category-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.calc-category-header p {
  margin: 6px 0 0;
  color: var(--muted);
}

.calc-badge {
  color: var(--sand);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.calc-card {
  display: grid;
  gap: 12px;
}

.calc-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.calc-card h3 {
  font-size: 1.45rem;
  line-height: 1;
}

.favorite-button {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.favorite-button.is-favorite {
  color: #15110b;
  background: linear-gradient(135deg, var(--sand), var(--amber));
  border-color: transparent;
}

.calc-form {
  display: grid;
  gap: 10px;
}

.calc-form label {
  display: grid;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 700;
}

.calc-form input {
  min-height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 214, 102, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.calc-result {
  margin: 0;
  min-height: 74px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 214, 102, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  line-height: 1.5;
}

.calc-note {
  margin: 0;
  font-size: 0.84rem;
  color: #8f9eab;
}

.calc-search-panel {
  padding: 24px;
}

.calc-search-label {
  display: block;
}

.calc-search-input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.calc-search-input::placeholder {
  color: #8f9eab;
}

.calc-category.is-hidden,
.calc-card.is-hidden {
  display: none;
}

.favorites-panel {
  padding: 24px;
}

.favorites-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.favorites-actions {
  display: flex;
  align-items: center;
}

.favorites-toggle.is-active {
  color: #15110b;
  background: linear-gradient(135deg, var(--sand), var(--amber));
  border-color: transparent;
}

.favorite-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
}

.favorite-chip:hover,
.favorite-chip:focus-visible {
  border-color: var(--line-strong);
}

.favorites-empty {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1180px) {
  .site-header,
  .hero,
  .quick-promise,
  .oilfield-contact,
  .calc-grid,
  .product-grid,
  .compact-grid,
  .kids-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    border-radius: 26px;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero,
  .oilfield-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 18px, 1260px);
    padding-top: 12px;
  }

  .hero-copy,
  .hero-visual,
  .contact-card,
  .calc-summary,
  .calc-category {
    padding: 20px;
  }

  .hero-copy.compact h1 {
    max-width: none;
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .quick-promise,
  .product-grid,
  .compact-grid,
  .kids-grid,
  .calc-grid,
  .calc-summary {
    grid-template-columns: 1fr;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .hero-actions,
  .contact-actions,
  .product-actions {
    flex-direction: column;
  }

  .calc-category-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
