@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/newsreader-latin-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/newsreader-latin-italic-variable.woff2") format("woff2");
}

:root {
  --walnut-950: #1d1510;
  --walnut-900: #271b14;
  --walnut-800: #3b281d;
  --walnut-700: #573a28;
  --oat-50: #fcfaf5;
  --oat-100: #f4eee2;
  --oat-200: #e7dccb;
  --ink-900: #211b17;
  --ink-700: #4c433b;
  --ink-600: #665b51;
  --navy-700: #294658;
  --navy-800: #1e3746;
  --brass-500: #bb8c4d;
  --brass-600: #8f642f;
  --success: #2d654a;
  --line: rgba(33, 27, 23, 0.14);
  --line-light: rgba(252, 250, 245, 0.18);
  --shadow: 0 24px 70px rgba(29, 21, 16, 0.14);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max: 1180px;
  --serif: "Newsreader", Iowan Old Style, Baskerville, Georgia, serif;
  --sans: "Manrope", Avenir Next, Avenir, ui-sans-serif, sans-serif;
  --mono: "Manrope", Avenir Next, Avenir, ui-sans-serif, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--oat-100);
  background-image: radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.55), transparent 28rem);
  color: var(--ink-900);
  font-family: var(--sans);
  font-size: 16px;
  font-optical-sizing: auto;
  font-synthesis: none;
  letter-spacing: -0.006em;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

figure {
  margin: 0;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

h1,
h2,
h3 {
  color: var(--walnut-950);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 540;
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

h1 {
  font-size: clamp(2.8rem, 5.8vw, 5.25rem);
}

h2 {
  font-size: clamp(2.05rem, 3.8vw, 3.3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.58rem);
  line-height: 1.12;
}

::selection {
  background: var(--brass-500);
  color: var(--walnut-950);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--oat-50);
  color: var(--walnut-950);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

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

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

.narrow {
  max-width: 790px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brass-600);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.muted {
  color: var(--ink-600);
}

.fine-print {
  color: var(--ink-600);
  font-size: 0.82rem;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--walnut-900);
  font-weight: 700;
  text-decoration-color: var(--brass-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--brass-600);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 720;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  background: var(--brass-500);
  box-shadow: 0 8px 24px rgba(187, 140, 77, 0.16);
  color: var(--walnut-950);
}

.button-primary:hover {
  background: #cca05f;
}

.button-dark {
  background: var(--walnut-950);
  color: var(--oat-50);
}

.button-dark:hover {
  background: var(--walnut-800);
}

.button-outline {
  border-color: var(--line-light);
  color: var(--oat-50);
}

.button-outline:hover {
  border-color: var(--oat-50);
  background: rgba(255, 255, 255, 0.06);
}

.button-light {
  background: var(--oat-50);
  color: var(--walnut-950);
}

.button-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink-900);
}

.button-ghost:hover {
  border-color: var(--walnut-700);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(29, 21, 16, 0.96);
  backdrop-filter: blur(12px);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(29, 21, 16, 0.985);
  box-shadow: 0 12px 34px rgba(12, 8, 6, 0.2);
}

.nav-shell {
  display: grid;
  min-height: 76px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--oat-50);
  font-family: var(--serif);
  font-size: 1.34rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.brand::after {
  align-self: center;
  margin-left: 2px;
  padding-left: 12px;
  border-left: 1px solid rgba(252, 250, 245, 0.18);
  color: rgba(252, 250, 245, 0.58);
  content: "CARPENTRY";
  font-family: var(--mono);
  font-size: 0.54rem;
  font-weight: 760;
  letter-spacing: 0.17em;
}

.brand-mark {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--brass-500);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 780;
  letter-spacing: -0.05em;
}

.main-nav {
  justify-self: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  color: rgba(252, 250, 245, 0.76);
  font-size: 0.86rem;
  font-weight: 680;
  letter-spacing: -0.005em;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-color: var(--brass-500);
  color: var(--oat-50);
}

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

.nav-actions .button {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.88rem;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--oat-50);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.menu-lines {
  position: relative;
}

.menu-lines::before {
  position: absolute;
  top: -6px;
}

.menu-lines::after {
  position: absolute;
  top: 6px;
}

.menu-button[aria-expanded="true"] .menu-lines {
  background: transparent;
}

.menu-button[aria-expanded="true"] .menu-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--walnut-950);
  color: var(--oat-50);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-image: repeating-linear-gradient(to right, transparent 0 23px, rgba(252, 250, 245, 0.22) 23px 24px, transparent 24px 48px);
  content: "";
}

.hero-grid {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: stretch;
}

.hero-copy {
  display: flex;
  max-width: 590px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 92px 64px 118px 0;
}

.hero h1 {
  margin: 18px 0 24px;
  color: var(--oat-50);
  letter-spacing: -0.05em;
  line-height: 0.99;
}

.hero h1 em {
  color: var(--brass-500);
  font-weight: 500;
}

.hero-lede {
  max-width: 54ch;
  margin-bottom: 30px;
  color: rgba(252, 250, 245, 0.75);
  font-size: 1.05rem;
  line-height: 1.72;
}

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

.hero-proof {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.hero-proof strong {
  display: block;
  margin-bottom: 4px;
  color: var(--oat-50);
  font-family: var(--serif);
  font-size: 1rem;
}

.hero-proof span {
  display: block;
  color: rgba(252, 250, 245, 0.58);
  font-size: 0.76rem;
  line-height: 1.4;
}

.hero-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.hero-media::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, var(--walnut-950) 0%, rgba(29, 21, 16, 0.15) 20%, transparent 45%), linear-gradient(0deg, rgba(29, 21, 16, 0.32), transparent 50%);
  content: "";
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
}

.hero-media::after {
  position: absolute;
  z-index: 2;
  inset: 18px;
  border: 1px solid rgba(252, 250, 245, 0.16);
  border-radius: 3px;
  content: "";
  pointer-events: none;
}

.image-note {
  position: absolute;
  z-index: 2;
  right: auto;
  bottom: 46px;
  left: 18px;
  max-width: 250px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(29, 21, 16, 0.72);
  color: rgba(252, 250, 245, 0.78);
  font-size: 0.72rem;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 84px;
  background: var(--walnut-950);
  color: var(--oat-50);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero::after {
  position: absolute;
  top: -160px;
  right: -100px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(187, 140, 77, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(187, 140, 77, 0.035), 0 0 0 180px rgba(187, 140, 77, 0.025);
  content: "";
}

.page-hero h1 {
  max-width: 850px;
  margin: 18px 0 20px;
  color: var(--oat-50);
  font-size: clamp(2.85rem, 5.7vw, 4.9rem);
  letter-spacing: -0.048em;
  line-height: 1;
}

.page-hero p {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(252, 250, 245, 0.72);
  font-size: 1.08rem;
}

.page-hero .eyebrow,
.hero .eyebrow,
.cta-band .eyebrow,
.dark-section .eyebrow {
  color: var(--brass-500);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(252, 250, 245, 0.52);
  font-size: 0.8rem;
}

.breadcrumb a {
  color: rgba(252, 250, 245, 0.78);
}

.section {
  padding: 104px 0;
}

.section-compact {
  padding: 70px 0;
}

.section-light {
  background: var(--oat-50);
}

.section-navy {
  background: var(--navy-800);
  color: var(--oat-50);
}

.dark-section {
  background: var(--walnut-950);
  color: var(--oat-50);
}

.dark-section h2,
.dark-section h3,
.section-navy h2,
.section-navy h3 {
  color: var(--oat-50);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: clamp(40px, 7vw, 92px);
  margin-bottom: 54px;
}

.section-head h2 {
  margin: 12px 0 0;
}

.section-head p {
  margin-bottom: 4px;
  color: var(--ink-600);
}

.dark-section .section-head p,
.section-navy .section-head p {
  color: rgba(252, 250, 245, 0.66);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 265px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(252, 250, 245, 0.38);
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  position: relative;
  z-index: 1;
  background: var(--oat-50);
  box-shadow: 0 18px 46px rgba(29, 21, 16, 0.08);
  transform: translateY(-3px);
}

.service-number,
.step-number,
.spec-label {
  display: block;
  margin-bottom: 30px;
  color: var(--brass-600);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--ink-600);
  font-size: 0.92rem;
}

.service-card .text-link {
  margin-top: 22px;
  font-size: 0.86rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.process-card {
  min-height: 250px;
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--line);
}

.process-card + .process-card {
  padding-left: 28px;
}

.process-card:last-child {
  border-right: 0;
}

.process-card h3 {
  margin-bottom: 12px;
}

.process-card p {
  margin-bottom: 0;
  color: var(--ink-600);
  font-size: 0.9rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.gallery-grid > *,
.gallery-card,
.gallery-copy {
  min-width: 0;
}

.gallery-card {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  background: var(--walnut-800);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.14);
}

.gallery-card.featured {
  grid-column: span 8;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-card.featured img {
  aspect-ratio: 8 / 5;
}

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

.home-gallery .gallery-card {
  grid-column: auto;
}

img[src$="craft-hero.jpg"] {
  object-position: 67% center;
}

.gallery-card:hover img {
  transform: scale(1.025);
}

.gallery-copy {
  padding: 22px;
}

.gallery-copy h3 {
  margin-bottom: 7px;
  color: var(--oat-50);
}

.gallery-copy p {
  margin-bottom: 0;
  color: rgba(252, 250, 245, 0.72);
  font-size: 0.86rem;
}

.gallery-tag {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 10px;
  color: var(--brass-500);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 740;
  letter-spacing: 0.11em;
  overflow-wrap: break-word;
  text-transform: uppercase;
}

.image-disclosure {
  max-width: 88ch;
  margin: 26px 0 0;
  color: rgba(252, 250, 245, 0.68);
  font-size: 0.78rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 80px;
}

.split-copy h2 {
  margin: 14px 0 22px;
}

.split-copy p {
  color: var(--ink-600);
}

.split-media {
  position: relative;
  z-index: 0;
}

.split-media img {
  width: 100%;
  min-height: 0;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.split-media::after {
  position: absolute;
  right: -18px;
  bottom: -18px;
  z-index: -1;
  width: 72%;
  height: 72%;
  border-radius: var(--radius-md);
  background: var(--brass-500);
  content: "";
}

.principles-grid,
.details-grid,
.materials-grid,
.faq-grid,
.legal-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-grid > *,
.process-grid > *,
.principles-grid > *,
.details-grid > *,
.materials-grid > *,
.faq-grid > *,
.split > *,
.contact-layout > *,
.footer-grid > * {
  min-width: 0;
}

.principle,
.detail-card,
.material-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--oat-50);
  box-shadow: 0 14px 36px rgba(29, 21, 16, 0.035);
}

.principle h3,
.detail-card h3,
.material-card h3 {
  margin-bottom: 11px;
}

.principle p,
.detail-card p,
.material-card p {
  margin-bottom: 0;
  color: var(--ink-600);
  font-size: 0.9rem;
}

.detail-card .spec-label,
.material-card .spec-label {
  margin-bottom: 22px;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.52fr 1fr 0.65fr;
  gap: 44px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.service-detail:last-child {
  border-bottom: 1px solid var(--line);
}

.service-detail h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.service-detail p {
  color: var(--ink-600);
}

.service-detail ul,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail li,
.check-list li {
  position: relative;
  padding: 8px 0 8px 25px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-700);
  font-size: 0.88rem;
}

.service-detail li::before,
.check-list li::before {
  position: absolute;
  top: 10px;
  left: 0;
  color: var(--brass-600);
  content: "✓";
  font-weight: 800;
}

.quote-card {
  padding: 36px;
  border-left: 4px solid var(--brass-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--oat-50);
  box-shadow: 0 20px 55px rgba(29, 21, 16, 0.07);
}

.quote-card blockquote {
  margin: 0 0 18px;
  color: var(--walnut-950);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-style: italic;
  line-height: 1.35;
}

.quote-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 0.85rem;
}

.timeline {
  max-width: 880px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 34px;
  padding: 0 0 52px;
}

.timeline-number {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--brass-500);
  border-radius: 50%;
  color: var(--brass-600);
  font-family: var(--mono);
  font-weight: 800;
}

.timeline-number::after {
  position: absolute;
  top: 64px;
  left: 31px;
  width: 1px;
  height: 74px;
  background: var(--line);
  content: "";
}

.timeline-item:last-child .timeline-number::after {
  display: none;
}

.timeline-copy {
  padding-top: 8px;
}

.timeline-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.timeline-copy p {
  margin-bottom: 12px;
  color: var(--ink-600);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border: 0;
  background: transparent;
  color: var(--walnut-950);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
}

.faq-item button::after {
  content: "+";
  color: var(--brass-600);
  font-family: var(--sans);
  font-size: 1.45rem;
  font-weight: 400;
}

.faq-item button[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  max-width: 760px;
  padding: 0 42px 22px 0;
  color: var(--ink-600);
}

.faq-answer[hidden] {
  display: none;
}

.cta-band {
  padding: 76px 0;
  background: linear-gradient(115deg, var(--navy-800), #203f51 58%, var(--navy-700));
  color: var(--oat-50);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
}

.cta-band h2 {
  max-width: 730px;
  margin: 12px 0 0;
  color: var(--oat-50);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 70px;
}

.contact-intro h2 {
  margin: 14px 0 18px;
}

.contact-intro > p {
  color: var(--ink-600);
}

.contact-method {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.contact-method:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-method span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-600);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-method a,
.contact-method strong {
  color: var(--walnut-950);
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

.contact-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(252, 250, 245, 0.92);
  box-shadow: 0 20px 60px rgba(29, 21, 16, 0.07);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink-900);
  font-size: 0.82rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(33, 27, 23, 0.22);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-900);
}

.field textarea {
  min-height: 135px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy-700);
  outline: 2px solid rgba(41, 70, 88, 0.16);
  outline-offset: 0;
}

.consent-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin: 4px 0 20px;
  color: var(--ink-600);
  font-size: 0.78rem;
  line-height: 1.5;
}

.consent-check input {
  margin-top: 3px;
}

.form-status {
  min-height: 1.4em;
  margin: 14px 0 0;
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 650;
}

.legal-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  align-items: start;
  justify-content: center;
  gap: 70px;
}

.legal-nav {
  position: sticky;
  top: 105px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--oat-50);
  box-shadow: 0 16px 44px rgba(29, 21, 16, 0.055);
}

.legal-nav strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
}

.legal-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-nav a {
  color: var(--ink-600);
  font-size: 0.82rem;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--brass-600);
  text-decoration: underline;
}

.legal-content h2 {
  margin: 46px 0 14px;
  padding-top: 10px;
  font-size: 1.7rem;
  scroll-margin-top: 110px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: 0;
}

.legal-content p,
.legal-content li {
  color: var(--ink-700);
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-callout {
  margin-bottom: 34px;
  padding: 20px 22px;
  border-left: 4px solid var(--brass-500);
  background: var(--oat-50);
  color: var(--ink-700);
  font-size: 0.9rem;
}

.site-footer {
  padding: 64px 0 24px;
  background: var(--walnut-950);
  color: rgba(252, 250, 245, 0.62);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.7fr);
  gap: 52px;
  padding-bottom: 46px;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 16px;
}

.footer-summary {
  max-width: 36ch;
  margin-bottom: 18px;
  font-size: 0.88rem;
}

.footer-email {
  color: var(--oat-50);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.footer-column h2 {
  margin-bottom: 16px;
  color: var(--oat-50);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a,
.cookie-settings {
  border: 0;
  background: none;
  color: rgba(252, 250, 245, 0.62);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0;
  text-align: left;
  text-decoration: none;
}

.footer-column a:hover,
.cookie-settings:hover {
  color: var(--oat-50);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  font-size: 0.75rem;
}

.footer-bottom p {
  margin: 0;
}

.cookie-banner {
  position: fixed;
  z-index: 500;
  right: auto;
  bottom: 22px;
  left: 50%;
  display: none;
  width: min(620px, calc(100% - 44px));
  padding: 22px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: var(--walnut-950);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  color: var(--oat-50);
  transform: translateX(-50%);
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.08rem;
}

.cookie-banner p {
  margin-bottom: 16px;
  color: rgba(252, 250, 245, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--oat-50);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions .button {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.78rem;
}

.notice {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--oat-50);
  color: var(--ink-700);
  font-size: 0.86rem;
}

.error-page {
  display: grid;
  min-height: calc(100vh - 76px);
  place-items: center;
  padding: 80px 20px;
  background: var(--walnut-950);
  color: var(--oat-50);
  text-align: center;
}

.error-page h1 {
  margin-bottom: 18px;
  color: var(--oat-50);
}

.error-page p {
  max-width: 520px;
  margin: 0 auto 26px;
  color: rgba(252, 250, 245, 0.68);
}

@media (max-width: 1040px) {
  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-button {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 26px 20px;
    background: var(--walnut-950);
    overflow-y: auto;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 18px 4px;
    border-bottom: 1px solid var(--line-light);
    font-size: 1.05rem;
  }

  .nav-actions {
    position: fixed;
    right: 20px;
    bottom: 24px;
    left: 20px;
    z-index: 2;
    display: none;
  }

  body.menu-open .nav-actions {
    display: flex;
  }

  .nav-actions .button {
    width: 100%;
  }

  .hero-grid {
    min-height: 620px;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  }

  .hero-copy {
    padding-right: 30px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-proof > div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px;
  }

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

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

  .process-card:nth-child(2) {
    border-right: 0;
  }

  .process-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .gallery-card,
  .gallery-card.featured {
    grid-column: span 6;
  }

  .gallery-card.featured img {
    aspect-ratio: 4 / 3;
  }

  .split {
    gap: 50px;
  }

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

  .footer-grid {
    grid-template-columns: 1.35fr 1fr;
  }
}

@media (max-width: 900px) {
  .home-gallery {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
    padding: 72px 0 58px;
  }

  .hero-media {
    min-height: 460px;
    margin: 0;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(calc(100% - 32px), var(--max));
  }

  .section,
  .section-compact {
    padding: 68px 0;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
    padding: 68px 0 58px;
  }

  .hero-media {
    min-height: 380px;
    margin: 0 -16px;
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero-media::before {
    background: linear-gradient(180deg, var(--walnut-950) 0, transparent 28%), linear-gradient(0deg, rgba(29, 21, 16, 0.3), transparent 50%);
  }

  .image-note {
    bottom: 42px;
  }

  .page-hero {
    padding: 70px 0 62px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-grid,
  .process-grid,
  .principles-grid,
  .details-grid,
  .materials-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .process-card,
  .process-card + .process-card {
    min-height: auto;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-card:nth-child(n + 3) {
    border-top: 0;
  }

  .service-number,
  .step-number {
    margin-bottom: 18px;
  }

  .gallery-card,
  .gallery-card.featured {
    grid-column: 1 / -1;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .split-media {
    order: -1;
  }

  .split-media img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 34px 0;
  }

  .timeline-item {
    grid-template-columns: 62px 1fr;
    gap: 18px;
  }

  .timeline-number {
    width: 52px;
    height: 52px;
  }

  .timeline-number::after {
    top: 52px;
    left: 25px;
    height: 100px;
  }

  .cta-grid,
  .contact-layout,
  .legal-shell {
    grid-template-columns: 1fr;
  }

  .cta-grid {
    gap: 28px;
  }

  .contact-layout {
    gap: 44px;
  }

  .legal-shell {
    gap: 36px;
  }

  .legal-nav {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-column:last-child {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.55rem, 12.5vw, 3.5rem);
  }

  .brand {
    font-size: 1.05rem;
  }

  .brand::after {
    display: none;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .hero-proof > div {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

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

  .contact-form {
    padding: 24px 18px;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-banner {
    bottom: 12px;
    left: 50%;
    width: calc(100% - 24px);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .cta-band,
  .legal-nav {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .page-hero {
    padding: 30px 0;
    background: #fff;
    color: #000;
  }

  .page-hero h1,
  .page-hero p,
  .breadcrumb,
  .breadcrumb a {
    color: #000;
  }

  .legal-shell {
    display: block;
  }
}
