:root {
  --cream: #f7f3ee;
  --cream-dark: #ebe4da;
  --paper: #fffcf8;
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #78716c;
  --copper: #b45309;
  --copper-light: #d97706;
  --copper-bg: rgba(180, 83, 9, 0.08);
  --forest: #166534;
  --forest-bg: rgba(22, 101, 52, 0.07);
  --line: #d6cfc4;
  --line-dark: #a8a29e;
  --dark: #292524;
  --dark-surface: #1c1917;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(28, 25, 23, 0.06), 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 8px 24px rgba(28, 25, 23, 0.08), 0 2px 6px rgba(28, 25, 23, 0.05);
  --shadow-lg: 0 16px 40px rgba(28, 25, 23, 0.12), 0 4px 12px rgba(28, 25, 23, 0.06);
  --shadow-dark: 0 16px 40px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.2);
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

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

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

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ── Top bar ── */
.topbar {
  background: var(--dark);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding-block: 0.55rem;
}

.topbar__inner span {
  opacity: 0.85;
}

.topbar__inner a {
  color: var(--copper-light);
  font-weight: 500;
}

.topbar__inner a:hover {
  text-decoration: underline;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.header__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
}

.header__nav {
  display: flex;
  gap: 1.5rem;
}

.header__nav--right {
  justify-content: flex-end;
}

.header__nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s;
}

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

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.15rem;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo strong {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.menu-btn {
  display: none;
  grid-column: 3;
  justify-self: end;
  appearance: none;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}

/* ── Hero ── */
.hero {
  padding-block: clamp(3rem, 8vw, 6.5rem);
  border-bottom: 2px solid var(--ink);
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.hero__label {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.3rem 0;
  border-top: 2px solid var(--copper);
  border-bottom: 2px solid var(--copper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero__title span {
  display: block;
  font-style: italic;
  color: var(--copper);
}

.hero__text {
  margin: 0 0 2rem;
  max-width: 48ch;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn--fill {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--paper);
}

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

.btn--outline {
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero__aside {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero__aside-title {
  margin: 0 0 1.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.stat-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.stat-list li:first-child {
  border-top: 1px solid var(--line);
}

.stat-list__num {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.5rem;
  color: var(--copper);
  line-height: 1;
}

.stat-list__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-list__value {
  grid-column: 2;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  margin-top: -0.5rem;
}

/* ── Marquee strip ── */
.strip {
  background: var(--copper);
  color: var(--paper);
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}

.strip__track {
  display: flex;
  gap: 3rem;
  padding-block: 0.85rem;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.strip__track span {
  flex-shrink: 0;
}

.strip__track span::after {
  content: "◆";
  margin-left: 3rem;
  opacity: 0.5;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Sections ── */
.section {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

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

.section--dark .section__lead {
  color: rgba(247, 243, 238, 0.65);
}

.section__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid currentColor;
  opacity: 0.9;
}

.section--dark .section__header {
  border-color: rgba(247, 243, 238, 0.25);
}

.section__num {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--copper-light);
  opacity: 0.35;
}

.section--dark .section__num {
  color: var(--copper-light);
}

.section__title {
  margin: 0 0 0.75rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
}

.section__lead {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

/* ── Bento grid ── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 1.25rem;
}

.bento__item {
  background: var(--paper);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}

.bento__item:hover {
  background: var(--copper-bg);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.bento__item--wide {
  grid-column: span 6;
}

.bento__item--tall {
  grid-column: span 4;
  grid-row: span 2;
}

.bento__item--half {
  grid-column: span 6;
}

.bento__item--third {
  grid-column: span 4;
}

.bento__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.75rem;
}

.bento__item h3 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
}

.bento__item p {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.bento__item--featured {
  background: var(--forest-bg);
  grid-column: span 6;
}

.bento__item--featured h3 {
  font-size: 1.75rem;
}

/* ── Company layout ── */
.company {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(247, 243, 238, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark);
}

.company__sidebar {
  background: rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border-right: 1px solid rgba(247, 243, 238, 0.15);
}

.company__sidebar h3 {
  margin: 0 0 1.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-light);
}

.contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.contact-links li {
  display: grid;
  gap: 0.2rem;
}

.contact-links span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 243, 238, 0.5);
}

.contact-links a {
  color: var(--cream);
  font-weight: 500;
  border-bottom: 1px solid rgba(217, 119, 6, 0.4);
  width: fit-content;
}

.contact-links li > span:last-child:not(:first-child) {
  color: var(--cream);
  font-weight: 500;
}

.contact-links a:hover {
  color: var(--copper-light);
  border-color: var(--copper-light);
}

.company__main {
  padding: 2rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(247, 243, 238, 0.12);
  vertical-align: top;
}

.data-table th {
  width: 38%;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 243, 238, 0.5);
  padding-right: 1.5rem;
}

.data-table td {
  font-size: 0.92rem;
  color: var(--cream);
}

.activity-block {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(247, 243, 238, 0.15);
}

.activity-block h4 {
  margin: 0 0 1rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.activity-grid li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.85rem;
  color: rgba(247, 243, 238, 0.75);
  line-height: 1.45;
}

.activity-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--copper-light);
  border-radius: 50%;
}

.note {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(247, 243, 238, 0.08);
  border-left: 3px solid var(--copper-light);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 rgba(247, 243, 238, 0.05);
  font-size: 0.82rem;
  color: rgba(247, 243, 238, 0.6);
  line-height: 1.55;
}

.note strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-light);
}

/* ── CTA ── */
.cta {
  padding-block: 4rem;
  background: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta__inner h2 {
  margin: 0 0 0.35rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
}

.cta__inner p {
  margin: 0;
  color: var(--muted);
}

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding-block: 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: start;
}

.footer__brand {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.25rem;
}

.footer__brand small {
  display: block;
  margin-top: 0.35rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.78rem;
  color: rgba(247, 243, 238, 0.5);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 243, 238, 0.65);
}

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

.footer__copy {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247, 243, 238, 0.12);
  font-size: 0.78rem;
  color: rgba(247, 243, 238, 0.45);
}

/* ── Legal pages ── */
.legal-page {
  padding-block: clamp(3rem, 6vw, 5rem);
  min-height: 50vh;
}

.legal-page__wrap {
  max-width: 760px;
  margin-inline: auto;
}

.legal-page__title {
  margin: 0 0 2rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  text-align: center;
}

.legal-page__sections {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.legal-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.legal-card h2 {
  margin: 0 0 1rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  text-align: center;
}

.legal-card p,
.legal-card li {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
  text-align: justify;
}

.legal-card p:last-child,
.legal-card ul:last-child,
.legal-card li:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-card li {
  margin-bottom: 0.5rem;
}

.legal-card a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-card a:hover {
  color: var(--copper-light);
}

/* ── Mobile nav ── */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.mobile-nav a {
  padding: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mobile-nav[data-open="0"] {
  display: none;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__aside {
    margin-top: 0.5rem;
  }

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

  .section__num {
    font-size: 2.5rem;
  }

  .bento__item--wide,
  .bento__item--tall,
  .bento__item--half,
  .bento__item--third,
  .bento__item--featured {
    grid-column: span 12;
    grid-row: span 1;
  }

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

  .company__sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(247, 243, 238, 0.15);
  }

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

@media (max-width: 768px) {
  .header__nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .header__row {
    grid-template-columns: 1fr auto;
  }

  .logo {
    grid-column: 1;
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
    gap: 0.65rem;
  }

  .mobile-nav[data-open="1"] {
    display: flex;
  }

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

  .footer__links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip__track { animation: none; }
  *, *::before, *::after {
    transition: none !important;
    transform: none !important;
  }
}
