:root {
  color-scheme: light;
  --ink: #251d17;
  --brown: #43291e;
  --rust: #9e4027;
  --rust-dark: #74301c;
  --paper: #f9f6ef;
  --cream: #f0e8d8;
  --line: #dbcfbc;
  --muted: #62554a;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1.0625rem/1.6 system-ui, "Segoe UI", sans-serif; }
.wrap { max-width: 1224px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 46px); }
a { color: var(--rust-dark); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.06; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 6.7vw, 6.1rem); }
h2 { font-size: clamp(2.1rem, 4.1vw, 3.6rem); }
h3 { font-size: clamp(1.6rem, 2.7vw, 2.2rem); }
p { margin: 0; }
[id] { scroll-margin-top: 105px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 20; padding: .5rem 1rem; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.top { position: sticky; top: 0; z-index: 10; background: #fcf9f2; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-mark { height: 52px; width: auto; }
.brand-word { height: 35px; width: auto; }
nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 32px); }
nav a { color: var(--ink); text-decoration: none; font-weight: 650; font-size: .95rem; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 19px;
  border: 1px solid transparent; border-radius: 4px; background: var(--rust); color: #fff;
  font: 700 .96rem/1.35 system-ui, sans-serif; text-align: center; text-decoration: none;
}
.btn:hover { background: var(--rust-dark); text-decoration: none; }
.btn-small { min-height: 42px; padding: 8px 14px; white-space: nowrap; }
.btn-outline { color: var(--rust-dark); border-color: currentColor; background: transparent; }
.btn-outline:hover { color: var(--rust-dark); background: var(--cream); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow { margin: 0 0 12px; color: var(--rust-dark); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(640px, 76vw); overflow: hidden; background: #2c241a; color: #fff9ec; border-bottom: 4px solid var(--rust); }
.hero-photo, .hero-photo img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; }
.hero-photo img { object-fit: cover; object-position: center 56%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #1d1813f7 0%, #211a13ed 28%, #261b13a1 51%, #281d151a 82%), linear-gradient(0deg, #1d18139c 0%, transparent 35%); }
.hero-inner { width: 100%; padding-block: 79px 88px; }
.hero .eyebrow { color: #ffcfaa; }
.hero h1 { max-width: 8.8em; }
.hero-lead { max-width: 37ch; margin-top: 22px; color: #f5ece0; font-size: clamp(1.06rem, 2vw, 1.26rem); }
.hero .btn { background: #a94328; }
.hero .btn:hover { background: var(--rust-dark); }
.hero .btn-hero-outline { color: #fff9ec; border-color: #fbf3e2ac; background: #251d1780; }
.hero .btn-hero-outline:hover { background: #483020; }
.hero-caption { position: absolute; right: max(18px, calc((100vw - 1132px)/2)); bottom: 14px; color: #fff8ec; font-size: .78rem; background: #231b15c9; padding: 3px 8px; border-radius: 3px; }

.section { padding-block: clamp(48px, 7vw, 92px); }
.section-intro { display: grid; grid-template-columns: 1fr minmax(260px, .66fr); gap: 24px; align-items: end; margin-bottom: 26px; }
.section-intro > p, .card-body > p, .page-intro .wrap > p:not(.eyebrow), .detail-copy > p:not(.eyebrow), .software-strip p { color: var(--muted); }
.card-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.card, .framed { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fffcf7; box-shadow: 0 8px 26px #2c241a0c; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; }
.card .shot img { aspect-ratio: 17/10; object-fit: cover; }
.shot figcaption { padding: 6px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
.card .shot { border-bottom: 1px solid var(--line); }
.card-body { padding: clamp(18px, 2.8vw, 32px); }
.card-body > p { margin-top: 10px; }
.card-body h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.text-link { display: inline-block; margin-top: 16px; font-weight: 750; }

.outputs { padding-block: 42px 50px; background: var(--cream); }
.outputs h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.output-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 22px 0 0; padding: 0; list-style: none; }
.output-list li { border-top: 2px solid #a2674f; padding-top: 10px; }
.output-list strong, .output-list span { display: block; }
.output-list strong { font-size: 1.1rem; }
.output-list span { color: var(--muted); margin-top: 4px; }

.quote { background: var(--brown); color: #fff8ec; padding-block: clamp(42px, 6vw, 72px); }
.quote-inner, .software-strip-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.quote .eyebrow { color: #ffcfaa; }
.quote h2 { font-size: clamp(2.2rem, 4.7vw, 4rem); }
.quote h2 + p { margin-top: 12px; color: #f0e0d1; max-width: 56ch; }
.quote .btn { background: #f4e8d4; color: var(--brown); }
.quote .btn:hover { background: #fff9eb; }
.contact-list { display: grid; gap: 4px; overflow-wrap: anywhere; font-size: .92rem; font-style: normal; }
.contact-list a { color: inherit; margin-left: 5px; }
.quote-action .contact-list { margin-top: 10px; }
.foot .contact-list { margin-top: 8px; }
.software-strip { padding-block: clamp(35px, 5vw, 60px); }
.software-strip h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
.software-strip p { margin-top: 8px; max-width: 65ch; }

.page-intro { padding-block: clamp(46px, 7vw, 92px); background: var(--cream); border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 17ch; font-size: clamp(2.65rem, 6.2vw, 5.6rem); }
.page-intro .wrap > p:not(.eyebrow) { max-width: 58ch; margin-top: 16px; font-size: clamp(1.07rem, 1.8vw, 1.22rem); }
.detail-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(24px, 5vw, 66px); }
.detail-reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.detail-reverse .shot { grid-column: 1; grid-row: 1; }
.detail-copy h2 + p { margin-top: 14px; }
.feature-list { margin: 16px 0 0; padding-left: 1.15em; color: var(--muted); }
.feature-list li + li { margin-top: 7px; }
.feature-list li::marker { color: var(--rust-dark); }
.toned { background: #f4eddf; }
.service-process { border-top: 1px solid var(--line); }

.foot { background: #2b211a; color: #f1e6d9; padding-block: 28px; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: start; }
.foot-identity { display: grid; gap: 3px; }
.foot-identity strong { color: #fff9ee; }
.foot-identity span, .copyright { font-size: .86rem; }
.foot nav { flex-wrap: wrap; gap: 10px 19px; }
.foot nav a { color: #f1e6d9; overflow-wrap: anywhere; }
.copyright { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid #fff4e333; }

@media (max-width: 760px) {
  .section-intro, .card-grid, .detail-grid, .detail-reverse { grid-template-columns: 1fr; }
  .section-intro { gap: 10px; }
  .hero { min-height: 0; }
  .hero-inner { padding-block: 66px 80px; }
  .hero::after { background: linear-gradient(90deg, #211914ec, #211914a1), linear-gradient(0deg, #241a14a1, transparent 48%); }
  .hero-photo img { object-position: 63% 50%; }
  .detail-reverse .shot { grid-column: auto; grid-row: auto; }
  .quote-inner, .software-strip-inner, .foot-grid { grid-template-columns: 1fr; gap: 16px; }
  .software-strip-inner .btn { justify-self: start; }
}
@media (max-width: 535px) {
  [id] { scroll-margin-top: 120px; }
  .bar { display: grid; grid-template-columns: 1fr; gap: 2px; padding-block: 7px; }
  .brand { justify-self: start; }
  .brand-mark { height: 34px; }
  .brand-word { height: 24px; }
  .bar nav { gap: 16px; }
  .bar nav .btn { margin-left: auto; min-height: 36px; padding: 6px 9px; font-size: .86rem; }
  .hero-inner { padding-block: 48px 67px; }
  .hero h1 { font-size: clamp(2.65rem, 11.5vw, 3.65rem); }
  .hero-caption { font-size: .74rem; }
  .actions { margin-top: 20px; }
  .output-list { grid-template-columns: 1fr; gap: 16px; }
  .output-list li { border-top: 0; border-left: 2px solid #a2674f; padding: 0 0 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.thermal-card, .thermal-details {
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
  border-radius: 8px;
  background: var(--cream);
  padding: clamp(20px, 3vw, 34px);
}
.thermal-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 30px;
  margin-top: 24px;
}
.thermal-card p { max-width: 67ch; margin-top: 8px; color: var(--muted); }
.thermal-card .btn:hover { background: var(--paper); }
@media (max-width: 760px) {
  .thermal-card { grid-template-columns: 1fr; }
  .thermal-card .btn { justify-self: start; }
}
