:root {
  --bg: #f5efe4;
  --bg-alt: rgba(255, 250, 243, 0.76);
  --panel: rgba(15, 40, 43, 0.9);
  --panel-soft: rgba(255, 255, 255, 0.56);
  --text: #122528;
  --muted: #55676a;
  --line: rgba(18, 37, 40, 0.12);
  --accent: #c96f4a;
  --accent-strong: #9f4d2b;
  --accent-soft: rgba(201, 111, 74, 0.14);
  --shadow: 0 22px 60px rgba(22, 28, 28, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 111, 74, 0.18), transparent 34%),
    radial-gradient(circle at 80% 18%, rgba(66, 110, 104, 0.22), transparent 28%),
    linear-gradient(180deg, #f7f1e7 0%, #efe5d6 100%);
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.68), transparent 92%);
  pointer-events: none;
  opacity: 0.55;
}

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

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

h1,
h2,
h3,
.brand-text {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

p {
  margin: 0;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header,
.hero,
.statement,
.site-footer,
.info-card,
.timeline-item,
.logo-strip,
.capability-list,
.signal-card {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(247, 241, 231, 0.8);
  box-shadow: var(--shadow);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #365f5d);
  box-shadow: 0 0 0 8px rgba(201, 111, 74, 0.12);
}

.brand-text {
  font-size: 1.1rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.section {
  padding-top: 88px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: center;
  min-height: min(820px, calc(100vh - 180px));
}

.hero-copy,
.hero-visual {
  animation: rise 0.8s ease-out both;
}

.hero-visual {
  animation-delay: 0.12s;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5.6vw, 4.8rem);
}

.hero-intro,
.timeline-body p,
.info-card p:last-child,
.footer-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-intro {
  max-width: 56ch;
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: #fff8ef;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 16px 28px rgba(159, 77, 43, 0.24);
}

.button-secondary {
  border-color: rgba(18, 37, 40, 0.16);
  background: rgba(255, 255, 255, 0.36);
}

.hero-pills,
.capability-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills li,
.capability-list li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(18, 37, 40, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  color: var(--text);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 18px;
  justify-items: end;
}

.portrait-frame {
  position: relative;
  width: min(100%, 430px);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.24)),
    linear-gradient(135deg, rgba(201, 111, 74, 0.15), rgba(54, 95, 93, 0.12));
  box-shadow: var(--shadow);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: auto -32px -28px auto;
  width: 168px;
  height: 168px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(201, 111, 74, 0.2), rgba(54, 95, 93, 0.28));
  z-index: -1;
  transform: rotate(10deg);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border-radius: 24px;
}

.signal-card {
  width: min(100%, 360px);
  padding: 16px 18px;
  border: 1px solid rgba(18, 37, 40, 0.09);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.signal-label {
  margin-bottom: 8px;
  color: rgba(255, 248, 239, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.signal-copy {
  color: #fff8ef;
  font-size: 0.95rem;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 720px;
}

.section-heading h2,
.footer-copy h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.section-heading-compact h2 {
  max-width: 14ch;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.info-card,
.timeline-item,
.site-footer,
.logo-strip,
.capability-list {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: var(--bg-alt);
  box-shadow: var(--shadow);
}

.info-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  animation: rise 0.8s ease-out both;
}

.info-card:nth-child(2) {
  animation-delay: 0.08s;
}

.info-card:nth-child(3) {
  animation-delay: 0.16s;
}

.info-card:nth-child(4) {
  animation-delay: 0.24s;
}

.card-index {
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.info-card h3,
.timeline-body h3 {
  margin-bottom: 12px;
  font-size: 1.6rem;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
  border-radius: var(--radius-xl);
}

.timeline-meta {
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.timeline-meta p {
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-meta span {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.capability-list {
  gap: 12px;
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius-xl);
}

.logos-section {
  padding-bottom: 20px;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.logo-strip img {
  width: 100%;
  max-height: 52px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.08) opacity(0.9);
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: 30px;
}

.footer-copy {
  max-width: 640px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-visual {
    justify-items: start;
  }

  .timeline-meta {
    padding-right: 0;
    padding-bottom: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 24px;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .section {
    padding-top: 64px;
  }

  .hero {
    gap: 28px;
  }

  .hero h1,
  .section-heading h2,
  .statement h2,
  .footer-copy h2 {
    max-width: none;
  }

  .card-grid,
  .logo-strip {
    grid-template-columns: 1fr;
  }

  .statement,
  .site-footer,
  .info-card,
  .timeline-item,
  .capability-list,
  .logo-strip {
    padding: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-pills,
  .capability-list {
    gap: 8px;
  }
}
