:root {
  --ink: #25231f;
  --paper: #f2eee5;
  --paper-deep: #e7dfd2;
  --muted: #756e64;
  --clay: #a65f43;
  --moss: #67705b;
  --moss-deep: #3f4938;
  --line: rgba(37, 35, 31, 0.17);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 20px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(37, 35, 31, 0.08);
  background: rgba(242, 238, 229, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 18px;
  white-space: nowrap;
}

.brand span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand .brand-domain {
  margin-left: 0.18em;
  color: var(--muted);
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-weight: 750;
}

.header-cta {
  min-height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.offer-code-cta {
  gap: 9px;
  border-color: var(--clay);
  background: var(--clay);
  box-shadow: 6px 7px 0 rgba(37, 35, 31, 0.13);
  color: #fffaf2;
  transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.offer-code-cta::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 rgba(255, 250, 242, 0.5);
  content: "";
  animation: offer-code-pulse 1.8s ease-out infinite;
}

.offer-code-cta:hover {
  background: #914c34;
  box-shadow: 3px 4px 0 rgba(37, 35, 31, 0.16);
  transform: translate(2px, 2px);
}

.offer-code-label-short {
  display: none;
}

@keyframes offer-code-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 250, 242, 0.52);
    transform: scale(0.92);
  }

  45% {
    transform: scale(1);
  }

  75%,
  100% {
    box-shadow: 0 0 0 8px rgba(255, 250, 242, 0);
    transform: scale(0.92);
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-code-cta::before {
    animation: none;
    box-shadow: 0 0 0 4px rgba(255, 250, 242, 0.16);
  }
}

section {
  padding: clamp(82px, 10vw, 150px) clamp(20px, 6vw, 92px);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(270px, 0.52fr) minmax(540px, 1.18fr);
  align-items: center;
  gap: clamp(12px, 2.2vw, 38px);
  overflow: clip;
  padding-inline: clamp(20px, 3.2vw, 56px);
  padding-top: 150px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 8ch;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 11vw, 166px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.hero h1 {
  width: max-content;
  max-width: none;
  margin-right: clamp(-200px, -11vw, -100px);
  font-size: clamp(82px, 9.8vw, 158px);
  color: var(--moss-deep);
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero h1 span:last-child {
  margin-left: 0.42em;
  color: inherit;
  font-style: italic;
}

h2 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 96px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.93;
}

h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 25px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.primary:hover {
  background: var(--clay);
}

.button.quiet {
  border: 1px solid var(--line);
}

.hero-slider {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  justify-self: end;
}

.hero-slide-stage {
  position: relative;
  overflow: hidden;
}

.hero-slide-stage::after {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 38%;
  background: linear-gradient(
    90deg,
    rgba(242, 238, 229, 0.42) 0%,
    rgba(242, 238, 229, 0.16) 48%,
    rgba(242, 238, 229, 0) 100%
  );
  content: "";
  pointer-events: none;
}

.hero-slide {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1200ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

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

.section-heading {
  max-width: 900px;
  margin-bottom: clamp(44px, 7vw, 90px);
}

.section-heading > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 19px;
}

.services {
  background: #e8e0d4;
}

.services .section-heading {
  max-width: none;
}

@media (min-width: 901px) {
  #services-title {
    white-space: nowrap;
  }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.service-grid article {
  min-height: 340px;
  background: #e8e0d4;
  padding: clamp(28px, 4vw, 52px);
}

.service-grid article span {
  display: block;
  margin-bottom: 88px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 850;
}

.service-grid article p {
  color: var(--muted);
}

.philosophy {
  min-height: 85vh;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.62fr);
  align-items: center;
  gap: clamp(48px, 9vw, 140px);
  background: var(--moss);
  color: #f4f0e8;
}

.philosophy .eyebrow {
  color: #e0c09d;
}

.philosophy-copy {
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: clamp(28px, 5vw, 72px);
  color: rgba(244,240,232,0.72);
  font-size: clamp(19px, 2vw, 24px);
}

.contact {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.62fr);
  align-items: start;
  gap: clamp(48px, 9vw, 140px);
}

.contact-copy {
  position: sticky;
  top: 130px;
}

.contact h2 {
  max-width: 11ch;
  font-size: clamp(44px, 6vw, 82px);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
}

.contact-copy a {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
}

.request-form {
  display: grid;
  gap: 20px;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}

.request-form label {
  display: grid;
  gap: 9px;
}

.request-form label > span {
  color: var(--clay);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  padding: 12px 0 14px;
}

.request-form select {
  cursor: pointer;
}

.request-form select:required:invalid,
.request-form select option[value=""] {
  color: var(--muted);
}

.request-form select option {
  color: var(--ink);
}

.request-form input::placeholder,
.request-form textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.request-form textarea {
  min-height: 138px;
  resize: vertical;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-bottom-color: var(--clay);
  outline: 0;
}

.request-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-status {
  min-height: 24px;
  margin: -6px 0 0;
  color: var(--moss);
  font-size: 14px;
}

.imprint {
  background: var(--paper-deep);
}

.imprint-brand-heading {
  margin: 0 0 clamp(36px, 5vw, 62px) clamp(0px, 3vw, 46px);
}

.imprint-brand-heading h2 {
  margin: 0;
  color: var(--paper-deep);
  font-family: inherit;
  font-size: clamp(46px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: normal;
  text-shadow:
    -1px -1px 0 var(--ink),
     0    -1px 0 var(--ink),
     1px -1px 0 var(--ink),
    -1px  0    0 var(--ink),
     1px  0    0 var(--ink),
    -1px  1px 0 var(--ink),
     0     1px 0 var(--ink),
     1px  1px 0 var(--ink);
}

.imprint-brand-heading span {
  margin-left: 0.18em;
  color: rgba(117, 110, 100, 0.62);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.48em;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-shadow: none;
}

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

.imprint-grid p {
  min-height: 115px;
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(242, 238, 229, 0.58);
  color: var(--muted);
  padding: 22px clamp(20px, 3vw, 30px);
}

.imprint-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
}

.imprint-grid a {
  border-bottom: 1px solid rgba(37, 35, 31, 0.4);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer div {
  display: grid;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .site-header nav {
    display: none;
  }

  .header-cta {
    justify-self: end;
  }

  .hero,
  .philosophy,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 58px;
    overflow: hidden;
    padding-top: 132px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    width: auto;
    margin-right: 0;
    font-size: clamp(76px, 15vw, 126px);
  }

  .hero-slider {
    width: 100%;
    justify-self: start;
  }

  .hero-slide-stage::after {
    display: none;
  }

  .contact-copy {
    position: static;
  }

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

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

  .service-grid article {
    min-height: 260px;
  }

  .philosophy-copy {
    border-top: 1px solid rgba(255,255,255,0.2);
    border-left: 0;
    padding-top: 32px;
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 16px;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .offer-code-label-full {
    display: none;
  }

  .offer-code-label-short {
    display: inline;
  }

  .hero h1 {
    font-size: clamp(62px, 19vw, 92px);
  }

  .hero h1 span:last-child {
    margin-left: 0.18em;
  }

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

  footer {
    display: grid;
  }
}
