:root {
  --paper: #f6f1ea;
  --paper-strong: #fffdf9;
  --ink: #24211f;
  --muted: #68615b;
  --copper: #b85c22;
  --copper-dark: #934414;
  --copper-soft: #e9c7ad;
  --line: #d8cec3;
  --shadow: 0 24px 60px rgba(66, 46, 30, 0.13);
  --sans: "Segoe UI", Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: clip;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 5%, rgba(255, 255, 255, 0.92), transparent 34rem),
    linear-gradient(90deg, rgba(86, 59, 37, 0.022) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 5px 5px, auto;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-180%);
  border-radius: 0.3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(131, 107, 88, 0.22);
  background: rgba(249, 245, 239, 0.91);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 3rem, 92rem);
  min-height: 5.85rem;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 0.08rem;
  line-height: 1.05;
}

.brand-copy strong {
  font: inherit;
  font-weight: inherit;
}

.brand-copy small {
  max-width: 23rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.25;
}

.brand-mark {
  flex: 0 0 auto;
  width: 2.65rem;
  height: 2.65rem;
  stroke: var(--copper);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.6vw, 3rem);
  font-size: 1.01rem;
}

.desktop-nav a:not(.nav-cta) {
  border-bottom: 1px solid transparent;
  padding: 0.5rem 0;
}

.desktop-nav a:not(.nav-cta):hover,
.desktop-nav a:not(.nav-cta):focus-visible {
  border-color: var(--copper);
  color: var(--copper-dark);
}

.nav-cta {
  border: 1px solid var(--copper);
  border-radius: 0.32rem;
  color: var(--copper-dark);
  padding: 0.72rem 1.55rem;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--copper);
  color: #fff;
}

.mobile-nav {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(32rem, 1.08fr);
  min-height: calc(100vh - 5.85rem);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(2rem, 6vw, 6.5rem);
}

.eyebrow {
  margin: 0 0 1.6rem;
  color: var(--copper-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.21em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

h1 {
  max-width: 47rem;
  margin-bottom: 1.75rem;
  font-family: var(--serif);
  font-size: clamp(3.35rem, 5.65vw, 6.35rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

h1 span {
  display: block;
}

.hero-lead {
  max-width: 40rem;
  margin-bottom: 2.25rem;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.65vw, 1.4rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.55rem;
  border: 1px solid var(--copper);
  border-radius: 0.32rem;
  padding: 0.8rem 1.55rem;
  font-weight: 650;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

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

.button-primary {
  background: var(--copper);
  box-shadow: 0 12px 26px rgba(184, 92, 34, 0.2);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--copper-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.25);
  color: var(--copper-dark);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--paper-strong);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.35rem;
  margin: 2.15rem 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
  list-style: none;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-facts li::before {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--copper);
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 42rem;
  background:
    linear-gradient(135deg, rgba(62, 46, 34, 0.11), transparent 48%),
    #d8c7b5;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 241, 234, 0.9), transparent 22%),
    radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.6), transparent 25rem);
  content: "";
}

.hero-image {
  position: absolute;
  overflow: hidden;
  border: 5px solid rgba(255, 253, 249, 0.82);
  border-radius: 0.35rem;
  box-shadow: var(--shadow);
  opacity: 1;
  transition:
    inset 700ms ease,
    width 700ms ease,
    height 700ms ease,
    opacity 420ms ease,
    transform 700ms ease;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-main {
  top: 11%;
  right: 7%;
  width: 58%;
  height: 62%;
  transform: rotate(1.8deg);
}

.hero-image-secondary {
  bottom: 8%;
  left: 8%;
  width: 43%;
  height: 40%;
  transform: rotate(-2.5deg);
}

.hero-image-accent {
  right: 9%;
  bottom: 4%;
  width: 31%;
  height: 27%;
  transform: rotate(3.5deg);
}

.hero-image-hidden {
  top: 42%;
  right: 40%;
  width: 20%;
  height: 20%;
  opacity: 0;
  pointer-events: none;
  transform: rotate(0) scale(0.82);
}

.content-placeholder {
  display: inline;
  box-decoration-break: clone;
  border-radius: 0.18rem;
  background: #fff2a8;
  box-shadow: 0 0 0 0.18rem #fff2a8;
  color: #332b00;
}

@media (prefers-reduced-motion: reduce) {
  .hero-image {
    transition: none;
  }
}

.hero-note {
  position: absolute;
  top: 6%;
  left: 8%;
  border: 1px solid rgba(147, 68, 20, 0.4);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.85);
  color: var(--copper-dark);
  padding: 0.55rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-rotation-toggle {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  border: 1px solid rgba(147, 68, 20, 0.38);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.94);
  color: var(--copper-dark);
  padding: 0.6rem 0.85rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.hero-rotation-toggle:hover,
.hero-rotation-toggle:focus-visible {
  background: #fff;
  outline: 3px solid rgba(147, 68, 20, 0.25);
  outline-offset: 2px;
}

.section-shell {
  width: min(100% - 3rem, 88rem);
  margin: 0 auto;
  padding: clamp(5.5rem, 9vw, 9rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.3fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

.section-heading .eyebrow {
  margin-top: 0.5rem;
}

.section-heading h2,
.placeholder-slice h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.4vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.section-heading > p:last-child,
.placeholder-slice > p:last-child {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(255, 253, 249, 0.78);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(66, 46, 30, 0.1);
}

.service-image {
  position: relative;
  height: 15rem;
  overflow: hidden;
  background: #d7cdc3;
}

.service-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(36, 33, 31, 0.25));
  content: "";
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: var(--image-fit, cover);
  object-position: var(--image-position, 50% 50%);
  transition: transform 350ms ease;
}

.service-image-figures img {
  object-fit: cover;
  object-position: 50% 48%;
}

.service-card:hover .service-image img {
  transform: scale(1.035);
}

.service-image span {
  position: absolute;
  right: 0.8rem;
  bottom: 0.75rem;
  z-index: 1;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.service-body {
  padding: 1.55rem;
}

.service-body h3 {
  margin-bottom: 0.8rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
}

.service-body > p {
  color: var(--muted);
  line-height: 1.62;
}

.service-meta {
  min-height: 2.8rem;
  margin-bottom: 1.35rem;
  color: var(--copper-dark) !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-body a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: var(--copper-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.project-section {
  background: var(--ink);
  color: #fff;
}

.project-section .eyebrow {
  color: var(--copper-soft);
}

.project-section .section-heading > p:last-child {
  color: #c9c0b8;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 12rem;
  gap: 1rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.4rem;
  background: var(--project-background, #302b28);
}

.project-card-1,
.project-card-4 {
  grid-column: span 7;
}

.project-card-2,
.project-card-3 {
  grid-column: span 5;
}

.project-card-5,
.project-card-6 {
  grid-column: span 6;
}

.project-card-1,
.project-card-2,
.project-card-3,
.project-card-4,
.project-card-5,
.project-card-6 {
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: var(--image-fit, cover);
  object-position: var(--image-position, 50% 50%);
  filter: saturate(0.9);
  transition:
    transform 400ms ease,
    filter 400ms ease;
}

/*
 * BILDAUSSCHNITTE
 * Hier lassen sich die betroffenen Bilder später an einer Stelle ausrichten.
 * Bei --image-position steht der erste Wert für links/rechts und der zweite
 * für oben/unten. 50% 50% ist die Bildmitte. Kleinere Werte verschieben den
 * sichtbaren Bereich nach links beziehungsweise oben, größere nach rechts
 * beziehungsweise unten. Mit "contain" bleibt das gesamte Bild sichtbar,
 * mit "cover" wird die Fläche vollständig ausgefüllt.
 */
.service-card:nth-child(3) .service-image {
  background: #d8cbbd;
}

.project-card-1 {
  --image-fit: contain;
  --image-position: 50% 50%;
  --project-background: #d8cdc3;
}

.project-card-3 {
  --image-fit: contain;
  --image-position: 50% 50%;
  --project-background: #d8cdc3;
}

.project-card-4 {
  --image-fit: contain;
  --image-position: 50% 50%;
  --project-background: #f3eee8;
}

.project-card-5 {
  --image-fit: contain;
  --image-position: 50% 50%;
  --project-background: #d8c5ae;
}

.project-card-6 {
  --image-position: 50% 65%;
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 43%, rgba(25, 22, 20, 0.86));
  content: "";
}

.project-card:hover img {
  transform: scale(1.025);
  filter: saturate(1);
}

.project-card figcaption {
  position: absolute;
  right: 1.25rem;
  bottom: 1.2rem;
  left: 1.25rem;
  z-index: 1;
}

.project-card figcaption span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--copper-soft);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card figcaption strong {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 500;
}

.gallery-section {
  position: relative;
  padding-block: clamp(4rem, 6vw, 6rem);
}

.gallery-heading {
  margin-bottom: 1.65rem;
}

.gallery-toolbar {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.gallery-controls button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.72);
  color: var(--muted);
  padding: 0.65rem 1rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.gallery-controls button:hover,
.gallery-controls button:focus-visible,
.gallery-controls button.is-active {
  border-color: var(--copper);
  background: var(--copper);
  color: #fff;
}

.gallery-navigation {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.gallery-navigation > span {
  margin-right: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.gallery-navigation button {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-strong);
  color: var(--copper-dark);
  font: inherit;
  font-size: 1.05rem;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}

.gallery-navigation button:hover,
.gallery-navigation button:focus-visible {
  border-color: var(--copper);
  background: var(--copper);
  color: #fff;
}

.gallery-navigation button:disabled {
  cursor: default;
  opacity: 0.35;
}

.gallery-viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0.15rem 0 0.85rem;
  scroll-behavior: smooth;
  scroll-snap-type: inline proximity;
  scrollbar-color: rgba(147, 68, 20, 0.45) rgba(87, 64, 48, 0.1);
  scrollbar-width: thin;
}

.gallery-grid {
  display: grid;
  grid-auto-columns: clamp(9.6rem, 14vw, 12.2rem);
  grid-auto-flow: column;
  gap: 0.8rem;
  width: max-content;
}

.gallery-card {
  width: 100%;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: 0 8px 20px rgba(66, 46, 30, 0.07);
  scroll-snap-align: start;
}

.gallery-card[hidden] {
  display: none;
}

.gallery-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    #d8cbbd;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
}

.gallery-card figcaption {
  display: grid;
  gap: 0.24rem;
  min-height: 4.45rem;
  padding: 0.68rem 0.75rem 0.78rem;
}

.gallery-card figcaption small {
  color: var(--copper-dark);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gallery-card figcaption strong {
  font-family: var(--serif);
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.22;
}

.process-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 20rem),
    var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-grid li {
  position: relative;
  min-height: 18rem;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 1.7rem 1.4rem;
}

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

.process-grid li > span {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 3.7rem;
  place-items: center;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--copper-dark);
  font-family: var(--serif);
}

.process-grid li:not(:last-child)::after {
  position: absolute;
  top: 2.86rem;
  right: -0.36rem;
  z-index: 2;
  width: 0.68rem;
  height: 0.68rem;
  border-top: 1px solid var(--copper);
  border-right: 1px solid var(--copper);
  background: var(--paper);
  content: "";
  transform: rotate(45deg);
}

.process-grid h3 {
  margin-bottom: 0.75rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.capability-section {
  display: grid;
  grid-template-columns: minmax(20rem, 0.9fr) minmax(28rem, 1.1fr);
  background: #dfd2c4;
}

.capability-copy {
  align-self: center;
  padding: clamp(5rem, 8vw, 8rem) clamp(2rem, 7vw, 7rem);
}

.capability-copy h2,
.request-intro h2,
.support-section h2 {
  margin-bottom: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(2.65rem, 4.7vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.047em;
  line-height: 1.02;
}

.capability-copy > p:not(.eyebrow),
.request-intro > p:not(.eyebrow),
.support-section p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
  border-bottom: 1px solid var(--copper);
  color: var(--copper-dark);
  padding-bottom: 0.35rem;
  font-weight: 700;
}

.capability-list {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  border-left: 1px solid rgba(87, 64, 48, 0.2);
}

.capability-list article {
  display: grid;
  grid-template-columns: 5rem minmax(10rem, 0.65fr) 1fr;
  gap: 1.5rem;
  align-items: center;
  border-bottom: 1px solid rgba(87, 64, 48, 0.2);
  padding: 2.2rem clamp(1.5rem, 4vw, 4rem);
}

.capability-list article:last-child {
  border-bottom: 0;
}

.capability-list article > span {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--copper-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.capability-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
}

.capability-list p {
  margin-bottom: 0.35rem;
  color: #4f4944;
  line-height: 1.55;
}

.capability-list small {
  color: var(--copper-dark);
  font-weight: 650;
}

.faq-list {
  width: min(100%, 62rem);
  margin-left: auto;
}

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

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.45rem 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  display: grid;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--copper-dark);
  font-family: var(--sans);
  transition: transform 160ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 52rem;
  margin-bottom: 1.6rem;
  color: var(--muted);
  line-height: 1.7;
}

.request-section {
  background:
    linear-gradient(135deg, rgba(184, 92, 34, 0.08), transparent 35rem),
    #eee4da;
}

.request-shell {
  display: grid;
  grid-template-columns: minmax(18rem, 0.6fr) minmax(34rem, 1.4fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.request-intro {
  position: sticky;
  top: 8rem;
}

.request-note {
  margin-top: 2.25rem;
  border-left: 3px solid var(--copper);
  background: rgba(255, 253, 249, 0.52);
  padding: 1.15rem 1.25rem;
}

.request-note strong {
  color: var(--copper-dark);
}

.request-note p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

.request-terms-note {
  margin-top: 1rem;
  border-left-color: var(--ink);
  background: rgba(255, 253, 249, 0.72);
}

.request-terms-note ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.65rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.request-form {
  position: relative;
  min-width: 0;
  scroll-margin-top: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--paper-strong);
  box-shadow: 0 24px 60px rgba(75, 51, 31, 0.08);
}

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

.form-section {
  min-width: 0;
  margin: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 1px solid var(--line);
  border-left: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.form-section-heading {
  display: flex;
  width: 100%;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 0;
}

.form-section-heading > span {
  color: var(--copper-dark);
  font-family: var(--serif);
  font-size: 1rem;
}

.form-section-heading > span:last-child {
  display: grid;
  gap: 0.25rem;
  color: var(--ink);
}

.form-section-heading strong {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
}

.form-section-heading small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 400;
}

.form-section-heading h3 {
  margin-bottom: 0.25rem;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
}

.form-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.form-grid label {
  display: grid;
  gap: 0.5rem;
  color: #4a443f;
  font-size: 0.88rem;
  font-weight: 650;
}

.form-grid label > span {
  color: var(--copper-dark);
}

.form-span-2 {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfc4b9;
  border-radius: 0.32rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

input,
select {
  min-height: 3.05rem;
  padding: 0 0.8rem;
}

textarea {
  min-height: 5.7rem;
  resize: vertical;
  padding: 0.8rem;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--copper);
  outline: 3px solid rgba(184, 92, 34, 0.14);
}

.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  background: #fbf7f2;
  padding: 1.1rem clamp(1.5rem, 4vw, 3rem);
}

.wizard-progress > div {
  display: grid;
  gap: 0.15rem;
}

.wizard-progress > div span {
  color: var(--copper-dark);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wizard-progress > div strong {
  font-size: 0.92rem;
}

.wizard-progress ol {
  display: flex;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wizard-progress li {
  display: grid;
  min-width: 3.2rem;
  justify-items: center;
  gap: 0.25rem;
  color: #8a8179;
  font-size: 0.67rem;
}

.wizard-progress li span {
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  border: 1px solid #cfc4b9;
  border-radius: 50%;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 750;
}

.wizard-progress li[aria-current="step"],
.wizard-progress li.is-complete {
  color: var(--copper-dark);
}

.wizard-progress li[aria-current="step"] span {
  border-color: var(--copper);
  background: var(--copper);
  color: #fff;
}

.wizard-progress li.is-complete span {
  border-color: var(--copper);
  color: var(--copper-dark);
}

.form-step[hidden] {
  display: none;
}

.service-guidance {
  margin: 1rem 0 0;
  border-left: 3px solid var(--copper);
  background: #fbf4ed;
  padding: 0.8rem 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.wizard-actions-end {
  justify-content: flex-end;
}

.wizard-actions .button {
  min-width: 11rem;
}

.upload-zone {
  display: grid;
  min-height: 13.5rem;
  place-content: center;
  border: 1px dashed var(--copper);
  border-radius: 0.4rem;
  background: #fbf4ed;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
}

.upload-zone:hover,
.upload-zone:focus-within,
.upload-zone.is-dragging {
  background: #f7eadf;
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.upload-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.8rem;
  place-items: center;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--copper-dark);
  font-size: 1.35rem;
}

.upload-zone strong {
  color: var(--copper-dark);
}

.upload-mobile-copy {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.upload-zone small {
  margin-top: 0.35rem;
  color: var(--muted);
}

.form-grid-after-upload {
  margin-top: 1.25rem;
}

.optional-details {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #fff;
}

.optional-details summary {
  display: flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  color: var(--copper-dark);
  cursor: pointer;
  font-weight: 700;
}

.optional-details summary span {
  border-radius: 999px;
  background: #f2e5d9;
  padding: 0.2rem 0.55rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.optional-details > p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.optional-details .form-grid {
  border-top: 1px solid var(--line);
  padding: 1rem;
}

.upload-help {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.file-list {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  padding: 0.75rem 0.85rem;
}

.file-list li > span {
  display: grid;
  min-width: 0;
}

.file-list strong {
  overflow: hidden;
  font-size: 0.85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-list small {
  color: var(--muted);
}

.file-list button {
  border: 0;
  background: transparent;
  color: var(--copper-dark);
  cursor: pointer;
  font-weight: 700;
}

.confirmations {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.check-label {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.check-label input {
  width: 1.1rem;
  min-height: 0;
  height: 1.1rem;
  margin-top: 0.25rem;
  accent-color: var(--copper);
}

.check-label a {
  border-bottom: 1px solid var(--copper);
  color: var(--copper-dark);
}

.check-label b {
  color: var(--copper-dark);
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.form-submit > div {
  display: grid;
  justify-items: end;
  gap: 0.75rem;
}

.form-submit p {
  max-width: 25rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: right;
}

.form-message {
  margin: 0 clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: 0.3rem;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.form-message-error {
  margin: 0.8rem 0 0;
  background: #f9dfd9;
  color: #7a271a;
}

.form-message-success {
  background: #e3eee3;
  color: #24512a;
}

.support-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: clamp(4.5rem, 8vw, 8rem) max(1.5rem, calc((100vw - 88rem) / 2));
  background: #ccb19a;
}

.support-section > div {
  max-width: 52rem;
}

.support-section h2 {
  font-size: clamp(2.5rem, 4.2vw, 4.4rem);
}

.support-section .button {
  flex: 0 0 auto;
  background: rgba(255, 253, 249, 0.7);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  align-items: center;
  padding: 3rem max(1.5rem, calc((100vw - 88rem) / 2));
  background: var(--ink);
  color: #fff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand .brand-mark {
  width: 2.2rem;
  height: 2.2rem;
}

.footer-brand div {
  display: grid;
  gap: 0.2rem;
}

.footer-brand span,
.site-footer > p {
  margin: 0;
  color: #bfb6ae;
  font-size: 0.78rem;
}

.site-footer nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.86rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--copper-soft);
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 0, rgba(184, 92, 34, 0.1), transparent 32rem),
    var(--paper);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 3rem, 72rem);
  min-height: 5.5rem;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.legal-brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.legal-back {
  color: var(--copper-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.legal-content {
  width: min(100% - 3rem, 54rem);
  margin: 0 auto;
  padding: 6rem 0 8rem;
}

.legal-content > h1 {
  margin-bottom: 3rem;
  font-size: clamp(3.5rem, 8vw, 7rem);
}

.legal-warning {
  margin-bottom: 3.5rem;
  border: 2px solid #a1331d;
  border-radius: 0.35rem;
  background: #fff0ec;
  color: #702114;
  padding: 1.3rem 1.45rem;
}

.legal-warning strong {
  display: block;
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}

.legal-warning p {
  margin: 0;
  line-height: 1.6;
}

.legal-content section {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.legal-content section h2 {
  margin-bottom: 0.9rem;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
}

.legal-content section p,
.legal-content address {
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-style: normal;
  line-height: 1.75;
}

.submission-content {
  max-width: 48rem;
}

.submission-content > h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.submission-status {
  margin-bottom: 2.4rem;
  border-left: 4px solid var(--copper);
  border-radius: 0.2rem;
  background: var(--paper-strong);
  box-shadow: 0 18px 42px rgba(75, 51, 31, 0.08);
  padding: 1.5rem 1.6rem;
}

.submission-status > p {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
}

.submission-number {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: baseline;
  margin-top: 1.4rem !important;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.submission-number span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.submission-number strong {
  color: var(--copper-dark);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.8rem);
}

.anchor-placeholder {
  height: 1px;
}

.mobile-request-cta {
  display: none;
}

:focus-visible {
  outline: 3px solid rgba(184, 92, 34, 0.45);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr 0.88fr;
  }

  .desktop-nav {
    gap: clamp(1rem, 1.9vw, 1.8rem);
  }

  .hero-copy {
    padding-inline: clamp(2rem, 5vw, 4rem);
  }

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

  .section-heading {
    grid-template-columns: 0.5fr 1.25fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

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

  .process-grid li:nth-child(3) {
    border-right: 0;
  }

  .process-grid li:nth-child(n + 4) {
    border-top: 0;
  }

  .process-grid li:nth-child(3)::after {
    display: none;
  }

  .capability-list article {
    grid-template-columns: 4rem 1fr;
  }

  .capability-list article > div {
    grid-column: 1 / -1;
  }

  .request-shell {
    grid-template-columns: minmax(16rem, 0.55fr) minmax(30rem, 1.45fr);
    gap: 3rem;
  }
}

@media (max-width: 1280px) {
  .brand-copy small {
    display: none;
  }
}

@media (max-width: 820px) {
  .header-inner {
    width: min(100% - 2rem, 92rem);
    min-height: 4.8rem;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    display: grid;
    gap: 0.27rem;
    width: 2.8rem;
    height: 2.8rem;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 0.35rem;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary span {
    width: 1.15rem;
    height: 1.5px;
    background: var(--ink);
  }

  .mobile-nav nav {
    position: absolute;
    top: 3.5rem;
    right: 0;
    display: grid;
    min-width: 14rem;
    border: 1px solid var(--line);
    border-radius: 0.4rem;
    background: var(--paper-strong);
    box-shadow: var(--shadow);
    padding: 0.55rem;
  }

  .mobile-nav nav a {
    display: flex;
    min-height: 3rem;
    align-items: center;
    border-bottom: 1px solid #eee5dc;
    padding: 0.8rem 0.9rem;
  }

  .mobile-nav nav a:last-child {
    border-bottom: 0;
    color: var(--copper-dark);
    font-weight: 700;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .hero-copy {
    padding-block: 5rem 4rem;
  }

  .hero-visual {
    min-height: 36rem;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-bottom: 1.5rem;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 19rem;
  }

  .project-card {
    grid-column: auto;
    grid-row: auto;
  }

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

  .process-grid li,
  .process-grid li:nth-child(n + 4) {
    min-height: auto;
    border-top: 1px solid var(--line);
    border-right: 0;
    padding: 1.5rem 0;
  }

  .process-grid li > span {
    margin-bottom: 1.5rem;
  }

  .process-grid li::after {
    display: none;
  }

  .capability-section {
    grid-template-columns: 1fr;
  }

  .capability-list {
    border-top: 1px solid rgba(87, 64, 48, 0.2);
    border-left: 0;
  }

  .capability-list article {
    grid-template-columns: 4rem minmax(9rem, 0.75fr) 1fr;
  }

  .request-shell {
    display: block;
  }

  .request-intro {
    position: static;
    margin-bottom: 3rem;
  }

  .request-shell {
    width: min(100% - 1.5rem, 92rem);
  }

  .support-section {
    display: block;
  }

  .support-section .button {
    margin-top: 1rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: calc(5.1rem + env(safe-area-inset-bottom));
  }

  .header-inner {
    width: min(100% - 1.5rem, 92rem);
  }

  .brand {
    gap: 0.6rem;
    font-size: 1.28rem;
  }

  .brand-mark {
    width: 2.2rem;
    height: 2.2rem;
  }

  .hero-copy {
    padding: 3rem 1.1rem 2.6rem;
  }

  .hero-copy .eyebrow {
    margin-bottom: 1.2rem;
    font-size: 0.71rem;
    letter-spacing: 0.16em;
  }

  h1 {
    margin-bottom: 1.3rem;
    font-size: clamp(2.42rem, 13vw, 3rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
  }

  h1 span:last-child {
    text-wrap: balance;
  }

  .hero-lead {
    margin-bottom: 1.7rem;
    font-size: 1.04rem;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    gap: 0.65rem;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
  }

  .hero-visual {
    min-height: 28rem;
  }

  .hero-image {
    border-width: 3px;
  }

  .hero-image-main {
    top: 10%;
    width: 67%;
    height: 58%;
  }

  .hero-image-secondary {
    left: 4%;
    width: 49%;
    height: 39%;
  }

  .hero-image-accent {
    right: 4%;
    width: 37%;
    height: 28%;
  }

  .section-shell {
    width: min(100% - 2rem, 88rem);
    padding-block: 5rem;
  }

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

  .service-image {
    height: 17rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 21rem;
  }

  .gallery-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 0.7rem;
  }

  .gallery-controls {
    gap: 0.45rem;
  }

  .gallery-controls button {
    min-height: 2.75rem;
    padding: 0.56rem 0.76rem;
    font-size: 0.78rem;
  }

  .gallery-navigation > span {
    margin-right: auto;
  }

  .gallery-grid {
    grid-auto-columns: min(48vw, 10.5rem);
  }

  .capability-list article {
    display: grid;
    grid-template-columns: 3.4rem 1fr;
    gap: 1rem;
  }

  .capability-list article > span {
    width: 3.2rem;
    height: 3.2rem;
  }

  .capability-list article > div {
    grid-column: 1 / -1;
  }

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

  .form-span-2 {
    grid-column: auto;
  }

  .request-intro {
    margin-bottom: 1.5rem;
  }

  .request-section .section-shell {
    padding-block: 3rem;
  }

  .request-note {
    margin-top: 1.35rem;
  }

  .request-form {
    margin-inline: -0.25rem;
  }

  .wizard-progress {
    gap: 0.75rem;
    padding: 0.85rem 1rem;
  }

  .wizard-progress > div strong {
    max-width: 9rem;
    font-size: 0.82rem;
  }

  .wizard-progress li {
    min-width: auto;
  }

  .wizard-progress li small {
    display: none;
  }

  .wizard-progress li span {
    width: 1.75rem;
    height: 1.75rem;
  }

  .form-section {
    padding: 1.25rem 1rem;
  }

  .form-section-heading {
    gap: 0.7rem;
    margin-bottom: 1.25rem;
  }

  .form-section-heading strong {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  input,
  select,
  textarea {
    font-size: 1rem;
  }

  input,
  select {
    min-height: 3.25rem;
  }

  .upload-zone {
    min-height: 10.5rem;
    padding: 1.25rem 0.85rem;
  }

  .upload-help {
    font-size: 0.75rem;
  }

  .optional-details summary {
    min-height: 3.4rem;
  }

  .optional-details .form-grid {
    padding: 0.85rem;
  }

  .wizard-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .wizard-actions .button {
    width: 100%;
    min-width: 0;
  }

  .wizard-actions .button-secondary {
    order: 2;
  }

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

  .form-submit > div {
    justify-items: stretch;
  }

  .form-submit p {
    text-align: left;
  }

  .form-submit > .button-secondary {
    order: 2;
  }

  .file-list li {
    align-items: flex-start;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .mobile-request-cta {
    position: fixed;
    right: 0.75rem;
    bottom: calc(0.7rem + env(safe-area-inset-bottom));
    left: 0.75rem;
    z-index: 30;
    display: flex;
    min-height: 4rem;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.55rem;
    background: var(--copper-dark);
    box-shadow: 0 14px 32px rgba(58, 34, 20, 0.3);
    color: #fff;
    padding: 0.7rem 1rem;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .mobile-request-cta > span:first-child {
    display: grid;
  }

  .mobile-request-cta small {
    color: #f4d9c7;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .mobile-request-cta strong {
    font-size: 1rem;
  }

  .mobile-request-cta.is-hidden {
    transform: translateY(calc(130% + env(safe-area-inset-bottom)));
    opacity: 0;
    pointer-events: none;
  }
}

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

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