:root {
  --bg: #ebe6de;
  --surface: #f7f3ec;
  --panel: #fdfaf5;
  --panel-strong: #ffffff;
  --line: rgba(62, 55, 46, 0.14);
  --line-strong: rgba(145, 101, 56, 0.34);
  --text: #201c18;
  --muted: #6d645a;
  --accent: #8f5d2f;
  --accent-strong: #5f4022;
  --shadow: 0 18px 40px rgba(68, 55, 40, 0.08);
  --radius: 22px;
  --max-width: 1240px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #f6f1ea 0%, #ece5db 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 48px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
  margin-top: 18px;
  padding: 16px 18px;
  background: rgba(253, 250, 245, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background:
    linear-gradient(180deg, #b8844e, #8f5d2f);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong,
.site-nav a,
.button,
h1,
h2,
h3 {
  font-family: "Barlow Condensed", sans-serif;
}

.brand-copy strong {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(62, 55, 46, 0.06);
  border-radius: 10px;
}

.nav-cta {
  color: var(--text) !important;
  background: #efe1d0;
  border: 1px solid rgba(143, 93, 47, 0.22);
  border-radius: 10px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 32px;
  min-height: calc(100svh - var(--header-height) - 70px);
  padding: 54px 0 42px;
  align-items: center;
}

.hero-copy,
.hero-visual,
.section,
.signal-band,
.site-footer {
  position: relative;
  z-index: 1;
}

.section > *,
.site-footer > *,
.visual-panel > *,
.capability-card > *,
.quality-panel > *,
.timeline-step > *,
.location-panel > *,
.rfq-form > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 11ch;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 4.9vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: none;
}

.hero-text,
.section-heading p,
.split-copy p,
.materials-copy p,
.quality-panel p,
.materials-panel p,
.timeline-step p,
.location-copy p,
.rfq-copy p,
.site-footer p,
.panel-note {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 34rem;
  margin: 18px 0 0;
  font-size: 1.02rem;
  line-height: 1.72;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent-strong);
  color: #fffaf4;
  box-shadow: none;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 36px 0 0;
}

.hero-proof div,
.visual-panel,
.capability-card,
.spec-card,
.quality-panel,
.timeline-step,
.shop-photo-card,
.location-panel,
.rfq-form,
.site-footer {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-proof div {
  padding: 18px;
  border-radius: 16px;
}

.hero-proof dt,
.panel-label,
.capability-card span,
.timeline-step span,
.spec-row span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-proof dd {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 0.96rem;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.visual-panel {
  padding: 22px;
  border-radius: var(--radius);
}

.visual-panel-primary {
  min-height: 420px;
}

.visual-panel-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hero-photo-card {
  position: relative;
  min-height: 372px;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #d8d1c7;
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 372px;
  object-fit: cover;
  object-position: center;
}

.secondary-photo-card {
  position: relative;
  min-height: 200px;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #d8d1c7;
}

.secondary-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: center;
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 24px;
  border: 1px dashed rgba(143, 93, 47, 0.34);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(173, 159, 141, 0.12), rgba(255, 255, 255, 0.5)),
    repeating-linear-gradient(
      135deg,
      rgba(143, 93, 47, 0.04) 0,
      rgba(143, 93, 47, 0.04) 12px,
      rgba(255, 255, 255, 0) 12px,
      rgba(255, 255, 255, 0) 24px
    );
}

.photo-placeholder-large {
  min-height: 372px;
}

.photo-placeholder-small {
  min-height: 200px;
}

.photo-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.photo-placeholder strong {
  margin-top: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.photo-placeholder p {
  max-width: 32ch;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.signal-band {
  margin: 10px 0 42px;
  padding: 18px 22px;
  color: var(--accent-strong);
  text-align: center;
  border-top: 1px solid rgba(143, 93, 47, 0.18);
  border-bottom: 1px solid rgba(143, 93, 47, 0.18);
}

.section {
  margin-top: 26px;
  padding: 42px;
  border: 1px solid rgba(62, 55, 46, 0.08);
  border-radius: 28px;
  background: rgba(253, 250, 245, 0.7);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.split-copy h2,
.materials-copy h2,
.location-copy h2,
.rfq-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.capability-rail,
.quality-layout,
.timeline {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.capability-rail-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.capability-rail {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.capability-rail::-webkit-scrollbar {
  display: none;
}

.rail-controls {
  display: inline-flex;
  gap: 10px;
  flex-shrink: 0;
}

.rail-button {
  min-width: 88px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(143, 93, 47, 0.2);
  border-radius: 10px;
  background: #efe1d0;
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.rail-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.capability-card,
.quality-panel,
.timeline-step,
.shop-photo-card {
  min-height: 0;
  border-radius: 20px;
}

.capability-card {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  min-height: 430px;
  padding: 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.capability-media {
  height: 100%;
  min-height: 430px;
  background: #ddd4c8;
  overflow: hidden;
}

.capability-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.capability-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  padding: 30px 30px 28px;
}

.capability-card h3,
.quality-panel h3,
.timeline-step h3,
.location-panel h3 {
  margin: 18px 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.capability-card p {
  color: var(--muted);
  line-height: 1.65;
}

.split-section,
.materials-section,
.location-section,
.rfq-section,
.founder-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: 24px;
  align-items: start;
}

.founder-section {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
}

.materials-section {
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: stretch;
}

.founder-photo-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.founder-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 12%;
  background: #ddd4c8;
}

.founder-photo-caption {
  padding: 18px 20px 22px;
}

.founder-photo-caption strong {
  display: block;
  margin-top: 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.founder-photo-caption p,
.founder-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.founder-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.founder-copy p {
  margin: 18px 0 0;
}

.founder-copy {
  align-self: center;
}

.check-list,
.detail-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.detail-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

.check-list li::before,
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--accent-strong), var(--accent));
  box-shadow: 0 0 18px rgba(117, 210, 199, 0.3);
  transform: translateY(-50%);
}

.spec-card,
.location-panel {
  padding: 24px;
  border-radius: 20px;
}

.materials-copy {
  align-self: center;
}

.materials-stack,
.materials-grid {
  display: grid;
  gap: 18px;
}

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

.materials-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 243, 236, 0.94));
  box-shadow: var(--shadow);
}

.materials-panel-primary {
  background:
    linear-gradient(135deg, rgba(239, 225, 208, 0.92), rgba(255, 250, 245, 0.96));
}

.materials-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.materials-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(143, 93, 47, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 0.94rem;
}

.materials-panel .detail-list {
  margin-top: 18px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row strong {
  max-width: 56%;
  text-align: right;
}

.quality-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.timeline-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: #efe1d0;
  border: 1px solid rgba(143, 93, 47, 0.16);
}

.shop-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.shop-photo-figure {
  height: 100%;
  min-height: 220px;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #d8d1c7;
}

.shop-photo-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
}

.shop-photo-image-rotate {
  transform: rotate(90deg) scale(1.38);
  transform-origin: center;
}

.shop-photo-image-contain {
  object-fit: contain;
  background: #3a3a37;
}

.rfq-form {
  padding: 26px;
  border-radius: 24px;
}

.field,
.field-row {
  display: grid;
  gap: 10px;
}

.field-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.field label {
  font-size: 0.92rem;
  color: var(--accent-strong);
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(62, 55, 46, 0.14);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.74);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(143, 93, 47, 0.45);
  background: #ffffff;
}

.field textarea {
  margin-top: 16px;
  resize: vertical;
}

.compact {
  gap: 8px;
}

.form-message {
  min-height: 1.5em;
  margin: 16px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 28px;
  border-radius: 20px;
}

.footer-details {
  display: grid;
  justify-items: end;
  gap: 8px;
}

[data-reveal] {
  opacity: 1;
  transform: none;
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

[data-reveal="fade"] {
  transform: none;
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .hero,
  .split-section,
  .materials-section,
  .founder-section,
  .location-section,
  .rfq-section,
  .quality-layout,
  .timeline,
  .shop-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    grid-column: 1 / -1;
  }

  .capability-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header {
    top: 12px;
    align-items: flex-start;
    min-height: 0;
    padding: 14px;
    border-radius: 28px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(253, 250, 245, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
  }

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

  .site-nav a {
    padding: 14px 16px;
  }

  .hero,
  .split-section,
  .materials-section,
  .founder-section,
  .location-section,
  .rfq-section,
  .quality-layout,
  .timeline,
  .shop-photo-grid,
  .materials-grid,
  .field-row,
  .hero-proof,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .capability-rail-head {
    flex-direction: column;
    align-items: start;
  }

  .capability-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .capability-media {
    min-height: 250px;
  }

  .capability-body {
    min-height: 0;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 12vw, 4.4rem);
  }

  .hero-copy h1 {
    max-width: 13ch;
    font-size: clamp(2.3rem, 9vw, 3.5rem);
    line-height: 1.04;
  }

  .section,
  .rfq-form,
  .visual-panel,
  .site-footer {
    padding: 24px;
  }

  .visual-panel-primary {
    min-height: 0;
  }

  .hero-photo,
  .hero-photo-card {
    min-height: 320px;
  }

  .secondary-photo,
  .secondary-photo-card {
    min-height: 220px;
  }

  .shop-photo-figure,
  .shop-photo-image {
    min-height: 240px;
  }

  .visual-panel-secondary {
    grid-template-columns: 1fr;
  }

  .spec-row {
    flex-direction: column;
  }

  .spec-row strong {
    max-width: none;
    text-align: left;
  }

  .footer-details {
    justify-items: start;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
