:root {
  color-scheme: light;
  --ink: #2e1a29;
  --subtle: #64505e;
  --plum: #291522;
  --berry: #8e2c55;
  --berry-dark: #702040;
  --pink: #f7d9e6;
  --paper: #fffafb;
  --line: #e9dce3;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; }
img { display: block; width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b84a79; outline-offset: 4px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { display: block; padding: .5rem 1rem; }
.shell { width: min(1184px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 76px; }
.section-intro { margin-bottom: 26px; }
.section-intro p, .portfolio p { margin: 9px 0 0; color: var(--subtle); }
h1, h2 { font: 400 2.6rem/1.1 var(--serif); letter-spacing: -.038em; margin: 0; }

.site-header, .site-footer { background: var(--plum); color: #fff8fb; }
.header-inner, .footer-inner { display: flex; min-height: 74px; justify-content: space-between; align-items: center; gap: 18px; }
.logo { font: 700 2.5rem/.86 var(--serif); letter-spacing: -.085em; display: inline-flex; align-items: end; text-decoration: none; }
.logo span { color: #f393b9; }
.logo small { font: 650 .59rem/1.35 var(--sans); letter-spacing: .17em; margin: 0 0 0 6px; }
nav { display: flex; gap: clamp(17px, 4vw, 48px); }
nav a, .header-contact, .footer-inner > a:not(.logo) { font-size: .91rem; text-decoration: none; }
nav a:hover, .footer-inner a:not(.logo):hover { text-decoration: underline; text-underline-offset: 4px; }
.header-contact { border: 1px solid #8e687e; border-radius: 100px; padding: 7px 17px; }
.header-contact:hover { background: #48273c; }

.hero { background: #f4e4eb; border-bottom: 1px solid #e8d3de; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 444px; align-items: stretch; }
.hero-content { align-self: center; padding: 48px clamp(30px, 4vw, 62px) 51px 0; }
.eyebrow { font-size: .76rem; font-weight: 730; letter-spacing: .13em; color: #722449; margin: 0 0 17px; }
.hero h1 { font-size: clamp(2.65rem, 4.55vw, 4.65rem); line-height: .99; }
.hero h1 em { display: block; color: var(--berry); font-weight: 400; }
.hero-content > p:not(.eyebrow) { font-size: clamp(1rem, 1.45vw, 1.14rem); color: #5e4355; margin: 22px 0 24px; max-width: 29rem; }
.hero-image { min-width: 0; margin: 0; position: relative; background: #c783a1; }
.hero-image img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 49%; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 10px 19px; border: 1px solid transparent; border-radius: 7px; font-size: .93rem; font-weight: 680; text-decoration: none; }
.primary { background: var(--berry); color: white; }
.primary:hover { background: var(--berry-dark); }
.outline { color: var(--berry-dark); background: transparent; border-color: #c597aa; }
.outline:hover { background: #fae7ef; }
.button:disabled { opacity: .56; cursor: default; }

fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; font-weight: 700; margin-bottom: 12px; }
.models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.model, .count { display: block; position: relative; cursor: pointer; }
.model input, .count input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.model-inner { display: grid; align-content: start; gap: 5px; height: 100%; min-height: 136px; padding: 17px; border: 1px solid var(--line); background: #fff; border-radius: 10px; }
.model-inner > strong { font-size: 1.05rem; font-weight: 720; }
.model-inner > span:last-child { color: var(--subtle); font-size: .875rem; line-height: 1.4; }
.model-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.model-icon { width: 23px; height: 22px; display: inline-block; position: relative; color: var(--berry); }
.model-icon::before, .model-icon::after { content: ''; position: absolute; }
.icon-reels::before { border: 1.5px solid currentColor; border-radius: 4px; inset: 2px 1px; }
.icon-reels::after { border-left: 6px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; left: 9px; top: 7px; }
.icon-pr::before { border: 1.5px solid currentColor; border-radius: 2px; inset: 4px 1px 2px; }
.icon-pr::after { inset: 5px 4px 7px; border-bottom: 1.5px solid currentColor; transform: translateY(-4px); }
.icon-mixed::before, .icon-mixed::after { width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 2px; }
.icon-mixed::before { left: 2px; top: 2px; }
.icon-mixed::after { right: 1px; bottom: 2px; background: var(--paper); }
.icon-talent::before { left: 8px; top: 1px; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid currentColor; }
.icon-talent::after { inset: 12px 3px 1px; border: 1.5px solid currentColor; border-radius: 8px 8px 2px 2px; }
.model-dot { width: 15px; height: 15px; border: 1px solid #b899ab; border-radius: 50%; display: inline-grid; place-items: center; }
.model input:checked + .model-inner { background: #fff0f6; border-color: var(--berry); box-shadow: inset 0 0 0 1px var(--berry); }
.model input:checked + .model-inner .model-dot { border-color: var(--berry); }
.model input:checked + .model-inner .model-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--berry); }
.model input:focus-visible + .model-inner, .count input:focus-visible + span { outline: 3px solid #b84a79; outline-offset: 3px; }
.model:hover .model-inner { border-color: #ad708c; }

.config-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; }
.config { background: white; padding: 25px; border: 1px solid var(--line); border-radius: 10px; }
.count-options, .format-options { display: flex; flex-wrap: wrap; gap: 8px; }
.count span { display: block; border: 1px solid #d9c8d1; border-radius: 7px; padding: 8px 12px; font-size: .9rem; white-space: nowrap; }
.count input:checked + span { background: var(--plum); color: white; border-color: var(--plum); }
.count:hover span { border-color: var(--berry); }
.custom-panel, .mixed-panel { margin-top: 18px; }
.custom-panel label { display: block; font-weight: 650; margin-bottom: 6px; font-size: .91rem; }
.custom-panel label span, #request-form label span { font-weight: 400; color: var(--subtle); }
input:not([type=radio], [type=checkbox]), select, textarea { width: 100%; min-height: 42px; padding: 8px 11px; border: 1px solid #cbb9c4; border-radius: 6px; background: white; color: var(--ink); }
input[aria-invalid=true] { border-color: var(--berry); box-shadow: inset 0 0 0 1px var(--berry); }
textarea { resize: vertical; }
select {
  appearance: none;
  padding-right: 32px;
  background-image: linear-gradient(45deg, transparent 50%, var(--berry) 50%), linear-gradient(135deg, var(--berry) 50%, transparent 50%);
  background-position: calc(100% - 17px) 18px, calc(100% - 12px) 18px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
#custom-count { max-width: 130px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.split-field { display: grid; gap: 6px; font-size: .91rem; font-weight: 650; }
.split-field output { display: flex; align-items: center; min-height: 42px; padding: 8px 11px; color: #6d284b; background: #faedf3; border-radius: 6px; }
.field-hint { color: var(--subtle); font-size: .88rem; margin: 7px 0 0; }
.detail-line { display: flex; gap: 8px 14px; justify-content: space-between; align-items: start; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 13px; font-size: .9rem; }
.detail-line p { color: var(--subtle); margin: 0; }
.detail-line a { color: var(--berry-dark); font-weight: 650; text-underline-offset: 3px; }
.format-options label { padding: 6px 10px; border-radius: 6px; background: #f8eef3; font-size: .9rem; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.format-options input { accent-color: var(--berry); width: 15px; height: 15px; margin: 0; }

.summary { background: var(--plum); color: #fff8fb; border-radius: 10px; display: flex; flex-direction: column; align-items: start; justify-content: space-between; padding: 22px 25px 24px; }
.summary h3 { font-size: 1rem; font-weight: 650; margin: 0; }
.summary-scope { margin: 4px 0 12px; color: #f0dce6; font-size: .93rem; }
.summary-price { line-height: 1.02; margin: 0 0 9px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.summary-price strong { font: 400 clamp(1.9rem, 3.4vw, 3.15rem)/1 var(--serif); letter-spacing: -.05em; }
.summary-price span { font-size: .85rem; font-weight: 650; color: #f7ccdf; }
.summary-note { color: #e6cad9; margin: 0 0 17px; font-size: .88rem; }
.summary-button { width: 100%; background: #f4c8dc; color: #301927; }
.summary-button:hover { background: #ffdfec; }

.prices { background: #f7edf2; border-block: 1px solid #ecdee6; }
.table-wrap { overflow: auto; background: white; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th, td { padding: 13px 20px; border-bottom: 1px solid var(--line); }
thead th { background: var(--plum); color: white; font-size: .94rem; vertical-align: top; }
thead small { display: block; font-weight: 400; font-size: .79rem; color: #f2cfe0; }
tbody td { font-variant-numeric: tabular-nums; }
tbody th { font-weight: 700; }
tbody tr:nth-child(even), tfoot { background: #fdf6f9; }
tfoot th, tfoot td { border-bottom: 0; font-size: .9rem; }
tfoot td { color: var(--subtle); }

.conditions { border-top: 1px solid #dccbd5; }
details { border-bottom: 1px solid #dccbd5; scroll-margin-top: 20px; }
summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 1.06rem; position: relative; padding: 16px 42px 16px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--berry); font-weight: 400; font-size: 1.6rem; position: absolute; right: 6px; top: 9px; }
details[open] > summary::after { content: '−'; }
.conditions-inner { padding: 0 35px 5px 0; max-width: 59rem; }
.conditions-inner p { color: var(--subtle); margin: 0 0 15px; }
.conditions-inner strong { color: var(--ink); }
.portfolio { padding-block: 47px; background: #f5e0e9; border-top: 1px solid #eed1df; }
.portfolio-inner { display: flex; align-items: center; gap: 20px 36px; justify-content: space-between; }
.portfolio-inner > div:first-child { max-width: 39rem; }
.portfolio-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 8px; }
.footer-inner { min-height: 89px; }

dialog { border: 1px solid var(--line); padding: 23px; border-radius: 14px; background: var(--paper); color: var(--ink); max-width: min(480px, calc(100% - 28px)); max-height: calc(100% - 28px); }
dialog::backdrop { background: #271020ad; }
.dialog-heading { display: flex; gap: 12px; justify-content: space-between; align-items: center; }
.dialog-heading h2 { font-size: 2rem; }
.close { background: none; color: var(--berry); border: 0; border-radius: 5px; min-width: 40px; min-height: 40px; font-size: 1.65rem; line-height: 1; }
.close:hover { background: var(--pink); }
#dialog-scope { color: var(--subtle); margin: 6px 0 17px; }
#request-form > label { display: block; font-size: .92rem; font-weight: 650; margin: 9px 0 4px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }

@media (max-width: 960px) {
  .shell { width: calc(100% - 48px); }
  .section { padding-block: 55px; }
  .hero-inner { min-height: 386px; }
  .models { gap: 8px; }
  .model-inner { padding: 13px; }
  .portfolio-inner { align-items: start; flex-direction: column; }
}

@media (max-width: 690px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { flex-wrap: wrap; padding-block: 14px 10px; gap: 9px 10px; min-height: 70px; }
  .logo { font-size: 2.1rem; }
  .header-inner nav { order: 3; width: 100%; gap: 19px; }
  nav a, .header-contact { font-size: .875rem; }
  .header-contact { padding: 5px 12px; }
  .hero-inner, .config-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 40px 0 33px; }
  .hero h1 { font-size: clamp(2.3rem, 8.9vw, 3.45rem); }
  .hero-image { aspect-ratio: 1.65; margin-inline: -16px; }
  .section { padding-block: 45px; }
  .section-intro { margin-bottom: 20px; }
  h2 { font-size: 2.12rem; }
  .models { grid-template-columns: 1fr 1fr; margin-bottom: 12px; }
  .model-inner { min-height: 112px; padding: 11px; }
  .model-inner > strong { font-size: .97rem; }
  .config-grid { gap: 12px; }
  .config, .summary { padding: 16px; }
  .count span { font-size: .875rem; padding: 7px 10px; }
  th, td { padding: 10px 8px; font-size: .875rem; }
  .conditions-inner { padding-right: 12px; }
  .footer-inner { flex-wrap: wrap; justify-content: start; padding-block: 15px; gap: 14px 20px; }
  .footer-inner > a:not(.logo) { font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
