/* Print-style homepage, 15th November 2026. Loaded by index-print.html only.
   Takes the banner and business card: "Together sounds good.", cut-out people, waves in the logo's three colours.
   Everything below the first screen keeps Katie's cream pages. */
/* wave colours: the blue and green of the logo dots, and the site pink so buttons and waves are one accent */
.pv { --navy: #131A33; --pv-blue: #38b0f8; --pv-green: #8fd13f; --pv-red: var(--pink); }
.w-blue { fill: var(--pv-blue); } .w-red { fill: var(--pv-red); } .w-green { fill: var(--pv-green); }

.ph { --ph-h: clamp(250px, min(80vw, calc(100svh - 520px)), 480px); position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--navy); color: #fff; }
.ph-top, .ph-bot { position: relative; z-index: 2; padding-inline: var(--gut); }
.ph-top { padding-top: 22px; }
.ph .kicker { color: #fff; }
.ph h1 { margin-top: 4px; font-size: clamp(3rem, 14.5vw, 4.1rem); line-height: .95; letter-spacing: -.035em; }
.ph h1 span { display: block; }
.ph h1 i { font-style: normal; color: var(--pink); }
.ph-art { position: relative; overflow: hidden; height: var(--ph-h); margin-top: 6px; --ph-end: var(--navy); }
/* the photo sits in a wave-shaped frame, on a blue wave of the same shape */
.ph-photo, .ph-back { position: absolute; right: 0; bottom: 0; width: 100%; height: 95%; -webkit-clip-path: url(#ph-clip); clip-path: url(#ph-clip); }
.ph-photo { background: var(--navy); }
.ph-back { background: var(--pv-blue); translate: -5.5% 3.5%; }
.ph-photo .slide-cap { left: 12%; right: auto; bottom: 15%; }
.ph-defs { position: absolute; }
.ph-svg { position: absolute; right: 0; bottom: 0; display: block; height: var(--ph-h); width: calc(var(--ph-h) * 1.8947); max-width: none; pointer-events: none; }
.ph-edge { position: absolute; left: 0; display: block; width: 100%; height: 24px; }
.ph-edge-end { bottom: -1px; fill: var(--ph-end); }
.ph-bot { padding-block: 12px 26px; }
.ph .sub { font-size: clamp(1rem, 4.2vw, 1.15rem); line-height: 1.45; max-width: 34ch; text-wrap: pretty; }
.ph .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 479px) { .ph .ctas .btn { flex: 1 1 auto; padding-inline: .9em; letter-spacing: .13em; } }
.ph .btn-line { color: #fff; }
.ph .btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.ph :focus-visible { outline-color: #fff; }

@media (min-width: 1000px) {
  .ph { --ph-h: min(clamp(560px, calc(100svh - 172px), 820px), 58vw); min-height: calc(var(--ph-h) + var(--hdr) + 1px); justify-content: center; }
  .ph-art { position: absolute; inset: calc(var(--hdr) + 1px) 0 0 0; height: auto; margin: 0; --ph-end: var(--paper); }
  .ph-photo, .ph-back { width: calc(var(--ph-h) * 1.06); height: calc(var(--ph-h) * .94); }
  .ph-edge { height: 40px; }
  .ph-top, .ph-bot { box-sizing: border-box; padding-inline: var(--gut) 0; width: min(calc(100vw - var(--ph-h) * 1.1), calc(var(--gut) + 620px)); }
  .ph-top { padding-top: 0; }
  .ph .kicker { margin-bottom: 18px; }
  .ph h1 { font-size: min(clamp(3.5rem, 6.3vw, 6.75rem), calc(var(--ph-h) * .145)); line-height: .93; letter-spacing: -.04em; }
  .ph-bot { padding-block: 26px 44px; }
  .ph .sub { font-size: 1.25rem; max-width: 22em; text-wrap: balance; }
  .ph .ctas { margin-top: 28px; gap: 12px; }
}

/* the dark section lower down carries the same waves along its bottom edge */
.pv .hx-join { position: relative; overflow: hidden; padding-bottom: calc(var(--pv-wave-h) + 56px); --pv-wave-h: 56px; }
.pv-waves { position: absolute; left: 0; bottom: -1px; display: block; width: 100%; height: var(--pv-wave-h); }
@media (min-width: 900px) { .pv .hx-join { --pv-wave-h: 96px; padding-bottom: calc(var(--pv-wave-h) + 88px); } }

/* the header is see-through over the hero from 900px, as on the current homepage */@media (min-width: 900px) {
  .ph { margin-top: calc(-1 * var(--hdr) - 1px); padding-top: calc(var(--hdr) + 1px); }
}
@media (min-width: 900px) and (max-width: 999px) { .ph { --ph-h: clamp(250px, min(80vw, calc(100svh - 575px)), 480px); } }

/* one short entrance when the page opens; nothing keeps moving afterwards */
@media (prefers-reduced-motion: no-preference) {
  .ph-back, .ph-photo { animation: ph-in .9s cubic-bezier(.2,.7,.2,1) both; }
  .ph-photo { animation-delay: .12s; }
  .ph-svg path { animation: ph-rise .9s cubic-bezier(.2,.7,.2,1) .3s both; }
  .ph-svg .w-green { animation-delay: .42s; }
  .ph h1 span { animation: ph-up .7s cubic-bezier(.2,.7,.2,1) both; }
  .ph h1 span:nth-child(2) { animation-delay: .08s; }
  .ph h1 span:nth-child(3) { animation-delay: .16s; }
}
@keyframes ph-in { from { opacity: 0; transform: translateX(48px); } }
@keyframes ph-rise { from { transform: translateY(70px); } }
@keyframes ph-up { from { opacity: 0; transform: translateY(18px); } }
