/* ============================================================
   Superb Custom Tailors — static site styles
   Design tokens in one place; everything references them.
   ============================================================ */
:root {
  --ink:        #1d1b21;
  --ink-soft:   #4c4a54;
  --paper:      #ffffff;
  --band:       #f2f0ec;
  --band-2:     #eae7e1;
  --band-lite:  #f7f6f3;   /* feature collage backdrop */
  /* palette taken from the price table: a deep indigo-violet, a darker panel
     shade for anything nested on it, and a muted tint for header rows/accents */
  --violet:     #3a1c82;   /* brand — logo, links, buttons, violet bands */
  --violet-deep:#2a1362;   /* panels sitting on a violet band */
  --violet-soft:#51378d;   /* muted tint — table header, accents */
  --line:       rgba(20, 18, 26, 0.12);
  --film:       #0d0c10;   /* film stock — deeper than --ink so frames read as emulsion */
  --film-num:   #f0a35a;   /* frame numbers */
  --shadow:     0 18px 40px -24px rgba(20, 18, 26, 0.45);

  --serif-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --serif: Georgia, "Times New Roman", serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 6vw, 72px);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif-display); font-weight: 600; line-height: 1.1; color: var(--ink); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  color: var(--violet);
}
.section { padding-block: clamp(56px, 9vw, 108px); }
.section--tight { padding-block: clamp(40px, 5.5vw, 70px); }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--violet);
  color: #fff;
  padding: .85em 2em;
  border-radius: 999px;
  font-size: .95rem;
  letter-spacing: .03em;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--violet-deep); text-decoration: none; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--violet); border: 1px solid var(--violet); }
.btn--ghost:hover { background: var(--violet); color: #fff; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px -5px rgba(20, 18, 26, .3);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.brand {
  font-family: var(--serif-display);
  font-weight: 700; font-size: 1.54rem; color: var(--violet);
  letter-spacing: .01em; white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: clamp(.9rem, 3vw, 2rem); align-items: center; }
.nav-links a {
  color: var(--ink); font-size: .95rem; letter-spacing: .04em;
  padding: .25em 0; position: relative;
}
.nav-links a[aria-current="page"] { color: var(--violet); }
.nav-links a:hover { text-decoration: none; color: var(--violet); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

@media (max-width: 560px) {
  .nav { min-height: 58px; gap: .5rem; }
  .brand { font-size: clamp(.9rem, 4.3vw, 1.2rem); } /* grows toward +20% only as far as the nav still fits */
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: .82rem; letter-spacing: .02em; }
}
@media (max-width: 360px) {
  .nav-links { gap: .7rem; }
  .nav-links a { font-size: .78rem; }
}
@media (max-width: 340px) {
  /* 320px phones (iPhone SE 1st gen and older Androids) */
  .nav { gap: .4rem; }
  .brand { font-size: .82rem; }
  .nav-links { gap: .55rem; }
  .nav-links a { font-size: .74rem; letter-spacing: 0; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(52vh, 430px);
  display: grid; place-items: center;
  color: #fff; text-align: center;
  background: #2a2530;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%; z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  /* light scrim only — the photo should read bright; legibility comes from the text-shadow */
  background: linear-gradient(180deg, rgba(20,16,28,.08), rgba(20,16,28,.26));
}
.hero-inner { position: relative; z-index: 2; padding: var(--gutter); }
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 6vw, 4rem);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.02;
  text-shadow: 0 2px 10px rgba(0,0,0,.45), 0 1px 30px rgba(0,0,0,.35);
  margin: 0;
}

/* ---------- intro band ---------- */
.band { background: var(--band); }

/* ---------- feature callout (overlapping collage) ---------- */
.feature-section {
  position: relative;
  background: var(--band-lite);
  border-top: 2px solid var(--violet);
  padding-bottom: clamp(70px, 9vw, 100px);   /* stacked layout: nothing overhangs */
}

/* stacked by default; the pieces overlap once there's room (see media query) */
.collage { display: grid; gap: 22px; }
.collage__item { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.collage__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.collage__card {
  background: var(--violet); color: #fff;
  padding: clamp(24px, 3vw, 38px); border-radius: 12px;
  box-shadow: var(--shadow);
}
.collage__card .eyebrow { color: rgba(255,255,255,.72); margin: 0 0 .7rem; }
.collage__card h2 { color: #fff; font-size: clamp(1.5rem, 2.9vw, 2.3rem); margin: 0 0 .8rem; }
.collage__card p { margin: 0; color: rgba(255,255,255,.9); font-size: clamp(.95rem, 1.3vw, 1.05rem); }
.collage__card .btn { background: #fff; color: var(--violet-deep); margin-top: 1.3rem; }
.collage__card .btn:hover { background: #f2ecff; }

@media (min-width: 900px) {
  /* fixed, not vw-scaled: the card overhangs the collage box *more* as the viewport
     narrows (its text wraps taller while the box shrinks), so vw padding shrinks
     exactly when more clearance is needed and the card collides with the wave */
  .feature-section { padding-bottom: 200px; }
  .collage { display: block; position: relative; aspect-ratio: 1455 / 930; }
  .collage__item, .collage__card { position: absolute; }
  .collage__item img { aspect-ratio: auto; }
  /* runs past the main photo's left edge (35.4%) so its corner sits fully behind it,
     rather than the two edges meeting flush and reading as a seam */
  .collage__item--tl   { left: 0;     top: 5.5%;  width: 42%;   height: 54.7%; z-index: 1; }
  .collage__item--main { left: 35.4%; top: 0;     width: 64.6%; height: 61.9%; z-index: 2; }
  .collage__item--bl   { left: 5.5%;  top: 50.8%; width: 44.3%; height: 47.9%; z-index: 3; }
  .collage__card       { left: 45.4%; top: 57%; width: 49.5%; z-index: 4; }  /* tucks under the main photo's bottom edge */
}

/* wavy purple rule closing the section */
.wave {
  position: absolute; left: 0; bottom: 0; width: 100%;
  height: clamp(38px, 5vw, 70px); display: block; pointer-events: none;
}
/* Must match the background of the section that follows (.services, --band-2).
   CSS cannot read a sibling's background, so both reference the same token —
   change the token's value and the two stay in step. If you ever reorder the
   sections, this fill has to be repointed by hand or a straight seam reappears. */
.wave__fill { fill: var(--band-2); }
.wave__line { fill: none; stroke: var(--violet); stroke-width: 2.5; vector-effect: non-scaling-stroke; }

/* ---------- services ---------- */
.section-title { text-align: center; margin: 0 0 .3rem; font-size: clamp(2rem, 5vw, 3rem); }
.section-title--solo { margin-bottom: clamp(26px, 3.2vw, 42px); }   /* no lead paragraph under it */
.section-lead { text-align: center; color: var(--ink-soft); max-width: 620px; margin: 0 auto 3rem; }
.section--tight .section-lead { margin-bottom: 1.6rem; }
.services { background: var(--band-2); }   /* a touch darker than the other bands */
/* wider than the standard wrap: 4 columns inside 1056px caps each card at ~249px,
   which forces the copy to wrap deep and makes the cards tall */
.services > .wrap { max-width: 1320px; }
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(4, 1fr); } }
/* round portrait + centred copy, after the original site — much shorter than the
   old full-bleed 3:4 image, which is what made these cards so tall */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  text-align: center; padding: 30px 22px 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__img {
  width: clamp(124px, 13vw, 158px); aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; background: var(--band);
  margin: 0 auto 18px;
}
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 0; }
.card__body h3 { font-size: 1.16rem; margin: 0 0 .45rem; }
.card__body p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* ---------- gallery (auto-rolling marquee) ---------- */
/* the film base — one mask on the wrapper so base, rails and photos fade out together */
.filmstrip {
  background: var(--film);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee { position: relative; width: 100%; overflow: hidden; }
.marquee__track {
  display: flex; width: max-content; padding-block: 9px;
  will-change: transform;               /* position is driven by JS (speed + direction) */
}
/* frames butt against each other, separated only by the film rebate (the borders) */
.marquee__item {
  position: relative;
  flex: 0 0 clamp(210px, 26vw, 330px);
  margin: 0;                       /* figure's UA margin would open an 80px gap */
  border-inline: 2px solid var(--film);
  overflow: hidden; cursor: zoom-in;
}
.marquee__item img {
  width: 100%; height: clamp(280px, 32vw, 420px);
  object-fit: cover; display: block;
  filter: saturate(.92) contrast(1.04); transition: transform .5s ease, filter .3s ease;
}
.marquee__item:hover img { transform: scale(1.04); filter: saturate(1.02) contrast(1.04); }
.marquee__item::after {
  content: attr(data-n);
  position: absolute; top: 7px; right: 10px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .68rem; letter-spacing: .1em; color: var(--film-num);
  text-shadow: 0 1px 3px rgba(0,0,0,.85); pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* film-strip rails — a restrained nod to 35mm; no dark base behind the photos.
   Holes are punched in --paper so they read as see-through against the section. */
.film-rail {
  height: 30px;
  background-color: var(--film);
  background-image: radial-gradient(circle at center, var(--paper) 5px, transparent 5.6px);
  background-size: 34px 100%;
  background-repeat: repeat-x;
}
@media (max-width: 560px) {
  .film-rail {
    height: 21px; background-size: 25px 100%;
    background-image: radial-gradient(circle at center, var(--paper) 3.7px, transparent 4.2px);
  }
  .marquee__item::after { font-size: .6rem; top: 5px; right: 7px; }
}

/* gallery direction / pause controls */
.marquee__controls { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.mq-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft);
  font-family: var(--serif); font-size: 1.35rem; line-height: 1;
  letter-spacing: -.04em;               /* keeps 3 chevrons inside the circle */
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.mq-btn:hover { border-color: var(--violet); color: var(--violet); }
.mq-btn.is-active { background: var(--violet); border-color: var(--violet); color: #fff; }
.mq-btn.is-fast { box-shadow: 0 0 0 3px rgba(58, 28, 130, .24); }
#mqPause { font-size: .8rem; }

/* ---------- process ---------- */
/* wider column => fewer wrapped lines => shorter rows */
.steps { display: grid; gap: 15px; counter-reset: step; max-width: 1000px; margin-inline: auto; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.step__n {
  counter-increment: step;
  font-family: var(--serif-display); font-size: 1.3rem; font-weight: 700;
  color: var(--violet); background: #fff; border: 1.5px solid var(--violet);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  flex: none;
}
.step__n::before { content: counter(step); }
.step__body { padding-top: .1rem; }
.step__body h3 { font-size: 1.08rem; margin: 0 0 .15rem; }
.step p { margin: 0; color: var(--ink-soft); }

/* ---------- special offer ---------- */
.offer { background: var(--violet); color: #fff; text-align: center; }   /* brand violet, matches the footer */
.offer h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 auto .8rem; max-width: 800px; }
.offer .lead { font-size: 1.1rem; margin: 0 0 1.2rem; color: rgba(255,255,255,.95); }
.offer .fine { font-size: .82rem; color: rgba(255,255,255,.72); margin: .3rem 0 0; }

/* copy beside the price list on wide screens — roughly halves the section's height */
.offer-grid { display: grid; gap: clamp(26px, 3.5vw, 52px); }
@media (min-width: 880px) {
  .offer-grid { grid-template-columns: 1.02fr .98fr; align-items: center; text-align: left; }
  .offer-grid h2 { margin-inline: 0; }
  .offer-grid .price-table { margin: 0; max-width: none; }
}
.offer .btn { background: #fff; color: var(--violet-deep); }
.offer .btn:hover { background: #f2ecff; }

/* starting-price table */
.price-table {
  width: 100%; max-width: 460px; margin: 1.6rem auto 1rem;
  border-collapse: separate; border-spacing: 0;   /* separate => the rounded corners clip cleanly */
  background: var(--violet-deep);
  border-radius: 10px; overflow: hidden;
  text-align: left; font-size: 1rem;
}
.price-table th, .price-table td {
  padding: .48em 1rem;
  border-bottom: 1px solid rgba(255,255,255,.16);
  font-weight: 400;
}
.price-table thead th {
  font-family: var(--serif-display); font-weight: 700; font-size: 1.08rem;
  background: var(--violet-soft); color: #fff;
}
.price-table tbody th { color: #fff; }
.price-table td { color: rgba(255,255,255,.92); width: 38%; }
.price-table th + th, .price-table td { border-left: 1px solid rgba(255,255,255,.16); }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 820px) {
  /* uneven columns + a stagger, and cards sized to their own text rather than
     stretched to a common height — three identical blocks read as a table */
  /* keep the width spread small — a narrow column makes its card wrap much taller,
     and the tallest card sets the whole section's height */
  .quotes { grid-template-columns: 1.07fr .96fr 1fr; align-items: start; }
  .quote:nth-child(2) { margin-top: 26px; }
  .quote:nth-child(3) { margin-top: 10px; }
}
.quote {
  position: relative; background: var(--band); border-radius: 12px;
  margin: 0;                       /* blockquote's UA margin (1em 40px) shrank each card
                                      80px inside its column and forced deep text wrapping */
  padding: 24px 22px 20px;
}
.quote p { font-style: italic; margin: 0 0 .9rem; color: var(--ink); font-size: .96rem; }
.quote cite { font-style: normal; font-weight: 700; color: var(--violet); font-family: var(--serif-display); }
.quote--accent { background: var(--violet); }
.quote--accent p { color: rgba(255,255,255,.94); }
.quote--accent cite { color: #fff; }

/* ---------- about teaser / split ---------- */
.split { display: grid; gap: clamp(24px, 5vw, 56px); align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--rev .split__media { order: 2; }
  /* photo runs the full height of the copy instead of sitting centred at a fixed ratio */
  .split--tall { align-items: stretch; }
  .split--tall .split__media img { height: 100%; aspect-ratio: auto; object-position: 55% center; }
}
.split__media { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0 0 1rem; }
.split p { color: var(--ink-soft); }

/* ---------- about page specifics ---------- */
/* carries the page's h1 now that the hero image is gone */
.page-title { font-size: clamp(2.2rem, 5.5vw, 3.4rem); color: var(--violet); margin: 0 0 1.3rem; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 2.4rem 0 .8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); margin: 0 0 1.1rem; }
/* capped width, otherwise each 190px portrait floats in the middle of a half-page column */
.people { display: grid; gap: 28px; grid-template-columns: 1fr; max-width: 560px; margin: 2.5rem auto 0; }
@media (min-width: 560px) { .people { grid-template-columns: 1fr 1fr; } }
.person { text-align: center; margin: 0; }   /* figure UA margin ate 80px of each column */
.person img { width: 190px; height: 190px; object-fit: cover; border-radius: 50%; margin: 0 auto .9rem; box-shadow: var(--shadow); }
.person h3 { font-size: 1.35rem; margin: 0; }
.person span { color: var(--ink-soft); font-size: .95rem; }

/* ---------- contact page ---------- */
.contact-section { background: var(--band); }
.contact-grid { display: grid; gap: clamp(28px, 5vw, 56px); }
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .contact-grid .contact-media { order: -1; }   /* photo left, copy right (mobile keeps copy first) */
}
.contact-card h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 0 0 .4rem; }
.contact-card .sub { color: var(--ink-soft); font-size: 1.15rem; margin: 0 0 2rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .75rem; align-items: baseline; font-size: 1.05rem; }
.contact-list .ico { font-size: 1.2rem; flex: none; }
.contact-list strong { font-family: var(--serif-display); }
.contact-media { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
/* no aspect-ratio: the photo stretches to the copy's height, and object-position keeps
   the neon sign in frame instead of letting a portrait crop cut it off */
.contact-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 37% 30%;
  min-height: clamp(340px, 52vw, 520px);
}
.rule { border: 0; border-top: 2px solid var(--violet); margin: clamp(48px, 6vw, 76px) 0 0; }
.map-link { text-align: center; margin: .9rem 0 0; font-size: .92rem; letter-spacing: .02em; }
.map-embed {
  border: 0; display: block; width: 100%; max-width: 900px;
  aspect-ratio: 16/7; border-radius: 14px;
  margin: 2.5rem auto 0; box-shadow: var(--shadow);
}

/* ---------- footer ---------- */
.site-footer { background: var(--violet); color: rgba(255,255,255,.78); padding-block: clamp(31px, 4.1vw, 49px) clamp(19px, 2.6vw, 31px); font-size: .96rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; } }
.footer-grid h4 { font-family: var(--serif); text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; color: rgba(255,255,255,.62); margin: 0 0 .9rem; font-weight: 400; }
.footer-brand { font-family: var(--serif-display); font-size: 1.5rem; color: #fff; margin: 0 0 .7rem; }
.footer-tag { color: rgba(255,255,255,.72); max-width: 34ch; margin: 0 0 1rem; }
.footer-note { color: rgba(255,255,255,.68); font-size: .85rem; margin: 0 0 .85rem; max-width: 30ch; }
.footer-grid p { margin: .2rem 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.22); margin-top: 20px; padding-top: 13px; color: rgba(255,255,255,.62); font-size: .82rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; background: rgba(16,12,22,.9); display: none; place-items: center; z-index: 100; padding: 4vw; cursor: zoom-out; }
.lb.open { display: grid; }
.lb img { max-width: 92vw; max-height: 84vh; border-radius: 8px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); cursor: default; }
.lb__close { position: fixed; top: 18px; right: 24px; color: #fff; font-size: 2rem; line-height: 1; background: none; border: 0; cursor: pointer; }
.lb__nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff;
  font-family: var(--serif); font-size: 2.1rem; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s ease;
}
.lb__nav:hover { background: rgba(255,255,255,.3); }
.lb__nav--prev { left: max(14px, 2vw); }
.lb__nav--next { right: max(14px, 2vw); }
.lb__count { position: fixed; bottom: 20px; left: 0; right: 0; margin: 0; text-align: center; color: rgba(255,255,255,.72); font-size: .88rem; letter-spacing: .08em; }
@media (max-width: 560px) { .lb__nav { width: 44px; height: 44px; font-size: 1.7rem; } }
