:root {
  color-scheme: light;
  --ink: #211d1b;
  --muted: #594e48;
  --paper: #faf6f0;
  --white: #fff;
  --terracotta: #a0422d;
  --line: #ded2c8;
  --gutter: max(5vw, calc((100vw - 1280px) / 2));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid #a0422d; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; }
h1 { font-family: Georgia, Cambria, serif; font-size: clamp(2.4rem, 4.3vw, 4.45rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
.skip { position: absolute; z-index: 5; inset: -6rem auto auto 1rem; background: white; padding: .6rem; }
.skip:focus { top: 1rem; }
.frame, .top, footer { padding-inline: var(--gutter); }
.top { display: flex; align-items: center; gap: 1.25rem; min-height: 90px; background: white; }
.brand { display: inline-flex; align-items: center; gap: .85rem; font-size: clamp(1rem, 1.5vw, 1.35rem); font-weight: 800; text-decoration: none; line-height: 1.15; }
.brand-logo { display: block; width: clamp(75px, 9vw, 118px); height: auto; flex: none; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.4rem); }
nav a, .topcall { font-weight: 750; text-decoration: none; }
nav a:hover, .hero-phone:hover { text-decoration: underline; }
.topcall { margin-inline-start: auto; background: var(--ink); color: white; padding: .65rem 1rem; border-radius: .35rem; white-space: nowrap; }
.topcall:hover { background: #47342d; }
.hero { display: grid; grid-template-columns: 1.04fr 1fr; background: var(--ink); color: white; }
.hero-copy { align-self: center; padding: clamp(3.5rem, 7vw, 7.2rem) clamp(1.5rem, 4vw, 4rem) clamp(3.5rem, 7vw, 7.2rem) var(--gutter); }
.eyebrow { font-size: .85rem; font-weight: 800; letter-spacing: .12em; margin-bottom: 1rem; }
.hero .eyebrow { color: #ffc0a9; }
.hero-copy > p:not(.eyebrow) { margin: 1.35rem 0 1.8rem; max-width: 43ch; color: #e7dbd2; font-size: 1.08rem; }
.button { display: inline-block; padding: .85rem 1.2rem; border-radius: .35rem; background: var(--terracotta); color: white; text-decoration: none; font-weight: 800; }
.button:hover { background: #81301f; }
.hero-phone { display: inline-block; margin: .75rem 0 .75rem 1rem; font-weight: 700; text-decoration: none; }
figure { position: relative; }
figure img { width: 100%; display: block; object-fit: cover; }
.hero-image { min-height: 400px; }
.hero-image img { position: absolute; height: 100%; object-position: center 55%; }
.hero-image figcaption, .local figcaption { position: absolute; bottom: .75rem; right: .75rem; border-radius: .25rem; background: var(--ink); color: white; padding: .25rem .55rem; font-size: .8rem; }
.projects, .gallery, .community, .contact { padding-block: clamp(3.2rem, 6vw, 6rem); }
.section-heading { margin-bottom: 1.75rem; }
.section-heading .eyebrow { color: var(--muted); }
.topics, .photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.topics article { background: white; border: 1px solid var(--line); border-radius: .55rem; padding: clamp(1.15rem, 2.5vw, 2rem); }
.topics h3 { font-size: 1.22rem; line-height: 1.2; margin-bottom: .6rem; }
.topics p, .local p:not(.eyebrow) { color: var(--muted); }
.gallery { background: #efe6dc; }
.photo-grid { margin-top: 1.65rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo-grid figure { overflow: hidden; border-radius: .5rem; background: white; }
.photo-grid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-grid figcaption { padding: .7rem .9rem; font-weight: 700; }
.local, .community { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 6vw, 6rem); }
.local { padding: clamp(3.2rem, 6vw, 6rem) var(--gutter); }
.local figure, .community figure { overflow: hidden; border-radius: .5rem; }
.local img { aspect-ratio: 1.1; object-position: center 30%; }
.local p:not(.eyebrow) { margin: 1rem 0; }
.community { background: white; }
.community figure { width: min(100%, 420px); justify-self: end; }
.community img { height: auto; }
.community figcaption { padding-top: .45rem; color: var(--muted); }
blockquote { margin: 1.2rem 0 0; padding-left: 1.1rem; border-left: 4px solid #a0422d; }
blockquote p { font-size: clamp(1.25rem, 2.4vw, 1.8rem); }
blockquote cite { display: block; margin-top: .65rem; font-style: normal; font-weight: 750; }
.contact { background: var(--ink); color: white; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.contact p { margin-top: .9rem; max-width: 45ch; color: #e7dbd2; }
.contact .button { flex: none; }
footer { background: #141211; color: white; padding-block: 1.2rem; display: flex; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; }
@media (max-width: 760px) {
  .top { flex-wrap: wrap; min-height: 0; padding-block: .8rem; gap: .75rem; }
  .hero, .local, .community, .topics { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.7rem var(--gutter) 2.4rem; }
  h1 { font-size: clamp(2.1rem, 7.6vw, 3.4rem); }
  .hero-image { min-height: 0; aspect-ratio: 1.35; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community figure { justify-self: start; }
  .contact { display: block; }
  .contact .button { margin-top: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.mud-story { padding-block: clamp(3.2rem, 6vw, 6rem); background: #efe6dc; }
.mud-story h2 { margin-bottom: 1.5rem; }
.mud-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mud-pair figure { overflow: hidden; border-radius: .5rem; background: var(--white); }
.mud-pair img { width: 100%; height: auto; aspect-ratio: 3/2; object-position: center 57%; }
.mud-pair figcaption { padding: .85rem 1rem 1rem; font-size: clamp(1.1rem, 2.5vw, 1.6rem); font-weight: 800; }
.mud-pair small { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); }
.mud-story > .button { margin-top: 1.15rem; background: var(--ink); color: white; }
.mud-story > .button:hover { background: #47342d; }
@media (max-width: 600px) { .mud-pair { grid-template-columns: 1fr; } }

.reels { padding-block: clamp(3.2rem, 6vw, 6rem); background: white; }
.reel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; align-items: start; }
.reel-card { border: 1px solid var(--line); border-radius: .5rem; padding: 1rem; background: var(--paper); }
.reel-card h3 { margin-bottom: .6rem; }
.reel-card summary { width: fit-content; cursor: pointer; font-weight: 750; }
.reel-card iframe { display: block; margin-top: .75rem; width: 100%; height: 535px; border: 0; background: white; }
.reel-card > a { display: inline-block; margin-top: .65rem; }
.visually-hidden { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) { .reel-grid { grid-template-columns: 1fr; } .top nav { flex-wrap: wrap; gap: .35rem .85rem; } }

.reel-card summary { display: block; position: relative; width: 100%; overflow: hidden; border-radius: .35rem; }
.reel-card summary::-webkit-details-marker { display: none; }
.reel-card summary img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.reel-card details[open] summary img { display: none; }
.reel-play { display: inline-flex; gap: .45rem; align-items: center; padding: .4rem .65rem; border-radius: .25rem; background: var(--ink); color: white; }
.reel-card details:not([open]) .reel-play { position: absolute; bottom: .5rem; left: .5rem; }
.local .project-flyer { width: min(100%, 440px); justify-self: center; }
.local .project-flyer img { height: auto; aspect-ratio: auto; object-fit: contain; }
.local .project-flyer figcaption { position: static; padding: .55rem .75rem; border-radius: 0; }

.hero-copy > .hero-craft { margin: .9rem 0 0; color: #ffc0a9; font-weight: 750; }
.hero-copy > .hero-craft + p { margin-top: .65rem; }

.online { padding-block: clamp(3rem, 5vw, 5rem); }
.online-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: .8rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.online-links li { display: grid; }
.online-links a { display: grid; place-items: center; min-height: 3.5rem; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: .35rem; background: white; text-align: center; text-decoration: none; font-weight: 750; }
.online-links a:hover { border-color: var(--terracotta); color: var(--terracotta); }
@media (max-width: 600px) { .online-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


.reel-feature { margin: 1.5rem 0 2rem; padding: clamp(.85rem, 2vw, 1.5rem); }
.reel-feature h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); }
.reel-feature summary img { aspect-ratio: 2.4; }
.reel-feature .reel-play { padding: .65rem 1rem; }
.reel-feature iframe { max-width: 420px; margin-inline: auto; height: auto; aspect-ratio: 9 / 16; }
@media (max-width: 600px) { .reel-feature summary img { aspect-ratio: 4 / 3; } }

.review-carousel[data-ready] .review-quotes { display: grid; }
.review-carousel[data-ready] blockquote { grid-area: 1 / 1; visibility: hidden; }
.review-carousel[data-ready] blockquote[data-current] { visibility: visible; }
.review-controls:not([hidden]) { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.review-controls button { padding: .5rem .75rem; border: 1px solid var(--line); border-radius: .35rem; background: white; color: var(--ink); font: inherit; cursor: pointer; }
.review-controls button:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }

.review-source { margin-top: 1rem; }
