/* ============================================================
   THECOOKEDMEAL.STORE — "cold store" design system
   Palette: frost (#7FC4DE) / deep slate-teal (#12323F) / ice (#F2F7FA)
            glacier (#DCEAF1) / amber (#E8A33D) for reheat callouts
            mist (#66808C)
   Type: Schibsted Grotesk (display) / Rubik (body)
   Signature: the freezer label — a dashed label block on every
   batch giving contents, portion count, freeze-by date maths and
   reheat instructions, written to be copied onto the container.
   Distinct from every prior build: the only pale icy palette.
   ============================================================ */
:root{
  --frost:#7FC4DE;
  --frost-deep:#4A9CBC;
  --slate:#12323F;
  --slate-2:#1D4759;
  --ice:#F2F7FA;
  --ice-2:#E6EFF4;
  --glacier:#DCEAF1;
  --amber:#E8A33D;
  --amber-soft:#FBEBD2;
  --mist:#66808C;
  --paper:#FFFFFF;
  --line:#D5E3EB;
  --radius:12px;
  --shadow:0 2px 4px rgba(18,50,63,.05), 0 14px 32px rgba(18,50,63,.10);
}
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--ice); color:var(--slate);
  font-family:'Rubik',system-ui,sans-serif; line-height:1.72; font-size:16.5px;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{ font-family:'Schibsted Grotesk','Rubik',sans-serif; font-weight:700; line-height:1.12; margin:0 0 .42em; color:var(--slate); letter-spacing:-.02em; }
h1{ font-size:clamp(2.3rem,5.6vw,3.7rem); }
h2{ font-size:clamp(1.65rem,3.4vw,2.3rem); }
h3{ font-size:1.22rem; }
h1 em, h2 em{ font-style:normal; color:var(--frost-deep); }
p{ margin:0 0 1.1em; }
a{ color:var(--frost-deep); }
img,svg{ display:block; max-width:100%; }
.container{ max-width:1060px; margin:0 auto; padding:0 24px; }
.narrow{ max-width:800px; }
.tag{
  display:inline-flex; align-items:center; gap:8px; background:var(--glacier); color:var(--slate-2);
  font-weight:500; font-size:.68rem; letter-spacing:.18em; text-transform:uppercase;
  padding:7px 15px; border-radius:999px; margin-bottom:17px;
}
.tag::before{ content:""; width:8px; height:8px; border-radius:2px; background:var(--frost); transform:rotate(45deg); }
.tag.amber{ background:var(--amber-soft); color:#8A6014; }
.tag.amber::before{ background:var(--amber); }
.tag.light{ background:rgba(242,247,250,.16); color:var(--glacier); }
.tag.light::before{ background:var(--frost); }
.btn{
  display:inline-block; text-decoration:none; cursor:pointer;
  font-family:'Rubik',sans-serif; font-weight:500; font-size:.93rem;
  padding:14px 30px; border-radius:999px; transition:background .18s, transform .12s, color .18s;
}
.btn:hover{ transform:translateY(-2px); }
.btn-slate{ background:var(--slate); color:var(--ice); box-shadow:0 8px 20px rgba(18,50,63,.22); }
.btn-slate:hover{ background:var(--slate-2); }
.btn-frost{ background:var(--frost); color:var(--slate); }
.btn-frost:hover{ background:var(--frost-deep); color:#fff; }
.btn-line{ background:transparent; color:var(--slate); border:1.5px solid var(--slate); }
.btn-line:hover{ background:var(--slate); color:var(--ice); }
.skip-link{ position:absolute; left:-999px; background:var(--slate); color:var(--ice); padding:10px 16px; z-index:300; }
.skip-link:focus{ left:0; top:0; }

/* Signature: freezer label */
.label-card{
  background:var(--paper); border:2px dashed var(--frost-deep); border-radius:var(--radius);
  padding:22px 24px;
}
.label-card .lc-head{
  display:flex; align-items:center; gap:10px; margin-bottom:16px;
  font-size:.66rem; font-weight:500; letter-spacing:.2em; text-transform:uppercase; color:var(--frost-deep);
}
.label-card .lc-head::before{
  content:""; width:14px; height:14px; border-radius:3px;
  background:linear-gradient(135deg, var(--frost) 50%, transparent 50%); border:1px solid var(--frost-deep);
}
.label-card .row{
  display:flex; justify-content:space-between; gap:16px; padding:9px 0;
  border-bottom:1px dashed var(--line); font-size:.9rem;
}
.label-card .row:last-child{ border-bottom:0; }
.label-card .row b{ font-weight:500; color:var(--mist); font-size:.74rem; letter-spacing:.12em; text-transform:uppercase; flex-shrink:0; }
.label-card .row span{ text-align:right; }
.label-card .row.reheat span{ color:#8A6014; }
/* compact version on cards */
.card .label-card{ padding:16px 18px; margin-top:16px; }
.card .label-card .row{ padding:6px 0; font-size:.83rem; }

/* ---------------- Header ---------------- */
header.site{ background:rgba(242,247,250,.94); backdrop-filter:blur(8px); position:sticky; top:0; z-index:100; border-bottom:1px solid var(--line); }
.nav-row{ display:flex; align-items:center; justify-content:space-between; padding:15px 0; gap:16px; }
.logo{
  font-family:'Schibsted Grotesk',sans-serif; font-weight:700; font-size:1.28rem; color:var(--slate);
  text-decoration:none; display:flex; align-items:center; gap:10px; letter-spacing:-.03em;
}
.logo .flake{ flex-shrink:0; }
.logo span{ color:var(--frost-deep); }
nav.main ul{ list-style:none; display:flex; gap:3px; margin:0; padding:0; }
nav.main a{
  text-decoration:none; color:var(--slate); font-weight:400; font-size:.91rem;
  padding:9px 15px; border-radius:999px; transition:background .15s, color .15s;
}
nav.main a:hover, nav.main a[aria-current="page"]{ background:var(--slate); color:var(--ice); }
.nav-toggle{ display:none; background:none; border:0; color:var(--slate); font-size:1.7rem; cursor:pointer; }
@media (max-width:900px){
  .nav-toggle{ display:block; }
  nav.main{ position:absolute; top:100%; left:0; right:0; background:var(--ice); border-bottom:1px solid var(--line); max-height:0; overflow:hidden; transition:max-height .25s; }
  nav.main.open{ max-height:460px; }
  nav.main ul{ flex-direction:column; padding:10px 24px 18px; }
  nav.main a{ display:block; padding:12px 8px; }
}

/* ---------------- Hero ---------------- */
.hero{
  padding:82px 0 66px; position:relative; overflow:hidden;
  background:
    radial-gradient(620px 360px at 82% 10%, rgba(127,196,222,.32), transparent 70%),
    linear-gradient(180deg, var(--paper), var(--ice));
  border-bottom:1px solid var(--line);
}
.hero::before{
  content:""; position:absolute; inset:0; z-index:0; opacity:.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:46px 46px;
  mask-image:radial-gradient(560px 320px at 30% 55%, #000, transparent 76%);
  -webkit-mask-image:radial-gradient(560px 320px at 30% 55%, #000, transparent 76%);
}
.hero > .container{ position:relative; z-index:1; }
.hero p.lede{ font-size:1.1rem; color:var(--mist); max-width:50ch; margin:18px 0 32px; }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-facts{ display:flex; gap:42px; margin-top:48px; flex-wrap:wrap; }
.hero-facts div{ font-size:.79rem; color:var(--mist); }
.hero-facts b{ display:block; font-family:'Schibsted Grotesk',sans-serif; font-weight:700; font-size:1.7rem; line-height:1.1; color:var(--slate); }

/* ---------------- Cards ---------------- */
.section{ padding:66px 0; }
.section.pale{ background:var(--ice-2); border-bottom:1px solid var(--line); }
.section.deep{ background:var(--slate); color:#B7CCD6; }
.section.deep h2, .section.deep h3{ color:var(--ice); }
.section.deep p{ color:#9BB4C0; }
.section-head{ margin-bottom:42px; max-width:60ch; }
.section-head p{ color:var(--mist); }
.card-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:920px){ .card-grid{ grid-template-columns:1fr; } }
.card{
  background:var(--paper); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden;
  display:flex; flex-direction:column; text-decoration:none; color:var(--slate);
  transition:transform .17s, box-shadow .17s;
}
.card:hover{ transform:translateY(-6px); box-shadow:0 6px 12px rgba(18,50,63,.08), 0 26px 48px rgba(18,50,63,.16); }
.card-art{
  height:128px; display:flex; align-items:center; justify-content:center; color:var(--frost-deep);
  background:var(--glacier); border-bottom:1px solid var(--line);
}
.card:nth-child(2) .card-art{ background:var(--ice-2); }
.card:nth-child(3) .card-art{ background:var(--amber-soft); color:#8A6014; }
.card-body{ padding:22px 21px 20px; display:flex; flex-direction:column; flex:1; }
.card .kind{ font-size:.64rem; font-weight:500; letter-spacing:.2em; text-transform:uppercase; color:var(--mist); margin-bottom:10px; }
.card h3{ margin-bottom:9px; }
.card p.desc{ color:var(--mist); font-size:.91rem; flex:1; }
.card .meta{
  display:flex; justify-content:space-between; margin-top:16px; padding-top:13px;
  border-top:1px solid var(--line); font-weight:500; font-size:.79rem; color:var(--mist);
}
.card .meta .portions{ color:var(--frost-deep); }

/* ---------------- Feature band ---------------- */
.features{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
@media (max-width:820px){ .features{ grid-template-columns:1fr; } }
.feature .f-ic{
  width:56px; height:56px; margin-bottom:15px; border-radius:14px;
  background:rgba(127,196,222,.2); display:flex; align-items:center; justify-content:center; color:var(--frost);
}
.feature:nth-child(2) .f-ic{ background:rgba(232,163,61,.18); color:var(--amber); }
.feature:nth-child(3) .f-ic{ background:rgba(242,247,250,.12); color:var(--glacier); }
.feature h3{ font-size:1.08rem; }
.feature p{ font-size:.92rem; margin:0; }

/* ---------------- Ad slots ---------------- */
.ad-slot{
  background:var(--paper); border:1px dashed var(--line); border-radius:var(--radius);
  padding:17px; text-align:center; color:var(--mist); font-size:.68rem;
  letter-spacing:.18em; text-transform:uppercase; margin:46px auto; max-width:780px;
}

/* ---------------- Batch page ---------------- */
.batch-hero{ background:var(--ice-2); border-bottom:1px solid var(--line); padding:50px 0 44px; }
.crumbs{ font-size:.8rem; color:var(--mist); margin-bottom:16px; }
.crumbs a{ font-weight:500; }
.fact-strip{ display:flex; background:var(--paper); margin-top:26px; text-align:center; border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.fact-strip div{ flex:1; padding:17px 8px; border-right:1px solid var(--line); }
.fact-strip div:last-child{ border-right:0; }
.fact-strip b{ display:block; font-family:'Schibsted Grotesk',sans-serif; font-weight:700; font-size:1.2rem; color:var(--frost-deep); }
.fact-strip span{ font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mist); }
.batch-body{ display:grid; grid-template-columns:.9fr 1.1fr; gap:44px; padding:54px 0 30px; align-items:start; }
@media (max-width:880px){ .batch-body{ grid-template-columns:1fr; } }
.ing-card{ background:var(--paper); border-radius:var(--radius); box-shadow:var(--shadow); padding:24px 22px; position:sticky; top:94px; }
.ing-card ul{ list-style:none; margin:0; padding:0; }
.ing-card li{ padding:10px 0; border-bottom:1px solid var(--line); font-size:.93rem; }
.ing-card li:last-child{ border-bottom:0; }
.steps{ list-style:none; margin:0; padding:0; counter-reset:step; }
.steps li{ counter-increment:step; display:grid; grid-template-columns:40px 1fr; gap:18px; padding:21px 0; border-bottom:1px solid var(--line); }
.steps li:last-child{ border-bottom:0; }
.steps li::before{
  content:counter(step); width:40px; height:40px; border-radius:10px;
  background:var(--glacier); color:var(--slate); font-family:'Schibsted Grotesk',sans-serif; font-weight:700; font-size:.98rem;
  display:flex; align-items:center; justify-content:center;
}
.reheat{
  background:var(--amber-soft); border-radius:var(--radius); padding:22px 26px; margin-top:28px;
}
.reheat b{ font-size:.66rem; letter-spacing:.18em; text-transform:uppercase; color:#8A6014; display:block; margin-bottom:10px; font-weight:500; }
.reheat .line{ display:flex; justify-content:space-between; gap:14px; padding:7px 0; border-bottom:1px dashed rgba(138,96,20,.25); font-size:.91rem; }
.reheat .line:last-child{ border-bottom:0; }
.reheat .line span:last-child{ text-align:right; }
.tip{ background:var(--slate); color:#B7CCD6; border-radius:var(--radius); padding:22px 26px; margin-top:24px; }
.tip b{ color:var(--frost); font-size:.66rem; letter-spacing:.18em; text-transform:uppercase; display:block; margin-bottom:8px; font-weight:500; }
.tip p{ margin:0; font-size:.93rem; }
.nutri-note{ color:var(--mist); font-size:.81rem; margin-top:20px; }

/* ---------------- Static / legal pages ---------------- */
.page{ padding:58px 0 82px; }
.page h1{ margin-bottom:.5em; }
.page h2{ margin-top:1.7em; font-size:1.3rem; }
.page ul{ padding-left:1.3em; }
.page .updated{ color:var(--mist); font-size:.89rem; }

/* Contact */
.contact-form{ display:grid; gap:17px; max-width:520px; margin-top:26px; }
.contact-form label{ font-weight:500; font-size:.87rem; display:block; margin-bottom:7px; }
.contact-form input,.contact-form textarea{
  width:100%; padding:13px 15px; border:1px solid var(--line); border-radius:10px;
  font-family:'Rubik',sans-serif; font-size:.95rem; background:var(--paper);
}

/* ---------------- Newsletter ---------------- */
.mailer{ background:var(--slate); color:var(--ice); border-radius:18px; padding:44px 40px; display:grid; grid-template-columns:1.2fr .8fr; gap:30px; align-items:center; }
@media (max-width:760px){ .mailer{ grid-template-columns:1fr; } }
.mailer h2{ color:var(--ice); }
.mailer h2 em{ color:var(--frost); }
.mailer p{ color:#9BB4C0; margin:0; }
.mailer form{ display:flex; gap:10px; }
@media (max-width:560px){ .mailer form{ flex-direction:column; } }
.mailer input[type="email"]{ flex:1; padding:14px 18px; border:0; border-radius:999px; font-family:'Rubik',sans-serif; font-size:.95rem; }

/* ---------------- Footer ---------------- */
footer.site{ background:#0C2530; color:#9BB4C0; padding:54px 0 28px; }
.foot-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:32px; margin-bottom:36px; }
@media (max-width:780px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
.foot-grid h4{ color:var(--frost); font-family:'Schibsted Grotesk',sans-serif; font-weight:700; font-size:.92rem; margin:0 0 12px; }
.foot-grid ul{ list-style:none; margin:0; padding:0; }
.foot-grid li{ margin-bottom:9px; font-size:.9rem; }
.foot-grid a{ color:#9BB4C0; text-decoration:none; }
.foot-grid a:hover{ color:#fff; text-decoration:underline; }
.foot-grid p{ color:#9BB4C0; }
.foot-bottom{ border-top:1px solid rgba(255,255,255,.14); padding-top:20px; font-size:.78rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; color:#6F8B99; }

/* ---------------- Cookie notice ---------------- */
.cookie-bar{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:200;
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:0 16px 38px rgba(18,50,63,.22); padding:18px 22px;
  display:none; gap:18px; align-items:center; justify-content:space-between; flex-wrap:wrap;
  max-width:720px; margin:0 auto;
}
.cookie-bar.show{ display:flex; }
.cookie-bar p{ margin:0; font-size:.85rem; color:var(--mist); max-width:52ch; }

@media (prefers-reduced-motion: reduce){ *{ animation:none !important; transition:none !important; } }
