@font-face {
  font-family: "Barlow Condensed";
  src: url("./fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("./fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #f8f6f1;
  --stone: #eee9e0;
  --ink: #242121;
  --muted: #58524d;
  --brand: #851f24;
  --brand-hover: #67191d;
  --accent: #ecaba3;
  --rule: #d6cec4;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

html { background: var(--paper); color: var(--muted); font-family: Inter, sans-serif; }
h1, h2, h3, .display { color: var(--ink); font-family: var(--display); font-weight: 700; line-height: .98; }
h1 { font-size: clamp(3.5rem, 7vw, 6.1rem); letter-spacing: -.025em; }
h2 { font-size: clamp(2.65rem, 5vw, 4.4rem); letter-spacing: -.02em; }
h3 { font-size: 2.25rem; }
a { color: var(--brand); }
a:hover { color: var(--brand-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #a33e44; outline-offset: 4px; }
figure { margin: 0; }
address { font-style: normal; }
.uk-section-muted { background: var(--stone); }
.uk-container-large { max-width: 1280px; }
.uk-button { font-weight: 700; line-height: 1.3; padding: .9rem 1.15rem; text-transform: none; }
.uk-button-primary { background: var(--brand); color: white; }
.uk-button-primary:hover, .uk-button-primary:focus-visible { background: var(--brand-hover); color: white; }
.uk-button-default { border-color: var(--brand); color: var(--brand); }
.uk-button-default:hover { border-color: var(--brand-hover); color: var(--brand-hover); }

.skip-link { background: white; left: 1rem; padding: .65rem 1rem; position: absolute; top: -8rem; z-index: 20; }
.skip-link:focus { top: 1rem; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); position: relative; z-index: 2; }
.header-inner { gap: 1.5rem; min-height: 84px; }
.logo { display: block; height: auto; width: 207px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1rem, 2.15vw, 2.1rem); }
.site-nav a { color: var(--ink); font-size: .93rem; font-weight: 600; }
.site-nav a[aria-current], .site-nav a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: .32em; }
.mobile-menu summary { cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { background: var(--paper); border-bottom: 1px solid var(--rule); inset: 100% 0 auto; padding: 1rem 1.5rem 1.35rem; position: absolute; }
.mobile-menu nav a { display: block; padding: .68rem 0; }

.dark { background: var(--ink); color: #e8e1d9; }
.dark :is(h1, h2, h3, .display) { color: var(--paper); }
.dark :is(a, button, summary):focus-visible { outline-color: var(--accent); }
.dark .uk-button-primary { background: #a3343e; }
.dark .uk-button-primary:hover { background: #8f2630; }
.dark .uk-button-default { border-color: #b8a9a2; color: var(--paper); }
.dark .uk-button-default:hover { border-color: white; background: #3b3535; }
.dark .text-link { color: var(--paper); }

.eyebrow { align-items: center; color: var(--brand); display: flex; font-size: .75rem; font-weight: 700; gap: .65rem; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { background: currentColor; content: ""; height: 2px; width: 1.5rem; flex: none; }
.dark .eyebrow { color: var(--accent); }
.lede { font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.65; max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.text-link { font-size: .94rem; font-weight: 700; text-decoration: underline; text-underline-offset: .26em; }

.hero { position: relative; }
.hero-copy { max-width: 37rem; padding-block: clamp(4.4rem, 7.8vw, 8.25rem); width: 48%; }
.hero h1 { font-size: clamp(3.9rem, 7.3vw, 7.15rem); line-height: .87; text-transform: uppercase; }
.hero .lede { max-width: 28rem; }
.hero-photo { inset: 0 0 0 49%; position: absolute; }
.hero-photo img, .feature img { height: 100%; object-fit: cover; width: 100%; }
.hero-photo img { object-position: 59% center; }
.photo-label { background: var(--ink); bottom: 0; color: white; font-size: .7rem; font-weight: 600; letter-spacing: .09em; line-height: 1.35; padding: .7rem .9rem; position: absolute; right: 0; text-transform: uppercase; }

.proof { border-bottom: 1px solid var(--rule); }
.proof .uk-grid { margin-block: 0; }
.proof-item { padding-block: 1.25rem; }
.proof-item strong { color: var(--ink); display: block; font-size: clamp(.9rem, 1.5vw, 1.15rem); font-weight: 700; }
.proof-item span { display: block; font-size: .83rem; }

.featured-grid { display: grid; gap: .8rem; grid-auto-rows: clamp(11rem, 16.5vw, 16rem); grid-template-columns: 1.22fr 1fr; }
.feature { color: white; display: block; isolation: isolate; overflow: hidden; position: relative; }
.feature:first-child { grid-row: span 2; }
.feature::after { background: linear-gradient(0deg, #171315eb, #17131500 55%); content: ""; inset: 0; position: absolute; }
.feature img { position: absolute; }
.feature:hover { color: white; }
.feature:hover .feature-title { text-decoration: underline; text-underline-offset: .14em; }
.feature-text { bottom: 0; left: 0; padding: clamp(1rem, 2.6vw, 2.25rem); position: absolute; right: 0; z-index: 1; }
.feature-title { color: white; display: block; font-size: clamp(1.8rem, 4vw, 3.2rem); }
.feature-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; margin-bottom: .25rem; text-transform: uppercase; }

.panel-photo, .portfolio-cover { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.subhero .panel-photo { aspect-ratio: 4 / 3; }
.ruled-row { border-top: 1px solid var(--rule); padding-block: 1.05rem; }
.ruled-row:last-child { border-bottom: 1px solid var(--rule); }
.ruled-row > h3 { font-size: 1.8rem; margin: 0 0 .35rem; }
.uk-breadcrumb a { color: var(--brand); }
.guide-topic { padding-block: 0; }
.guide-topic > summary { cursor: pointer; padding-block: 1rem; }
.guide-topic > summary:hover { color: var(--brand); }
.guide-topic > div { padding-bottom: 1.05rem; }

.project-card { scroll-margin-top: 1.5rem; }
.project-card .uk-card { background: #fff; border: 1px solid var(--rule); }
.project-card .uk-card-body { padding: clamp(1.2rem, 3vw, 2rem); }
.project-card .portfolio-cover:hover, .project-thumb:hover img { filter: brightness(.91); }
.project-thumb img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.project-index { border-bottom: 1px solid var(--rule); padding-bottom: 1rem; }
.project-index .uk-subnav a { color: var(--brand); font-weight: 600; text-transform: none; }
.uk-lightbox { background: #1c1919f5; }

.site-footer { border-top: 1px solid var(--rule); }
.footer-meta { border-top: 1px solid var(--rule); }
.site-footer .logo { width: 190px; }
.footer-links { gap: .55rem 1.2rem; }
.footer-links a { color: var(--ink); font-weight: 600; }
.contact-box { border: 1px solid var(--rule); background: white; }
.contact-phone { display: inline-block; font-size: clamp(1.75rem, 4.8vw, 3rem); }
.plan-card-image { aspect-ratio: 10 / 7; background: white; object-fit: contain; width: 100%; }
.plan-elevation { background: white; width: 100%; }
.plan-drawing { aspect-ratio: 4 / 3; object-fit: contain; width: 100%; }
.plan-specs th { color: var(--ink); text-transform: none; }

@media (max-width: 959px) {
  .header-inner { min-height: 72px; }
  .logo { width: 180px; }
  .hero-copy { padding-block: 3.5rem 2.65rem; width: auto; }
  .hero h1 { font-size: clamp(3.1rem, 11vw, 6rem); }
  .hero-photo { height: clamp(15rem, 54vw, 28rem); inset: auto; position: relative; }
  .hero-photo img { object-position: center 58%; }
  .subhero .panel-photo { aspect-ratio: 16 / 10; }
}

@media (max-width: 639px) {
  .hero-copy { padding-block: 2.65rem 2.25rem; }
  .hero .actions .uk-button { padding-inline: .75rem; }
  .hero h1 { font-size: clamp(2.7rem, 12.3vw, 4.6rem); }
  .featured-grid { grid-auto-rows: 12rem; grid-template-columns: 1fr; }
  .feature:first-child { grid-row: span 1; }
  .proof-item { padding-block: .9rem; }
  .proof-item span { font-size: .72rem; }
  .proof-item strong { font-size: .86rem; }
}

.association-mark { width: auto; max-height: 66px; }
