/* =========================
   THEME / TOKENS
========================= */
:root{
  /* Brand colours */
  --blue: rgb(47,111,255);
  --grey: rgb(65,71,77);
  --white: #ffffff;

  /* UI neutrals */
  --ink: rgb(18,22,26);
  --muted: rgba(65,71,77,.86);
  --line: rgba(65,71,77,.16);
  --soft: rgba(65,71,77,.06);

  /* Typography */
  --font-brand: "Cinzel", serif;
  --font-body: "Libre Baskerville", Georgia, "Times New Roman", serif;

  /* Layout */
  --max: 1180px;

  /* Header sizing knobs */
  --navH: 68px;
  --markH: 46px;

  /* Corners */
  --r: 18px;
}

/* =========================
   BASE
========================= */
*{ box-sizing:border-box; }
html, body{ height:100%; }

body{
  margin:0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  letter-spacing: .1px;
}

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

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

/* Base type sizing */
p{ font-size: 15px; }
.small{ font-size: 12px; color: rgba(65,71,77,.78); }

/* =========================
   HEADER / NAV
========================= */
header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav{
  height: var(--navH);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Brand (icon + one-line name) */
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  flex: 0 0 auto;
}

.brandMark{
  height: var(--markH);
  width: auto;
  display: block;
  object-fit: contain;
}

.brandType{
  display: flex;
  align-items: center;
  line-height: 1;
}

.brandName{
  font-family: var(--font-brand);
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--grey);
  font-size: 22px;
  text-transform: uppercase;
}

/* Nav links right */
.navlinks{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.navlinks a{
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.navlinks a:hover{
  background: var(--soft);
  border-color: var(--line);
  color: var(--ink);
}

.navlinks a.active{
  background: rgba(47,111,255,.10);
  border-color: rgba(47,111,255,.25);
  color: var(--ink);
}

/* =========================
   HERO
========================= */
.hero{
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.hero img{
  width: 100%;
  height: 680px;
  object-fit: cover;
  display: block;
}

/* =========================
   SECTIONS / HEADINGS
========================= */
section{ padding: 42px 0; }

h1{
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.4px;
  line-height: 1.08;
  font-size: clamp(28px, 3.8vw, 54px);
  color: var(--ink);
  max-width: 24ch;
}

.lede{
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  max-width: 78ch;
}

.centerTitle{
  text-align: center;
  margin: 34px 0 18px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.2px;
  font-size: 22px;
  color: var(--ink);
}

/* Divider line (used under intro + between sections) */
.sectionRule{
  width: min(760px, 100%);
  border: 0;
  border-top: 1px solid var(--line);
  margin: 26px auto 0;
}

.sectionRule--spaced{
  margin: 34px auto 0;
}

/* =========================
   INTRO (CENTERED)
========================= */
.introCenter{ padding-top: 52px; }

.introInner{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 34px;
}

.introIcon{
  height: 72px;
  width: auto;
  margin-bottom: 18px;
  object-fit: contain;
}

.introInner h1{
  max-width: none;
  margin-bottom: 12px;
}

.introInner .lede{
  max-width: 72ch;
}

/* =========================
   CARDS / TILES
========================= */
.cards{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

/* Top row – 3 cards */
.cards > .tile:nth-child(1){
  grid-column: 1 / span 2;
}
.cards > .tile:nth-child(2){
  grid-column: 3 / span 2;
}
.cards > .tile:nth-child(3){
  grid-column: 5 / span 2;
}

/* Bottom row – 2 centered cards */
.cards > .tile:nth-child(4){
  grid-column: 2 / span 2;
}
.cards > .tile:nth-child(5){
  grid-column: 4 / span 2;
}

.tile{
  border: 1px solid rgba(65,71,77,.14);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

.tile img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: var(--soft);
}

.tileBody{ padding: 14px 14px 16px; }

.tileTitle{
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--grey);
}

.tileMeta{
  margin: 0;
  font-size: 13px;
  color: rgba(65,71,77,.82);
}

/* Specialties: sharp edges + slightly shorter images */
.sharp .tile{ border-radius: 0; }
.sharp .tile img{ border-radius: 0; }
.specialties .tile img{ height: 190px; }

/* =========================
   THE OLYMPUS DIFFERENCE
========================= */
.difference{
  padding: 34px 0;
}

.differenceGrid{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Vertical divider line down the middle */
.differenceGrid::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
  transform: translateX(-0.5px);
}

.differenceTitle{
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.2px;
  font-size: 22px;
  color: var(--ink);
}

.differenceText{
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
  font-size: 15px;
}

/* Right column icon rows */
.differenceRight{
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 10px; /* keeps text off the centre line slightly */
}

.diffItem{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
}

.diffIcon{
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.diffCopy{
  color: rgba(65,71,77,.88);
  font-size: 15px;
}

/* Responsive: stack, remove the vertical divider */
@media (max-width: 900px){
  .differenceGrid{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .differenceGrid::before{
    display: none;
  }
  .differenceRight{
    padding-left: 0;
  }
}

/* =========================
   LINKS / BUTTONS
========================= */
.link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
}

.link:hover{ background: var(--soft); }

/* =========================
   RFQ BAND (JDA-STYLE COLOURED BLOCK)
========================= */
.cta{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(47,111,255,.06); /* tinted band */
}

.ctaBig{ padding: 22px 0; }

.ctaCenter{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.ctaStrong{
  color: var(--grey);
  font-weight: 600;
  font-size: 18px;
}

.ctaCenter .small{
  max-width: 70ch;
  margin-top: 6px;
}

/* FOOTER */
.siteFooter{
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 26px 0 40px;
}

.footerInner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

/* LEFT SIDE */
.footerLeft{
  display:flex;
  align-items:center;
  gap:14px;
  max-width: 70%;
}

.footerMark{
  height: 38px;
  width: auto;
  display:block;
  object-fit:contain;
}

.footerBrand{
  font-family: var(--font-brand);
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;
  color: var(--grey);
  font-size: 14px;
}

.footerDisclaimer{
  font-size: 12px;
  color: rgba(65,71,77,.78);
  margin-top: 4px;
}

/* RIGHT SIDE */
.footerSocial{
  display:flex;
  align-items:center;
  gap:12px;
}

.footerSocial img{
  height: 34px;
  width: 34px;
  display:block;
  transition: transform .15s ease, filter .15s ease;
}

.footerSocial a:hover img{
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Responsive */
@media (max-width: 720px){
  .footerInner{
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
  }

  .footerLeft{
    max-width:100%;
  }

  .footerSocial{
    align-self:flex-start;
  }
}


/* =========================
   CONTACT FORM (for contact.html)
========================= */
.formGrid{
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 14px;
  align-items: start;
}

.card{
  padding: 18px;
  border-radius: var(--r);
  border: 1px solid rgba(65,71,77,.14);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

label{
  font-size: 12px;
  color: rgba(65,71,77,.86);
  font-weight: 500;
}

input, textarea, select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(65,71,77,.20);
  background: var(--white);
  color: var(--ink);
  outline: none;
  font-family: var(--font-body);
}

textarea{ min-height: 120px; resize: vertical; }

input:focus, textarea:focus, select:focus{
  border-color: rgba(47,111,255,.55);
  box-shadow: 0 0 0 4px rgba(47,111,255,.14);
}

.form{ display: grid; gap: 12px; }

.row2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btnPrimary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(47,111,255,.45);
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.btnPrimary:hover{ background: rgb(35,98,235); }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px){
  :root{
    --navH: 74px;
    --markH: 40px;
  }

  .hero img{ height: 420px; }

  .cards{ grid-template-columns: 1fr; }

  .formGrid{ grid-template-columns: 1fr; }

  h1{ max-width: 30ch; }

  .brand{ min-width: 220px; }
}
