/* Soft blush direction for the public photography studio. */
.client {
  --bg: #fffafd; --panel: #fff; --ink: #493e47; --muted: #766773;
  --line: #eadfe6; --accent: #89566c; --accent-ink: #fff;
  background: radial-gradient(ellipse at 0 10%, #f9edf3 0, transparent 38%), var(--bg);
}
.studio-brand i { color: var(--accent); }
.studio-book { border-color: #d5bbc9; padding-inline: 20px; border-radius: 999px; background: #fff9fc; }
.studio-book:hover { background: #f6e7ef; }
.kicker { font-size: 13px; text-transform: none; letter-spacing: .07em; font-weight: 500; }
.hero-copy h1 { font-size: clamp(42px, 4.7vw, 64px); line-height: 1.14; letter-spacing: -.035em; }
.hero-copy h1 em { color: var(--accent); }
.hero-copy > p:not(.kicker) { line-height: 1.85; }
.hero-copy .primary { width: auto; padding-inline: 28px; border-radius: 999px; font-weight: 500; }
.hero-copy .primary:hover { background: #77465d; }
.hero-photo img { border-radius: 32px; filter: saturate(.8) contrast(.94); box-shadow: 0 18px 50px #85546b12; }
.hero-photo figcaption { font-size: 12px; margin-top: 14px; }
.studio-intro h2, .studio-faq h2, .calc-title { line-height: 1.2; letter-spacing: -.025em; }
.story-links a { padding: 28px; background: #f8edf3; border: 1px solid #eddee7; border-radius: 24px; }
.story-links a:nth-child(2) { background: #f3eff8; border-color: #e9e1ef; }
.story-links a:nth-child(3) { background: #fcf0f2; border-color: #f0e0e5; }
.story-links a:hover { background: #f0e2ec; }
.story-links a { display: flex; flex-direction: column; gap: 10px; padding: 12px; overflow: hidden; }
.story-links .story-card-image { display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 16px; }
.story-links .story-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.84); transition: transform .25s ease; }
.story-links a:hover .story-card-image img { transform: scale(1.035); }
.story-links a > span:not(.story-card-image) { padding-inline: 8px; font-size: 24px; }
.story-links a > small { padding: 0 8px 8px; margin-top: 0; }
.studio-process h3, .studio-faq summary { font-weight: 500; }
.client .panel { border-radius: 24px; box-shadow: 0 10px 36px #85546b08; }
.client .theme { border-radius: 16px; background: #fffafd; }
.client .theme[aria-checked="true"] { background: #f8eaf1; border-color: var(--accent); }
.client input, .client textarea { background: #fffafd; border-radius: 12px; }
.client input[type="checkbox"] { accent-color: var(--accent); }
.client .primary, .client .ghost { border-radius: 999px; }
.demo-notice { background: #f5edf3; border: 1px solid #e7d9e3; border-radius: 16px; }
.client .mobilebar { background: var(--accent); }
.studio-footer { flex-wrap: wrap; align-items: flex-start; }
.studio-footer .demo-explanation { flex: 1 1 420px; max-width: 700px; }
.studio-footer .demo-explanation p { font-size: 14px; margin: 0 0 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline-color: var(--accent); }
@media (max-width: 580px) {
  .story-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .story-links a { padding: 8px; gap: 8px; border-radius: 18px; }
  .story-links .story-card-image { border-radius: 12px; }
  .story-links a > span:not(.story-card-image) { padding-inline: 4px; font-size: 18px; }
  .story-links a > small { padding: 0 4px 5px; font-size: 12px; }
  .studio-footer .demo-explanation { flex: 0 1 auto; width: 100%; }
  .studio-book { padding-inline: 14px; }
  .hero-copy h1 { font-size: 43px; }
  .hero-photo img { border-radius: 24px; }
  .story-links a { padding: 8px; }
  .client .panel { border-radius: 20px; }
}

:root { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="dark"] body.client {
  --bg: #19161b; --panel: #242027; --ink: #f4edf1; --muted: #c0b0ba;
  --line: #473b45; --accent: #d09aae; --accent-ink: #2c2027;
  background: radial-gradient(ellipse at 0 10%, #35252f 0, transparent 42%), var(--bg);
}
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 8px 13px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--panel); color: var(--ink);
  font: inherit; font-size: 13px; cursor: pointer;
}
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-sun, :root[data-theme="dark"] .theme-moon { display: none; }
:root[data-theme="dark"] .theme-sun { display: block; }
.theme-toggle:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--panel)); }
.studio-header nav, .theme-toggle, .studio-book, .studio-brand, .hero-copy h1 em,
.story-links a, .story-card-image img, .client .panel, .client .theme, .client input,
.client textarea, .demo-notice, .studio-footer, .client .mobilebar {
  transition: color .34s ease, background-color .46s ease, border-color .46s ease,
    box-shadow .46s ease, filter .46s ease;
}
:root[data-theme="dark"] .studio-book { color: var(--ink); border-color: var(--line); background: #2b252c; }
:root[data-theme="dark"] .hero-copy h1 em { color: #e3b5c7; }
:root[data-theme="dark"] .hero-photo img { filter: brightness(.84) saturate(.76); }
:root[data-theme="dark"] .story-links a,
:root[data-theme="dark"] .story-links a:nth-child(2),
:root[data-theme="dark"] .story-links a:nth-child(3) { background: #28232a; border-color: #463843; }
:root[data-theme="dark"] .story-links a:nth-child(2n) { background: #26232c; }
:root[data-theme="dark"] .story-links a:hover { background: #342933; border-color: #725263; }
:root[data-theme="dark"] .story-card-image img { filter: brightness(.88) saturate(.76); }
:root[data-theme="dark"] .client .theme { background: #211d24; color: var(--ink); }
:root[data-theme="dark"] .client .theme[aria-checked="true"] { background: #352631; border-color: var(--accent); }
:root[data-theme="dark"] .client input,
:root[data-theme="dark"] .client textarea { background: #1e1a20; color: var(--ink); border-color: var(--line); }
:root[data-theme="dark"] .demo-notice { background: #2b232b; border-color: #493844; }
:root[data-theme="dark"] .client .mobilebar { color: #2c2027; }

@supports (view-transition-name: root) {
  ::view-transition-old(root) { animation: theme-old .7s ease both; }
  ::view-transition-new(root) {
    animation: theme-iris .82s cubic-bezier(.22,.72,.22,1) both;
    clip-path: circle(0 at var(--theme-origin-x, 50%) var(--theme-origin-y, 50%));
  }
  @keyframes theme-iris {
    to { clip-path: circle(150vmax at var(--theme-origin-x, 50%) var(--theme-origin-y, 50%)); }
  }
  @keyframes theme-old { to { opacity: .96; } }
}
@keyframes theme-ripple {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  9% { opacity: .72; }
  72% { opacity: .36; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(200); }
}
html.theme-transitioning::after {
  content: ""; position: fixed; z-index: 10000; pointer-events: none;
  left: var(--theme-origin-x, 50%); top: var(--theme-origin-y, 50%);
  width: 16px; height: 16px; border: 1px solid color-mix(in srgb, var(--accent) 75%, white);
  border-radius: 50%; box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 28%, transparent),
    0 0 0 5px color-mix(in srgb, var(--line) 65%, transparent);
  animation: theme-ripple .86s cubic-bezier(.16,.7,.2,1) both;
}

@media (max-width: 860px) {
  .studio-header nav { gap: 12px; }
}
@media (max-width: 580px) {
  .studio-header nav { gap: 8px; }
  .theme-toggle { width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 0; }
  .theme-toggle span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-toggle, .studio-book, .story-links a, .story-card-image img,
  .client .panel, .client .theme, .client input, .client textarea,
  .demo-notice, .studio-footer, .client .mobilebar { transition: none !important; }
  html.theme-transitioning::after { animation: none !important; content: none; }
}
