@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Mulish:wght@400;600;700&display=swap');

html{
  scroll-behavior:smooth;
}
@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior:auto;
  }
}

:root{
  --bg:#f2efe6;
  --surface:#fffdf8;
  --ink:#1f4051;
  --ink-soft:#3d6274;
  --accent:#2f779a;
  --accent-deep:#1c4457;
  --line:#cdc6b3;
  --muted:#8b8570;
  --price-pending:#a99f7f;
  --ribbon-notch:16px;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#132833;
    --surface:#1a3542;
    --ink:#eef2ee;
    --ink-soft:#c3d4d9;
    --accent:#6fa9c2;
    --accent-deep:#3a6d84;
    --line:#3a5a68;
    --muted:#8fa8ae;
    --price-pending:#7d97a0;
  }
}
:root[data-theme="dark"]{
  --bg:#132833;
  --surface:#1a3542;
  --ink:#eef2ee;
  --ink-soft:#c3d4d9;
  --accent:#6fa9c2;
  --accent-deep:#3a6d84;
  --line:#3a5a68;
  --muted:#8fa8ae;
  --price-pending:#7d97a0;
}

*{box-sizing:border-box;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Mulish',ui-sans-serif,system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.disp{
  font-family:'Jost',ui-sans-serif,system-ui,sans-serif;
}

/* ---- header ---- */
.top{
  display:flex;
  border-top:1px solid var(--line);
  padding:0 1.25rem .3rem;
}
.logo-wrap{
  position:relative;
  flex:none;
  width:104px;
  min-height:180px;
}
.ribbon{
  position:absolute;
  top:0;
  left:50%;
  width:59px;
  height:180px;
  background:var(--accent);
  transform:translateX(-50%);
  clip-path:polygon(0 0, 100% 0, 100% 81%, 50% 65%, 0 81%);
  z-index:0;
}
.badge{
  position:relative;
  z-index:1;
  flex:none;
  width:104px;height:104px;
  margin-top:.9rem;
  display:flex;align-items:center;justify-content:center;
}
.badge img{
  width:100%;height:100%;
  object-fit:contain;
}

/* ---- sticky quick nav ---- */
nav.quick{
  position:sticky; top:0; z-index:5;
  display:flex;
  flex-direction:column;
  gap:.5rem;
  background:var(--bg);
  padding:.6rem 1.25rem;
}
nav.quick.is-scrolled{
  box-shadow:0 4px 10px rgba(0,0,0,.08);
}
.quick-row{
  display:flex;
  align-items:center;
  gap:.75rem;
}
.quick-logo{
  flex:none;
  width:45px;height:45px;
  display:none;
}
.quick-logo img{
  width:100%;height:100%;
  object-fit:contain;
}
nav.quick.is-scrolled .quick-logo{
  display:block;
}
.terrace-note{
  margin:0;
  font-size:1rem;
  line-height:1.35;
  color:var(--muted);
  text-align:left;
}
nav.quick.is-scrolled .terrace-note{
  display:none;
}
.quick-select{
  appearance:none;
  -webkit-appearance:none;
  flex:1;
  min-width:0;
  font-family:'Jost';
  font-size:1.2rem;
  letter-spacing:.03em;
  color:var(--accent);
  background-color:var(--surface);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f779a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right .9rem center;
  background-size:18px;
  border:1px solid var(--accent);
  border-radius:10px;
  padding:.65rem 2.4rem .65rem .9rem;
}
.quick-select:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}

/* ---- sections ---- */
.wrap{
  max-width:480px;
  margin:0 auto;
  padding-top:.5rem;
  padding-bottom:3rem;
}
section{
  padding:1.6rem 1.25rem 0;
  scroll-margin-top:var(--nav-h, 10rem);
}
.banner{
  display:inline-flex;
  align-items:center;
  background:var(--accent);
  color:#fbf9f2;
  margin-left:-1.25rem;
  padding:.5rem 1.6rem .5rem 1.25rem;
  font-family:'Jost';
  font-weight:500;
  font-size:1.15rem;
  letter-spacing:.14em;
  text-transform:none;
  clip-path:polygon(0 0, calc(100% - var(--ribbon-notch)) 0, 100% 50%, calc(100% - var(--ribbon-notch)) 100%, 0 100%);
}

.sub{
  margin:1.1rem 0 .4rem;
  font-family:'Jost';
  font-size:1.1rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
}
.note-inline{
  font-size:.72rem;
  color:var(--muted);
  margin:.15rem 0 .6rem;
  font-style:italic;
}

ul.items{
  list-style:none;
  margin:.6rem 0 0;
  padding:0;
}
ul.items li{
  display:flex;
  align-items:baseline;
  gap:.4rem;
  padding:.42rem 0;
  border-bottom:1px dotted var(--line);
}
ul.items li:last-child{border-bottom:none;}
.iname{
  flex:1 1 auto;
  font-size:1.2rem;
  color:var(--ink);
  line-height:1.3;
}
.iname small{
  display:block;
  font-size:1rem;
  color:var(--muted);
  font-style:italic;
  margin-top:.1rem;
}
.price{
  flex:none;
  font-variant-numeric:tabular-nums;
  font-weight:700;
  font-size:1.2rem;
  color:var(--price-pending);
}

.callout{
  margin:1.8rem 1.25rem 0;
  background:var(--accent-deep);
  color:#f4f0e2;
  border-radius:4px;
  padding:1.3rem 1.4rem;
  position:relative;
}
.callout-logo{
  display:block;
  width:190px;
  height:auto;
  margin:.6rem 0 .8rem;
  border-radius:4px;
}
.callout h3{
  margin:0;
  font-size:1.15rem;
  font-weight:500;
  letter-spacing:.03em;
}
.callout p{
  margin:0;
  font-size:.82rem;
  color:#d9e3d8;
  letter-spacing:.03em;
}

.allergens-note{
  margin:2rem 1.25rem 0;
  padding-top:1.1rem;
  border-top:1px solid var(--line);
  font-size:.95rem;
  line-height:1.5;
  color:var(--ink-soft);
  text-align:center;
}

footer{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.5rem;
  padding:2rem 1.25rem 0;
}
footer .badge{width:140px;height:140px;}

.dev-strip{
  margin-top:2rem;
  padding:.9rem 1.25rem;
  background:var(--accent);
  color:#fbf9f2;
  text-align:center;
  font-family:'Jost';
  font-size:.95rem;
  letter-spacing:.03em;
}
.dev-strip a{
  color:inherit;
  font-weight:600;
  text-decoration:none;
}

.back-to-top{
  position:fixed;
  right:1.1rem;
  bottom:4.5rem;
  z-index:6;
  width:46px;
  height:46px;
  border:none;
  border-radius:50%;
  background:var(--accent);
  color:#fbf9f2;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 12px rgba(0,0,0,.18);
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s;
}
.back-to-top svg{width:22px;height:22px;}
.back-to-top.is-visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

hr.rule{
  border:none;
  margin:1.9rem 1.25rem 0;
}
