:root {
  --bg: #efece3;
  --bg-raised: #f7f4ec;
  --ink: #1c2420;
  --muted: #3e4a44;
  --line: rgba(28, 36, 32, 0.16);
  --teal: #0e5852;
  --teal-deep: #10211e;
  --copper: #a84b28;
  --copper-deep: #8d3d1f;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --header: 68px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

p + p {
  margin-top: 1rem;
}

h1,
h2 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: #c9e4df;
  color: var(--teal-deep);
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: 16px;
  top: 0;
  transform: translateY(-120%);
  background: var(--teal-deep);
  color: #f3efe6;
  padding: 8px 12px;
  z-index: 80;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(239, 236, 227, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1120px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
}

.logo-name {
  display: block;
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 0.92rem;
  line-height: 1;
}

.logo-inc {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(28, 36, 32, 0.35);
  padding: 8px 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 12px;
}

.site-nav a[aria-current="page"]:not(.nav-cta) {
  color: var(--teal);
  box-shadow: inset 0 -1px 0 var(--teal);
}

.nav-cta {
  background: var(--teal-deep);
  color: #f4f1e8;
  border-radius: 999px;
  padding: 10px 16px;
  margin-left: 8px;
}

.nav-cta:hover {
  background: #1a3330;
}

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.lede {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

h1 em {
  font-style: italic;
  color: var(--teal);
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - var(--header));
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 64px 48px 56px max(24px, calc((100vw - 1120px) / 2));
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 5.6vw, 5.35rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.hero .lede {
  margin-bottom: 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 600;
  line-height: 1.2;
  background: transparent;
}

.btn-primary {
  background: var(--copper);
  color: #fffaf6;
}

.btn-primary:hover {
  background: var(--copper-deep);
}

.btn-ghost {
  border-color: rgba(28, 36, 32, 0.4);
}

.btn-ghost:hover {
  background: rgba(28, 36, 32, 0.05);
}

.btn-light {
  background: #e7f0ea;
  color: var(--teal-deep);
}

.btn-light:hover {
  background: #ffffff;
}

.hero-figure {
  margin: 0;
  background: var(--teal-deep);
  color: #e7f0ea;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px 22px;
}

.hero-figure svg {
  width: min(100%, 560px);
  margin-inline: auto;
  animation: rise 0.8s ease both;
}

.hero-figure figcaption,
.drawing-card figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 12px;
}

.hero-figure figcaption {
  color: #b7c7bf;
  text-align: center;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.plate {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.plate div {
  padding: 18px 20px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plate span {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.plate strong {
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.plate a {
  text-decoration: none;
}

.plate a:hover {
  color: var(--teal);
}

.section {
  padding: 88px 0;
}

.statement {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.statement h2 {
  margin: 0;
}

.statement p {
  color: var(--muted);
  font-size: 1.05rem;
}

.index a {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.index a:last-child {
  border-bottom: 1px solid var(--line);
}

.idx,
.index .idx {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--teal);
}

.index-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  letter-spacing: -0.03em;
}

.index-note {
  color: var(--muted);
}

.arrow {
  display: inline-flex;
  color: var(--muted);
  transition: transform 160ms ease, color 160ms ease;
}

.index a:hover .index-title,
.index a:hover .arrow {
  color: var(--teal);
}

.index a:hover .arrow {
  transform: translateX(4px);
}

.shop-band {
  background: var(--teal-deep);
  color: #e7f0ea;
  padding: 80px 0;
}

.shop-band .kicker {
  color: #8fd0c6;
}

.shop-band h2 {
  color: #f3f7f4;
  margin-bottom: 16px;
}

.shop-band p {
  color: #c5d5ce;
  max-width: 38rem;
}

.shop-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.shop-copy .btn {
  margin-top: 20px;
}

.spec {
  margin: 8px 0 0;
}

.spec div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.spec div:last-child {
  border-bottom: 1px solid var(--line);
}

.spec dt {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.spec dd {
  margin: 0;
}

.shop-band .spec div {
  border-color: rgba(231, 240, 234, 0.16);
}

.shop-band .spec dt {
  color: #8fd0c6;
}

.section .kicker + h2,
.shop-copy h2 {
  margin-bottom: 28px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.steps li {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}

.steps span {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--teal);
}

.steps h3,
.parts h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.steps h3 {
  font-size: 1.55rem;
  margin: 10px 0 8px;
}

.steps p,
.parts p {
  color: var(--muted);
}

.visit {
  background: #e4dfd2;
  border-top: 1px solid var(--line);
}

.visit-inner {
  display: grid;
  grid-template-columns: 1.4fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 56px 0;
}

.visit h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.phone {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.phone:hover {
  color: var(--teal);
}

.page-hero {
  padding: 72px 0 12px;
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  max-width: 12em;
  margin-bottom: 18px;
}

.page-hero .lede {
  margin-bottom: 12px;
}

.service-block {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 12px 20px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 88px;
}

.service-block:last-child {
  border-bottom: 1px solid var(--line);
}

.services {
  padding-top: 36px;
}

.service-block h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}

.service-block p {
  max-width: 40rem;
}

.service-block a {
  color: var(--teal);
  text-underline-offset: 3px;
}

.fab-grid,
.about-grid,
.contact-grid {
  display: grid;
  gap: 48px;
  align-items: start;
  padding-bottom: 24px;
}

.fab-grid {
  grid-template-columns: 0.92fr 1.08fr;
  padding-top: 28px;
}

.about-grid,
.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
  padding-top: 28px;
}

.drawing-card {
  margin: 0;
  background: #e7e1d2;
  padding: 16px;
  border: 1px solid var(--line);
}

.drawing-card figcaption {
  color: var(--muted);
  text-align: left;
}

.fab-copy h2 {
  margin-bottom: 14px;
}

.note {
  margin-top: 18px;
  color: var(--muted);
}

.parts {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.parts li {
  padding: 22px 28px 22px 0;
  border-bottom: 1px solid var(--line);
}

.parts li:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 28px;
}

.parts li:nth-child(even) {
  padding-left: 28px;
}

.parts .idx {
  display: block;
}

.parts h3 {
  font-size: 1.7rem;
  margin: 6px 0 8px;
}

.lead-copy p:first-child {
  font-size: 1.28rem;
  line-height: 1.45;
}

.facts {
  margin: 0;
}

.contact-grid .phone {
  display: inline-block;
  margin-bottom: 16px;
}

address {
  font-style: normal;
}

address a,
.footer-grid a {
  text-decoration: none;
}

address a:hover,
.footer-links a:hover,
.footer-grid a:hover {
  color: var(--teal);
}

.map {
  margin-top: 22px;
  border: 1px solid var(--line);
  background: #ddd;
}

.map iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

.inquiry {
  display: grid;
  gap: 16px;
  align-content: start;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid rgba(28, 36, 32, 0.28);
  padding: 12px 14px;
  border-radius: 0;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.error {
  color: var(--copper-deep);
  font-size: 0.9rem;
}

.form-help {
  color: var(--muted);
  font-size: 0.95rem;
}

.inquiry .btn {
  justify-self: start;
}

.inquiry-result {
  border: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 22px;
}

.inquiry-result h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}

.inquiry-result pre {
  white-space: pre-wrap;
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 16px 0;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.inquiry-result .actions {
  margin-top: 8px;
}

.endnote {
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.endnote-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  align-items: center;
  padding: 28px 0;
}

.endnote a {
  color: var(--teal);
  text-underline-offset: 3px;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0 28px;
}

.footer-brand {
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.86rem;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px;
}

.footer-base {
  border-top: 1px solid var(--line);
  padding: 16px 0 28px;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #f7f4ec;
    border-bottom: 1px solid var(--line);
    padding: 4px 20px 16px;
    box-shadow: 0 16px 30px rgba(28, 36, 32, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 4px;
    border-top: 1px solid var(--line);
  }

  .nav-cta {
    margin: 12px 0 0;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding: 36px 24px 28px;
  }

  .hero-figure {
    min-height: 440px;
    padding: 20px 16px 16px;
  }

  .statement,
  .shop-grid,
  .about-grid,
  .contact-grid,
  .fab-grid,
  .visit-inner {
    grid-template-columns: 1fr;
  }

  .visit-inner {
    justify-items: start;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.contact-grid {
  padding-bottom: 80px;
}

.inquiry h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 8px;
}

.inquiry .lede {
  margin-bottom: 8px;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

@media (max-width: 700px) {
  .plate,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .index a {
    grid-template-columns: 3rem 1fr auto;
  }

  .index .idx {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .index-title {
    grid-column: 2;
    grid-row: 1;
  }

  .index-note {
    grid-column: 2;
    grid-row: 2;
  }

  .index .arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .spec div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 560px) {
  .plate,
  .steps,
  .parts {
    grid-template-columns: 1fr;
  }

  .parts li:nth-child(odd),
  .parts li:nth-child(even) {
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .page-hero {
    padding-top: 40px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-figure svg,
  .arrow {
    animation: none;
    transition: none;
  }

  .index a:hover .arrow {
    transform: none;
  }
}
