/* PrintYourVision.ch — static site styles */

:root {
  --ink: #16161c;
  --ink-soft: #4a4a52;
  --paper: #faf9f6;
  --paper-alt: #f1efe8;
  --line: #e4e1d6;
  --accent: #ff5a1f;
  --accent-dark: #d6480f;
  --accent-soft: #fff1e9;
  --radius: 14px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  height: 44px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  background: var(--paper-alt);
  color: var(--ink);
}

nav.main-nav a.cta {
  background: var(--ink);
  color: #fff;
}
nav.main-nav a.cta:hover {
  background: var(--accent-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: 0.2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--line);
}

.hero-mark {
  position: absolute;
  right: -120px;
  top: -140px;
  width: 620px;
  opacity: 0.05;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 18ch;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 32px;
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

/* Sections */
section {
  padding: 84px 0;
}

section.alt {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 62ch;
  margin: 0 0 48px;
}

.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 10px;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

/* Feature grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery .zoom {
  display: block;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery .zoom:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
}

.lightbox::backdrop { background: rgba(10, 10, 14, 0.88); }

.lightbox-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 56px 16px 24px;
  cursor: zoom-out;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
  max-width: 720px;
}

.lightbox-close {
  position: fixed;
  top: 14px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover { background: var(--accent); }

.gallery figcaption {
  padding: 18px 20px 22px;
}

.gallery figcaption strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.02rem;
}

.gallery figcaption span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Form */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 640px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 0.9rem;
  font-weight: 700;
}

.field label .req {
  color: var(--accent-dark);
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

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

.radio-group {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 16px;
}

.form-status {
  font-size: 0.9rem;
  margin-top: 14px;
  display: none;
}
.form-status.visible { display: block; }

/* Contact info strip */
.contact-strip {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 320px;
}

.contact-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
}
.contact-item a:hover { text-decoration: underline; }

/* CTA banner */
.cta-banner {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: #fff;
  margin: 0 0 8px;
}

.cta-banner p {
  color: #c9c9cf;
  margin: 0;
  max-width: 46ch;
}

.cta-banner .btn-primary {
  flex-shrink: 0;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  background: var(--paper-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand img {
  height: 34px;
}

.footer-brand strong {
  font-size: 1rem;
}

.footer-grid p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 34ch;
  margin: 0;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.footer-col a:hover { color: var(--accent-dark); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer-bottom a {
  text-decoration: none;
  color: var(--ink-soft);
}
.footer-bottom a:hover { color: var(--ink); }

/* Page header (non-home pages) */
.page-hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: none;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

.source-note {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: var(--accent-soft);
  border: 1px solid #ffd9c2;
  padding: 14px 18px;
  border-radius: 10px;
}
.source-note a { color: var(--accent-dark); font-weight: 700; text-decoration: none; }
.source-note a:hover { text-decoration: underline; }

/* Legal pages */
.legal h2 {
  margin-top: 40px;
}
.legal p, .legal li {
  color: var(--ink-soft);
}
.legal .placeholder {
  background: var(--accent-soft);
  border: 1px dashed #ffb488;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-dark);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 880px) {
  .grid-2, .grid-3, .steps, .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  nav.main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.18s ease;
    overflow-y: auto;
  }
  nav.main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  nav.main-nav a {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 1.05rem;
  }
  .nav-toggle { display: inline-flex; }

  .cta-banner { padding: 36px; }
}

@media (max-width: 560px) {
  section { padding: 56px 0; }
  .hero { padding: 56px 0 64px; }
  .form-card { padding: 24px; }
}
