/* Jamak O: building materials, haulage, real estate (Ghana)
   One bold element: the hero is a corrugated roofing sheet.
   Everything else stays plain, like a well-run yard. */

:root {
  --sheet: #24527d;        /* roofing-sheet blue */
  --sheet-light: #3a6f9f;
  --sheet-dark: #173a5a;
  --rust: #8a4524;         /* rebar rust */
  --concrete: #e5e6e2;     /* concrete grey */
  --white: #ffffff;
  --ink: #16222e;          /* deep blue-black text */
  --muted: #4f5b66;
  --rule: #c9ccc6;

  --display: "Big Shoulders Display", "Arial Narrow", Arial, sans-serif;
  --body: "Public Sans", Arial, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0;
}

p { margin: 0; max-width: 62ch; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid #f2b705;
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 5;
}

.header-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 4.25rem;
}

.wordmark {
  /* Public Sans, not the condensed display face: there the O reads as a zero */
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  color: var(--sheet);
}

.nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
}
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.3em; }

.header-call {
  margin-left: auto;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--sheet);
  white-space: nowrap;
}
.header-call:hover { text-decoration: underline; }

/* ── Hero: a corrugated sheet ─────────────────────────── */
.hero {
  position: relative;
  color: var(--white);
  /* Ribs of the sheet: light catches one side of each corrugation */
  background:
    linear-gradient(180deg, rgba(10, 30, 50, 0) 40%, rgba(10, 30, 50, 0.35) 100%),
    repeating-linear-gradient(90deg,
      var(--sheet-dark) 0px,
      var(--sheet) 9px,
      var(--sheet-light) 16px,
      var(--sheet) 23px,
      var(--sheet-dark) 32px);
  overflow: hidden;
  padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(5rem, 11vw, 8.5rem);
}

/* A single sheen sweeps across the sheet when the page opens */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: sheen 1.8s 0.3s ease-out forwards;
  pointer-events: none;
}

@keyframes sheen {
  to { transform: translateX(100%); }
}

.hero-inner { position: relative; }

.hero h1 {
  font-size: clamp(3rem, 8.5vw, 7rem);
  max-width: 16ch;
  line-height: 1.02;
  text-wrap: balance;
  text-shadow: 0 2px 0 rgba(10, 30, 50, 0.35);
}

.hero-lead {
  margin-top: 1.75rem;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  max-width: 44ch;
  background: rgba(15, 40, 64, 0.72);
  padding: 1rem 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* The wavy edge where the sheet ends */
.sheet-edge {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 28px;
  fill: var(--white);
  transform: scaleY(-1);
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 3px;
}

.btn-light { background: var(--white); color: var(--sheet-dark); }
.btn-light:hover { background: var(--concrete); }

.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-solid { background: var(--sheet); color: var(--white); }
.btn-solid:hover { background: var(--sheet-dark); }

/* ── Sections ─────────────────────────────────────────── */
.materials,
.haulage,
.property,
.contact {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

h2 { font-size: clamp(2.5rem, 5vw, 4rem); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 1rem 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}
.section-head p { color: var(--muted); }

/* Materials as a yard's stock board: one row per material */
.stock-board {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 3px solid var(--ink);
}

.stock-row {
  display: grid;
  grid-template-columns: minmax(10rem, 1.1fr) minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 0.5rem 2rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.stock-row h3 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  color: var(--sheet);
}

.sold-by { font-weight: 700; }
.use { color: var(--muted); }

.ask {
  font-weight: 700;
  color: var(--rust);
  text-underline-offset: 0.25em;
  white-space: nowrap;
}
.ask:hover { color: var(--ink); }

.board-note {
  margin-top: 1.5rem;
  color: var(--muted);
}

/* Haulage: the rust band */
.haulage {
  background: var(--rust);
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 1.5rem 3rem;
}

.lead { font-size: 1.2rem; }

.haulage .lead { margin-top: 1rem; }

.ticks {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.ticks li {
  padding: 0.6rem 0 0.6rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.05rem;
  width: 0.85rem;
  height: 0.45rem;
  border-left: 3px solid var(--white);
  border-bottom: 3px solid var(--white);
  transform: rotate(-45deg);
}

.how { margin-bottom: 1.5rem; }

.haulage .btn-light { color: var(--rust); }

/* Real estate */
.property { background: var(--concrete); }
.property .lead { margin-bottom: 1.5rem; }

/* Contact */
.contact h2 { margin-bottom: 2rem; }

.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0;
  margin: 0;
  border-top: 3px solid var(--ink);
}

.contact-list div {
  padding: 1.1rem 1.5rem 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}

.contact-list dt {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-list dd {
  margin: 0.2rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.contact-list a { color: var(--sheet); text-underline-offset: 0.2em; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #c8d0d8;
  font-size: 0.95rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.site-footer a { color: var(--white); }

/* ── Smaller screens ──────────────────────────────────── */
@media (max-width: 60rem) {
  .nav { display: none; }
  .stock-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .ask { margin-top: 0.5rem; }
}

@media (max-width: 44rem) {
  .section-head,
  .split { grid-template-columns: 1fr; }
  .header-call { font-size: 0; }
  .header-call::after { content: "Call us"; font-size: 0.95rem; }
  .footer-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before { animation: none; display: none; }
}
