/* Shared visual rules for the live site. Page layouts retain their own character. */
:root {
  --studio-ink: #004b57;
  --studio-muted: #49676a;
  --studio-accent: #bd571f;
  --studio-line: rgba(0, 76, 87, .14);
  --studio-gap: clamp(44px, 3.6vw, 60px);
  --shadow: 0 18px 42px rgba(25, 61, 58, .09), 0 3px 10px rgba(25, 61, 58, .035);
  --radius-xl: 48px;
  --radius-lg: 32px;
  --radius-md: 22px;
}

body { line-height: 1.52; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body, body.page-leaving { opacity: 1; transition: none; animation: studio-page-in 220ms ease-out both; }
@view-transition { navigation: none; }
@keyframes studio-page-in { from { opacity: .86; } to { opacity: 1; } }
h1, h2, h3 { line-height: 1.06; text-wrap: balance; }
h1, h2 { letter-spacing: -.045em; }
h3 { letter-spacing: -.025em; }
p { text-wrap: pretty; }
.heading-accent { color: var(--studio-accent); }
.eyebrow { display: none !important; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--studio-accent);
  outline-offset: 3px;
}
.main-nav, .site-header.is-scrolled .main-nav { gap: clamp(11px, 1.15vw, 19px); }
.site-header .main-nav, .site-header.is-scrolled .main-nav { font-size: 1rem; }
.main-nav a { font-weight: 650; transform: none !important; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--studio-accent); }
.site-header .main-nav a,
.site-header .main-nav a[aria-current="page"] { font-weight: 700; }
.site-header .main-nav a[aria-current="page"] { color: #b65322; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--studio-accent); }

.button {
  min-height: 50px;
  padding-inline: 25px;
  border-width: 1.5px;
  gap: 12px;
  font-size: .96rem;
  font-weight: 750;
  letter-spacing: -.01em;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.button-primary {
  background: linear-gradient(145deg, #086775, #004f5b 78%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .22), 0 7px 17px rgba(0, 70, 80, .13);
}
.button-secondary {
  background: linear-gradient(145deg, rgba(255, 254, 251, .96), rgba(248, 239, 222, .88));
  box-shadow: inset 0 1px rgba(255, 255, 255, .95), 0 4px 12px rgba(0, 70, 80, .055);
}
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 11px 23px rgba(0, 76, 87, .16); }
.button-primary:hover, .button-primary:focus-visible { background: linear-gradient(145deg, #087384, #005461 78%); border-color: #005461; }
.button-secondary:hover, .button-secondary:focus-visible { background: linear-gradient(145deg, #fffdf8, #f5e7d2); }
.page-hero-where .button-primary,
body[data-page="where"] .locator-form .button-primary {
  background: linear-gradient(145deg, #0a7481 0%, #005461 58%, #00434d 100%);
  border-color: #004a55;
  box-shadow: inset 0 2px rgba(255, 255, 255, .24), inset 0 -2px rgba(0, 39, 45, .3), 0 12px 23px rgba(0, 70, 80, .22);
}
body[data-page="where"] .page-cta .button-secondary {
  background: linear-gradient(145deg, #fffdf7 0%, #f7e9d3 58%, #f0dcc0 100%);
  box-shadow: inset 0 2px rgba(255, 255, 255, .95), inset 0 -2px rgba(176, 126, 81, .16), 0 10px 22px rgba(86, 65, 42, .14);
}
body[data-page="where"] .button:hover,
body[data-page="where"] .button:focus-visible {
  transform: translateY(-3px);
  box-shadow: inset 0 1px rgba(255, 255, 255, .2), 0 16px 28px rgba(0, 70, 80, .22);
}
.button-small { min-height: 46px; }
.mini-link, .product-back { text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* A consistent page rhythm: the photograph is the only deliberately immersive edge. */
.page-main, .catalog-page, .product-page, .kissel-main { padding-top: 14px; }
.page-hero, .page-section, .catalog-intro, .catalog-business,
.product-detail, .product-specs, .kissel-world, .kissel-lines, .mix-lab,
.kissel-partner, .bestsellers, .home-partners, .story, .kissel-banner {
  border-radius: var(--radius-xl);
}
.page-section, .product-specs { padding: clamp(38px, 4.5vw, 76px); }
.page-section { margin-block: var(--studio-gap); }
.catalog-business, .product-specs, .kissel-film, .kissel-lines, .mix-lab, .kissel-partner, .kissel-world { margin-top: var(--studio-gap); }
.product-detail, .product-specs {
  background-image: radial-gradient(ellipse 70% 90% at 100% 0, rgba(244, 188, 117, .17), transparent 72%),
    linear-gradient(145deg, #fffdf9 18%, #fcf4e8 100%);
}
.home-partners, .page-section.white, .stm-overview, .kissel-lines {
  background-image: radial-gradient(ellipse 75% 85% at 0 0, rgba(194, 214, 179, .24), transparent 72%),
    linear-gradient(140deg, #fffdf9 12%, #f9f0e2 100%);
}
.page-section:not(.white):not(.stm-overview):not(.stm-sales):not(.stm-routes),
.catalog-business, .mix-lab, .story {
  background-image: radial-gradient(ellipse 70% 90% at 100% 100%, rgba(233, 180, 113, .18), transparent 72%),
    linear-gradient(125deg, #fff9ef, #f4ead9);
}
.stm-sales {
  background-image: radial-gradient(ellipse 75% 100% at 100% 0, rgba(181, 204, 162, .28), transparent 76%),
    linear-gradient(125deg, #f8f3e8, #eee6d7);
}
.stm-routes {
  background-image: radial-gradient(ellipse 70% 90% at 100% 0, rgba(244, 188, 117, .22), transparent 70%),
    linear-gradient(140deg, #fff9ef, #f6ecdc);
}
.kissel-film { box-shadow: var(--shadow); }
.value-card, .step, .tile, .about-category, .about-business-grid article,
.about-fact, .about-production-points > div, .locator-aside, .kissel-line-card {
  box-shadow: 0 11px 25px rgba(0, 68, 74, .075), inset 0 1px rgba(255, 255, 255, .65);
}
.page-section-header { gap: 40px; margin-bottom: clamp(28px, 3vw, 42px); }
.page-section-header h2 { max-width: 17ch; }
.page-section-header p, .page-lead { color: var(--studio-muted); line-height: 1.5; }
.page-section h2, .catalog-browser-head h2, .product-specs h2,
.kissel-lines-heading h2, .mix-intro h2, .stm-overview h2,
.stm-sales h2, .stm-routes h2 {
  font-size: clamp(2.45rem, 3.5vw, 3.75rem);
}
.page-hero-copy { padding: clamp(48px, 5.5vw, 88px); }
.page-hero h1, .page-hero-about h1, .page-hero-stm h1,
.page-hero-partner h1 {
  font-size: clamp(3.15rem, 5vw, 5.2rem);
}
.page-hero p:not(.eyebrow) { max-width: 35ch; line-height: 1.44; }
.page-hero-image, .visual-frame img { image-rendering: auto; }
.visual-frame img, .visual-frame:hover img,
.story-card:hover .story-image { transform: none; filter: none; }

/* Homepage: one typographic hierarchy and a shared horizontal grid. */
.hero.section-shell.container { border-radius: var(--radius-xl); }
.hero .hero-copy { width: 32%; padding-left: clamp(40px, 5vw, 82px); }
.hero h1 { font-size: clamp(3.05rem, 3.8vw, 3.8rem); line-height: 1; }
.hero .hero-lead { max-width: 25ch; line-height: 1.45; }
.hero .button { min-height: 48px; font-size: .91rem; }
.hero .button-primary {
  background: linear-gradient(145deg, rgba(8, 103, 117, .96), rgba(0, 79, 91, .97));
  box-shadow: inset 0 1px rgba(255, 255, 255, .2), 0 8px 19px rgba(0, 64, 75, .18);
}
.hero .button-secondary {
  background: linear-gradient(145deg, rgba(255, 254, 251, .93), rgba(248, 239, 222, .88));
  box-shadow: inset 0 1px rgba(255, 255, 255, .9), 0 7px 18px rgba(0, 64, 75, .1);
}
.hero .button-primary:hover, .hero .button-primary:focus-visible {
  background: linear-gradient(145deg, #087384, #005461);
}
.hero .button-secondary:hover, .hero .button-secondary:focus-visible {
  background: linear-gradient(145deg, #fffdf8, #f5e7d2);
}
.kissel-banner.container {
  margin-top: var(--studio-gap);
  background-image: radial-gradient(ellipse 70% 90% at 100% 0, rgba(245, 187, 114, .24), transparent 76%),
    linear-gradient(145deg, #fbf0e2, #f2e3cf);
}
.kissel-copy .button {
  background: linear-gradient(145deg, #be571e, #a84c1e);
  border-color: #a84c1e;
  box-shadow: inset 0 1px rgba(255, 255, 255, .22), 0 9px 19px rgba(172, 76, 28, .17);
}
.kissel-copy .button:hover, .kissel-copy .button:focus-visible {
  background: linear-gradient(145deg, #b5511c, #943f19);
  border-color: #943f19;
}
.kissel-copy h2 { font-size: clamp(3.1rem, 4.25vw, 4.4rem); line-height: 1.02; }
.kissel-lead { line-height: 1.42; }
.kissel-partner-note { color: var(--studio-muted); }
.stm-sales-list span:first-child { color: var(--studio-accent); }
.locator-result, .form-status, .dialog-note { color: var(--studio-ink); }
body[data-page="home"] .products { margin-block: var(--studio-gap); }
body[data-page="home"] .products-heading h2,
.bestsellers-head h2 {
  font-size: clamp(2.15rem, 3vw, 3.1rem);
  line-height: 1.03;
}
.home-partners-heading h2 { font-size: clamp(2.65rem, 4vw, 4rem); line-height: 1.03; }
body[data-page="home"] .category { transition: transform .2s ease, box-shadow .2s ease; }
body[data-page="home"] .category:hover,
body[data-page="home"] .category:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(29, 52, 47, .11); }
.bestsellers { margin-top: var(--studio-gap); }
.bestsellers-product-link { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 19px; font-size: .84rem; }
.bestsellers-product-link, .catalog-more {
  background: linear-gradient(145deg, #fffdf9, #f8efdf);
  box-shadow: inset 0 1px rgba(255, 255, 255, .95), 0 5px 14px rgba(0, 69, 78, .06);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.bestsellers-product-link:hover, .bestsellers-product-link:focus-visible,
.catalog-more:hover, .catalog-more:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 9px 19px rgba(0, 69, 78, .12);
}
.bestsellers-arrow { width: auto; height: 44px; }
.story {
  width: calc(100% - 24px);
  max-width: none;
  grid-template-columns: 1fr 1fr;
  margin-top: var(--studio-gap);
}
.story-card { min-height: 330px; padding: clamp(36px, 4.5vw, 72px); }
.story-card h2 { font-size: clamp(2.4rem, 3.2vw, 3.4rem); }
.story-card p:not(.eyebrow) { max-width: 30ch; line-height: 1.5; }
.home-partners {
  width: calc(100% - 24px);
  max-width: none;
  margin-top: var(--studio-gap);
  padding: clamp(38px, 4.5vw, 72px);
}
.home-partners-heading, .home-partners-logos { width: min(100%, 1440px); margin-inline: auto; }
.home-partners-heading > p { color: var(--studio-muted); line-height: 1.48; }
.home-partners-logos { gap: 14px; }
.home-partners-logos li { min-height: 116px; border-color: var(--studio-line); background: #fcf9f1; }

/* Catalog and detail views share the same display and card scale. */
.catalog-intro { min-height: 330px; padding: clamp(48px, 5.5vw, 88px); }
.catalog-intro h1 { font-size: clamp(3.15rem, 5vw, 5.2rem); }
.catalog-intro p:not(.eyebrow) { color: var(--studio-muted); line-height: 1.5; }
.catalog-card {
  border-color: var(--studio-line);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 18px rgba(0, 68, 74, .055), inset 0 1px rgba(255, 255, 255, .7);
}
.catalog-card:hover { transform: translateY(-2px); box-shadow: 0 12px 27px rgba(0, 76, 87, .1); }
.catalog-card-photo img, .product-photo img { object-fit: contain; }
.catalog-card h3 { line-height: 1.22; }
.product-information h1 { font-size: clamp(2.75rem, 4.25vw, 4.7rem); }
.product-description { color: var(--studio-muted); }

/* Icons use one optical size and a restrained surface treatment. */
.feature-icon, .round-icon { width: 66px; height: 66px; background: #eef0df; color: #536f24; }
.feature-icon svg, .round-icon svg { width: 32px; height: 32px; stroke-width: 1.8; }
.action-icon svg { stroke-width: 1.8; }
.kissel-text-link { border-bottom-color: var(--studio-accent); }
.kissel-text-link:hover, .kissel-text-link:focus-visible { color: var(--studio-accent); }
.header-contact-toggle { display: none; }

@media (min-width: 1101px) {
  .site-header .main-nav, .site-header.is-scrolled .main-nav {
    font-size: clamp(.9rem, 1.1vw, 1.05rem);
  }
}
@media (min-width: 821px) and (max-width: 1100px) {
  .site-header .header-inner, .site-header.is-scrolled .header-inner { display: flex; }
  .site-header .menu-toggle { display: grid; margin-left: auto; }
  .site-header .main-nav, .site-header.is-scrolled .main-nav {
    position: absolute; top: calc(100% + 4px); left: 12px; right: 12px;
    z-index: 60; display: grid; width: auto; padding: 12px;
    gap: 0; border-radius: 24px; background: var(--cream);
    box-shadow: var(--shadow); font-size: 1rem;
    transform: scaleY(0); opacity: 0; pointer-events: none;
  }
  .site-header .main-nav.open, .site-header.is-scrolled .main-nav.open {
    transform: scaleY(1); opacity: 1; pointer-events: auto;
  }
  .site-header .main-nav a { padding: 12px 14px; }
  .site-header .header-actions, .site-header.is-scrolled .header-actions { margin: 0; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .hero .hero-copy { width: 38%; }
  .hero h1 { font-size: clamp(2.25rem, 4.1vw, 2.8rem); }
}
@media (max-width: 820px) {
  .story { grid-template-columns: 1fr; }
  .page-hero-copy { padding: 72px 36px 32px; }
  .page-hero h1, .page-hero-about h1, .page-hero-stm h1,
  .page-hero-partner h1 { font-size: clamp(2.7rem, 8vw, 4.4rem); }
}
@media (max-width: 600px) {
  :root { --radius-xl: 30px; --radius-lg: 25px; --radius-md: 20px; --studio-gap: 34px; }
  .page-main, .catalog-page, .product-page, .kissel-main { padding-top: 12px; }
  .page-hero, .page-section, .catalog-intro,
  .catalog-business, .product-detail, .product-specs, .kissel-world,
  .kissel-lines, .mix-lab, .kissel-partner, .bestsellers,
  .home-partners, .story, .kissel-banner { border-radius: var(--radius-xl); }
  .page-section, .product-specs { padding: 32px 24px; }
  .page-hero-copy { padding: 80px 28px 30px; }
  .hero h1 { font-size: clamp(2.35rem, 9vw, 2.9rem); }
  .hero .hero-copy { width: 100%; padding-left: 24px; }
  .kissel-copy h2 { font-size: clamp(2.7rem, 10vw, 3.45rem); }
  .home-partners-heading h2,
  .page-section h2, .catalog-browser-head h2,
  .kissel-lines-heading h2, .mix-intro h2,
  .stm-overview h2, .stm-sales h2, .stm-routes h2 {
    font-size: clamp(2.15rem, 8.2vw, 3rem);
  }
  body[data-page="home"] .products-heading h2,
  .bestsellers-head h2 { font-size: clamp(2rem, 7vw, 2.55rem); }
  .story-card { min-height: 0; padding: 34px 27px; }
  .story-card h2 { font-size: clamp(2.15rem, 8vw, 2.7rem); }
  .home-partners { padding: 32px 22px; }
  .home-partners-logos { gap: 9px; }
  .home-partners-logos li { min-height: 100px; padding: 13px; }
  .button { min-height: 48px; }
  .catalog-intro { min-height: 0; padding: 38px 28px; }
  .catalog-intro h1 { font-size: clamp(2.7rem, 10vw, 3.4rem); }
  .page-hero-stm { min-height: 670px; }
  .page-hero-stm .page-hero-image { object-fit: contain; object-position: center bottom; }
}
@media (max-width: 560px) {
  .header-contact, .site-header.is-scrolled .header-contact {
    overflow: hidden;
    transition: top .3s ease, width .26s cubic-bezier(.22, 1, .36, 1), height .26s cubic-bezier(.22, 1, .36, 1), padding .26s ease, box-shadow .25s ease;
  }
  .header-contact-toggle {
    position: absolute; inset: 0; z-index: 2;
    display: grid; place-items: center;
    width: 48px; height: 48px; padding: 0;
    border: 0; border-radius: 50%;
    background: transparent; color: var(--teal); cursor: pointer;
  }
  .header-contact-toggle svg { width: 25px; height: 25px; }
  .header-contact:not(.is-open), .site-header.is-scrolled .header-contact:not(.is-open) {
    top: calc(100% + 8px); right: 8px;
    width: 48px; height: 48px; padding: 0;
    border-radius: 50%;
  }
  .header-contact:not(.is-open) .header-contact-title,
  .header-contact:not(.is-open) .header-contact-actions {
    opacity: 0; visibility: hidden; transform: translateY(-4px); pointer-events: none;
  }
  .header-contact-title { display: block; }
  .header-contact-actions { display: flex; }
  .header-contact-title, .header-contact-actions {
    transition: opacity .18s ease, transform .24s ease, visibility 0s linear .18s;
  }
  .header-contact:not(.is-open)::before { right: -4px; }
  .header-contact.is-open, .site-header.is-scrolled .header-contact.is-open {
    top: calc(100% + 8px); right: 8px;
    width: 205px; height: 94px; min-height: 86px; padding: 12px 14px;
  }
  .header-contact.is-open .header-contact-title,
  .header-contact.is-open .header-contact-actions {
    opacity: 1; visibility: visible; transform: none;
    transition-delay: .07s, .07s, 0s;
  }
  .header-contact.is-open .header-contact-toggle {
    inset: 5px 6px auto auto; width: 29px; height: 29px;
  }
  .header-contact.is-open .header-contact-toggle svg { display: none; }
  .header-contact.is-open .header-contact-toggle::after {
    content: '×'; font-size: 1.5rem; font-weight: 400; line-height: 1;
  }
  .header-contact.is-open .header-contact-title { padding-right: 21px; }
}
@media (max-width: 820px) {
  .site-header .main-nav, .site-header.is-scrolled .main-nav {
    transform: translateY(-9px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .22s ease, transform .26s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .26s;
  }
  .site-header .main-nav.open, .site-header.is-scrolled .main-nav.open {
    transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto;
    transition-delay: 0s;
  }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .button, .category, .catalog-card { transition: none !important; }
  .button:hover, .category:hover, .catalog-card:hover { transform: none !important; }
  .main-nav, .header-contact, .header-contact-title, .header-contact-actions { transition: none !important; }
}

/* First-screen headings share the homepage scale at every breakpoint. */
:root { --hero-heading-size: clamp(3.05rem, 3.8vw, 3.8rem); }
body :is(.hero, .page-hero, .partner-hero, .catalog-intro, .kissel-partner) h1 {
  font-size: var(--hero-heading-size);
}
@media (min-width: 601px) and (max-width: 900px) {
  :root { --hero-heading-size: clamp(2.25rem, 4.1vw, 2.8rem); }
}
@media (max-width: 600px) {
  :root { --hero-heading-size: clamp(2.35rem, 9vw, 2.9rem); }
}

/* Legal information is part of the site, without a modal blocking the content. */
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.footer-legal a, .footer-legal button { color: inherit; font: inherit; font-size: .82rem; text-decoration: underline; text-underline-offset: 4px; }
.footer-legal button { padding: 0; border: 0; background: none; cursor: pointer; }
.footer-legal a:hover, .footer-legal button:hover { color: #ffd3a4; }
.cookie-note[hidden] { display: none; }
.cookie-note { position: fixed; z-index: 100; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 18px; width: min(540px,calc(100vw - 36px)); padding: 15px 16px 15px 20px; border: 1px solid rgba(0,84,97,.13); border-radius: 23px; background: rgba(255,253,248,.97); box-shadow: 0 15px 42px rgba(0,51,58,.18); color: var(--teal); }
.cookie-note-copy { flex: 1; min-width: 0; }
.cookie-note h2 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.2; }
.cookie-note p { margin: 0; font-size: .82rem; line-height: 1.42; }
.cookie-note p + p { margin-top: 6px; }
.cookie-note a { color: #ab5221; font-weight: 750; text-underline-offset: 3px; }
.cookie-note-close { flex: none; min-height: 42px; padding: 0 16px; border: 0; border-radius: 15px; background: var(--teal); color: #fff; font: inherit; font-size: .84rem; font-weight: 750; cursor: pointer; }
.cookie-note-close:hover, .cookie-note-close:focus-visible { background: #0b6f79; }
.product-subcategory[hidden] { display: none !important; }
.privacy-main { padding-top: 14px; }
.privacy-main > .page-section { width: calc(100% - 24px); max-width: none; margin-inline: auto; }
.privacy-intro { padding-top: clamp(42px,6vw,84px); padding-bottom: clamp(43px,6vw,78px); background: linear-gradient(130deg,#fffaf0,#f5e9d8); }
.privacy-intro h1 { max-width: 16ch; margin: 0; color: var(--teal); font-size: clamp(3rem,6.2vw,6rem); line-height: 1.02; letter-spacing: -.06em; }
.privacy-intro p { max-width: 48ch; margin: 24px 0 0; color: #42656b; font-size: clamp(1.08rem,1.6vw,1.4rem); }
.privacy-section { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.privacy-section > div { max-width: 65ch; }
.privacy-section h2 { margin: 0 0 16px; color: var(--teal); font-size: clamp(2rem,3.4vw,3.5rem); line-height: 1.08; }
.privacy-section p { margin: 0 0 14px; color: #49676a; font-size: 1.08rem; line-height: 1.55; }
.privacy-section p:last-child { margin-bottom: 0; }
.privacy-section p a { color: var(--teal); text-underline-offset: 4px; }
@media (max-width: 700px) {
  .footer-legal { gap: 7px 13px; }
  .footer-legal a, .footer-legal button { font-size: .72rem; }
  .cookie-note { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 14px; gap: 11px; border-radius: 19px; }
  .cookie-note p { font-size: .73rem; }
  .cookie-note-close { min-height: 39px; padding-inline: 11px; font-size: .75rem; }
  .privacy-intro h1 { font-size: clamp(2.35rem,10vw,3.7rem); }
  .privacy-section { display: block; }
  .privacy-section .button { margin-top: 18px; }
  .privacy-section p { font-size: .98rem; }
}
