/* PSC Construction Ltd */
:root {
  --ink: #12161c;
  --ink-2: #1c222b;
  --slate: #2b333f;
  --text: #2a2f36;
  --muted: #5a6370;
  --line: #dfe3e8;
  --paper: #ffffff;
  --paper-2: #f4f5f7;
  --amber: #f2a900;
  --amber-dark: #c98a00;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(18, 22, 28, 0.08);
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

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

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1em; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 22, 28, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  text-decoration: none;
  font-family: var(--head);
  font-size: 1.6rem;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.brand-strong { color: var(--amber); font-weight: 700; }
.brand-light { font-weight: 600; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.site-nav a {
  color: #e6e9ee;
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover { color: #fff; border-color: var(--amber); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #fff;
  transform: translateX(-50%);
  transition: transform 0.2s, background 0.2s;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; left: 0; transform: none; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: #ffbd1f; }

.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* Hero */
.hero {
  position: relative;
  color: #e6e9ee;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(ellipse at 85% 20%, rgba(242, 169, 0, 0.18), transparent 55%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 60%, var(--slate) 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: 40px;
  width: 420px;
  height: 420px;
  border: 2px solid rgba(242, 169, 0, 0.22);
  transform: rotate(45deg);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(4rem, 10vw, 7.5rem);
  padding-bottom: clamp(4rem, 10vw, 7.5rem);
  max-width: 1160px;
}

.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
  padding-left: 2.5rem;
  position: relative;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.8rem;
  height: 2px;
  background: var(--amber);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  text-transform: uppercase;
  max-width: 14ch;
}
.hero h1 .accent { color: var(--amber); }

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  max-width: 40rem;
  color: #c9ced6;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hazard {
  height: 12px;
  background: repeating-linear-gradient(
    -45deg,
    var(--amber) 0 18px,
    var(--ink) 18px 36px
  );
}

/* Sections */
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section-alt { background: var(--paper-2); }

.section-kicker {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.section-intro {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

/* Tiles */
.tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tile {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--amber);
}
.tile p { margin: 0; color: var(--muted); }

.tile-mark {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 1.1rem;
  border-radius: 6px;
  background:
    linear-gradient(135deg, transparent 50%, rgba(18, 22, 28, 0.85) 50%),
    var(--amber);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.text-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.text-link:hover { color: #000; text-decoration-color: var(--amber-dark); }

.facts {
  margin: 0;
  background: var(--ink);
  color: #e6e9ee;
  border-radius: var(--radius);
  padding: 0.5rem 1.75rem;
  box-shadow: var(--shadow);
}

.fact {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.fact:last-child { border-bottom: 0; }
.fact dt {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  padding-top: 0.15rem;
}
.fact dd { margin: 0; color: #fff; font-weight: 500; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-card h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 1.5rem;
}

address {
  font-style: normal;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 1.75rem;
  padding-left: 1rem;
  border-left: 4px solid var(--amber);
}

.map-wrap {
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #b9c0ca;
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
  border-top: 6px solid var(--amber);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}
.footer-top p { margin: 0; }

.footer-brand {
  font-family: var(--head);
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}

.legal { max-width: 52rem; }
.copyright { margin: 0; color: #9aa3ae; }

/* Responsive */
@media (max-width: 960px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles .tile:last-child { grid-column: 1 / -1; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
  }
  .site-nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-nav li:last-child a { border-bottom: 0; }

  .tiles { grid-template-columns: 1fr; }
  .hero::after { width: 260px; height: 260px; right: -110px; bottom: 20px; }
}

@media (max-width: 480px) {
  .brand { font-size: 1.35rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .fact { grid-template-columns: 1fr; gap: 0.2rem; }
  .facts { padding: 0.5rem 1.25rem; }
}
