@font-face {
  font-family: "Golos Text";
  src: url("assets/fonts/GolosText-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #fff;
  --ink: #142033;
  --muted: #4e5a69;
  --line: #dce2ea;
  --accent: #164484;
  --accent-deep: #103668;
  --tint: #f6f9fd;
  --header-height: 66px;
  --gutter: clamp(20px, 4.4vw, 74px);
  --heading-font: "Golos Text", Onest, Arial, sans-serif;
  color-scheme: light;
}

html { scroll-padding-top: var(--header-height); }
body { color: var(--ink); background: var(--paper); font: 400 16px/1.55 Onest, Arial, sans-serif; }
input, button, select, textarea { font-family: inherit; }
input[type="range"], input[type="checkbox"] { accent-color: var(--accent); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #356caf; outline-offset: 4px; }
.wrap { width: min(1380px, calc(100% - 2 * var(--gutter))); }

h1, h2, h3,
.aroma-layout h2, .contact-layout h2, .studio-section h2 {
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: -.024em;
  color: var(--ink);
  line-height: 1.11;
}
h2, .contact-layout h2 { font-size: clamp(30px, 3.65vw, 52px); }
h3 { font-size: clamp(21px, 2vw, 28px); }
.section { padding-block: clamp(36px, 5.1vw, 70px); }
.section + .section { border-top: 1px solid var(--line); }
.section-heading {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 12px 32px;
  align-items: end;
  margin-bottom: 28px;
}
.section-heading > p:last-child {
  justify-self: end;
  max-width: 46ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}
.fine-print, .studio-section .fine-print, .studio-section .template-caution, .contact-section .form-note {
  color: var(--muted);
  font-size: 13px;
}

.header {
  height: var(--header-height);
  padding-inline: var(--gutter);
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.header .brand img { width: 130px; }
.brand-divider { background: var(--line); }
.brand-360 b { font-family: var(--heading-font); font-weight: 700; color: var(--accent); }
.header nav { gap: clamp(14px, 2vw, 28px); }
.header nav > a:not(.button) { font-size: 14px; color: var(--ink); }
.header nav > a:not(.button):hover { color: var(--accent); text-decoration: underline; }
.header .button { font-size: 14px; padding: 11px 17px; border-radius: 8px; }
.nav-toggle { color: var(--ink); min-width: 44px; min-height: 44px; }
.button, .button.compact { border-radius: 8px; padding: 12px 17px; min-height: 44px; font-size: 15px; gap: 12px; }
.button.silver, .button.dark { background: var(--accent); color: #fff; box-shadow: none; }
.button.silver:hover, .button.dark:hover { background: var(--accent-deep); }
.button.line, .button.outline-light { background: #fff; border-color: #b5c4d8; color: var(--accent-deep); }
.button.line:hover, .button.outline-light:hover { background: var(--tint); }
.button:hover { transform: none; }
.text-link, .plain-button.light { color: var(--accent-deep); }

.photo-hero { border-bottom: 1px solid var(--line); }
.photo-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(26px, 4.8vw, 72px);
  min-height: min(730px, calc(100svh - var(--header-height)));
  padding-block: clamp(24px, 5svh, 50px);
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
}
.photo-hero h1 { margin: 0; font-size: clamp(36px, 4.15vw, 67px); line-height: 1.06; }
.photo-hero h1 span { color: var(--accent); }
.hero-lead { max-width: 39ch; color: var(--muted); font-size: clamp(16px, 1.45vw, 20px); margin: 20px 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.photo-showcase { min-width: 0; }
.photo-track {
  position: relative;
  display: flex;
  width: 100%;
  height: min(30.9vw, 58svh, 480px);
  min-height: 240px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 16px;
  background: var(--tint);
}
.photo-track::-webkit-scrollbar { display: none; }
.photo-slide { margin: 0; flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
.photo-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.photo-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.photo-thumbs, .photo-arrows { display: flex; align-items: center; gap: 6px; }
.photo-thumbs button {
  padding: 0;
  width: 48px;
  height: 44px;
  border: 2px solid transparent;
  border-radius: 7px;
  overflow: hidden;
  background: var(--tint);
}
.photo-thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.photo-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-arrows button {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent-deep);
  font-size: 19px;
}
.photo-arrows button:hover { background: var(--tint); border-color: var(--accent); }
#photo-caption { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.25; }

.finish-story, .finish-matte {
  --finish-top: var(--header-height);
  --finish-height: min(620px, calc(100svh - var(--header-height) - 34px));
  --finish-travel: clamp(150px, 25svh, 215px);
  display: block;
  min-height: calc(var(--finish-height) + var(--finish-travel));
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.finish-pin, .finish-matte .finish-pin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 82px);
  height: var(--finish-height);
  background: #fff;
  overflow: visible;
}
.finish-visual {
  position: relative;
  height: min(100% - 36px, 530px);
  grid-row: 1;
  grid-column: 1;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 48%, #eef4fd, #fff 76%);
}
.finish-stage { bottom: 0; }
.finish-matte .finish-visual { grid-column: 2; }
.finish-copy { align-self: center; padding-block: 14px; }
.finish-copy .eyebrow { margin: 0 0 12px; color: var(--accent-deep); text-transform: none; font-size: 14px; letter-spacing: 0; }
.finish-copy h2 { margin: 0 0 14px; }
.finish-description { min-height: 5.2em; max-width: 46ch; color: var(--muted); }
.finish-description p { margin: 0; }
.finish-static .finish-story { min-height: 0; }
.finish-static .finish-pin { height: auto; min-height: 0; padding-block: 22px; }
.finish-static .finish-visual { height: min(46svh, 410px); }

.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.collection-card, .package-grid article { min-width: 0; padding: 14px 14px 18px; border: 1px solid var(--line); border-radius: 14px; }
.collection-card img, .package-photo {
  width: 100%;
  height: clamp(160px, 26svh, 300px);
  display: block;
  object-fit: contain;
  background: var(--tint);
  border-radius: 8px;
}
.collection-card h3, .package-grid article h3 { margin: 15px 0 6px; font-size: clamp(21px, 2vw, 27px); }
.collection-card p, .package-grid article p { margin: 0; color: var(--muted); font-size: 15px; }
.collection-actions { display: flex; gap: 17px; }
.collection-card .text-link { padding: 9px 0 3px; font-size: 14px; }
.package-grid { gap: 16px; }
.package-grid > article:nth-child(n) { padding-top: 14px; margin-bottom: 0; }

.studio-section, .aroma-section, .quote-section, .contact-section, .footer { background: #fff; color: var(--ink); }
.studio-section { padding-block: clamp(28px, 4.4svh, 45px); }
.studio-section .section-heading { margin-bottom: 22px; }
.studio-layout { grid-template-columns: minmax(0, 1.36fr) minmax(270px, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.studio-view { border: 1px solid var(--line); border-radius: 14px; }
.product-tabs { padding: 10px; background: #fff; border-color: var(--line); gap: 5px; }
.product-tabs button, .gallery-filters button, .supplier-tabs button {
  min-height: 38px;
  font-size: 14px;
  padding: 7px 11px;
  border-radius: 7px;
  border-color: var(--line);
}
.product-tabs button.active, .gallery-filters button.active, .supplier-tabs button.active { background: var(--accent); border-color: var(--accent); color: white; }
#studio-scene { height: clamp(250px, 45svh, 430px); min-height: 0; flex: 0 0 auto; }
#studio-scene .scene-fallback { background: #fff; }
.studio-under { padding: 8px 12px; gap: 12px; color: var(--muted); border-color: var(--line); font-size: 13px; }
.studio-under > span { font-size: inherit; max-width: none; }
.studio-panel { padding: 0; min-width: 0; }
.studio-panel .control-group { margin-bottom: 10px; }
.studio-panel .control-group > label, .studio-panel .control-label { color: var(--ink); font-size: 14px; margin-bottom: 6px; }
.studio-panel select { padding: 8px 10px; min-height: 40px; background: #fff; color: var(--ink); border-color: var(--line); border-radius: 7px; font-size: 15px; }
.studio-panel .swatches { gap: 11px; }
.studio-panel .swatch { width: 24px; height: 24px; border: 1px solid #bbc6d3; }
.studio-panel .swatch[aria-pressed="true"]::after { border-color: var(--accent); }
#studio-color-label { margin: 4px 0 0; }
.upload-zone {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 0;
  justify-content: start;
  align-content: center;
  min-height: 70px;
  padding: 9px 14px;
  border-color: #9db2ce;
  border-radius: 8px;
  background: var(--tint);
  color: var(--ink);
}
.upload-zone:hover, .upload-zone.dragging, .upload-zone:focus-within { background: #eff5fc; border-color: var(--accent); }
.upload-zone strong { font-weight: 600; font-size: 15px; }
.upload-icon { grid-row: 1 / 3; align-self: center; color: var(--accent); }
.upload-zone > span:last-child { color: var(--muted); font-size: 13px; }
.upload-status { min-height: 0; overflow-wrap: anywhere; margin: 5px 0 9px; color: var(--muted); font-size: 13px; }
.studio-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 8px; }
.studio-actions > .button { font-size: 14px; padding: 8px 10px; }
.studio-actions .plain-button { grid-column: 1 / -1; justify-self: start; padding: 1px 0; font-size: 13px; }
.studio-advanced, .studio-materials, .gallery-videos { border-top: 1px solid var(--line); margin-top: 12px; }
.studio-advanced > summary, .studio-materials > summary, .gallery-videos > summary { cursor: pointer; padding: 9px 0; color: var(--accent-deep); font-size: 15px; font-weight: 600; }
.studio-advanced .privacy-note { color: var(--muted); }
.template-row { margin-top: 6px; padding-top: 10px; gap: 24px; border: 0; }
.template-row p:not(.eyebrow), .template-links a { color: var(--muted); font-size: 14px; }
.template-links a { padding-block: 9px; border-color: var(--line); }
.template-links a:hover { color: var(--accent); background: var(--tint); }

.aroma-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
.aroma-item, .aroma-item:last-child {
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.aroma-item h3 { font-size: 17px; }
.aroma-item p { font-size: 13px; color: var(--muted); }
.aroma-dot { width: 25px; height: 25px; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.gallery-filters { margin: 0; gap: 6px; }
.gallery-grid { gap: 12px; margin: 0; padding: 3px 0 9px; }
.gallery-card, .gallery-card:nth-child(even) {
  flex-basis: calc((100% - 36px) / 4);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.gallery-card:hover { border-color: var(--accent); }
.gallery-card img { display: block; width: 100%; height: clamp(146px, 24svh, 260px); object-fit: contain; background: var(--tint); }
.gallery-card p { margin: 0; padding: 11px; font-size: 14px; }
#gallery-more { margin-top: 10px; }
.gallery-videos .video-grid { gap: 12px; margin-top: 12px; }
.video-grid figure { margin: 0; }
.video-grid video { display: block; width: 100%; height: min(32svh, 270px); background: var(--tint); border: 1px solid var(--line); border-radius: 10px; }
.video-grid figcaption { margin-top: 5px; font-size: 14px; color: var(--muted); }

.quote-layout, .contact-layout { gap: clamp(22px, 5vw, 72px); }
.quote-fields { gap: 6px; }
.quote-fields > label, .quantity-label label, .contact-layout label { color: var(--ink); font-size: 14px; }
.quote-fields select, .quantity-label input, .contact-layout input, .contact-layout textarea {
  padding: 10px 11px;
  border-color: var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}
.quote-result, .contact-result { background: var(--tint); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.quote-result h3 { margin: 8px 0 10px; font-size: 24px; }
.quote-result dl { font-size: 14px; }
.quote-result dl > div { padding: 7px 0; border-color: var(--line); }
.quote-total { gap: 4px; margin-top: 12px; }
.quote-total strong { font-family: var(--heading-font); font-weight: 700; font-size: clamp(21px, 2.35vw, 32px); }
.quote-result > .eyebrow, .quote-result dt, .quote-total > span, .quote-result > p:not(.eyebrow) { color: var(--muted); font-size: 13px; }
.quote-result .button { margin: 8px 0; }
.contact-layout h2 { margin: 0 0 15px; }
.contact-layout > div > p:not(.eyebrow), .contact-layout > div > a { color: var(--muted); font-size: 16px; }
.contact-layout > div > a.contact-phone { color: var(--accent-deep); font-family: var(--heading-font); font-size: clamp(23px, 2.5vw, 32px); }
.contact-layout label { margin-top: 3px; }
.footer { border-color: var(--line); color: var(--muted); font-size: 13px; }
.footer button { font-size: inherit; }
.image-dialog { background: #fff; border-radius: 12px; }

@media (max-width: 1100px) {
  .header nav { top: var(--header-height); background: #fff; border-bottom: 1px solid var(--line); gap: 12px; }
  .photo-controls { grid-template-columns: 1fr auto; }
  #photo-caption { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 767px) {
  :root { --header-height: 58px; --gutter: 18px; }
  .header .brand img { width: 115px; }
  .photo-hero-layout { display: block; min-height: 0; padding-block: 26px 20px; }
  .photo-hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero-kicker { margin-bottom: 10px; }
  .hero-lead { margin: 12px 0 14px; }
  .hero-actions { gap: 7px; }
  .hero-actions .button { padding-inline: 10px; font-size: 13px; gap: 6px; }
  .hero-facts { margin-top: 13px; padding-top: 9px; gap: 5px 12px; }
  .photo-showcase { margin-top: 17px; }
  .photo-track { height: min(65vw, 42svh); min-height: 155px; border-radius: 10px; }
  .photo-controls { margin-top: 8px; gap: 6px; }
  .photo-thumbs { gap: 5px; }
  .photo-thumbs button { width: 43px; height: 42px; }
  .section { padding-block: 31px; }
  .section-heading { display: grid; grid-template-columns: 1fr; gap: 7px; margin-bottom: 18px; }
  .section-heading > p:last-child { justify-self: start; }
  .finish-story { --finish-height: min(575px, calc(100svh - var(--header-height) - 15px)); --finish-travel: 154px; }
  .finish-pin, .finish-matte .finish-pin {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(130px, 1fr) auto;
    align-items: stretch;
    gap: 3px;
    z-index: 1;
  }
  .finish-visual, .finish-matte .finish-visual { grid-column: 1; grid-row: 1; height: 100%; }
  .finish-copy, .finish-matte .finish-copy { grid-column: 1; grid-row: 2; padding: 4px 0 12px; }
  .finish-copy .eyebrow { margin-bottom: 5px; font-size: 13px; }
  .finish-copy h2 { margin-bottom: 6px; }
  .finish-description { min-height: 5.1em; }
  .finish-static .finish-pin { max-height: none; }
  .finish-static .finish-visual { height: min(43svh, 310px); }
  .collection-grid, .package-grid { grid-template-columns: 1fr; gap: 11px; }
  .collection-card img, .package-photo { height: clamp(136px, 25svh, 220px); }
  .studio-section { padding-block: 21px; }
  .studio-section .section-heading { margin-bottom: 14px; }
  .studio-layout { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .product-tabs { padding: 6px; }
  #studio-scene { height: clamp(160px, 26svh, 224px); }
  .studio-under { justify-content: space-between; }
  .studio-under > span { display: none; }
  .upload-zone { min-height: 60px; }
  .studio-panel .control-group { margin-bottom: 7px; }
  .studio-panel .swatches { gap: 10px; }
  .aroma-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aroma-item { padding: 10px; }
  .aroma-dot { width: 18px; height: 18px; }
  .gallery-toolbar { align-items: flex-start; flex-wrap: wrap; }
  .gallery-card, .gallery-card:nth-child(even) { flex-basis: 64%; }
  .gallery-videos .video-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout form { margin-top: 24px; }
}
@media (max-width: 360px) {
  .studio-panel .swatches { gap: 8px; }
  .studio-panel .swatch { width: 22px; height: 22px; }
  .photo-controls { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .finish-story { min-height: 0; }
  .finish-pin, .finish-matte .finish-pin { height: auto; max-height: none; padding-block: 22px; }
  .finish-visual { height: min(44svh, 360px); }
}
