/* ===================================================================
   PELICAN SAFETY GROUP — brand stylesheet
   Tokens:
   --navy    : primary background / brand ink
   --navy-2  : card / raised surface navy
   --orange  : safety orange, primary accent + CTA
   --orange-d: orange, darker (hover/pressed)
   --cream   : paper white, used for text-on-navy and card fill
   --steel   : muted steel gray, secondary text
   --ink     : near-black, body text on light surfaces
   Type:
   --display : Oswald (condensed industrial, headlines/labels)
   --body    : "Source Sans 3" (body copy)
   Signature element: the lockout/tagout tag — a clipped-corner tag
   shape with a punch hole, used for section eyebrows + nav labels.
   PSG teaches LOTO; the tag IS the brand mark.
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --navy: #0E1B2E;
  --navy-2: #172A45;
  --navy-3: #1F3557;
  --orange: #E85D0B;
  --orange-d: #C24A08;
  --cream: #F4EFE4;
  --steel: #8492A6;
  --ink: #14181F;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
}

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

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

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TAG (signature element) ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--navy);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px 6px 20px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  position: relative;
}
.tag::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--navy);
}
.tag--light {
  background: var(--cream);
  color: var(--navy);
}
.tag--outline {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
}

/* ---------- HEADER / NAV ---------- */
header.site {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--orange);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Oswald', sans-serif;
  color: var(--cream);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.logo-text span {
  display: block;
  font-size: 11px;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.18em;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav.main-nav a {
  font-family: 'Oswald', sans-serif;
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  border-color: var(--orange);
  color: var(--orange);
}

/* ---------- HAMBURGER (mobile nav toggle) ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--cream);
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 26px;
  border: 2px solid var(--orange);
  background: var(--orange);
  color: var(--navy);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
}
.btn:hover { background: var(--orange-d); border-color: var(--orange-d); color: var(--cream); }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn--ghost:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }

/* ---------- BRAND BANNER ---------- */
.brand-banner {
  background: var(--cream);
  border-bottom: 3px solid var(--orange);
  padding: 44px 24px;
  text-align: center;
  line-height: 0;
}
.brand-banner img {
  width: min(500px, 80%);
  height: auto;
  display: inline-block;
}

/* ---------- HERO ---------- */
.hero {
  background: var(--navy);
  color: var(--cream);
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
  border-bottom: 6px solid var(--orange);
}
.hero .wrap { position: relative; z-index: 2; max-width: 760px; }
.hero .tag { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero .sub {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  color: var(--orange);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.hero p.lead {
  font-size: 18px;
  color: #C9D2E0;
  max-width: 560px;
  margin-bottom: 34px;
}
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* diagonal stripe accents in hero background */
.hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -60px;
  width: 420px;
  height: 420px;
  background: repeating-linear-gradient(
    -45deg,
    var(--navy-3) 0px, var(--navy-3) 26px,
    var(--navy-2) 26px, var(--navy-2) 52px
  );
  opacity: 0.55;
  z-index: 1;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 80%);
}

/* ---------- SECTIONS ---------- */
section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .tag { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); color: var(--navy); }
.section-head p { color: var(--steel); font-size: 17px; margin-top: 14px; }

.band {
  background: var(--navy);
  color: var(--cream);
}
.band .section-head h2 { color: var(--cream); }

/* pillars / triad */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--cream);
  border: 1px solid #E2DACB;
  border-top: 4px solid var(--orange);
  padding: 28px 24px;
}
.pillar h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
}
.pillar p { color: var(--steel); font-size: 15px; }

/* mission statement banner */
.statement {
  background: var(--navy-2);
  color: var(--cream);
  padding: 70px 0;
  text-align: left;
  border-top: 1px solid var(--navy-3);
  border-bottom: 1px solid var(--navy-3);
}
.statement .wrap { max-width: 760px; }
.statement p.big {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(24px, 3.4vw, 34px);
  text-transform: none;
  letter-spacing: 0;
  color: var(--cream);
}
.statement p.big strong { color: var(--orange); }

/* service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid #E2DACB;
  padding: 30px;
  position: relative;
}
.service-card h3 {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
}
.service-card ul { list-style: none; color: var(--steel); font-size: 15px; }
.service-card li { padding: 4px 0 4px 18px; position: relative; }
.service-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--orange);
}
.service-card p { color: var(--steel); font-size: 15px; }

/* expect list */
.expect-list {
  display: grid;
  gap: 16px;
}
.expect-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid #E2DACB;
}
.expect-item .tag { flex-shrink: 0; min-width: 46px; justify-content: center; }
.expect-item p { color: var(--steel); }
.expect-item strong { color: var(--navy); font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.02em; display: block; margin-bottom: 4px; }

/* about / values list */
.values-list { list-style: none; }
.values-list li {
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid rgba(244,239,228,0.18);
  position: relative;
  color: var(--cream);
}
.values-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* CTA band */
.cta-band {
  background: var(--orange);
  color: var(--navy);
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 10px; }
.cta-band p { margin-bottom: 26px; font-size: 17px; }
.cta-band .btn { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.cta-band .btn:hover { background: var(--navy-2); border-color: var(--navy-2); }

/* contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
form.job-ticket {
  background: #fff;
  border: 1px solid #E2DACB;
  padding: 34px;
}
form.job-ticket label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
  margin-top: 18px;
}
form.job-ticket label:first-child { margin-top: 0; }
form.job-ticket input,
form.job-ticket textarea {
  width: 100%;
  border: 1.5px solid #C9BFA8;
  background: var(--cream);
  padding: 12px 14px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  color: var(--ink);
}
form.job-ticket input:focus,
form.job-ticket textarea:focus {
  outline: none;
  border-color: var(--orange);
}
form.job-ticket .btn { margin-top: 24px; width: 100%; }

.contact-info h3 { color: var(--navy); font-size: 20px; margin-bottom: 14px; }
.contact-info p { color: var(--steel); margin-bottom: 22px; }
.contact-info .line { margin-bottom: 14px; }
.contact-info .line strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ---------- PETE FIGURES ---------- */
.section-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
}
.section-split-text { flex: 1; max-width: 640px; }
.section-split-img {
  width: 200px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 10px rgba(14,27,46,0.15));
}
.pete-corner {
  position: absolute;
  width: 150px;
  bottom: 0;
  right: 30px;
  filter: drop-shadow(0 6px 10px rgba(14,27,46,0.15));
}
.card-pete {
  width: 90px;
  position: absolute;
  top: -18px;
  right: -10px;
  filter: drop-shadow(0 4px 8px rgba(14,27,46,0.18));
}
.card-photo {
  position: absolute;
  top: 100px;
  right: 24px;
  width: min(235px, 40%);
  border: 3px solid var(--navy);
  box-shadow: 0 8px 18px rgba(14,27,46,0.22);
  transform: rotate(1.5deg);
}
.philosophy-split {
  max-width: 900px;
  display: flex;
  gap: 40px;
  align-items: flex-end;
}
.philosophy-text { flex: 1; min-width: 0; }
.philosophy-img {
  width: 190px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 10px rgba(14,27,46,0.15));
}

/* ---------- FOUNDER BIO ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: start;
}
.founder-photo img {
  width: 100%;
  border: 4px solid var(--navy);
}
.founder-bio p {
  color: var(--steel);
  font-size: 16px;
  margin-bottom: 16px;
}
.founder-bio p:last-child { margin-bottom: 0; }
.founder-bio strong { color: var(--navy); }

.experience-summary {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid #E2DACB;
}
.exp-lead {
  color: var(--navy);
  font-size: 17px;
  max-width: 720px;
  margin-bottom: 26px;
  font-weight: 600;
}
.exp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 30px;
}
.exp-item {
  color: var(--ink);
  font-size: 14.5px;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid #E2DACB;
  position: relative;
}
.exp-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  background: var(--orange);
}

/* ---------- FOOTER ---------- */
footer.site {
  background: var(--navy);
  color: var(--steel);
  padding: 44px 0 30px;
  border-top: 4px solid var(--orange);
}
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
footer.site .foot-tagline {
  font-family: 'Oswald', sans-serif;
  color: var(--cream);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
footer.site .foot-links { display: flex; gap: 22px; }
footer.site .foot-links a { font-size: 14px; color: var(--steel); }
footer.site .foot-links a:hover { color: var(--orange); }
footer.site .copyright { font-size: 13px; color: #566378; width: 100%; padding-top: 24px; border-top: 1px solid var(--navy-3); margin-top: 24px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .card-photo { position: static; width: 100%; margin-top: 16px; transform: none; }
  header.site { position: sticky; }
  header.site .wrap { position: relative; flex-wrap: wrap; }
  .hamburger { display: flex; }
  .btn--desktop-only { display: none; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--navy);
    border-bottom: 3px solid var(--orange);
    padding: 10px 24px 22px;
    z-index: 100;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--navy-3);
  }
  nav.main-nav a:last-child { border-bottom: none; }
  .pillars { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 260px; margin: 0 auto 8px; }
  .exp-grid { grid-template-columns: 1fr; }
  .section-split { flex-direction: column; align-items: center; text-align: center; }
  .section-split-img { width: 150px; order: -1; margin-bottom: 12px; }
  .philosophy-split { flex-direction: column; align-items: center; text-align: center; }
  .philosophy-img { width: 150px; order: -1; margin-bottom: 12px; }
  .pete-corner { display: none; }
  .hero { padding: 60px 0 70px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
