@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@400;500;600&display=swap");

:root {
  --bg: #f4efe6;
  --paper: #fbf7f0;
  --ink: #16120f;
  --muted: #73695f;
  --rule: rgba(22, 18, 15, 0.12);
  --rule-strong: rgba(22, 18, 15, 0.24);
  --accent: #8f6b44;
  --serif: "Cormorant Garamond", serif;
  --sans: "Manrope", sans-serif;
  --page: min(1380px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0) 18%),
    linear-gradient(180deg, #f8f4ec 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(22, 18, 15, 0.024) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 18, 15, 0.02) 1px, transparent 1px);
  background-size: 28px 100%, 100% 28px;
  opacity: 0.45;
}

a {
  color: inherit;
}

.page {
  width: var(--page);
  margin: 0 auto;
  padding: 12px 0 56px;
}

.masthead {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  padding: 16px 0 20px;
  border-bottom: 1px solid var(--rule-strong);
}

.sigillo-id {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sigillo-mark-image {
  width: 56px;
  height: 56px;
  flex: none;
}

.sigillo-name {
  display: grid;
  gap: 4px;
}

.sigillo-name strong,
.nav a,
.lang-switch a,
.lang-switch span,
.section-index,
.meta-line,
.recognition-number,
.footer,
.intro-kicker,
.hero-poster-meta,
.hero-poster-footer {
  font-family: var(--sans);
}

.sigillo-name strong {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.sigillo-name span,
.meta-line {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: space-between;
  gap: 14px 20px;
  align-items: flex-start;
  padding-top: 2px;
}

.nav-group,
.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.nav a,
.lang-switch a,
.lang-switch span {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav a.is-active,
.nav a:hover,
.lang-switch span.is-active,
.lang-switch a:hover {
  color: var(--ink);
}

.hero-stage,
.home-index,
.page-grid,
.page-intro {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--rule);
}

.section-label {
  display: grid;
  align-content: start;
  gap: 10px;
}

.section-index,
.recognition-number,
.intro-kicker,
.hero-poster-meta,
.hero-poster-footer {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-meta {
  display: grid;
  align-content: start;
  gap: 26px;
  padding-top: 18px;
}

.hero-meta-note {
  max-width: 18ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 42px;
  align-items: start;
}

.hero-copy {
  display: grid;
  gap: 18px;
  align-content: start;
  padding-top: 12px;
}

.hero-title,
.hero-statement,
.index-title,
.page-title,
.recognition-title,
.hero-poster-title {
  font-weight: 500;
}

.hero-title {
  max-width: 7ch;
  margin: 0;
  font-size: clamp(4.2rem, 8vw, 7.6rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
}

.hero-statement {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-note {
  max-width: 30ch;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.76;
}

.hero-poster {
  margin: 0;
  align-self: stretch;
}

.hero-poster-inner {
  min-height: 640px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 24px;
  padding: 26px;
  background: linear-gradient(180deg, #1e1814 0%, #120f0c 100%);
  color: #f2ebe0;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(28, 20, 10, 0.16);
}

.hero-poster-meta,
.hero-poster-footer {
  color: rgba(242, 235, 224, 0.72);
}

.hero-poster-mark {
  width: 88px;
  height: 88px;
  margin-left: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.hero-poster-title {
  align-self: center;
  margin: 0;
  font-size: clamp(4rem, 7vw, 6.8rem);
  line-height: 0.84;
  letter-spacing: -0.06em;
}

.hero-poster-footer {
  margin: 0;
  line-height: 1.8;
}

.motion-stage {
  overflow: clip;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 1.1s cubic-bezier(0.2, 0.65, 0.2, 1) forwards;
}

.reveal-1 { animation-delay: 0.08s; }
.reveal-2 { animation-delay: 0.2s; }
.reveal-3 { animation-delay: 0.34s; }
.reveal-4 { animation-delay: 0.5s; }
.reveal-5 { animation-delay: 0.68s; }
.reveal-6 { animation-delay: 0.84s; }
.reveal-7 { animation-delay: 1s; }

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.index-list,
.criteria-list,
.recognitions,
.section-body,
.page-body {
  display: grid;
}

.home-index {
  align-items: start;
  padding-top: 22px;
}

.index-item {
  display: grid;
  grid-template-columns: 74px minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 20px 24px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
}

.index-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.index-title {
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.index-copy {
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.section-body {
  gap: 20px;
}

.section-body.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

.section-body p,
.section-body li,
.page-body p,
.contact-address,
.bio-note {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.8;
}

.page-intro {
  align-items: start;
  padding-top: 24px;
}

.page-title {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.page-body {
  gap: 20px;
  max-width: 40ch;
}

.criteria-item,
.recognition-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}

.recognition-title {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 2.2vw, 2.5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.contact-link {
  display: inline-block;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.contact-link:hover,
.index-item:hover .index-title {
  color: var(--accent);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .masthead,
  .hero-stage,
  .home-index,
  .page-grid,
  .page-intro {
    grid-template-columns: 1fr;
  }

  .nav,
  .nav-group {
    justify-content: flex-start;
  }

  .hero-main,
  .index-item,
  .section-body.two-col {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  :root {
    --page: min(100vw - 24px, 1380px);
  }

  .page {
    padding-top: 10px;
  }

  .masthead {
    padding: 14px 0 18px;
  }

  .sigillo-mark-image {
    width: 48px;
    height: 48px;
  }

  .hero-title {
    font-size: clamp(3.4rem, 16vw, 5.4rem);
  }

  .hero-statement {
    font-size: clamp(1.7rem, 10vw, 2.4rem);
  }

  .hero-poster-inner {
    min-height: 520px;
    padding: 20px;
  }

  .hero-poster-title {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .page-title {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero-note,
  .section-body p,
  .section-body li,
  .page-body p,
  .contact-address,
  .bio-note,
  .hero-meta-note {
    font-size: 1rem;
    line-height: 1.72;
  }

  .footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
