/* Friesen Land Co. — Reports & Inspections pages */
@font-face { font-family: 'Jost'; src: url('fonts/Jost-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('fonts/Jost-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('fonts/Jost-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('fonts/Jost-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

:root {
  --slate: #2C4A6E;
  --slate-dk: #233B58;
  --rose: #B5746A;
  --lrose: #D9A095;
  --cream: #FAF8F4;
  --ink: #333A45;
  --muted: #5A6B80;
  --hair: #E2DCD2;
  --white: #fff;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Jost', 'Avenir Next', Helvetica, Arial, sans-serif; font-weight: 400; color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--rose); }

/* HERO + NAV (matches the Projects page) */
.hero { background: var(--slate) url('topo-hero.jpg') center / cover no-repeat; color: var(--white); display: flex; flex-direction: column; min-height: 440px; }
.hero.short { min-height: 340px; }
nav { width: 100%; max-width: 1180px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.nav-logo { width: clamp(170px, 22vw, 220px); height: auto; display: block; }
.nav-links { display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 32px); list-style: none; }
.nav-links a { font-weight: 500; font-size: 13px; color: var(--white); text-decoration: none; letter-spacing: 0.14em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { border-bottom-color: var(--lrose); outline: none; }
.hero-inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 20px 72px; max-width: 860px; margin: 0 auto; }
.eyebrow { font-weight: 500; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lrose); margin-bottom: 14px; }
.hero h1 { font-weight: 500; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.15; letter-spacing: 0.01em; }
.hero p.lead { font-weight: 300; font-size: clamp(17px, 2vw, 20px); margin-top: 16px; color: rgba(255,255,255,0.9); max-width: 680px; }
.hero .rule { width: 64px; height: 2px; background: var(--lrose); margin: 22px auto 0; }

/* LAYOUT */
main { max-width: 1120px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
section { padding: 64px 0 8px; }
.section-label { font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose); margin-bottom: 8px; }
h2 { font-weight: 500; font-size: clamp(26px, 3vw, 34px); color: var(--slate); line-height: 1.2; }
h3 { font-weight: 600; font-size: 20px; color: var(--slate); line-height: 1.3; }
.intro { max-width: 720px; margin-top: 12px; color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* PRODUCT CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 32px; }
.card { background: var(--white); border: 1px solid var(--hair); border-top: 3px solid var(--slate); border-radius: 4px; padding: 26px 24px 24px; display: flex; flex-direction: column; }
.card .tag { font-weight: 500; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.card h3 { margin-top: 6px; }
.price { font-weight: 500; font-size: 30px; color: var(--slate); margin-top: 14px; line-height: 1.1; }
.price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.card .turn { font-size: 14px; color: var(--muted); margin-top: 4px; }
.card p.desc { margin-top: 14px; font-size: 16px; flex: 1; }
.card .actions { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

/* BUTTONS */
.btn { display: inline-block; text-align: center; font-family: inherit; font-weight: 500; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 13px 22px; border-radius: 3px; border: 1px solid var(--slate); background: var(--slate); color: var(--white); transition: background 0.2s, color 0.2s; cursor: pointer; }
.btn:hover, .btn:focus-visible { background: var(--slate-dk); outline: none; }
.btn.ghost { background: transparent; color: var(--slate); }
.btn.ghost:hover, .btn.ghost:focus-visible { background: var(--slate); color: var(--white); }
.btn.light { background: var(--white); color: var(--slate); border-color: var(--white); }
.btn.light:hover { background: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* LISTS + TABLES */
ul.check { list-style: none; margin-top: 14px; }
ul.check li { padding-left: 26px; position: relative; margin: 8px 0; }
ul.check li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 12px; height: 2px; background: var(--rose); }
ul.plain { margin: 12px 0 0 20px; }
ul.plain li { margin: 6px 0; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: 28px; }
.panel { background: var(--white); border: 1px solid var(--hair); border-radius: 4px; padding: 26px 24px; }
table { width: 100%; border-collapse: collapse; margin-top: 22px; background: var(--white); border: 1px solid var(--hair); font-size: 16px; }
th { background: var(--slate); color: var(--white); font-weight: 500; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; padding: 12px 16px; }
td { padding: 12px 16px; border-top: 1px solid var(--hair); vertical-align: top; }
td.num, th.num { text-align: right; white-space: nowrap; }
.table-wrap { overflow-x: auto; }

/* STEPS */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 30px; }
.steps li { counter-increment: s; background: var(--white); border: 1px solid var(--hair); border-radius: 4px; padding: 22px 20px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 500; font-size: 13px; letter-spacing: 0.16em; color: var(--rose); margin-bottom: 8px; }
.steps strong { display: block; color: var(--slate); font-weight: 600; margin-bottom: 4px; }

/* FAQ */
details { background: var(--white); border: 1px solid var(--hair); border-radius: 4px; margin-top: 12px; }
summary { cursor: pointer; padding: 16px 20px; font-weight: 500; color: var(--slate); list-style: none; position: relative; padding-right: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 20px; top: 12px; font-size: 22px; color: var(--rose); font-weight: 300; }
details[open] summary::after { content: '\2212'; }
details > div { padding: 0 20px 18px; }

/* NOTE + CTA BAND */
.note { border-left: 3px solid var(--rose); background: var(--white); padding: 16px 20px; margin-top: 24px; font-size: 15px; color: var(--muted); }
.cta-band { background: var(--slate) url('topo-band.jpg') center / cover no-repeat; color: var(--white); margin-top: 72px; padding: 64px 20px; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { max-width: 640px; margin: 12px auto 0; font-weight: 300; color: rgba(255,255,255,0.9); }
.cta-band .btn-row { justify-content: center; }
.cta-band a.text { color: var(--lrose); }

footer { background: var(--slate-dk); color: rgba(255,255,255,0.75); font-size: 13px; text-align: center; padding: 22px 20px; letter-spacing: 0.04em; }
footer a { color: var(--lrose); text-decoration: none; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  nav { justify-content: center; }
  .nav-links { justify-content: center; }
  .nav-links a { font-size: 11px; letter-spacing: 0.1em; }
  .hero { min-height: 400px; }
  .hero-inner { padding: 24px 18px 52px; }
  section { padding-top: 48px; }
}
