:root {
  --ink: #17201f;
  --ink-soft: #2e3a37;
  --paper: #fffaf1;
  --cream: #f6ead8;
  --white: #ffffff;
  --line: rgba(23, 32, 31, 0.14);
  --gold: #d6a33c;
  --copper: #b76b32;
  --sage: #6d8d7d;
  --blue: #415d72;
  --terracotta: #b65e43;
  --muted: #736a60;
  --shadow: 0 22px 60px rgba(23, 32, 31, 0.16);
  --radius: 8px;
  --container: min(1140px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

a:hover {
  color: var(--copper);
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 250, 241, 0.88);
  border-bottom: 1px solid rgba(255, 250, 241, 0.28);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: var(--container);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 7px;
  background: var(--ink);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(214, 163, 60, 0.35);
}

.brand-mark span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--gold);
}

.brand-mark span:nth-child(1) {
  top: 12px;
}

.brand-mark span:nth-child(2) {
  top: 20px;
  background: var(--cream);
}

.brand-mark span:nth-child(3) {
  top: 28px;
}

.brand-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-text strong {
  font-size: 1.08rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-weight: 700;
}

.site-nav a:hover {
  background: rgba(214, 163, 60, 0.13);
  color: var(--ink);
}

.site-nav .nav-cta {
  background: var(--ink);
  color: var(--paper);
}

.site-nav .nav-cta:hover {
  background: var(--copper);
  color: var(--white);
}

.site-nav--static {
  display: flex;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(23, 32, 31, 0.92) 0%, rgba(23, 32, 31, 0.72) 45%, rgba(23, 32, 31, 0.28) 100%),
    linear-gradient(0deg, rgba(23, 32, 31, 0.26), rgba(23, 32, 31, 0.06));
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 148px 0 70px;
  color: var(--white);
}

.kicker {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.92rem;
  font-weight: 800;
}

.section--deep .kicker,
.hero .kicker {
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: normal;
}

h1 {
  max-width: 880px;
  font-size: clamp(2.7rem, 5.7vw, 5.4rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 880;
}

h3 {
  font-size: 1.16rem;
  line-height: 1.18;
}

p {
  overflow-wrap: break-word;
}

.hero__lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button--primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(214, 163, 60, 0.26);
}

.button--primary:hover {
  background: #efc565;
  color: var(--ink);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

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

.button--full {
  width: 100%;
}

.trust-band {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-band__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.trust-band__grid div {
  min-width: 0;
  padding: 22px 24px;
  background: var(--white);
}

.trust-band strong {
  display: block;
  margin-bottom: 4px;
}

.trust-band span,
.trust-band a {
  color: var(--muted);
}

.section {
  padding: clamp(76px, 10vw, 126px) 0;
}

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

.section--white {
  background: var(--white);
}

.section--warm {
  background: var(--cream);
}

.section--deep {
  background: var(--ink);
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
  gap: clamp(34px, 6vw, 76px);
}

.split--image {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.section-copy p:not(.kicker) {
  max-width: 670px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section--deep .section-copy p:not(.kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.accent-panel {
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.accent-panel h3 {
  margin-bottom: 18px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.78);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--gold);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

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

.focus-card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.focus-card__icon {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--gold);
  box-shadow: inset 12px -12px 0 rgba(255, 255, 255, 0.28);
}

.focus-card__icon--sage {
  background: var(--sage);
}

.focus-card__icon--blue {
  background: var(--blue);
}

.focus-card__icon--terracotta {
  background: var(--terracotta);
}

.focus-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.illustration-frame {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(23, 32, 31, 0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.illustration-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.steps article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(23, 32, 31, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--gold);
  font-weight: 900;
}

.steps p {
  grid-column: 2;
  margin: 6px 0 0;
  color: var(--muted);
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(34px, 6vw, 70px);
  align-items: center;
}

.project-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.project-card__media {
  display: grid;
  align-content: end;
  gap: 9px;
  min-height: 150px;
}

.project-card__media span {
  display: block;
  height: 28px;
  border-radius: 6px;
  background: var(--gold);
}

.project-card__media span:nth-child(2) {
  width: 76%;
  background: var(--sage);
}

.project-card__media span:nth-child(3) {
  width: 58%;
  background: var(--terracotta);
}

.project-card__label {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 800;
}

.project-card p:last-child {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.contact-section {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: clamp(34px, 6vw, 70px);
  align-items: start;
}

.contact-intro > p:not(.kicker) {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-card {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 14px 42px rgba(23, 32, 31, 0.1);
}

.contact-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

address {
  padding: 24px;
  font-style: normal;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

address strong {
  color: var(--ink);
}

.contact-form {
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form label span {
  font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(23, 32, 31, 0.16);
  border-radius: 6px;
  background: #fffdf8;
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
  font-weight: 600;
}

.contact-form textarea {
  min-height: 158px;
  resize: vertical;
}

.contact-form ::placeholder {
  color: rgba(115, 106, 96, 0.82);
  font-weight: 600;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(214, 163, 60, 0.16);
}

.check-field {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  margin: 8px 0 18px;
  color: var(--muted);
  font-weight: 600;
}

.check-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.check-field a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  margin-bottom: 18px;
  padding: 13px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.form-status.is-success {
  background: rgba(109, 141, 125, 0.16);
  color: #284b3b;
}

.form-status.is-error {
  background: rgba(182, 94, 67, 0.14);
  color: #763623;
}

.site-footer {
  background: #111816;
  color: rgba(255, 255, 255, 0.76);
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.footer-grid strong {
  color: var(--white);
}

.footer-grid p {
  margin: 6px 0 0;
}

.footer-grid div {
  display: grid;
  gap: 6px;
}

.footer-grid a:hover {
  color: var(--gold);
}

.legal-page .section {
  padding-top: calc(clamp(76px, 10vw, 126px) + 78px);
}

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  margin-bottom: 34px;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-content p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 70px;
  }

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

  .site-nav {
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav--static {
    position: static;
    display: flex;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    justify-content: center;
  }

  .split,
  .split--image,
  .project-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero {
    min-height: 86vh;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1140px);
  }

  .brand-text span {
    display: none;
  }

  .hero__shade {
    background: linear-gradient(90deg, rgba(23, 32, 31, 0.94), rgba(23, 32, 31, 0.58));
  }

  .hero__content {
    padding: 122px 0 54px;
  }

  h1 {
    font-size: clamp(2.6rem, 16vw, 4.1rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
  }

  .section {
    padding: 68px 0;
  }

  .focus-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .focus-card {
    min-height: auto;
  }

  .steps article,
  .project-card {
    grid-template-columns: 1fr;
  }

  .steps p {
    grid-column: auto;
  }

  .project-card__media {
    min-height: 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
