/* Sharedelink Coldstore — one page, no build step. */

:root {
  --ice: #edf4f5;
  --ice-deep: #dcebee;
  --frost: #a9cfdb;
  --ink: #0d2b38;
  --ink-soft: #3b5866;
  --kraft: #c99b63;
  --kraft-dark: #a97c47;
  --stamp: #b8322a;
  --white: #ffffff;
  --whatsapp: #1f7a4d;

  --display: "Anybody", "Arial Narrow", sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --space: clamp(4rem, 9vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--ice);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.05; }
p { margin: 0; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  background: var(--ink); color: var(--white); padding: .6rem 1rem; border-radius: 4px;
}
.skip:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--stamp); outline-offset: 3px; border-radius: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(237, 244, 245, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--frost);
}
.header-row { display: flex; align-items: center; gap: 2rem; min-height: 4.25rem; }

.wordmark {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-weight: 850; font-stretch: 125%;
  font-size: 1.15rem; letter-spacing: -.01em; text-decoration: none;
}
.wordmark-flake { width: 1.5rem; height: 1.5rem; color: var(--ink); }
.wordmark-sub { font-weight: 600; font-stretch: 100%; color: var(--ink-soft); }

.nav { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.header-call {
  margin-left: auto; font-weight: 700; font-size: .95rem; text-decoration: none;
  padding: .5rem .9rem; border: 2px solid var(--ink); border-radius: 6px;
}
.header-call:hover { background: var(--ink); color: var(--white); }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 var(--space); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  font-weight: 900; font-stretch: 112%;
  letter-spacing: -.025em; line-height: .98;
  max-width: 11ch;
}
.lede { margin-top: 1.5rem; font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: .85rem 1.35rem; border-radius: 6px; border: 2px solid transparent;
  transition: background-color .15s, color .15s;
}
.btn-primary { background: var(--whatsapp); color: var(--white); }
.btn-primary:hover { background: #16603b; }
.btn-secondary { border-color: var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); }

/* The carton: the page's one loud element */
.carton {
  position: relative;
  background-color: var(--kraft);
  background-image:
    repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 2px, transparent 2px 9px),
    linear-gradient(160deg, rgba(255,255,255,.12), rgba(0,0,0,.08));
  color: var(--ink);
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: 3px;
  box-shadow: 0 1px 0 var(--kraft-dark), 0 22px 40px -18px rgba(13, 43, 56, .55);
  --tilt: 1.5deg;
  transform: rotate(var(--tilt));
}
/* packing tape across the top */
.carton::before {
  content: ""; position: absolute; left: 50%; top: -10px; width: 5.5rem; height: 22px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(237, 244, 245, .55);
  border-left: 1px dashed rgba(13,43,56,.15); border-right: 1px dashed rgba(13,43,56,.15);
}

.carton-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.carton h2 { font-size: 1.7rem; font-weight: 850; font-stretch: 80%; letter-spacing: .01em; }

.stamp {
  display: grid; justify-items: center; flex-shrink: 0;
  color: var(--stamp);
  border: 3px solid currentColor; outline: 1px solid currentColor; outline-offset: 3px;
  padding: .45rem .7rem .4rem; border-radius: 3px;
  transform: rotate(-7deg);
  font-family: var(--display); line-height: 1;
  font-size: 1.05rem; font-weight: 900; font-stretch: 85%;
  mix-blend-mode: multiply;
}

.carton-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.carton-list li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(13, 43, 56, .22);
  font-family: var(--display); font-weight: 650; font-stretch: 88%; font-size: 1.08rem;
}
.carton-list li span:last-child {
  font-family: var(--body); font-weight: 400; font-size: .85rem; color: rgba(13, 43, 56, .72);
  white-space: nowrap;
}
.carton-foot { margin-top: 1rem; font-size: .9rem; }

/* Sections */
.section { padding: var(--space) 0; }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; font-stretch: 112%; letter-spacing: -.02em;
}
.section-intro { margin-top: 1rem; max-width: 38rem; color: var(--ink-soft); }

.stock-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem); margin-top: 3rem;
}
.stock-group { border-top: 3px solid var(--ink); padding-top: 1.1rem; }
.stock-group h3 { font-size: 1.45rem; font-weight: 800; font-stretch: 100%; }
.stock-group ul { list-style: none; margin: .9rem 0 0; padding: 0; }
.stock-group li { padding: .5rem 0; border-bottom: 1px solid var(--frost); }

/* How to order: a real sequence, so it is numbered */
.section-dark { background: var(--ink); color: var(--ice); }
.section-dark .section-title { color: var(--white); }
.steps {
  list-style: none; margin: 3rem 0 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem);
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block; margin-bottom: .75rem;
  font-family: var(--display); font-size: 3.5rem; font-weight: 900; font-stretch: 60%; line-height: 1;
  color: var(--frost);
}
.steps h3 { font-size: 1.3rem; font-weight: 800; color: var(--white); }
.steps p { margin-top: .6rem; color: #c3d9e0; max-width: 30rem; }

.buy-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.5rem;
}
.buy { background: var(--white); padding: 1.75rem; border-radius: 6px; border: 1px solid var(--frost); }
.buy h3 { font-size: 1.35rem; font-weight: 800; }
.buy p { margin-top: .75rem; color: var(--ink-soft); }
.text-link {
  display: inline-block; margin-top: 1.1rem; font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.text-link:hover { color: var(--stamp); }

/* Contact */
.section-ice { background: var(--ice-deep); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: end;
}
.contact-list { font-style: normal; margin-top: 2rem; display: grid; gap: .9rem; }
.contact-list p { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; }
.contact-label { font-weight: 700; color: var(--ink-soft); }
.contact-list a { font-weight: 700; }
.contact-cta {
  background: var(--ink); color: var(--ice); padding: 2rem; border-radius: 6px;
}
.contact-cta p { font-size: 1.15rem; margin-bottom: 1.5rem; max-width: 26rem; }

/* Footer */
.site-footer { background: var(--ink); color: #c3d9e0; font-size: .92rem; }
.footer-row { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.site-footer a { color: var(--white); }

/* Load moment: the carton settles and the stamp lands */
@media (prefers-reduced-motion: no-preference) {
  .carton { animation: settle .7s cubic-bezier(.2, .8, .2, 1) both .1s; }
  .stamp { animation: thunk .35s cubic-bezier(.3, 1.6, .5, 1) both .75s; }
}
@keyframes settle {
  from { opacity: 0; transform: translateY(24px) rotate(calc(var(--tilt) + 3.5deg)); }
  to   { opacity: 1; transform: translateY(0) rotate(var(--tilt)); }
}
@keyframes thunk {
  from { opacity: 0; transform: scale(1.6) rotate(-14deg); }
  to   { opacity: 1; transform: scale(1) rotate(-7deg); }
}

/* Smaller screens */
@media (max-width: 860px) {
  .nav { display: none; }
  .hero-grid, .contact-grid, .buy-grid { grid-template-columns: minmax(0, 1fr); }
  .stock-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .carton { --tilt: .75deg; max-width: 32rem; }
}
@media (max-width: 480px) {
  .header-call { font-size: 0; padding: .5rem .8rem; }
  .header-call::after { content: "Call"; font-size: .95rem; }
  .wordmark { font-size: 1rem; }
  .contact-list p { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .carton { padding: 1.5rem 1.25rem 1.25rem; }
  .footer-row { flex-direction: column; }
}
