:root {
  --ink: #17120f;
  --cream: #f6f2e9;
  --paper: #fbf9f4;
  --amber: #a85f27;
  --amber-dark: #743a18;
  --wood-shadow: #2b180d;
  --cut-y: 54%;
  --saw-start: 13%;
  --header-height: 112px;
  --focus: #ffd67a;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(20, 12, 8, 0.94), rgba(20, 12, 8, 0.94)),
    url("assets/HeroWoodTexture_10-05-2026.webp") center / cover fixed;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.site-shell {
  width: 1120px;
  max-width: 100%;
  margin-inline: auto;
  background: var(--paper);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.38);
  container-type: inline-size;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

.svg-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.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;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--paper);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr minmax(220px, 320px);
  align-items: center;
  gap: clamp(1.25rem, 3cqi, 4rem);
  padding: 0.9rem clamp(1.25rem, 4cqi, 5rem);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 10, 7, 0.94), rgba(37, 24, 17, 0.88)),
    url("assets/HeroWoodTexture_10-05-2026.webp") center 44% / cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 10px 28px rgba(17, 9, 4, 0.2);
}

.brand-window {
  position: relative;
  display: block;
  width: 100%;
  max-width: 285px;
  aspect-ratio: 4.35 / 1;
  overflow: hidden;
}

.brand-window img,
.hero-brand-window img {
  position: absolute;
  width: 110%;
  max-width: none;
  height: auto;
  left: -5.3%;
  top: -90%;
  filter: url("#remove-logo-white");
}

.brand-window--light img {
  filter: url("#remove-logo-white") invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 2.3cqi, 2.8rem);
}

.site-nav a {
  position: relative;
  padding: 0.6rem 0;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  font-weight: 700;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: #d49351;
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-current::after {
  right: 0;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.6rem;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 27px;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 0;
  height: 610px;
  overflow: hidden;
  isolation: isolate;
  background: var(--cream);
}

.hero-reveal {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 75% 72%, rgba(190, 155, 105, 0.12), transparent 25%),
    linear-gradient(135deg, #fbf8f0, #f0eadf);
}

.wood-panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(72, 31, 8, 0.1), rgba(255, 219, 160, 0.025) 50%, rgba(54, 25, 9, 0.16)),
    url("assets/HeroRoughSawnWood_10-05-2026.png") center / cover no-repeat;
  will-change: transform;
}

.wood-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(43, 20, 7, 0.12), transparent 20%, transparent 78%, rgba(47, 21, 8, 0.14)),
    radial-gradient(circle at 50% 40%, transparent 45%, rgba(64, 29, 8, 0.13));
  pointer-events: none;
}

.wood-panel--top {
  clip-path: polygon(0 0, 100% 0, 100% var(--cut-y), 0 var(--cut-y));
}

.wood-panel--bottom {
  clip-path: polygon(0 var(--cut-y), 100% var(--cut-y), 100% 100%, 0 100%);
  transform-origin: 92% var(--cut-y);
}

.hero-brand-window {
  position: absolute;
  z-index: 2;
  left: 4%;
  top: 39%;
  width: 92%;
  max-width: 1320px;
  aspect-ratio: 4.35 / 1;
  overflow: hidden;
  transform: translateY(-53.5%);
}

.hero-brand-window .hero-logo__edge {
  opacity: 0.38;
  filter:
    url("#remove-logo-white")
    invert(74%)
    sepia(54%)
    saturate(670%)
    hue-rotate(348deg)
    brightness(112%)
    contrast(92%);
  transform: translate(2px, 2.5px);
  mix-blend-mode: soft-light;
}

.hero-brand-window .hero-logo__depth {
  opacity: 0.82;
  filter:
    url("#remove-logo-white")
    invert(13%)
    sepia(66%)
    saturate(790%)
    hue-rotate(345deg)
    brightness(48%)
    contrast(132%)
    drop-shadow(-1px -1px 0 rgba(45, 17, 5, 0.78));
  mix-blend-mode: multiply;
}

.hero-brand-window .hero-logo__right {
  clip-path: inset(0 0 0 20.5%);
}

.hero-brand-window .hero-logo__line {
  clip-path: polygon(0 48.4%, 20.7% 48.4%, 20.7% 51.7%, 0 51.7%);
}

.cut-track {
  position: absolute;
  z-index: 5;
  left: var(--saw-start);
  top: calc(var(--saw-y, 46%) - 4px);
  width: 0;
  height: 9px;
  border-radius: 0 999px 999px 0;
  opacity: 0;
  background:
    linear-gradient(to bottom, #5c2b0d 0 25%, #f0bd73 25% 48%, #7b3a12 48% 100%);
  box-shadow: 0 -2px 2px rgba(62, 27, 7, 0.8), 0 3px 4px rgba(255, 210, 139, 0.35);
  transform-origin: left center;
}

.saw-trigger,
.saw-assembly {
  position: absolute;
  left: var(--saw-start);
  top: var(--saw-y, 46%);
  transform: translate(-50%, -50%);
}

.saw-trigger {
  z-index: 11;
  width: clamp(170px, 19cqi, 215px);
  height: clamp(165px, 18cqi, 205px);
  border: 1px solid transparent;
  border-radius: 24px;
  cursor: pointer;
  background: transparent;
}

.saw-trigger__ring {
  position: absolute;
  inset: 8px;
  border: 2px dashed rgba(54, 24, 7, 0.3);
  border-radius: 19px;
  background: rgba(255, 232, 188, 0.035);
  box-shadow: 0 0 0 7px rgba(255, 230, 184, 0.045);
  animation: target-pulse 1.8s ease-in-out infinite;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.saw-trigger:hover .saw-trigger__ring,
.saw-trigger:focus-visible .saw-trigger__ring {
  border-color: rgba(49, 20, 5, 0.78);
  background: rgba(255, 230, 184, 0.14);
  box-shadow: 0 0 0 9px rgba(255, 230, 184, 0.12);
}

.saw-trigger:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

@keyframes target-pulse {
  0%, 100% { opacity: 0.38; transform: scale(0.98); }
  50% { opacity: 0.7; transform: scale(1); }
}

.saw-assembly {
  z-index: 8;
  width: clamp(122px, 14.3cqi, 160px);
  aspect-ratio: 1;
  opacity: 0.92;
  pointer-events: none;
  clip-path: inset(0 0 48% 0);
  transition: clip-path 220ms ease, opacity 160ms ease;
  will-change: transform;
}

.blade-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 2deg,
    #dedede 0 3.5deg,
    #858585 3.5deg 5.2deg,
    #f0f0f0 5.2deg 7.5deg
  );
  box-shadow:
    0 0 0 2px rgba(45, 45, 45, 0.68),
    0 8px 18px rgba(31, 17, 6, 0.45),
    inset 0 0 18px rgba(255, 255, 255, 0.68);
  filter: sepia(1) saturate(3.8) brightness(0.27) contrast(1.4);
  mix-blend-mode: multiply;
  transition: filter 180ms ease, mix-blend-mode 180ms ease;
}

.blade-disc::before {
  content: "";
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  background:
    radial-gradient(circle, #202020 0 8%, #bdbdbd 9% 16%, transparent 17%),
    repeating-conic-gradient(from 9deg, rgba(60, 60, 60, 0.23) 0 1deg, transparent 1deg 14deg),
    radial-gradient(circle, #e9e9e9, #8c8c8c 72%, #d7d7d7);
  border: 1px solid rgba(40, 40, 40, 0.52);
}

.hero:not(.is-cutting) .blade-disc {
  background: repeating-conic-gradient(
    from 2deg,
    #3d1b09 0 3.5deg,
    #1d0c04 3.5deg 5.2deg,
    #5a2a0e 5.2deg 7.5deg
  );
  box-shadow:
    -1px -1px 0 rgba(47, 17, 4, 0.9),
    2px 2px 0 rgba(232, 168, 93, 0.34),
    inset 0 0 18px rgba(23, 8, 2, 0.78);
  filter: none;
}

.hero:not(.is-cutting) .blade-disc::before {
  background:
    radial-gradient(circle, #170902 0 8%, #6b3210 9% 16%, transparent 17%),
    repeating-conic-gradient(from 9deg, rgba(24, 8, 2, 0.36) 0 1deg, transparent 1deg 14deg),
    radial-gradient(circle, #492109, #210d03 72%, #6a3514);
  border-color: rgba(42, 14, 3, 0.72);
}

.hero.is-cutting .saw-assembly {
  clip-path: inset(0);
  opacity: 1;
}

.hero.is-cutting .blade-disc {
  animation: blade-spin 90ms linear infinite;
  filter: none;
  mix-blend-mode: normal;
}

@keyframes blade-spin {
  to { transform: rotate(1turn); }
}

.click-cue {
  position: absolute;
  z-index: 7;
  left: calc(var(--saw-start) - clamp(78px, 8cqi, 100px));
  top: calc(var(--saw-y, 46%) - clamp(150px, 14cqi, 172px));
  color: #2a1307;
  text-align: center;
  font-size: clamp(0.88rem, 1.1cqi, 1.08rem);
  font-weight: 950;
  letter-spacing: 0.08em;
  filter: drop-shadow(0 2px 0 rgba(255, 226, 176, 0.62));
  animation: cue-pulse 1.25s ease-in-out infinite;
  pointer-events: none;
  --cue-scale: 1;
}

.click-cue span {
  display: inline-block;
  padding: 0.34rem 0.62rem;
  border: 2px solid rgba(45, 18, 5, 0.72);
  border-radius: 999px;
  background: rgba(255, 240, 211, 0.88);
  box-shadow: 0 5px 14px rgba(48, 20, 5, 0.18);
  transform: rotate(-7deg);
}

.click-cue svg {
  width: 84px;
  height: 58px;
  overflow: visible;
}

.click-cue path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes cue-pulse {
  0%, 100% { transform: translateY(0) rotate(-1deg) scale(var(--cue-scale)); opacity: 0.84; }
  50% { transform: translateY(10px) rotate(1deg) scale(var(--cue-scale)); opacity: 1; }
}

.hero.is-cutting .click-cue,
.hero.is-cutting .saw-trigger {
  opacity: 0;
  pointer-events: none;
}

.hero.is-cutting .click-cue {
  visibility: hidden;
  animation: none;
}

.sound-toggle {
  position: absolute;
  z-index: 10;
  top: 1.25rem;
  right: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.82rem;
  color: #241207;
  background: rgba(255, 247, 227, 0.78);
  border: 1px solid rgba(48, 24, 7, 0.45);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 800;
}

.sound-toggle[aria-pressed="true"] .sound-toggle__icon {
  text-decoration: line-through;
}

.hero-content {
  position: absolute;
  z-index: 6;
  right: clamp(1.5rem, 7cqi, 8rem);
  bottom: 1.4rem;
  max-width: 520px;
  text-align: center;
  color: #211006;
  text-shadow: 0 1px 0 rgba(255, 226, 178, 0.58);
}

.eyebrow {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.33em;
  font-size: clamp(0.68rem, 1cqi, 0.88rem);
  font-weight: 800;
}

.hero-content .eyebrow {
  letter-spacing: 0.25em;
  font-size: clamp(1.02rem, 1.22cqi, 1.18rem);
  font-weight: 900;
}

.hero h1,
.gallery-section h2,
.contact-copy h2,
.contact-form h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.hero h1 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(2rem, 4cqi, 4.4rem);
  line-height: 1.03;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 48px;
  padding: 0.78rem 1.4rem;
  border: 1px solid #27150b;
  color: #1d0f07;
  background: rgba(255, 248, 232, 0.65);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button--solid {
  color: #fff;
  border-color: #6f3816;
  background: linear-gradient(135deg, #9b531f, #6e3514);
  text-shadow: none;
}

.button--outline {
  background: rgba(255, 250, 239, 0.72);
}

.particle-field {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  overflow: hidden;
}

.sawdust-particle {
  position: absolute;
  width: var(--size, 5px);
  height: calc(var(--size, 5px) * 0.55);
  border-radius: 60% 10% 60% 10%;
  background: var(--dust-color, #e3ad65);
  box-shadow: 0 0 4px rgba(70, 31, 8, 0.56);
  animation: dust-flight var(--duration, 850ms) cubic-bezier(.16,.68,.36,1) forwards;
}

@keyframes dust-flight {
  from { transform: translate3d(0, 0, 0) rotate(0); opacity: 1; }
  to { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)); opacity: 0; }
}

.reduced-motion-note {
  position: absolute;
  z-index: 6;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.4rem 0.6rem;
  background: rgba(255,255,255,.75);
  font-size: 0.75rem;
}

.gallery-section {
  padding: clamp(3rem, 5cqi, 4.5rem) clamp(1.2rem, 4cqi, 4.5rem);
  background:
    radial-gradient(circle at 20% 20%, rgba(132, 93, 51, 0.045), transparent 22%),
    #fbfaf6;
  text-align: center;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 2.4rem;
}

.eyebrow--dark {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: #5d4b3e;
}

.eyebrow--dark span {
  width: clamp(55px, 7cqi, 110px);
  height: 1px;
  background: #b8aa9a;
}

.gallery-section h2 {
  margin: 0.2rem 0;
  font-size: clamp(2.5rem, 5cqi, 4.6rem);
  line-height: 1.08;
}

.section-kicker {
  margin: 0;
  color: #51443a;
  text-transform: uppercase;
  letter-spacing: 0.27em;
  font-size: clamp(0.68rem, 1cqi, 0.86rem);
  font-weight: 800;
}

.section-kicker__mobile-line {
  display: inline;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 1500px;
  margin: 0 auto;
}

.gallery-card {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d5c4ae;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1), filter 300ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-within img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.03);
}

.gallery-card--quote img {
  transform: scale(1.18);
  object-position: 54% center;
}

.gallery-card--quote:hover img,
.gallery-card--quote:focus-within img {
  transform: scale(1.205);
}

.gallery-card__quote {
  position: absolute;
  inset: 13%;
  display: grid;
  place-items: center;
  color: rgba(63, 30, 13, 0.76);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.9rem, 1.35cqi, 1.38rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.015em;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(255, 225, 179, 0.42),
    0 -1px 0 rgba(42, 17, 6, 0.5),
    0 0 5px rgba(70, 31, 9, 0.14);
  mix-blend-mode: multiply;
}

.gallery-more {
  margin-top: 2.2rem;
}

.button--dark {
  background: transparent;
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(2.5rem, 6cqi, 7rem);
  min-height: 760px;
  padding: clamp(4rem, 8cqi, 7rem) clamp(1.5rem, 7cqi, 8rem);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 9, 6, 0.84), rgba(17, 10, 5, 0.38) 52%, rgba(12, 8, 5, 0.4)),
    url("assets/ContactWorkshopBackground_10-05-2026.webp") center / cover no-repeat;
}

.contact-copy {
  max-width: 610px;
}

.contact-copy h2 {
  margin: 0.45rem 0 1.2rem;
  font-size: clamp(3rem, 6cqi, 6rem);
  line-height: 0.94;
  font-weight: 500;
}

.contact-copy > p:not(.eyebrow):not(.contact-values) {
  max-width: 570px;
  font-size: clamp(1rem, 1.25cqi, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
}

.contact-rule {
  display: block;
  width: 68px;
  height: 2px;
  margin: 2rem 0;
  background: #fff;
}

.contact-values {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
}

.contact-values span {
  padding: 0 0.6rem;
  color: #d38a49;
}

.contact-form {
  width: 100%;
  max-width: 700px;
  justify-self: end;
  padding: clamp(1.4rem, 3cqi, 2.6rem);
  color: #20150f;
  background: rgba(252, 250, 246, 0.95);
  box-shadow: 0 24px 70px rgba(12, 7, 3, 0.36);
  backdrop-filter: blur(8px);
}

.contact-form h3 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.8rem, 3cqi, 2.65rem);
  font-weight: 500;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form > label,
.form-row label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.83rem;
  font-weight: 700;
}

.contact-form input:not([type="radio"]),
.contact-form textarea {
  width: 100%;
  padding: 0.78rem 0.85rem;
  border: 1px solid #c8c1b9;
  background: #fff;
  color: #18110d;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8f491d;
  outline: 2px solid rgba(159, 82, 30, 0.2);
  outline-offset: 1px;
}

.contact-form fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.contact-form legend {
  width: 100%;
  margin-bottom: 0.45rem;
  font-size: 0.83rem;
  font-weight: 700;
}

.contact-form fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
}

.contact-form input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #8a471e;
}

.form-submit {
  width: 100%;
  min-height: 52px;
  border: 1px solid #6e3518;
  color: #fff;
  background:
    linear-gradient(rgba(89, 38, 10, 0.24), rgba(89, 38, 10, 0.24)),
    url("assets/HeroWoodTexture_10-05-2026.webp") center / cover;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.form-status {
  min-height: 1.5em;
  margin: 0.8rem 0 0;
  color: #6a2f14;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) 1.3fr minmax(180px, 0.7fr);
  align-items: center;
  gap: 2rem;
  min-height: 270px;
  padding: 2.5rem clamp(1.5rem, 5cqi, 5.5rem);
  color: rgba(255,255,255,.88);
  background:
    linear-gradient(rgba(24, 14, 9, 0.92), rgba(24, 14, 9, 0.92)),
    url("assets/HeroWoodTexture_10-05-2026.webp") center / cover;
}

.footer-brand .brand-window {
  max-width: 300px;
}

.footer-brand p,
.footer-center p {
  margin: 0.8rem 0 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.footer-brand .footer-rights {
  margin-top: 0.28rem;
}

.footer-message {
  line-height: 1.75;
}

.footer-message__line {
  display: inline;
}

.footer-center {
  text-align: center;
}

.footer-center > span {
  display: block;
  width: 68px;
  height: 2px;
  margin: 1rem auto;
  background: rgba(255,255,255,.7);
}

.footer-center b {
  padding: 0 0.55rem;
  color: #b96f34;
}

.footer-quote {
  justify-self: end;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(1rem, 1.6cqi, 1.45rem);
  line-height: 1.3;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: minmax(210px, 260px) 1fr;
  }

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

  .contact-section {
    grid-template-columns: 1fr 1fr;
    padding-inline: clamp(1.5rem, 4cqi, 4rem);
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 96px;
    --cut-y: 52%;
  }

  .site-header {
    grid-template-columns: minmax(190px, 250px) auto;
    padding: 0.8rem 1.2rem;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
    color: #fff;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    background: #1d120c;
    box-shadow: 0 14px 24px rgba(0,0,0,.3);
  }

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

  .site-nav a {
    width: 100%;
    padding: 0.9rem;
    text-align: center;
  }

  .hero {
    height: 600px;
  }

  .hero-brand-window {
    left: 2%;
    width: 96%;
    max-width: none;
    top: 42%;
  }

  .hero-content {
    left: 1.1rem;
    right: 1.1rem;
    bottom: 2rem;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .contact-section {
    grid-template-columns: 1fr;
    min-height: auto;
    background-position: 62% center;
  }

  .contact-copy {
    padding: 1.2rem;
    background: rgba(17, 10, 6, 0.55);
    backdrop-filter: blur(4px);
  }

  .contact-form {
    justify-self: stretch;
    max-width: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand .brand-window {
    margin: 0 auto;
  }

  .footer-quote {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .brand-window {
    max-width: 220px;
  }

  .hero {
    height: 560px;
  }

  .hero h1 {
    letter-spacing: 0.11em;
  }

  .sound-toggle__label {
    display: none;
  }

  .sound-toggle {
    width: 42px;
    height: 42px;
    justify-content: center;
    padding: 0;
  }

  .saw-trigger {
    width: 150px;
    height: 150px;
  }

  .saw-assembly {
    width: 122px;
  }

  .click-cue {
    left: 0.75rem;
    top: calc(var(--saw-y, 46%) - 126px);
    transform-origin: left bottom;
    --cue-scale: 0.82;
  }

  .click-cue svg {
    width: 68px;
    height: 48px;
  }

  .gallery-section {
    padding-inline: 0.8rem;
  }

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

  .gallery-card {
    aspect-ratio: 1.25 / 1;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-section {
    padding: 3rem 1rem;
  }

  .contact-copy h2 {
    font-size: clamp(2.75rem, 15cqi, 4.2rem);
  }
}

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

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

  .saw-trigger,
  .click-cue,
  .sound-toggle {
    display: none;
  }
}

/* Layered photographic hero animation. The approved still remains the no-JS and reduced-motion fallback. */
.hero.hero-animation {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1820 / 864;
  overflow: hidden;
  isolation: isolate;
  background: #1b100a;
}

.hero-animation__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-animation__stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}

.hero-animation__base {
  z-index: 1;
}

.hero-animation__fallback {
  z-index: 20;
  opacity: 1;
  transition: opacity 180ms ease;
}

.hero-animation.is-ready .hero-animation__fallback {
  opacity: 0;
}

.hero-animation__reveal,
.hero-animation__offcut {
  clip-path: polygon(0 48.5%, 70.5% 100%, 0 100%);
}

.hero-animation__reveal {
  z-index: 2;
  opacity: 0;
}

.hero-animation__offcut {
  z-index: 3;
  opacity: 1;
  transform-origin: 0 48.5%;
  will-change: transform, opacity;
}

.hero-animation__kerf {
  position: absolute;
  z-index: 10;
  left: -1%;
  top: 48.5%;
  width: 71.5%;
  height: 5px;
  border-radius: 0 999px 999px 0;
  opacity: 0;
  transform: rotate(18.7deg) scaleX(0);
  transform-origin: left center;
  background: linear-gradient(to bottom, #1b0c05 0 40%, #6e3216 41% 70%, #1a0b05 71%);
  box-shadow: 0 -1px 1px rgba(29, 12, 4, 0.75), 0 2px 3px rgba(255, 192, 115, 0.15);
  will-change: transform, opacity;
}

.hero-animation__saw-unit {
  position: absolute;
  z-index: 8;
  left: -22%;
  top: 0.5%;
  width: 43%;
  aspect-ratio: 3 / 2;
  opacity: 0;
  pointer-events: none;
  transform-origin: 57% 68%;
  will-change: transform, opacity, filter;
}

.hero-animation__saw-unit::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 8%;
  right: 0;
  bottom: 9%;
  height: 8%;
  border-radius: 50%;
  background: rgba(19, 7, 2, 0.58);
  filter: blur(2.5px);
  transform: translate3d(5px, 6px, 0) rotate(4.5deg) skewX(-8deg);
  transform-origin: center;
  pointer-events: none;
}

.hero-animation__saw-unit::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 10%;
  right: -1%;
  bottom: 5%;
  height: 17%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(22, 9, 3, 0.52) 0%, rgba(22, 9, 3, 0.28) 48%, transparent 78%);
  filter: blur(8px);
  transform: translateY(2px) rotate(4.5deg);
  transform-origin: center;
  pointer-events: none;
}

.hero-animation.is-ready .hero-animation__saw-unit {
  opacity: 1;
}

.hero-animation__saw {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  opacity: 1;
  transform: rotate(5deg);
  transform-origin: 27% 72%;
  filter: brightness(0.9) saturate(0.9) contrast(1.03)
    drop-shadow(2px 4px 3px rgba(20, 8, 2, 0.34))
    drop-shadow(10px 13px 8px rgba(20, 8, 2, 0.48));
}

.hero-animation__cue {
  position: absolute;
  z-index: 13;
  left: 5.2%;
  top: 5.5%;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  color: #fff9ec;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(1.05rem, 2.35cqi, 1.8rem);
  font-weight: 800;
  line-height: 0.95;
  text-align: center;
  text-shadow: 0 2px 6px rgba(31, 13, 5, 0.8);
  opacity: 0;
  pointer-events: none;
  animation: hero-cue-bob 1.05s ease-in-out infinite;
  transition: opacity 150ms ease;
}

.hero-animation.is-ready .hero-animation__cue {
  opacity: 1;
}

.hero-animation__cue svg {
  width: clamp(58px, 7cqi, 90px);
  height: auto;
  overflow: visible;
}

.hero-animation__cue path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes hero-cue-bob {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50% { transform: translate3d(0, 9px, 0) rotate(1deg); }
}

.hero-animation.is-cutting .hero-animation__cue,
.hero-animation.is-finished .hero-animation__cue {
  opacity: 0;
  animation: none;
}

.hero-animation__trigger {
  position: absolute;
  z-index: 30;
  left: 0;
  top: 8%;
  width: 27%;
  height: 70%;
  padding: 0;
  border: 0;
  border-radius: 0 30px 30px 0;
  background: transparent;
  cursor: pointer;
  outline: 0;
}

.hero-animation:has(.hero-animation__trigger:focus-visible) .hero-animation__cue {
  text-shadow: 0 2px 7px rgba(31, 13, 5, 0.9), 0 0 12px rgba(255, 229, 178, 0.7);
}

.hero-animation.is-cutting .hero-animation__trigger,
.hero-animation.is-finished .hero-animation__trigger {
  pointer-events: none;
  opacity: 0;
}

.hero-animation__hotspot {
  position: absolute;
  z-index: 31;
  top: 78.4%;
  height: 9.2%;
  border-radius: 3px;
  background: transparent;
}

.hero-animation__hotspot--gallery {
  left: 60.1%;
  width: 18%;
}

.hero-animation__hotspot--contact {
  left: 79.2%;
  width: 17.5%;
}

.hero-animation__hotspot:hover,
.hero-animation__hotspot:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(255, 248, 232, 0.9), 0 8px 22px rgba(20, 9, 3, 0.24);
}

.hero-animation__dust {
  position: absolute;
  z-index: 12;
  inset: 0;
  display: none;
  overflow: hidden;
  pointer-events: none;
}

.hero-animation__dust-particle {
  position: absolute;
  width: var(--dust-size, 4px);
  height: calc(var(--dust-size, 4px) * 0.48);
  border-radius: 60% 10% 60% 10%;
  background: var(--dust-color, #d89b52);
  box-shadow: 0 0 3px rgba(75, 35, 10, 0.42);
  animation: hero-dust-flight var(--dust-duration, 760ms) cubic-bezier(.18,.66,.32,1) forwards;
}

@keyframes hero-dust-flight {
  from { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.92; }
  to { transform: translate3d(var(--dust-x), var(--dust-y), 0) rotate(var(--dust-rotation)); opacity: 0; }
}

.hero-animation.is-finished .hero-animation__reveal {
  opacity: 1;
}

.hero-animation.is-finished .hero-animation__saw-unit {
  opacity: 0;
}

.hero-animation__replay {
  position: absolute;
  z-index: 32;
  left: 2.5%;
  bottom: 3.2%;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 224, 174, 0.72);
  border-radius: 0;
  background: rgba(27, 12, 5, 0.58);
  color: #fff3dc;
  font: 700 0.72rem/1.1 Inter, Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease, background 160ms ease;
}

.hero-animation__replay:hover,
.hero-animation__replay:focus-visible {
  background: rgba(74, 35, 13, 0.74);
  outline: 0;
}

.hero-animation.is-finished .hero-animation__replay {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-animation__sound-toggle {
  position: absolute;
  z-index: 33;
  left: 1.5%;
  top: 2.7%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 239, 210, 0.45);
  border-radius: 50%;
  background: rgba(24, 12, 6, 0.62);
  color: #fff5e4;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(13, 6, 3, 0.2);
  transition: background 160ms ease, border-color 160ms ease;
}

.hero-animation__sound-toggle:hover,
.hero-animation__sound-toggle:focus-visible {
  border-color: rgba(255, 245, 226, 0.86);
  background: rgba(50, 25, 11, 0.78);
  outline: 0;
}

.hero-animation__sound-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero-animation__sound-toggle .sound-icon__waves,
.hero-animation__sound-toggle .sound-icon__muted {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.hero-animation__sound-toggle .sound-icon__muted {
  display: none;
  stroke-width: 2.8;
}

.hero-animation__sound-toggle[aria-pressed="true"] .sound-icon__waves {
  display: none;
}

.hero-animation__sound-toggle[aria-pressed="true"] .sound-icon__muted {
  display: block;
}

.hero-mobile-content {
  display: none;
}

@media (max-width: 820px) {
  .hero.hero-animation {
    height: auto;
    aspect-ratio: auto;
    background: #201208;
  }

  .hero-animation__stage {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 2.68 / 1;
    background: #21140c;
  }

  .hero-animation__stage > img.hero-animation__base {
    content: url("assets/HeroMobile_CleanWood_10-05-2026.webp");
    inset: auto !important;
    top: -6.15vw !important;
    left: -30% !important;
    display: block !important;
    width: 140% !important;
    height: auto !important;
    opacity: 1 !important;
    object-fit: contain;
    object-position: center;
  }

  .hero-animation__trigger,
  .hero-animation__replay,
  .hero-animation__sound-toggle,
  .hero-animation__cue,
  .hero-animation__saw-unit {
    display: none;
  }

  .hero-animation__fallback,
  .hero-animation__reveal,
  .hero-animation__offcut,
  .hero-animation__kerf,
  .hero-animation__dust,
  .hero-animation__blade-occluder,
  .hero-animation__hotspot {
    display: none !important;
  }

  .hero-mobile-content {
    position: relative;
    z-index: 2;
    display: block;
    padding: 1rem 1.05rem 1.15rem;
    color: #fff8ec;
    text-align: center;
    background: linear-gradient(180deg, #3a1c0c 0%, #241107 100%);
    border-top: 1px solid rgba(255, 222, 171, 0.22);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.82);
  }

  .hero-mobile-content p,
  .hero-mobile-content h2 {
    margin: 0;
  }

  .hero-mobile-content p {
    font: 700 0.72rem/1.2 Inter, Arial, sans-serif;
    letter-spacing: 0.25em;
    text-transform: uppercase;
  }

  .hero-mobile-content h2 {
    margin-top: 0.22rem;
    font: 500 1.55rem/1.08 Georgia, "Times New Roman", serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .hero-mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-top: 0.9rem;
  }

  .hero-mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 46px;
    padding: 0.7rem 0.6rem;
    border: 1px solid rgba(255, 247, 231, 0.76);
    color: #fffdf8;
    background: rgba(9, 7, 6, 0.5);
    font: 800 0.69rem/1 Inter, Arial, sans-serif;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }

  .hero-mobile-actions a:first-child {
    border-color: rgba(244, 184, 111, 0.82);
    background: rgba(126, 63, 23, 0.64);
  }

  .hero-mobile-actions a:focus-visible {
    outline: 2px solid #fff8e9;
    outline-offset: 3px;
  }
}

@media (max-width: 560px) {
  .hero-animation__stage { aspect-ratio: 2.68 / 1; }

  .section-kicker__mobile-line {
    display: block;
    margin-top: 0.28rem;
  }

  .contact-values {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.28rem;
    white-space: nowrap;
    letter-spacing: 0.12em;
    font-size: 0.62rem;
  }

  .contact-values span {
    padding: 0 0.08rem;
  }
}

@media (orientation: landscape) and (min-width: 640px) and (max-width: 900px) and (max-height: 500px) {
  :root {
    --header-height: 56px;
  }

  main {
    background: #1b100a;
  }

  .site-header {
    min-height: var(--header-height);
    grid-template-columns: minmax(180px, 220px) auto;
    padding: 0.25rem 0.8rem;
  }

  .site-header .brand-window {
    max-width: 210px;
  }

  .menu-toggle {
    padding: 0.35rem;
  }

  .hero.hero-animation {
    width: min(100%, calc((100svh - var(--header-height)) * 2.1065));
    height: calc(100svh - var(--header-height));
    max-height: calc(100svh - var(--header-height));
    margin-inline: auto;
    aspect-ratio: auto;
    background: #1b100a;
  }

  .hero-animation__stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    background: #1b100a;
  }

  .hero-animation__stage > img,
  .hero-animation__stage > img.hero-animation__base {
    content: normal;
    position: absolute;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    opacity: 1;
    object-fit: cover;
    object-position: center;
  }

  .hero-mobile-content,
  .hero-animation__sound-toggle {
    display: none !important;
  }

  .hero-animation__fallback,
  .hero-animation__reveal,
  .hero-animation__offcut,
  .hero-animation__kerf,
  .hero-animation__hotspot {
    display: block !important;
  }

  .hero-animation__trigger,
  .hero-animation__replay,
  .hero-animation__saw-unit {
    display: block;
  }

  .hero-animation__cue {
    display: flex;
    left: 3.8%;
    top: 3.5%;
    font-size: clamp(1rem, 4.2vh, 1.3rem);
    font-weight: 900;
    text-shadow: 0 2px 7px rgba(31, 13, 5, 0.92), 0 0 10px rgba(255, 234, 196, 0.35);
  }

  .hero-animation__cue svg {
    width: clamp(48px, 9vw, 68px);
  }

  .hero-animation__trigger {
    width: 31%;
    height: 76%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animation__fallback {
    opacity: 1 !important;
  }

  .hero-animation__trigger,
  .hero-animation__replay,
  .hero-animation__sound-toggle,
  .hero-animation__cue,
  .hero-animation__saw-unit,
  .hero-animation__blade-occluder,
  .hero-animation__kerf,
  .hero-animation__reveal,
  .hero-animation__offcut,
  .hero-animation__dust {
    display: none !important;
  }
}
