.etk-chichen-model-page {
  --etk-ink: #181512;
  --etk-muted: #6c6257;
  --etk-paper: #f5efe2;
  --etk-paper-warm: #ecdfca;
  --etk-white: #fffaf0;
  --etk-rust: #9f3e2b;
  --etk-rust-deep: #6f271f;
  --etk-sun: #e6aa35;
  --etk-line: rgba(24, 21, 18, 0.16);
  --etk-display: "Marcellus", Georgia, serif;
  --etk-sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  color: var(--etk-ink);
  background: var(--etk-paper);
  font-family: var(--etk-sans);
}

.etk-chichen-model-page .skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 9px 14px;
  color: var(--etk-ink);
  background: var(--etk-white);
  border-radius: 8px;
  transform: translateY(-160%);
}

.etk-chichen-model-page .skip-link:focus { transform: none; }

.etk-model-site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(1320px, calc(100% - 48px));
  min-height: 92px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--etk-line);
}

.etk-model-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-family: var(--etk-display);
  font-size: 0.92rem;
  line-height: 0.95;
  text-decoration: none;
}

.etk-model-brand img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.etk-model-site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
}

.etk-model-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--etk-muted);
}

.etk-model-language-switcher button {
  padding: 4px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.etk-model-language-switcher button[aria-pressed="true"] {
  color: var(--etk-rust-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.etk-model-site-header nav a {
  color: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.etk-model-site-header nav a:hover,
.etk-model-site-header nav a:focus-visible { color: var(--etk-rust); }

.etk-chichen-page { background: var(--etk-paper); }

.etk-chichen-intro,
.etk-chichen-method {
  display: grid;
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(48px, 8vw, 130px);
}

.etk-chichen-intro {
  min-height: 650px;
  align-items: center;
  padding-block: 110px;
}

.etk-chichen-eyebrow {
  margin: 0 0 20px;
  color: var(--etk-rust);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.etk-chichen-intro h1,
.etk-chichen-method h2 {
  margin: 0;
  font-family: var(--etk-display);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.etk-chichen-intro h1 {
  font-size: clamp(4rem, 8vw, 8.4rem);
  line-height: 0.84;
}

.etk-chichen-intro h1 em {
  color: var(--etk-rust);
  font-weight: 400;
}

.etk-chichen-lede {
  align-self: end;
  max-width: 590px;
  padding-bottom: 40px;
}

.etk-chichen-lede p,
.etk-chichen-method-copy p {
  margin: 0;
  color: var(--etk-muted);
  font-size: clamp(1.04rem, 1.45vw, 1.25rem);
  line-height: 1.65;
}

.etk-chichen-lede p + p,
.etk-chichen-method-copy p + p { margin-top: 20px; }

.etk-chichen-lede a {
  display: inline-flex;
  margin-top: 34px;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  color: var(--etk-rust-deep);
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  text-decoration: none;
}

.etk-chichen-model-section {
  padding: clamp(16px, 2.6vw, 38px);
  background: var(--etk-rust-deep);
  border-radius: 42px 42px 0 0;
}

.etk-chichen-embed {
  width: min(1440px, 100%);
  margin-inline: auto;
  padding: 8px;
  background: var(--etk-paper-warm);
  border: 1px solid rgba(255, 250, 240, 0.3);
  border-radius: 26px;
  box-shadow: 0 40px 90px rgba(32, 7, 5, 0.34);
}

.etk-chichen-frame {
  display: block;
  width: 100%;
  height: 1160px;
  background: var(--etk-paper);
  border: 0;
  border-radius: 18px;
}

.etk-chichen-method {
  padding-block: 130px 150px;
}

.etk-chichen-method h2 {
  max-width: 16ch;
  font-size: clamp(2.6rem, 5vw, 5.5rem);
  line-height: 0.98;
}

.etk-chichen-method-copy {
  padding-top: 42px;
  border-top: 1px solid var(--etk-line);
}

.etk-model-footer {
  display: flex;
  min-height: 190px;
  padding: 50px max(24px, calc((100% - 1240px) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--etk-white);
  background: var(--etk-rust-deep);
}

.etk-model-footer p {
  margin: 0;
  color: rgba(255, 250, 240, 0.7);
  text-align: right;
}

@media (max-width: 820px) {
  .etk-model-site-header { width: min(100% - 32px, 720px); }
  .etk-chichen-intro,
  .etk-chichen-method {
    width: min(100% - 32px, 720px);
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .etk-chichen-intro {
    min-height: auto;
    padding-block: 90px 80px;
  }
  .etk-chichen-lede { align-self: auto; padding-bottom: 0; }
  .etk-chichen-model-section { padding: 12px; border-radius: 26px 26px 0 0; }
  .etk-chichen-frame { height: 1220px; }
  .etk-chichen-method { padding-block: 90px 110px; }
}

@media (max-width: 520px) {
  .etk-model-site-header { min-height: 78px; }
  .etk-model-site-header nav { gap: 14px; }
  .etk-model-site-header nav a:nth-child(2) { display: none; }
  .etk-model-language-switcher { gap: 2px; }
  .etk-model-brand img { width: 42px; height: 42px; }
  .etk-chichen-intro h1 { font-size: clamp(3.25rem, 18vw, 5rem); }
  .etk-chichen-embed { padding: 4px; border-radius: 17px; }
  .etk-chichen-frame { height: 1300px; border-radius: 13px; }
  .etk-model-footer { align-items: flex-start; flex-direction: column; }
  .etk-model-footer p { text-align: left; }
}
