/* Compact editorial refinements.
   Keep the modern responsive design, but favor a tighter, image-forward layout
   that feels closer to a newspaper or magazine article on larger screens. */

:root {
  --max-width: 960px;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(54, 39, 34, 0.08);
  --content-gap: clamp(1.15rem, 2vw, 1.6rem);
  --story-media-width: 250px;
}

body {
  font-size: 15.8px;
  line-height: 1.48;
}

h1,
h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.55rem, 2.35vw, 2rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.header-inner {
  gap: 0.9rem;
  min-height: 64px;
}

.brand-name {
  font-size: 1.24rem;
}

.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.085em;
}

.site-nav a {
  padding: 0.32rem 0.56rem;
}

.hero {
  padding: clamp(1rem, 1.8vw, 1.4rem) 0;
}

.page-hero {
  padding: clamp(0.95rem, 1.7vw, 1.3rem) 0;
}

/* Keep page intros aligned to the same editorial column as the sections below. */
.page-hero .narrow {
  max-width: var(--max-width);
}

.hero-copy {
  max-width: 570px;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(1.55rem, 2.35vw, 2rem);
  line-height: 1.08;
}

.hero-lead {
  font-size: clamp(0.96rem, 1.15vw, 1.05rem);
  line-height: 1.45;
}

.hero-experience {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(250px, 0.82fr);
  gap: var(--content-gap);
  align-items: center;
}

.tailor-photo,
.contact-photo,
.story-photo {
  margin: 0;
}

/* Give the hero copy slightly more visual weight than the mannequin photo. */
.tailor-photo {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 305 / 200;
  max-width: 350px;
  justify-self: end;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #ddd;
}

.tailor-photo img {
  display: block;
  width: 257.4%;
  max-width: none;
  height: auto;
  transform: translateX(-61.15%);
}

.eyebrow {
  margin-bottom: 0.28rem;
}

.button-row {
  margin-top: 0.7rem;
}

.appointment-note {
  margin-top: 0.45rem;
}

.section {
  padding: clamp(1.05rem, 1.9vw, 1.55rem) 0;
}

.home-family-story {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.home-family-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: start;
}

.home-story-card {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  min-width: 0;
}

.home-story-card-reverse {
  grid-template-columns: minmax(0, 1fr) 220px;
}

.home-story-card-reverse .home-story-photo {
  order: 2;
}

.home-story-card-reverse .home-story-copy {
  order: 1;
}

.home-story-photo {
  margin: 0;
  align-self: start;
}

.home-story-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Keep the low-resolution family portrait at roughly its native size. */
.family-home-photo {
  width: 156px;
  justify-self: start;
}

/* The baby photo has a larger source, so let it remain large enough to read clearly. */
.baby-home-photo {
  width: 210px;
  justify-self: end;
}

.home-story-copy {
  min-width: 0;
  align-self: start;
  padding-top: 0;
}

.home-story-copy .eyebrow {
  margin-top: 0;
}

.home-story-copy h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.25rem, 1.75vw, 1.5rem);
}

.home-story-copy p:not(.eyebrow) {
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

.home-story-copy .text-link {
  margin-top: 0.1rem;
}

.split-intro {
  gap: var(--content-gap);
}

.section-heading {
  margin-bottom: 0.8rem;
}

.service-card {
  min-height: 100px;
  padding: 0.75rem;
}

.story-preview {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: var(--content-gap);
  align-items: center;
}

.story-layout {
  grid-template-columns: minmax(205px, var(--story-media-width)) minmax(0, 1fr);
  gap: var(--content-gap);
  align-items: center;
}

.story-layout > div,
.story-preview > div {
  min-width: 0;
}

.story-layout-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(205px, var(--story-media-width));
}

.story-layout-reverse > div {
  order: 1;
  justify-self: end;
  width: 100%;
}

.story-layout-reverse .story-photo {
  order: 2;
  justify-self: start;
}

.story-preview img {
  width: 220px;
  max-width: 100%;
  height: auto;
  max-height: none;
  justify-self: center;
  object-fit: contain;
}

.story-photo {
  width: 100%;
  max-width: var(--story-media-width);
  justify-self: end;
}

.story-photo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.maine-photo img {
  width: 100%;
}

.text-link {
  margin-top: 0.3rem;
}

.gallery-grid {
  gap: 0.65rem;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.88fr);
  gap: var(--content-gap);
  align-items: start;
}

.contact-card {
  padding: clamp(0.9rem, 1.7vw, 1.2rem);
}

.contact-list {
  margin: 0.7rem 0 0.9rem;
}

.contact-list > div {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.contact-photo {
  width: 100%;
}

.contact-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.parking-caption {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
  line-height: 1.35;
}

.map-wrap,
.map-wrap iframe {
  min-height: 300px;
  height: 300px;
}

.cta-card {
  gap: 0.9rem;
  padding: clamp(1rem, 2vw, 1.4rem);
}

.site-footer {
  padding: 1.25rem 0;
}

@media (max-width: 1050px) and (min-width: 901px) {
  :root {
    --content-gap: clamp(1rem, 1.7vw, 1.35rem);
    --story-media-width: 235px;
  }

  .hero-experience {
    grid-template-columns: minmax(0, 1.2fr) minmax(235px, 0.8fr);
  }

  .tailor-photo {
    max-width: 325px;
  }

  .home-story-card {
    grid-template-columns: 155px minmax(0, 1fr);
  }

  .home-story-card-reverse {
    grid-template-columns: minmax(0, 1fr) 195px;
  }

  .family-home-photo {
    width: 150px;
  }

  .baby-home-photo {
    width: 190px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.86fr);
  }
}

@media (max-width: 900px) {
  body {
    line-height: 1.52;
  }

  .header-inner {
    padding: 0.55rem 0;
  }

  .hero-experience,
  .story-preview,
  .story-layout,
  .story-layout-reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-experience,
  .story-preview,
  .story-layout,
  .contact-grid {
    gap: 0.9rem;
  }

  .tailor-photo {
    max-width: 340px;
    justify-self: start;
  }

  .home-family-story-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .home-story-card,
  .home-story-card-reverse {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .home-story-card-reverse .home-story-photo,
  .home-story-card-reverse .home-story-copy {
    order: initial;
  }

  .family-home-photo {
    width: 156px;
    justify-self: start;
  }

  .baby-home-photo {
    width: 170px;
    justify-self: start;
  }

  .story-preview img {
    margin-inline: 0;
    justify-self: start;
  }

  .story-layout-reverse > div,
  .story-layout-reverse .story-photo {
    order: initial;
  }

  .story-layout-reverse > div {
    justify-self: stretch;
  }

  .story-photo,
  .story-layout-reverse .story-photo {
    width: auto;
    max-width: min(100%, 300px);
    justify-self: start;
  }

  .maine-photo {
    width: min(100%, 380px);
    max-width: 380px;
  }

  .contact-photo {
    max-width: 580px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
    line-height: 1.52;
  }

  h1,
  h2,
  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(1.45rem, 6vw, 1.8rem);
  }

  .section,
  .page-hero,
  .hero {
    padding: 1.05rem 0;
  }

  .hero-experience,
  .story-preview,
  .story-layout,
  .contact-grid {
    gap: 0.8rem;
  }

  .tailor-photo {
    max-width: 100%;
  }

  .home-story-card,
  .home-story-card-reverse {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .family-home-photo {
    width: min(100%, 190px);
  }

  .baby-home-photo {
    width: min(100%, 230px);
  }

  .home-story-copy h2 {
    font-size: clamp(1.3rem, 5.5vw, 1.6rem);
  }

  .story-photo,
  .story-layout-reverse .story-photo,
  .maine-photo,
  .contact-photo {
    max-width: 100%;
  }

  .cta-card {
    padding: 1rem;
  }
}
