:root {
  --paper: #f4f4ef;
  --chalk: #fffdf8;
  --ink: #111410;
  --ink-soft: #384039;
  --zinc: #d8dcd2;
  --zinc-strong: #aeb6a6;
  --road: #2d3430;
  --tool-red: #c7352c;
  --tool-green: #446f42;
  --brass: #b18745;
  --line: rgba(17, 20, 16, 0.16);
  --shadow: rgba(17, 20, 16, 0.22);
  --display: "Fraunces", Georgia, serif;
  --body: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(17, 20, 16, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(0deg, rgba(17, 20, 16, 0.03) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background-image:
    linear-gradient(115deg, rgba(17, 20, 16, 0.045), transparent 28%),
    repeating-linear-gradient(0deg, rgba(17, 20, 16, 0.022) 0 1px, transparent 1px 4px);
  opacity: 0.38;
  mix-blend-mode: multiply;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--tool-red);
  color: var(--chalk);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  min-height: 78px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(244, 244, 239, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav a,
.header-call,
.btn,
.map-wrap a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--tool-red);
  color: var(--chalk);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 800;
}

.brand-text small {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
}

.nav a,
.header-call {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 14px 0;
  color: var(--ink-soft);
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  background: var(--tool-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: end;
  min-height: 44px;
  padding: 10px 15px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: var(--chalk);
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.header-call svg,
.btn svg,
.map-wrap a svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
  flex: 0 0 auto;
}

.header-call:hover {
  transform: translateY(-1px);
  background: var(--tool-red);
  border-color: var(--tool-red);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(76svh - 78px);
  overflow: hidden;
  color: var(--chalk);
}

.hero-backdrop,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  background-image: url("assets/workshop-hero.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  animation: slow-settle 900ms ease both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 12, 9, 0.88) 0%, rgba(8, 12, 9, 0.72) 39%, rgba(8, 12, 9, 0.1) 76%),
    linear-gradient(0deg, rgba(8, 12, 9, 0.48), transparent 52%);
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 124px;
  width: min(280px, 36vw);
  height: 9px;
  background:
    linear-gradient(90deg, var(--tool-red) 0 32%, transparent 32% 38%, var(--tool-green) 38% 72%, transparent 72% 78%, var(--brass) 78% 100%);
  box-shadow: 0 14px 0 rgba(255, 253, 248, 0.22);
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(760px, calc(100vw - 36px));
  padding: clamp(48px, 8vw, 88px) clamp(18px, 5vw, 64px) 120px;
  animation: rise 650ms ease both;
}

.eyebrow {
  margin: 0 0 18px;
  color: #f0c45f;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-family: var(--display);
  font-size: clamp(3.8rem, 7vw, 6.6rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-text {
  max-width: 670px;
  margin-bottom: 32px;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(1.08rem, 1.6vw, 1.34rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 20px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--tool-red);
  border-color: var(--tool-red);
  color: var(--chalk);
}

.btn-primary:hover {
  background: var(--chalk);
  border-color: var(--chalk);
  color: var(--ink);
}

.btn-secondary {
  background: rgba(255, 253, 248, 0.08);
  border-color: rgba(255, 253, 248, 0.7);
  color: var(--chalk);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--chalk);
  border-color: var(--chalk);
  color: var(--ink);
}

.hero-status {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 253, 248, 0.26);
  background: rgba(17, 20, 16, 0.74);
  backdrop-filter: blur(18px);
}

.hero-status div {
  min-width: 0;
  padding: 21px clamp(18px, 4vw, 56px);
  border-right: 1px solid rgba(255, 253, 248, 0.18);
}

.hero-status div:last-child {
  border-right: 0;
}

.hero-status span,
.section-kicker,
.fact-list dt {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 253, 248, 0.64);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-status strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.intro-band {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) minmax(290px, 0.64fr);
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 64px);
  background: var(--road);
  color: var(--chalk);
}

.section-kicker,
.fact-list dt {
  color: #bac5b6;
}

.intro-copy p {
  max-width: 880px;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.1vw, 3.2rem);
  font-weight: 650;
  line-height: 1.02;
}

.fact-list {
  display: grid;
  gap: 18px;
  align-content: start;
  margin: 0;
}

.fact-list div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
}

.fact-list dd {
  margin: 0;
  color: rgba(255, 253, 248, 0.9);
  font-weight: 700;
}

.section {
  padding: clamp(56px, 8vw, 106px) clamp(18px, 5vw, 64px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 80px);
  margin-bottom: clamp(28px, 5vw, 54px);
}

.section-heading h2,
.hours-copy h2,
.contact-copy h2 {
  max-width: 940px;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(2.45rem, 5.1vw, 5.8rem);
  font-weight: 800;
  line-height: 0.94;
}

.service-section {
  background: var(--paper);
}

.service-section .eyebrow,
.hours-section .eyebrow,
.contact-section .eyebrow {
  color: var(--tool-red);
}

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

.service-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 285px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--chalk);
  box-shadow: 0 18px 45px rgba(17, 20, 16, 0.07);
}

.service-card span {
  width: fit-content;
  margin-bottom: 30px;
  padding: 6px 9px;
  background: var(--ink);
  color: var(--chalk);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  line-height: 1.05;
}

.service-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.hours-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(330px, 0.6fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  background: var(--chalk);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hours-copy p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.hours-table {
  display: grid;
  border: 1px solid var(--line);
  background: var(--paper);
}

.hours-table div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 58px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.hours-table div:last-child {
  border-bottom: 0;
}

.hours-table span {
  color: var(--ink-soft);
}

.hours-table strong {
  text-align: right;
}

.hours-table .is-today {
  background: var(--tool-green);
  color: var(--chalk);
}

.hours-table .is-today span {
  color: rgba(255, 253, 248, 0.78);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.48fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(56px, 8vw, 106px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(68, 111, 66, 0.12), transparent 38%),
    var(--paper);
}

address {
  display: grid;
  gap: 4px;
  margin: 26px 0 26px;
  color: var(--ink-soft);
  font-style: normal;
}

address strong {
  color: var(--ink);
  font-size: 1.16rem;
}

address a {
  width: fit-content;
  margin-top: 10px;
  color: var(--tool-red);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-section .btn-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.contact-section .btn-secondary:hover {
  background: var(--ink);
  color: var(--chalk);
}

.map-wrap {
  position: relative;
  min-height: 470px;
  border: 1px solid var(--line);
  background: var(--zinc);
  box-shadow: 0 24px 60px rgba(17, 20, 16, 0.12);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 470px;
  border: 0;
  filter: saturate(0.78) contrast(1.04);
}

.map-wrap a {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 13px;
  background: var(--chalk);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(17, 20, 16, 0.14);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 64px);
  background: var(--ink);
  color: rgba(255, 253, 248, 0.74);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-settle {
  from {
    transform: scale(1.06);
  }

  to {
    transform: scale(1.02);
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-band,
  .hours-section,
  .contact-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .intro-copy p {
    max-width: 960px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 70px;
    gap: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text small {
    max-width: 138px;
    font-size: 0.62rem;
  }

  .header-call {
    width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
  }

  .header-call span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .hero {
    min-height: calc(88svh - 70px);
  }

  .hero-backdrop {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 12, 9, 0.9) 0%, rgba(8, 12, 9, 0.72) 62%, rgba(8, 12, 9, 0.28) 100%),
      linear-gradient(0deg, rgba(8, 12, 9, 0.55), transparent 55%);
  }

  .hero::after {
    display: none;
  }

  .hero-content {
    padding: 34px 18px 118px;
  }

  h1 {
    font-size: clamp(2.92rem, 13.8vw, 4.35rem);
  }

  .hero-text {
    font-size: 1.02rem;
    line-height: 1.45;
  }

  .btn {
    min-height: 50px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-status {
    grid-template-columns: 1fr;
  }

  .hero-status div:nth-child(3) {
    display: none;
  }

  .hero-status div {
    padding: 10px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 248, 0.16);
  }

  .hero-status div:last-child {
    border-bottom: 0;
  }

  .intro-band,
  .section,
  .contact-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 235px;
  }

  .hours-table div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .hours-table strong {
    text-align: left;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 360px;
  }

  .site-footer {
    display: grid;
  }
}
