/* PlayPhoto main.css — Apple-style monochrome with warm accent */

/* ============ 1. TOKENS ============ */
:root {
  --ink: #1d1d1f;
  --text: #4a4a4f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --bg: #ffffff;
  --soft: #f5f5f7;
  --warm: #faf7f2;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.06);

  --max: 1180px;
}

/* ============ 2. RESET + BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a, button, summary {
  -webkit-tap-highlight-color: transparent;
}

*:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ 3. LAYOUT PRIMITIVES ============ */
.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.soft {
  background: var(--soft);
}

.narrow {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

/* ============ 4. TYPOGRAPHY ============ */
h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 700;
  line-height: 1.06;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
}

h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin: 0;
  overflow-wrap: break-word;
}

.lead {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.4;
  color: var(--text);
  margin: 22px 0 0;
  max-width: 760px;
}

.lead.small {
  font-size: 19px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.section-head {
  max-width: 820px;
  margin-bottom: clamp(34px, 4vw, 58px);
}

.section-head p {
  font-size: 20px;
  color: var(--text);
  margin-top: 16px;
}

/* ============ 5. HEADER + NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 max(20px, calc((100vw - var(--max))/2));
  background: rgba(255,255,255,.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  flex: 0 0 auto;
  min-width: 0;
}

.brand img {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  font-size: 15px;
  flex: 0 1 auto;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--text);
  white-space: nowrap;
  transition: color .2s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

.nav-cta {
  padding: 9px 16px;
  border-radius: 980px;
  background: var(--ink);
  color: #fff !important;
}

.nav-cta:hover {
  background: #2d2d30;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
  flex: 0 0 auto;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 7px;
  border-radius: 2px;
}

/* ============ 6. BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  border-radius: 980px;
  cursor: pointer;
  white-space: normal;
  text-align: center;
  transition: background .2s ease, opacity .2s ease;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover { background: #2d2d30; }
.btn-primary:active { background: #000; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(0,0,0,.04);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  row-gap: 12px;
  margin-top: 28px;
}

.actions.center {
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}

/* ============ 7. HERO ============ */
.hero {
  padding: clamp(48px, 5.5vw, 78px) 0 clamp(52px, 6vw, 82px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 680px;
  font-size: clamp(40px, 4.8vw, 68px);
}

.hero-copy .lead {
  max-width: 560px;
  font-size: clamp(19px, 1.85vw, 25px);
}

.hero-media {
  width: 100%;
  max-width: 660px;
  margin-left: auto;
  align-self: center;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 46%;
  border-radius: var(--r-lg);
}

/* ============ 8. PAGE HERO (inner pages) ============ */
.page-hero {
  padding: clamp(86px, 8vw, 118px) 0 clamp(58px, 6vw, 82px);
  background: var(--bg);
  text-align: center;
}

.page-hero h1 {
  max-width: 920px;
  margin-inline: auto;
  font-size: clamp(36px, 4.6vw, 64px);
}

.page-hero .lead {
  max-width: 720px;
  margin-inline: auto;
  margin-top: 20px;
}

.page-hero .actions.center {
  margin-top: 32px;
}

/* ============ 9. WORK SAMPLES (grid on desktop, scroll on mobile) ============ */
.work-samples {
  background: var(--soft);
  padding: clamp(76px, 8vw, 124px) 0;
}

.work-samples .section-head {
  max-width: 720px;
  margin-bottom: clamp(34px, 4vw, 58px);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
}

.work-tile {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--bg);
}

.work-tile img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .45s ease;
}

@media (hover: hover) {
  .work-tile:hover img { transform: scale(1.035); }
}

/* ============ 10. THREE PATHS (new) ============ */
.three-paths {
  background: var(--warm);
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 28px);
}

.path-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  color: var(--ink);
  transition: transform .25s ease, box-shadow .25s ease;
}

.path-card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.path-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.path-body {
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.path-body h3 {
  margin-top: 4px;
}

.path-body p {
  color: var(--text);
  margin-top: 8px;
}

.path-body .link-arrow {
  margin-top: auto;
  padding-top: 16px;
}

.link-arrow {
  display: inline-block;
  margin-top: 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.link-arrow span {
  display: inline-block;
  margin-left: 4px;
  transition: transform .2s ease;
}

@media (hover: hover) {
  .path-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,.08), 0 24px 48px rgba(0,0,0,.06);
  }
  .path-card:hover .link-arrow span {
    transform: translateX(4px);
  }
}

/* ============ 11. CARDS GENERIC ============ */
.cards {
  display: grid;
  gap: 20px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.contact-card,
.metric-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
}

.card p,
.contact-card p,
.metric-card p {
  color: var(--text);
  font-size: 17px;
  margin-top: 12px;
}

/* ============ 12. STEPS (How It Works — table-like list) ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 60px);
  align-items: center;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.steps h3 {
  margin-bottom: 8px;
}

.steps p {
  color: var(--text);
  margin: 0;
}

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

.steps--grid li {
  padding: clamp(28px, 3vw, 36px);
  background: var(--bg);
  border: none;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.steps--grid li:last-child {
  border-bottom: none;
}

/* ============ 13. PROOF GRID ============ */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.proof-grid div {
  padding: clamp(24px, 3vw, 28px);
  border-radius: var(--r-md);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.proof-grid strong {
  display: block;
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--ink);
}

.proof-grid p {
  color: var(--text);
  margin: 0;
}

/* ============ 14. CTA-BOX ============ */
.cta-box {
  text-align: center;
  background: var(--warm);
  border-radius: var(--r-lg);
  padding: clamp(56px, 7vw, 80px) clamp(24px, 4vw, 48px);
}

.cta-box h2 + p {
  margin-top: 16px;
  font-size: 19px;
  color: var(--text);
  max-width: 640px;
  margin-inline: auto;
}

.cta-box .actions,
.cta-box p + .btn {
  margin-top: 30px;
}

/* ============ 15. CONTENT BLOCKS ============ */
.content {
  max-width: 860px;
}

.content p,
.content li {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
}

.content > h2 {
  margin-bottom: clamp(22px, 3vw, 34px);
  font-size: clamp(28px, 4vw, 46px);
}

.content h2:not(:first-child) {
  margin-top: 48px;
}

.content > h2 + .faq {
  margin-top: 0;
}

.image-card {
  margin: 0;
}

.image-card img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

/* ============ 16. METRIC CARD ============ */
.metric-card {
  background: var(--ink);
  color: #fff;
}

.metric-card span {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-card strong {
  display: block;
  font-size: clamp(36px, 5vw, 54px);
  margin: 10px 0;
  color: #fff;
  line-height: 1.05;
}

.metric-card p {
  color: rgba(255,255,255,.78);
}

/* ============ 17. FAQ (table-like) ============ */
.faq {
  display: flex;
  flex-direction: column;
}

.faq details {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  color: var(--muted);
  transition: transform .2s ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin-top: 12px;
  color: var(--text);
}

/* ============ 18. CONTACT GRID + FORM ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(28px, 3vw, 36px);
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-card h2 {
  margin-top: 8px;
  font-size: clamp(22px, 2.4vw, 28px);
}

.contact-card p {
  margin-bottom: 24px;
}

.contact-card .btn {
  margin-top: auto;
  max-width: 100%;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 40px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%231d1d1f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(29,29,31,.08);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============ 19. FOOTER ============ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: 64px 0 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-links a {
  color: rgba(255,255,255,.72);
  font-size: 15px;
  transition: color .2s ease;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social a {
  color: rgba(255,255,255,.72);
  transition: color .2s ease;
}

.footer-social a:hover { color: #fff; }

/* ============ 20. RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact-grid,
  .form-layout,
  .paths-grid,
  .cards.three,
  .proof-grid,
  .steps--grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-media {
    max-width: 760px;
    margin-left: 0;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .work-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    margin-inline: calc((100vw - min(var(--max), calc(100vw - 40px))) / -2);
    padding: 0 calc((100vw - min(var(--max), calc(100vw - 40px))) / 2) 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: calc((100vw - min(var(--max), calc(100vw - 40px))) / 2);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .work-grid::-webkit-scrollbar {
    display: none;
  }

  .work-tile {
    flex: 0 0 min(82vw, 720px);
    scroll-snap-align: center;
  }

  .work-tile img {
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 56px;
    height: auto;
  }

  .site-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(0,0,0,.08);
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    min-height: 48px;
    padding: 0 10px;
    border-radius: 8px;
  }

  .site-nav a:active,
  .site-nav a:hover {
    background: var(--soft);
  }

  .nav-cta {
    justify-content: center;
    margin-top: 4px;
  }

  .nav-toggle {
    display: block;
  }
}

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

  .section {
    padding: 56px 0;
  }

  .page-hero {
    padding-top: 78px;
    padding-bottom: 52px;
  }

  .actions {
    gap: 10px;
  }

  .actions .btn {
    width: 100%;
  }

  .work-grid {
    gap: 14px;
    margin-inline: -16px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }

  .work-tile {
    flex: 0 0 86%;
  }

  .cta-box {
    border-radius: var(--r-md);
  }

  .footer {
    padding: 56px 0 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 4px;
    padding-bottom: 28px;
  }

  .footer-links a {
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 28px;
  }

  .footer-social {
    flex-direction: column;
    gap: 4px;
  }

  .footer-social a {
    padding: 8px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* ============ 21. MOTION ============ */
.js .section-head,
.js .path-card,
.js .work-tile,
.js .steps--grid li,
.js .proof-grid > div,
.js .cta-box,
.js .image-card,
.js .metric-card,
.js .cards.three > .card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}

.js .is-in {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .section-head,
  .js .path-card,
  .js .work-tile,
  .js .steps--grid li,
  .js .proof-grid > div,
  .js .cta-box,
  .js .image-card,
  .js .metric-card,
  .js .cards.three > .card {
    opacity: 1;
    transform: none;
  }
}
