@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --wall: #eeebe7;
  --wall-top: #eeebe7;
  --wall-bot: #ece9e5;
  --ink: #2c2c2e;
  --ink-soft: #5a5a5e;
  --metal: #2a2a2c;
  --metal-edge: #6a6a6e;
  --line: rgba(42, 42, 44, 0.16);
  --sans: "Outfit", "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --max: 1080px;
  --prose: 38rem;
}

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

html {
  min-height: 100%;
  background-color: var(--wall);
  background-image:
    linear-gradient(180deg, var(--wall-top) 0%, transparent 46%, var(--wall-bot) 100%),
    url("/assets/plaster.png?v=4");
  background-size: auto, 256px 256px;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: #1a1a1c;
}

:focus-visible {
  outline: 2px solid var(--metal-edge);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.5rem 0.8rem;
  background: var(--metal);
  color: #eee;
  z-index: 20;
}

.skip:focus {
  top: 0.75rem;
}

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

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— physical metal ——— */
.metal {
  --hi: rgba(255, 255, 255, 0.2);
  --lo: rgba(0, 0, 0, 0.38);
  background-color: #2b2b2e;
  background-image:
    linear-gradient(
      148deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.05) 26%,
      rgba(0, 0, 0, 0) 48%,
      rgba(0, 0, 0, 0.22) 100%
    ),
    repeating-linear-gradient(
      96deg,
      rgba(255, 255, 255, 0.035) 0 1px,
      transparent 1px 3px
    );
  border: 1px solid #141416;
  border-top-color: #5c5c60;
  border-left-color: #4a4a4e;
  border-right-color: #1a1a1c;
  border-bottom-color: #0c0c0e;
  border-radius: 3px;
  box-shadow:
    1px 2px 4px rgba(0, 0, 0, 0.26),
    0 1px 0 rgba(0, 0, 0, 0.16),
    inset 0 1px 0 var(--hi);
  color: #ecece8;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.metal:hover {
  filter: brightness(1.06);
}

.metal:active {
  transform: translateY(1px);
  filter: brightness(0.96);
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.28),
    inset 1px 1px 2px rgba(0, 0, 0, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.78rem 1.4rem 0.74rem;
  font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  width: max-content;
}

.btn:hover {
  color: #f4f4f0;
  text-decoration: none;
}

.btn-hex {
  width: 0.85rem;
  height: 0.85rem;
  object-fit: cover;
  mix-blend-mode: multiply;
  filter: contrast(1.15);
}

/* ——— header ——— */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0 1.1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  text-decoration: none;
  filter: brightness(1.02);
}

.brand-hex {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-word {
  height: 34px;
  width: auto;
  max-width: min(240px, 56vw);
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.site-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  box-shadow: 0 1px 0 #3a3a3c;
}

.nav-toggle {
  display: none;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  cursor: pointer;
  appearance: none;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: linear-gradient(180deg, #c8c8c4, #6a6a6e 40%, #1a1a1c);
  border-radius: 1px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.nav-toggle-bars {
  position: relative;
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

/* ——— main ——— */
main {
  flex: 1 0 auto;
  padding-bottom: 4.5rem;
}

.hero {
  padding: 4.5rem 0 4.25rem;
  text-align: center;
}

.hero-word {
  width: min(720px, 94%);
  margin: 0 auto 2.1rem;
}

.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lede {
  margin: 0 auto 1.75rem;
  max-width: 22rem;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.hero .btn {
  margin-top: 0.4rem;
}

.rule {
  display: block;
  width: min(12rem, 40%);
  height: 2px;
  margin: 0 auto 3.5rem;
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 55%),
    linear-gradient(90deg, transparent, #3a3a3c 14%, #3a3a3c 86%, transparent);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}

.intro {
  max-width: var(--prose);
  margin: 0 auto 3.75rem;
  text-align: center;
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.65;
}

.intro p {
  margin: 0;
}

/* ——— service list ——— */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 36rem;
  display: grid;
  gap: 2.1rem;
}

.service-list--center {
  margin-inline: auto;
}

.service {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.05rem 1.15rem;
  align-items: start;
}

.service-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-top: 0.15rem;
}

.service h2,
.service h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.service p {
  grid-column: 2;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.55;
}

.page-head {
  padding: 2.75rem 0 2.25rem;
  max-width: var(--prose);
}

.page-head h1 {
  margin: 0.35rem 0 0.9rem;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.page-head p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.6;
}

.prose {
  max-width: var(--prose);
}

.prose p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.stack {
  display: grid;
  gap: 2.5rem;
}

/* ——— contact ——— */
.contact-mail {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-weight: 300;
}

.contact-layout {
  display: grid;
  gap: 2.5rem;
  max-width: 36rem;
}

form {
  display: grid;
  gap: 1.05rem;
}

form .btn {
  margin-top: 0.2rem;
  justify-self: start;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field span,
.field label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  font: 400 1rem/1.4 var(--sans);
  color: var(--ink);
  background: #d8d8d6;
  border: 1px solid #c6c6c4;
  border-top-color: #b8b8b6;
  border-left-color: #b8b8b6;
  border-radius: 2px;
  box-shadow:
    inset 1px 1px 2px rgba(0, 0, 0, 0.14),
    inset -1px -1px 0 rgba(255, 255, 255, 0.35);
  appearance: none;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--metal-edge);
  outline-offset: 1px;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

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

.form-status {
  min-height: 1.4rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink-soft);
}

.form-status.error {
  color: #6a2a2a;
}

.form-status.ok {
  color: #2a4a32;
}

/* ——— footer ——— */
.site-footer {
  padding: 1.4rem 0 2rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.15rem;
  box-shadow: inset 0 1px 0 rgba(42, 42, 44, 0.12);
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.foot-brand img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.foot-meta {
  letter-spacing: 0.14em;
}

/* ——— 404 ——— */
.not-found {
  padding: 5rem 0 4rem;
  text-align: center;
}

.not-found h1 {
  margin: 1rem 0 0.6rem;
  font-weight: 400;
}

.not-found p {
  color: var(--ink-soft);
  font-weight: 300;
}

.not-found img {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  object-fit: contain;
}

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

  .wrap {
    width: min(var(--max), calc(100% - 1.6rem));
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.95rem;
    padding: 0.4rem 0 0.6rem;
  }

  .site-nav.open {
    display: flex;
  }

  .hero {
    padding: 3rem 0 3.2rem;
  }

  .lede {
    font-size: 1.2rem;
  }

  .service {
    grid-template-columns: 32px 1fr;
    gap: 0.85rem 0.9rem;
  }

  .service-mark {
    width: 32px;
    height: 32px;
  }

  form .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .metal:active {
    transform: none;
  }
}
