:root {
  --bg: #f6f6f3;
  --paper: #ffffff;
  --ink: #202322;
  --muted: #676d69;
  --line: #dcded9;
  --accent: #526d69;
  --accent-dark: #1f2d2b;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  max-width: 920px;
  font-size: clamp(3rem, 8vw, 7.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(220, 222, 217, 0.8);
  background: rgba(246, 246, 243, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-logo {
  width: clamp(4.2rem, 7vw, 5.4rem);
  max-height: 3rem;
  height: auto;
  object-fit: contain;
}

.brand-logo-large {
  transform: scale(1.22);
  transform-origin: left center;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 1.1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-nav a,
.site-footer a {
  position: relative;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active,
.site-footer a:hover,
.site-footer a.is-active {
  color: var(--ink);
}

.site-nav a.is-active::after,
.site-footer a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100vh - 5rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--accent-dark);
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 20, 18, 0.68), rgba(23, 20, 18, 0.14) 58%, rgba(23, 20, 18, 0.28));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 7rem clamp(1.25rem, 4vw, 3rem);
  color: #f8f8f4;
}

.hero-content p {
  max-width: 620px;
  color: rgba(248, 248, 244, 0.88);
  font-size: 1.14rem;
}

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(248, 248, 244, 0.78);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.78rem 1.25rem;
  border: 1px solid var(--accent-dark);
  background: var(--accent-dark);
  color: #f8f8f4;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero .button {
  border-color: #f8f8f4;
  background: #f8f8f4;
  color: var(--accent-dark);
}

.button-secondary {
  background: transparent;
  color: var(--accent-dark);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 4vw, 3rem);
}

.intro-section {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.services-section {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.rich-text {
  font-size: 1.08rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}

.image-card {
  display: block;
  grid-column: span 2;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.image-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 1rem;
  filter: saturate(0.9);
}

.image-card span {
  display: block;
  margin-bottom: 0.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.image-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.text-link {
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

.cta-section {
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1.8rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  max-width: var(--max);
  min-height: calc(100vh - 5rem);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.subpage-hero h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.subpage-hero p {
  max-width: 560px;
  font-size: 1.08rem;
}

.subpage-hero img {
  width: 100%;
  min-height: 34rem;
  object-fit: cover;
}

.compact-section {
  padding-top: 2rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.three-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.three-columns article {
  min-height: 15rem;
  padding: 2rem;
  background: var(--paper);
}

.process-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2rem, 6vw, 6rem);
}

.process-list {
  display: grid;
  gap: 1.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
}

.process-list span {
  color: var(--accent-dark);
  font-weight: 700;
}

.process-list p {
  margin-bottom: 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.wedding-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

.family-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

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

.family-grid img:nth-child(1),
.family-grid img:nth-child(6) {
  grid-column: span 2;
  aspect-ratio: 3 / 2;
}

.portrait-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1rem;
}

.portrait-grid img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.portrait-grid img:nth-child(1),
.portrait-grid img:nth-child(5),
.portrait-grid img:nth-child(12) {
  grid-column: span 2;
  aspect-ratio: 3 / 2;
}

.portrait-grid img:nth-child(2),
.portrait-grid img:nth-child(4),
.portrait-grid img:nth-child(8) {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}

.kita-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

.wedding-hero img,
.family-hero img,
.about-hero img,
.portrait-hero img,
.kita-hero img {
  aspect-ratio: 1;
}

.family-pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.quote-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  border-top: 1px solid var(--line);
}

blockquote {
  margin: 0;
}

blockquote p {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.15;
}

.price-note {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--paper);
  border: 1px solid var(--line);
}

.price-note span {
  display: block;
  color: var(--muted);
}

.price-note strong {
  display: block;
  margin-top: 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 400;
}

.price-note + .price-note {
  margin-top: 1rem;
}

.price-group {
  display: grid;
  gap: 1rem;
}

.legal-page {
  min-height: 65vh;
}

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.legal-block {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.legal-block h2 {
  font-size: 1.6rem;
}

.muted {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer > :first-child {
  justify-self: start;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 0.25rem 0 0;
}

.footer-legal {
  justify-self: center;
  margin-top: 0;
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-links {
  display: grid;
  justify-self: end;
  justify-items: end;
  gap: 0.45rem;
}

.footer-credit {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
  opacity: 0.72;
}

.footer-credit span {
  color: var(--ink);
  font-weight: 500;
}

.footer-credit:hover {
  color: var(--ink);
  opacity: 1;
}

@media (max-width: 980px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    order: 3;
    justify-self: center;
    width: 100%;
  }

  .site-nav,
  .site-footer nav {
    justify-content: flex-start;
  }

  .footer-links {
    order: 2;
    justify-self: start;
    justify-items: start;
  }

  .card-grid,
  .photo-grid,
  .wedding-grid,
  .family-grid,
  .portrait-grid,
  .kita-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .image-card {
    grid-column: span 3;
  }

  .family-grid img:nth-child(1),
  .family-grid img:nth-child(6),
  .portrait-grid img:nth-child(1),
  .portrait-grid img:nth-child(5),
  .portrait-grid img:nth-child(12) {
    grid-column: span 1;
  }

  .portrait-grid img:nth-child(2),
  .portrait-grid img:nth-child(4),
  .portrait-grid img:nth-child(8) {
    grid-row: span 1;
  }

  .feature-band,
  .subpage-hero,
  .process-section,
  .quote-section,
  .family-pricing,
  .split {
    grid-template-columns: 1fr;
  }

  .subpage-hero {
    min-height: auto;
  }

  .subpage-hero img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .hero {
    min-height: 36rem;
  }

  .hero-content {
    padding-top: 4rem;
    padding-bottom: 3.5rem;
  }

  .site-header {
    position: static;
    gap: 0.9rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .brand {
    gap: 0.6rem;
    font-size: 0.78rem;
  }

  .brand-logo {
    width: 3.6rem;
    max-height: 2.3rem;
  }

  .site-nav {
    width: 100%;
    gap: 0.35rem 1rem;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .site-nav a.is-active::after {
    display: none;
  }

  .intro-section {
    padding-bottom: 2.5rem;
  }

  .services-section {
    padding-bottom: 2.75rem;
  }

  .subpage-hero {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .subpage-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .legal-content h1 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .card-grid,
  .photo-grid,
  .wedding-grid,
  .family-grid,
  .portrait-grid,
  .kita-grid,
  .three-columns {
    grid-template-columns: 1fr;
  }

  .image-card {
    grid-column: auto;
  }

  .portrait-grid img {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .three-columns article {
    min-height: auto;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .contact-links {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
