:root {
  --ink: #2a211c;
  --muted: #6f6258;
  --line: #e4d8cc;
  --paper: #f6efe6;
  --white: #fffaf5;
  --accent: #b4532a;
  --accent-dark: #8c3d1e;
  --deep: #3c241c;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --wrap: 1120px;
  --header: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: 30;
}

.skip:focus {
  top: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.accent-bar {
  height: 6px;
  background: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 245, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 52px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

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

.nav-toggle span:not(.sr-only) {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
}

.nav-toggle span:nth-of-type(2) {
  top: 17px;
}

.nav-toggle span:nth-of-type(3) {
  top: 25px;
}

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

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: #5c4a40;
  padding: 6px 0;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
  box-shadow: inset 0 -2px 0 var(--accent);
}

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

.hero {
  padding: 64px 0 36px;
}

.hero-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.5rem);
  max-width: 16ch;
}

.lede {
  margin-top: 18px;
  max-width: 52ch;
  color: #5c4e45;
  font-size: 1.05rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn:focus-visible,
.site-nav a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-dark {
  background: var(--accent);
  color: #fffaf5;
}

.btn-dark:hover {
  background: var(--accent-dark);
}

.btn-line {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent-dark);
}

.btn-line:hover {
  border-color: var(--ink);
}

.hero-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-art {
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
}

.hero-art img {
  width: 100%;
  height: auto;
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: #fffaf5;
}

.section-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.section-head h2,
.page-intro h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.section-head p,
.page-intro p {
  margin-top: 12px;
  color: var(--muted);
}

.page-intro {
  padding: 56px 0 10px;
}

.cards,
.reasons,
.explore {
  display: grid;
  gap: 16px;
}

.cards,
.reasons {
  grid-template-columns: repeat(3, 1fr);
}

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

.card,
.reason,
.explore a,
.detail,
.industry,
.client,
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.card,
.reason,
.detail,
.panel {
  padding: 22px;
}

.card h3,
.reason h3,
.detail h3,
.explore h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.card p,
.reason p,
.detail p,
.explore p {
  color: var(--muted);
  font-size: 0.95rem;
}

.card a,
.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.explore a {
  display: block;
  padding: 22px;
  text-decoration: none;
}

.explore a:hover,
.card:hover {
  border-color: #c4a48a;
}

.band {
  background: var(--deep);
  color: #f8efe8;
  padding: 56px 0;
}

.band h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  max-width: 16ch;
}

.band p {
  margin: 12px 0 22px;
  color: #e7d3c4;
  max-width: 46ch;
}

.service-block {
  padding-top: 12px;
}

.service-block + .service-block {
  margin-top: 42px;
}

.service-block h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.service-block > p {
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 68ch;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.steps span {
  display: block;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.checklist {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #5c4e45;
}

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

.industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.industry {
  padding: 18px 16px;
  font-weight: 600;
}

.clients {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.client {
  min-height: 140px;
  padding: 16px 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.client img {
  width: 100%;
  height: 64px;
  object-fit: contain;
}

.client span {
  color: var(--muted);
  font-size: 0.78rem;
}

.contact-grid {
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

.contact-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.contact-list li + li {
  margin-top: 12px;
}

.contact-list a {
  color: var(--accent-dark);
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.82rem;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  color: #9f1239;
  margin: 0;
  font-size: 0.9rem;
}

.form-hint,
.fine {
  color: var(--muted);
  font-size: 0.85rem;
}

.form-success {
  background: var(--paper);
  border-radius: 14px;
  padding: 22px;
}

.form-success[hidden],
.contact-form[hidden] {
  display: none;
}

.site-footer {
  background: #2a1c16;
  color: #f3e6da;
  padding: 42px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 28px;
}

.site-footer h3 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.site-footer a {
  color: #f3e6da;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 8px;
}

.footer-brand small,
.legal {
  display: block;
  color: #d7c3b4;
  margin-top: 8px;
}

.legal {
  border-top: 1px solid rgba(243, 230, 218, 0.18);
  margin-top: 28px;
  padding-top: 16px;
  font-size: 0.85rem;
}

@media (max-width: 980px) {
  .cards,
  .reasons,
  .explore,
  .steps,
  .clients {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid,
  .details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 22px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

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

  .brand small {
    display: none;
  }

  .cards,
  .reasons,
  .explore,
  .steps,
  .clients,
  .industries {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }
}

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