/* ==========================================================================
   Homepage hero — clean white page, one newspaper-clipping sticky.
   Scoped to .np-hero / body.np-home so no other page is affected.
   ========================================================================== */

:root {
    --np-ink: #191919;
    --np-orange: #F59E0B;
    --np-blue: #2563EB;
    --np-sticky: #F8DF83;
    --np-paper: #FBF7EA;
    --np-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --np-serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
    --np-display: 'Anton', 'Impact', 'Arial Narrow Bold', sans-serif;
    --np-hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
    --np-sans: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Header ---------- */
body.np-home { background: #fff; }
.np-home .site-header,
.np-home .site-header.scrolled {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid #ece9e0;
    box-shadow: none;
}
.np-home .site-header.scrolled { box-shadow: 0 8px 18px -14px rgba(25, 25, 25, 0.35); }
.np-home .main-nav { gap: 26px; }
.np-home .main-nav a {
    font-family: var(--np-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--np-ink);
    padding: 6px 0;
}
.np-home .main-nav a:hover { color: var(--np-blue); }
.np-home .main-nav a:first-child {
    background-image: linear-gradient(var(--np-orange), var(--np-orange));
    background-size: 100% 3px;
}
.np-home .nav-cta {
    border-radius: 0;
    background: var(--np-ink);
    color: #fff;
    border-color: var(--np-ink);
    font-family: var(--np-sans);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 11px 20px;
    box-shadow: 3px 3px 0 var(--np-orange);
}
.np-home .nav-cta:hover { background: var(--np-ink); color: #fff; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--np-orange); }
.np-home .nav-toggle span { background: var(--np-ink); }

/* ---------- Shell ---------- */
.np-hero { position: relative; background: #fff; color: var(--np-ink); overflow-x: clip; padding: 0 0 88px; }
.np-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: 0; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    list-style: none;
}
.np-grid {
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 32px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 40px;
    align-items: center;
}
.np-copy { position: relative; z-index: 2; }

.np-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    font: 700 11.5px/1.4 var(--np-sans);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: np-rise 0.7s var(--np-ease) 0.05s backwards;
}
.np-eyebrow-rule { flex: none; width: 38px; height: 3px; background: var(--np-orange); }

/* ---------- H1 ---------- */
.np-h1 {
    margin: 0 0 28px;
    font-family: var(--np-display);
    font-weight: 400;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 1;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    color: var(--np-ink);
}
.np-line { display: block; overflow: hidden; padding: 0.05em 0.1em 0.03em 0; margin-right: -0.1em; }
.np-line-in { display: inline-block; animation: np-line-up 0.95s var(--np-ease) backwards; }
.np-line:nth-of-type(1) .np-line-in { animation-delay: 0.1s; }
.np-line:nth-of-type(2) .np-line-in { animation-delay: 0.24s; }
.np-line:nth-of-type(3) .np-line-in { animation-delay: 0.38s; }
.np-line-built { padding-top: 0.12em; padding-bottom: 0.14em; }
.np-struck, .np-skilled { position: relative; display: inline-block; }
.np-strike { position: absolute; left: -2%; top: 38%; width: 104%; height: 0.2em; overflow: visible; pointer-events: none; }
.np-strike path {
    fill: none; stroke: var(--np-orange); stroke-width: 7; stroke-linecap: round;
    stroke-dasharray: 320; stroke-dashoffset: 0;
    animation: np-draw 0.8s cubic-bezier(0.65, 0, 0.35, 1) 1.05s backwards;
}
.np-strip {
    position: relative;
    display: inline-block;
    padding: 0.02em 0.26em 0.05em 0.2em;
    background: var(--np-blue);
    color: #fff;
    rotate: -1.6deg;
    transform-origin: 8% 80%;
    clip-path: polygon(0 3%, 6% 0, 100% 2%, 99% 36%, 100% 62%, 98.5% 100%, 55% 97%, 0 100%, 1.2% 55%);
}
@keyframes np-line-up { from { transform: translateY(108%) rotate(3deg); } to { transform: none; } }
@keyframes np-draw { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }
@keyframes np-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.np-sub { max-width: 520px; margin: 0 0 32px; font: 500 18px/1.6 var(--np-sans); color: #4a4a4a; animation: np-rise 0.8s var(--np-ease) 0.75s backwards; }

/* ---------- CTAs ---------- */
.np-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; animation: np-rise 0.8s var(--np-ease) 0.9s backwards; }
.np-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 28px;
    font: 800 13px/1 var(--np-sans);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid var(--np-ink);
    border-radius: 0;
    transition: transform 0.25s var(--np-ease), box-shadow 0.25s var(--np-ease), background-color 0.2s, color 0.2s;
}
.np-btn-primary { background: var(--np-ink); color: #fff; box-shadow: 6px 6px 0 var(--np-orange); }
.np-btn-primary span { display: inline-block; transition: transform 0.25s var(--np-ease); }
.np-btn-primary:hover { color: #fff; transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--np-orange); }
.np-btn-primary:hover span { transform: translateX(5px); }
.np-btn-primary:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--np-orange); }
.np-btn-ghost { background: transparent; color: var(--np-ink); }
.np-btn-ghost:hover { background: var(--np-blue); border-color: var(--np-blue); color: #fff; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--np-ink); }
.np-btn:focus-visible, .np-dot:focus-visible, .np-pause:focus-visible { outline: 3px solid var(--np-blue); outline-offset: 3px; }

/* ---------- Wall: the newspaper sticky ---------- */
.np-wall { position: relative; padding: 34px 34px 64px 10px; perspective: 1100px; }

.np-paper {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    padding: 30px 32px 20px;
    background: var(--np-paper);
    border: 1px solid #e8e1cd;
    rotate: -2deg;
    box-shadow: 0 1px 1px rgba(25, 25, 25, 0.08), 0 14px 26px -12px rgba(25, 25, 25, 0.28), 0 36px 60px -30px rgba(25, 25, 25, 0.3);
    transform-origin: 50% 0;
    perspective: 1500px;
    animation: np-paper-in 1s var(--np-ease) 0.3s backwards;
}
.np-paper::before { /* a second sheet peeking out behind */
    content: '';
    position: absolute;
    inset: 8px -10px -10px 10px;
    background: #f1ebd9;
    border: 1px solid #e8e1cd;
    rotate: 3.2deg;
    z-index: -1;
    box-shadow: 0 8px 18px -10px rgba(25, 25, 25, 0.25);
}
@keyframes np-paper-in { from { opacity: 0; transform: translate(60px, 30px) rotate(6deg); } to { opacity: 1; transform: none; } }

.np-tape {
    position: absolute;
    top: -13px; left: 50%;
    width: 110px; height: 26px;
    margin-left: -55px;
    rotate: 2deg;
    background: rgba(236, 222, 170, 0.8);
    box-shadow: 0 1px 2px rgba(25, 25, 25, 0.16);
    clip-path: polygon(0 8%, 4% 0, 10% 10%, 18% 0, 100% 0, 97% 25%, 100% 50%, 97% 75%, 100% 100%, 6% 100%, 0 90%, 3% 60%, 0 35%);
    animation: np-tape-in 0.5s var(--np-ease) 1s backwards;
}
@keyframes np-tape-in { from { opacity: 0; transform: scale(0.4) translateY(-10px); } to { opacity: 1; transform: none; } }

.np-paper-head { text-align: center; }
.np-paper-name { margin: 0; font-family: 'UnifrakturCook', var(--np-serif); font-weight: 700; font-size: 40px; line-height: 1.05; }
.np-paper-meta { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 6px 0 0; font: 700 9.5px/1 var(--np-sans); letter-spacing: 0.22em; text-transform: uppercase; color: #6b655a; }
.np-dotsep { width: 4px; height: 4px; border-radius: 50%; background: var(--np-orange); }
.np-rule { height: 6px; margin: 12px 0 16px; border-top: 3px solid var(--np-ink); border-bottom: 1px solid var(--np-ink); }

.np-kicker { display: flex; justify-content: space-between; align-items: center; margin: 0 0 14px; }
.np-stamp {
    display: inline-block;
    padding: 5px 10px 4px;
    border: 2px solid var(--np-blue);
    color: var(--np-blue);
    font: 800 10px/1 var(--np-sans);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    rotate: -2deg;
}
.np-edition { font: italic 400 11.5px/1 var(--np-serif); color: #7a7466; }

.np-title {
    margin: 0 0 14px;
    min-height: calc(4 * 1.08em);
    font: 900 34px/1.08 var(--np-serif);
    letter-spacing: -0.012em;
    text-transform: uppercase;
    color: var(--np-ink);
}
.np-title mark {
    background: linear-gradient(transparent 58%, rgba(245, 158, 11, 0.55) 58% 92%, transparent 92%) no-repeat;
    background-size: 100% 100%;
    color: inherit;
    padding: 0 2px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.np-body {
    margin: 0 0 14px;
    min-height: calc(4 * 1.55em);
    padding-top: 12px;
    border-top: 1px solid rgba(25, 25, 25, 0.35);
    font: 400 14px/1.55 var(--np-serif);
    color: #2e2b24;
}

.np-paper-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(25, 25, 25, 0.12); }
.np-dots { display: flex; gap: 6px; }
.np-dot { width: 28px; height: 6px; padding: 0; border: 0; background: rgba(25, 25, 25, 0.16); cursor: pointer; position: relative; overflow: hidden; }
.np-dot:hover { background: rgba(25, 25, 25, 0.32); }
.np-dot.is-active::after { content: ''; position: absolute; inset: 0; background: var(--np-orange); transform-origin: left; animation: np-progress var(--np-interval, 3800ms) linear forwards; }
.np-wall.is-paused .np-dot.is-active::after, .np-wall.is-static .np-dot.is-active::after { animation: none; }
@keyframes np-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.np-pause { background: none; border: 0; padding: 4px 0; font: 800 9.5px/1 var(--np-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--np-ink); cursor: pointer; border-bottom: 1px solid currentColor; }
.np-pause:hover { color: var(--np-blue); }

/* sticky note */
.np-note {
    position: absolute;
    right: -4px; bottom: -8px;
    width: 168px; min-height: 140px;
    margin: 0;
    padding: 30px 14px 16px;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    background: var(--np-sticky);
    rotate: 5deg;
    box-shadow: 0 1px 1px rgba(25, 25, 25, 0.14), 0 16px 20px -10px rgba(25, 25, 25, 0.4);
    z-index: 3;
    transition: translate 0.3s var(--np-ease), box-shadow 0.3s var(--np-ease);
    animation: np-drop 0.8s var(--np-ease) 1.2s backwards, np-float 7s ease-in-out 2.2s infinite alternate;
}
.np-note:hover { translate: 0 -8px; box-shadow: 0 1px 1px rgba(25, 25, 25, 0.14), 0 26px 28px -10px rgba(25, 25, 25, 0.42); }
.np-note::after { content: ''; position: absolute; right: 0; bottom: 0; width: 30px; height: 30px; background: linear-gradient(135deg, transparent 50%, rgba(25, 25, 25, 0.13) 50%); }
.np-note-in { display: block; }
.np-note b { display: block; font: 700 38px/1 var(--np-hand); color: #2a2418; }
.np-note small { display: block; margin-top: 6px; font: 700 21px/1.05 var(--np-hand); color: #5b4a1c; }
.np-pin {
    position: absolute; top: -7px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, #ffd78a 0 14%, var(--np-orange) 38%, #b96b00 100%);
    box-shadow: 0 3px 4px rgba(25, 25, 25, 0.4);
}
@keyframes np-drop { from { opacity: 0; transform: translateY(-34px) scale(1.12); } to { opacity: 1; transform: none; } }
@keyframes np-float { from { translate: 0 0; } to { translate: 1px -5px; } }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
    .np-grid { padding: 56px 24px 0; gap: 20px; }
    .np-title { font-size: 30px; }
}

/* ---------- Mobile / stacked ---------- */
@media (max-width: 960px) {
    .np-hero { padding-bottom: 64px; }
    .np-grid { grid-template-columns: 1fr; padding: 32px 22px 0; gap: 40px; }
    .np-h1 { font-size: clamp(40px, 12.6vw, 100px); margin-bottom: 22px; }
    .np-sub { font-size: 16.5px; margin-bottom: 26px; }
    .np-wall { max-width: 520px; width: 100%; margin: 0 auto; padding-left: 0; }
}
@media (max-width: 560px) {
    .np-grid { padding-top: 26px; }
    .np-h1 { font-size: clamp(40px, 15.2vw, 100px); }
    .np-eyebrow { font-size: 10px; letter-spacing: 0.14em; margin-bottom: 18px; }
    .np-eyebrow-rule { width: 24px; }
    .np-btn { padding: 15px 20px; font-size: 12px; flex: 1 1 100%; }
    .np-btn-primary { box-shadow: 5px 5px 0 var(--np-orange); }
    .np-wall { padding: 26px 14px 70px 4px; }
    .np-paper { padding: 24px 20px 16px; }
    .np-paper-name { font-size: 32px; }
    .np-title { font-size: 25px; }
    .np-body { font-size: 13px; }
    .np-dot { width: 22px; }
    .np-note { width: 132px; min-height: 112px; padding: 24px 10px 12px; right: -4px; bottom: -34px; }
    .np-note b { font-size: 30px; }
    .np-note small { font-size: 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .np-hero *, .np-hero *::before { animation: none !important; transition: none !important; }
    .np-dot.is-active::after { animation: np-progress var(--np-interval, 3800ms) linear forwards !important; }
    .np-wall.is-paused .np-dot.is-active::after { animation: none !important; }
}

/* 10+ years badge + visible SEO title line */
.np-years { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; animation: np-rise 0.7s var(--np-ease) 0.05s backwards; }
.np-years-num { font: 900 46px/1 var(--np-serif); color: var(--np-blue); letter-spacing: -0.03em; padding-right: 14px; border-right: 3px solid var(--np-orange); }
.np-years-text { display: block; font: 500 13px/1.35 var(--np-sans); color: #4a4a4a; }
.np-years-text b { display: block; font: 800 12px/1.3 var(--np-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--np-ink); margin-bottom: 2px; }
.np-seo { display: block; max-width: 640px; text-wrap: balance; margin: 0 0 18px; font: 700 clamp(15px, 1.5vw, 19px)/1.4 var(--np-sans); letter-spacing: 0; text-transform: none; color: var(--np-ink); animation: np-rise 0.7s var(--np-ease) 0.1s backwards; }
@media (max-width: 560px) { .np-years-num { font-size: 38px; } .np-years-text { font-size: 12px; } }

/* new copy: motto + highlighted 10+ years */
.np-skilled { color: var(--np-ink); }
.np-strike { top: 82%; height: 0.14em; }
.np-line:nth-of-type(4) .np-line-in { animation-delay: 0.52s; }
.np-motto { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font: 800 13px/1 var(--np-sans); letter-spacing: 0.22em; text-transform: uppercase; animation: np-rise 0.8s var(--np-ease) 1.05s backwards; }
.np-motto span:nth-child(1) { color: var(--np-blue); }
.np-motto span:nth-child(2) { color: var(--np-ink); }
.np-motto span:nth-child(3) { color: #c77d00; }
.np-years { padding: 12px 20px 12px 16px; background: #FFF4D1; border: 1px solid #f3d98a; box-shadow: 4px 4px 0 var(--np-orange); width: fit-content; max-width: 100%; }
.np-years-num { font-size: 64px; position: relative; background: linear-gradient(transparent 62%, rgba(245,158,11,.5) 62% 94%, transparent 94%); padding-right: 16px; }
.np-years-text { font-size: 14px; color: #3d3a32; }
.np-years-text b { font-size: 13.5px; color: var(--np-ink); }
@media (max-width: 560px) { .np-years-num { font-size: 48px; } .np-years-text { font-size: 12.5px; } .np-motto { font-size: 11.5px; letter-spacing: 0.16em; } }

/* ---------- Fit the hero in one screen (desktop/laptop, any zoom level) ---------- */
@media (min-width: 961px) {
    .np-hero { min-height: calc(100vh - 78px); display: flex; align-items: center; padding-bottom: clamp(24px, 4vh, 64px); }
    .np-grid { width: 100%; padding-top: clamp(16px, 3vh, 48px); }
    .np-h1 { font-size: clamp(34px, min(6vw, 8vh), 82px); margin-bottom: clamp(14px, 2.4vh, 28px); }
    .np-seo { font-size: clamp(13px, min(1.5vw, 2.3vh), 19px); margin-bottom: clamp(8px, 1.6vh, 18px); }
    .np-years { margin-bottom: clamp(10px, 1.8vh, 18px); padding: clamp(6px, 1.2vh, 12px) 18px clamp(6px, 1.2vh, 12px) 14px; }
    .np-years-num { font-size: clamp(36px, 6.2vh, 64px); }
    .np-sub { font-size: clamp(14px, 2.1vh, 18px); margin-bottom: clamp(14px, 2.6vh, 32px); }
    .np-btn { padding: clamp(12px, 1.9vh, 16px) 26px; }
    .np-motto { margin-top: clamp(12px, 2.4vh, 24px); }
    .np-wall { padding-top: clamp(20px, 3vh, 34px); padding-bottom: clamp(48px, 7vh, 64px); }
}
@media (min-width: 961px) and (max-height: 760px) {
    .np-years-text { font-size: 12.5px; }
    .np-years-text b { font-size: 11.5px; }
    .np-paper { padding: 22px 26px 14px; }
    .np-paper-name { font-size: 32px; }
    .np-rule { margin: 8px 0 10px; }
    .np-title { font-size: 26px; min-height: calc(4 * 1.08em); }
    .np-body { font-size: 12.5px; min-height: calc(4 * 1.55em); padding-top: 8px; margin-bottom: 8px; }
    .np-kicker { margin-bottom: 8px; }
    .np-note { width: 140px; min-height: 112px; padding: 24px 10px 12px; }
    .np-note b { font-size: 30px; }
    .np-note small { font-size: 18px; }
}
@media (min-width: 961px) and (max-height: 640px) {
    .np-motto { display: none; }
}

/* ---------- Page turn (story area is a leaf hinged on the paper's left edge) ---------- */
.np-story { display: flow-root; }
.np-leaf, .np-cast { position: absolute; pointer-events: none; }
.np-leaf { z-index: 6; transform-origin: 0 50%; transform-style: preserve-3d; will-change: transform; }
.np-cast { z-index: 5; opacity: 0; background: linear-gradient(90deg, rgba(60, 42, 10, 0.34), rgba(60, 42, 10, 0.1) 45%, rgba(60, 42, 10, 0) 75%); }
.np-leaf-front, .np-leaf-back {
    position: absolute; inset: 0;
    box-sizing: border-box;
    overflow: hidden;
    background: var(--np-paper);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.np-leaf-shade { position: absolute; inset: 0; opacity: 0; background: linear-gradient(90deg, rgba(60, 42, 10, 0.5), rgba(60, 42, 10, 0.05) 70%, rgba(255, 255, 255, 0.35)); }
.np-leaf-back {
    transform: rotateY(180deg);
    background: linear-gradient(270deg, #efe8d0, #f6f1df 60%, #e9e1c6);
    box-shadow: inset 0 0 22px rgba(60, 42, 10, 0.18);
}
