/* test-v3: system fonts only. Google Fonts would drop Lighthouse Performance below 100. */
:root {
  --font: ui-sans-serif, system-ui, "Segoe UI", "Avenir Next", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  --display: ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}

.test-banner {
  display: block;
  width: min(var(--max), calc(100% - 32px));
  margin: 12px auto 0;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #101821;
  color: #e8eef4;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-value-list strong,
.yp-quote cite {
  color: #7eefe4;
}

.hero h1 span {
  display: block;
}

.yp .yp-line {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 42rem;
}
.yp .section {
  padding: 56px 0;
}
.yp .section-head {
  max-width: 40rem;
  margin-bottom: 22px;
}
.yp .section-head h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}
.yp-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
}
.yp-fields--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.yp-field {
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 14px 0 18px;
  min-height: 8.25rem;
}
.yp-field h3 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.yp-field p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.yp-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 42rem;
}
.yp-quote {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}
.yp-quote p {
  margin: 14px 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 42rem;
}
.yp-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.yp-prose {
  max-width: 40rem;
}
.yp-prose p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}
.yp-prose p:last-child {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .yp-fields,
  .yp-fields--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .yp-fields,
  .yp-fields--4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .yp-field {
    min-height: 0;
  }
}
.yp-historie {
  width: min(11.5rem, 100%);
  margin: 28px 0 0;
}
.yp-historie .shot-cap {
  display: none;
}
.yp-historie .eyebrow {
  margin-bottom: 8px;
}
.yp-historie .shot-tile {
  width: 100%;
  border-radius: 4px;
  box-shadow: none;
  transform: none;
}
.yp-historie .shot-tile:hover,
.yp-historie .shot-tile:focus-visible {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}
.yp-historie .shot-tile img {
  display: block;
  width: 100%;
  height: 10.5rem;
  object-fit: cover;
  object-position: top center;
}
.yp-historie-more {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.yp-brief {
  margin-top: 28px;
  max-width: 52rem;
}
.yp-brief-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
}
.yp-brief-shot {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  cursor: zoom-in;
  box-shadow: none;
}
.yp-brief-shot img {
  display: block;
  width: 100%;
  height: 7.2rem;
  object-fit: cover;
  object-position: top center;
}
.yp-brief-shot .shot-cap {
  display: none;
}
@media (max-width: 720px) {
  .yp-brief-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.yp-form {
  margin-top: 28px;
  max-width: 40rem;
}
.yp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.yp-form-grid .yp-span {
  grid-column: 1 / -1;
}
.yp-form label {
  display: block;
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.yp-form input,
.yp-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font: inherit;
}
.yp-form textarea {
  min-height: 8rem;
  resize: vertical;
}
.yp-form .yp-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.yp-form-note,
.yp-form-privacy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.yp-form-privacy label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-transform: none;
  letter-spacing: 0;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
}
.yp-form-privacy input {
  width: auto;
  margin-top: 3px;
}
.yp-form-actions {
  margin-top: 18px;
}
.yp-form-status {
  margin: 12px 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
}
.yp-form-status.is-ok { color: var(--ink); }
.yp-form-status.is-err { color: #e8b4b4; }
.yp-reply {
  margin: 0;
  padding: 0;
  border: 0;
}
.yp-reply legend {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
@media (max-width: 560px) {
  .yp-form-grid {
    grid-template-columns: 1fr;
  }
}
.yp-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  overflow: auto;
  background: rgba(6, 12, 18, 0.88);
  backdrop-filter: blur(10px);
}
.yp-modal[hidden] {
  display: none !important;
}
.yp-modal-panel {
  position: relative;
  width: min(42rem, 100%);
  margin: min(6vh, 40px) auto 32px;
  padding: 28px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.yp-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.yp-modal-close:hover,
.yp-modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.yp-modal-panel .yp-form {
  margin-top: 8px;
  max-width: none;
  position: relative;
}
.yp-modal-success {
  margin: 8px 0 0;
  padding: 18px 0 6px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.5;
}
.yp-brief-cta {
  margin-top: 22px;
}
.shot-lightbox[role="dialog"] {
  outline: none;
}
@media (max-width: 560px) {
  .yp-modal {
    padding: 10px;
  }
  .yp-modal-panel {
    margin: 12px auto 24px;
    padding: 52px 16px 20px;
  }
}
