:root {
  --ink: #17130f;
  --text: #342b24;
  --muted: #6b625a;
  --paper: #f4efe7;
  --panel: #fffaf2;
  --line: #d8cabc;
  --brick: #9b3a25;
  --brick-dark: #632313;
  --gold: #b78334;
  --shadow: rgba(23, 19, 15, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  padding: 24px clamp(18px, 4vw, 54px);
  background: rgba(244, 239, 231, 0.92);
  border-bottom: 1px solid rgba(23, 19, 15, 0.14);
  backdrop-filter: blur(14px);
  transition: padding 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.site-header.is-scrolled {
  min-height: 86px;
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(255, 250, 242, 0.96);
  box-shadow: 0 18px 44px rgba(23, 19, 15, 0.08);
}

.brand img {
  width: 236px;
  transition: width 260ms ease;
}

.site-header.is-scrolled .brand img {
  width: 190px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 24px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a {
  position: relative;
  text-decoration: none;
}

nav a::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--brick);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(42px, 7vw, 104px) clamp(18px, 6vw, 86px);
  background:
    radial-gradient(circle at 18% 20%, rgba(183, 131, 52, 0.22), transparent 28%),
    linear-gradient(105deg, rgba(99, 35, 19, 0.98), rgba(99, 35, 19, 0.88) 50%, transparent 50%),
    var(--paper);
}

.hero-copy {
  color: #fffaf2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  max-width: 980px;
  margin-bottom: 26px;
  font-size: clamp(48px, 7vw, 94px);
  line-height: 0.94;
}

h2 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
}

h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.08;
}

p {
  font-size: 17px;
  line-height: 1.7;
}

.lead {
  max-width: 720px;
  color: rgba(255, 250, 242, 0.86);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: #fffaf2;
  background: var(--brick);
  border: 1px solid var(--brick);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--brick-dark);
  border-color: var(--brick-dark);
  box-shadow: 0 14px 30px rgba(23, 19, 15, 0.18);
}

.button.secondary {
  background: transparent;
  border-color: rgba(255, 250, 242, 0.48);
}

.button.light {
  color: var(--ink);
  background: #fffaf2;
  border-color: #fffaf2;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.hero-panel figure,
.work-feature figure {
  margin: 0;
  padding: 14px;
  background: #fffaf2;
  border: 1px solid rgba(23, 19, 15, 0.14);
  box-shadow: 0 28px 90px var(--shadow);
}

.hero-panel img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #e8ded0;
}

figcaption {
  padding-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.hero-facts div {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.hero-facts strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brick);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  font-weight: 400;
  line-height: 0.9;
}

.hero-facts span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: clamp(70px, 10vw, 132px) clamp(18px, 6vw, 86px);
}

.section-kicker {
  max-width: 920px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.profile {
  background: var(--panel);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.profile-card {
  min-height: 300px;
  padding: clamp(24px, 3.5vw, 42px);
  background: var(--panel);
  transition: transform 260ms ease, background 260ms ease;
}

.profile-card:hover {
  transform: translateY(-6px);
  background: #fffdf8;
}

.profile-card p,
.division-item p,
.process-copy p,
.process-steps p,
.work-note p,
.quality-card p,
.contact p {
  color: var(--muted);
}

.divisions {
  background: var(--paper);
}

.division-list {
  display: grid;
  gap: 18px;
}

.division-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  padding: clamp(24px, 4vw, 46px);
  background: rgba(255, 250, 242, 0.64);
  border: 1px solid var(--line);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.division-item:hover {
  transform: translateX(8px);
  border-color: rgba(155, 58, 37, 0.38);
  box-shadow: 0 18px 50px rgba(23, 19, 15, 0.08);
}

.division-item span {
  color: var(--brick);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.9;
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(32px, 6vw, 82px);
  color: #fffaf2;
  background: var(--brick-dark);
}

.process h2,
.process h3 {
  color: #fffaf2;
}

.process-copy p {
  color: rgba(255, 250, 242, 0.78);
}

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

.process-steps article {
  min-height: 230px;
  padding: 28px;
  background: rgba(255, 250, 242, 0.08);
  border: 1px solid rgba(255, 250, 242, 0.18);
  transition: transform 260ms ease, background 260ms ease;
}

.process-steps article:hover {
  transform: translateY(-6px);
  background: rgba(255, 250, 242, 0.12);
}

.process-steps span {
  display: block;
  margin-bottom: 38px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.process-steps p {
  color: rgba(255, 250, 242, 0.78);
}

.works {
  background: var(--panel);
}

.work-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.work-feature img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  background: #e8ded0;
}

.work-note {
  padding: clamp(22px, 4vw, 44px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.work-note ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.work-note li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 800;
}

.quality {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 6vw, 78px);
  align-items: stretch;
  background: var(--ink);
}

.quality h2,
.quality p {
  color: #fffaf2;
}

.quality-card {
  max-width: 900px;
}

.quality-card p {
  color: rgba(255, 250, 242, 0.78);
}

.quality-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 250, 242, 0.18);
  border: 1px solid rgba(255, 250, 242, 0.18);
}

.quality-list div {
  padding: 26px;
  background: rgba(255, 250, 242, 0.08);
}

.quality-list strong {
  display: block;
  margin-bottom: 10px;
  color: #fffaf2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 400;
  line-height: 1;
}

.quality-list span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: stretch;
  background: var(--panel);
}

.location-copy {
  align-self: center;
}

.location-copy p {
  color: var(--muted);
}

.location-copy .button {
  margin-top: 18px;
}

.map-card {
  min-height: 470px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 28px 90px var(--shadow);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  filter: saturate(0.92) contrast(1.02);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: end;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 6vw, 86px);
  background: var(--gold);
}

.contact h2 {
  margin-bottom: 14px;
}

.contact p {
  margin-bottom: 0;
  color: rgba(23, 19, 15, 0.72);
}

address {
  font-style: normal;
  line-height: 1.65;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 22px clamp(18px, 4vw, 54px);
  color: rgba(255, 250, 242, 0.72);
  background: var(--ink);
  font-size: 12px;
}

.hosted-badge {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(300px, calc(100vw - 36px));
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.94);
  border: 1px solid rgba(23, 19, 15, 0.14);
  box-shadow: 0 18px 46px rgba(23, 19, 15, 0.18);
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hosted-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(23, 19, 15, 0.24);
}

.hosted-badge span {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hosted-badge img {
  width: 118px;
  height: auto;
}

body.js-enabled .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 640ms ease, transform 640ms ease;
}

body.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  body.js-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .process,
  .work-feature,
  .quality,
  .location,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    background: var(--brick-dark);
  }

  .profile-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-panel img,
  .work-feature img {
    max-height: 460px;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(42px, 14vw, 64px);
  }

  .hero-facts,
  .division-item {
    grid-template-columns: 1fr;
  }

  .division-item:hover {
    transform: translateY(-4px);
  }

  .hosted-badge {
    right: 10px;
    bottom: 10px;
    padding: 8px 10px;
  }

  .hosted-badge img {
    width: 96px;
  }
}
