/* ==========================================================================
   R&Y Resources
   Palette taken from the logo: black, charcoal, white, yellow, red.
   ========================================================================== */

:root {
  --ink:      #0E0E10;
  --ink-2:    #17171A;
  --ink-3:    #26262B;
  --yellow:   #F2A81E;
  --yellow-d: #D08F0C;
  --red:      #DD2019;
  --paper:    #FFFFFF;
  --tint:     #F4F4F1;
  --line:     #E2E2DE;
  --muted:    #6A6A70;

  --wrap: 1180px;
  --r: 4px;

  --font-head: "Saira", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.22rem; letter-spacing: 0; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 800px; }
.center { text-align: center; }

.skip {
  position: absolute; left: -9999px;
  background: var(--yellow); color: var(--ink);
  padding: 12px 18px; font-weight: 600; z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* --------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 700; font-size: .95rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 15px 26px;
  border: 2px solid transparent; border-radius: var(--r);
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 16px; font-size: .8rem; }

.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-d); }

.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.link-yellow {
  color: var(--yellow); font-weight: 600;
  text-decoration: none; border-bottom: 2px solid currentColor;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- Header */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 78px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 50px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.18rem; letter-spacing: -0.01em; text-transform: uppercase;
}
.brand-text em {
  font-style: normal; font-size: .66rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a {
  font-family: var(--font-head); font-weight: 600; font-size: .93rem;
  letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav > a:not(.btn):hover,
.nav > a[aria-current="page"] { border-bottom-color: var(--yellow); }

.nav-toggle {
  display: none;
  width: 46px; height: 42px; padding: 10px;
  background: none; border: 1px solid var(--line); border-radius: var(--r);
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink);
  margin: 4px 0; transition: .2s;
}

/* ------------------------------------------------------------------ Hero */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
/* Angled brand stripes, so the page has energy without stock photography */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -60deg,
    rgba(255,255,255,.045) 0 2px,
    transparent 2px 62px
  );
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: clamp(64px, 11vw, 128px) 24px clamp(56px, 9vw, 104px); }

.eyebrow {
  font-family: var(--font-head);
  font-size: .82rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.4em;
}

.hero h1 { margin-bottom: .42em; }
.hl-yellow { color: var(--yellow); }
.hl-red { color: var(--red); }

.lede { font-size: 1.16rem; max-width: 62ch; color: rgba(255,255,255,.86); }
.section .lede { color: inherit; }
.section-dark .lede { color: rgba(255,255,255,.86); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }

.hero-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; margin: 2.6rem 0 0; padding: 0;
}
.hero-tags li {
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 15px;
  border: 1px solid rgba(255,255,255,.24); border-radius: 999px;
  color: rgba(255,255,255,.82);
}

/* -------------------------------------------------------------- Sections */

.section { padding: clamp(58px, 8vw, 96px) 0; scroll-margin-top: 90px; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-tint { background: var(--tint); }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-dark .section-head p { color: rgba(255,255,255,.66); }
.section-head .sep { color: var(--yellow); }

.big-text {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600; line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}

.pull-quote {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 700; line-height: 1.32;
  border-left: 5px solid var(--yellow);
  padding: 4px 0 4px 24px;
  margin-top: 2.2rem;
}

/* ------------------------------------------------- Inner page hero */

.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(52px, 7vw, 84px) 0 clamp(48px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-60deg, rgba(255,255,255,.045) 0 2px, transparent 2px 62px);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .5em; }

.cta-row-center { justify-content: center; }

/* ------------------------------------------- Split section (head + list) */

.split {
  display: grid; gap: 44px;
  grid-template-columns: minmax(0, 3fr) minmax(0, 5fr);
  align-items: start;
}
.split-head { position: sticky; top: 110px; }
.split-head h2 { margin-bottom: .45em; }
.split-head p { color: var(--muted); font-size: 1.02rem; margin: 0; }

.rule { display: block; width: 56px; height: 6px; margin-bottom: 20px; border-radius: 2px; }
.rule-black  { background: var(--ink); }
.rule-yellow { background: var(--yellow); }
.rule-red    { background: var(--red); }

.detail-list { margin: 0; }
.detail-list > div {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.detail-list > div:first-child { border-top: none; padding-top: 0; }
.detail-list dt {
  font-family: var(--font-head);
  font-size: 1.16rem; font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: .35em;
}
.detail-list dd { margin: 0; color: var(--muted); font-size: 1rem; }

.section-tint .detail-list > div { border-top-color: #E0E0DA; }

/* --------------------------------------------------------------- Pillars */

.pillars {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.pillar {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,.09);
  border-top: 5px solid var(--yellow);
  border-radius: var(--r);
  padding: 34px 28px 30px;
}
.pillar-services  { border-top-color: var(--paper); }
.pillar-supplies  { border-top-color: var(--yellow); }
.pillar-solutions { border-top-color: var(--red); }

.pillar h3 {
  font-size: 1.5rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .02em;
  margin-bottom: 1.1rem;
}
.pillar-supplies h3  { color: var(--yellow); }
.pillar-solutions h3 { color: var(--red); }

.pillar ul { list-style: none; margin: 0; padding: 0; }
.pillar li {
  position: relative;
  padding: 11px 0 11px 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.84);
  font-size: .98rem;
}
.pillar li::before {
  content: ""; position: absolute; left: 0; top: 20px;
  width: 8px; height: 2px; background: var(--yellow);
}
.pillar-services  li::before { background: var(--paper); }
.pillar-solutions li::before { background: var(--red); }

.pillars-note {
  margin-top: 2.4rem; padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.72);
  max-width: 72ch;
}

/* ------------------------------------------------- Two column + values */

.two-col {
  display: grid; gap: 52px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.two-col p { color: rgba(255,255,255,.82); }
.two-col .emphasis {
  font-family: var(--font-head);
  font-size: 1.2rem; font-weight: 600; line-height: 1.4;
  color: var(--yellow);
}

.values {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.value {
  border-top: 4px solid var(--yellow);
  background: var(--tint);
  border-radius: var(--r);
  padding: 28px 26px;
}
.value:nth-child(2) { border-top-color: var(--red); }
.value:nth-child(3) { border-top-color: var(--ink); }
.value:nth-child(4) { border-top-color: var(--yellow); }
.value:nth-child(5) { border-top-color: var(--red); }
.value:nth-child(6) { border-top-color: var(--ink); }
.value h3 { text-transform: uppercase; letter-spacing: .02em; margin-bottom: .55em; }
.value p { color: var(--muted); font-size: .98rem; margin: 0; }

.eyebrow-dark { color: var(--yellow-d); }

/* ------------------------------------- Acknowledgement of Country block */

.ack-section { background: var(--ink); color: var(--paper); }
.ack-full {
  border-left: 6px solid var(--yellow);
  padding: 8px 0 8px 32px;
}
.ack-full h2 { color: var(--yellow); font-size: clamp(1.5rem, 3vw, 2.1rem); }
.ack-full p { color: rgba(255,255,255,.88); font-size: 1.06rem; max-width: 68ch; }

/* --------------------------------------------------------------- Sectors */

.sectors {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.sector { background: var(--paper); padding: 32px 26px; }
.sector-num {
  display: block;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; color: var(--yellow);
  margin-bottom: .9rem;
}
.sector h3 { margin-bottom: .5rem; }
.sector p { color: var(--muted); font-size: .97rem; margin: 0; }

/* -------------------------------------------------------------- Coverage */

.coverage {
  display: grid; gap: 46px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.coverage-copy p { color: var(--muted); max-width: 48ch; }

.coverage-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.coverage-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: var(--r);
  padding: 17px 22px;
}
.coverage-list li:nth-child(2) { border-left-color: var(--red); }
.coverage-list li:nth-child(3) { border-left-color: var(--ink); }
.coverage-list strong {
  font-family: var(--font-head); font-size: 1.12rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
}
.coverage-list span { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; }

/* ------------------------------------------------------------- CTA band */

.cta-band { background: var(--tint); }
.cta-band .lede { color: var(--muted); margin-inline: auto; }

.contact-cards {
  display: grid; gap: 16px; margin-top: 2.6rem;
  grid-template-columns: repeat(2, 1fr);
}
.contact-card {
  display: flex; flex-direction: column; gap: 5px;
  background: var(--ink); color: var(--paper);
  border-radius: var(--r);
  padding: 24px 22px;
  text-decoration: none;
  transition: background-color .15s ease, transform .12s ease;
}
.contact-card:hover { background: var(--ink-3); transform: translateY(-2px); }
.contact-card span {
  font-family: var(--font-head); font-size: .74rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--yellow);
}
.contact-card strong {
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 700;
  letter-spacing: -0.01em; word-break: break-word;
}
.contact-card-wide { grid-column: 1 / -1; }

/* --------------------------------------------------------- Contact page */

.contact-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: clamp(48px, 6vw, 76px);
}
.contact-tile {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--ink); color: var(--paper);
  border-radius: var(--r);
  padding: 28px 24px;
  text-decoration: none;
  transition: background-color .15s ease, transform .12s ease;
}
.contact-tile:hover { background: var(--ink-3); transform: translateY(-2px); }
.contact-tile span {
  font-family: var(--font-head); font-size: .74rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--yellow);
}
.contact-tile strong {
  font-family: var(--font-head); font-size: 1.24rem; font-weight: 700;
  letter-spacing: -0.01em; overflow-wrap: anywhere;
}
.contact-tile em {
  font-style: normal; font-size: .84rem; color: rgba(255,255,255,.55);
}
.contact-tile-accent { background: var(--red); }
.contact-tile-accent:hover { background: #C41B15; }
.contact-tile-accent span { color: rgba(255,255,255,.9); }
.contact-tile-accent em { color: rgba(255,255,255,.75); }

.coverage-contact { padding-top: 8px; }

/* ------------------------------------------------------------- The form */

.form-layout {
  display: grid; gap: 46px;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
}
.form-intro { position: sticky; top: 110px; }
.form-intro h2 { margin-bottom: .45em; }
.form-intro p { color: var(--muted); }
.form-note { font-size: .95rem; }
.form-note a { color: var(--ink); font-weight: 600; }

.quote-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 3vw, 34px);
}

/* Grid children default to min-width:auto, which lets a <select> with long
   option text push the whole page sideways. These keep it inside its column. */
.form-layout > * { min-width: 0; }
.field { margin-bottom: 20px; min-width: 0; }
.field-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.field-row > .field { min-width: 0; }

.field label {
  display: block;
  font-family: var(--font-head); font-size: .88rem; font-weight: 600;
  letter-spacing: .03em; text-transform: uppercase;
  margin-bottom: 8px;
}
.req { color: var(--red); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem;
  color: var(--ink); background: var(--paper);
  padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r);
  transition: border-color .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { min-width: 0; text-overflow: ellipsis; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--yellow); outline: none; box-shadow: 0 0 0 3px rgba(242,168,30,.22); }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--red); }
.field ::placeholder { color: #A6A6AA; }

.btn-block { width: 100%; }

.form-error {
  background: #FDECEB; color: #8E1410;
  border-left: 4px solid var(--red); border-radius: var(--r);
  padding: 13px 16px; margin: 0 0 18px; font-size: .95rem;
}
.form-fineprint { font-size: .85rem; color: var(--muted); margin: 16px 0 0; text-align: center; }

.form-success {
  grid-column: 2;
  background: var(--ink); color: var(--paper);
  border-radius: var(--r);
  border-top: 5px solid var(--yellow);
  padding: 40px 34px;
}
.form-success h3 { color: var(--yellow); font-size: 1.5rem; }
.form-success p { color: rgba(255,255,255,.84); margin: 0; }
.form-success a { color: var(--yellow); font-weight: 600; }

/* Spam trap. Hidden from people without using display:none, which some bots check for. */
.honeypot {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- Footer */

.site-footer { background: var(--ink); color: rgba(255,255,255,.74); padding: 68px 0 30px; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.74); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }

.footer-top {
  display: grid; gap: 42px;
  grid-template-columns: 2fr 1fr 1.4fr;
  padding-bottom: 42px;
}
.footer-brand img { width: 62px; margin-bottom: 16px; }
.footer-name {
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 800;
  text-transform: uppercase; color: var(--paper); margin: 0 0 .3em;
}
.footer-tag {
  font-family: var(--font-head); font-size: .74rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin: 0 0 .25em;
}
.footer-motto { color: var(--yellow); font-weight: 500; margin-top: 1.1em; max-width: 32ch; }

.footer-col h3 {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--paper); margin-bottom: 1.1em;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .7em; }

.acknowledgement {
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  padding: 34px 0;
  border-left: 5px solid var(--yellow);
  padding-left: 26px;
}
.acknowledgement h3 {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--yellow); margin-bottom: .9em;
}
.acknowledgement p { max-width: 78ch; margin: 0; }

.footer-legal { padding-top: 28px; font-size: .86rem; color: rgba(255,255,255,.5); }
.footer-legal p { margin: 0; }

/* ------------------------------------------------------------ Responsive */

@media (max-width: 900px) {
  .coverage { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split-head { position: static; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .form-layout { grid-template-columns: 1fr; gap: 30px; }
  .form-intro { position: static; }
  .form-success { grid-column: 1; }
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 22px;
  }
  body.nav-open .nav { display: flex; }
  .nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a.btn { margin-top: 14px; border: 2px solid transparent; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .contact-cards { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .brand-text em { display: none; }
  .acknowledgement { padding-left: 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .footer-col li { margin-bottom: .5em; }
  .site-footer a { overflow-wrap: anywhere; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .btn:hover, .contact-card:hover { transform: none; }
}
