:root {
  --bg: #f6efe6;
  --paper: #fffaf2;
  --paper-2: #efe3d4;
  --ink: #2d2118;
  --muted: #6d5d4f;
  --brown: #7b4b2a;
  --brown-dark: #4c301f;
  --tan: #c49a6c;
  --sand: #dfc4a4;
  --olive: #8b825f;
  --line: rgba(45, 33, 24, .14);
  --shadow: 0 24px 80px rgba(45, 33, 24, .14);
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(196, 154, 108, .18), transparent 34rem),
    linear-gradient(180deg, #fbf6ee 0%, var(--bg) 45%, #f1e4d4 100%);
  line-height: 1.6;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 20;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 239, 230, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(45, 33, 24, .09);
}
.site-header.is-scrolled { box-shadow: 0 12px 40px rgba(45, 33, 24, .08); }
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(45, 33, 24, .12);
}
.brand-name { display: grid; line-height: 1; }
.brand-name strong {
  font-family: Bitter, Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.035em;
}
.brand-name small {
  margin-top: 5px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--muted);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(45, 33, 24, .82);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { background: rgba(123, 75, 42, .1); color: var(--ink); }
.site-nav .nav-cta {
  background: var(--ink);
  color: #fff;
  padding-inline: 16px;
}
.site-nav .nav-cta:hover { background: var(--brown-dark); color: #fff; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  line-height: 1.04;
  letter-spacing: -.04em;
}
h1, h2 { font-family: Bitter, Georgia, serif; }
h1 {
  font-size: clamp(46px, 7vw, 86px);
  max-width: 880px;
  margin-bottom: 22px;
}
h2 { font-size: clamp(32px, 4vw, 55px); margin-bottom: 18px; }
h3 { font-size: 22px; margin-bottom: 10px; }

.hero {
  padding: 94px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -26% -20%;
  height: 300px;
  background: radial-gradient(ellipse, rgba(123, 75, 42, .16), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 46px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text {
  max-width: 660px;
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 30px;
}
.eyebrow {
  margin-bottom: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 800;
  color: var(--brown);
}
.eyebrow.dark { color: var(--brown-dark); }
.eyebrow.light-text { color: rgba(255, 250, 242, .72); }
.hero-actions, .center-action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button.primary { background: var(--ink); color: #fff; }
.button.primary:hover { background: var(--brown-dark); }
.button.secondary { border-color: rgba(45, 33, 24, .2); background: rgba(255, 250, 242, .58); }
.button.secondary:hover { border-color: rgba(45, 33, 24, .4); background: var(--paper); }
.button.light { background: var(--paper); color: var(--ink); }
.button.primary.light { background: #fff; color: var(--ink); }
.button.full { width: 100%; }

.hero-panel {
  background: rgba(255, 250, 242, .76);
  border: 1px solid rgba(45, 33, 24, .12);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.wordmark-card {
  min-height: 315px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid rgba(45, 33, 24, .08);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.wordmark-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(196, 154, 108, .15), transparent 22rem),
    radial-gradient(circle at 90% 85%, rgba(139, 130, 95, .12), transparent 18rem);
  pointer-events: none;
}
.wordmark-card > * { position: relative; }
.wordmark-logo {
  width: min(100%, 430px);
  height: auto;
  border-radius: 18px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-weight: 600;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brown);
}
.check-list.tight { margin-top: 0; }

.section-pad { padding: 82px 0; }
.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: start;
}
.split > p, .section-head p, .muted, .page-hero p, .offer-item p {
  color: var(--muted);
  font-size: 17px;
}
.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}
.section-head.narrow { max-width: 640px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-grid.compact { margin-top: 28px; }
.service-card {
  min-height: 245px;
  padding: 28px;
  border: 1px solid rgba(45, 33, 24, .12);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, .72);
  box-shadow: 0 16px 40px rgba(45, 33, 24, .06);
}
.service-card.featured {
  background: var(--ink);
  color: var(--paper);
}
.service-card span {
  display: inline-block;
  margin-bottom: 34px;
  font-weight: 800;
  color: var(--brown);
}
.service-card.featured span, .service-card.featured p { color: rgba(255, 250, 242, .72); }
.service-card h3 { font-family: Bitter, Georgia, serif; font-size: 27px; }
.service-card p { color: var(--muted); margin-bottom: 0; }
.center-action { justify-content: center; margin-top: 26px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 18px;
}
.project-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid rgba(45, 33, 24, .11);
}
.project-image {
  height: 285px;
  background-color: var(--tan);
  position: relative;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(45, 33, 24, .10));
  pointer-events: none;
}
.project-info { padding: 24px; }
.project-info h3 { font-family: Bitter, Georgia, serif; }
.project-info p { color: var(--muted); margin-bottom: 0; }

.process-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  padding: 24px 24px 24px 74px;
  border: 1px solid rgba(45, 33, 24, .12);
  border-radius: 18px;
  background: rgba(255, 250, 242, .72);
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--brown);
  color: #fff;
  font-weight: 800;
}
.steps h3 { font-family: Bitter, Georgia, serif; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }

.machining-strip, .cta-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 58px 0;
}
.machining-grid, .cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.machining-grid h2, .cta-grid h2 { margin: 0 0 10px; }
.machining-grid p, .cta-grid p { margin: 0; color: rgba(255, 250, 242, .76); max-width: 720px; }
.cta-strip.plain { background: var(--brown-dark); }

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  align-items: start;
}
.contact-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid rgba(45, 33, 24, .12);
  box-shadow: var(--shadow);
}
form { display: grid; gap: 10px; }
.hidden-field { display: none; }
label { font-size: 13px; font-weight: 800; }
input, textarea, select {
  width: 100%;
  border: 1px solid rgba(45, 33, 24, .18);
  border-radius: 14px;
  padding: 14px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; min-height: 136px; }
input:focus, textarea:focus, select:focus {
  outline: 3px solid rgba(123, 75, 42, .18);
  border-color: var(--brown);
}
.direct-contact {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 18px;
}
.direct-contact p { margin: 0 0 8px; }
.small-note { font-size: 13px; color: var(--muted); }

.page-hero {
  padding: 90px 0 62px;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 46px;
  align-items: center;
}
.page-hero h1 { font-size: clamp(42px, 6vw, 76px); }
.page-card {
  padding: 28px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid rgba(45, 33, 24, .12);
  box-shadow: var(--shadow);
}
.page-card h2 { font-size: 30px; margin-bottom: 18px; }
.offer-list .container { display: grid; gap: 20px; }
.offer-item {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 36px;
  padding: 34px;
  border: 1px solid rgba(45, 33, 24, .12);
  border-radius: 24px;
  background: rgba(255, 250, 242, .72);
}
.offer-item.highlight {
  background:
    linear-gradient(135deg, rgba(123, 75, 42, .12), rgba(255, 250, 242, .8));
}
.offer-item h2 { font-size: clamp(30px, 3vw, 46px); }
.plain-list {
  margin: 18px 0 0;
  padding-left: 19px;
  color: var(--muted);
  font-weight: 600;
}
.plain-list li { margin-bottom: 8px; }
.two-col {
  columns: 2;
  column-gap: 32px;
}
.note-box {
  margin-top: 22px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 250, 242, .78);
  border: 1px solid rgba(45, 33, 24, .12);
  color: var(--muted);
}
.note-box strong { color: var(--ink); }

.site-footer {
  padding: 28px 0;
  border-top: 1px solid rgba(45, 33, 24, .12);
  background: rgba(255, 250, 242, .52);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.footer-grid p { margin: 0; color: var(--muted); }
.footer-grid a { font-weight: 800; text-decoration: none; }
.footer-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { border-radius: 12px; }
  .hero-grid, .split, .process-grid, .contact-grid, .page-hero-grid, .offer-item, .machining-grid, .cta-grid {
    grid-template-columns: 1fr;
  }
  .service-grid, .project-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 68px; }
  .section-pad { padding: 62px 0; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--max)); }
  .brand-name strong { font-size: 20px; }
  .brand-icon { width: 44px; height: 44px; }
  .hero-panel, .contact-card, .offer-item { padding: 20px; }
  .wordmark-card { min-height: 250px; }
  .wordmark-logo { width: min(100%, 360px); }
  .steps li { padding-left: 64px; }
  .two-col { columns: 1; }
  .footer-grid { display: grid; }
  .footer-links { justify-content: start; }
}
