:root {
  --bg: #f4efe6;
  --surface: #fffaf2;
  --surface-strong: #ffffff;
  --text: #201a17;
  --muted: #6b625d;
  --line: #ded1c1;
  --accent: #8f4d2e;
  --accent-strong: #6f3418;
  --accent-soft: #efe1d2;
  --shadow: 0 18px 45px rgba(50, 33, 20, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.site-shell { min-height: 100vh; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 242, 0.94);
  border-bottom: 1px solid rgba(143, 77, 46, 0.14);
  backdrop-filter: blur(12px);
}
.topbar-inner,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.brand-copy strong,
.brand-copy span { display: block; }
.brand-copy strong { font-size: 16px; }
.brand-copy span { color: var(--muted); font-size: 13px; }
.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.topnav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}
.topnav a:hover,
.topnav a:focus-visible { color: var(--accent-strong); }
.hero { padding: 72px 0 48px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}
.hero-copy,
.hero-panel,
.section-panel,
.brand-card,
.info-card,
.contact-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.hero-copy { padding: 40px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
.hero h1,
.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}
.hero p,
.page-hero p,
.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.button { background: var(--accent); color: #fff; }
.button-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}
.hero-panel {
  padding: 28px;
  background: linear-gradient(160deg, rgba(143, 77, 46, 0.94), rgba(61, 33, 19, 0.96)), var(--accent);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  transform: rotate(18deg);
}
.stat-grid,
.brand-grid,
.info-grid,
.detail-grid,
.feature-grid {
  display: grid;
  gap: 16px;
}
.stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}
.stat-item {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.stat-item strong,
.metric-value {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-item span,
.metric-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.84);
}
.section { padding: 0 0 48px; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
}
.section-panel { padding: 28px; }
.about-grid,
.contact-grid,
.page-layout {
  display: grid;
  gap: 16px;
}
.about-grid { grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr); }
.bullet-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.bullet {
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.metric-box {
  padding: 22px;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid rgba(143, 77, 46, 0.18);
}
.metric-box + .metric-box { margin-top: 14px; }
.brand-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.brand-card {
  padding: 22px;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.brand-card:hover,
.brand-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(143, 77, 46, 0.34);
}
.brand-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.brand-logo,
.brand-fallback,
.page-logo,
.page-fallback {
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  object-fit: contain;
}
.brand-logo,
.brand-fallback {
  width: 64px;
  height: 64px;
  padding: 10px;
}
.brand-fallback,
.page-fallback {
  display: grid;
  place-items: center;
  color: var(--accent-strong);
  font-weight: 700;
}
.brand-card h3,
.page-summary h2,
.detail-card h3,
.feature-card h3,
.contact-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}
.brand-meta {
  margin: 0;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
}
.brand-card p,
.detail-card p,
.feature-card p,
.contact-card p,
.page-summary p,
.section-panel p { margin: 0; color: var(--muted); }
.info-grid,
.detail-grid,
.feature-grid,
.contact-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.info-card,
.detail-card,
.feature-card,
.contact-card { padding: 22px; }
.info-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}
.contact-card a { color: var(--accent-strong); text-decoration: none; }
.footer {
  border-top: 1px solid rgba(143, 77, 46, 0.14);
  padding: 24px 0 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
}
.page-hero { padding: 56px 0 24px; }
.page-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  align-items: start;
}
.page-summary {
  padding: 30px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.page-logo-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.page-logo,
.page-fallback {
  width: 88px;
  height: 88px;
  padding: 14px;
}
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 700;
}
.page-panel {
  padding: 28px;
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)), linear-gradient(160deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: var(--shadow);
}
.page-panel p { color: rgba(255, 255, 255, 0.9); }
.page-panel .metric-value { color: #fff; }
.detail-card,
.feature-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .page-layout { grid-template-columns: 1fr; }
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .topnav { width: 100%; }
}
@media (max-width: 640px) {
  .topbar-inner,
  .section-inner,
  .footer-inner { width: min(100% - 20px, 1120px); }
  .hero,
  .page-hero { padding-top: 36px; }
  .hero-copy,
  .hero-panel,
  .section-panel,
  .page-summary,
  .page-panel { padding: 22px; }
  .stat-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .button,
  .button-secondary { width: 100%; }
}
