/* Atelier v0.2.12 — single-source footer, hero and public search design. */
:root{--sg-ui-accent:#cf7563;--sg-ui-dark:#141719;--sg-ui-surface:#fffefa;--sg-ui-line:#dedbd4;--sg-ui-control-height:50px}
/* Footer: single horizontal desktop row even when all legal columns are published. */
.sg-footer .sg-footer-top{display:grid;grid-template-columns:minmax(205px,1.22fr) minmax(0,3.8fr);align-items:start;gap:clamp(28px,3vw,65px)}
.sg-footer .sg-footer-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:clamp(18px,2vw,42px);row-gap:0;align-items:start}
.sg-footer .sg-footer-column{min-width:0;gap:12px}.sg-footer .sg-footer-column a{overflow-wrap:normal;word-break:normal;hyphens:auto}
/* Shared interior-page hero language; the landing-page visual composition remains distinct. */
.sg-unified-hero,.sg-page-hero{background:var(--sg-ui-dark);color:#f5f2ea}
.sg-page-hero.sg-unified-hero{padding-block:clamp(58px,5.4vw,82px)}
.sg-page-hero.sg-unified-hero h1,.sg-how-hero.sg-unified-hero h1{font-size:clamp(48px,5.5vw,82px);font-weight:520;line-height:1.06;letter-spacing:-.052em;margin:16px 0 17px}
.sg-page-hero.sg-unified-hero p,.sg-how-hero.sg-unified-hero .sg-how-lead{font-size:clamp(14px,1.05vw,16px);line-height:1.78;color:#c4c7c0;max-width:650px}
.sg-how-hero.sg-unified-hero .sg-how-hero-grid{min-height:0}
.sg-how-hero.sg-unified-hero .sg-how-hero-copy{padding-top:clamp(58px,5.4vw,82px);padding-bottom:clamp(58px,5.4vw,82px)}
.sg-how-hero.sg-unified-hero h1 em{letter-spacing:inherit}
/* Consistent form controls without changing filtering queries or form submission. */
.sg-unified-filters{--sg-filter-bg:var(--sg-ui-surface);padding:12px!important;border:1px solid var(--sg-ui-line)!important;background:var(--sg-filter-bg)!important;border-radius:3px!important;gap:10px!important;align-items:center!important}
.sg-unified-filters label{min-width:0!important;margin:0!important}
.sg-unified-filters input:not([type=hidden]),.sg-unified-filters select{box-sizing:border-box!important;width:100%!important;min-height:var(--sg-ui-control-height)!important;height:var(--sg-ui-control-height)!important;border:1px solid #dcd9d0!important;border-radius:2px!important;background:#fff!important;color:#252a29!important;font:inherit!important;font-size:13px!important;padding:11px 14px!important;outline-offset:2px}
.sg-unified-filters :is(input,select):focus-visible{border-color:var(--sg-ui-accent)!important;outline:2px solid #cf756366!important}
.sg-unified-filters :is(button[type=submit],.sg-catalog-apply){box-sizing:border-box;min-height:var(--sg-ui-control-height)!important;background:var(--sg-ui-accent)!important;color:#16191a!important;border:0!important;border-radius:2px!important;padding:11px 19px!important;font-size:12px!important;font-weight:750!important;cursor:pointer;white-space:nowrap}
.sg-unified-filters :is(button[type=submit],.sg-catalog-apply):hover{background:#dd8d79!important}
.sg-unified-filters :is(.sg-call-clear,.sg-catalog-clear){font-size:12px;font-weight:650;color:#303631;text-decoration:underline;text-underline-offset:4px}
.sg-unified-filters .sg-catalog-search input{padding-right:36px!important}
@media(min-width:1101px){.sg-footer .sg-footer-top{grid-template-columns:minmax(200px,1.2fr) minmax(0,3.8fr)}.sg-footer .sg-footer-links{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.sg-footer .sg-footer-top{grid-template-columns:1fr;gap:34px}.sg-footer .sg-footer-links{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){.sg-footer .sg-footer-links{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:32px}.sg-page-hero.sg-unified-hero{padding-block:48px}.sg-page-hero.sg-unified-hero h1,.sg-how-hero.sg-unified-hero h1{font-size:clamp(44px,9vw,64px)}.sg-unified-filters{grid-template-columns:1fr!important}.sg-unified-filters :is(.sg-catalog-search,.sg-call-search,button[type=submit]){grid-column:auto!important}.sg-unified-filters button[type=submit]{width:100%;justify-content:center}.sg-how-hero.sg-unified-hero .sg-how-hero-copy{padding-block:48px}}
@media(max-width:400px){.sg-footer .sg-footer-links{grid-template-columns:1fr}.sg-footer .sg-footer-top{gap:27px}}

/* v0.2.13 — single structural hero for primary menu pages, excluding How It Works. */
.sg-page-hero.sg-primary-hero{background:#141719;color:#f5f2ea;padding:0;border:0;min-height:0}
.sg-page-hero.sg-primary-hero .sg-primary-hero-inner{min-height:290px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding-top:62px;padding-bottom:66px;max-width:1376px}
.sg-page-hero.sg-primary-hero .sg-primary-hero-kicker{display:block;color:#c4c6bd;font-size:11px;letter-spacing:2px;line-height:1.6;font-weight:750;margin:0 0 16px}
.sg-page-hero.sg-primary-hero h1{font-family:var(--sans);font-weight:500;font-size:clamp(48px,5.5vw,76px);line-height:1.08;letter-spacing:-.055em;color:#f5f2ea;margin:0 0 18px;max-width:1050px}
.sg-page-hero.sg-primary-hero h1 em{font-family:var(--serif);font-weight:400;color:var(--accent);letter-spacing:inherit}
.sg-page-hero.sg-primary-hero p{font-size:clamp(14px,1.05vw,16px);line-height:1.75;color:#c4c7c0;max-width:700px;margin:0}
.sg-home-intro-actions{background:#f5f2ea;padding:25px 0}.sg-home-intro-actions>.sg-shell{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
@media(max-width:720px){.sg-page-hero.sg-primary-hero .sg-primary-hero-inner{min-height:245px;padding-top:46px;padding-bottom:50px}.sg-page-hero.sg-primary-hero h1{font-size:clamp(42px,9vw,62px)}}

/* v0.2.17: single bounded editorial hero for five inner navigation pages.
   All visual CSS belongs to Atelier; artwork is decorative, text is real HTML.
   The homepage .sg-hero and legacy generic .sg-page-hero are untouched. */
.sg-page-hero.sg-editorial-hero {
  background:#151a19; color:#f4f2ec; padding:0; min-height:0;
  position:relative; overflow:clip; border:0; isolation:isolate;
}
.sg-page-hero.sg-editorial-hero::before {
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.45;
  background:radial-gradient(ellipse at 80% 30%,#33413a 0%,transparent 53%);
}
.sg-page-hero.sg-editorial-hero .sg-editorial-hero-grid {
  position:relative;display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);
  gap:clamp(34px,5.1vw,82px);align-items:center;
  box-sizing:border-box;width:100%;min-height:365px;
  padding-top:45px;padding-bottom:38px;
}
.sg-page-hero.sg-editorial-hero .sg-editorial-hero-main {
  min-width:0;display:flex;flex-direction:column;align-items:flex-start;
  justify-content:center;padding:0;
}
.sg-page-hero.sg-editorial-hero .sg-editorial-hero-topline{
  display:flex;align-items:center;gap:13px;margin:0 0 24px;
}
.sg-page-hero.sg-editorial-hero .sg-editorial-mark{
  display:block;flex:none;width:7px;height:7px;transform:rotate(45deg);
  background:#db806d;
}
.sg-page-hero.sg-editorial-hero .sg-editorial-kicker{
  font-size:10px;line-height:1.5;font-weight:750;letter-spacing:.16em;
  text-transform:uppercase;color:#c5c9c3;
}
.sg-page-hero.sg-editorial-hero h1{
  font-family:var(--sans,Arial,sans-serif);font-size:clamp(46px,4.6vw,72px);
  line-height:1.06;letter-spacing:-.058em;font-weight:510;
  color:#f5f3ee;max-width:710px;margin:0 0 17px;
  overflow-wrap:normal;
}
.sg-page-hero.sg-editorial-hero h1 em{
  font-family:var(--serif,Georgia,serif);font-style:italic;
  color:#de927d;font-weight:400;letter-spacing:-.035em;
}
.sg-page-hero.sg-editorial-hero .sg-editorial-description{
  color:#c0c7c0;font-size:clamp(14px,1.1vw,16px);
  line-height:1.67;max-width:540px;margin:0;
}
/* The image is a framed media card, not a full-height column or background image. */
.sg-page-hero.sg-editorial-hero .sg-editorial-hero-art{
  width:100%;height:clamp(238px,23vw,310px);min-height:0;min-width:0;
  box-sizing:border-box;position:relative;display:block;overflow:hidden;
  align-self:center;border:1px solid rgba(224,225,214,.17);
  border-radius:3px;background:#202925;
  box-shadow:0 25px 46px rgba(0,0,0,.2);
}
.sg-page-hero.sg-editorial-hero .sg-editorial-art-image{
  position:absolute;inset:0;display:block;width:100%;height:100%;
  max-width:none;max-height:none;object-fit:cover;object-position:center;
  border:0;transform:none;
}
.sg-page-hero.sg-editorial-hero .sg-editorial-hero-art::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(10,20,18,.09),transparent 40%);
}
.sg-page-hero.sg-editorial-hero .sg-editorial-hero-foot{
  position:relative;display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:12px;border-top:1px solid rgba(227,230,218,.13);
  box-sizing:border-box;padding-top:14px;padding-bottom:15px;
  color:#aeb7ae;font-size:10px;line-height:1.5;font-weight:650;letter-spacing:.12em;
}
/* How-it-works uses the same hero even inside the scoped .sg-how guide. */
.sg-how .sg-page-hero.sg-editorial-hero{background:#151a19;}
@media(max-width:880px){
  .sg-page-hero.sg-editorial-hero .sg-editorial-hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:26px;
    min-height:320px;padding-top:35px;padding-bottom:32px;
  }
  .sg-page-hero.sg-editorial-hero h1{font-size:clamp(39px,5.4vw,55px);}
  .sg-page-hero.sg-editorial-hero .sg-editorial-hero-art{height:clamp(210px,27vw,260px);}
}
@media(max-width:650px){
  .sg-page-hero.sg-editorial-hero .sg-editorial-hero-grid{
    grid-template-columns:minmax(0,1fr);gap:26px;
    min-height:0;padding-top:46px;padding-bottom:28px;
  }
  .sg-page-hero.sg-editorial-hero .sg-editorial-hero-topline{margin-bottom:19px;}
  .sg-page-hero.sg-editorial-hero h1{font-size:clamp(43px,9.5vw,58px);margin-bottom:16px;}
  .sg-page-hero.sg-editorial-hero .sg-editorial-description{font-size:14px;line-height:1.65;}
  .sg-page-hero.sg-editorial-hero .sg-editorial-hero-art{height:auto;aspect-ratio:1.7;min-height:0;}
  .sg-page-hero.sg-editorial-hero .sg-editorial-hero-foot{font-size:9px;gap:12px;}
}
@media(max-width:385px){
  .sg-page-hero.sg-editorial-hero h1{font-size:41px;}
  .sg-page-hero.sg-editorial-hero .sg-editorial-hero-foot span:last-child{display:none;}
}
/* Continue the How It Works guide without altering its existing content. */
.sg-how-entry-actions{background:#eae6de;border-bottom:1px solid #d9d6ce;}
.sg-how-entry-actions-inner{display:flex;align-items:center;gap:26px;flex-wrap:wrap;padding-top:17px;padding-bottom:17px;}
.sg-how-entry-steps{font-size:13px;font-weight:650;color:#26302c;border-bottom:1px solid #8a9289;padding:8px 0;}
.sg-how-entry-steps span{margin-left:10px;}
@media(max-width:760px){.sg-how-entry-actions-inner{gap:18px;}}

/* v0.2.20: five independent 1672×941, high-quality hero images.
   The left side is truly black; the same black gradually dissolves into each
   un-cropped gallery visual at right. Live HTML retains the theme typography.
   Image is limited to hero height (not scaled to viewport width) to avoid blur. */
.sg-page-hero.sg-editorial-hero,
.sg-how .sg-page-hero.sg-editorial-hero {
    position:relative!important;
    isolation:isolate;
    overflow:hidden;
    min-height:clamp(410px,40vw,570px);
    padding:0!important;
    color:#f5f2ea;
    background-color:#000!important;
    background-image:
      linear-gradient(90deg,#000 0%,#000 20%,rgba(0,0,0,.98) 31%,rgba(0,0,0,.85) 42%,rgba(0,0,0,.38) 61%,rgba(0,0,0,0) 83%),
      var(--sg-hero-image)!important;
    background-position:center center,right center!important;
    background-repeat:no-repeat,no-repeat!important;
    background-size:100% 100%,auto 100%!important;
}
/* Pre-existing decorative background layers must not darken the final images. */
.sg-page-hero.sg-editorial-hero::before,
.sg-page-hero.sg-editorial-hero::after {
    content:none!important;
}
.sg-page-hero.sg-editorial-hero .sg-editorial-hero-grid {
    display:flex!important;
    align-items:center!important;
    min-height:clamp(350px,35vw,500px)!important;
    padding-top:64px!important;
    padding-bottom:36px!important;
    position:relative;
    z-index:1;
}
.sg-page-hero.sg-editorial-hero .sg-editorial-hero-main {
    width:min(100%,730px)!important;
    max-width:730px!important;
    padding:0!important;
}
.sg-page-hero.sg-editorial-hero .sg-editorial-hero-art {display:none!important;}
.sg-page-hero.sg-editorial-hero h1 {
    font-family:var(--sans)!important;
    font-size:clamp(48px,5.5vw,76px)!important;
    font-weight:500!important;
    line-height:1.08!important;
    letter-spacing:-.055em!important;
    color:#f5f2ea!important;
    margin:0 0 18px!important;
}
.sg-page-hero.sg-editorial-hero h1 em {
    font-family:var(--serif)!important;
    font-weight:400!important;
    font-style:italic!important;
    color:var(--accent)!important;
    letter-spacing:inherit!important;
}
.sg-page-hero.sg-editorial-hero .sg-editorial-description {
    font-size:clamp(14px,1.05vw,16px)!important;
    line-height:1.75!important;
    color:#e0e2dc!important;
    max-width:650px!important;
}
.sg-page-hero.sg-editorial-hero .sg-editorial-hero-foot {
    position:relative;
    z-index:1;
    padding-bottom:23px;
}
@media(max-width:720px) {
    .sg-page-hero.sg-editorial-hero,
    .sg-how .sg-page-hero.sg-editorial-hero {
        min-height:400px;
        background-image:
          linear-gradient(90deg,#000 0%,rgba(0,0,0,.98) 12%,rgba(0,0,0,.86) 42%,rgba(0,0,0,.64) 73%,rgba(0,0,0,.28) 100%),
          var(--sg-hero-image)!important;
        background-position:center center,right center!important;
        background-size:100% 100%,auto 100%!important;
    }
    .sg-page-hero.sg-editorial-hero .sg-editorial-hero-grid {
        display:flex!important;
        min-height:340px!important;
        padding-top:50px!important;
        padding-bottom:32px!important;
    }
    .sg-page-hero.sg-editorial-hero h1 {
        font-size:clamp(42px,9vw,62px)!important;
    }
}
