:root {
  --paper: #f4f0e8;
  --paper-deep: #e4ddd0;
  --ink: #151515;
  --ink-soft: #5d5b56;
  --line: rgba(21, 21, 21, 0.14);
  --panel: rgba(255, 255, 255, 0.58);
  --panel-strong: rgba(255, 255, 255, 0.82);
  --accent: #d65a31;
  --shadow: 0 20px 60px rgba(47, 39, 23, 0.12);
  --radius: 26px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(214, 90, 49, 0.12), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(67, 83, 255, 0.06), transparent 24%),
    linear-gradient(180deg, #f8f5ef 0%, var(--paper) 44%, #f0eadf 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(21, 21, 21, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 21, 21, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 92%);
}

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

.site-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 14px;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.brand-text,
.promo-banner-copy h1,
.section-head h2,
.category-head h2,
.service-card h3,
.approach-card h3,
.hero-quote {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.brand-text {
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.topnav a,
.text-link {
  position: relative;
}

.topnav a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.topnav a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
}

.promo-hero,
.section {
  margin-top: 28px;
}

.promo-banner-card,
.section,
.service-card,
.approach-card,
.category-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.promo-banner-card {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3)),
    rgba(255, 255, 255, 0.52);
}

.promo-banner-art {
  min-height: 420px;
  background:
    radial-gradient(circle at 22% 48%, rgba(214, 90, 49, 0.08), transparent 24%),
    linear-gradient(90deg, rgba(244, 240, 232, 0.12), rgba(244, 240, 232, 0));
}

.promo-banner-art picture,
.promo-banner-art img {
  display: block;
  width: 100%;
  height: 100%;
}

.promo-banner-art img {
  object-fit: cover;
  object-position: center 42%;
}

.promo-banner-copy {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  column-gap: 34px;
  row-gap: 12px;
  align-items: start;
  padding: 30px 38px 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.6)),
    rgba(255, 255, 255, 0.44);
}

.promo-kicker,
.section-kicker,
.contact-label {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.promo-kicker {
  grid-column: 1 / -1;
}

.promo-banner-copy h1 {
  margin: 0;
  font-size: clamp(1.95rem, 2.95vw, 3.55rem);
  line-height: 0.96;
  max-width: 9ch;
}

.promo-body {
  display: grid;
  gap: 18px;
  align-content: start;
}

.promo-text,
.service-card p,
.approach-card p,
.detail-list li,
.contact-value,
.hero-quote {
  color: var(--ink-soft);
}

.promo-text {
  margin: 0;
  line-height: 1.75;
  font-size: 1rem;
}

.promo-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.promo-points li,
.hero-highlights li {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(21, 21, 21, 0.08);
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

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

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-light {
  background: rgba(255, 255, 255, 0.62);
}

.button-ghost {
  background: transparent;
}

.section {
  padding: 34px;
}

.section-head {
  display: block;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  line-height: 0.98;
  max-width: none;
}

.section-postscript {
  margin: 10px 0 0;
  color: rgba(93, 91, 86, 0.76);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-grid,
.approach-list,
.categories {
  display: grid;
  gap: 18px;
}

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

.service-card,
.approach-card,
.category-card,
.contact-panel {
  background: rgba(255, 255, 255, 0.7);
}

.service-card,
.approach-card,
.category-card {
  padding: 24px;
}

.service-card h3,
.approach-card h3,
.category-head h2 {
  margin: 0;
}

.service-card h3,
.approach-card h3 {
  font-size: 1.35rem;
  line-height: 1.08;
  margin-bottom: 10px;
}

.service-card p,
.approach-card p,
.detail-list li {
  margin: 0;
  line-height: 1.65;
}

.accent-card {
  background:
    linear-gradient(180deg, rgba(214, 90, 49, 0.12), rgba(214, 90, 49, 0.02)),
    var(--panel-strong);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 600;
}

.hero-quote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.approach-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

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

.category-head h2 {
  font-size: clamp(1.75rem, 2.2vw, 2.7rem);
  line-height: 0.98;
  max-width: 12ch;
}

.detail-list {
  display: grid;
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.detail-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.02rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 26px;
}

.contact-value {
  font-size: clamp(0.98rem, 1.45vw, 1.2rem);
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .promo-banner-copy,
  .service-grid,
  .approach-list,
  .categories,
  .contact-panel,
  .hero-highlights,
  .promo-points {
    grid-template-columns: 1fr;
  }

  .promo-banner-copy h1 {
    max-width: 12ch;
  }

  .promo-banner-art {
    min-height: 340px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 24px, 1160px);
    padding-top: 12px;
  }

  .topbar,
  .promo-banner-card,
  .section,
  .service-card,
  .approach-card,
  .category-card,
  .contact-panel {
    border-radius: 22px;
  }

  .topbar {
    align-items: start;
    border-radius: 26px;
    padding: 18px;
  }

  .topnav {
    justify-content: start;
    gap: 14px;
  }

  .promo-banner-copy,
  .section,
  .service-card,
  .approach-card,
  .category-card,
  .contact-panel {
    padding: 22px;
  }

  .promo-banner-copy h1,
  .category-head h2 {
    max-width: 100%;
  }

  .promo-banner-art {
    min-height: 250px;
  }

  .button {
    width: 100%;
  }
}
