:root {
  --green-deep: #1a5b39;
  --green-bright: #79a63a;
  --yellow-bright: #f1c33d;
  --yellow-deep: #d59d12;
  --red-deep: #b0322c;
  --red-rust: #8f261f;
  --paper: #f5e8be;
  --paper-light: #fff4d7;
  --ink: #1d140d;
  --ink-soft: rgba(29, 20, 13, 0.72);
  --line: rgba(29, 20, 13, 0.18);
  --shadow: rgba(29, 20, 13, 0.22);
  --leaf-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath fill='%231a5b39' fill-opacity='0.2' d='M60 8 68 34 88 18 80 44 108 38 86 58 110 66 80 68 94 96 68 78 60 112 52 78 26 96 40 68 10 66 34 58 12 38 40 44 32 18 52 34Z'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Alegreya Sans", "Trebuchet MS", sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at top left, rgba(255, 246, 213, 0.55), transparent 24%),
    radial-gradient(circle at top right, rgba(26, 91, 57, 0.15), transparent 22%),
    linear-gradient(180deg, #dacd72 0%, #f0c347 26%, #d84c33 100%);
  overflow-x: hidden;
}

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

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

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    var(--leaf-pattern),
    radial-gradient(circle, rgba(29, 20, 13, 0.12) 1px, transparent 1.5px),
    linear-gradient(120deg, transparent 0 46%, rgba(29, 20, 13, 0.14) 49%, transparent 53%);
  background-size: 180px 180px, 15px 15px, 220px 220px;
  background-position: center, center, center;
  mix-blend-mode: multiply;
}

.site-header,
.section,
.site-footer,
.ticker {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1rem 0 0.6rem;
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 28rem;
}

.brand__seal {
  display: grid;
  place-items: center;
  width: 3.65rem;
  height: 3.65rem;
  border: 3px solid rgba(255, 244, 214, 0.8);
  border-radius: 50%;
  font-family: "Fugaz One", Impact, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--paper-light);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(180deg, var(--green-bright), var(--green-deep));
  box-shadow: 0 16px 30px rgba(29, 20, 13, 0.25);
  transform: rotate(-8deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand__text strong,
.eyebrow,
.button,
.site-nav a,
.quick-card__title,
.process-card__step,
.service-card__tag,
.schedule-card__label,
.note-card__title,
.contact-card__title,
.response-meter__label,
.manifest-card__label {
  font-family: "Fugaz One", Impact, sans-serif;
}

.brand__text strong {
  font-size: 1.18rem;
}

.brand__text small {
  color: rgba(29, 20, 13, 0.82);
  font-size: 0.98rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.site-nav a {
  padding: 0.6rem 0.95rem;
  border: 2px solid rgba(29, 20, 13, 0.16);
  border-radius: 999px;
  background: rgba(255, 244, 215, 0.76);
  box-shadow: 0 10px 18px rgba(29, 20, 13, 0.14);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  transform: rotate(calc(var(--twist, 0) * 1deg));
}

.site-nav a:nth-child(1) {
  --twist: -2;
}

.site-nav a:nth-child(2) {
  --twist: 1;
}

.site-nav a:nth-child(3) {
  --twist: -1;
}

.site-nav a:nth-child(4) {
  --twist: 2;
}

.site-nav a:nth-child(5) {
  --twist: -1;
}

.section {
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 4.8rem) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  padding-top: 1.1rem;
}

.hero__content,
.portrait-card,
.poster-card,
.paper-card,
.manifest-card,
.process-card,
.service-card,
.schedule-card,
.note-card,
.contact-card,
.contact-form {
  border: 2px solid rgba(29, 20, 13, 0.15);
  box-shadow: 0 20px 36px rgba(29, 20, 13, 0.16);
}

.hero__content {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: 38px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(26, 91, 57, 0.1) 0 33%, rgba(241, 195, 61, 0.12) 33% 66%, rgba(176, 50, 44, 0.12) 66% 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 46%),
    var(--paper);
  transform: rotate(-1deg);
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--leaf-pattern);
  background-size: 190px 190px;
  opacity: 0.08;
  mix-blend-mode: multiply;
}

.hero__content > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--green-deep);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.94;
  letter-spacing: -0.03em;
}

h1,
h2 {
  font-family: "Fugaz One", Impact, sans-serif;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.25rem, 8vw, 6.75rem);
  text-transform: uppercase;
  text-shadow: 4px 4px 0 rgba(255, 244, 214, 0.42);
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4.2rem);
}

h3 {
  font-family: "Fugaz One", Impact, sans-serif;
  font-size: 1.55rem;
}

.hero__lead,
.section-lead,
.bootcamp__lead {
  max-width: 38rem;
  margin: 1rem 0 0;
  font-size: 1.16rem;
}

.hero__quote,
.manifest-card__quote {
  margin: 1.1rem 0 0;
  font-family: "Permanent Marker", "Comic Sans MS", cursive;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--red-rust);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.5rem 0 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.82rem 1.35rem;
  border: 2px solid rgba(29, 20, 13, 0.18);
  border-radius: 999px;
  box-shadow: 0 12px 22px rgba(29, 20, 13, 0.16);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.site-nav a:hover,
.site-nav a:focus-visible {
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 0 18px 26px rgba(29, 20, 13, 0.2);
}

.button--solid {
  color: var(--paper-light);
  background: linear-gradient(180deg, var(--red-deep), var(--red-rust));
}

.button--ghost {
  background: rgba(255, 244, 215, 0.72);
}

.hero__quickgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.quick-card {
  padding: 1rem;
  border: 2px solid rgba(29, 20, 13, 0.12);
  border-radius: 24px;
  background: rgba(255, 244, 215, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.quick-card__title {
  margin: 0 0 0.45rem;
  color: var(--green-deep);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-card p:last-child {
  margin-bottom: 0;
}

.hero__chips,
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.hero__chips span,
.contact-list span {
  padding: 0.52rem 0.92rem;
  border: 1px solid rgba(29, 20, 13, 0.16);
  border-radius: 999px;
  background: rgba(255, 244, 215, 0.78);
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(29, 20, 13, 0.1);
}

.hero__visual {
  display: grid;
  gap: 1rem;
}

.portrait-card,
.poster-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
}

.portrait-card {
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(26, 91, 57, 0.92) 0 33%, rgba(241, 195, 61, 0.95) 33% 66%, rgba(176, 50, 44, 0.92) 66% 100%);
  transform: rotate(2deg);
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.16), transparent 22%),
    radial-gradient(circle at 12% 12%, rgba(0, 0, 0, 0.22) 0 3px, transparent 4px),
    radial-gradient(circle at 90% 18%, rgba(0, 0, 0, 0.16) 0 3px, transparent 4px),
    var(--leaf-pattern);
  background-size: auto, 190px 190px, 240px 240px, 170px 170px;
  opacity: 0.24;
  mix-blend-mode: multiply;
}

.portrait-card__stamp {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.45rem 0.85rem;
  border: 2px solid rgba(255, 244, 215, 0.6);
  border-radius: 999px;
  color: var(--paper-light);
  background: rgba(26, 91, 57, 0.75);
  font-family: "Permanent Marker", "Comic Sans MS", cursive;
  font-size: 1rem;
  transform: rotate(7deg);
}

.portrait-card__frame,
.portrait-card__caption {
  position: relative;
  z-index: 1;
}

.portrait-card__frame {
  padding: 0.6rem;
  border-radius: 28px;
  background: rgba(255, 244, 215, 0.84);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  filter: saturate(0.96) contrast(1.05);
}

.portrait-card__caption {
  margin-top: 0.9rem;
  padding: 1rem 1.05rem;
  border-radius: 24px;
  background: rgba(255, 244, 215, 0.88);
}

.portrait-card__eyebrow,
.poster-card__kicker {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-family: "Fugaz One", Impact, sans-serif;
}

.portrait-card__caption p:last-child {
  margin-bottom: 0;
}

.poster-card {
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 244, 215, 0.13), rgba(255, 244, 215, 0.06)),
    linear-gradient(180deg, rgba(26, 91, 57, 0.92) 0 33%, rgba(241, 195, 61, 0.95) 33% 66%, rgba(176, 50, 44, 0.92) 66% 100%);
  color: var(--paper-light);
  transform: rotate(-1.5deg);
}

.poster-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(0, 0, 0, 0.24), transparent 22%),
    radial-gradient(circle at 82% 85%, rgba(0, 0, 0, 0.2), transparent 28%),
    var(--leaf-pattern);
  background-size: auto, auto, 160px 160px;
  opacity: 0.2;
  mix-blend-mode: multiply;
}

.poster-card > * {
  position: relative;
  z-index: 1;
}

.poster-card h2 {
  max-width: 8ch;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  text-transform: uppercase;
}

.poster-card__small {
  max-width: 24rem;
  margin: 1rem 0 0;
  font-size: 1.04rem;
}

.ticker {
  overflow: hidden;
  padding: 0.7rem 0;
  border-block: 2px solid rgba(29, 20, 13, 0.18);
  background: rgba(29, 20, 13, 0.14);
}

.ticker__track {
  display: flex;
  gap: 2.3rem;
  width: max-content;
  padding-left: 2rem;
  animation: roll 20s linear infinite;
}

.ticker__track span {
  font-family: "Fugaz One", Impact, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-heading {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.45rem;
}

.process-grid,
.intro__grid,
.bootcamp__panel,
.contact__grid {
  display: grid;
  gap: clamp(1rem, 3vw, 1.6rem);
}

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

.process-card {
  padding: 1.25rem 1.2rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(26, 91, 57, 0.1), rgba(241, 195, 61, 0.12) 52%, rgba(176, 50, 44, 0.12)),
    rgba(255, 244, 215, 0.86);
  transform: rotate(calc(var(--tilt, 0) * 1deg));
}

.process-card:nth-child(1) {
  --tilt: -1.5;
}

.process-card:nth-child(2) {
  --tilt: 1;
}

.process-card:nth-child(3) {
  --tilt: -0.7;
}

.process-card__step {
  display: inline-grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  margin: 0 0 0.8rem;
  border-radius: 50%;
  color: var(--paper-light);
  background: linear-gradient(180deg, var(--green-deep), #0f3d25);
  font-size: 1rem;
}

.intro__grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.paper-card,
.manifest-card {
  padding: 1.5rem;
  border-radius: 30px;
  background: rgba(255, 244, 215, 0.82);
}

.paper-card {
  transform: rotate(-1.3deg);
  font-size: 1.12rem;
}

.manifest-card {
  background:
    linear-gradient(180deg, rgba(26, 91, 57, 0.12), rgba(241, 195, 61, 0.12) 50%, rgba(176, 50, 44, 0.12)),
    rgba(255, 244, 215, 0.85);
  transform: rotate(1.5deg);
}

.manifest-card__label {
  margin: 0 0 0.8rem;
  color: var(--green-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.manifest-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.manifest-list li {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 244, 215, 0.7);
  border: 1px dashed rgba(29, 20, 13, 0.2);
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  position: relative;
  padding: 1.4rem;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 244, 215, 0.86);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.8rem;
}

.service-card--green::before {
  background: linear-gradient(90deg, var(--green-deep), var(--green-bright));
}

.service-card--yellow::before {
  background: linear-gradient(90deg, var(--yellow-deep), var(--yellow-bright));
}

.service-card--red::before {
  background: linear-gradient(90deg, var(--red-rust), var(--red-deep));
}

.service-card--sand::before {
  background: linear-gradient(90deg, #9b7338, #d8b55e);
}

.service-card__tag {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.service-card__hint {
  margin-bottom: 0;
  color: var(--red-rust);
  font-weight: 700;
}

.bootcamp__lead {
  max-width: 44rem;
}

.bootcamp__panel {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.9fr);
  align-items: start;
}

.schedule-card {
  padding: 1.5rem;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(26, 91, 57, 0.12), rgba(241, 195, 61, 0.14) 52%, rgba(176, 50, 44, 0.12)),
    rgba(255, 244, 215, 0.86);
  transform: rotate(-0.9deg);
}

.schedule-card__label {
  margin: 0 0 1rem;
  color: var(--red-rust);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
}

.schedule-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-list li {
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed rgba(29, 20, 13, 0.22);
}

.schedule-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.bootcamp__notes {
  display: grid;
  gap: 0.9rem;
}

.note-card {
  padding: 1.15rem 1.2rem;
  border-radius: 24px;
  background: rgba(255, 244, 215, 0.84);
  transform: rotate(calc(var(--tilt, 0) * 1deg));
}

.note-card:nth-child(1) {
  --tilt: 2;
}

.note-card:nth-child(2) {
  --tilt: -1.8;
}

.note-card:nth-child(3) {
  --tilt: 1;
}

.note-card__title,
.contact-card__title,
.response-meter__label {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.contact__grid {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.contact-card,
.contact-form {
  padding: 1.45rem;
  border-radius: 32px;
  background: rgba(255, 244, 215, 0.86);
}

.contact-card {
  transform: rotate(-1deg);
}

.response-meter {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.response-meter__bar {
  height: 1.08rem;
  padding: 0.16rem;
  border-radius: 999px;
  background: rgba(29, 20, 13, 0.12);
}

.response-meter__bar span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-deep), var(--yellow-bright), var(--red-deep));
  transition: width 300ms ease;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 2px solid rgba(29, 20, 13, 0.16);
  border-radius: 20px;
  background: rgba(245, 232, 190, 0.76);
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid rgba(26, 91, 57, 0.24);
  outline-offset: 2px;
}

.form-response {
  min-height: 1.5rem;
  margin: 0;
  color: var(--green-deep);
  font-family: "Permanent Marker", "Comic Sans MS", cursive;
  font-size: 1.08rem;
}

.site-footer {
  display: grid;
  gap: 0.25rem;
  justify-items: center;
  padding: 2rem 1rem 2.8rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@keyframes roll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .hero,
  .intro__grid,
  .bootcamp__panel,
  .contact__grid,
  .process-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 1rem;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero__quickgrid {
    grid-template-columns: 1fr;
  }

  .hero__content,
  .portrait-card,
  .poster-card,
  .paper-card,
  .manifest-card,
  .process-card,
  .schedule-card,
  .note-card,
  .contact-card {
    transform: none;
  }
}

@media (max-width: 680px) {
  .section,
  .site-header {
    width: min(100% - 1rem, 100%);
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.3rem);
  }

  h2 {
    font-size: clamp(1.9rem, 11vw, 3rem);
  }

  .button,
  .site-nav a {
    width: 100%;
  }

  .hero__actions,
  .site-nav {
    width: 100%;
  }

  .ticker__track {
    gap: 1.4rem;
    animation-duration: 16s;
  }

  .portrait-card__stamp {
    top: 0.85rem;
    right: 0.85rem;
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
