/*
 * Studio Στιγμές: the darkroom. Near-black, the red of the safelight for the
 * actions, film strips with their sprocket holes, the work as a contact sheet.
 * An elegant serif for the words, a mono for the frame numbers.
 */
body.dx-photography {
	--black: #0e0c0d;
	--black-2: #1a1718;
	--black-3: #242021;
	--red: #d6304a;
	--red-2: #b81f38;
	--cream: #f3ece4;
	--grey: #8f8689;
	--ink: #f3ece4;
	--muted: #a59c9f;
	--bg: var(--black);
	--accent: var(--red);
	--font-text: 'Manrope', system-ui, sans-serif;
	--font-display: 'GFS Didot', Didot, Georgia, serif;
	--font-mono: 'IBM Plex Mono', ui-monospace, monospace;
	--step-head: clamp(2.4rem, 1.4rem + 3.4vw, 4.6rem);
	--step-lead: clamp(1.1rem, 1rem + .35vw, 1.28rem);
}
.dx-photography .ph-w { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.dx-photography section { padding-block: clamp(80px, 9vw, 140px); scroll-margin-top: 70px; }
.dx-photography .ph-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 52px); }
.dx-photography .ph-kick { margin-bottom: 16px; font: 500 12px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.dx-photography .ph-h2 { font: 400 var(--step-head)/1 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.dx-photography .ph-lead { margin-top: 18px; font-size: var(--step-lead); line-height: 1.6; color: var(--muted); max-width: 56ch; }
.dx-photography .ph-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: 700 15px/1 var(--font-text); text-decoration: none; transition: background .2s, transform .2s var(--ease), box-shadow .2s; box-shadow: 0 0 40px -8px rgba(214, 48, 74, .6); }
.dx-photography .ph-btn:hover { background: var(--red-2); transform: translateY(-2px); }
.dx-photography .ph-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.dx-photography .ph-btn--s { min-height: 40px; padding: 0 18px; box-shadow: none; }
.dx-photography .ph-link { color: var(--cream); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--red); }

.dx-photography .ph-nav { position: absolute; z-index: 30; inset: 0 0 auto; display: flex; align-items: center; gap: 24px; padding: 20px var(--gutter); font: 600 14px/1 var(--font-text); color: var(--cream); }
.dx-photography .ph-brand { font: italic 600 26px/1 var(--font-display); text-decoration: none; }
.dx-photography .ph-menu { display: flex; gap: 24px; margin-left: auto; }
.dx-photography .ph-menu a { text-decoration: none; opacity: .8; }
.dx-photography .ph-menu a:hover { opacity: 1; color: var(--red); }
.dx-photography .ph-burger { display: none; color: inherit; }

/* ---- the hero: a strip of film across the dark, the words under the safelight */
.dx-photography .ph-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; padding: 110px 0 clamp(48px, 6vw, 90px); overflow: hidden; background: radial-gradient(60% 50% at 80% 100%, rgba(214, 48, 74, .22), transparent 70%), var(--black); }
.dx-photography .ph-strip { display: flex; gap: 0; width: max-content; padding: 22px 0; background: #050404; transform: rotate(-4deg) translateX(-4%); margin-bottom: clamp(36px, 5vw, 70px); animation: ph-roll 50s linear infinite; }
.dx-photography .ph-strip::before, .dx-photography .ph-strip::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: repeating-linear-gradient(90deg, transparent 0 10px, #2a2526 10px 22px, transparent 22px 32px); }
.dx-photography .ph-strip::before { top: 5px; }
.dx-photography .ph-strip::after { bottom: 5px; }
.dx-photography .ph-strip { position: relative; }
@keyframes ph-roll { to { transform: rotate(-4deg) translateX(-34%); } }
.dx-photography .ph-frame { position: relative; margin: 0 6px; width: clamp(240px, 26vw, 400px); }
.dx-photography .ph-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(.9); }
.dx-photography .ph-frame figcaption { position: absolute; left: 6px; bottom: -16px; font: 500 10px/1 var(--font-mono); color: #f2a03a; }
.dx-photography .ph-hero__say { position: relative; max-width: 1320px; width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
.dx-photography .ph-hero h1 { max-width: 14ch; font: 400 clamp(3rem, 1.8rem + 5vw, 6.6rem)/.92 var(--font-display); letter-spacing: -.03em; }
.dx-photography .ph-hero h1 em { color: var(--red); }
.dx-photography .ph-hero__p { margin-top: 22px; max-width: 52ch; font-size: var(--step-lead); color: var(--muted); }
.dx-photography .ph-hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }

/* ---- the contact sheet */
.dx-photography .ph-work { background: var(--black-2); }
.dx-photography .ph-sheet { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 10px; padding: 26px; background: #050404; border-radius: 4px; }
.dx-photography .ph-shot { position: relative; margin: 0; cursor: zoom-in; }
.dx-photography .ph-shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: filter .3s, transform .3s var(--ease); }
.dx-photography .ph-shot:hover img { transform: scale(1.03); }
.dx-photography .ph-shot--0, .dx-photography .ph-shot--6 { grid-column: span 2; grid-row: span 2; }
.dx-photography .ph-shot--0 img, .dx-photography .ph-shot--6 img { height: 100%; aspect-ratio: auto; }
.dx-photography .ph-shot figcaption { position: absolute; left: 0; bottom: -17px; font: 500 10px/1 var(--font-mono); color: #f2a03a; }
.dx-photography .ph-sheet:hover .ph-shot:not(:hover) img { filter: brightness(.55); }

/* ---- date & price */
.dx-photography .ph-date__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; align-items: start; }
.dx-photography .ph-cal, .dx-photography .ph-pack { padding: clamp(20px, 3vw, 34px); border-radius: 16px; background: var(--black-2); border: 1px solid #2c2729; }
.dx-photography .ph-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dx-photography .ph-cal__head p { font: 400 26px/1 var(--font-display); }
.dx-photography .ph-cal__head button { width: 40px; height: 40px; border: 1px solid #3a3335; border-radius: 50%; background: transparent; color: var(--cream); font-size: 20px; }
.dx-photography .ph-cal__head button:hover { border-color: var(--red); color: var(--red); }
.dx-photography .ph-cal__dow, .dx-photography .ph-cal__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.dx-photography .ph-cal__dow span { padding: 6px 0; text-align: center; font: 500 11px/1 var(--font-mono); color: var(--grey); }
.dx-photography .ph-day { aspect-ratio: 1; border: 0; border-radius: 8px; background: var(--black-3); color: var(--cream); font: 600 15px/1 var(--font-text); transition: background .2s, transform .15s; }
.dx-photography .ph-day:hover:not(:disabled) { transform: scale(1.06); background: #312b2d; }
.dx-photography .ph-day.is-few { box-shadow: inset 0 -3px 0 #f2a03a; }
.dx-photography .ph-day:disabled { background: transparent; color: #4b4446; text-decoration: line-through; cursor: not-allowed; }
.dx-photography .ph-day.is-out { visibility: hidden; }
.dx-photography .ph-day[aria-pressed=true] { background: var(--red); color: #fff; }
.dx-photography .ph-cal__key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.dx-photography .ph-cal__key span { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: -8px; }
.dx-photography .k-free { background: var(--black-3); box-shadow: inset 0 0 0 1px #4b4446; }
.dx-photography .k-few { background: var(--black-3); box-shadow: inset 0 -3px 0 #f2a03a; }
.dx-photography .k-full { background: #4b4446; }
.dx-photography .ph-pack fieldset { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.dx-photography .ph-pack legend { display: flex; justify-content: space-between; width: 100%; margin-bottom: 12px; font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.dx-photography .ph-pack legend output { color: var(--cream); }
.dx-photography .ph-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.dx-photography .ph-opts input, .dx-photography .ph-extras input { position: absolute; opacity: 0; pointer-events: none; }
.dx-photography .ph-opts span { display: inline-block; padding: 12px 18px; border-radius: 999px; background: var(--black-3); font-weight: 700; cursor: pointer; transition: background .2s; }
.dx-photography .ph-opts input:checked + span { background: var(--cream); color: var(--black); }
.dx-photography .ph-range { width: 100%; accent-color: var(--red); }
.dx-photography .ph-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dx-photography .ph-extras span { display: grid; gap: 4px; height: 100%; padding: 14px; border-radius: 12px; background: var(--black-3); border: 1px solid transparent; font-weight: 700; font-size: 14.5px; cursor: pointer; transition: border-color .2s; }
.dx-photography .ph-extras small { font: 500 12px/1 var(--font-mono); color: var(--grey); }
.dx-photography .ph-extras input:checked + span { border-color: var(--red); background: rgba(214, 48, 74, .12); }
.dx-photography .ph-opts input:focus-visible + span, .dx-photography .ph-extras input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.dx-photography .ph-total { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid #2c2729; }
.dx-photography .ph-total p { color: var(--muted); }
.dx-photography .ph-total__n { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; }
.dx-photography .ph-total__n b { font: 400 clamp(2.4rem, 1.8rem + 1.8vw, 3.4rem)/1 var(--font-display); color: var(--cream); }
.dx-photography .ph-total__n span { font: 500 13px/1.3 var(--font-mono); color: #f2a03a; }
.dx-photography .ph-total .ph-btn { justify-self: start; }

/* ---- what we cover */
.dx-photography .ph-serv { background: var(--black-2); }
.dx-photography .ph-list { display: grid; gap: 14px; }
.dx-photography .ph-item { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 60px); align-items: center; padding: 14px; border-radius: 16px; background: var(--black); }
.dx-photography .ph-item:nth-child(even) figure { order: 2; }
.dx-photography .ph-item figure { margin: 0; }
.dx-photography .ph-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.dx-photography .ph-item h3 { font: 400 clamp(2rem, 1.4rem + 1.8vw, 3rem)/1 var(--font-display); }
.dx-photography .ph-item p { margin-top: 12px; color: var(--muted); max-width: 46ch; }
.dx-photography .ph-item__p { font: 500 15px/1 var(--font-mono) !important; color: var(--red) !important; }

/* ---- about & voices */
.dx-photography .ph-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.dx-photography .ph-ticks { display: grid; gap: 10px; margin-top: 24px; }
.dx-photography .ph-ticks li::before { content: "● "; color: var(--red); }
.dx-photography .ph-quotes { display: grid; gap: 14px; }
.dx-photography .ph-quotes blockquote { margin: 0; padding: 26px; border-radius: 14px; background: var(--black-2); border-left: 3px solid var(--red); }
.dx-photography .ph-quotes p { font: italic 400 clamp(1.4rem, 1.1rem + .8vw, 1.8rem)/1.25 var(--font-display); }
.dx-photography .ph-quotes footer { margin-top: 10px; font: 500 12px/1 var(--font-mono); color: var(--grey); }

/* ---- questions */
.dx-photography .ph-faq { background: var(--black-2); }
.dx-photography .ph-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); }
.dx-photography .ph-faq__list details { border-bottom: 1px solid #2c2729; }
.dx-photography .ph-faq__list summary { cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font: 400 24px/1.2 var(--font-display); list-style: none; }
.dx-photography .ph-faq__list summary::-webkit-details-marker { display: none; }
.dx-photography .ph-faq__list summary::after { content: "+"; color: var(--red); font-family: var(--font-text); transition: transform .25s var(--ease); }
.dx-photography .ph-faq__list details[open] summary::after { transform: rotate(45deg); }
.dx-photography .ph-faq__list p { padding: 0 0 22px; color: var(--muted); max-width: 60ch; }

.dx-photography .ph-contact { background: radial-gradient(60% 80% at 50% 120%, rgba(214, 48, 74, .3), transparent 70%), var(--black); }
.dx-photography .ph-contact__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.dx-photography .ph-contact__tel { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 22px; }
.dx-photography .ph-contact__tel a { font: italic 400 28px/1 var(--font-display); color: var(--red); text-decoration: none; }

.dx-photography .ph-foot { padding: clamp(48px, 6vw, 90px) 0 30px; background: #050404; overflow: hidden; color: var(--muted); }
.dx-photography .ph-foot__name { font: italic 400 clamp(3.5rem, 13vw, 14rem)/.9 var(--font-display); letter-spacing: -.04em; text-align: center; white-space: nowrap; color: var(--cream); }
.dx-photography .ph-foot__in { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 30px; font-size: 14px; }
.dx-photography .ph-foot a { color: var(--red); }

.dx-photography .ph-dlg { border-radius: 18px; background: var(--black-2); color: var(--cream); }
.dx-photography .ph-dlg__x { position: absolute; top: 10px; right: 10px; }
.dx-photography .ph-dlg__x button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--black-3); color: var(--cream); font-size: 24px; }
.dx-photography .ph-dlg__body { padding: 36px clamp(20px, 4vw, 40px) 32px; }
.dx-photography .ph-dlg h2 { font: 400 30px/1.1 var(--font-display); margin-bottom: 12px; }
.dx-photography .ph-dlg__sum { margin-bottom: 22px; padding: 14px 16px; border-radius: 12px; background: var(--black-3); }
.dx-photography .ph-dlg__tick { font: 400 26px/1.1 var(--font-display); color: var(--red); margin-bottom: 10px; }
.dx-photography .ph-dlg [data-dlg-ok] .ph-btn { margin-top: 20px; }
.dx-photography .ph-form { display: grid; gap: 14px; }
.dx-photography .ph-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.dx-photography .ph-form input { min-height: 50px; padding: 0 14px; border: 1px solid #3a3335; border-radius: 12px; background: var(--black); color: var(--cream); font-size: 16px; }
.dx-photography .ph-form .ph-btn { justify-self: start; }

@media (max-width: 960px) {
	.dx-photography .ph-menu, .dx-photography .ph-nav .ph-btn--s { display: none; }
	.dx-photography .ph-burger { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; }
	.dx-photography .ph-burger span, .dx-photography .ph-burger span::before, .dx-photography .ph-burger span::after { display: block; width: 22px; height: 2px; background: currentColor; }
	.dx-photography .ph-burger span { position: relative; }
	.dx-photography .ph-burger span::before, .dx-photography .ph-burger span::after { content: ""; position: absolute; left: 0; }
	.dx-photography .ph-burger span::before { top: -7px; }
	.dx-photography .ph-burger span::after { top: 7px; }
	.dx-photography .ph-nav.is-open { position: fixed; background: var(--black); }
	.dx-photography .ph-nav.is-open .ph-menu { display: grid; position: absolute; top: 100%; left: 0; right: 0; padding: 8px var(--gutter) 20px; background: var(--black); }
	.dx-photography .ph-nav.is-open .ph-menu a { padding: 12px 0; font-size: 20px; }
	.dx-photography .ph-sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; }
	.dx-photography .ph-date__grid, .dx-photography .ph-about__grid, .dx-photography .ph-faq__grid, .dx-photography .ph-contact__grid, .dx-photography .ph-item { grid-template-columns: minmax(0, 1fr); }
	.dx-photography .ph-item:nth-child(even) figure { order: 0; }
	.dx-photography .ph-extras { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.dx-photography .ph-strip { animation: none; }
}
