:root {
  color-scheme: light;
  --ink: #191719;
  --paper: #fff8ef;
  --coral: #e96960;
  --champagne: #d9ad65;
  --white: #fffdf9;
  --muted: #61544e;
  --coral-dark: #963732;
  --coral-hover: #f18278;
  --line: #e8dac8;
  background: var(--paper);
  font-family: 'Avenir Next', Avenir, system-ui, sans-serif;
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, figure, h1, h2, h3, p { margin: 0; }
p { line-height: 1.65; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral-dark); outline-offset: 4px; }

.shell { width: min(100% - 80px, 1280px); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip-link:focus { position: absolute; inset: 8px auto auto 8px; padding: 12px; background: white; z-index: 2; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
.brand { display: block; flex: none; width: clamp(134px, 41vw, 166px); }
.brand img { height: auto; }
nav { display: flex; flex-wrap: wrap; gap: 12px 30px; }
nav a { text-decoration: none; font-size: .9rem; font-weight: 650; }
nav a:hover, .text-link:hover { color: var(--coral-dark); }
nav a:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 21px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--coral);
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  font-size: .92rem;
}
.button:hover { background: var(--coral-hover); }
.button-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.button-outline:hover { background: #f8e8d1; }
.button-light { background: var(--champagne); color: var(--ink); }
.button-light:hover { background: #edc88d; }
.text-link { border: 0; padding: 4px 0; background: transparent; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: .28em; }

.eyebrow { color: var(--coral-dark); font-size: .79rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.section-heading h2, .faq h2 { margin-top: 9px; }
.section-heading > p { max-width: 29ch; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button {
  min-height: 42px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 100vw;
  background: transparent;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
}
.filters button:hover { border-color: var(--coral-dark); }
.filters button[aria-pressed='true'] { color: var(--paper); border-color: var(--ink); background: var(--ink); }
.gallery { display: grid; gap: 14px; }
.style-card { min-width: 0; }
.style-button {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
}
.style-button:hover { border-color: var(--coral-dark); }
.style-button:disabled { cursor: default; opacity: 1; }
.style-image { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #eedfcb; }
.style-image img { height: 100%; object-fit: cover; }
.style-info { display: grid; gap: 4px; padding: 11px 10px 12px; line-height: 1.26; }
.style-info strong { font-size: .94rem; }
.style-info span { color: var(--muted); font-size: .8rem; }
.fine-print { color: var(--muted); font-size: .875rem; }

.steps, .plans { display: grid; gap: 14px; }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.steps h3, .plan h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--muted); max-width: 34ch; }
.plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan { padding: clamp(22px, 4vw, 45px); border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.plan-price { line-height: 1.12; letter-spacing: -.06em; }
.plan .button { margin-top: 20px; }
.faq { display: grid; grid-template-columns: .6fr 1fr; gap: 35px; }
.questions { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { padding-block: 16px; font-weight: 750; cursor: pointer; }
details p { color: var(--muted); padding-bottom: 17px; }
.final-cta { background: var(--ink); color: white; }
.final-cta .shell { display: flex; gap: 22px; justify-content: space-between; align-items: center; padding-block: 40px; }
.final-cta h2 { font-size: clamp(2rem, 4.1vw, 3.7rem); max-width: 19ch; }
.final-cta .button { flex: none; }
.footer-inner { padding-block: 24px; }

.style-dialog {
  width: min(710px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}
.style-dialog::backdrop { background: #191719c9; }
.dialog-content { display: grid; grid-template-columns: .75fr 1fr; gap: 22px; padding: 24px; align-items: start; }
.dialog-content h2 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 9px 0 12px; }
.dialog-content p { margin-bottom: 10px; }
.dialog-image { border-radius: 8px; }
.close-form { display: flex; justify-content: end; margin: 8px 8px -12px; }
.close-button { min-width: 40px; min-height: 40px; color: var(--ink); background: transparent; border: 0; font-size: 1.6rem; }
.file-label { display: block; margin: 12px 0 6px; font-weight: 700; }
input[type=file] { max-width: 100%; }
.selfie-preview { display: flex; align-items: center; gap: 14px; }
.selfie-preview img { width: 85px; height: 85px; object-fit: cover; border-radius: 8px; }

@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; align-content: center; gap: 12px; padding-block: 12px; }
  .header-inner nav { order: 1; width: 100%; gap: 8px 22px; }
  .section-heading, .footer-inner { align-items: flex-start; flex-direction: column; gap: 14px; }
  .faq { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 460px) {
  .final-cta .shell { align-items: flex-start; flex-direction: column; }
  .dialog-content { grid-template-columns: 1fr; padding: 18px; }
  .dialog-image { max-height: 235px; object-fit: cover; object-position: center 30%; }
}

.shell { width: min(100% - 64px, 1220px); }
.section-space { padding-block: 26px; }
.site-header { background: var(--paper); }
.header-inner { min-height: 70px; }
.button { border-radius: 11px; }
h1, h2 { font-family: inherit; font-weight: 850; letter-spacing: -.061em; line-height: 1.02; }
h2 { font-size: clamp(1.72rem, 3.1vw, 2.85rem); }
.section-heading { margin-bottom: 18px; }
.section-heading h2, .faq h2 { margin-top: 0; }

.hero {
  overflow: hidden;
  background: linear-gradient(90deg, var(--paper) 20%, #f4e7d8 58%, var(--paper) 80%);
}
.hero-inner { position: relative; min-height: clamp(385px, 39vw, 540px); display: flex; align-items: center; }
.hero-copy { position: relative; z-index: 1; padding: 38px 16px 38px 0; width: 49%; }
.hero h1 { font-size: clamp(2.4rem, 4.45vw, 4.45rem); margin: 0 0 15px; }
.hero-intro { color: var(--ink); max-width: 33ch; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.4; }
.hero-visual {
  position: absolute;
  inset: 0 calc((100% - 100vw) / 2) 0 42%;
  overflow: hidden;
  /* Follow the portrait's left edge and keep its focal area opaque. */
  mask-image: radial-gradient(ellipse 95% 162% at 100% 96%, #000 70%, transparent 100%);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-collage {
  display: grid;
  grid-template: repeat(2, minmax(0, 1fr)) / minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 3px;
  background: var(--paper);
}
.hero-collage img:first-child { grid-row: span 2; object-position: 60% 35%; }
.hero-steps { display: flex; gap: clamp(15px, 3vw, 38px); list-style: none; padding: 0; margin: 21px 0 24px; }
.hero-steps li { display: grid; justify-items: center; gap: 4px; font-size: .85rem; font-weight: 650; }
.hero-steps span { color: var(--coral-dark); font-size: 1.85rem; line-height: 1; font-weight: 700; }

.occasion-section h2 { margin-bottom: 19px; }
.occasion-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.occasion-card { position: relative; isolation: isolate; display: grid; place-items: end start; aspect-ratio: 1.65; overflow: hidden; border-radius: 11px; background: var(--ink); color: #fff; text-decoration: none; }
.occasion-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 28%; transition: transform .2s ease; }
.occasion-card:hover img { transform: scale(1.05); }
.occasion-card::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #191719ed); }
.occasion-card span { z-index: 1; padding: 12px; font-size: clamp(.9rem, 1.7vw, 1.2rem); font-weight: 800; }
.occasion-all { place-content: center; place-items: center; background: radial-gradient(ellipse at top, #50433b, var(--ink)); }
.occasion-all .collection-icon { font-size: 2rem; padding: 0; line-height: 1; }

.steps { gap: 24px; }
.steps li { display: flex; position: relative; gap: 14px; align-items: center; padding: 15px; background: var(--white); border: 1px solid var(--line); border-radius: 11px; }
.steps li + li::before { content: '→'; position: absolute; left: -22px; top: 50%; transform: translateY(-50%); font-weight: 800; }
.steps h3 { font-size: 1rem; margin-bottom: 3px; }
.steps p { font-size: .88rem; line-height: 1.45; }
.step-icon { color: var(--coral-dark); font-size: 2rem; font-weight: 800; line-height: 1; }
.pricing-section, .gallery-section { background: transparent; border-block: 0; }
.pricing-layout { display: grid; grid-template-columns: 1fr .42fr; align-items: center; gap: 35px; }
.plan { padding: clamp(14px, 2.5vw, 30px); background: var(--white); }
.plan-studio { background: #f9edda; border-color: var(--champagne); color: var(--ink); }
.plan-price { font-family: inherit; font-weight: 850; font-size: clamp(2rem, 4vw, 3.5rem); }
.pricing-portraits { display: grid; max-width: 260px; grid-template-columns: repeat(2, 1fr); gap: 2px; padding: 10px; transform: rotate(-7deg); }
.pricing-portraits img { aspect-ratio: 1; border: 4px solid white; border-radius: 8px; object-fit: cover; object-position: 50% 24%; box-shadow: 0 4px 12px #19171936; }
.pricing-portraits img:nth-child(even) { transform: rotate(12deg) translateX(-4px); }

.filters button { background: #f5eadb; border-color: transparent; }
.gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.style-button { border-color: transparent; background: transparent; }
.style-image { border-radius: 10px; }
.style-info { padding-inline: 4px; }
.style-info strong { font-weight: 800; }
.style-info span { display: none; }
.collection-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 15px clamp(15px, 4vw, 36px);
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(112deg, var(--ink), #3d3027);
  color: white;
}
.collection-banner h3 { color: var(--paper); margin-bottom: 10px; font-size: clamp(1.15rem, 2.6vw, 1.8rem); }
.collection-portraits { display: flex; padding-left: 8px; }
.collection-portraits img {
  width: clamp(42px, 11vw, 100px);
  aspect-ratio: 4 / 5;
  border: 3px solid white;
  border-radius: 6px;
  object-fit: cover;
  margin-left: -8px;
  transform: rotate(-7deg);
}
.collection-portraits img:nth-child(2) { transform: rotate(4deg); }
.collection-portraits img:nth-child(3) { transform: rotate(11deg); }
.style-example { border-top: 1px solid var(--line); }
.example-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
}
.example-grid figure { min-width: 0; }
.example-grid figcaption {
  margin-bottom: 8px;
  font-size: .92rem;
  font-weight: 750;
  text-align: center;
}
.example-grid img { aspect-ratio: 4 / 5; border-radius: 11px; object-fit: cover; object-position: center 32%; }
.example-arrow { color: var(--coral-dark); font-size: 1.85rem; font-weight: 700; }
.faq { padding-block: 45px; }
.final-cta h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }

@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .hero-inner { min-height: 365px; }
  .hero h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
  .hero-steps { gap: 12px; }
  .hero-steps li { text-align: center; }
  .occasion-card { aspect-ratio: 1.2; }
  .pricing-layout { grid-template-columns: 1fr .3fr; gap: 15px; }
}
@media (max-width: 550px) {
  .collection-portraits img:last-child { display: none; }
  .hero { background: var(--paper); }
  .hero-inner { display: block; }
  .hero-copy { width: 100%; padding: 27px 0 18px; }
  .hero-visual {
    position: relative;
    inset: auto;
    height: 248px;
    margin-inline: -18px;
    mask-image: linear-gradient(to bottom, transparent, #000 10%);
  }
  .hero-visual img { object-position: center 30%; }
  .occasion-grid, .gallery, .example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .example-arrow { display: none; }
  .occasion-card { aspect-ratio: 1.5; }
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .steps li + li::before { display: none; }
  .pricing-layout { grid-template-columns: 1fr; }
  .pricing-portraits { display: none; }
}
@media (max-width: 460px) {
  .plan .button { width: 100%; padding-inline: 6px; text-align: center; font-size: .84rem; }
}
@media (max-width: 360px) {
  .header-cta { padding-inline: 12px; font-size: .85rem; }
  .plans { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .occasion-card img { transition: none; }
}

.final-cta :focus-visible, .collection-banner :focus-visible {
  outline-color: var(--paper);
}
