:root {
  color-scheme: light;
  --ink: #242320;
  --muted: #5e5750;
  --brick: #a53b2c;
  --brick-dark: #842d22;
  --cream: #f8f5ef;
  --paper: #fffdf9;
  --line: #e5ded3;
  --tint: #f5e8df;
  --dark: #272724;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 24px; }

:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 4px;
}

.wrap {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}

.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  z-index: 5;
  inset: 8px auto auto 8px;
  transform: translateY(-150%);
  background: var(--paper);
  padding: 10px 16px;
}

.skip-link:focus { transform: translateY(0); }

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

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.header-inner { min-height: 82px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.04;
  font-weight: 760;
  letter-spacing: -.045em;
  text-decoration: none;
}

.brand small {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.brand img { flex-shrink: 0; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.2vw, 47px);
  margin-left: 24px;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 650;
  color: #4a433d;
  text-decoration: none;
}

.site-nav a:hover, .text-link:hover { color: var(--brick-dark); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 54px;
  width: fit-content;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--brick);
  color: white;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}

.button:hover { background: var(--brick-dark); }
.button .icon { width: 17px; height: 17px; }

.button--header {
  min-height: 43px;
  padding: 9px 15px;
  border-color: #d2aaa0;
  background: transparent;
  color: var(--brick-dark);
}

.button--header:hover { background: var(--tint); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  width: fit-content;
  color: var(--brick);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.text-link .icon { width: 17px; height: 17px; }
.text-link:hover { text-decoration: underline; text-underline-offset: .25em; }

.hero {
  padding-block: 43px 49px;
  background: var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(30px, 4vw, 66px);
}

.hero-copy { padding-block: 20px 23px; }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brick);
  font-size: 12px;
  font-weight: 780;
  line-height: 1.4;
  letter-spacing: .145em;
  text-transform: uppercase;
}

.kicker::before {
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1 {
  margin-block: 20px 23px;
  font-size: clamp(46px, 5.22vw, 81px);
  font-weight: 790;
  line-height: 1.015;
  letter-spacing: -.075em;
}

h1 span { color: var(--brick); }

.hero-intro {
  max-width: 440px;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 30px;
}

.hero-secondary { color: var(--ink); }

.hero-media, .about-media {
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  background: #e5ded1;
}

.hero-media { aspect-ratio: 1.49; }
.about-media { aspect-ratio: 1.38; }

.hero-media img, .about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption {
  position: absolute;
  inset: auto 12px 12px auto;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgb(36 35 32 / 86%);
  color: white;
  font-size: 11px;
  font-weight: 550;
}

.facts { background: var(--dark); color: #fffaf3; }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin-block: 0;
  padding: 22px 0;
}

.facts-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  padding-inline: 18px;
}

.facts-grid li + li { border-left: 1px solid #56514b; }
.facts-grid .icon { width: 24px; height: 24px; color: #e49981; }
.facts-grid strong, .facts-grid span { display: block; }
.facts-grid strong { font-size: 15px; font-weight: 680; }
.facts-grid span { color: #d8cfc4; font-size: 13px; }

.section { padding-block: clamp(58px, 6.3vw, 100px); }

h2 {
  margin-top: 12px;
  font-size: clamp(36px, 4.1vw, 59px);
  font-weight: 780;
  letter-spacing: -.065em;
  line-height: 1.05;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: end;
  gap: 16px 42px;
  margin-bottom: 33px;
}

.section-heading > p { max-width: 355px; justify-self: end; }
.section-heading > p, .about p:not(.kicker) { color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  transition: border-color .18s ease, background-color .18s ease;
}

.service-photo {
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.service-photo img {
  width: 100%;
  height: auto;
}

.service-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(18px, 2vw, 29px);
  padding-bottom: 14px;
}

.service-card:focus-within, .service-card:hover {
  border-color: #d4aaa0;
  background: #fffcf6;
}

.email-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--tint);
  color: var(--brick-dark);
}

.email-icon .icon { width: 24px; height: 24px; }

.service-card h3 {
  margin-bottom: 8px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.19;
  overflow-wrap: anywhere;
}

.service-card p {
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-card .text-link { margin-top: auto; }

.about { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  align-items: center;
  gap: clamp(32px, 7vw, 108px);
}

.about h2 { margin-bottom: 22px; }
.about p:not(.kicker) { margin-top: 13px; max-width: 460px; }

.about-region {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 25px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 680;
}

.about-region .icon { color: var(--brick); }

.contact { background: var(--dark); color: #fffaf3; }
.contact .kicker { color: #f0aa94; }
.contact a:focus-visible { outline-color: #f0aa94; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(32px, 7vw, 100px);
}

.contact-copy { padding-top: 18px; }
.contact-copy > p:not(.kicker) { max-width: 375px; margin-top: 21px; color: #e1d8cd; }

.email-link {
  display: flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  margin-top: 28px;
  color: white;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 690;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.email-link:hover { text-decoration: underline; text-underline-offset: .24em; }
.email-link small { display: block; margin-bottom: 3px; color: #e1d8cd; font-size: 12px; }

.contact-form {
  display: grid;
  gap: 15px;
  padding: clamp(21px, 3vw, 39px);
  border-radius: 13px;
  background: var(--paper);
  color: var(--ink);
}

.contact-form h3 { font-size: 24px; line-height: 1.16; letter-spacing: -.04em; }

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

.contact-form label {
  display: grid;
  min-width: 0;
  gap: 5px;
  font-size: 14px;
  font-weight: 680;
}

.contact-form :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid #c8beb1;
  border-radius: 6px;
  background: #fffefa;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}

.contact-form textarea { min-height: 105px; resize: vertical; }
.contact-form :is(input, textarea)::placeholder { color: #6b6258; }
.form-note { margin-top: -5px; color: var(--muted); font-size: 13px; }

.site-footer { background: var(--cream); }
.footer-inner { min-height: 98px; }
.footer-inner p { color: var(--muted); font-size: 14px; }

@media (max-width: 1080px) {
  .wrap { width: calc(100% - 72px); }
}

@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero-grid { gap: 24px; }
  h1 { font-size: clamp(41px, 5.7vw, 55px); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { gap: 32px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; flex-wrap: wrap; column-gap: 15px; row-gap: 0; }
  .brand img { width: 40px; height: 40px; }
  .brand { font-size: 21px; }
  .menu-toggle { display: inline-flex; }
  .button--header { display: none; }

  .site-nav {
    order: 1;
    flex: 1 0 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 12px;
    margin-left: 0;
    padding-block: 4px 8px;
  }

  .site-nav.has-toggle { display: none; }
  .site-nav.has-toggle.is-open { display: flex; border-top: 1px solid var(--line); }

  .hero { padding-block: 32px 25px; }
  .hero-grid, .about-grid, .contact-grid, .section-heading { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 24px; }
  .hero-copy { padding-block: 0; }
  h1 { margin-block: 15px 15px; font-size: clamp(43px, 8.9vw, 65px); }
  .hero-actions { margin-top: 19px; }
  .hero-media { aspect-ratio: 1.39; }

  .facts-grid { grid-template-columns: minmax(0, 1fr); padding-block: 9px; }
  .facts-grid li { justify-content: start; padding: 12px 0; }
  .facts-grid li + li { border-left: 0; border-top: 1px solid #56514b; }

  .section-heading { margin-bottom: 22px; }
  .section-heading > p { justify-self: start; }
  .about-grid { gap: 27px; }
  .about-media { order: 1; aspect-ratio: 1.43; }
  .contact-copy { padding-top: 0; }
  .footer-inner { flex-wrap: wrap; gap: 14px 20px; padding-block: 22px; }
  .footer-inner p { order: 1; flex-basis: 100%; }
}

@media (max-width: 720px), (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  .form-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 430px) {
  .hero-actions { gap: 4px 18px; }
  .hero-actions .button { padding-inline: 14px; }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-copy { padding: 19px 19px 10px; }
}

@media (max-width: 375px) {
  .contact-form { padding-inline: 12px; }
  .contact-form select { padding-inline: 8px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
