:root{
  --bg: #f6f7fb;
  --panel: #ffffff;
  --card: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --line: rgba(17,24,39,.10);
  --shadow: 0 20px 60px rgba(17,24,39,.12);
  --radius: 18px;

  --brand: #f59e0b;   /* pineapple */
  --brand2:#fb7185;   /* warm accent */
  --link: #0f766e;    /* teal-ish */
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 700px at 10% -10%, rgba(245,158,11,.18), transparent 60%),
    radial-gradient(900px 700px at 110% 0%, rgba(251,113,133,.14), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img{ max-width:100%; display:block; }
a{ color: var(--link); text-decoration:none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); border:0;
}

.skip-link{
  position:absolute; left:-999px; top:10px;
  background:#111827; color:#fff;
  padding:10px 12px; border-radius:10px;
  z-index:9999;
}
.skip-link:focus{ left: 10px; }

/* =========================
   Header
   ========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  gap:16px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}
.brand-mark{
  width:46px;
  height:46px;
  border-radius: 12px;
  background: rgba(17,24,39,.03);
  padding:6px;
  box-shadow: 0 10px 30px rgba(17,24,39,.10);
}
.brand-text{ display:flex; flex-direction:column; gap:2px; }
.brand-name{
  font-family: Fraunces, serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: .2px;
}
.brand-tag{
  font-size: 12px;
  color: var(--muted);
}

/* Nav */
.nav{ margin-left:auto; display:flex; align-items:center; gap:12px; }
.nav-panel{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav-link{
  font-size: 14px;
  color: var(--text);
  opacity: .92;
  padding: 10px 10px;
  border-radius: 12px;
}
.nav-link:hover{
  text-decoration:none;
  background: rgba(17,24,39,.04);
}
.nav-link--cta{
  background: linear-gradient(135deg, rgba(245,158,11,.22), rgba(251,113,133,.14));
  border: 1px solid rgba(17,24,39,.10);
}

.header-cta{ display:block; }
.pill{
  display:flex;
  flex-direction:column;
  gap:2px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(17,24,39,.03);
  border: 1px solid rgba(17,24,39,.10);
  min-width: 150px;
}
.pill-kicker{ font-size: 11px; color: var(--muted); }
.pill-main{ font-weight: 700; color: var(--text); letter-spacing: .3px; }

/* Mobile nav toggle */
.nav-toggle{
  display:none;
  background: rgba(17,24,39,.03);
  border: 1px solid rgba(17,24,39,.10);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  cursor: pointer;
}
.nav-toggle-lines{
  display:block;
  width: 18px;
  height: 12px;
  margin: 0 auto;
  position: relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}
.nav-toggle-lines::before{ top:0; }
.nav-toggle-lines::after{ bottom:0; box-shadow: 0 -5px 0 0 var(--text); }

/* =========================
   Hero
   ========================= */
.hero{
  position: relative;
  min-height: 62vh;
  display:flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(246,247,251,.96) 0%, rgba(246,247,251,.78) 45%, rgba(246,247,251,.50) 70%, rgba(246,247,251,.28) 100%),
    url("https://www.pineappletextiles.co.uk/gifs/bag2019.jpg") center/cover no-repeat;
}
.hero-inner{
  position: relative;
  display:flex;
  align-items:center;
  padding: 64px 0;
}
.hero-card{
  width: min(720px, 100%);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(17,24,39,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.eyebrow{
  margin:0 0 10px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1{
  font-family: Fraunces, serif;
  margin:0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  color: var(--text);
}
.lead{
  margin: 0 0 18px;
  font-size: 16px;
  color: #1f2937;
  max-width: 60ch;
}

.hero-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,.14);
  background: rgba(255,255,255,.70);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  text-decoration:none;
  cursor:pointer;
}
.btn:hover{ text-decoration:none; transform: translateY(-1px); }
.btn-primary{
  background: linear-gradient(135deg, rgba(245,158,11,.95), rgba(251,113,133,.55));
  border: 1px solid rgba(17,24,39,.10);
  color:#111;
}
.btn-ghost{ background: rgba(255,255,255,.70); }

.hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-top: 16px;
}
.badge{
  font-size: 12px;
  color: #111827;
  border: 1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.65);
  padding: 6px 10px;
  border-radius: 999px;
}

/* =========================
   Sections
   ========================= */
.section{ padding: 56px 0; }
.section-alt{
  background: linear-gradient(180deg, rgba(17,24,39,.03), rgba(17,24,39,.00));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head{ margin-bottom: 18px; }
.section-head h2{
  margin: 0;
  font-family: Fraunces, serif;
  font-size: 28px;
}
.section-head p{
  margin: 8px 0 0;
  color: var(--muted);
}

/* =========================
   Cards grid (UPDATED: 2-across on mobiles, 1-across on very small)
   ========================= */
.cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.85);
  box-shadow: 0 16px 40px rgba(17,24,39,.10);
  transition: transform .15s ease, border-color .15s ease;
  color: inherit;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(17,24,39,.18);
  text-decoration:none;
}

/* UPDATED: show full image, no crop; add whitespace left/right */
.card img{
  width: 100%;
  height: 220px;          /* consistent tile height */
  object-fit: contain;    /* show entire image */
  background: #fff;       /* whitespace */
  padding: 10px;          /* breathing room */
}

.card-body{ padding: 14px; }
.card-body h3{ margin: 0 0 6px; font-size: 16px; color: var(--text); }
.card-body p{ margin:0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.note{
  margin-top: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.70);
  padding: 12px;
}
.note img{
  width: min(820px, 100%);
  margin: 0 auto;
  border-radius: 14px;
}

/* =========================
   Split section
   ========================= */
.split{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items:start;
}
.panel{
  border-radius: var(--radius);
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.85);
  padding: 18px;
}
.panel h3{ margin: 0 0 10px; font-size: 16px; color: var(--text); }
.checklist{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap: 8px;
}
.checklist li{
  position: relative;
  padding-left: 26px;
  color: #111827;
  font-size: 14px;
}
.checklist li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color: var(--brand);
  font-weight: 900;
}
.panel-foot{ margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 14px; }

/* =========================
   Chips
   ========================= */
.chip-row{ display:flex; flex-wrap:wrap; gap: 10px; }
.chip{
  display:inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.80);
  color: var(--text);
  font-size: 13px;
}
.chip:hover{ text-decoration:none; background: rgba(255,255,255,.95); }

/* =========================
   Media blocks
   ========================= */
.media{
  margin-top: 16px;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 16px 40px rgba(17,24,39,.10);
}
.media img{ width:100%; height:auto; }

/* =========================
   Logos marquee
   ========================= */
.logo-marquee{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.75);
  padding: 14px 0;
}

.logo-track{
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 18px;
  width: max-content;
  animation: logo-scroll 45s linear infinite;
}

.logo-marquee .logo-track:nth-child(2){
  position: absolute;
  left: 100%;              /* <-- key line */
  top: 14px;
}

.logo-track img{
  height: 42px;
  width: auto;
  opacity: .92;
}

@keyframes logo-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce){
  .logo-track{ animation: none; }
}


/* =========================
   Testimonial
   ========================= */
.testimonial{
  margin-top: 16px;
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius);
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.85);
  padding: 16px;
}
.quote p{ margin:0; }
.quote p:first-child{ font-size: 15px; color: var(--text); }
.quote-by{ margin-top: 6px !important; color: var(--muted); font-size: 13px; }

/* =========================
   CTA band
   ========================= */
.cta{ border-top: 1px solid rgba(17,24,39,.10); }
.cta-inner{
  display:flex;
  flex-wrap:wrap;
  gap: 14px;
  align-items:center;
  justify-content: space-between;
  border-radius: var(--radius);
  border: 1px solid rgba(17,24,39,.10);
  background: linear-gradient(135deg, rgba(245,158,11,.16), rgba(251,113,133,.10));
  padding: 18px;
}
.cta-inner h2{ margin:0; font-family: Fraunces, serif; }
.cta-inner p{ margin: 6px 0 0; color: var(--muted); }
.cta-actions{ display:flex; flex-wrap:wrap; gap: 10px; }

/* =========================
   Footer
   ========================= */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: rgba(255,255,255,.70);
}
.footer-inner{
  display:flex;
  flex-wrap:wrap;
  gap: 16px;
  justify-content: space-between;
}
.footer-title{
  margin:0 0 6px;
  font-family: Fraunces, serif;
  font-size: 18px;
}
.footer-meta{
  margin:0;
  color: var(--muted);
  font-size: 13px;
}

/* =========================
   Back to top
   ========================= */
.to-top{
  position: fixed;
  right: 16px;
  bottom: 16px;
  border-radius: 999px;
  padding: 12px 14px;
  border: 1px solid rgba(17,24,39,.14);
  background: rgba(255,255,255,.88);
  color: var(--text);
  box-shadow: 0 12px 30px rgba(17,24,39,.12);
  cursor:pointer;
}
.to-top:hover{ transform: translateY(-1px); }

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  .header-cta{ display:none; }
  .split{ grid-template-columns: 1fr; }
}

/* UPDATED: 2 across on tablets + normal mobiles */
@media (max-width: 900px){
  .cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card img{ height: 210px; }
}

/* UPDATED: only very small screens go 1 across */
@media (max-width: 480px){
  .cards{ grid-template-columns: 1fr; }
  .card img{ height: 220px; }
}

@media (max-width: 760px){
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .nav-panel{
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display:none;
    flex-direction:column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(17,24,39,.12);
    box-shadow: var(--shadow);
  }
  .nav-panel.is-open{ display:flex; }
  .nav-link{ padding: 12px; }
  .hero-inner{ padding: 44px 0; }
  .hero-card{ padding: 18px; }
}
