:root {
  --bg: #1a1612;
  --surface: #221c17;
  --panel: #2a221c;
  --text: #f0e6d8;
  --muted: #a89884;
  --accent: #b45309;
  --accent-soft: rgba(180, 83, 9, 0.18);
  --line: rgba(240, 230, 216, 0.1);
  --display: "Fraunces", Georgia, serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(26, 22, 18, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.bar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}
.nav { display: flex; gap: 1.5rem; }
.nav a { color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.nav a:hover { color: var(--text); }
.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--text); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff7ed;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.9rem 1.35rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.text-link {
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15rem;
  font-size: 0.95rem;
}
.text-link:hover { color: var(--text); border-color: var(--accent); }

.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 50% 40% at 10% 20%, var(--accent-soft), transparent 55%),
    linear-gradient(180deg, #1a1612 0%, #1f1914 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 1.15rem;
  max-width: 16ch;
  animation: rise 0.85s ease both;
}
.lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
  animation: rise 0.85s ease 0.08s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  animation: rise 0.85s ease 0.16s both;
}
.hero-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.75rem;
  min-height: 340px;
  animation: rise 0.9s ease 0.12s both;
}
.panel-timber {
  border-radius: 2px;
  background:
    repeating-linear-gradient(90deg, #6b4423 0 14px, #7a5230 14px 28px),
    linear-gradient(180deg, #8b5a2b, #4a2f18);
  background-blend-mode: multiply;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
}
.panel-stone {
  border-radius: 2px;
  margin-top: 2.5rem;
  background:
    linear-gradient(145deg, #5c564e, #3a3530 45%, #6a645c);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
}
.panel-caption {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.credo {
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding: 3rem 0;
}
.credo-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}
.credo-mark {
  font-family: var(--display);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
}
.credo blockquote {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  max-width: 38rem;
}

.gallery-section { padding: 4.5rem 0 2rem; }
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.gallery-head h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
}
.gallery-hint { color: var(--muted); font-size: 0.85rem; }
.gallery-track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  padding: 0.25rem max(1.25rem, calc((100vw - var(--max)) / 2)) 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.project {
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 0.85rem 0.85rem 1.25rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.project:hover {
  border-color: rgba(180, 83, 9, 0.45);
  transform: translateY(-3px);
}
.project-visual {
  height: 200px;
  margin-bottom: 1rem;
  border-radius: 1px;
}
.v1 {
  background:
    linear-gradient(160deg, rgba(180, 83, 9, 0.35), transparent 50%),
    linear-gradient(180deg, #3d2e22, #1f1812);
}
.v2 {
  background:
    radial-gradient(circle at 70% 30%, rgba(240, 230, 216, 0.12), transparent 45%),
    linear-gradient(135deg, #4a4540, #25201c);
}
.v3 {
  background:
    linear-gradient(45deg, rgba(180, 83, 9, 0.25), transparent 40%),
    repeating-linear-gradient(90deg, #2c2218 0 10px, #34281c 10px 20px);
}
.v4 {
  background:
    linear-gradient(200deg, #5a4a38, #2a2118 60%, #1a1612);
}
.project h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.project p { color: var(--muted); font-size: 0.92rem; }

.materials { padding: 3.5rem 0 5rem; }
.section-head { max-width: 32rem; margin-bottom: 2rem; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.section-head p { color: var(--muted); }
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.swatch {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.85rem;
  display: grid;
  gap: 0.85rem;
}
.chip { height: 88px; border-radius: 1px; }
.chip-cedar { background: linear-gradient(135deg, #8b5a2b, #5c3a1a); }
.chip-oak { background: linear-gradient(135deg, #c4a574, #8a6a3e); }
.chip-basalt { background: linear-gradient(135deg, #4a4744, #2a2826); }
.chip-lime { background: linear-gradient(135deg, #e8e0d4, #cfc4b4); }
.chip-brass { background: linear-gradient(135deg, #b08a3e, #7a5a28); }
.chip-linen { background: linear-gradient(135deg, #d6cbb8, #b8a890); }
.swatch figcaption { display: grid; gap: 0.2rem; }
.swatch strong { font-size: 0.95rem; }
.swatch span { color: var(--muted); font-size: 0.82rem; }

.practice {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 4.5rem 0;
}
.practice-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
}
.practice h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
}
.practice-list { list-style: none; display: grid; gap: 1rem; }
.practice-list li {
  padding: 1rem 0 1rem 1.15rem;
  border-left: 2px solid var(--accent);
  color: var(--muted);
}
.practice-list strong { color: var(--text); }

.contact { padding: 4.5rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.form { display: grid; gap: 1rem; }
.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.form input, .form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-note { color: var(--accent); font-size: 0.9rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}
.foot a { color: var(--accent); }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .menu-btn { display: flex; }
  .nav {
    position: fixed;
    inset: 68px 0 auto;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .hero-grid, .practice-grid, .contact-grid { grid-template-columns: 1fr; }
  .swatch-grid { grid-template-columns: repeat(2, 1fr); }
  .credo-inner { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 520px) {
  .swatch-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
