/* SANFA. A factory-to-reservoir story, built from the company's own work. */
:root{
  --type-body:1.125rem;
  --margin:clamp(16px,2.25vw,32px);
  --gutter:clamp(20px,2.8vw,44px);
  --section-space:clamp(72px,10vw,144px);
  --display:clamp(44px,7vw,104px);
  --field:var(--paper);
  --deep:var(--blue-deep);
  --site-header-height:88px;
  --site-bottom-inset:0px;
}
/* Header height belongs to the viewport; targets keep only their small content gap. */
html{scroll-padding-top:var(--site-header-height)}
body.m-site{background:var(--white)}
body.m-site .wrap{width:calc(100% - var(--margin)*2);max-width:1760px;margin-inline:auto}
body.m-site main:focus{outline:none}
body.m-site [id]{scroll-margin-top:24px}
body.m-site figure{margin:0}
body.m-site img{max-width:100%}
body.m-site .text-link{display:inline-flex;align-items:center;gap:.5em;border:0!important;padding:0;text-decoration:underline;text-underline-offset:.25em;text-decoration-thickness:1px;font-size:var(--type-body);line-height:1.5}
body.m-site .m-header{position:sticky;top:0;z-index:120;border:0;background:var(--white)}
/* Lock the viewport when the menu opens, keeping the body out of the sticky scroll chain. */
body.m-site.m-nav-open{overflow-x:clip!important;overflow-y:visible!important}
.m-header-inner{min-height:88px;gap:32px}
.m-logo img{width:177px;height:56px}
.m-navigation{gap:26px}
.m-navigation a,.m-header-phone{font-size:var(--type-note);font-weight:600}
.m-navigation a{padding:10px 0;border:0}
.m-navigation a[aria-current=page]{border:0;color:var(--blue);text-decoration:underline;text-underline-offset:.4em}
.m-header-actions{gap:24px}
.m-language{font-family:var(--sans);font-size:var(--type-note);gap:14px}
.m-language a{border:0;padding:10px 0}
.m-language a[aria-current=page]{border:0;color:var(--red);text-decoration:underline;text-underline-offset:.4em}
.m-menu-toggle{border:0;background:var(--field);color:var(--ink);width:44px;height:44px}
.m-menu-toggle span{background:var(--ink)}
.m-actionbar{display:none}

/* The first screen leads with the name and the real production line. */
.taste-home{overflow:clip}
.taste-home p{max-width:62ch}
.taste-hero{padding-block:36px 0}
.taste-hero-heading{display:grid;grid-template-columns:1.1fr 1fr;gap:var(--gutter);align-items:end;margin-bottom:36px}
body.m-site .taste-hero h1{font-size:var(--display);font-weight:650!important;line-height:.98;letter-spacing:-.055em;margin:0;max-width:11.5ch;text-wrap:initial}
.taste-hero-heading>div{padding-bottom:5px}
.taste-hero-lead{font-size:var(--type-body);line-height:1.55;color:var(--ink);max-width:42ch;margin:0 0 24px}
.taste-factory{background:var(--field)}
.taste-factory>img{display:block;width:100%;height:clamp(280px,32vw,460px);object-fit:cover;object-position:50% 56%}
.taste-factory figcaption{display:flex;justify-content:space-between;gap:16px;padding-top:14px;background:var(--white);font-size:var(--type-note);line-height:1.45;color:var(--ink)}
.taste-hero .m-hero-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gutter);padding:0;border:0;margin:40px 0 0}
.taste-hero .m-hero-facts>div{display:block;border:0;padding:0}
.taste-hero .m-hero-facts dt{font-size:var(--type-heading);line-height:1.1;letter-spacing:-.04em;color:var(--blue);font-weight:600}
.taste-hero .m-hero-facts dd{font-size:var(--type-note);line-height:1.5;color:var(--ink);margin:12px 0 0}

/* A single useful choice replaces five competing columns. */
.taste-tasks{margin-block:var(--section-space)!important}
.taste-section-head{display:grid;grid-template-columns:1.1fr 1fr;align-items:end;gap:var(--gutter);margin-bottom:44px}
.taste-section-head h2,.taste-clients h2{font-size:var(--type-heading);line-height:1.08;letter-spacing:-.04em;margin:0;max-width:21ch}
.taste-section-head>p{max-width:43ch;font-size:var(--type-body);line-height:1.55;margin:0;color:var(--ink)}
.taste-section-head>.text-link{justify-self:end}
.taste-task-picker{display:grid;grid-template-columns:minmax(180px,.6fr) minmax(0,2.4fr);gap:var(--gutter);align-items:start}
.taste-task-tabs{display:flex;flex-direction:column;gap:8px}
.taste-task-tabs a{display:flex;justify-content:space-between;align-items:center;min-height:58px;gap:16px;padding:14px 18px;color:var(--ink);font-size:var(--type-body);font-weight:600;text-decoration:none;background:var(--field)}
.taste-task-tabs a[aria-selected=true]{background:var(--blue);color:var(--white)}
.taste-task-tabs a:hover{background:var(--blue-tint);color:var(--blue)}
.taste-task-tabs a[aria-selected=true]:hover{background:var(--deep);color:var(--white)}
.taste-task-tabs a span{font-size:var(--type-lead);font-weight:400}
.taste-task-panel{display:grid;grid-template-columns:1.1fr 1fr;gap:var(--gutter);background:var(--field);padding:32px;margin-bottom:28px;align-items:stretch}
.taste-task-panel:last-child{margin-bottom:0}
.taste-task-panel h3{font-size:var(--type-heading);line-height:1.08;letter-spacing:-.04em;margin:0 0 24px}
.taste-task-panel p{font-size:var(--type-body);line-height:1.55;color:var(--ink);margin:0 0 24px;max-width:45ch}
.taste-task-panel ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.taste-task-panel li{margin:0;font-size:var(--type-body);line-height:1.45}
.taste-task-panel li a{display:flex;align-items:start;gap:20px;justify-content:space-between;font-weight:600;color:var(--blue);text-decoration:none}
.taste-task-panel li a:hover{text-decoration:underline;text-underline-offset:.2em}
.taste-task-panel figure{min-width:0;min-height:300px}
.taste-task-panel figure img{width:100%;height:100%;object-fit:cover;object-position:var(--task-photo-position,center);display:block}
.taste-task-copy{display:flex;flex-direction:column;min-width:0}
.taste-task-actions{display:flex;flex-direction:column;align-items:flex-start;gap:20px;margin-top:32px}
.taste-task-actions .button{font-size:var(--type-note)!important;padding-inline:18px!important;text-align:left}
.taste-task-actions .text-link{font-size:var(--type-note)}

/* One built reservoir, shown at the scale of the work. */
.taste-case{background:var(--field);padding-block:80px}
.taste-case-video video{aspect-ratio:16/9;object-fit:contain;background:var(--ink);width:100%;display:block}
.taste-case-video figcaption{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:16px;font-size:var(--type-note);line-height:1.5;color:var(--ink)}
.taste-video-action{background:var(--blue);color:var(--white);border:0;border-radius:0;padding:12px 20px;font:600 var(--type-note)/1.4 var(--sans);flex-shrink:0}
.taste-video-action:hover{background:var(--deep)}
.taste-case-bottom{display:grid;grid-template-columns:1.1fr 1fr;gap:var(--gutter);margin-top:44px}
.taste-case-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0}
.taste-case-facts dt{font-size:var(--type-lead);line-height:1.15;font-weight:600;letter-spacing:-.03em;color:var(--blue)}
.taste-case-facts dd{font-size:var(--type-note);line-height:1.5;margin:12px 0 0}
.taste-case-bottom>div>p{font-size:var(--type-body);margin:0 0 24px;color:var(--ink);line-height:1.55}
.taste-case-bottom>div>.text-link{margin:0 24px 12px 0;font-size:var(--type-note)}

/* Photographs carry the installation and testing, rather than numbered cards. */
.taste-process{padding-block:var(--section-space)}
.taste-process-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:44px var(--gutter);align-items:start}
.taste-process-layout>figure:first-child{grid-row:1/3}
.taste-process-layout>figure:first-child img{height:620px;width:100%;object-fit:cover;display:block}
.taste-process-layout figcaption{font-size:var(--type-note);line-height:1.5;margin-top:14px}
.taste-process-copy>div{margin-bottom:28px}
.taste-process-copy h3{font-size:var(--type-lead);line-height:1.15;font-weight:600;letter-spacing:-.03em;margin:0 0 12px}
.taste-process-copy p{font-size:var(--type-body);line-height:1.55;max-width:50ch;margin:0;color:var(--ink)}
.taste-process-copy>.text-link{font-size:var(--type-note)}
.taste-test img{display:block;width:100%;height:260px;object-fit:cover;object-position:center}

/* The catalogue preview is an index, with small images at their honest resolution. */
.taste-materials{padding-block:80px;background:var(--field)}
.taste-material-list{display:flex;flex-direction:column;gap:12px}
.taste-material-row{display:grid;grid-template-columns:160px minmax(0,1fr) minmax(0,1.2fr) auto;align-items:center;gap:32px;padding:20px 24px;background:var(--white);color:var(--ink);text-decoration:none}
.taste-material-row>img{display:block;width:160px;height:96px;object-fit:cover}
.taste-material-row h3{font-size:var(--type-lead);line-height:1.15;font-weight:600;margin:0;letter-spacing:-.03em}
.taste-material-row>p{font-size:var(--type-body);line-height:1.55;max-width:44ch;margin:0}
.taste-row-link{font-size:var(--type-note);font-weight:600;white-space:nowrap;color:var(--blue)}
.taste-material-row:hover{background:var(--blue-tint)}
.taste-material-row:focus-visible{outline-offset:-4px}
.taste-material-row:hover .taste-row-link{text-decoration:underline;text-underline-offset:.25em}

.taste-clients{padding-top:var(--section-space)}
.taste-logos{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));align-items:center;gap:24px;padding-top:44px}
.taste-logos img{display:block;max-width:96px;width:100%;height:60px;object-fit:contain;margin:auto}
.taste-news{padding-block:var(--section-space)}
.taste-news-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:36px var(--gutter)}
.taste-news-item:first-child{grid-row:1/3}
.taste-news-item a{display:block;color:var(--ink);text-decoration:none}
.taste-news-item img{display:block;width:100%;height:300px;object-fit:cover;margin-bottom:28px}
.taste-news-item h3{font-size:var(--type-lead);line-height:1.15;letter-spacing:-.03em;font-weight:600;margin:0 0 12px}
.taste-news-item time{font-size:var(--type-note);line-height:1.5;color:var(--ink)}
.taste-news-item p{font-size:var(--type-body);line-height:1.55;color:var(--ink);margin:18px 0}
.taste-news-item .text-link{font-size:var(--type-note)}
.taste-news-item a:hover h3{color:var(--blue)}
.taste-contact{background:var(--blue);color:var(--white);padding-block:72px}
.taste-contact-inner{display:grid;grid-template-columns:1.1fr 1fr;gap:var(--gutter);align-items:center}
.taste-contact h2{font-size:var(--type-heading);line-height:1.08;letter-spacing:-.04em;max-width:20ch;margin:0;color:var(--white)}
.taste-contact p{font-size:var(--type-body);line-height:1.55;max-width:45ch;margin:0 0 28px;color:var(--white)}
body.m-site .taste-contact .button{background:var(--white)!important;color:var(--blue)!important}
body.m-site .taste-contact .button:hover{background:var(--blue-tint)!important}
.taste-contact :focus-visible{outline-color:var(--white)!important}

/* Compact contact footer with a home link on the company logo. */
body.m-site .m-footer{background:var(--white);border:0;padding-top:64px;padding-bottom:24px;margin-top:0}
.m-footer .footer-grid{display:grid;grid-template-columns:1.05fr 1.1fr 1fr 1fr;gap:var(--gutter);font-size:var(--type-note);color:var(--ink);line-height:1.6}
.m-footer .footer-grid h3{font-size:var(--type-body);font-weight:600;letter-spacing:0;line-height:1.35;margin:0 0 20px;color:var(--ink)}
.m-footer .footer-grid a{display:block;border:0;font-size:var(--type-note);line-height:1.5;margin:0 0 12px;color:var(--ink);text-decoration:none}
.m-footer .footer-grid a:hover{color:var(--blue);text-decoration:underline;text-underline-offset:.2em}
.m-footer .footer-grid .footer-logo{display:inline-flex;align-items:center;flex-shrink:0;margin:0 0 16px}
.m-footer .footer-brand img{width:176px;height:62px;object-fit:contain;margin:0}
.m-footer .footer-brand p{font-size:var(--type-note);line-height:1.6;color:var(--ink);margin:0}
.m-footer .footer-grid .footer-phone{font-size:var(--type-body);font-weight:600}
.m-footer .footer-grid address,.m-footer address{font-style:normal}
.m-footer address>a{margin-top:16px}
.m-prices summary{cursor:pointer;font-size:var(--type-note);padding:0;margin:0 0 12px}
.m-prices a{padding-left:12px}
.m-footer .footer-bottom{border:0;padding-top:24px;margin-top:0;font-size:var(--type-note);color:var(--ink);gap:20px;display:flex;align-items:center;justify-content:space-between}
.m-footer .footer-bottom a{font-size:var(--type-note);border:0;color:var(--ink)}
.m-publication-meta{font-size:var(--type-note);line-height:1.5;color:var(--ink);margin:16px 0 24px;letter-spacing:0;text-transform:none}

@media(max-width:1180px){
  .m-header-inner{gap:20px}.m-navigation{gap:20px}.m-header-phone{display:none}
  .taste-task-picker{grid-template-columns:180px minmax(0,1fr)}
  .taste-task-panel{padding:24px;gap:24px;grid-template-columns:1.2fr 1fr}
  .taste-material-row{grid-template-columns:120px minmax(0,1fr) minmax(0,1.1fr);gap:24px}
  .taste-material-row>img{width:120px;height:84px}.taste-row-link{grid-column:2/4}
}
@media(max-width:960px){
  :root{--site-header-height:80px}
  .m-header-inner{min-height:80px}.m-logo img{width:164px;height:52px}
  .m-navigation{top:100%;border:0;padding:20px var(--margin);background:var(--white);max-height:calc(100dvh - var(--site-header-height) - var(--site-bottom-inset))}
  .m-navigation[data-open=true]{background:var(--field)}
  .m-navigation a{padding:13px 0;border:0;font-size:var(--type-body)}
  .m-header-actions{gap:20px}.m-language{font-size:var(--type-note)}
  .taste-hero-heading{grid-template-columns:1.3fr 1fr}
  .taste-section-head{gap:28px}.taste-section-head>p{max-width:34ch}
  .taste-task-picker{grid-template-columns:1fr;gap:24px}
  .taste-task-tabs{flex-direction:row;flex-wrap:wrap;gap:8px}
  .taste-task-tabs a{flex:1 1 auto;justify-content:center;min-height:50px;padding:12px 16px}
  .taste-task-tabs a span{display:none}
  .taste-task-panel{grid-template-columns:1.1fr 1fr;padding:28px}
  .taste-case-bottom{grid-template-columns:1fr;gap:32px}
  .taste-process-layout>figure:first-child img{height:600px}
  .taste-logos{grid-template-columns:repeat(5,minmax(0,1fr));gap:28px}
  .taste-news-layout{gap:32px}.m-footer .footer-grid{grid-template-columns:1fr 1fr;gap:40px 32px}
}
@media(max-width:700px){
  :root{--type-body:1rem;--type-heading:2rem;--type-lead:1.5rem;--display:clamp(40px,11.4vw,64px);--section-space:72px;--site-header-height:76px;--site-bottom-inset:calc(56px + env(safe-area-inset-bottom))}
  body.m-site [id]{scroll-margin-top:20px}
  .m-header-inner{min-height:76px;gap:12px}.m-logo img{width:150px;height:48px}
  .m-header-actions{gap:16px}.m-language{gap:14px}.m-menu-toggle{width:42px;height:42px}
  .taste-hero{padding-top:24px}
  .taste-hero-heading{display:block;margin-bottom:28px}
  body.m-site .taste-hero h1{max-width:12.5ch;line-height:1;letter-spacing:-.05em}
  .taste-hero-heading>div{padding:0;margin-top:24px}
  .taste-hero-lead{font-size:18px;line-height:1.55;margin-bottom:22px;max-width:42ch}
  .taste-hero .button{min-height:48px;width:100%}
  .taste-factory>img{height:clamp(200px,56vw,340px);object-position:50% 55%}
  .taste-factory figcaption{font-size:var(--type-note);padding-top:12px;gap:18px;align-items:start}
  .taste-factory figcaption>span{max-width:50%}
  .taste-factory figcaption>span:last-child{text-align:right}
  .taste-hero .m-hero-facts{grid-template-columns:1fr 1fr;gap:28px 20px;margin-top:32px}
  .taste-hero .m-hero-facts dt{font-size:var(--type-lead);line-height:1.15}
  .taste-hero .m-hero-facts dd{margin-top:8px;font-size:var(--type-note)}
  .taste-section-head{display:block;margin-bottom:28px}
  .taste-section-head h2,.taste-clients h2{font-size:var(--type-heading);max-width:22ch;line-height:1.08}
  .taste-section-head>p{max-width:42ch;margin-top:24px}
  .taste-section-head>.text-link{margin-top:20px}
  .taste-task-tabs a{flex:1 1 calc(33% - 8px);min-height:48px;font-size:var(--type-body);padding:12px}
  .taste-task-panel{grid-template-columns:1fr;gap:28px;padding:24px}
  .taste-task-panel h3{font-size:var(--type-lead);max-width:22ch;margin-bottom:20px}
  .taste-task-panel p{font-size:var(--type-body);margin-bottom:22px}
  .taste-task-panel ul{gap:16px}.taste-task-panel li{font-size:var(--type-body)}
  .taste-task-panel figure{min-height:0;order:2}
  .taste-task-panel figure img{height:200px;aspect-ratio:4/3}
  .taste-task-actions{gap:18px;margin-top:28px}
  .taste-task-actions .button{width:100%;font-size:var(--type-note)!important}
  .taste-case{padding-block:48px}
  .taste-case-video video{aspect-ratio:16/9}
  .taste-case-video figcaption{display:block;font-size:var(--type-note)}
  .taste-video-action{display:block;margin-top:16px;min-height:48px}
  .taste-case-bottom{margin-top:32px}
  .taste-case-facts{grid-template-columns:1fr;gap:24px}
  .taste-case-facts>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
  .taste-case-facts dt{font-size:var(--type-lead)}.taste-case-facts dd{margin:0;text-align:right;font-size:var(--type-note)}
  .taste-process-layout{grid-template-columns:1fr;gap:32px}
  .taste-process-layout>figure:first-child{grid-row:auto}
  .taste-process-layout>figure:first-child img{height:280px}
  .taste-process-copy h3{font-size:var(--type-lead)}
  .taste-process-copy>div{margin-bottom:28px}
  .taste-test img{height:230px}
  .taste-materials{padding-block:48px}
  .taste-material-row{grid-template-columns:92px minmax(0,1fr);gap:16px;padding:20px}
  .taste-material-row>img{width:92px;height:84px;object-fit:cover}
  .taste-material-row h3{font-size:var(--type-lead);line-height:1.15;overflow-wrap:normal}
  .taste-material-row>p{grid-column:1/-1;font-size:var(--type-body)}
  .taste-row-link{grid-column:1/-1;font-size:var(--type-note)}
  .taste-logos{gap:20px 16px;padding-top:28px}.taste-logos img{height:44px}
  .taste-news-layout{grid-template-columns:1fr;gap:36px}
  .taste-news-item:first-child{grid-row:auto}
  .taste-news-item img{height:220px;margin-bottom:24px}
  .taste-news-item h3{font-size:var(--type-lead)}
  .taste-contact{padding-block:48px}
  .taste-contact-inner{grid-template-columns:1fr;gap:28px}
  .taste-contact h2{font-size:var(--type-heading);max-width:21ch}
  .taste-contact .button{width:100%}
  body.m-site .m-footer{padding-block:48px 88px}
  .m-footer .footer-grid{grid-template-columns:1fr 1fr;gap:32px 22px}
  .m-footer .footer-brand{grid-column:1/-1;display:flex;gap:20px;align-items:center}
  .m-footer .footer-grid .footer-logo{margin:0}
  .m-footer .footer-brand img{width:132px;height:48px;margin:0}
  .m-footer .footer-brand p{font-size:var(--type-note)}
  .m-footer .footer-grid h3{font-size:var(--type-body);margin-bottom:18px}
  .m-footer .footer-grid a{font-size:var(--type-note);margin-bottom:14px}
  .m-footer .footer-grid .footer-phone{font-size:var(--type-note)}
  .m-footer address{grid-column:1/-1}
  .m-footer .footer-bottom{padding-top:24px;flex-wrap:wrap;justify-content:flex-start;gap:12px 20px;font-size:var(--type-note)}
  .m-actionbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:115;background:var(--white);padding-bottom:env(safe-area-inset-bottom)}
  .m-actionbar a{display:flex;align-items:center;justify-content:center;min-height:56px;background:var(--field);color:var(--blue);font-size:var(--type-note);font-weight:600;text-decoration:none;padding:8px 16px;line-height:1.3;text-align:center}
  .m-actionbar a:first-child{background:var(--red);color:var(--white)}
  .m-actionbar a:last-child{background:var(--blue-tint)}
}
@media(max-width:370px){.m-header-actions{gap:10px}.m-logo img{width:136px}.taste-task-panel{padding:20px}.taste-material-row{padding:16px;grid-template-columns:76px minmax(0,1fr)}.taste-material-row>img{width:76px}}
@media print{
  html.m-nav-open,body.m-site.m-nav-open{overflow:visible!important}
  .m-header,.m-footer,.m-actionbar{display:none!important}
  .taste-home{overflow:visible}
}
