/*
 * Helen Kozak Photography
 * Restrained, editorial, image-led. Warm off-white ground, charcoal type,
 * generous whitespace. Photographs supply the color.
 * No-crop rule: photographs are always shown whole (object-fit: contain).
 * Fonts are stored on this site (no outside font service).
 */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/inter-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #FAF8F5;
  --fg: #191A24;
  --muted: #E8E4DD;
  --muted-fg: #6E7083;
  --border: #DAD7D0;
  --body-fg: #4A4843;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Archivo", "Inter", ui-sans-serif, system-ui, sans-serif;
  --gutter: 1.5rem;
}
@media (min-width: 640px) { :root { --gutter: 2.5rem; } }
@media (min-width: 1024px) { :root { --gutter: 4rem; } }
@media (min-width: 1536px) { :root { --gutter: 6rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.5;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 0.5rem; z-index: 60; background: var(--fg); color: var(--bg); padding: 0.5rem 1rem; }
.skip-link:focus { left: 0.5rem; }

.page { display: flex; flex-direction: column; min-height: 100vh; }
.page__main { flex: 1; }
.container { width: 100%; max-width: calc(1680px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.canvas { width: 100%; max-width: 1680px; margin-inline: auto; }
.page-pad { padding-block: 4rem; }
@media (min-width: 768px) { .page-pad { padding-block: 6rem; } }

/* ---------- Type helpers ---------- */
.muted { color: var(--muted-fg); }
.small { font-size: 0.875rem; line-height: 1.25rem; }
.eyebrow { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-fg); }
.eyebrow--plain { font-weight: 300; }
.eyebrow--ink { font-size: 0.875rem; letter-spacing: 0.12em; color: var(--fg); }
.label { margin-top: 2rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-fg); font-weight: 500; }
.lead { font-size: 1.25rem; line-height: 1.625; max-width: 48rem; }
@media (min-width: 768px) { .lead { font-size: 1.5rem; } }
.body-copy { font-size: 1rem; line-height: 1.625; max-width: 65ch; }
.page-title { font-size: 1.875rem; font-weight: 300; letter-spacing: -0.025em; line-height: 1.2; }
@media (min-width: 768px) { .page-title { font-size: 2.25rem; } }
.page-intro { margin-top: 1rem; max-width: 36rem; font-size: 1rem; line-height: 1.625; }
.status { margin-top: 2rem; }
.section-heading { margin-bottom: 3rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; }
.section-heading--tight { margin-bottom: 2rem; }
@media (min-width: 768px) { .section-heading { margin-bottom: 4rem; } .section-heading--tight { margin-bottom: 2.5rem; } }

.underline-link { display: inline-block; color: var(--fg); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 4px; transition: color .15s, text-decoration-color .15s; }
.underline-link:hover { text-decoration-color: var(--fg); }
.block-link { display: block; width: fit-content; margin-top: 2rem; }
.muted-link { color: var(--muted-fg); text-decoration: none; transition: color .15s; }
.muted-link:hover { color: var(--fg); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.75rem 1.75rem; background: var(--fg); color: var(--bg); font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: opacity .15s; }
.button:hover { opacity: 0.9; }
.button--lg { min-height: 52px; padding: 0 1.75rem; font-size: 1rem; font-weight: 400; }

/* ---------- Header and navigation ---------- */
.nav { display: flex; align-items: center; gap: 1.5rem; white-space: nowrap; flex-shrink: 0; }
@media (min-width: 768px) { .nav { gap: 2.5rem; } }
.nav a { font-size: 0.875rem; font-weight: 300; text-decoration: none; transition: color .15s; }
.nav a:hover { color: var(--muted-fg); }
.nav a.is-active { font-weight: 500; }

.home-header { padding: 1rem var(--gutter); }
@media (min-width: 768px) { .home-header { padding-block: 1.25rem; } }
@media (min-width: 1536px) { .home-header { padding-block: 1.5rem; } }
.home-header__inner { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 640px) { .home-header__inner { display: flex; justify-content: space-between; gap: 1.5rem; } }
@media (min-width: 768px) { .home-header__inner { align-items: flex-end; } }
.brand { min-width: 0; }
.brand__name { font-size: 1.5rem; line-height: 2rem; font-weight: 300; letter-spacing: -0.025em; text-decoration: none; white-space: nowrap; }
@media (min-width: 768px) { .brand__name { font-size: 1.875rem; line-height: 2.25rem; } }
.brand__descriptor { margin-top: 0.25rem; font-size: 13px; color: var(--muted-fg); white-space: nowrap; }
@media (min-width: 640px) { .brand__descriptor { font-size: 0.875rem; white-space: normal; } }
@media (min-width: 768px) { .home-header .brand__descriptor { font-size: 1rem; } }
@media (min-width: 1920px) {
  .home-header__inner { max-width: 1680px; margin-inline: auto; }
  .home-header { padding-inline: 0; }
  .brand__name { font-size: 3rem; line-height: 1.1; }
  .home-header .brand__descriptor { font-size: 1.25rem; }
  .home-header .nav a { font-size: 1.125rem; }
}

.site-header { padding-block: 1.5rem; }
@media (min-width: 768px) { .site-header { padding-block: 2rem; } }
.site-header__inner { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 640px) { .site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; } }
.brand__mark { font-size: 1.5rem; font-weight: 300; text-decoration: none; white-space: nowrap; }
@media (min-width: 640px) { .brand__mark { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; } .brand__descriptor--phone { display: none; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 2.5rem; }
@media (min-width: 768px) { .site-footer { padding-block: 3.5rem; } }
.site-footer__row { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 768px) { .site-footer__row { flex-direction: row; align-items: center; } .site-footer__contact { text-align: right; } }
.site-footer__row .muted.small { margin-top: 0.25rem; }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.25rem; }
.site-footer__contact .muted.small { margin-top: 0; }
.site-footer__social { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-footer__legal { margin-top: 2.5rem; font-size: 0.75rem; color: var(--muted-fg); }

/* ---------- Photographs (never cropped) ---------- */
.photo-button { display: block; width: 100%; cursor: zoom-in; transition: opacity .15s; }
.photo-button:hover { opacity: 0.85; }
.cell__img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: contain; background: var(--bg); }

/* ---------- Home ---------- */
.hero-section { padding-bottom: 3.5rem; }
@media (min-width: 768px) { .hero-section { padding-bottom: 6rem; } }
.slideshow__frame { position: relative; width: 100%; aspect-ratio: 1920 / 1282; max-height: 82vh; overflow: hidden; }
.slideshow__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.slideshow__slide.is-active { opacity: 1; }
.slideshow__slide img { width: 100%; height: 100%; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .slideshow__slide { transition: none; } }
.slideshow__controls { margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 1.25rem; }
.slideshow__step { font-size: 0.875rem; color: var(--muted-fg); padding: 0.75rem 0.25rem; transition: color .15s; }
.slideshow__step:hover { color: var(--fg); }
.slideshow__dots { display: flex; align-items: center; gap: 0.25rem; }
.slideshow__dot { width: 22px; height: 44px; display: grid; place-items: center; }
.slideshow__dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--border); transition: background .15s; }
.slideshow__dot:hover::before { background: var(--muted-fg); }
.slideshow__dot.is-active::before { background: var(--fg); }
.hero-section__lede { margin-top: 2rem; max-width: 36rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-fg); }
@media (min-width: 768px) { .hero-section__lede { margin-top: 3rem; font-size: 1rem; } }

.section { padding-bottom: 5rem; }
@media (min-width: 768px) { .section { padding-bottom: 7rem; } }
.section--ruled { border-top: 1px solid var(--border); padding-block: 4rem; }
@media (min-width: 768px) { .section--ruled { padding-block: 6rem; } }
.canvas > .section--ruled { border-top: 0; position: relative; }
.canvas > .section--ruled::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--border); }

.split { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .split { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem; } .split__label { grid-column: span 4; } .split__body { grid-column: span 8; } }
.split--ruled { border-top: 1px solid var(--border); padding-top: 2rem; }
@media (min-width: 768px) { .split--ruled { padding-top: 2.5rem; } }

.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .grid-3 { gap: 2rem; } }

.services { display: grid; column-gap: 2.5rem; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.services li { border-bottom: 1px solid var(--border); padding-block: 1.25rem; font-size: 1.125rem; }
@media (min-width: 768px) { .services li { font-size: 1.25rem; } }

.inquiry { display: grid; gap: 3rem; }
@media (min-width: 768px) { .inquiry { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem; } .inquiry__intro { grid-column: span 5; } .inquiry__form { grid-column: span 7; } }
.inquiry__title { font-size: 1.5rem; font-weight: 300; line-height: 1.375; }
@media (min-width: 768px) { .inquiry__title { font-size: 1.875rem; } }
.inquiry__intro .body-copy { margin-top: 1.25rem; max-width: 24rem; }
.inquiry__intro .underline-link:not(.block-link) { margin-top: 0.5rem; }
.inquiry__form label { display: block; font-size: 0.875rem; font-weight: 400; }
.inquiry__form label + label, .form-row + label { margin-top: 1.5rem; }
.form-row { display: grid; gap: 1.5rem; }
.form-row > label + label { margin-top: 0; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.inquiry__form input, .inquiry__form textarea { display: block; width: 100%; margin-top: 0.5rem; padding: 0.75rem; border: 1px solid var(--border); border-radius: 0; background: var(--bg); color: var(--fg); font: inherit; font-size: 1rem; font-weight: 300; }
.inquiry__form textarea { resize: vertical; }
.inquiry__form input:focus-visible, .inquiry__form textarea:focus-visible { outline: 1px solid var(--muted-fg); outline-offset: 0; }
.form-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

/* ---------- Work ---------- */
.category-nav { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.category-nav a { padding-block: 0.5rem; font-size: 0.875rem; font-weight: 400; color: var(--muted-fg); text-decoration: none; transition: color .15s; }
.category-nav a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }
.work-sections { margin-top: 3.5rem; display: grid; gap: 4rem; }
@media (min-width: 768px) { .work-sections { margin-top: 4rem; gap: 6rem; } }
.work-section { scroll-margin-top: 2rem; }
.grid-work { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-work { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .grid-work { gap: 2rem; } }
@media (min-width: 1024px) { .grid-work { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Projects ---------- */
.project-list { margin-top: 3rem; display: grid; gap: 5rem; }
@media (min-width: 768px) { .project-list { margin-top: 4rem; gap: 7rem; } }
.project-card { border-top: 1px solid var(--border); padding-top: 1.5rem; }
@media (min-width: 768px) { .project-card { padding-top: 2rem; } }
.project-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.project-card__images { margin-top: 1.5rem; display: grid; gap: 1rem; }
@media (min-width: 768px) { .project-card__images { margin-top: 2rem; gap: 1.5rem; } .project-card__images--two { grid-template-columns: 1fr 1fr; } }
.card-label { margin-top: 0.5rem; display: flex; align-items: center; gap: 0.625rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-fg); }
.card-label span { width: 1.5rem; height: 1px; background: var(--fg); }
.project-card__text { margin-top: 2rem; display: grid; gap: 2rem; }
@media (min-width: 768px) { .project-card__text { margin-top: 2.5rem; grid-template-columns: 1fr 1fr; gap: 3rem; } }
.project-card__title { font-size: 1.875rem; font-weight: 300; letter-spacing: -0.025em; line-height: 1.2; }
@media (min-width: 768px) { .project-card__title { font-size: 2.25rem; } }
.project-card__title a { text-decoration: none; transition: color .15s; }
.project-card__title a:hover { color: var(--muted-fg); }
.project-meta { margin-top: 0.75rem; }
.notes { margin-top: 1rem; }
.view-link { margin-top: 1.25rem; }

.back-link { font-size: 0.875rem; color: var(--muted-fg); text-decoration: none; transition: color .15s; }
.back-link:hover { color: var(--fg); }
.back-link--bottom { display: inline-block; margin-top: 4rem; }
@media (min-width: 768px) { .back-link--bottom { margin-top: 6rem; } }
.project-header { margin-top: 2.5rem; }
@media (min-width: 768px) { .project-header { margin-top: 3.5rem; } }
.project-header__title { margin-top: 1rem; font-size: 1.875rem; font-weight: 300; letter-spacing: -0.025em; line-height: 1.15; }
@media (min-width: 768px) { .project-header__title { font-size: 3rem; } }
.project-header__description { margin-top: 1.5rem; max-width: 42rem; }
.project-gallery { margin-top: 3.5rem; display: grid; gap: 3rem; }
@media (min-width: 768px) { .project-gallery { margin-top: 5rem; gap: 4rem; } }
.project-gallery__item { width: 100%; max-width: 64rem; margin-inline: auto; }
.project-gallery__img { width: 100%; height: auto; object-fit: contain; }

/* ---------- About (Editorial top + Process grid) ---------- */
.display { font-family: var(--display); font-stretch: 112%; font-weight: 400; letter-spacing: -0.02em; }
.display--xl { font-stretch: 125%; font-weight: 600; font-size: clamp(2.75rem, 7vw, 5.25rem); line-height: 0.98; letter-spacing: -0.03em; text-transform: uppercase; }
.display--lg { font-stretch: 125%; font-weight: 600; font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -0.03em; text-transform: uppercase; }
.display--quote { margin-top: 2.5rem; max-width: 20em; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.15; }
.about__top { padding-top: 3.5rem; }
.about__body { padding-block: 4.5rem 6rem; display: flex; flex-wrap: wrap; gap: 3.5rem; }
.about__photos { flex: 1 1 380px; min-width: 0; display: grid; gap: 1.5rem; align-content: start; }
.about__photos img { width: 100%; height: auto; }
.about__bio { flex: 1 1 480px; min-width: 0; columns: 2 240px; column-gap: 2.5rem; font-size: 1rem; line-height: 1.7; color: #3E3C38; }
.about__bio p + p { margin-top: 1.125rem; }
.glance { border-block: 2px solid var(--fg); }
.glance__grid { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 3rem; }
.glance__grid > div { padding: 2.25rem 0; }
@media (min-width: 640px) and (max-width: 1199px) { .glance__grid { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: 5rem; } }
@media (max-width: 639px) { .glance__grid { display: grid; grid-template-columns: 1fr; } .glance__grid > div { padding: 1.5rem 0; } .glance__grid > div + div { border-top: 1px solid var(--border); } }
.glance__figure { font-stretch: 125%; font-weight: 600; font-size: clamp(2rem, 3vw, 2.75rem); letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.glance__label { margin-top: 0.625rem; font-size: 0.9375rem; color: var(--body-fg); }
.process { padding-block: 6rem 6.5rem; }
.process__steps { margin-top: 3rem; display: grid; grid-template-columns: 1fr; border-top: 1px solid #CFCBC3; border-left: 1px solid #CFCBC3; }
@media (min-width: 560px) { .process__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .process__steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .process__steps { grid-template-columns: repeat(6, 1fr); } }
.process__step { border-right: 1px solid #CFCBC3; border-bottom: 1px solid #CFCBC3; padding: 1.625rem 1.375rem 2.125rem; }
.process__number { width: 44px; height: 44px; border: 1.5px solid var(--fg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 0.9375rem; }
.process__title { margin: 1.375rem 0 0.625rem; font-family: var(--display); font-stretch: 112%; font-weight: 500; font-size: 1.375rem; }
.process__text { font-size: 0.9375rem; line-height: 1.6; color: var(--body-fg); }
.process__link { display: inline-block; margin-top: 0.875rem; font-size: 0.875rem; font-weight: 500; }
.process__extra { margin-top: 2rem; max-width: 46rem; font-size: 1rem; line-height: 1.6; color: var(--body-fg); }
.process__extra strong { font-weight: 500; color: var(--fg); }
.cta { margin-top: 4.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.cta__text { font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.01em; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 4rem; }
@media (min-width: 768px) { .contact { grid-template-columns: repeat(12, minmax(0, 1fr)); } .contact__info { grid-column: span 5; } .contact__photo { grid-column: span 7; } }
.contact__photo img { width: 100%; height: auto; object-fit: contain; }
.contact__form { margin-top: 3rem; }
.contact__list { margin-top: 2.5rem; display: grid; gap: 1rem; }
.contact__list .label { margin-top: 0; }
.contact__list dd { margin-top: 0.25rem; font-size: 1rem; font-weight: 400; }
.contact__list dd a { text-decoration: none; transition: color .15s; }
.contact__list dd a:hover { color: var(--muted-fg); text-decoration: underline; text-underline-offset: 4px; }

.notfound__links { margin-top: 2rem; display: flex; gap: 1.5rem; }

/* ---------- Back to top (Work and project pages) ---------- */
.page:focus { outline: none; }
.to-top { position: fixed; right: var(--gutter); bottom: 1.5rem; z-index: 40; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 1rem; background: rgba(250, 248, 245, 0.94); border: 1px solid var(--border); color: var(--fg); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.04em; text-decoration: none; transition: opacity .25s, transform .25s, border-color .15s; }
.to-top:hover { border-color: var(--fg); }
.js .to-top { opacity: 0; transform: translateY(8px); pointer-events: none; }
.js .to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 639px) { .to-top { right: 1rem; bottom: 1rem; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* ---------- Full-screen viewer ---------- */
.viewer { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; background: var(--bg); }
.viewer[hidden] { display: none; }
.viewer__bar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; }
@media (min-width: 768px) { .viewer__bar { padding-inline: 2.5rem; } }
.viewer__count { font-size: 0.875rem; color: var(--muted-fg); }
.viewer__close { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.12em; min-height: 44px; transition: color .15s; }
.viewer__close:hover { color: var(--muted-fg); }
.viewer__stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 3.5rem 1rem; min-height: 0; }
@media (min-width: 768px) { .viewer__stage { padding-inline: 6rem; } }
.viewer__photo { max-height: 72vh; width: auto; max-width: 100%; object-fit: contain; }
.viewer__arrow { position: absolute; top: 50%; transform: translateY(-50%); padding: 1rem 0.5rem; font-size: 1.5rem; color: var(--muted-fg); transition: color .15s; }
.viewer__arrow:hover { color: var(--fg); }
.viewer__arrow--prev { left: 0.5rem; }
.viewer__arrow--next { right: 0.5rem; }
@media (min-width: 768px) { .viewer__arrow--prev { left: 1.5rem; } .viewer__arrow--next { right: 1.5rem; } }
@media (max-width: 639px), (max-height: 500px) and (orientation: landscape) {
  .viewer { height: 100dvh; }
  .viewer__bar { flex-shrink: 0; padding: 0.5rem 1rem; }
  .viewer__stage { padding: 0; }
  .viewer__photo { position: absolute; inset: 0; width: 100%; height: 100%; max-height: 100%; }
  .viewer__arrow { display: none; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .viewer__bar { position: absolute; inset: 0 0 auto; z-index: 1; pointer-events: none; }
  .viewer__bar p, .viewer__bar button { background: var(--bg); padding-inline: 0.75rem; }
  .viewer__bar button { pointer-events: auto; }
}

/* What clients say (homepage) */
.quotes { display: grid; gap: 3rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 1.25rem; font-weight: 300; line-height: 1.55; color: var(--fg); max-width: 38rem; }
@media (min-width: 768px) { .quote blockquote p { font-size: 1.375rem; } }
.quote figcaption { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.quote__name { font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg); }
.quote__role { font-size: 0.875rem; color: var(--muted-fg); }
