/* B&R Grading — rugged, photo-led. No external assets (CSP: self only). */
@font-face {
  font-family: "BR Display";
  src: local("Impact"), local("HelveticaNeue-CondensedBlack"), local("Roboto Condensed Bold"), local("RobotoCondensed-Bold"), local("Arial Narrow Bold");
  font-weight: 700;
}
:root {
  --ink: #111210;
  --panel: #1a1b18;
  --line: #34352f;
  --bone: #f3efe4;
  --dust: #b1ac9e;
  --yellow: #ffc20e;
  --display: "BR Display", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gap: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--bone); font: 17px/1.5 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .92; letter-spacing: .005em; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 56px); }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 20; background: var(--yellow); color: #000; padding: 10px 14px; font-weight: 700; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
[hidden] { display: none !important; }

.mode-bar { background: #000; color: var(--dust); font-size: 12px; letter-spacing: .08em; text-align: center; padding: 6px 12px; }

/* Buttons */
.btn { display: inline-block; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; font-size: 18px; line-height: 1; padding: 13px 20px; border: 2px solid transparent; cursor: pointer; }
.btn-big { font-size: 22px; padding: 17px 28px; }
.btn-yellow { background: var(--yellow); color: #000; }
.btn-yellow:hover { background: #fff; }
.btn-ghost { border-color: var(--bone); color: var(--bone); }
.btn-ghost:hover { background: var(--bone); color: #000; }
.btn-black { background: #000; color: var(--yellow); }
.btn-black:hover { background: #fff; color: #000; }
.btn:disabled { background: var(--line); color: var(--dust); cursor: not-allowed; }

/* Hero */
.hero { position: relative; min-height: min(94vh, 980px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 100%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,8,.72) 0, rgba(10,10,8,0) 22%, rgba(10,10,8,0) 38%, rgba(10,10,8,.9) 100%); }
.topbar, .hero-copy { position: relative; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; }
.wordmark { font-family: var(--display); font-weight: 700; text-transform: uppercase; text-decoration: none; font-size: 30px; line-height: 1; letter-spacing: .02em; color: var(--yellow); }
.wordmark span { color: var(--bone); }
nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); }
nav a:not(.btn) { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; font-size: 18px; }
nav a:not(.btn):hover { color: var(--yellow); }
.hero-copy { padding-bottom: clamp(32px, 6vw, 72px); }
.place { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 16px; color: var(--yellow); margin-bottom: 14px; }
h1 { font-size: clamp(50px, 9.6vw, 150px); text-shadow: 0 2px 30px rgba(0,0,0,.45); }
h1 span { color: var(--yellow); }
.trades { margin-top: 22px; max-width: 46ch; font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Snow band */
.snow { background: var(--yellow); color: #000; border-top: 14px solid #000; border-image: repeating-linear-gradient(-45deg, #000 0 16px, var(--yellow) 16px 32px) 14; }
.snow-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.kicker { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 16px; margin-bottom: 10px; }
.snow h2 { font-size: clamp(48px, 8.4vw, 128px); }
.snow-side p { font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; line-height: 1.35; margin-bottom: 22px; max-width: 34ch; }

/* Work */
.job { padding-top: clamp(56px, 8vw, 112px); }
.job-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; margin-bottom: clamp(18px, 2.4vw, 30px); }
.job h2 { font-size: clamp(46px, 8.4vw, 128px); }
.job-head p { color: var(--dust); font-size: 18px; padding-bottom: .5em; }
.job-head a { color: var(--yellow); font-weight: 700; text-decoration: none; white-space: nowrap; border-bottom: 2px solid currentColor; margin-left: .4em; }
.job-head a:hover { color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(190px, 23vw, 350px); gap: var(--gap); }
.tile { position: relative; display: block; overflow: hidden; background: var(--panel); grid-row: span 2; cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.03); }
.keep-right { object-position: 78% 50%; }
.tiles-grading .tile:nth-child(1) { grid-column: span 7; }
.tiles-grading .tile:nth-child(2), .tiles-grading .tile:nth-child(3) { grid-column: span 5; grid-row: span 1; }
.tiles-gravel .tile:nth-child(1) { grid-column: span 5; }
.tiles-gravel .tile:nth-child(2) { grid-column: span 4; }
.tiles-gravel .tile:nth-child(3) { grid-column: span 3; }
.tiles-dig .tile { grid-column: span 4; }
.tiles-clearing .tile:nth-child(1) { grid-column: span 7; }
.tiles-clearing .tile:nth-child(2) { grid-column: span 5; }

/* Quote */
.quote { margin-top: clamp(56px, 8vw, 112px); background: var(--panel); border-top: 6px solid var(--yellow); padding: clamp(48px, 7vw, 96px) 0; }
.quote-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.quote h2 { font-size: clamp(56px, 9vw, 136px); color: var(--yellow); margin-bottom: 20px; }
.quote-copy p { max-width: 36ch; margin-bottom: 14px; font-size: 19px; }
.quote-copy .fine { color: var(--dust); font-size: 15px; }
.reach { display: flex; flex-direction: column; gap: 6px; }
.reach a { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 40px); text-decoration: none; color: var(--bone); }
.reach a:hover { color: var(--yellow); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.full { grid-column: 1 / -1; }
label { display: block; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--dust); }
input:not([type=checkbox]), select, textarea { display: block; width: 100%; margin-top: 6px; background: var(--ink); color: var(--bone); border: 2px solid var(--line); border-radius: 0; padding: 13px 12px; font: 17px/1.3 var(--body); }
input:focus, select:focus, textarea:focus { border-color: var(--yellow); outline: none; }
textarea { resize: vertical; }
fieldset:disabled input, fieldset:disabled select, fieldset:disabled textarea { opacity: .55; }
.optional { opacity: .6; letter-spacing: .04em; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-family: var(--body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 15px; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--yellow); flex: none; }
#submit-button { width: 100%; }
.form-status { margin-top: 14px; min-height: 1.5em; font-weight: 600; }
.form-status.error { color: #ff8a70; }
.form-status.success { color: #9fe08a; }
.packet pre { background: var(--ink); border: 2px solid var(--line); padding: 14px; overflow: auto; font-size: 13px; white-space: pre-wrap; }

/* Footer */
.foot { background: #000; padding: 28px 0; color: var(--dust); font-size: 14px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 32px; }
.foot .wordmark { font-size: 24px; }

/* Photo viewer */
dialog { border: 0; padding: 0; background: #000; color: var(--bone); max-width: min(96vw, 1500px); max-height: 96vh; }
dialog::backdrop { background: rgba(0,0,0,.88); }
#viewer-image { max-width: 100%; max-height: 84vh; width: auto; height: auto; margin: 0 auto; }
#viewer-caption { padding: 12px 16px 16px; font-size: 15px; color: var(--dust); }
.viewer-close { position: absolute; top: 10px; right: 10px; background: var(--yellow); color: #000; border: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 16px; padding: 9px 14px; cursor: pointer; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { min-height: 88vh; min-height: 88svh; }
  .hero-photo { object-position: 34% 50%; height: 78%; }
  .hero-shade { background: linear-gradient(180deg, rgba(10,10,8,.7) 0, rgba(10,10,8,0) 20%, rgba(10,10,8,0) 40%, #111210 76%); }
  .hero-copy { padding-bottom: 28px; }
  nav a:not(.btn) { display: none; }
  .only-wide { display: none; }
  .wordmark { font-size: 24px; }
  nav .btn { font-size: 16px; padding: 11px 14px; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  .snow-inner, .quote-grid { grid-template-columns: 1fr; }
  .snow-side .btn { display: block; text-align: center; }
  .job-head a { margin-left: 0; display: inline-block; margin-top: 6px; }
  .tiles { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tiles .tile:nth-child(n) { grid-column: auto; grid-row: auto; }
  .tile img { height: auto; }
  .fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img { transition: none; }
}
