:root {
  --ink: #161410;
  --paper: #ffffff;
  --paper-warm: #f7f1e6;
  --gold: #b8892d;
  --gold-2: #c9a227;
  --gold-dim: rgba(184, 137, 45, 0.14);
  --mist: #5c564c;
  --mute: #7a7368;
  --teal: #3f7a74;
  --pen: #c45c45;
  --line: rgba(22, 20, 16, 0.1);
  --shadow: 0 24px 60px rgba(40, 32, 18, 0.12);
  --radius: 22px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 20;
  background: var(--gold);
  color: var(--paper);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 16px;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(880px 520px at 12% -10%, rgba(184, 137, 45, 0.1), transparent 60%),
    radial-gradient(720px 480px at 94% 6%, rgba(63, 122, 116, 0.07), transparent 55%),
    var(--paper);
}

.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 20, 16, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 20, 16, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border: 1px solid rgba(184, 137, 45, 0.35);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(184, 137, 45, 0.08);
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(184, 137, 45, 0.7);
  animation: pulse 2.2s ease-out infinite;
}

main {
  padding-bottom: 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 56px;
  align-items: center;
  padding: 54px 0 28px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(2.7rem, 6.4vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.lede {
  max-width: 38rem;
  margin: 22px 0 0;
  color: var(--mist);
  font-size: 1.08rem;
  line-height: 1.65;
}

.notify {
  display: flex;
  gap: 8px;
  margin-top: 28px;
  max-width: 460px;
  padding: 6px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.notify label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.notify input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  padding: 12px 14px;
  outline: none;
}

.notify input::placeholder {
  color: var(--mute);
}

.notify button {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1408;
  font: inherit;
  font-weight: 600;
  padding: 12px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.notify button:hover:not(:disabled) {
  filter: brightness(1.04);
}

.notify[data-done="true"] {
  pointer-events: none;
}

.notify button:disabled,
.notify input:disabled {
  cursor: default;
  opacity: 0.55;
}

.notify[data-done="true"] button {
  background: var(--teal);
  color: var(--paper);
  opacity: 1;
}

.notify button:active {
  transform: translateY(1px);
}

.notify:focus-within {
  border-color: rgba(184, 137, 45, 0.55);
  box-shadow: 0 0 0 4px var(--gold-dim);
}

.form-note,
.form-message {
  min-height: 1.4em;
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: var(--mute);
}

.form-message[data-state="ok"] {
  color: var(--teal);
}

.notify[data-done="true"] ~ .form-note {
  display: none;
}

.form-message[data-state="error"] {
  color: var(--pen);
}

.audiences {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.audiences li {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.report {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
  padding-bottom: 14px;
  overflow: visible;
  animation: rise 1s ease both;
}

.report-paper {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 18%),
    repeating-linear-gradient(
      180deg,
      transparent 0 31px,
      rgba(196, 92, 69, 0.08) 31px 32px
    ),
    var(--paper-warm);
  color: #2a241b;
  border-radius: var(--radius);
  padding: 26px 26px 38px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(22, 20, 16, 0.06);
  transform: rotate(1.4deg);
}

.report-paper::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(42, 36, 27, 0.08);
  border-radius: 14px;
  pointer-events: none;
}

.report-top {
  margin: 0 72px 16px 0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a7164;
}

.seal {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 62px;
  height: 62px;
  transform: rotate(8deg);
  pointer-events: none;
}

.report h2 {
  margin: 0 80px 6px 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.meta {
  margin: 0 0 18px;
  color: #6d6558;
  font-size: 0.86rem;
}

.scores {
  display: grid;
  gap: 10px;
  margin: 0;
}

.score {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 0.92rem;
}

.score b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.bar {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 99px;
  background: rgba(42, 36, 27, 0.08);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f4a44, var(--teal));
}

.bar.gold span {
  background: linear-gradient(90deg, #8a6a1e, var(--gold));
}

.bar.warn span {
  background: linear-gradient(90deg, #8a3d32, var(--pen));
  width: 8%;
}

.note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.55);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.45;
  color: #3a3328;
}

.note strong {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6a1e;
  display: block;
  margin-bottom: 4px;
}

.stamp {
  position: absolute;
  left: 20px;
  bottom: -12px;
  z-index: 2;
  border: 2px solid var(--pen);
  color: var(--pen);
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  transform: rotate(-8deg);
  background: var(--paper);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.services {
  margin-top: 18px;
  padding: 8px 0 0;
  border-top: 1px solid var(--line);
}

.services h2 {
  margin: 28px 0 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-grid li {
  padding: 18px 16px 16px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 148px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.service-grid li:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 137, 45, 0.45);
  background: rgba(184, 137, 45, 0.05);
}

.service-grid span {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-grid strong {
  display: block;
  font-size: 1rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.service-grid p {
  margin: 0;
  color: var(--mute);
  font-size: 0.86rem;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 0 40px;
  color: var(--mute);
  font-size: 0.86rem;
  border-top: 1px solid var(--line);
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(1.4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(1.4deg);
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 36px;
  }

  .report {
    justify-self: center;
  }

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

  .service-grid li:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .notify {
    flex-direction: column;
  }

  .service-grid,
  .service-grid li:last-child {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .stamp {
    left: 16px;
    bottom: -12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .status::before {
    box-shadow: none;
  }
}

.notify button:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
