/* Contemporaryheadshot.com — redesign prototype
   Home page. Faithful refresh of the live layout: same sections in the same order,
   modernised type, spacing and colour, and the images that were broken on the live
   site rendering properly.

   Type: the live site sets headings in Cardo (a serif) and body copy in a neutral
   grotesque. Both are substituted here with system stacks so the prototype previews
   offline; swapping in the real webfonts is a one-line change to --font-display /
   --font-body. */

:root {
  /* Colour — a restrained monochrome with a warm off-white, plus the black bands */
  --ink: #111111;
  --ink-soft: #454545;
  --muted: #7d766c;
  --paper: #ffffff;
  --cream: #f6f4f1;
  --band: #0d0d0d;
  --on-band: #f4f2ef;
  --on-band-muted: #a09a92;
  --rule: rgba(17, 17, 17, 0.14);
  --rule-band: rgba(244, 242, 239, 0.2);

  /* Type */
  --font-display: Georgia, "Times New Roman", "Liberation Serif", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.125rem, 0.9rem + 0.7vw, 1.375rem);
  --step-2: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem);
  --step-3: clamp(1.875rem, 1.2rem + 2.6vw, 3rem);

  /* Space */
  --gap: clamp(1.5rem, 3vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vw, 7rem);
  --wrap: 74rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.2; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 0; top: -100%;
  z-index: 20;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--band);
  color: var(--on-band);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

/* The logo is black artwork on transparency, so it is inverted for the black bands. */
.brand__logo,
.footer__logo {
  width: 2.75rem;
  height: auto;
  filter: brightness(0) invert(1);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__list {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav__list a {
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
}

.nav__list a:hover { border-bottom-color: var(--on-band); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--solid,
.btn:hover {
  background: var(--ink);
  color: #fff;
}

.btn--ghost {
  border-color: rgba(244, 242, 239, 0.45);
  color: var(--on-band);
}

.btn--ghost:hover {
  background: var(--on-band);
  border-color: var(--on-band);
  color: var(--ink);
}

/* ---------- Sliders (hero and testimonials) ---------- */

.hero__viewport,
.viewport { --visible: 3; }

.hero__track,
.testimonials {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.hero__track::-webkit-scrollbar,
.testimonials::-webkit-scrollbar { display: none; }

.hero__slide,
.testimonial {
  flex: 0 0 calc(100% / var(--visible));
  scroll-snap-align: start;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

/* Full-bleed strip of portraits at the top of the page */
.hero { background: var(--band); }
.hero__viewport { position: relative; }

.dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.25rem var(--pad);
}

.dots__dot {
  width: 26px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(17, 17, 17, 0.25);
  cursor: pointer;
}

.hero .dots__dot { background: rgba(244, 242, 239, 0.35); }

.dots__dot[aria-selected="true"] { background: var(--ink); }
.hero .dots__dot[aria-selected="true"] { background: var(--on-band); }

/* ---------- Sections ---------- */

.section { padding: var(--section-y) 0; }
.section--tint { background: var(--cream); }

.section__head {
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.display {
  font-family: var(--font-display);
  font-size: var(--step-3);
  letter-spacing: -0.01em;
}

.lede {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: var(--step-1);
}

.kicker-h {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* Three columns: the circles, headings and copy of the live intro block */
.cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.col__mark {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.col__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  margin-bottom: 0.6rem;
}

.col p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* Picture + copy, as on the live site (actor and business sections) */
.media {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: center;
}

.media--reverse .media__figure { order: 2; }
.media--reverse .media__body { order: 1; }

.media__figure { margin: 0; }

.media__figure img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.media__body p { color: var(--ink-soft); }

/* ---------- Quote band ---------- */

.quote {
  background: var(--band);
  color: var(--on-band);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  text-align: center;
}

.quote blockquote { margin: 0; }
.quote__inner { max-width: 52rem; }

.quote__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.375rem, 1rem + 1.8vw, 2.25rem);
  line-height: 1.35;
  margin: 0 0 1.75rem;
}

.quote__name {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.quote__role {
  margin: 0.35rem 0 0;
  color: var(--on-band-muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Newsletter ---------- */

.newsletter {
  max-width: 40rem;
  text-align: center;
}

.newsletter__form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.newsletter__form input {
  flex: 1 1 18rem;
  min-width: 0;
  padding: 0.8rem 1rem;
  border: 1px solid var(--rule);
  background: var(--paper);
  font: inherit;
  font-size: 0.9375rem;
}

.newsletter__note {
  flex: 1 1 100%;
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

/* ---------- Testimonials ---------- */

.testimonial {
  padding-right: clamp(1.5rem, 3vw, 2.5rem);
}

.testimonial img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
}

.testimonial__name {
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.testimonial p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* ---------- Closing strip ---------- */

.strip { padding: 0 0 0; }

.strip__caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  text-align: center;
  padding: 0 var(--pad) clamp(2rem, 4vw, 3rem);
}

.strip__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--band);
}

.strip__row img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--band);
  color: var(--on-band);
  padding: clamp(3rem, 6vw, 5rem) 0 2.5rem;
  font-size: 0.9375rem;
}

.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--gap);
}

.footer__logo { width: 3rem; }

.footer__brand {
  font-family: var(--font-display);
  margin: 1.25rem 0 0.35rem;
}

.footer__tagline {
  margin: 0;
  color: var(--on-band-muted);
  font-size: 0.875rem;
}

.footer__h {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-band-muted);
  margin-bottom: 1rem;
}

.footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__col li { margin-bottom: 0.6rem; }

.footer__col a { text-decoration: none; }
.footer__col a:hover { text-decoration: underline; }

.footer__blurb {
  max-width: 62ch;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-band);
  color: var(--on-band-muted);
  font-size: 0.875rem;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__social a { text-decoration: none; color: var(--on-band-muted); }
.footer__social a:hover { color: var(--on-band); }

/* ---------- Booking page: price + scheduler ---------- */

.section--tight { padding-top: 0; }

.page-head {
  text-align: center;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.page-head .lede { max-width: 46rem; margin-left: auto; margin-right: auto; }
.page-head a { color: inherit; }

.book {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.book__scheduler,
.panel {
  min-height: 18rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--rule);
  background: var(--cream);
}

.book__scheduler p,
.panel p { color: var(--ink-soft); max-width: 40ch; }

.book__price { text-align: center; }

.price__figure {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 1;
  margin: 0 0 0.75rem;
}

.price__includes {
  font-family: var(--font-display);
  font-size: var(--step-1);
  margin: 0 0 1.75rem;
}

.price__list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.9;
}

/* ---------- Lists on the business page ---------- */

.checklist {
  display: grid;
  gap: 0.6rem;
  max-width: 46rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ink);
}

.detail-list {
  max-width: 46rem;
  margin: 1.5rem 0;
}

.detail-list dt {
  margin-top: 1.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* Closing band with five portraits instead of four */
.strip__row--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- Gallery grid ---------- */

.gallery {
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.75rem;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Sponsor / partner logo row ---------- */

.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.logos img {
  display: block;
  width: auto;
  height: auto;
  max-width: 11rem;
  max-height: 4.5rem;
  object-fit: contain;
}

/* ---------- Long-form prose (legal pages) ---------- */

.prose {
  max-width: 44rem;
  margin-inline: auto;
}

.prose > * + * {
  margin-top: 1rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: var(--step-1);
  margin: 2.5rem 0 1rem;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: var(--step-0);
  margin: 2rem 0 0.75rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul {
  margin: 1rem 0 0.5rem;
  padding-left: 1.25rem;
}

/* ---------- Narrow screens ---------- */

@media (max-width: 960px) {
  .hero__viewport { --visible: 2; }
  .viewport { --visible: 2; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .book { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .hero__viewport,
  .viewport { --visible: 1; }

  .site-header__inner { flex-wrap: wrap; gap: 1rem; }
  .nav { gap: 1.25rem; }
  .nav__list { gap: 1.25rem; }

  .cols { grid-template-columns: 1fr; gap: 2.25rem; }

  .media,
  .media--reverse { grid-template-columns: 1fr; }
  .media--reverse .media__figure { order: 0; }

  /* The live site hides this band on small screens; keeping that behaviour */
  .strip__row { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__track,
  .testimonials { scroll-behavior: auto; }
}
