/*
Theme Name: Cihat Lux
Theme URI: https://doenmez.net/
Author: Codex
Author URI: https://openai.com/
Description: A dark editorial personal WordPress theme for Cihat Dönmez with a cinematic front page, popup contact form, and combined legal page.
Version: 2.9.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cihat-lux
*/

:root {
  --cd-bg: #000000;
  --cd-bg-soft: #060606;
  --cd-text: #f4f1ea;
  --cd-muted: rgba(244, 241, 234, 0.58);
  --cd-faint: rgba(244, 241, 234, 0.14);
  --cd-red: #ef3b2d;
  --cd-max: 1280px;
  --cd-pad: clamp(20px, 5vw, 78px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cd-bg);
  color: var(--cd-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.cd-modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
}

.cd-site {
  min-height: 100svh;
  background: var(--cd-bg);
}

.cd-header {
  display: none;
}

.cd-header.is-scrolled {
  background: rgba(3, 3, 3, 0.78);
  border-bottom: 1px solid rgba(244, 241, 234, 0.08);
  backdrop-filter: blur(18px);
  padding-top: 14px;
  padding-bottom: 14px;
}

.cd-header__inner {
  width: min(var(--cd-max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.cd-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
  justify-self: center;
}

.cd-brand__logo {
  display: block;
  width: clamp(132px, 12vw, 198px);
  height: auto;
  filter: invert(1) brightness(1.18);
  transform-origin: center;
  animation: cdLogoBreathe 7s ease-in-out infinite;
}

.cd-brand__icon {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
}

.cd-header__spacer {
  justify-self: end;
}

.cd-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  color: var(--cd-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  justify-self: end;
}

.cd-header__inner::before {
  content: "";
  justify-self: start;
}

.cd-nav a,
.cd-nav button {
  color: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cd-nav a:hover,
.cd-nav button:hover {
  color: var(--cd-text);
}

@keyframes cdLogoBreathe {
  0%,
  100% {
    opacity: 0.92;
    transform: translateY(0) scale(1);
    filter: invert(1) brightness(1.12);
  }
  50% {
    opacity: 1;
    transform: translateY(1px) scale(1.025);
    filter: invert(1) brightness(1.32);
  }
}

.cd-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: #000000;
}

.cd-hero__visual {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, 100vw);
  height: min(880px, 80vh);
  z-index: -4;
  overflow: hidden;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  pointer-events: none;
}

.cd-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  overflow: hidden;
  transition: opacity 1.6s cubic-bezier(.16, 1, .3, 1);
  transform: none;
  will-change: opacity;
}

.cd-hero__photo.is-active {
  opacity: 1;
  transform: none;
}

.cd-hero__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: 50% 0%;
  opacity: 0.82;
  filter: grayscale(1) contrast(1.12) brightness(0.86) drop-shadow(0 34px 90px rgba(0, 0, 0, 0.84));
  display: block;
}

.cd-hero__photo--photo img {
  width: 100%;
  height: 100%;
  opacity: 0.82;
  filter: grayscale(1) contrast(1.12) brightness(0.86) drop-shadow(0 34px 90px rgba(0, 0, 0, 0.84));
}

.cd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 50% 30%, rgba(239, 59, 45, 0.035), transparent 20%),
    linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.28) 24%, rgba(0, 0, 0, 0.03) 50%, rgba(0, 0, 0, 0.28) 76%, #000000 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.12) 52%, #000000 90%);
}

.cd-hero__inner::before {
  content: "";
  position: absolute;
  left: var(--cd-pad);
  bottom: clamp(150px, 18vh, 210px);
  width: min(520px, calc(100% - var(--cd-pad) - var(--cd-pad)));
  height: 1px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(244, 241, 234, 0.2), rgba(244, 241, 234, 0.08), transparent);
}

.cd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 241, 234, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, 0.018) 1px, transparent 1px);
  background-size: 86px 86px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black, transparent 68%);
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 68%);
  opacity: 0.32;
}

.cd-hero__inner {
  position: relative;
  width: min(var(--cd-max), 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(72px, 9vh, 112px) var(--cd-pad) clamp(38px, 6vh, 72px);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: clamp(48px, 8vh, 96px);
}

.cd-hero__content {
  align-self: end;
  width: min(780px, 100%);
  transform: translateY(-2.5vh);
}

.cd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(22px, 3vw, 34px);
  color: var(--cd-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cd-kicker::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--cd-red);
}

.cd-title {
  margin: 0;
  font-size: clamp(48px, 6.4vw, 104px);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: lowercase;
}

.cd-title > span {
  display: block;
}

.cd-title__dynamic {
  display: flex;
  align-items: center;
  gap: 0.18em;
  width: min(100%, 1080px);
  margin-top: 0.1em;
  font-size: clamp(42px, 5.5vw, 96px);
  line-height: 0.94;
  white-space: nowrap;
}

.cd-say,
.cd-separator,
.cd-word-slot,
.cd-word {
  display: inline-flex;
  align-items: center;
}

.cd-say {
  color: var(--cd-text);
}

.cd-separator {
  color: var(--cd-red);
  font-weight: 800;
  transform: translateY(-0.02em);
}

.cd-word-slot {
  position: relative;
  width: min(16.2ch, calc(100vw - var(--cd-pad) - var(--cd-pad) - 3.8ch));
  height: 1.04em;
  overflow: hidden;
  vertical-align: top;
}

.cd-word {
  gap: 0.12em;
  max-width: 100%;
  color: rgba(244, 241, 234, 0.62);
  line-height: 1;
  filter: blur(0);
  transition:
    opacity 0.16s ease,
    color 0.2s ease,
    filter 0.16s ease,
    transform 0.16s cubic-bezier(.19, 1, .22, 1),
    text-shadow 0.32s ease;
  will-change: opacity, transform, filter;
}

.cd-word.is-leaving {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(-1.06em) skewY(-4deg);
}

.cd-word.is-entering {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(1.06em) skewY(4deg);
}

.cd-word.is-long {
  color: rgba(244, 241, 234, 0.58);
  font-size: 0.72em;
}

.cd-word.is-featured {
  color: rgba(244, 241, 234, 0.82);
  text-shadow: 0 0 36px rgba(239, 59, 45, 0.16), 0 16px 72px rgba(244, 241, 234, 0.09);
  transition-duration: 0.62s;
}

.cd-word.is-featured.is-entering {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(0.34em) scale(0.94);
}

.cd-word.is-featured.is-leaving {
  opacity: 0;
  filter: blur(9px);
  transform: translateY(-0.38em) scale(1.035);
}

.cd-word.is-featured::before {
  content: "";
  width: 0.08em;
  height: 0.72em;
  margin-right: 0.14em;
  background: var(--cd-red);
  box-shadow: 0 0 22px rgba(239, 59, 45, 0.42);
  transform: translateY(0.02em);
}

.cd-word::after {
  content: none;
}

.cd-flag {
  display: inline-block;
  font-size: 0.34em;
  line-height: 1;
  transform: translateY(-0.12em);
  filter: drop-shadow(0 0 18px rgba(239, 59, 45, 0.18));
}

.cd-actions {
  margin-top: clamp(30px, 4vw, 52px);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.cd-button {
  min-width: 196px;
  height: 58px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  background: rgba(244, 241, 234, 0.08);
  color: var(--cd-text);
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.cd-button:hover {
  transform: translateY(-3px);
  background: var(--cd-red);
  box-shadow: 0 20px 60px rgba(239, 59, 45, 0.28);
}

.cd-button svg,
.cd-icon-link svg,
.cd-modal__close svg,
.cd-submit svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cd-action-note {
  color: var(--cd-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cd-era {
  position: relative;
  width: min(820px, 100%);
  padding-top: 8px;
  color: rgba(244, 241, 234, 0.72);
  font-variant-numeric: tabular-nums;
  user-select: none;
}

.cd-era::before {
  content: "";
  position: absolute;
  inset: 40% auto auto 50%;
  width: clamp(150px, 18vw, 280px);
  height: clamp(150px, 18vw, 280px);
  border: 1px solid rgba(244, 241, 234, 0.07);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  opacity: 0.8;
  pointer-events: none;
}

.cd-era__date,
.cd-era__caption {
  display: flex;
  align-items: center;
  color: rgba(244, 241, 234, 0.38);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cd-era__date::before,
.cd-era__caption::after {
  content: "";
  width: 34px;
  height: 1px;
  margin-right: 12px;
  background: rgba(244, 241, 234, 0.18);
}

.cd-era__caption {
  justify-content: flex-end;
  margin-top: 18px;
  color: rgba(244, 241, 234, 0.24);
}

.cd-era__caption::after {
  margin-right: 0;
  margin-left: 12px;
}

.cd-era__years {
  display: grid;
  grid-template-columns: auto minmax(72px, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  margin-top: 10px;
}

.cd-era__years strong {
  display: block;
  color: rgba(244, 241, 234, 0.18);
  font-size: clamp(54px, 8.4vw, 132px);
  line-height: 0.78;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 28px 96px rgba(244, 241, 234, 0.06);
}

.cd-era__years span {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(244, 241, 234, 0.11);
}

.cd-era__years span::before,
.cd-era__years span::after {
  content: "";
  position: absolute;
  top: 50%;
  border-radius: 999px;
  transform: translateY(-50%);
}

.cd-era__years span::before {
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 241, 234, 0.34), transparent);
}

.cd-era__years span::after {
  left: 50%;
  width: 7px;
  height: 7px;
  background: rgba(244, 241, 234, 0.58);
  box-shadow: 0 0 26px rgba(244, 241, 234, 0.2);
  animation: cdEraDrift 5.4s cubic-bezier(.45, 0, .2, 1) infinite alternate;
}

.cd-era__years i {
  position: absolute;
  inset: 50% auto auto 50%;
  width: clamp(42px, 5vw, 72px);
  height: clamp(42px, 5vw, 72px);
  border: 1px solid rgba(244, 241, 234, 0.08);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

@keyframes cdEraDrift {
  0% {
    left: 12%;
    opacity: 0.22;
  }

  42% {
    opacity: 0.82;
  }

  100% {
    left: 88%;
    opacity: 0.26;
  }
}

.cd-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.cd-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cd-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 3, 0.74);
  backdrop-filter: blur(18px);
}

.cd-modal__dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: 92svh;
  overflow: auto;
  background: #080808;
  border: 1px solid rgba(244, 241, 234, 0.18);
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.7);
  padding: clamp(28px, 4vw, 54px);
}

.cd-modal__dialog--legal {
  width: min(940px, 100%);
}

.cd-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.cd-modal__title {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: 0;
}

.cd-modal__close {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 241, 234, 0.18);
  background: transparent;
  color: var(--cd-text);
  cursor: pointer;
  flex: 0 0 auto;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.cd-modal__close:hover {
  transform: rotate(90deg);
  border-color: var(--cd-red);
}

.cd-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 28px;
}

.cd-field {
  position: relative;
  min-width: 0;
}

.cd-field--full {
  grid-column: 1 / -1;
}

.cd-field--spam {
  grid-column: 1 / -1;
  max-width: 280px;
}

.cd-field input,
.cd-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.2);
  border-radius: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  padding: 16px 0 14px;
  color: var(--cd-text);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
}

.cd-field input[type="number"] {
  appearance: textfield;
}

.cd-field input[type="number"]::-webkit-outer-spin-button,
.cd-field input[type="number"]::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.cd-field textarea {
  min-height: 138px;
  resize: vertical;
}

.cd-field label {
  position: absolute;
  left: 0;
  top: 16px;
  color: rgba(244, 241, 234, 0.42);
  font-size: 16px;
  pointer-events: none;
  transition: 0.22s ease;
}

.cd-field input:focus,
.cd-field textarea:focus {
  border-bottom-color: var(--cd-red);
}

.cd-field input:focus + label,
.cd-field textarea:focus + label,
.cd-field input:not(:placeholder-shown) + label,
.cd-field textarea:not(:placeholder-shown) + label {
  top: -13px;
  color: var(--cd-text);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cd-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cd-privacy {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(244, 241, 234, 0.48);
  font-size: 13px;
  line-height: 1.55;
}

.cd-privacy input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--cd-red);
  flex: 0 0 auto;
}

.cd-privacy a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cd-submit {
  grid-column: 1 / -1;
  width: fit-content;
  min-width: 162px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid var(--cd-red);
  background: var(--cd-red);
  color: #fff;
  cursor: pointer;
  padding: 0 32px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cd-form-message {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--cd-muted);
  font-size: 13px;
  line-height: 1.6;
}

.cd-page {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(130px, 18vh, 200px) var(--cd-pad) clamp(70px, 10vh, 118px);
}

.cd-page h1 {
  margin: 0 0 46px;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.84;
  letter-spacing: 0;
}

.cd-legal {
  display: grid;
  gap: 46px;
  color: rgba(244, 241, 234, 0.72);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.75;
}

.cd-legal section {
  border-top: 1px solid rgba(244, 241, 234, 0.12);
  padding-top: 30px;
}

.cd-legal h2,
.cd-legal h3 {
  color: var(--cd-text);
  line-height: 1.05;
  letter-spacing: 0;
}

.cd-legal h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 4vw, 48px);
}

.cd-legal h3 {
  margin: 28px 0 10px;
  font-size: 20px;
}

.cd-legal p,
.cd-legal ul {
  margin: 0 0 18px;
}

.cd-legal ul {
  padding-left: 1.1em;
}

.cd-legal a {
  color: var(--cd-text);
  text-underline-offset: 4px;
}

.cd-legal--modal {
  gap: 34px;
  font-size: 15px;
  line-height: 1.7;
}

.cd-legal--modal h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.cd-legal--modal h3 {
  font-size: 16px;
}

.cd-footer {
  border-top: 1px solid rgba(244, 241, 234, 0.08);
  background: var(--cd-bg);
  color: var(--cd-muted);
  padding: 26px var(--cd-pad);
}

.cd-footer__inner {
  width: min(var(--cd-max), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cd-footer strong {
  color: var(--cd-text);
}

.cd-footer__copy {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(244, 241, 234, 0.54);
}

.cd-footer__logo {
  width: clamp(112px, 11vw, 172px);
  height: auto;
  display: inline-block;
  filter: invert(1) brightness(1.12);
  opacity: 0.82;
  margin-right: 4px;
}

.cd-footer__links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cd-icon-link,
.cd-footer__text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cd-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cd-icon-link {
  width: 20px;
  height: 20px;
  opacity: 0.72;
}

.cd-icon-link svg {
  width: 15px;
  height: 15px;
}

.cd-icon-link:hover,
.cd-footer__text-link:hover {
  color: var(--cd-text);
}

.cd-footer__text-link {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .cd-hero__visual {
    top: 0;
    width: min(920px, 116vw);
    height: min(680px, 62vh);
  }

  .cd-hero__photo {
    opacity: 0;
  }

  .cd-hero__photo.is-active {
    opacity: 1;
  }

  .cd-hero__photo img,
  .cd-hero__photo--photo img {
    width: 100%;
    height: 100%;
    object-position: 50% 0%;
    opacity: 0.82;
  }

  .cd-hero::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.54) 58%, #000000 88%),
      linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.02) 50%, #000000 100%);
  }

  .cd-hero__content {
    align-self: end;
    padding-top: 46svh;
    transform: none;
  }

  .cd-title {
    font-size: clamp(46px, 12.6vw, 92px);
  }

  .cd-title__dynamic {
    font-size: clamp(38px, 10.4vw, 82px);
  }

  .cd-era {
    width: min(640px, 100%);
  }
}

@media (max-width: 680px) {
  .cd-header {
    padding-top: 20px;
    padding-bottom: 16px;
  }

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

  .cd-brand__logo {
    display: none;
  }

  .cd-brand__icon {
    display: block;
  }

  .cd-nav {
    gap: 16px;
    font-size: 10px;
  }

  .cd-nav a[href*="impressum"] {
    display: none;
  }

  .cd-hero__inner {
    padding: 98px 20px 38px;
    gap: 34px;
  }

  .cd-hero__visual {
    top: 0;
    width: min(620px, 124vw);
    height: 480px;
  }

  .cd-hero__photo img,
  .cd-hero__photo--photo img {
    width: 100%;
    height: 100%;
    object-position: 50% 0%;
  }

  .cd-title__dynamic {
    gap: 0.16em;
    max-width: 100%;
    white-space: nowrap;
  }

  .cd-word-slot {
    width: min(16.2ch, calc(100vw - 40px - 3.6ch));
  }

  .cd-word {
    max-width: 100%;
    overflow: hidden;
    text-overflow: clip;
  }

  .cd-word.is-long {
    letter-spacing: 0;
    font-size: 0.62em;
  }

  .cd-button {
    width: 100%;
  }

  .cd-action-note {
    width: 100%;
    text-align: center;
    font-size: 11px;
  }

  .cd-footer {
    padding: 34px 20px 38px;
  }

  .cd-footer__inner {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .cd-footer__copy {
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    width: 100%;
    font-size: 12px;
  }

  .cd-footer__copy > span {
    display: block;
  }

  .cd-footer__copy > span:last-child {
    font-size: 13px !important;
  }

  .cd-footer__logo {
    width: 138px;
    margin: 0 0 4px;
  }

  .cd-footer__links {
    justify-content: center;
    gap: 18px;
    width: 100%;
    margin-top: 0;
    flex-wrap: wrap;
  }

  .cd-icon-link {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(244, 241, 234, 0.1);
  }

  .cd-footer__text-link {
    width: 100%;
    margin-top: 2px;
    justify-content: center;
    font-size: 9px;
  }

  .cd-era {
    width: 100%;
  }

  .cd-era__years {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
  }

  .cd-era__years strong {
    font-size: clamp(44px, 17vw, 76px);
  }

  .cd-era__years span {
    width: min(220px, 52vw);
    justify-self: center;
  }

  .cd-era__caption {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .cd-modal {
    padding: 12px;
  }

  .cd-modal__dialog {
    padding: 28px 20px;
  }

  .cd-form {
    grid-template-columns: 1fr;
  }

  .cd-submit {
    width: 100%;
  }
}

.grecaptcha-badge {
  display: none !important;
}
