:root{--ink:#231F20;--grey:#66686C;--line:#E4E5E7;--lime:#CAE432;--lime-2:#BBD61F;
  --font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--wrap:1200px;--ease:cubic-bezier(.2,.7,.2,1)}
/* Seal Packaging v3 — one calm screen: logo, headline, who we serve, one button, the box. */
@font-face{font-family:"Inter";src:url("assets/fonts/inter-latin.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);color:var(--ink);background:#fff;font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img,svg{display:block;max-width:100%}
a{color:inherit}
h1,p{margin:0}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 40px}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px;border-radius:4px}

.page{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
.top{padding:28px 0 0}
.brand{display:inline-block}
.brand img{height:54px;width:auto}

.hero{flex:1;display:flex;align-items:center;padding:40px 0}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:64px;align-items:center}
.hero h1{font-size:clamp(2.6rem,5.2vw,4.5rem);font-weight:700;letter-spacing:-.035em;line-height:1.04;max-width:12.5em}
.sub{margin-top:26px;font-size:clamp(1.08rem,1.5vw,1.3rem);color:var(--grey);line-height:1.5;max-width:30em}
.cta-row{margin-top:40px}
.hero-visual{justify-self:end;width:100%;max-width:440px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font:inherit;font-weight:600;font-size:1.02rem;line-height:1.1;padding:18px 28px;border-radius:8px;text-decoration:none;border:1.5px solid var(--lime);background:var(--lime);color:var(--ink);white-space:nowrap;
  transition:background .2s,border-color .2s,transform .28s var(--ease),box-shadow .28s var(--ease)}
.btn:hover{background:var(--lime-2);border-color:var(--lime-2);transform:translateY(-2px);box-shadow:0 10px 22px -12px rgba(35,31,32,.45)}
.btn:active{transform:translateY(0);transition-duration:.08s}
.btn span[aria-hidden]{display:inline-block;transition:transform .28s var(--ease)}
.btn:hover span[aria-hidden]{transform:translateX(4px)}

.foot{border-top:1px solid var(--line);padding:20px 0 24px;font-size:.93rem;color:var(--grey)}
.foot-row{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.reach{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.reach a{color:var(--ink);font-weight:500;text-decoration:none;background:linear-gradient(var(--lime),var(--lime)) no-repeat 0 100%/0 2px;transition:background-size .32s var(--ease)}
.reach a:hover{background-size:100% 2px}
.dot{color:#B5B7BA}
.copy{color:#8B8D91}

@media (max-width:900px){
  .wrap{padding:0 22px}
  .top{padding:18px 0 0}
  .brand img{height:44px}
  .hero{padding:28px 0 20px;align-items:flex-start}
  .hero-grid{grid-template-columns:1fr;gap:20px}
  .hero h1{font-size:clamp(2.2rem,9.4vw,3.2rem)}
  .sub{margin-top:16px}
  .cta-row{margin-top:26px}
  .btn{width:100%}
  .hero-visual{justify-self:center;max-width:220px}
  .foot{padding:16px 0 20px;font-size:.88rem}
  .copy{display:none}
  .reach .dot:nth-of-type(2){display:none}
  .reach span:last-child{flex-basis:100%}
}

@media (max-width:900px) and (max-height:740px){.hero-visual{max-width:150px}.hero-grid{gap:12px}}

/* ---------- motion — only when motion.js adds .motion; reduced motion never gets it ---------- */
@keyframes s-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes s-fade{from{opacity:0}to{opacity:1}}
@keyframes s-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes s-fill{from{fill-opacity:0}to{fill-opacity:1}}
@keyframes s-shadow{from{opacity:0;transform:scale(.82)}to{opacity:1;transform:scale(1)}}
@keyframes s-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes s-breathe{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.965);opacity:.82}}
.motion .brand{animation:s-fade .5s ease both}
.motion .hero-copy>*{animation:s-rise .6s var(--ease) .05s both}
.motion .hero-copy>:nth-child(2){animation-delay:.14s}
.motion .hero-copy>:nth-child(3){animation-delay:.25s}
/* v4: the words come first; the box pops in and builds 5 s after load */
@keyframes s-pop{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}
.motion .hero-art{transform-origin:50% 60%;animation:s-pop .55s cubic-bezier(.2,.8,.2,1) 5s both}
.motion .hero-art .face{stroke-dasharray:1 1;animation:s-draw 1.1s cubic-bezier(.55,.1,.25,1) 5.05s both,s-fill .7s ease 5.9s both}
.motion .hero-art .f2{animation-delay:5.17s,6s}
.motion .hero-art .f3{animation-delay:5.29s,6.1s}
.motion .hero-art .tape-wipe{stroke-dasharray:1 1;animation:s-draw .8s cubic-bezier(.65,0,.25,1) 6.55s both}
.motion .hero-art .art-shadow{transform-box:fill-box;transform-origin:center;animation:s-shadow .9s var(--ease) 5.6s both,s-breathe 6s ease-in-out 7.55s infinite}
.motion .hero-art .art-box{animation:s-float 6s ease-in-out 7.55s infinite}
.motion .foot{animation:s-fade .8s ease 1s both}

/* ---------- v5: the headline's last words cycle — mistakes → poor quality → late deliveries, each struck through in lime ---------- */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* the three endings share one grid cell, so the slot is always as wide as the longest: no line ever moves */
.swap{display:inline-grid;vertical-align:top;white-space:nowrap}
.swap .w{grid-area:1/1;justify-self:start}
.swap .w2,.swap .w3{visibility:hidden}
.swap .t{position:relative;display:inline-block}
.swap .t::after{content:"";position:absolute;left:-.03em;right:-.03em;top:54%;height:.085em;margin-top:-.0425em;border-radius:.05em;background:var(--lime);transform:scaleX(0);transform-origin:0 50%}
@keyframes s-w1{0%{opacity:1;transform:none;animation-timing-function:cubic-bezier(.4,0,.6,1)}28.767%{opacity:1;transform:none;animation-timing-function:cubic-bezier(.4,0,.6,1)}32.192%{opacity:0;transform:translateY(-.14em)}95.890%{opacity:0;transform:translateY(.22em);animation-timing-function:cubic-bezier(.2,.7,.2,1)}100%{opacity:1;transform:none}}
@keyframes s-w2{0%,31.507%{opacity:0;transform:translateY(.22em);animation-timing-function:cubic-bezier(.2,.7,.2,1)}35.616%,60.959%{opacity:1;transform:none;animation-timing-function:cubic-bezier(.4,0,.6,1)}64.384%,100%{opacity:0;transform:translateY(-.14em)}}
@keyframes s-w3{0%,63.699%{opacity:0;transform:translateY(.22em);animation-timing-function:cubic-bezier(.2,.7,.2,1)}67.808%,93.151%{opacity:1;transform:none;animation-timing-function:cubic-bezier(.4,0,.6,1)}96.575%,100%{opacity:0;transform:translateY(-.14em)}}
@keyframes s-k1{0%,23.973%{transform:scaleX(0);animation-timing-function:cubic-bezier(.65,0,.35,1)}26.712%,32.192%{transform:scaleX(1)}32.260%,100%{transform:scaleX(0)}}
@keyframes s-k2{0%,56.164%{transform:scaleX(0);animation-timing-function:cubic-bezier(.65,0,.35,1)}58.904%,64.384%{transform:scaleX(1)}64.452%,100%{transform:scaleX(0)}}
@keyframes s-k3{0%,88.356%{transform:scaleX(0);animation-timing-function:cubic-bezier(.65,0,.35,1)}91.096%,96.575%{transform:scaleX(1)}96.644%,100%{transform:scaleX(0)}}
.motion .swap .w2,.motion .swap .w3{visibility:visible}
.motion .swap .w{animation:s-w1 14.6s linear 0s infinite;will-change:opacity,transform}
.motion .swap .w2{animation-name:s-w2}
.motion .swap .w3{animation-name:s-w3}
.motion .swap .w1 .t::after{animation:s-k1 14.6s linear 0s infinite}
.motion .swap .w2 .t::after{animation:s-k2 14.6s linear 0s infinite}
.motion .swap .w3 .t::after{animation:s-k3 14.6s linear 0s infinite}

/* ---------- v6 headline: "demand ___" — each word is written in letter by letter, a thin lime underline draws under it,
   it holds, then erases backwards. Timing lives in script.js (Web Animations); this is the resting state.
   Without .motion (reduced motion, or no JS) only "precision." shows, underlined. ---------- */
.write{display:inline-grid;vertical-align:top;white-space:nowrap}
.write .ww{grid-area:1/1;justify-self:start}
.write .ww2,.write .ww3{visibility:hidden}
.write .wt{position:relative;display:inline-block}
.write .l{display:inline-block}
.write .ul{position:absolute;left:0;right:0;bottom:-.05em;height:.055em;border-radius:.03em;background:var(--lime);transform-origin:0 50%}
/* with the box gone the words get the full width on desktop, so the headline sits in 3 lines: "Custom packaging for / companies that demand / precision." (scoped to the v6 headline, so the strike flag gets v5's exact layout back) */
@media (min-width:901px){.hero-grid:has(.write):not(:has(.hero-visual)){grid-template-columns:minmax(0,1fr)}.hero h1:has(.write){max-width:11.4em}}
.motion .write .ww2,.motion .write .ww3{visibility:visible}
.motion .write .l{opacity:0}
.motion .write .ul{transform:scaleX(0)}
/* ---------- v7 seal: "Obsessed with service". Outline only, thin charcoal/grey strokes, lime only as a small accent.
   Desktop: right of the headline, vertically centered with the words. Phone: small, below the button.
   Resting state = finished seal (reduced motion, no JS). With .motion it starts hidden and script.js draws it in. ---------- */
.hero-seal{display:flex;align-items:center;justify-content:center}
.seal-art{display:block;width:100%;height:auto;transform-origin:50% 50%}
.seal-text{font-family:var(--font)}
@media (min-width:901px){
  .hero-grid:has(.write):has(.hero-seal){grid-template-columns:minmax(0,1fr) auto;gap:clamp(40px,4vw,56px)}
  .hero-seal{width:clamp(200px,18vw,240px);justify-self:end}
}
@media (max-width:900px){
  .hero-seal{width:128px;justify-self:start;margin-top:22px}
}
@media (max-width:900px) and (max-height:700px){.hero-seal{width:110px;margin-top:14px}}
[data-cycle="loop"] .hero-seal{display:none}
.motion .seal-art{opacity:0}
.motion .seal-edge,.motion .seal-ring{stroke-dasharray:1 1;stroke-dashoffset:1}
.motion .seal-mark,.motion .seal-words{opacity:0}


/* ---------- v8 "build" (Joel, Oct 15, 1:56 PM): under "Custom packaging for companies that demand" sits ONE fixed line.
   "precision" types in at full headline size in charcoal, holds ~1.5 s, then shrinks onto the same baseline and turns lime;
   ", consistency" types in at full size right next to it, holds, shrinks, turns lime; then ", on-time delivery." the same.
   Final, held still: "precision, consistency, on-time delivery." in lime, one line, one baseline.
   .bl is a full headline line (the baseline never moves); .fw holds the words at their reduced size (--r of the headline),
   so the final line is laid out from the start. Only the word being typed is temporarily larger (script.js).
   Lime #CAE432 is faint on white, so the lime words carry a hairline olive edge (#8FA318) for legibility.
   Resting state (reduced motion / no JS) = the final lime line. ---------- */
.build .bl{display:block;white-space:nowrap;--r:.6}
.build .fw{font-size:calc(var(--r) * 1em);letter-spacing:-.03em}
.build .lw,.build .pc{color:var(--lime);-webkit-text-stroke:.022em #8FA318;paint-order:stroke fill}
.build .l,.build .lw{display:inline-block}
.build .bp{display:inline-block;width:0;height:0;vertical-align:baseline}
.hero:has(.build){overflow-x:clip}
.motion .build .l{opacity:0}
.motion .build .lw{color:var(--ink);-webkit-text-stroke-color:rgba(143,163,24,0)}
@media (min-width:901px){.hero-grid:has(.build):not(:has(.hero-visual)){grid-template-columns:minmax(0,1fr)}.hero h1.build{max-width:11.4em;font-size:clamp(2.6rem,5.2vw,4.15rem)}
  .hero-grid:has(.build):has(.hero-seal){grid-template-columns:minmax(0,1fr) auto;gap:clamp(40px,4vw,56px)}}
@media (max-width:900px){.build .bl{--r:.49}.build .lw,.build .pc{-webkit-text-stroke-width:.045em}}
@media (max-width:359px){.hero h1.build{font-size:2rem}.build .bl{--r:.45}}
/* phones: keep "for companies" together so no word is stranded on its own line */
@media (max-width:600px){.build .nbp{white-space:nowrap}}
/* short phones (iPhone SE): tighten the spacing a little so the bigger seal still fits one screen */
@media (max-width:600px) and (max-height:700px){
  .top{padding-top:12px}
  .hero{padding-top:8px;padding-bottom:12px}
  .sub{margin-top:12px;font-size:1rem}
  .cta-row{margin-top:18px}
  .btn{padding-top:16px;padding-bottom:16px}
}
/* very narrow phones (320px): keep the button inside the screen */
@media (max-width:359px){.btn{padding:18px 18px;font-size:.98rem}.hero-grid{grid-template-columns:minmax(0,1fr)}}

/* v8: Joel (Oct 15, 1:46 PM) "make the seal a little bit bigger": desktop ~300px (v7: 230–240), phone 150px (v7: 128) */
@media (min-width:901px){.hero-seal{width:clamp(240px,23.5vw,300px)}}
@media (max-width:900px){.hero-seal{width:150px}}
@media (max-width:900px) and (max-height:700px){.hero-seal{width:150px;margin-top:8px}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
