:root {
  --page: #fdf9f8;
  --ink: #301d2e;
  --muted: #684e5f;
  --hairline: #e4d5dc;
  --rose: #b13a70;
  --light: #f7e9ef;
  --serif: "Bodoni 72", "Iowan Old Style", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }
.frame { width: min(100% - 96px, 1200px); margin-inline: auto; }
.top { border-bottom: 1px solid #e4d2dc; background: #f8eef2; }
.top-inner { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.wordmark { font-family: var(--serif); font-size: 30px; letter-spacing: -.065em; text-decoration: none; line-height: 1; }
.wordmark span { font-family: var(--sans); font-size: .52em; letter-spacing: -.04em; margin-left: .14em; font-weight: 650; }
.wordmark b { color: var(--rose); font-weight: 600; }
.top-note { font-size: 12px; font-weight: 700; letter-spacing: .09em; color: var(--muted); }

.hero { background: #f8eef2; overflow: hidden; }
.hero-inner { padding: clamp(34px, 5.1vw, 72px) 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; margin: 0; }
h1 { font-size: clamp(58px, 8vw, 111px); letter-spacing: -.056em; line-height: .92; }
.intro { max-width: 430px; line-height: 1.55; color: var(--muted); margin: 16px 0 20px; font-size: 15px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 47px; padding: 0 19px; border: 1px solid transparent; border-radius: 5px; font-size: 13px; font-weight: 700; text-decoration: none; }
.button-dark { background: var(--ink); color: #fff8fb; }
.button-dark:hover { background: #503044; }
.button-dark:disabled { opacity: .65; cursor: progress; }
.button-outline { background: transparent; border-color: #bfa9b7; }
.button-outline:hover { background: #f5eaf0; }
.button span { font-size: 16px; font-weight: 400; }


.shades { padding: 36px 0 55px; scroll-margin-top: 15px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
h2 { font-size: clamp(44px, 5.1vw, 69px); line-height: .98; letter-spacing: -.052em; }
.section-head p, .details-aside p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; font-size: 15px; }
.catalog-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.filters { display: flex; align-items: stretch; border: 1px solid var(--hairline); border-radius: 5px; }
.filters button { border: none; border-right: 1px solid var(--hairline); background: transparent; min-height: 42px; padding: 0 13px; font-size: 12px; font-weight: 650; }
.filters button:last-child { border-right: none; }
.filters button[aria-pressed=true] { background: var(--ink); color: #fff8fb; }
.filters button[aria-pressed=false]:hover { background: var(--light); }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--hairline); border-radius: 5px; padding: 0 9px; }
.search svg { width: 16px; fill: none; stroke: var(--muted); stroke-width: 1.5; }
.search input { border: none; min-height: 42px; width: 120px; min-width: 0; padding: 0; background: transparent; font-size: 13px; color: var(--ink); }
.catalog-status { margin: 16px 0 10px; color: var(--muted); font-size: 12px; min-height: 15px; }
.shade-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.shade { border: 1px solid var(--hairline); background: transparent; border-radius: 7px; padding: 0; text-align: left; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.shade:hover, .shade[aria-pressed=true] { border-color: var(--rose); }
.shade[aria-pressed=true] { box-shadow: inset 0 0 0 1px var(--rose); }
.shade-photo { display: grid; place-items: center; width: 100%; aspect-ratio: 1.18; background: #fff; overflow: hidden; }
.shade img { width: 91%; height: 91%; max-height: 100%; object-fit: contain; }
.shade-text { display: grid; grid-template-columns: 1fr auto; width: 100%; align-items: center; gap: 7px; padding: 12px; }
.shade-text span:first-child { min-width: 0; }
.shade strong, .shade small { display: block; }
.shade strong { overflow-wrap: anywhere; font-size: 14px; line-height: 1.25; }
.shade small { color: var(--muted); margin-top: 5px; font-size: 11px; }
.shade .select-mark { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #ccadbe; color: #824264; border-radius: 50%; font-size: 16px; line-height: 1; }
.shade[aria-pressed=true] .select-mark { background: var(--ink); color: #fff; border-color: var(--ink); }
.more { display: flex; justify-content: center; margin-top: 21px; }
.details { border-top: 1px solid var(--hairline); padding: 48px 0 65px; display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(24px, 6vw, 90px); scroll-margin-top: 10px; }
.details-aside p { max-width: 290px; }
.choice { display: flex; align-items: center; gap: 12px; background: var(--light); border: 1px solid var(--hairline); border-radius: 7px; padding: 9px 13px 9px 9px; margin-top: 20px; max-width: 330px; }
.choice img { width: 50px; height: 50px; object-fit: contain; mix-blend-mode: multiply; }
.choice div { flex: 1; min-width: 0; }
.choice span, .selection-dock > div > span { display: block; color: var(--muted); font-size: 11px; }
.choice strong, .selection-dock strong { display: block; margin-top: 3px; font-size: 14px; overflow-wrap: anywhere; }
.choice a, .no-choice { font-size: 13px; font-weight: 700; text-underline-offset: 3px; }
.no-choice { display: inline-block; margin-top: 16px; }
.form-panel { border: 1px solid var(--hairline); background: #fffdfd; border-radius: 8px; padding: clamp(18px, 3vw, 36px); }
fieldset { border: none; padding: 0; margin: 0 0 25px; min-width: 0; }
legend { padding: 0; margin: 0 0 10px; font-size: 16px; font-weight: 750; }
.field-hint { margin: -5px 0 11px; color: var(--muted); font-size: 13px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 13px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.optional { font-size: 11px; font-weight: 500; color: var(--muted); }
.field input { width: 100%; border: 1px solid #d7c1cf; border-radius: 5px; padding: 10px; min-height: 43px; color: var(--ink); background: #fffbfc; font-size: 16px; font-weight: 400; }
.field input::placeholder { color: #806a79; font-size: 13px; }
.consent { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; line-height: 1.55; }
.consent input { margin: 3px 0 0; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--ink); }
.data-note { color: var(--muted); margin: 13px 0; font-size: 12px; line-height: 1.5; }
.form-message { margin: 10px 0; font-size: 13px; font-weight: 700; color: #922759; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit { width: 100%; }
.success { padding: 27px 0; }
.success h2 { margin-top: 15px; }
.success p { color: var(--muted); line-height: 1.55; }
.success-mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; background: var(--light); color: #792e56; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 70px; border-top: 1px solid var(--hairline); font-size: 12px; color: var(--muted); }
.footer span:first-child { font-weight: 750; }
.selection-dock { position: fixed; bottom: 18px; left: 50%; z-index: 2; transform: translateX(-50%); width: min(calc(100% - 28px), 430px); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 15px; background: #fff9fc; border: 1px solid #c8aabd; border-radius: 9px; box-shadow: 0 8px 30px #3c1d3426; }
.selection-dock .button { min-height: 41px; flex-shrink: 0; }

@media (max-width: 940px) {
  .frame { width: min(100% - 56px, 1200px); }
  .section-head { align-items: start; flex-direction: column; gap: 15px; }
}
@media (max-width: 660px) {
  .frame { width: calc(100% - 32px); }
  .top-inner { min-height: 56px; }
  .wordmark { font-size: 26px; }
  .top-note { font-size: 10px; }
  .hero-inner { padding: 31px 0 30px; }
  h1 { font-size: clamp(48px, 13vw, 71px); }
  .intro { margin: 13px 0 16px; font-size: 14px; }
  .shades { padding: 26px 0 33px; }
  .catalog-tools { width: 100%; gap: 7px; }
  .filters button { padding-inline: 9px; }
  .search { flex: 1; min-width: 100px; }
  .search input { width: 100%; }
  .shade-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .shade-text { padding: 9px; }
  .shade strong { font-size: 13px; }
  .shade .select-mark { width: 22px; height: 22px; }
  .details { grid-template-columns: 1fr; padding: 32px 0 42px; gap: 17px; }
  .choice { margin-top: 13px; }
  .footer { font-size: 11px; }
}
@media (max-width: 360px) {
  .frame { width: calc(100% - 26px); }
  .fields { grid-template-columns: 1fr; }
  .catalog-tools .search { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.brief { border-left: 2px solid #d7a6be; padding-left: 14px; margin: 22px 0; max-width: 340px; }
.brief h3 { font-size: 14px; margin: 0; }
.brief p { font-size: 14px; margin-top: 5px; }
