:root {
  --bg: #f4eee6;
  --surface: #fffaf4;
  --surface-strong: #ffffff;
  --surface-tint: #ebe0d0;
  --text: #1c1612;
  --muted: #6b5d50;
  --line: rgba(28, 22, 18, 0.12);
  --line-strong: rgba(28, 22, 18, 0.2);
  --accent: #bc6037;
  --accent-deep: #8f421f;
  --dark: #23312d;
  --dark-2: #31443e;
  --shadow: 0 18px 50px rgba(60, 41, 22, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(188, 96, 55, 0.14), transparent 24%),
    linear-gradient(180deg, #f7f2eb 0%, var(--bg) 100%);
  font-family: "IBM Plex Sans", sans-serif;
}

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

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 24px), var(--content));
  margin: 0 auto;
}

.site-header {
  background: rgba(247, 242, 235, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 22, 18, 0.06);
}

.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header-row {
  padding: 18px 0;
  justify-content: center;
}

.brand {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section {
  padding: 54px 0;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
.stat-box span {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.98;
}

h2 {
  max-width: 16ch;
  font-size: clamp(1.8rem, 4.4vw, 3.2rem);
  line-height: 1.02;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

p {
  margin: 0;
  overflow-wrap: anywhere;
}

.intro,
.section-header p,
.card p,
.contact-copy p,
.form-note,
.hero-panel p,
.stat-box p {
  color: var(--muted);
  line-height: 1.72;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  text-align: center;
}

.button-primary {
  background: var(--accent);
  color: #fff9f3;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line-strong);
}

.hero {
  padding: 44px 0 30px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 24px;
  align-items: start;
}

.hero-copy {
  display: grid;
  gap: 0;
  justify-items: center;
  text-align: center;
}

.intro {
  margin-top: 20px;
  max-width: 58ch;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

.hero-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  text-align: left;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.hero-card {
  display: grid;
  gap: 14px;
  width: min(100%, 200px);
  justify-self: center;
  align-content: start;
  justify-items: center;
}

.image-thumb {
  position: relative;
  display: block;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--dark);
  box-shadow: var(--shadow);
}

.portrait {
  width: 200px;
}

.image-thumb img {
  width: 200px;
  height: 200px;
  display: block;
  object-fit: cover;
}

.portrait img {
  object-position: center 18%;
}

.gallery-item img {
  object-position: center;
}

.hero-panel,
.stat-box,
.card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
}

.hero-panel strong {
  display: block;
  margin-bottom: 6px;
}

.stats-grid,
.cards.three,
.cards.two {
  display: grid;
  gap: 16px;
}

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

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

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

.stat-box,
.card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.stat-box span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-size: 2.1rem;
  font-weight: 700;
}

.section-header {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
  justify-items: center;
  text-align: center;
}

.section-header p {
  max-width: 60ch;
}

.dark-band {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: start;
}

.section-header.light .kicker,
.section-header.light h2 {
  color: #fff7ec;
}

.section-header.light p {
  color: rgba(255, 247, 236, 0.76);
}

.cards.stack {
  display: grid;
  gap: 14px;
}

.card.dark {
  border: 1px solid rgba(255, 247, 236, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.card.dark h3 {
  color: #fff7ec;
}

.card.dark p {
  color: rgba(255, 247, 236, 0.74);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 200px);
  gap: 16px;
  justify-content: center;
  align-items: start;
  justify-items: center;
}


.contact-section {
  background: linear-gradient(180deg, #eee2d2 0%, #f4ebdf 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.contact-links {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.contact-cta {
  display: grid;
  gap: 14px;
  margin-top: 10px;
  justify-items: center;
}

.contact-links a,
.legal-card a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.form-note {
  max-width: 38ch;
}

.legal-card {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.site-footer {
  padding: 0 0 30px;
}

.footer-row {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
  justify-content: center;
}

.footer-row p,
.footer-row a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 920px) {
  .hero-layout,
  .feature-layout,
  .about-layout,
  .contact-layout,
  .stats-grid,
  .cards.three,
  .cards.two {
    grid-template-columns: 1fr;
  }

  .hero-card {
    width: 200px;
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 18px), var(--content));
  }

  .header-row,
  .footer-row {
    align-items: center;
    justify-content: center;
  }

  .section {
    padding: 40px 0;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 10vw, 3.2rem);
    line-height: 1.02;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(1.6rem, 7.5vw, 2.4rem);
    line-height: 1.06;
  }

  .gallery {
    grid-template-columns: 1fr;
    justify-content: center;
  }
}
