@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Petrona";
  src: url("assets/fonts/petrona-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Petrona";
  src: url("assets/fonts/petrona-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Petrona";
  src: url("assets/fonts/petrona-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@layer reset, tokens, base, layout, components, motion, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p, figure, fieldset, dl, dd { margin: 0; }
  fieldset { padding: 0; border: 0; min-inline-size: 0; }
  img { display: block; max-width: 100%; }
  button, input, select { font: inherit; }
}

@layer tokens {
  :root {
    --cream: #f7f1e5;
    --cream-deep: #eadfc9;
    --paper: #fffaf1;
    --navy: #102a43;
    --navy-soft: #183b59;
    --ink: #15283a;
    --gold: #b9852f;
    --gold-text: #785018;
    --gold-bright: #d4ad62;
    --muted: #53606a;
    --danger: #8f3d2d;
    --line: rgba(16, 42, 67, 0.2);
    --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.16);
    --shadow-close: 0 12px 28px rgba(0, 0, 0, 0.14);
    --radius: 14px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@layer base {
  html { background: var(--cream); color: var(--ink); }
  body {
    min-width: 320px;
    overflow-x: hidden;
    background:
      radial-gradient(circle at 72% 8%, rgba(211, 169, 79, 0.16), transparent 24rem),
      var(--cream);
    font: 400 1rem/1.65 "Manrope", system-ui, sans-serif;
  }
  ::selection { background: var(--navy); color: var(--paper); }
  * { scrollbar-color: var(--gold) var(--cream-deep); scrollbar-width: thin; }
  *::-webkit-scrollbar { width: 10px; height: 10px; }
  *::-webkit-scrollbar-track { background: var(--cream-deep); }
  *::-webkit-scrollbar-thumb { background: var(--gold); border: 2px solid var(--cream-deep); border-radius: 99px; }
  :focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
  a { color: inherit; text-underline-offset: 0.22em; }
  h1, h2, h3 {
    font-family: "Petrona", Georgia, serif;
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1;
    text-wrap: balance;
  }
  h1 { max-width: 9.6ch; font-size: clamp(3.25rem, 6.5vw, 6rem); }
  h2 { font-size: clamp(2.45rem, 4.8vw, 4.85rem); }
  h3 { font-size: clamp(1.45rem, 2.5vw, 2.1rem); line-height: 1.12; }
  p { text-wrap: pretty; }
  button { color: inherit; }
  input, select { caret-color: var(--navy); }
  input::placeholder { color: #4b5964; opacity: 1; }
  .icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
}

@layer layout {
  .site-header {
    position: absolute;
    z-index: 40;
    inset: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: min(100% - 2rem, 1340px);
    margin: 0 auto;
    padding: 1.15rem 0;
  }
  .hero {
    --hero-copy-drop: 80px;
    position: relative;
    display: grid;
    min-height: max(828px, calc(100svh + var(--hero-copy-drop)));
    overflow: hidden;
    padding: 0 max(1rem, calc((100vw - 1440px) / 2));
    background:
      linear-gradient(112deg, rgba(212, 173, 98, 0.08), transparent 28% 72%, rgba(16, 42, 67, 0.05)),
      #f7efe5;
    isolation: isolate;
  }
  .hero::before,
  .hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
  }
  .hero::before {
    top: -7rem;
    left: -7rem;
    width: 19rem;
    height: 16rem;
    border-radius: 36% 64% 52% 48%;
    background: var(--navy);
    transform: rotate(14deg);
  }
  .hero::after {
    right: -7rem;
    bottom: 18%;
    width: 16rem;
    height: 16rem;
    border-radius: 48% 52% 37% 63%;
    background: var(--navy);
    transform: rotate(-17deg);
  }
  .hero-copy {
    position: absolute;
    z-index: 20;
    right: 1rem;
    bottom: 0.5rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(960px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3.25rem 1rem 0;
    background: linear-gradient(to bottom, rgba(247, 239, 229, 0), rgba(247, 239, 229, 0.94) 8%, #f7efe5 14%);
    text-align: center;
  }
  .section {
    max-width: 1340px;
    margin: 0 auto;
    padding: 8rem 1rem;
  }
  .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
    gap: 4rem;
    align-items: end;
    margin-bottom: 3.5rem;
  }
  .section-heading.compact { margin-bottom: 4.5rem; }
}

@layer components {
  .skip-link {
    position: fixed;
    z-index: 100;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--paper);
    transform: translateY(-160%);
  }
  .skip-link:focus { transform: translateY(0); }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .desktop-nav { display: flex; gap: clamp(0.85rem, 2vw, 2.35rem); }
  .desktop-nav a { font-size: 0.88rem; font-weight: 700; text-decoration: none; }
  .desktop-nav a:hover { color: var(--gold); }
  .menu-button, .mobile-nav { display: none; }

  .hero-logo {
    position: absolute;
    z-index: 24;
    top: 0.45rem;
    left: 50%;
    width: 178px;
    height: 214px;
    object-fit: cover;
    transform: translateX(-50%);
    filter: none;
    mix-blend-mode: darken;
  }
  .hero-copy h1 { max-width: 18ch; font-size: clamp(2.55rem, 4vw, 4.2rem); line-height: 0.98; text-wrap: balance; }
  .hero-copy > p:not(.pending-note) { max-width: 68ch; margin-top: 0.65rem; color: #405261; }
  .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 0.5rem; }
  .button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.82rem 1.18rem;
    border: 1px solid var(--navy);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
  }
  .button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.13); }
  .button:disabled { cursor: not-allowed; opacity: 0.45; transform: none; box-shadow: none; }
  .button-primary { background: var(--navy); color: white; }
  .button-primary:hover { background: var(--navy-soft); }
  .button-secondary { background: transparent; color: var(--navy); }
  .button-secondary:hover { background: var(--paper); }
  .button-light { border-color: var(--paper); background: var(--paper); color: var(--navy); }
  .button-gold { border-color: var(--gold-bright); background: var(--gold-bright); color: #12273a; }
  .catalog-link { width: fit-content; margin-top: 1rem; font-weight: 700; }
  .catalog-link .icon { display: inline-block; margin-left: 0.35rem; transition: transform 180ms ease; }
  .catalog-link:hover .icon { transform: translateY(3px); }
  .pending-note { max-width: 55ch; margin-top: 0.35rem; color: #6b655b; font-size: 0.76rem; }

  .jewel-stage {
    --parallax-x: 0px;
    --parallax-y: 0px;
    --drag-x: 0px;
    position: absolute;
    z-index: 2;
    inset: 0 0 var(--hero-copy-drop);
    min-height: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
  }
  .jewel-stage.is-grabbing { cursor: grabbing; }
  .jewel-stage::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 8rem 0 0;
    background:
      radial-gradient(ellipse at 50% 34%, rgba(212, 173, 98, 0.18), transparent 32%),
      linear-gradient(105deg, rgba(255,255,255,0.3), transparent 34% 70%, rgba(185,133,47,0.06));
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8rem);
    mask-image: linear-gradient(to bottom, transparent, #000 8rem);
    pointer-events: none;
  }
  .jewel-stage::after {
    content: "";
    position: absolute;
    z-index: 1;
    right: 25%;
    bottom: 26%;
    left: 25%;
    height: 8%;
    border-radius: 50%;
    background: rgba(70, 53, 29, 0.16);
    filter: blur(22px);
    pointer-events: none;
  }
  .stage-orbit {
    position: absolute;
    z-index: 8;
    top: 52%;
    left: 50%;
    width: min(510px, 44vw);
    height: 170px;
    border-bottom: 2px solid rgba(16, 42, 67, 0.78);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  .stage-orbit::before,
  .stage-orbit::after {
    content: "";
    position: absolute;
    bottom: 13%;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--navy);
    border-right: 2px solid var(--navy);
  }
  .stage-orbit::before { left: 1.5%; transform: rotate(-132deg); }
  .stage-orbit::after { right: 1.5%; transform: rotate(48deg); }
  .stage-shape {
    position: absolute;
    z-index: 1;
    display: block;
    pointer-events: none;
  }
  .stage-shape-b {
    width: 74px;
    height: 74px;
    top: 9%;
    right: 8%;
    border-radius: 50%;
    background: var(--navy);
    opacity: 0.96;
  }
  .showcase-track {
    position: absolute;
    z-index: 3;
    inset: 0;
    transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
    transition: transform 280ms var(--ease-out);
    pointer-events: none;
  }
  .jewel-stage.is-grabbing .showcase-track { transition: none; }
  .showcase-item {
    --item-x: 0px;
    --item-y: 0px;
    --item-scale: 0.72;
    --item-tilt: 0deg;
    position: absolute;
    z-index: 4;
    top: 23%;
    left: 0;
    width: 29%;
    height: 48%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    pointer-events: auto;
    transform: translate3d(calc(var(--item-x) + var(--drag-x)), var(--item-y), 0) scale(var(--item-scale)) rotate(var(--item-tilt));
    transform-origin: 50% 88%;
    transition: transform 560ms var(--ease-out), opacity 320ms ease, filter 320ms ease;
  }
  .showcase-item[data-position="center"] { z-index: 7; }
  .showcase-item[data-position="left"],
  .showcase-item[data-position="right"] { opacity: 0.76; filter: saturate(0.82); }
  .jewel-stage.is-grabbing .showcase-item { transition: none; }
  .showcase-pedestal {
    position: absolute;
    right: 3%;
    bottom: 4%;
    left: 3%;
    height: 23%;
    border-radius: 50%;
    background: linear-gradient(180deg, #fffdf8, #e7dece);
    box-shadow: 0 24px 34px rgba(56, 44, 28, 0.18);
    transition: box-shadow 260ms ease;
  }
  .showcase-pedestal::after {
    content: "";
    position: absolute;
    top: 38%;
    right: 0;
    bottom: -70%;
    left: 0;
    z-index: -1;
    background: linear-gradient(90deg, #e7dbc7, #fffaf2 50%, #d6c5aa);
    border-radius: 0 0 24% 24%;
  }
  .showcase-jewel {
    position: absolute;
    z-index: 2;
    right: 8%;
    bottom: 25%;
    left: 8%;
    width: 84%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 24px 18px rgba(2, 16, 28, 0.34));
    transition: translate 260ms var(--ease-out), filter 260ms ease;
    pointer-events: none;
  }
  .jewel-bracelet { right: -7%; left: -7%; width: 114%; }
  .showcase-item:is(:hover, :focus-visible) .showcase-jewel { translate: 0 -7px; filter: drop-shadow(0 31px 22px rgba(2, 16, 28, 0.46)); }
  .showcase-item:is(:hover, :focus-visible) .showcase-pedestal { box-shadow: 0 32px 42px rgba(56, 44, 28, 0.24); }
  .showcase-arrow {
    position: absolute;
    z-index: 12;
    top: 50%;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(16, 42, 67, 0.54);
    border-radius: 50%;
    background: rgba(247, 239, 229, 0.82);
    color: var(--navy);
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: transform 180ms ease, background-color 180ms ease;
  }
  .showcase-arrow:hover { transform: scale(1.06); background: var(--navy); color: var(--paper); }
  .showcase-arrow .icon { width: 22px; height: 22px; }
  .showcase-arrow-previous { left: 3vw; }
  .showcase-arrow-next { right: 3vw; }
  .showcase-dots {
    position: absolute;
    z-index: 12;
    bottom: clamp(286px, 31vh, 326px);
    left: 50%;
    display: flex;
    gap: 0.1rem;
    transform: translateX(-50%);
  }
  .showcase-dots button {
    display: grid;
    width: 32px;
    height: 32px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }
  .showcase-dots button::before {
    content: "";
    width: 9px;
    height: 9px;
    border: 1px solid rgba(16, 42, 67, 0.7);
    border-radius: 50%;
    background: transparent;
    transition: transform 180ms ease, background-color 180ms ease;
  }
  .showcase-dots button[aria-current="true"]::before { background: var(--gold-bright); transform: scale(1.25); }
  .showcase-selection {
    position: absolute;
    z-index: 10;
    bottom: clamp(280px, 31vh, 320px);
    left: 1.3rem;
    display: grid;
    max-width: 24ch;
    color: var(--navy);
    font-size: 0.74rem;
    line-height: 1.35;
  }
  .showcase-selection span { color: #5f6b73; }
  .showcase-selection strong { font-weight: 700; }
  .stage-label {
    position: absolute;
    z-index: 10;
    bottom: clamp(280px, 31vh, 320px);
    right: 1.35rem;
    max-width: 25ch;
    color: #5f6b73;
    font-size: 0.7rem;
    line-height: 1.45;
    text-align: right;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1340px;
    margin: 0 auto;
    border-block: 1px solid var(--line);
  }
  .trust-strip p {
    padding: 1.15rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
  }
  .trust-strip p + p { border-left: 1px solid var(--line); }

  .section-heading > p, .story-copy p, .contact-section > div > p {
    max-width: 62ch;
    color: var(--muted);
  }
  .demo-banner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem 1.15rem;
    border-block: 1px solid var(--gold);
    color: var(--navy);
  }
  .demo-banner span { color: var(--muted); }
  .catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(280px, 1.35fr) repeat(2, minmax(190px, 0.65fr));
    gap: 1rem;
    margin: 2.25rem 0 1rem;
  }
  .search-field, .select-field { display: grid; gap: 0.45rem; }
  .search-field span, .select-field span { font-size: 0.82rem; font-weight: 700; }
  .search-field input, .select-field select {
    width: 100%;
    min-height: 50px;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(16, 42, 67, 0.42);
    border-radius: 10px;
    background: var(--paper);
    color: var(--ink);
  }
  .results-count { min-height: 1.6em; margin-bottom: 1.25rem; color: var(--muted); font-size: 0.9rem; }
  .product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .product-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-close);
  }
  .product-image-wrap { position: relative; aspect-ratio: 1 / 1.08; overflow: hidden; background: #efe6d8; }
  .product-image-trigger {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .product-image-trigger img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 550ms var(--ease-out);
  }
  .product-card:hover .product-image-wrap img,
  .product-image-trigger:focus-visible img { transform: scale(1.035); }
  .product-image-trigger:focus-visible { outline: 3px solid var(--navy); outline-offset: -4px; }
  .product-state {
    position: absolute;
    z-index: 1;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.4rem 0.62rem;
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.94);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    pointer-events: none;
  }
  .product-body { display: flex; flex: 1; flex-direction: column; padding: 1rem; }
  .product-code { color: var(--gold-text); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; }
  .product-body h3 { margin-top: 0.35rem; font-size: 1.4rem; }
  .product-body > p:not(.product-code) { margin-top: 0.7rem; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
  .product-card-actions { display: flex; gap: 0.6rem; margin-top: auto; padding-top: 1rem; }
  .card-button {
    min-height: 42px;
    flex: 1;
    border: 1px solid var(--navy);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
  }
  .card-button:hover { background: var(--navy); color: white; }
  .empty-state {
    padding: 4rem 1rem;
    border-block: 1px solid var(--line);
    text-align: center;
  }
  .empty-state p { margin-top: 0.75rem; color: var(--muted); }
  .text-button { margin-top: 1rem; padding: 0; border: 0; background: transparent; color: var(--navy); cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 0.25em; }
  .best-sellers {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    margin-top: 5rem;
    padding: 2rem 0;
    border-block: 1px solid var(--line);
  }
  .best-sellers p { max-width: 64ch; margin-top: 0.6rem; color: var(--muted); }
  .best-sellers > span { padding: 0.55rem 0.75rem; border: 1px solid var(--gold); border-radius: 999px; color: #6f4f18; font-size: 0.8rem; font-weight: 700; }

  .guide-section {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
    gap: clamp(3rem, 7vw, 8rem);
    max-width: none;
    padding-inline: max(1rem, calc((100vw - 1340px) / 2));
    background: var(--navy);
    color: white;
  }
  .guide-intro > p { max-width: 55ch; margin-top: 1.35rem; color: rgba(255, 255, 255, 0.74); }
  .guide-progress { height: 2px; margin-top: 2rem; background: rgba(255,255,255,0.2); }
  .guide-progress span { display: block; width: 100%; height: 100%; background: var(--gold-bright); transform: scaleX(0.2); transform-origin: left; transition: transform 300ms var(--ease-out); }
  .guide-step-label { margin-top: 0.75rem !important; font-size: 0.82rem; }
  .guide-form, .guide-result {
    align-self: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 34px 74px rgba(0, 0, 0, 0.26);
  }
  .guide-step legend { max-width: 18ch; font: 650 clamp(2rem, 4vw, 3.2rem)/1.04 "Petrona", Georgia, serif; letter-spacing: -0.03em; }
  .option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 2rem; }
  .option-grid label {
    min-height: 64px;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid rgba(16, 42, 67, 0.28);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
  }
  .option-grid label:has(input:checked) { border-color: var(--gold); background: #f4e8cf; box-shadow: inset 0 0 0 1px var(--gold); }
  .option-grid input { accent-color: var(--navy); }
  .guide-actions { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 2rem; }
  .guide-actions #guide-next { margin-left: auto; }
  .form-hint { margin-top: 0.75rem; color: var(--muted); font-size: 0.82rem; }
  .guide-result h3 { font-size: clamp(2rem, 4vw, 3.3rem); }
  .guide-result > p { margin-top: 1rem; color: var(--muted); }
  .guide-result-products { display: grid; gap: 0.7rem; margin-top: 1.5rem; }
  .guide-result-item { display: grid; grid-template-columns: 64px 1fr; gap: 0.85rem; align-items: center; }
  .guide-result-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
  .guide-result-item strong { display: block; }
  .guide-result-item span { color: var(--muted); font-size: 0.82rem; }
  .guide-result-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

  .repair-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: 760px;
    background: #e7d8c2;
  }
  .repair-image { position: relative; min-height: 640px; overflow: hidden; }
  .repair-image img { width: 100%; height: 100%; object-fit: cover; }
  .repair-image span {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.9);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
  }
  .repair-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(3rem, 8vw, 8rem);
    background: var(--navy);
    color: white;
  }
  .repair-copy > p { max-width: 62ch; margin-top: 1.5rem; color: rgba(255,255,255,0.74); }
  .process-list { display: grid; gap: 1.2rem; margin: 2rem 0; padding: 0; list-style: none; counter-reset: repair; }
  .process-list li { display: grid; grid-template-columns: 1fr; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.2); counter-increment: repair; }
  .process-list strong::before { content: counter(repair) ". "; color: var(--gold-bright); }
  .process-list span { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
  .repair-copy .button { align-self: flex-start; }

  .story-section { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
  .story-copy p { margin-top: 1.35rem; }
  .story-facts { display: grid; border-top: 1px solid var(--line); }
  .story-facts div { display: grid; grid-template-columns: 0.65fr 1fr; gap: 1rem; align-items: baseline; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
  .story-facts strong { font: 650 clamp(2rem, 4vw, 3.4rem)/1 "Petrona", Georgia, serif; color: var(--gold-text); letter-spacing: -0.03em; }
  .story-facts span { color: var(--muted); }

  .news-section { padding-top: 2rem; }
  .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .news-item { min-width: 0; }
  .news-item img { width: 100%; aspect-ratio: 1 / 0.8; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-close); }
  .news-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; color: var(--muted); font-size: 0.78rem; }
  .news-item h3 { margin-top: 0.6rem; font-size: clamp(1.45rem, 2.4vw, 2rem); }
  .news-item a { display: inline-block; margin-top: 0.8rem; font-weight: 700; }
  .demo-label { color: var(--danger); }

  .channel-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: end;
    padding: 6rem max(1rem, calc((100vw - 1340px) / 2));
    background: var(--gold);
    color: #15283a;
  }
  .channel-section p { max-width: 68ch; margin-top: 1.25rem; color: var(--ink); }

  .contact-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(3rem, 7vw, 7rem);
  }
  .contact-section > div > p { margin-top: 1.25rem; }
  .contact-details { border-top: 1px solid var(--line); }
  .contact-details div { display: grid; grid-template-columns: 0.45fr 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
  .contact-details dt { font-weight: 700; }
  .contact-details dd { color: var(--muted); }
  .map-placeholder {
    grid-column: 1 / -1;
    min-height: 280px;
    padding: 1rem;
    display: grid;
    place-content: center;
    gap: 0.5rem;
    border: 1px dashed rgba(16, 42, 67, 0.45);
    border-radius: var(--radius);
    background:
      linear-gradient(45deg, transparent 48%, rgba(16,42,67,0.06) 49%, rgba(16,42,67,0.06) 51%, transparent 52%),
      var(--cream-deep);
    background-size: 32px 32px;
    color: var(--navy);
    text-align: center;
  }
  .map-placeholder span { font: 650 2rem/1 "Petrona", Georgia, serif; }
  .map-placeholder strong { font-size: 0.8rem; }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: end;
    padding: 4rem max(1rem, calc((100vw - 1340px) / 2));
    background: #081b2c;
    color: rgba(255,255,255,0.78);
  }
  .footer-logo { width: 84px; height: 84px; object-fit: contain; border-radius: 22%; }
  .site-footer p { max-width: 36ch; font-size: 0.8rem; }
  .footer-links { display: flex; gap: 1.2rem; }
  .footer-links a { font-weight: 700; }
  .site-footer > p { justify-self: end; text-align: right; }

  .mobile-chat {
    position: fixed;
    z-index: 30;
    right: 0.75rem;
    bottom: 0.75rem;
    display: none;
    min-height: 48px;
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 999px;
    background: var(--navy);
    color: white;
    box-shadow: var(--shadow-soft);
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 1.5rem));
    transition: opacity 180ms ease, transform 240ms var(--ease-out);
  }
  .mobile-chat.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .toast {
    position: fixed;
    z-index: 80;
    right: 1rem;
    bottom: 1rem;
    max-width: min(420px, calc(100vw - 2rem));
    padding: 1rem 1.15rem;
    border-radius: var(--radius);
    background: var(--navy);
    color: white;
    box-shadow: var(--shadow-soft);
  }

  .product-dialog {
    width: min(960px, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 18px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 40px 100px rgba(0,0,0,0.35);
  }
  .product-dialog::backdrop { background: rgba(5, 19, 30, 0.74); backdrop-filter: blur(5px); }
  .dialog-close {
    position: sticky;
    z-index: 3;
    top: 0.75rem;
    float: right;
    width: 44px;
    height: 44px;
    margin: 0.75rem 0.75rem -3.5rem 0;
    border: 0;
    border-radius: 50%;
    background: var(--paper);
    color: var(--navy);
    cursor: pointer;
    box-shadow: var(--shadow-close);
  }
  .dialog-close .icon { width: 21px; height: 21px; }
  .dialog-layout { display: grid; grid-template-columns: 1fr 1fr; }
  .dialog-layout > img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
  .dialog-layout > div { padding: clamp(2rem, 5vw, 4.5rem); }
  .dialog-code { color: var(--gold-text); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; }
  .dialog-layout h2 { margin-top: 0.5rem; font-size: clamp(2.5rem, 5vw, 4.6rem); }
  .dialog-layout h2 + p { margin-top: 1.1rem; color: var(--muted); }
  .product-facts { margin: 1.8rem 0; border-top: 1px solid var(--line); }
  .product-facts div { display: grid; grid-template-columns: 0.8fr 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .product-facts dt { font-weight: 700; }
  .product-facts dd { color: var(--muted); }
  .dialog-note { color: var(--danger); font-size: 0.82rem; }
  .dialog-note + .button { margin-top: 1.25rem; }
}

@layer motion {
  .hero-logo { animation: logo-arrive 620ms var(--ease-out) backwards; }
  .hero-copy h1 { animation: welcome-copy 520ms 90ms var(--ease-out) backwards; }
  .hero-copy > p:not(.pending-note) { animation: welcome-copy 520ms 140ms var(--ease-out) backwards; }
  .hero-actions { animation: welcome-copy 460ms 180ms var(--ease-out) backwards; }
  .catalog-link, .pending-note { animation: welcome-copy 420ms 220ms var(--ease-out) backwards; }
  .jewel-stage { animation: vitrine-awaken 720ms 70ms var(--ease-out) backwards; }
  .showcase-pedestal { animation: pedestal-arrive 620ms var(--enter-delay) var(--ease-out) backwards; }
  .showcase-jewel { animation: jewel-arrive 680ms calc(var(--enter-delay) + 100ms) var(--ease-out) backwards; }

  @keyframes logo-arrive {
    from { opacity: 0; translate: 0 -14px; filter: blur(5px); }
  }
  @keyframes welcome-copy { from { opacity: 0; translate: 0 15px; filter: blur(4px); } }
  @keyframes vitrine-awaken {
    from { opacity: 0.6; clip-path: inset(0 8% 0 8%); filter: saturate(0.76) blur(2px); }
  }
  @keyframes pedestal-arrive { from { opacity: 0; translate: 0 42px; scale: 1 0.78; } }
  @keyframes jewel-arrive { from { opacity: 0; translate: 0 34px; filter: blur(8px) drop-shadow(0 8px 8px rgba(2, 16, 28, 0)); } }
}

@layer responsive {
  @media (max-width: 1120px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .desktop-nav { gap: 1.1rem; }
    .desktop-nav a { font-size: 0.8rem; }
  }

  @media (max-width: 940px) {
    .desktop-nav { display: none; }
    .menu-button {
      display: grid;
      gap: 6px;
      width: 46px;
      height: 46px;
      place-content: center;
      border: 1px solid rgba(16,42,67,0.4);
      border-radius: 50%;
      background: var(--cream);
    }
    .menu-button span:not(.sr-only) { width: 20px; height: 2px; background: var(--navy); }
    .mobile-nav {
      position: fixed;
      z-index: 35;
      inset: 0;
      padding: 7rem 1.25rem 2rem;
      background: var(--navy);
      color: white;
    }
    .mobile-nav:not([hidden]) { display: grid; align-content: start; gap: 1.2rem; }
    .mobile-nav a { font: 600 2rem/1.1 "Petrona", Georgia, serif; }
    .hero { min-height: max(828px, calc(100svh + var(--hero-copy-drop))); }
    .hero-logo { width: 150px; height: 180px; }
    .hero-copy { width: min(760px, calc(100% - 2rem)); }
    .showcase-item { top: 24%; width: 34%; height: 45%; }
    .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
    .catalog-toolbar { grid-template-columns: 1fr 1fr; }
    .search-field { grid-column: 1 / -1; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guide-section { grid-template-columns: 1fr; }
    .repair-section { grid-template-columns: 1fr; }
    .repair-image { min-height: 520px; }
    .story-section, .contact-section { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .channel-section { grid-template-columns: 1fr; align-items: start; }
    .channel-section .button { justify-self: start; }
    .site-footer { grid-template-columns: 1fr 1fr; }
    .site-footer > p { grid-column: 1 / -1; justify-self: start; text-align: left; }
  }

  @media (max-width: 620px) {
    .site-header { width: calc(100% - 1.5rem); }
    .hero {
      --hero-copy-drop: 16px;
      min-height: max(784px, calc(100svh + var(--hero-copy-drop)));
      padding: 0;
    }
    .hero::before { top: -6rem; left: -7rem; width: 14rem; height: 13rem; }
    .hero::after { right: -8rem; bottom: 27%; width: 13rem; height: 13rem; }
    .hero-logo { top: 0.35rem; width: 112px; height: 134px; }
    .hero-copy { right: 0.75rem; bottom: 0; left: 0.75rem; width: auto; padding: 2rem 0.15rem 0; }
    .hero-copy h1 { max-width: 24ch; font-size: clamp(2rem, 9.4vw, 2.45rem); }
    .hero-copy > p:not(.pending-note) { max-width: 52ch; margin-top: 0.45rem; font-size: 0.8rem; line-height: 1.45; }
    .hero-actions { display: grid; margin-top: 0.75rem; }
    .hero-actions .button { width: 100%; min-height: 44px; padding-block: 0.65rem; font-size: 0.84rem; }
    .catalog-link { margin-top: 0.7rem; font-size: 0.86rem; }
    .pending-note { display: none; }
    .showcase-item { top: 18%; width: 46%; height: 40%; }
    .showcase-arrow { top: 45%; width: 42px; height: 42px; }
    .showcase-arrow-previous { left: 0.65rem; }
    .showcase-arrow-next { right: 0.65rem; }
    .stage-label, .showcase-selection { display: none; }
    .showcase-dots { bottom: 40.5%; }
    .stage-orbit { top: 44%; width: 72vw; height: 110px; }
    .stage-shape-b { top: 8%; right: 5%; width: 54px; height: 54px; }
    .trust-strip { grid-template-columns: 1fr; }
    .trust-strip p + p { border-top: 1px solid var(--line); border-left: 0; }
    .section { padding: 5.5rem 0.75rem; }
    .demo-banner { display: grid; gap: 0.25rem; }
    .catalog-toolbar { grid-template-columns: 1fr; }
    .search-field { grid-column: auto; }
    .product-grid { grid-template-columns: 1fr; }
    .product-image-wrap { aspect-ratio: 1.08 / 1; }
    .best-sellers { grid-template-columns: 1fr; }
    .best-sellers > span { width: fit-content; }
    .guide-section { padding-inline: 0.75rem; }
    .guide-form, .guide-result { padding: 1.25rem; }
    .option-grid { grid-template-columns: 1fr; }
    .guide-result-actions { display: grid; }
    .repair-image { min-height: 420px; }
    .repair-copy { padding: 4.5rem 1rem; }
    .story-facts div { grid-template-columns: 1fr; gap: 0.25rem; }
    .news-grid { grid-template-columns: 1fr; }
    .channel-section { padding: 4.5rem 0.75rem; }
    .contact-details div { grid-template-columns: 1fr; gap: 0.15rem; }
    .site-footer { grid-template-columns: 1fr; padding: 3rem 0.75rem 6rem; }
    .footer-links { flex-wrap: wrap; }
    .mobile-chat { display: block; }
    .toast { bottom: 4.7rem; }
    .dialog-layout { grid-template-columns: 1fr; }
    .dialog-layout > img { min-height: 0; aspect-ratio: 1; }
    .dialog-layout > div { padding: 1.5rem; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
    .jewel-stage { --parallax-x: 0px !important; --parallax-y: 0px !important; --drag-x: 0px !important; }
    .showcase-item:is(:hover, :focus-visible) .showcase-jewel { translate: 0; }
  }
}
