/* Case composition: story and review above a single media board. */
.case-composed { --clip-height: 268px; --board-height: 360px; }
.case-composed .case-overview { grid-template-columns: .65fr 1.35fr; gap: 14px; }
.case-composed .case-did { display: grid; grid-template-columns: minmax(0,1fr) 132px; gap: 20px; }
.case-composed.case-no-review .case-did { grid-template-columns: minmax(0,1fr); }
.case-did-copy > span { display: block; margin-bottom: 18px; color: var(--peach); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.case-composed .case-did .testimonial-card { width: 132px; height: 234px; margin: 0; padding: 9px; grid-template-rows: auto minmax(0,1fr) auto; box-shadow: none; }
.case-composed .case-did .testimonial-card > span { font-size: 19px; }
.case-composed .case-did .testimonial-placeholder > strong { font-size: 32px; }
.case-composed .pending-case-point::before { content: none; }
.case-board { display: grid; grid-template-columns: 310px minmax(0,1fr); gap: 20px; border-top: 1px solid rgba(255,255,255,.23); padding-top: 24px; align-items: stretch; }
.case-travel .case-board { grid-template-columns: 300px 310px minmax(0,1fr); gap: 18px; }
.case-board .case-visual { min-width: 0; height: var(--board-height); display: flex; flex-direction: column; padding: 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; }
.case-board .case-visual > span { color: var(--peach); font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.case-board .case-visual .visual-shot { width: 100%; height: auto; min-height: 0; flex: 1; }
.case-panel { min-width: 0; height: var(--board-height); display: flex; flex-direction: column; }
.case-composed .case-panel .material-heading { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 6px; margin: 0 0 14px; }
.case-panel .material-heading > div { min-width: 0; }
.case-composed .case-fan-panel .material-heading h4 { max-width: 240px; }
.case-composed .case-panel .material-heading h4 { font-size: clamp(19px,1.65vw,26px); line-height: 1.05; letter-spacing: -.035em; }
.case-composed .case-panel .material-heading p { margin: 7px 0 0; font-size: 12px; line-height: 1.35; }
.case-clips, .case-rubrics { min-width: 0; flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 10px; align-items: end; }
.case-rubric { min-width: 0; }
.case-rubric h5 { margin: 0 0 8px; font-size: 17px; line-height: 1.1; min-height: 19px; }
.case-rubric > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.case-composed .case-board .format-video { width: 100%; min-width: 0; height: var(--clip-height); aspect-ratio: auto; }
.case-composed .case-board .format-video > span { font-size: 9px; padding: 7px 5px; inset: auto 5px 6px; text-align: center; }
.evidence-fan { position: relative; flex: 1; min-height: 240px; isolation: isolate; }
.evidence-fan .media-trigger { position: absolute; width: 108px; height: 192px; top: 40px; left: calc(50% - 54px + (var(--i) - 4) * 14px); transform: rotate(var(--angle)); transform-origin: 50% 110%; z-index: var(--i); border: 2px solid var(--peach); border-radius: 11px; overflow: hidden; box-shadow: -5px 6px 14px #0006; transition: transform .25s, top .25s; background: var(--ink); }
.evidence-fan img { width: 100%; height: 100%; object-fit: cover; }
.evidence-fan:hover .media-trigger, .evidence-fan:focus-within .media-trigger { top: 20px; }
.evidence-fan .media-trigger:hover, .evidence-fan .media-trigger:focus-visible { z-index: 20; transform: translateY(-30px) rotate(0) scale(1.12); outline: 2px solid var(--cream); }
@media (min-width: 1700px) { .case-composed { --clip-height: 310px; --board-height: 400px; } .case-travel .case-board { grid-template-columns: 330px 340px minmax(0,1fr); } }
@media (max-width: 1250px) { .case-travel .case-board { grid-template-columns: 220px minmax(0,1fr); } .case-travel .case-clips-panel { grid-column: 1 / -1; } .case-composed .case-overview { grid-template-columns: .7fr 1.3fr; } .case-rubric h5 { font-size: 15px; } }
@media (max-width: 800px) { .case-composed .case-overview { grid-template-columns: 1fr; } .case-board, .case-travel .case-board { grid-template-columns: 180px minmax(0,1fr); } .case-clips-panel { grid-column: 1 / -1; } .case-composed { --clip-height: 235px; --board-height: 325px; } }
@media (max-width: 540px) { .case-composed .case-did { grid-template-columns: minmax(0,1fr) 108px; gap: 12px; padding: 12px; } .case-composed .case-did .testimonial-card { width: 108px; height: 218px; } .case-board, .case-travel .case-board { grid-template-columns: 1fr; } .case-board .case-visual { width: 210px; } .case-clips, .case-rubrics { overflow-x: auto; grid-auto-columns: 132px; padding-bottom: 5px; } .case-rubrics { grid-auto-columns: 271px; } .case-composed .case-panel .material-heading h4 { font-size: 22px; } .case-fan-panel { max-width: 100%; } }
@media (prefers-reduced-motion: reduce) { .evidence-fan .media-trigger { transition: none; } }

.case-clips, .case-rubrics { margin-left: 26px; }
.case-panel .material-heading > span { color: var(--peach); font-size: 12px; }
.team .team-layout { display: grid; grid-template-columns: 1.1fr 1.2fr; gap: 36px; align-items: center; padding-top: 28px; }
.team h2 { font-size: clamp(36px,4.6vw,72px); line-height: 1; }
.team h2 em { color: var(--cream); }
.team .team-layout > div:first-child > p { max-width: 660px; }
.team-portraits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; padding: 12px 4px; align-items: start; }
.team-person { margin: 0; overflow: hidden; border-radius: 14px; background: var(--ink); color: var(--cream); transform: rotate(-2deg); }
.team-person:nth-child(2) { margin-top: 42px; transform: rotate(1.5deg); }
.team-person:nth-child(3) { transform: rotate(-1deg); }
.team-person img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.team-person figcaption { padding: 16px 12px; border-top: 1px solid #ffffff30; }
.team-person h3 { margin: 0 0 8px; font: italic 32px/1 Georgia,serif; color: var(--peach); }
.team-person p { margin: 0; font-size: 14px; line-height: 1.5; }
.pricing, .team { padding-top: 64px; padding-bottom: 56px; }
.team { padding-top: 42px; padding-bottom: 40px; }
.pricing-heading { padding-top: 36px; padding-bottom: 42px; }
.pricing-heading h2 { font-size: clamp(42px,5vw,76px); }
.price-card { min-height: 420px; padding: 22px; }
.price-top h3 { margin-top: 26px; font-size: clamp(30px,3.2vw,46px); }
.price-card > p { min-height: 48px; margin-bottom: 0; }
.price { margin: 16px 0 20px; }
.price-card ul { margin-bottom: 20px; }
.included { margin-top: 28px; }
.source-note { margin-top: 20px; }
.team .team-layout { padding-top: 28px; }
.team .team-layout > div:first-child > p { margin-top: 22px; }
.team-person:nth-child(2) { margin-top: 20px; }
.team-person-katya img { object-fit: cover; object-position: center top; height: auto; aspect-ratio: 4 / 5; clip-path: inset(0); transform: scale(1.1); transform-origin: center top; }
.team-person-katya figcaption { position: relative; background: var(--ink); }
.fan-mobile-open { display: none; }
.is-touch-fan .fan-mobile-open { display: flex; align-items: flex-end; justify-content: center; position: absolute; inset: 0; z-index: 30; border: 0; padding: 0 0 10px; color: var(--peach); background: transparent; font: 600 14px Inter,sans-serif; cursor: pointer; }
.is-touch-fan .media-trigger { pointer-events: none; }
.evidence-fan.is-touch-fan .media-trigger { top: 30px; transform: rotate(var(--angle)); }
.fan-gallery { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--cream); overflow-y: auto; }
.fan-gallery::backdrop { background: var(--ink); }
.fan-gallery header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 16px; background: var(--ink); border-bottom: 1px solid #ffffff30; }
.fan-gallery h2 { font-size: 18px; margin: 0; }
.fan-gallery header button { border: 0; border-radius: 30px; background: var(--peach); padding: 12px 16px; font: 600 14px Inter,sans-serif; white-space: nowrap; }
.fan-gallery-images { display: grid; gap: 18px; padding: 18px; max-width: 620px; margin: auto; }
.fan-gallery-images img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--peach); }
.fan-gallery-open { overflow: hidden; }
.remote-price-note { margin: 0 0 40px; padding: 18px 22px; border-left: 4px solid var(--peach); background: #17151308; font-size: 16px; line-height: 1.5; }
.remote-price-note strong { display: block; margin-bottom: 4px; }
.pricing .remote-price-note { margin: 24px 0 0; }
.contact h2 em { display: inline-block; transform: translateY(-.07em); }
.floating-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 30px; background: var(--peach); color: var(--ink); border: 1px solid var(--ink); box-shadow: 0 4px 16px #0003; font-size: 16px; }
.contact-form .custom-select { grid-column: 1 / -1; position: relative; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.contact-form .custom-select.select-label::after { content: none; }
.custom-select select[hidden] { display: none; }
.contact-form .select-toggle { width: 100%; margin-top: 12px; border: 1px solid var(--peach); border-radius: 16px; padding: 16px 18px; background: #302a26; color: var(--cream); display: flex; justify-content: space-between; font-size: 17px; text-align: left; }
.select-toggle::after { content: '⌄'; color: var(--peach); }
.select-options { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20; padding: 8px; border-radius: 18px; background: #302a26; border: 1px solid #ff885966; box-shadow: 0 12px 30px #0006; }
.select-options[hidden] { display: none; }
.contact-form .select-options button { display: block; width: 100%; border: 0; border-radius: 11px; padding: 12px 14px; text-align: left; background: transparent; color: var(--cream); font-size: 16px; }
.contact-form .select-options button[aria-selected="true"] { background: #b5d884; color: var(--ink); }
.select-options button:focus-visible, .select-toggle:focus-visible { outline: 2px solid var(--peach); outline-offset: 1px; }
.select-options button:hover { box-shadow: inset 0 0 0 1px var(--peach); }
.contact-form label:has(textarea) { grid-column: 1 / -1; }
.contact-form select { appearance: none; border: 1px solid var(--peach); border-radius: 14px; padding: 16px 48px 16px 18px; margin-top: 12px; background: #302a26; color: var(--cream); cursor: pointer; }
.contact-form .select-label { position: relative; }
.contact-form .select-label::after { content: '⌄'; position: absolute; right: 20px; bottom: 16px; font-size: 22px; color: var(--peach); pointer-events: none; }
.contact-form select option { background: #302a26; color: var(--cream); }
.contact-form select:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }
.contact-form .form-status { opacity: 1; font-size: 13px; }
@media (max-width: 1000px) { .team .team-layout { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 800px) { .team-portraits { gap: 14px; } .team-person figcaption { padding: 16px; } .team-person h3 { font-size: 32px; } .team-person p { font-size: 14px; } }
@media (max-width: 540px) { .team-portraits { grid-template-columns: 1fr; gap: 28px; padding: 40px 8px 0; } .team-person:nth-child(2) { margin-top: 0; } .team-person { max-width: 360px; width: 100%; justify-self: center; } }
@media (max-width: 800px) {
  .case-composed .case-did { grid-template-columns: minmax(0,1fr); }
  .case-composed .case-board { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .case-composed .case-board > .case-visual,
  .case-composed .case-board > .testimonial-card { width: 100%; min-width: 0; height: 290px; margin: 0; padding: 12px; box-sizing: border-box; }
  .case-composed .case-board > .testimonial-card { display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 10px; box-shadow: none; }
  .case-composed .case-board > .testimonial-card > span { font-size: 20px; }
  .case-composed .case-board > .testimonial-card video { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
  .case-composed .case-board > .testimonial-placeholder > strong { font-size: 28px; }
  .case-composed .case-board > .case-panel { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .case-composed .case-board > .case-visual,
  .case-composed .case-board > .testimonial-card { height: 260px; padding: 9px; }
}
/* Phone-only refinements; desktop layout is intentionally unchanged. */
.contact-links { display: flex; align-items: center; gap: 16px; border-top: 0; flex-wrap: wrap; }
.direct-contact-note { margin: 0 auto 0 0; font-size: 18px; line-height: 1.5; }
.direct-contact-note span { color: var(--peach); }
.contact-layout { grid-template-columns: minmax(0,1fr); gap: 32px; }
@media (min-width: 801px) {
  .contact-form { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 36px; }
  .contact-form .custom-select, .contact-form .select-label { grid-column: auto; }
}
@media (max-width: 800px) {
  .direct-contact-note { flex-basis: 100%; font-size: 16px; }
}
.contact-links .social-icon { display: grid; place-items: center; flex: 0 0 64px; width: 64px; height: 64px; padding: 16px; border: 1px solid var(--peach); border-radius: 50%; color: var(--peach); background: #302a26; }
.social-icon svg { display: block; width: 30px; height: 30px; }
@media (min-width: 801px) { footer > a { margin-right: 120px; } }
@media (max-width: 800px) {
  #case-tamasha .format-video > span, #case-barber .format-video > span, #case-rozetka .format-video > span { white-space: pre-line; }
  .team-portraits { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; padding: 14px 0 0; align-items: stretch; }
  .team-person, .team-person:nth-child(2), .team-person:nth-child(3) { margin: 0; transform: none; border-radius: 10px; min-width: 0; }
  .team-person figcaption { padding: 10px 6px; }
  .team-person h3 { font-size: 24px; text-align: center; }
  .team-person p { font-size: 11px; line-height: 1.4; text-align: center; overflow-wrap: anywhere; }
  .team .team-layout { gap: 14px; }
  .media-modal-close, .fan-gallery header button { display: grid; place-items: center; padding: 0; width: 40px; height: 40px; min-width: 40px; border-radius: 50%; font: 26px/1 Inter,sans-serif; }
  .case-composed .case-board .format-video > span { display: flex; align-items: center; justify-content: center; min-height: 34px; line-height: 1.25; }
  .testimonial-card small, .visual-shot > span { text-align: center; }
  .pricing .price-card { min-height: 0; padding: 16px; }
  .pricing .price-top h3 { margin: 12px 0 8px; font-size: 30px; }
  .pricing .price-card > p { min-height: 0; margin: 0; font-size: 14px; line-height: 1.35; }
  .pricing .price { margin: 12px 0; }
  .pricing .price-card ul { margin: 0 0 12px; }
  .pricing .price-card li { padding: 6px 0; }
  .pricing .price-card > a { padding-top: 10px; min-height: 40px; align-items: center; }
  .pricing .popular { top: 12px; right: 12px; }
}
.fan-gallery.mobile-gallery header { justify-content: flex-end; padding: 10px 12px; border: 0; }
.fan-gallery.mobile-gallery h2 { display: none; }
.fan-gallery.mobile-gallery header button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; font: 26px/1 Inter,sans-serif; border-radius: 50%; }
.fan-gallery.mobile-gallery .fan-gallery-images { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 4px 12px 16px; max-width: 620px; }
.fan-gallery.mobile-gallery .fan-gallery-images img { min-width: 0; aspect-ratio: 9 / 16; object-fit: contain; border: 2px solid var(--peach); border-radius: 10px; background: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .fan-gallery.mobile-gallery[open] .fan-gallery-images img { animation: fan-unpack .32s ease-out both; }
  @keyframes fan-unpack { from { opacity: 0; transform: translateY(45px) scale(.8) rotate(-7deg); } to { opacity: 1; transform: none; } }
}
