:root {
  --ink: #161310;
  --muted: #6a6258;
  --line: rgba(28, 22, 16, 0.14);
  --paper: #ebe4d8;
  --card: rgba(255, 250, 242, 0.78);
  --orange: #e85d04;
  --orange-deep: #b83d00;
  --orange-soft: #f07a2a;
  --smog: rgba(55, 48, 40, 0.38);
  --focus: #161310;
}

* {
  box-sizing: border-box;
}

html {
  background: #2a241e;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Public Sans", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
  background:
    radial-gradient(ellipse 120% 70% at 50% -10%, rgba(232, 93, 4, 0.42), transparent 55%),
    radial-gradient(ellipse 90% 55% at 80% 20%, rgba(70, 58, 45, 0.35), transparent 50%),
    radial-gradient(ellipse 80% 50% at 10% 40%, rgba(40, 36, 32, 0.28), transparent 45%),
    linear-gradient(180deg, #d8cfc0 0%, var(--paper) 38%, #cfc3b2 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 26, 22, 0.18) 0%,
    transparent 28%,
    transparent 72%,
    rgba(30, 26, 22, 0.22) 100%
  );
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.1rem 4rem;
  overflow-x: clip;
}

.hero {
  text-align: center;
  padding: 1.1rem 0 0.35rem;
}

.mark {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3.4rem, 14vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 28px rgba(40, 30, 20, 0.28);
  animation: rise 0.7s ease-out both;
}

.mark span {
  display: block;
}

.domain {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  animation: rise 0.7s ease-out 0.08s both;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.35rem;
  animation: rise 0.7s ease-out 0.16s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.7rem 0.9rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  border: 2px solid var(--orange-deep);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(40, 28, 16, 0.22);
}

.btn-primary {
  background: linear-gradient(180deg, var(--orange-soft), var(--orange));
  color: var(--ink);
  border-color: var(--orange-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-secondary {
  background: rgba(255, 250, 242, 0.72);
  color: var(--orange-deep);
  backdrop-filter: blur(4px);
}

.now {
  margin: 0.75rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  animation: rise 0.7s ease-out 0.22s both;
}

.now a {
  color: var(--ink);
  font-weight: 700;
}

.panel {
  margin-top: 2rem;
  padding: 1.2rem 1.1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(40, 30, 20, 0.12);
}

.panel h2 {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.panel .lede,
.panel p {
  margin: 0.65rem 0 0;
  color: #3a342c;
}

.article h2 {
  font-size: clamp(1.85rem, 6.5vw, 2.35rem);
  line-height: 1;
}

.article .kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.article .lede {
  margin-top: 0.75rem;
  font-size: 1.08rem;
  color: #2f2a24;
}

.article h3 {
  margin: 1.35rem 0 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.article p + p {
  margin-top: 0.75rem;
}

.article .db {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.85rem;
  background: rgba(40, 32, 24, 0.06);
  border-left: 4px solid var(--orange);
  font-size: 0.95rem;
}

.article .db p {
  margin: 0.35rem 0 0;
}

.article .db p:first-child {
  margin-top: 0;
}

.article .close {
  margin-top: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.article .close a {
  color: var(--orange-deep);
}

.article + .article {
  margin-top: 1.35rem;
}

.clip {
  margin: 0.9rem 0 0;
  background: #14110e;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  max-width: 100%;
}

.clip video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0d0b09;
  vertical-align: middle;
}

.clip-caption {
  margin: 0;
  padding: 0.55rem 1.1rem 0.15rem;
  color: #a89884;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clip-disclaimer {
  margin: 0;
  padding: 0 1.1rem 0.7rem;
  color: #8a7d6c;
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.ferret-art {
  position: relative;
  margin: 0.9rem -1.1rem 0;
  overflow: hidden;
  background: #2a241e;
}

.ferret-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 34rem);
  object-fit: cover;
  object-position: center 18%;
  filter: contrast(1.04) saturate(0.92);
}

.ferret-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(42, 36, 30, 0.55) 45%,
    rgba(22, 18, 14, 0.92)
  );
  pointer-events: none;
}

.ferret-art figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.7rem;
  z-index: 1;
  margin: 0;
  color: #e8dcc8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.tailpipe {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0.25rem;
  padding: 0.7rem 0.85rem;
  background: linear-gradient(180deg, #2a241e, #1a1612);
  border: 1px solid #3d342c;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 18px rgba(20, 14, 10, 0.25);
  overflow: hidden;
}

.tailpipe-btn {
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: radial-gradient(circle at 35% 30%, var(--orange-soft), var(--orange-deep));
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.25);
}

.tailpipe-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.tailpipe-meta {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.tailpipe-label {
  margin: 0;
  color: #f3e7d6;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tailpipe-hint {
  margin: 0.15rem 0 0;
  color: #a89884;
  font-size: 0.75rem;
}

.tailpipe audio {
  display: none;
}

.smoke {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  width: 5.5rem;
  height: 2.2rem;
  pointer-events: none;
  opacity: 0.35;
}

.smoke i {
  position: absolute;
  bottom: 0.2rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 200, 190, 0.85), rgba(120, 110, 100, 0));
  filter: blur(1px);
  animation: puff 2.4s ease-out infinite;
  opacity: 0;
}

.tailpipe.is-playing .smoke {
  opacity: 0.9;
}

.tailpipe.is-playing .smoke i {
  animation-play-state: running;
}

.smoke i:nth-child(1) { left: 0.2rem; animation-delay: 0s; }
.smoke i:nth-child(2) { left: 0.9rem; width: 1.05rem; height: 1.05rem; animation-delay: 0.4s; }
.smoke i:nth-child(3) { left: 1.7rem; animation-delay: 0.8s; }
.smoke i:nth-child(4) { left: 2.5rem; width: 1.2rem; height: 1.2rem; animation-delay: 1.2s; }
.smoke i:nth-child(5) { left: 3.4rem; animation-delay: 1.6s; }

@keyframes puff {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }
  25% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translate(1.6rem, -0.9rem) scale(1.7);
  }
}

.poem .verse {
  margin: 1rem 0 0;
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #2f2a24;
}

.poem .verse p {
  margin: 0 0 1.05rem;
}

.poem .verse p:last-child {
  margin-bottom: 0;
}

.poem .ask {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.poem .ask a {
  color: var(--orange-deep);
  font-weight: 700;
}

.back {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}

.back:hover {
  color: var(--ink);
}

form {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

form[hidden] {
  display: none !important;
}

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
  padding: 0.65rem 0.7rem;
  border: 1px solid #c4b9a8;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 400;
}

.check input {
  margin-top: 0.25rem;
}

button.btn {
  cursor: pointer;
  width: 100%;
  font-family: inherit;
}

.fine {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.thanks {
  display: none;
  margin-top: 0.9rem;
  padding: 0.85rem 0.9rem;
  background: rgba(255, 236, 214, 0.85);
  border: 1px solid #e0b07a;
}

.thanks.show {
  display: block;
}

footer {
  margin-top: 2.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

footer a {
  color: var(--muted);
}

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

@media (max-width: 520px) {
  .actions {
    grid-template-columns: 1fr;
  }
}
