/* Photophy studio: the same journeys in light, glass and photographic paper. */
body.photophy-theme:is(.page-group,.page-account,.page-subscription,.page-legal) {
  --journey-ink: #242339;
  --journey-muted: #686879;
  --journey-line: #d9d8e7;
  --journey-lilac: #725ad4;
}
body.photophy-theme:is(.page-group,.page-account,.page-subscription) .topbar {
  position: relative;
  z-index: 3;
  border-bottom-color: #ffffffc9;
  background: #fffdf9b8;
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 1px 0 #4038540b, 0 10px 30px #40385404;
}
body.photophy-theme:is(.page-group,.page-account,.page-subscription) .topbar > a:last-child {
  padding: 11px 17px;
  border: 1px solid #d8d4e1;
  border-radius: 999px;
  background: linear-gradient(140deg,#ffffffd9,#f6f3ffb3);
  box-shadow: 0 3px 8px #42335f05, inset 0 1px 0 #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}
body.photophy-theme:is(.page-group,.page-account,.page-subscription,.page-legal) :is(h1,h2,h3) {
  color: var(--journey-ink);
}
body.photophy-theme:is(.page-group,.page-account,.page-subscription,.page-legal) .eyebrow {
  color: #7357aa;
  font-size: 10px;
  letter-spacing: .16em;
}
body.photophy-theme:is(.page-group,.page-account,.page-subscription) :is(.card,.plan-card,.how-card),
body.photophy-theme.page-legal .legal-card {
  position: relative;
  isolation: isolate;
  border: 1px solid #fff;
  border-radius: 28px;
  background: linear-gradient(135deg,#ffffffed,#fffdfbe8 56%,#faf9ffeb);
  box-shadow: 0 30px 65px -34px #51416e3b, 0 5px 14px -8px #55466914, inset 0 0 0 1px #e3dfec7d;
}
body.photophy-theme:is(.page-group,.page-account,.page-subscription) :is(.primary,.button),
body.photophy-theme.page-legal .legal-button:not(.secondary) {
  position: relative;
  overflow: hidden;
  border: 1px solid #8b6bc1;
  border-radius: 13px;
  color: #fff;
  background: radial-gradient(ellipse at 85% 0,#ce9bd91a,transparent 68%), linear-gradient(115deg,#7350cf,#9857b5);
  box-shadow: 0 10px 23px -10px #7850b65c, inset 0 1px 0 #ffffff3b;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
body.photophy-theme:is(.page-group,.page-account,.page-subscription) :is(.primary,.button)::after,
body.photophy-theme.page-legal .legal-button:not(.secondary)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,transparent 35%,#ffffff26 50%,transparent 65%);
  transform: translateX(-110%);
  transition: transform .7s ease;
  pointer-events: none;
}
body.photophy-theme:is(.page-group,.page-account) :is(input:not([type='range']):not([type='checkbox']):not([type='radio']):not([type='file']),select) {
  min-height: 50px;
  border-color: #dcd6e5;
  border-radius: 12px;
  background: #ffffffe6;
  box-shadow: inset 0 2px 4px #59446d05, 0 1px 0 #fff;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
body.photophy-theme:is(.page-group,.page-account) :is(input,select):focus {
  border-color: #9076bf;
  outline: 2px solid #cfc1ed;
  outline-offset: 3px;
  background: #fff;
  box-shadow: 0 0 0 6px #eee6fc70;
}

/* A photographic studio surrounds the existing group creation flow. */
body.photophy-theme.page-group .hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 90% 14%,#e8e1ffb0,transparent 39%), radial-gradient(ellipse at 12% 0,#fff0e29e,transparent 42%), linear-gradient(140deg,#ffffffed,#fffdf8f5 45%,#f9f7fff0);
}
body.photophy-theme.page-group .hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  right: -115px;
  top: -168px;
  border-radius: 50%;
  border: 56px solid #ffffff91;
  box-shadow: inset 3px 7px 21px #ae99cc1c, 10px 8px 24px #b8a4d126, -4px -2px 14px #fff9;
  transform: rotate(-22deg) scaleY(.86);
  pointer-events: none;
}
body.photophy-theme.page-group h1 {
  font-size: clamp(34px,4.5vw,57px);
  line-height: 1.04;
  letter-spacing: -.061em;
  font-weight: 600;
}
body.photophy-theme.page-group h1 em {
  font-family: Georgia,'Times New Roman',serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.055em;
  background-image: linear-gradient(115deg,#7555ad 8%,#a35f8c 53%,#8062c9 100%);
}
body.photophy-theme.page-group .hero-intro { color: var(--journey-muted); }
body.photophy-theme.page-group .hero-benefits { gap: 8px; }
body.photophy-theme.page-group .hero-benefits span {
  padding: 7px 10px;
  border: 1px solid #ded8eb;
  border-radius: 999px;
  background: #ffffff87;
  color: #61526e;
  box-shadow: inset 0 1px 0 #fff;
}
body.photophy-theme.page-group .hero-art { perspective: 800px; }
body.photophy-theme.page-group .hero-art::before {
  content: '';
  position: absolute;
  inset: 20% -2% -5%;
  border-radius: 50%;
  background: radial-gradient(ellipse,#ab8cd651,#f3cfd832 43%,transparent 70%);
  filter: blur(9px);
  pointer-events: none;
}
body.photophy-theme.page-group .sample-print {
  padding: 11px 11px 29px;
  border: 1px solid #fff;
  border-radius: 5px;
  background: linear-gradient(145deg,#fff,#fcfbf8);
  box-shadow: 0 28px 29px -19px #4033468a, 0 6px 9px #3024380b, inset 0 0 0 1px #b2a3c018;
}
body.photophy-theme.page-group .sample-one .sample-grid { background: url('/wedding-couple-grid.webp') center/cover no-repeat; }
body.photophy-theme.page-group .sample-two .sample-grid { background: url('/wedding-guests-grid.webp') center/cover no-repeat; }
body.photophy-theme.page-group .sample-grid { border-radius: 2px; overflow: hidden; }
body.photophy-theme.page-group .sample-grid i { background: none; }
body.photophy-theme.page-group .sample-print b { color: #746675; font-size: 8px; letter-spacing: .13em; }
body.photophy-theme.page-group .create-panel {
  position: relative;
  border: 1px solid #e2d9ee;
  border-radius: 21px;
  background: linear-gradient(125deg,#ffffffeb,#f6f0ffde);
  box-shadow: 0 11px 26px -15px #836d9b24, inset 0 1px 0 #fff;
}
body.photophy-theme.page-group .create-panel::before {
  content: '';
  position: absolute;
  height: 2px;
  top: 0;
  left: 24px;
  right: 24px;
  background: linear-gradient(90deg,transparent,#b096de,#ebafb9,#c0dcef,transparent);
}
body.photophy-theme.page-group .how-grid > div {
  border: 1px solid #e6e0ee;
  border-radius: 18px;
  background: linear-gradient(145deg,#fff,#f5f2fc);
  box-shadow: inset 0 1px 0 #fff;
}
body.photophy-theme.page-group .how-grid > div:nth-child(2) { background: linear-gradient(145deg,#fff,#fcf1f2); }
body.photophy-theme.page-group .how-grid > div:nth-child(3) { background: linear-gradient(145deg,#fff,#eef5f9); }
body.photophy-theme.page-group .how-grid b {
  width: 38px;
  height: 38px;
  border: 1px solid #dad1e9;
  border-radius: 12px;
  background: linear-gradient(140deg,#fff,#e8def8);
  box-shadow: 0 6px 9px -7px #7056977a, inset 0 1px 0 #fff;
}
body.photophy-theme.page-group .recover-card { background: radial-gradient(ellipse at 100% 0,#dfd5f445,transparent 65%),linear-gradient(130deg,#ffffffed,#f8f6fbee); }
body.photophy-theme.page-group .tiers div {
  padding: 19px 17px;
  border: 1px solid #e0dce9;
  border-radius: 16px;
  background: linear-gradient(135deg,#fff,#f4effbd9);
  box-shadow: inset 0 1px 0 #fff;
}
body.photophy-theme.page-group .tiers span { color: #544268; font-size: 29px; }

/* Membership cards are lit paper objects; the featured choice is midnight glass. */
body.photophy-theme:is(.page-subscription,.page-account) .intro h1 {
  font-family: Georgia,'Times New Roman',serif;
  font-size: clamp(36px,5vw,61px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.06;
}
body.photophy-theme:is(.page-subscription,.page-account) .intro .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 5px 12px;
  border: 1px solid #dcd3e9;
  border-radius: 999px;
  background: #fffafbab;
  box-shadow: inset 0 1px 0 #fff;
}
body.photophy-theme.page-subscription .plan-card {
  overflow: hidden;
  padding-top: 37px;
  background: radial-gradient(ellipse at 100% 0,#e1d7fa88,transparent 56%),linear-gradient(145deg,#fffefd,#ffffffeb);
  transition: transform .45s ease,box-shadow .45s ease,border-color .3s ease;
}
body.photophy-theme.page-subscription .plan-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 33px solid #e4d9f654;
  top: -100px;
  right: -57px;
  transform: rotate(-25deg) scaleY(.82);
  box-shadow: inset 4px 6px 15px #a68fc71a, 3px 5px 16px #8f70b719, -2px -3px 8px #fff;
  pointer-events: none;
}
body.photophy-theme.page-subscription .plan-card:nth-child(3) { background: radial-gradient(ellipse at 100% 0,#eedbdfad,transparent 56%),linear-gradient(145deg,#fffefd,#ffffffeb); }
body.photophy-theme.page-subscription .plan-card:nth-child(3)::before { border-color: #f0d5db63; }
body.photophy-theme.page-subscription .plan-card h2 { font-size: 32px; font-weight: 600; }
body.photophy-theme.page-subscription .plan-price { font-size: clamp(41px,3.7vw,49px); letter-spacing: -.075em; }
body.photophy-theme.page-subscription .plan-price span { letter-spacing: -.01em; }
body.photophy-theme.page-subscription .plan-card > p:not(.eyebrow):not(.plan-price) { padding-bottom: 12px; }
body.photophy-theme.page-subscription .plan-card.featured {
  border-color: #837397;
  background: radial-gradient(ellipse at 105% 0,#a887d1b0,transparent 54%),radial-gradient(ellipse at 0 105%,#5b507980,transparent 55%),linear-gradient(150deg,#353149,#222435 75%);
  box-shadow: 0 30px 46px -20px #50426763, 0 6px 12px #46355917, inset 0 1px 0 #e4d0ff73;
}
body.photophy-theme.page-subscription .plan-card.featured::before {
  top: -103px;
  right: -72px;
  width: 235px;
  height: 235px;
  border-width: 39px;
  border-color: #d6baf041;
  box-shadow: inset 4px 6px 17px #22183124,4px 6px 18px #1d182c21,-2px -3px 10px #d2b3f837;
}
body.photophy-theme.page-subscription .plan-card.featured :is(h2,.plan-price) { color: #fff; }
body.photophy-theme.page-subscription .plan-card.featured :is(p:not(.plan-price),.plan-price span) { color: #e2dced; }
body.photophy-theme.page-subscription .plan-card.featured .eyebrow { color: #e8d0ff; }
body.photophy-theme.page-subscription .plan-card.featured .primary {
  background: linear-gradient(115deg,#fff3f3,#eee4ff 72%,#dceaf8);
  color: #342641;
  border-color: #ffffffc9;
  box-shadow: 0 8px 20px #0d102428,inset 0 1px 0 #fff;
}
body.photophy-theme.page-subscription .how-card {
  border-radius: 24px;
  background: linear-gradient(125deg,#ffffffde,#f8f3ffde);
}
body.photophy-theme.page-subscription .how-card li::marker { color: #785aa8; font-weight: 700; }

/* Quiet detail around sign-in and readable long-form pages. */
body.photophy-theme.page-account #signed-out {
  padding: 32px;
  border-color: #fff;
  background: radial-gradient(ellipse at 100% 0,#eae0fa92,transparent 57%),linear-gradient(145deg,#ffffffed,#fffdfaf5);
  box-shadow: 0 35px 65px -29px #62527c4a,0 6px 16px #58446709,inset 0 0 0 1px #e4ddeb99;
}
body.photophy-theme.page-account #signed-out::before {
  content: '';
  position: absolute;
  inset: -8px;
  z-index: -1;
  border: 1px solid #ffffffad;
  border-radius: 35px;
  pointer-events: none;
}
body.photophy-theme.page-account .tabs { padding: 5px; border-radius: 13px; background: #ece7f3; border-color: #ddd5e8; }
body.photophy-theme.page-account .tabs button { min-height: 40px; border-radius: 9px; font-size: 13px; }
body.photophy-theme.page-account .tabs button.active { color: #5e437c; background: #fff; box-shadow: 0 3px 8px #57416d19,inset 0 1px 0 #fff; }
body.photophy-theme.page-account .form h2 { font-size: 28px; letter-spacing: -.055em; }
body.photophy-theme.page-account .member-stat { border-color: #dcd3e9; background: linear-gradient(135deg,#fff,#eee7f8); box-shadow: inset 0 1px 0 #fff; }
body.photophy-theme.page-legal .legal-card {
  overflow: hidden;
  border-radius: 28px;
  background: radial-gradient(ellipse 390px 220px at 105% 0,#e6d9f89c,transparent 83%),linear-gradient(140deg,#ffffffee,#fffcf8f5 45%,#fffefdef);
  box-shadow: 0 28px 80px -33px #61507435,0 4px 10px #48345604,inset 0 0 0 1px #e2dbea75;
}
body.photophy-theme.page-legal .legal-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 240px;
  height: 240px;
  right: -90px;
  top: -138px;
  border: 34px solid #e8dff656;
  border-radius: 50%;
  box-shadow: inset 3px 5px 13px #937bac12,4px 6px 13px #ac94c522,-2px -4px 12px #fff;
  transform: rotate(-22deg) scaleY(.85);
  pointer-events: none;
}
body.photophy-theme.page-legal h1 { font-family: Georgia,'Times New Roman',serif; font-size: clamp(36px,6vw,54px); font-weight: 400; line-height: 1.03; letter-spacing: -.05em; }
body.photophy-theme.page-legal h2 { padding-top: 8px; font-size: 22px; letter-spacing: -.04em; }
body.photophy-theme.page-legal :is(p,li) { color: #656473; }
body.photophy-theme.page-legal .legal-nav a { text-decoration-color: #b9a3d4; }
body.photophy-theme.page-legal .legal-button.secondary { border-color: #d8cce5; background: #ffffffbd; box-shadow: inset 0 1px 0 #fff; }

@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  body.photophy-theme:is(.page-group,.page-account,.page-subscription) .topbar > a:last-child:hover { border-color: #b7a3d1; box-shadow: 0 4px 13px #684b8321,inset 0 1px 0 #fff; }
  body.photophy-theme:is(.page-group,.page-account,.page-subscription) :is(.primary,.button):hover:not(:disabled),
  body.photophy-theme.page-legal .legal-button:not(.secondary):hover { transform: translateY(-2px); box-shadow: 0 14px 27px -11px #44325270,inset 0 1px 0 #ffffff4d; }
  body.photophy-theme:is(.page-group,.page-account,.page-subscription) :is(.primary,.button):hover::after,
  body.photophy-theme.page-legal .legal-button:not(.secondary):hover::after { transform: translateX(110%); }
  body.photophy-theme.page-subscription .plan-card:hover { transform: translateY(-5px); border-color: #c3b1d8; box-shadow: 0 32px 59px -29px #6e52745c,inset 0 1px 0 #fff; }
  body.photophy-theme.page-subscription .plan-card.featured:hover { box-shadow: 0 34px 54px -22px #43385085,inset 0 1px 0 #e4d0ff73; }
}
@media(max-width:560px) {
  body.photophy-theme:is(.page-group,.page-account,.page-subscription) .topbar { gap: 10px; }
  body.photophy-theme:is(.page-group,.page-account,.page-subscription) .topbar > a:last-child { padding: 9px 11px; font-size: 10px; text-align: center; }
  body.photophy-theme:is(.page-group,.page-account,.page-subscription) :is(.card,.plan-card,.how-card),body.photophy-theme.page-legal .legal-card { border-radius: 22px; }
  body.photophy-theme.page-group .hero-benefits span { padding: 6px 8px; font-size: 10px; }
  body.photophy-theme.page-group .hero::before { right: -245px; top: -178px; opacity: .6; }
  body.photophy-theme.page-group .create-panel { margin-top: 25px; }
  body.photophy-theme.page-group .tiers div { padding: 16px 12px; }
  body.photophy-theme.page-group .tiers span { font-size: 24px; }
  body.photophy-theme.page-account #signed-out { padding: 22px; }
  body.photophy-theme.page-account #signed-out::before { inset: -5px; border-radius: 27px; }
  body.photophy-theme.page-subscription .plan-card { padding-top: 28px; }
}
@media(prefers-reduced-motion:reduce) {
  body.photophy-theme:is(.page-group,.page-account,.page-subscription,.page-legal) :is(.button,.primary,.legal-button,.plan-card,.topbar>a:last-child) { transition: none; }
  body.photophy-theme:is(.page-group,.page-account,.page-subscription,.page-legal) :is(.button,.primary,.legal-button)::after { display: none; }
}
@media(forced-colors:active) {
  body.photophy-theme:is(.page-group,.page-account,.page-subscription,.page-legal) :is(.hero,.plan-card,.legal-card,#signed-out)::before { display: none; }
  body.photophy-theme:is(.page-group,.page-account,.page-subscription,.page-legal) :is(.card,.plan-card,.how-card,.legal-card,.primary,.button,.legal-button) { border-color: CanvasText; background: Canvas; color: CanvasText; box-shadow: none; }
  body.photophy-theme.page-group h1 em { background: none; color: CanvasText; }
}
