/* ==========================================================================
   SLS Wood Floors, Inc. — site styles
   Classic small-shop layout: warm paper, ink, rust, forest green.
   Two self-hosted typefaces, no tracking, no frameworks.
   ========================================================================== */

@font-face {
  font-family: "Libre Caslon Display";
  src: url("../fonts/libre-caslon-display.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/libre-franklin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --ink: #221f1a;
  --ink-soft: #514a40;
  --ink-faint: #756b5d;
  --paper: #f6f0e3;
  --paper-light: #fbf7ee;
  --paper-deep: #ede2cf;
  --white: #fffdf8;
  --rust: #9f4528;
  --rust-dark: #7e321b;
  --forest: #293d32;
  --forest-deep: #1d2c24;
  --line: #cfc0a6;
  --line-dark: #a8977b;
  --success: #2d5238;
  --error: #8a2f1c;
  --serif: "Libre Caslon Display", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Segoe UI", Tahoma, Geneva, Verdana, Arial, sans-serif;
  --wrap: 1120px;
  --shadow: 3px 3px 0 rgba(34, 31, 26, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(112, 86, 47, 0.028) 1px, transparent 1px),
    linear-gradient(rgba(112, 86, 47, 0.018) 1px, transparent 1px);
  background-size: 8px 8px, 8px 8px;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--rust-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--rust);
}

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}

::selection {
  background: var(--rust);
  color: var(--white);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.45em;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.008em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.6rem, 5.8vw, 4.6rem);
  line-height: 0.99;
}

h2 {
  font-size: clamp(2.05rem, 3.6vw, 3.2rem);
  line-height: 1.03;
}

h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  line-height: 1.18;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.45em;
}

strong {
  font-weight: 700;
}

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Top bar and header
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--forest-deep);
  color: #f0e7d6;
  border-bottom: 1px solid #3a4f43;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
  padding-block: 6px;
}

.topbar p {
  margin: 0;
}

.topbar a {
  color: #fff8e9;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.topbar a:hover {
  color: #f1c9a8;
}

.site-header {
  background: var(--paper-light);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 42px;
  padding-block: 20px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  display: block;
  padding-right: 15px;
  border-right: 1px solid var(--line-dark);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.03em;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand__text strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.brand__text small {
  color: var(--rust);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  padding-block: 7px;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--rust);
  border-bottom-color: var(--rust);
}

.nav a[aria-current="page"] {
  color: var(--rust);
  border-bottom-color: var(--rust);
}

.nav__cta {
  padding: 10px 16px !important;
  border: 1px solid var(--ink) !important;
  color: var(--ink) !important;
  background: transparent;
}

.nav__cta:hover {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: var(--paper-light) !important;
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */

.eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}

.kicker {
  margin-bottom: 14px;
}

.lede {
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.62;
  max-width: 58ch;
}

.muted {
  color: var(--ink-faint);
}

.small {
  font-size: 13px;
  line-height: 1.55;
}

.serif {
  font-family: var(--serif);
}

.rule {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--line);
}

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease,
    transform 140ms ease;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(34, 31, 26, 0.12);
}

.btn--solid {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper-light);
}

.btn--solid:hover {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--paper-light);
}

.btn--light {
  background: var(--paper-light);
  border-color: var(--paper-light);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  border-color: var(--paper-light);
  color: var(--paper-light);
}

.btn--outline-light:hover {
  background: var(--paper-light);
  border-color: var(--paper-light);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 72px 0 78px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(34px, 5vw, 66px);
  align-items: center;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 22px;
}

.hero h1 em {
  color: var(--rust);
  font-style: italic;
  white-space: nowrap;
}

.hero .lede {
  max-width: 50ch;
}

.hero .actions {
  margin-top: 30px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 34px;
  margin: 36px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero__facts li {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.hero__facts strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.hero__facts span {
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero__figure {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 14px 14px 0 var(--paper-deep);
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  filter: sepia(0.06) saturate(0.9) contrast(1.03);
}

.hero__tag {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 7px 11px;
  border: 1px solid var(--line-dark);
  background: var(--paper-light);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Page head (interior pages)
   -------------------------------------------------------------------------- */

.page-head {
  padding: 54px 0 50px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.page-head h1 {
  max-width: 18ch;
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 4.8vw, 3.7rem);
}

.page-head .lede {
  max-width: 64ch;
}

.breadcrumb {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.breadcrumb a:hover {
  color: var(--rust);
}

.breadcrumb span {
  margin-inline: 8px;
  color: var(--line-dark);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.section--tight {
  padding: 56px 0;
}

.section--deep {
  background: var(--paper-deep);
}

.section--forest {
  background: var(--forest);
  color: #f2eadb;
}

.section--forest h2,
.section--forest h3 {
  color: var(--paper-light);
}

.section--forest p,
.section--forest li {
  color: #d9cebc;
}

.section--forest .eyebrow,
.section--forest .kicker {
  color: #e0a17d;
}

.section--forest a {
  color: #f4d2b6;
  text-decoration: underline;
}

.section--forest a:hover {
  color: #fff3e5;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px 60px;
  align-items: end;
  margin-bottom: 44px;
}

.section-head h2 {
  max-width: 14ch;
  margin-bottom: 0;
}

.section-head p {
  max-width: 58ch;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.section--forest .section-head p {
  color: #d9cebc;
}

.section-foot {
  margin-top: 36px;
}

/* Facts strip */

.facts-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: -1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts-strip__item {
  padding: 25px 28px;
  border-right: 1px solid var(--line);
}

.facts-strip__item:last-child {
  border-right: 0;
}

.facts-strip__item strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.2;
}

.facts-strip__item span {
  color: var(--ink-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Services list */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 54px;
  border-top: 1px solid var(--line);
}

.service-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 25px 0 27px;
  border-bottom: 1px solid var(--line);
}

.service-card__num {
  padding-top: 3px;
  color: var(--rust);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.service-card h3 {
  margin-bottom: 7px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.service-card__meta {
  display: block;
  margin-top: 9px;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Representative work */

.work-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.78fr;
  gap: 26px;
  align-items: start;
}

.work-strip figure {
  margin: 0;
}

.work-strip figure:nth-child(2) {
  margin-top: 36px;
}

.work-strip figure:nth-child(3) {
  margin-top: 72px;
}

.work-strip img {
  width: 100%;
  aspect-ratio: 5 / 4;
  padding: 7px;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  object-fit: cover;
  filter: sepia(0.07) saturate(0.86) contrast(1.04);
}

.work-strip figure:nth-child(2) img {
  aspect-ratio: 4 / 3;
}

.work-strip figure:nth-child(3) img {
  aspect-ratio: 3 / 4;
}

.work-strip figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.work-strip span {
  display: block;
  color: var(--rust);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.work-item {
  margin: 0;
  padding: 9px;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 8px 8px 0 var(--paper-deep);
}

.work-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: sepia(0.07) saturate(0.86) contrast(1.04);
}

.work-item figcaption {
  padding: 14px 2px 4px;
}

.work-item span {
  display: block;
  color: var(--rust);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-item strong {
  display: block;
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.2;
}

.work-item p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.work-note {
  max-width: 72ch;
  margin: 32px 0 0;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.55;
}

/* Split image / text */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
  margin: 0;
}

.split__frame {
  padding: 9px;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 12px 12px 0 var(--paper-deep);
}

.split__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.split__caption {
  margin-top: 16px;
  color: #5f5749;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.split__body h2 {
  max-width: 15ch;
}

.split__body p {
  color: var(--ink-soft);
}

.pull-note {
  margin: 28px 0;
  padding: 20px 0 22px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.45;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 26px;
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  background: var(--rust);
}

/* Process */

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  counter-reset: process;
}

.process__step {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.process__letter {
  display: block;
  margin-bottom: 12px;
  color: var(--rust);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.process__step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.process__step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* Field notes */

.notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px 70px;
  align-items: start;
}

.notes-intro h2 {
  max-width: 15ch;
}

.notes-intro p {
  max-width: 42ch;
  color: var(--ink-soft);
}

.notes-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: note;
  border-top: 2px solid var(--ink);
}

.notes-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 19px 0 20px;
  border-bottom: 1px solid var(--line);
}

.notes-list li::before {
  counter-increment: note;
  content: "0" counter(note);
  padding-top: 4px;
  color: var(--rust);
  font-family: var(--serif);
  font-size: 15px;
}

.notes-list strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.15;
}

.notes-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* Service area */

.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px 70px;
  align-items: start;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(242, 234, 219, 0.32);
}

.area-list li {
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid rgba(242, 234, 219, 0.2);
  color: #e4d9c7;
  font-size: 15px;
}

.area-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(242, 234, 219, 0.32);
  color: #cdbfa9;
  font-size: 14px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}

.contact-details h2 {
  max-width: 12ch;
  margin-bottom: 18px;
}

.contact-details > p {
  color: var(--ink-soft);
  max-width: 38ch;
}

.contact-lines {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.contact-lines li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-lines span {
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  padding-top: 4px;
  text-transform: uppercase;
}

.contact-lines a,
.contact-lines address {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  font-style: normal;
  line-height: 1.35;
  text-decoration: none;
}

.contact-lines a:hover {
  color: var(--rust);
}

.contact-form {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 10px 10px 0 var(--paper-deep);
}

.contact-form h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
}

.form-intro {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.form-notice {
  margin: 0 0 24px;
  padding: 13px 15px 14px;
  border: 1px solid var(--line);
  background: rgba(159, 69, 40, 0.045);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.form-notice p {
  margin: 0;
}

.form-notice strong {
  color: var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field label .req {
  color: var(--rust);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
}

.field input,
.field select {
  min-height: 47px;
  padding: 0 12px;
}

.field textarea {
  min-height: 138px;
  padding: 11px 12px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--rust);
  outline: 2px solid var(--rust);
  outline-offset: 1px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #918675;
}

.field--check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin-top: 2px;
}

.field--check input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 3px;
  accent-color: var(--forest);
}

.field--check label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}

.form-hint {
  margin: 0;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.form-status {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line-dark);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.form-status:empty {
  display: none;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-success {
  padding: 18px 20px;
  border: 2px solid var(--success);
  background: #edf3eb;
  color: #2b4a33;
  font-size: 15px;
}

.form-status__title {
  display: block;
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.25;
  color: var(--success);
}

.form-status__meta {
  display: block;
  margin-top: 7px;
  color: #48664f;
  font-size: 13px;
}

.form-status.is-error {
  border-color: var(--error);
  background: #f7e9e5;
  color: var(--error);
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* No-JS fallback notices (shown via #sent / #sent-error) */

.form-alert {
  display: none;
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid var(--line-dark);
  background: var(--paper);
  font-size: 14px;
  line-height: 1.5;
}

.form-alert:target {
  display: block;
}

.form-alert--success {
  border-color: var(--success);
  background: #edf3eb;
  color: var(--success);
}

.form-alert--error {
  border-color: var(--error);
  background: #f7e9e5;
  color: var(--error);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  padding: 52px 0;
  background: var(--rust);
  color: var(--white);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 46px;
  flex-wrap: wrap;
}

.cta-band h2 {
  max-width: 18ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.cta-band p {
  max-width: 50ch;
  margin: 8px 0 0;
  color: #f7e5d9;
}

.cta-band .actions {
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Page content: service details, FAQ, legal
   -------------------------------------------------------------------------- */

.detail-list {
  border-top: 1px solid var(--line);
}

.detail {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 22px 34px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.detail__num {
  color: var(--rust);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}

.detail h2 {
  margin-bottom: 9px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.detail__intro p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.detail__body h3 {
  margin-bottom: 8px;
  font-size: 15px;
  font-family: var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail__body ul {
  margin: 0 0 16px;
  padding-left: 18px;
}

.detail__body li {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.detail__body p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.detail__body p:last-child {
  margin-bottom: 0;
}

.faq {
  max-width: 850px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 18px 42px 18px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rust);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 72ch;
  padding: 0 0 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

/* Legal pages */

.legal {
  max-width: 800px;
  padding: 56px 0 76px;
}

.legal h1 {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.legal .effective {
  margin-bottom: 34px;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal h2 {
  margin: 38px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 25px;
}

.legal h3 {
  margin: 26px 0 8px;
  font-size: 19px;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
}

.legal ul,
.legal ol {
  padding-left: 22px;
}

.legal li {
  margin-bottom: 7px;
}

.legal table {
  width: 100%;
  margin: 18px 0 24px;
  border-collapse: collapse;
  font-size: 14px;
}

.legal th,
.legal td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--paper-deep);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal .legal-note {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid var(--line-dark);
  background: var(--paper-light);
  color: var(--ink);
}

.legal .toc {
  margin: 0 0 34px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: var(--paper-light);
}

.legal .toc .toc__title {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal .toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 30px;
}

.legal .toc li {
  break-inside: avoid;
  font-size: 13px;
}

.legal .toc a {
  color: var(--ink-soft);
  text-decoration: none;
}

.legal .toc a:hover {
  color: var(--rust);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 54px 0 22px;
  background: var(--forest-deep);
  color: #e8decd;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  gap: 36px 46px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand .brand__text strong {
  color: var(--paper-light);
}

.footer-brand .brand__mark {
  color: var(--paper-light);
  border-color: #5c6b60;
}

.footer-brand .brand__text small {
  color: #d79a76;
}

.footer-brand p {
  max-width: 36ch;
  margin: 0;
  color: #bcae9a;
  font-size: 14px;
  line-height: 1.6;
}

.footer-col h3 {
  margin: 4px 0 14px;
  color: #d79a76;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin: 0 0 7px;
}

.footer-col a,
.footer-col address {
  color: #e8decd;
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
  text-decoration: none;
}

.footer-col a:hover {
  color: #f0b48f;
  text-decoration: underline;
}

.footer-contact a {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.35;
}

.footer-contact a + a {
  margin-top: 2px;
}

.footer-contact address {
  margin: 14px 0 0;
}

.footer-contact address + p {
  margin-top: 5px;
}

.footer-contact p {
  margin: 12px 0 0;
  color: #bcae9a;
  font-size: 13px;
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 30px;
  flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid #3a4f43;
  color: #9f9382;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #e8decd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: #f0b48f;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.center {
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .hero__grid,
  .split,
  .contact-grid,
  .area-grid,
  .notes-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    gap: 42px;
  }

  .hero h1 {
    max-width: 15ch;
  }

  .hero__figure {
    max-width: 660px;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .section-head {
    gap: 18px;
  }

  .section-head h2 {
    max-width: 18ch;
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .detail {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .detail__body {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(100% - 32px, var(--wrap));
  }

  .topbar__inner {
    justify-content: center;
    text-align: center;
  }

  .topbar__loc {
    display: none;
  }

  .header__inner {
    align-items: flex-start;
    gap: 18px;
    padding-block: 16px;
  }

  .nav {
    width: 100%;
    gap: 8px 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 11px;
  }

  .nav a {
    padding-block: 5px;
  }

  .nav__cta {
    padding: 8px 12px !important;
  }

  .brand__mark {
    width: 46px;
    height: 46px;
    font-size: 15px;
  }

  .brand__text strong {
    font-size: 19px;
  }

  .brand__text small {
    font-size: 9px;
  }

  .hero {
    padding: 44px 0 50px;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .hero__facts {
    gap: 16px 26px;
  }

  .hero__facts strong {
    font-size: 17px;
  }

  .section,
  .section--tight {
    padding: 52px 0;
  }

  .facts-strip {
    grid-template-columns: 1fr;
  }

  .facts-strip__item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .facts-strip__item:last-child {
    border-bottom: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .work-strip,
  .work-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .work-strip figure:nth-child(2),
  .work-strip figure:nth-child(3) {
    margin-top: 0;
  }

  .work-strip figure:nth-child(3) img {
    aspect-ratio: 5 / 4;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .area-list {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-lines li {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .contact-lines a,
  .contact-lines address {
    font-size: 17px;
  }

  .cta-band__inner {
    display: block;
  }

  .cta-band .actions {
    margin-top: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: 6px;
  }

  .detail {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail__body {
    grid-column: auto;
  }

  .detail__num {
    font-size: 13px;
  }

  .legal .toc ol {
    columns: 1;
  }

  .legal {
    padding: 40px 0 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .btn:hover {
    transform: none;
  }
}

@media print {
  .topbar,
  .site-header,
  .site-footer,
  .cta-band,
  .contact-form,
  .actions {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .wrap {
    width: 100%;
  }

  .hero,
  .page-head,
  .section {
    padding: 18pt 0;
    border-color: #999;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
