/* RR Davies Ltd — site stylesheet. Palette and type from the approved design. */

@font-face {
  font-family: "Big Shoulders";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("/fonts/big-shoulders-700-900-latin.woff2") format("woff2");
}
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/barlow-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/barlow-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-700-latin.woff2") format("woff2"); }

:root {
  --ground: #F3F3F1;
  --panel: #FFFFFF;
  --ink: #171611;
  --ink-2: #2C2A22;
  --yellow: #F5BF00;
  --yellow-hover: #FFD23A;
  --yellow-deep: #7A5E00;
  --muted: #4F4D45;
  --muted-dark: #B9B4A3;
  --rule: #D8D5CB;
  --rule-dark: #3B392F;
  --field-border: #C9C5B8;
  --font-display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --font-body: Barlow, "Helvetica Neue", Arial, sans-serif;
}

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

html { background: var(--ground); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ink); }
a:hover { color: var(--yellow-deep); }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.hero :focus-visible, .notice :focus-visible { outline-color: var(--ink); }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
p { margin: 0; }
hr.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.dark hr.rule { background: var(--rule-dark); }

main { flex: 1 0 auto; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 16px; background: var(--yellow); color: var(--ink);
  font-weight: 700; text-decoration: none; border-radius: 6px;
}
.skip-link:focus { top: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: clamp(16px, 4vw, 48px); padding-right: clamp(16px, 4vw, 48px); }
.section { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); }
.stack { display: flex; flex-direction: column; }

.display {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  line-height: .9; letter-spacing: .005em; text-wrap: balance; margin: 0;
}
h1.display { font-weight: 900; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: #3E3C35; text-wrap: pretty; margin: 0; }
.muted { color: var(--muted); }
.dark { background: var(--ink); color: #F3F3F1; }
.dark .muted { color: var(--muted-dark); }
.dark .lede { color: #E7E4DA; }
.dark a { color: #F3F3F1; }
.dark a:hover { color: var(--yellow); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); }
.num { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums lining-nums; letter-spacing: .01em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 6px; font-weight: 700; font-size: 17px;
  text-decoration: none; border: 2px solid transparent; white-space: nowrap;
  transition: background .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-y { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-y:hover { background: var(--yellow-hover); color: var(--ink); }
.btn-k { background: var(--ink); color: #F3F3F1; border-color: var(--ink); }
.btn-k:hover { background: var(--ink-2); color: #fff; }
.btn-o { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-o:hover { background: var(--ink); color: var(--yellow); }
.dark .btn-o { color: #F3F3F1; border-color: #F3F3F1; }
.dark .btn-o:hover { background: #F3F3F1; color: var(--ink); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: clamp(24px, 4vw, 64px); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(20px, 2.5vw, 36px); }
.feature { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 3px solid var(--ink); }
.photo { width: 100%; object-fit: cover; border-radius: 6px; }

/* Header */
.site-header { background: var(--ink); color: #F3F3F1; position: relative; z-index: 10; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding-top: 10px; padding-bottom: 10px; }
.wordmark { display: flex; flex-direction: column; gap: 5px; text-decoration: none; color: #F3F3F1; line-height: 1; }
.wordmark .display { font-size: 30px; font-weight: 900; letter-spacing: .03em; line-height: 1; }
.wordmark .eyebrow { font-size: 11px; }
.navlinks { display: flex; gap: 28px; align-items: center; }
.navlink { text-decoration: none; color: #E7E4DA; font-weight: 500; font-size: 16px; padding: 10px 2px; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.navlink:hover, .navlink[aria-current="page"] { color: var(--yellow); border-color: var(--yellow); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { min-height: 48px; padding: 0 18px; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 6px; border: 2px solid var(--rule-dark); background: transparent; color: #F3F3F1; }
.menu-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
#mobile-menu { border-top: 1px solid var(--rule-dark); background: var(--ink); }
#mobile-menu .wrap { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 16px; }
#mobile-menu a.item { color: #F3F3F1; text-decoration: none; font-weight: 600; font-size: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule-dark); }
#mobile-menu a.item:last-of-type { border-bottom: 0; }
#mobile-menu .actions { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
@media (prefers-reduced-motion: no-preference) {
  #mobile-menu:not([hidden]) { animation: menu-in .18s ease-out; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

/* Hero */
.hero { background: var(--yellow); color: var(--ink); overflow: hidden; }
.hero .lede { color: var(--ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(40px, 6vw, 88px); }
.hero-photo { width: 100%; height: 100%; min-height: 360px; max-height: 560px; object-fit: cover; border-radius: 6px; }
.hero-simple { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: clamp(56px, 7.6vw, 108px); }
.hero-simple h1 { font-size: clamp(56px, 8.5vw, 120px); max-width: 14ch; }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hours-inline { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; font-weight: 500; font-size: 15px; }
.hours-inline div { display: flex; gap: 8px; align-items: center; }
.hours-inline dt { font-weight: 700; }
.hours-inline dd { margin: 0; }

/* Hours table */
.hours { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; row-gap: 6px; font-variant-numeric: tabular-nums; margin: 0; font-size: 18px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }
.hours.boxed { padding: 20px 24px; background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; }

/* ID notice */
.notice { background: var(--yellow); color: var(--ink); }
.notice .wrap { display: flex; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.notice svg { flex: none; }
.notice .text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 320px; min-width: 0; }
.notice strong { font-size: 20px; font-weight: 700; line-height: 1.3; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 0; border-top: 1px solid var(--rule-dark); }
.stats > div { display: flex; flex-direction: column; gap: 6px; padding: 28px 0; border-bottom: 1px solid var(--rule-dark); }
.stats .num { font-size: clamp(56px, 6vw, 88px); line-height: 1; color: #F3F3F1; }
.logos { display: flex; gap: 12px; flex-wrap: wrap; }
.logos span { background: #fff; border-radius: 6px; padding: 8px 14px; display: flex; align-items: center; }
.logos img { height: 34px; width: auto; }
.logo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.logo-cards div { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 28px; display: flex; align-items: center; justify-content: center; min-height: 140px; }
.logo-cards img { max-height: 72px; width: auto; }
.chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 10px; }
.chips li { padding: 14px 16px; background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; font-weight: 600; }

/* Prices */
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--rule); }
.price-row:last-child { border-bottom: 1px solid var(--rule); }
.price-row .metal { font-weight: 600; font-size: 20px; flex: 1 1 auto; min-width: 0; }
.price-row .num { font-size: 40px; line-height: 1; white-space: nowrap; flex: none; }
.poa { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: var(--yellow); font-weight: 700; font-size: 15px; letter-spacing: .06em; }
.status-error { background: #FBE9E7; border: 2px solid #B3261E; color: #5F1B16; border-radius: 6px; padding: 16px 18px; font-weight: 500; }

/* Forms */
.form-card { display: flex; flex-direction: column; gap: 20px; background: var(--panel); border: 1px solid var(--rule); border-radius: 8px; padding: clamp(24px, 3vw, 40px); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea { font: inherit; font-size: 17px; padding: 14px 16px; border: 2px solid var(--field-border); border-radius: 6px; background: #fff; color: var(--ink); caret-color: #B88F00; width: 100%; }
.field input::placeholder, .field textarea::placeholder { color: #6B685E; }
.field input:hover, .field textarea:hover { border-color: #8F8B7D; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--yellow); outline-offset: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #E7E4DA; }
.site-footer .wrap { padding-top: clamp(48px, 6vw, 80px); padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 40px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 12px; }
.footer-grid .display { font-size: 34px; font-weight: 900; letter-spacing: .03em; color: #F3F3F1; }
.footer-grid a { color: #E7E4DA; text-decoration: none; padding: 8px 0; }
.footer-grid a:hover { color: var(--yellow); }
.footer-grid a.underlined { color: #F3F3F1; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #6B685E; }
.footer-phone { font-size: 40px; color: var(--yellow) !important; line-height: 1; }
.footer-social { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; margin-top: 6px; }
.footer-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* Phone call bar */
.callbar { display: none; }

/* Legal / long-form text */
.prose { max-width: 72ch; display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.6; }
.prose h2 { font-size: 26px; margin-top: 12px; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 960px) {
  .navlinks { display: none; }
  .menu-btn { display: inline-flex; }
  .hide-s { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { min-height: 240px; max-height: 300px; }
  .callbar {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    position: sticky; bottom: 0; z-index: 20; background: var(--ink);
    border-top: 2px solid var(--yellow); box-shadow: 0 -8px 24px rgba(23, 22, 17, .25);
  }
  .callbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-height: 64px; color: #F3F3F1; text-decoration: none; font-weight: 600; font-size: 13px;
    letter-spacing: .04em; text-transform: uppercase;
  }
  .callbar a:hover { color: var(--yellow); }
  .callbar a + a { border-left: 1px solid var(--rule-dark); }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(52px, 15vw, 72px); }
  .hero-simple h1 { font-size: clamp(48px, 14vw, 64px); }
  .price-row .num { font-size: 30px; }
  .price-row .metal { font-size: 18px; }
  .footer-phone { font-size: 34px; }
}
