/*
Theme Name: NEXLiQ
Version: 1.0.0
Description: NEXLiQ responsive brand website. Use with NEXLiQ Content.
Text Domain: nexliq
Requires PHP: 8.0
*/

    :root {
      --pink: oklch(0.69 0.27 350);
      --pink-dark: oklch(0.57 0.25 350);
      --ink: oklch(0.13 0.01 340);
      --paper: oklch(0.98 0 0);
      --white: oklch(1 0 0);
      --yellow: oklch(0.9 0.18 100);
      --muted: oklch(0.54 0.01 340);
      --ease: cubic-bezier(.16, 1, .3, 1);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      min-width: 320px;
      color: var(--ink);
      background: var(--paper);
      font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
      overflow-x: hidden;
    }
    img { display: block; max-width: 100%; }
    a { color: inherit; }
    button { font: inherit; }
    :focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }

    .warning-bar {
      min-height: 44px;
      padding: 10px 4vw;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      background: var(--ink);
      color: var(--white);
      font-family: Arial, Helvetica, sans-serif;
      font-size: .8rem;
      font-weight: 800;
      line-height: 1.25;
      text-align: center;
    }
    .warning-bar strong {
      color: var(--pink);
      font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
      font-size: 1.15rem;
      letter-spacing: .03em;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 20;
      min-height: 76px;
      padding: 12px clamp(18px, 4vw, 64px);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      background: color-mix(in oklch, var(--pink) 94%, transparent);
      border-bottom: 3px solid var(--ink);
      backdrop-filter: blur(12px);
    }
    .brand {
      display: block;
      width: clamp(156px, 18vw, 240px);
      height: 46px;
      overflow: hidden;
    }
    .brand img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      mix-blend-mode: multiply;
    }
    .nav {
      display: flex;
      align-items: center;
      gap: clamp(16px, 3vw, 40px);
    }
    .nav a {
      font-size: 1rem;
      line-height: 1;
      text-decoration: none;
      text-transform: uppercase;
    }
    .nav a:last-child {
      padding: 12px 18px 10px;
      background: var(--ink);
      color: var(--white);
      transform: rotate(-1deg);
      transition: transform .25s var(--ease), background .25s ease;
    }
    .nav a:last-child:hover { transform: rotate(1deg) translateY(-2px); background: var(--pink-dark); }

    .hero {
      position: relative;
      min-height: calc(100svh - 120px);
      display: grid;
      grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
      background: var(--pink);
      border-bottom: 10px solid var(--ink);
      overflow: hidden;
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .15;
      pointer-events: none;
      background-image:
        linear-gradient(115deg, transparent 42%, var(--ink) 42.2%, transparent 42.8%),
        radial-gradient(circle at 20% 30%, var(--white) 0 2px, transparent 3px),
        radial-gradient(circle at 75% 80%, var(--ink) 0 1px, transparent 2px);
      background-size: 100% 100%, 31px 31px, 23px 23px;
    }
    .hero-copy {
      position: relative;
      z-index: 2;
      padding: clamp(50px, 8vw, 120px) clamp(24px, 6vw, 96px);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
    }
    .stamp {
      margin: 0 0 26px;
      padding: 9px 16px 7px;
      color: var(--white);
      background: var(--ink);
      font-size: clamp(1rem, 1.6vw, 1.35rem);
      line-height: 1;
      text-transform: uppercase;
      transform: rotate(-2deg);
      box-shadow: 8px 8px 0 color-mix(in oklch, var(--white) 80%, transparent);
    }
    h1 {
      max-width: 9ch;
      margin: 0;
      font-size: clamp(4rem, 9vw, 5.8rem);
      font-weight: 900;
      line-height: .84;
      letter-spacing: -.025em;
      text-transform: uppercase;
      text-wrap: balance;
    }
    h1 .outline {
      display: block;
      color: var(--pink);
      -webkit-text-stroke: 3px var(--ink);
      paint-order: stroke fill;
    }
    .hero-summary {
      max-width: 35rem;
      margin: 30px 0 34px;
      font-family: Arial, Helvetica, sans-serif;
      font-size: clamp(1rem, 1.6vw, 1.25rem);
      font-weight: 700;
      line-height: 1.5;
      text-wrap: pretty;
    }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .button {
      min-height: 52px;
      padding: 16px 22px 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 3px solid var(--ink);
      background: var(--ink);
      color: var(--white);
      font-size: 1.05rem;
      line-height: 1;
      text-decoration: none;
      text-transform: uppercase;
      box-shadow: 7px 7px 0 var(--white);
      transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    }
    .button:hover { transform: translate(3px, 3px); box-shadow: 4px 4px 0 var(--white); }
    .button.alt { background: var(--white); color: var(--ink); box-shadow: none; }

    .hero-art {
      position: relative;
      min-height: 640px;
      background: var(--ink);
      clip-path: polygon(8% 0, 100% 0, 100% 100%, 3% 100%, 8% 94%, 3% 88%, 8% 81%, 2% 73%, 7% 65%, 1% 56%, 7% 48%, 2% 39%, 8% 31%, 2% 22%, 7% 14%, 2% 7%);
    }
    .hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
    .hero-badge {
      position: absolute;
      right: clamp(18px, 4vw, 54px);
      bottom: clamp(18px, 4vw, 54px);
      width: 150px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      padding: 20px;
      border-radius: 50%;
      border: 4px solid var(--ink);
      background: var(--yellow);
      color: var(--ink);
      font-size: 1.55rem;
      line-height: .95;
      text-align: center;
      text-transform: uppercase;
      transform: rotate(8deg);
      box-shadow: 8px 8px 0 var(--pink);
    }

    .ticker {
      padding: 15px 0 12px;
      overflow: hidden;
      background: var(--white);
      border-bottom: 4px solid var(--ink);
      white-space: nowrap;
    }
    .ticker-track {
      display: inline-flex;
      gap: 28px;
      min-width: max-content;
      animation: ticker 24s linear infinite;
    }
    .ticker span { font-size: 1.25rem; text-transform: uppercase; }
    .ticker b { color: var(--pink); }
    @keyframes ticker { to { transform: translateX(-50%); } }

    .intro {
      padding: clamp(70px, 10vw, 150px) clamp(22px, 6vw, 96px);
      display: grid;
      grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
      gap: clamp(36px, 8vw, 120px);
      align-items: center;
      background: var(--ink);
      color: var(--white);
    }
    .intro-visual {
      position: relative;
      max-width: 560px;
      margin: 0 auto;
      transform: rotate(-2deg);
    }
    .intro-visual::after, .nexliq-added-image[data-badge]::after {
      content: "PROUDLY BRITISH MADE";
      position: absolute;
      right: -26px;
      bottom: 28px;
      padding: 12px 16px 10px;
      background: var(--pink);
      color: var(--ink);
      font-size: clamp(1.1rem, 2vw, 1.6rem);
      transform: rotate(4deg);
      box-shadow: 8px 8px 0 var(--white);
    }
    /* Override WordPress attachment height so the artwork keeps the original crop. */
    .intro-visual img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
    .intro h2, .flavours h2, .contact h2 {
      margin: 0;
      font-size: clamp(3rem, 7vw, 5.6rem);
      line-height: .9;
      letter-spacing: -.02em;
      text-transform: uppercase;
      text-wrap: balance;
    }
    .intro h2 em { color: var(--pink); font-style: normal; }
    .intro p {
      max-width: 38rem;
      margin: 28px 0 0;
      font-family: Arial, Helvetica, sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      line-height: 1.65;
      text-wrap: pretty;
    }
    .facts {
      margin-top: 40px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }
    .facts span {
      padding: 11px 14px 9px;
      border: 2px solid var(--white);
      color: var(--white);
      font-size: .95rem;
      text-transform: uppercase;
    }

    .flavours {
      padding: clamp(70px, 9vw, 130px) clamp(18px, 5vw, 80px) clamp(80px, 11vw, 160px);
      background: var(--pink);
    }
    .section-head {
      max-width: 1500px;
      margin: 0 auto clamp(42px, 6vw, 76px);
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 36px;
    }
    .section-head h2 { max-width: 8ch; }
    .section-head p {
      max-width: 34rem;
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      font-size: 1rem;
      font-weight: 800;
      line-height: 1.55;
      text-wrap: pretty;
    }
    .flavour-grid {
      max-width: 1500px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: clamp(12px, 1.6vw, 24px);
    }
    .flavour {
      --accent: var(--yellow);
      position: relative;
      height: clamp(420px, 34vw, 520px);
      padding: 0;
      overflow: hidden;
      border: 3px solid var(--ink);
      border-radius: 0;
      background: var(--paper);
      color: var(--ink);
      cursor: pointer;
      box-shadow: 8px 8px 0 var(--ink);
      transform: rotate(var(--tilt, 0deg));
      transition: transform .45s var(--ease), box-shadow .45s var(--ease);
      isolation: isolate;
    }
    .flavour:nth-child(4n+1) { --tilt: -.45deg; }
    .flavour:nth-child(4n+3) { --tilt: .45deg; }
    .flavour:hover, .flavour:focus-visible, .flavour.is-active {
      z-index: 4;
      transform: translateY(-10px) rotate(0deg);
      box-shadow: 12px 18px 0 color-mix(in oklch, var(--ink) 90%, transparent);
    }
    .flavour img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center top;
      transition: transform .55s var(--ease), filter .55s var(--ease);
    }
    .flavour:hover img, .flavour:focus-visible img, .flavour.is-active img { transform: scale(1.035); filter: saturate(.6) contrast(1.12); }
    .flavour-info {
      position: absolute;
      inset: auto 0 0;
      min-height: 46%;
      padding: 28px 22px 22px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: flex-start;
      background: var(--accent);
      border-top: 3px solid var(--ink);
      transform: translateY(calc(100% - 56px));
      transition: transform .48s var(--ease);
    }
    .flavour:hover .flavour-info, .flavour:focus-visible .flavour-info, .flavour.is-active .flavour-info { transform: translateY(0); }
    .flavour-name {
      max-width: 12ch;
      font-size: clamp(1.1rem, 1.7vw, 1.6rem);
      line-height: .96;
      text-align: left;
      text-transform: uppercase;
      text-wrap: balance;
    }
    .flavour-note {
      margin-top: 14px;
      font-family: Arial, Helvetica, sans-serif;
      font-size: .92rem;
      font-weight: 800;
      line-height: 1.35;
      text-align: left;
    }
    .flavour-hint {
      position: absolute;
      right: 14px;
      bottom: 14px;
      font-family: Arial, Helvetica, sans-serif;
      font-size: .75rem;
      font-weight: 900;
      text-transform: uppercase;
    }

    .contact {
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      min-height: 650px;
      background: var(--white);
      border-top: 10px solid var(--ink);
    }
    .contact-copy {
      padding: clamp(70px, 9vw, 130px) clamp(24px, 7vw, 110px);
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .contact-copy h2 { max-width: 8ch; }
    .contact-copy > p {
      max-width: 36rem;
      margin: 28px 0 42px;
      font-family: Arial, Helvetica, sans-serif;
      font-size: 1.08rem;
      font-weight: 700;
      line-height: 1.6;
    }
    .managers { display: flex; flex-wrap: wrap; gap: 16px; }
    .manager {
      flex: 1 1 230px;
      padding: 22px;
      border: 3px solid var(--ink);
      background: var(--white);
      box-shadow: 7px 7px 0 var(--pink);
    }
    .manager h3 { margin: 0 0 10px; font-size: 1.45rem; line-height: 1; text-transform: uppercase; }
    .manager p, .manager a {
      margin: 4px 0;
      font-family: Arial, Helvetica, sans-serif;
      font-size: .98rem;
      font-weight: 700;
      line-height: 1.45;
    }
    .manager a { display: block; text-decoration-thickness: 2px; text-underline-offset: 3px; }
    .contact-art { position: relative; min-height: 520px; overflow: hidden; background: var(--pink); }
    .contact-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: contrast(1.05) saturate(1.08); }
    .contact-art::after, .nexliq-added-image[data-banner]::after {
      content: "20 FLAVOURS → ONE BOLD RANGE";
      position: absolute;
      left: -10px;
      right: -10px;
      bottom: 8%;
      padding: 16px 20px 13px;
      background: var(--ink);
      color: var(--white);
      font-size: clamp(1.3rem, 3vw, 2.4rem);
      line-height: 1;
      text-align: center;
      transform: rotate(-3deg);
    }

    footer {
      padding: 28px clamp(20px, 5vw, 80px) 34px;
      background: var(--ink);
      color: var(--white);
    }
    .footer-main {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .footer-logo { font-size: 2rem; text-transform: uppercase; }
    .footer-logo b { color: var(--pink); }
    footer p {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      font-size: .85rem;
      font-weight: 700;
      line-height: 1.5;
      text-align: right;
    }
    .nicotine-warning {
      margin-top: 22px;
      padding-top: 20px;
      border-top: 1px solid oklch(1 0 0 / .32);
      font-family: Arial, Helvetica, sans-serif;
      font-size: 1rem;
      font-weight: 900;
      text-align: center;
    }

    @media (max-width: 1100px) {
      .hero { grid-template-columns: 1fr 42%; }
      .hero-copy { padding-inline: 5vw; }
      .flavour-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      .flavour { height: 480px; }
    }

    @media (max-width: 820px) {
      .site-header { min-height: 68px; }
      .nav a:not(:last-child) { display: none; }
      .hero { min-height: auto; grid-template-columns: 1fr; }
      .hero-copy { min-height: 650px; padding: 68px 24px 74px; }
      .hero-art { min-height: 620px; clip-path: polygon(0 5%, 8% 2%, 16% 6%, 25% 2%, 34% 6%, 44% 2%, 54% 6%, 64% 2%, 74% 6%, 84% 2%, 93% 6%, 100% 3%, 100% 100%, 0 100%); }
      .intro { grid-template-columns: 1fr; }
      .intro-visual { width: min(100%, 480px); }
      .section-head { align-items: flex-start; flex-direction: column; }
      .flavour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .contact { grid-template-columns: 1fr; }
      .contact-art { min-height: 650px; }
    }

    @media (max-width: 520px) {
      .warning-bar { font-size: .72rem; }
      .site-header { padding-inline: 16px; }
      .brand { width: 138px; }
      .nav a:last-child { padding-inline: 12px; font-size: .9rem; }
      h1 { font-size: clamp(3.45rem, 18vw, 5rem); }
      .hero-summary { font-size: 1rem; }
      .hero-actions { width: 100%; }
      .button { width: 100%; }
      .hero-art { min-height: 540px; }
      .hero-badge { width: 120px; font-size: 1.2rem; }
      .intro { padding-inline: 20px; }
      .intro-visual::after, .nexliq-added-image[data-badge]::after { right: -4px; bottom: 18px; }
      .flavours { padding-inline: 14px; }
      .flavour-grid { gap: 11px; }
      .flavour { height: 430px; }
      .flavour { box-shadow: 5px 5px 0 var(--ink); }
      .flavour-info { padding: 18px 14px 15px; transform: translateY(calc(100% - 45px)); }
      .flavour-name { font-size: 1rem; }
      .flavour-note { font-size: .8rem; }
      .flavour-hint { display: none; }
      .contact-copy { padding-inline: 20px; }
      .contact-art { min-height: 520px; }
      .footer-main { align-items: flex-start; flex-direction: column; }
      footer p { text-align: left; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
      .ticker-track { transform: none; }
    }
  
/* WordPress integration and additional-page layouts. */
.intro-visual::after, .nexliq-added-image[data-badge]::after { content: attr(data-badge); text-transform: uppercase; }
.flavour:hover .flavour-hint, .flavour:focus-visible .flavour-hint, .flavour.is-active .flavour-hint { visibility: hidden; }
.contact-art::after, .nexliq-added-image[data-banner]::after { content: attr(data-banner); text-transform: uppercase; }
section[id] { scroll-margin-top: 100px; }
.admin-bar .site-header { top: 32px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 99999; padding: 16px; background: #fff; color: #111; }
.skip-link:focus { top: 40px; }
.content-page { min-height: 60vh; max-width: 1120px; margin: auto; padding: 70px 24px; }
.content-page h1 { max-width: none; font-size: clamp(2.8rem, 7vw, 5rem); margin-bottom: 36px; line-height: 1; }
.content-page article + article { margin-top: 48px; }
.entry-content, .content-page p, .content-page .pagination { font-family: Arial, sans-serif; font-size: 1.1rem; line-height: 1.7; }
.entry-content img { height: auto; }
.product-detail img { max-height: 550px; width: auto; }
.manager a { overflow-wrap: anywhere; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Landscape campaign artwork: show the complete banner before the introduction. */
.hero-wide { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.hero-wide .hero-art { order: -1; min-height: 0; clip-path: none; z-index: 1; }
.hero-wide .hero-art img { width: 100%; height: auto; object-fit: contain; }
.hero-wide .hero-copy { min-height: 0; padding: 44px 24px 52px; align-items: center; text-align: center; }
.hero-wide h1 { max-width: none; font-size: clamp(2.8rem, 5vw, 4.5rem); line-height: 1; }
.hero-wide h1 .outline { display: inline; }
.hero-wide .stamp { margin-bottom: 22px; }
.hero-wide .hero-summary { max-width: 48rem; margin: 22px 0 26px; }
.hero-wide .hero-actions { justify-content: center; }
@media (max-width: 520px) {
  .hero-wide .hero-copy { padding: 32px 20px 40px; }
  .hero-wide h1 .outline { display: block; }
}
.nexliq-added-section { padding: 64px 24px; }
.nexliq-added-section.intro { display: block; }
.nexliq-added-section.intro > .nexliq-added-inner { width: 100%; }
.nexliq-added-inner { max-width: 1400px; margin: 0 auto; font-family: Arial, Helvetica, sans-serif; }
.nexliq-added-inner :is(h1, h2, h3, h4, h5, h6) { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif; }
.nexliq-added-inner h2 { color: inherit; font-size: clamp(2rem, 4vw, 3.5rem); margin: 0 0 24px; }
.nexliq-added-inner p { line-height: 1.7; }
.nexliq-added-inner a { color: inherit; text-decoration: underline; overflow-wrap: anywhere; }
.nexliq-added-image img { display: block; width: 100%; height: auto; }
.nexliq-layout-split, .nexliq-layout-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.nexliq-layout-columns { align-items: start; }
.nexliq-layout-split.nexliq-image-right .nexliq-added-image { order: 2; }
.nexliq-added-copy { min-width: 0; overflow-wrap: anywhere; }
.nexliq-added-contacts { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 24px; }
@media (max-width: 767px) { .nexliq-added-section { padding: 40px 20px; } .nexliq-layout-split, .nexliq-layout-columns { grid-template-columns: 1fr; gap: 24px; } .nexliq-layout-split.nexliq-image-right .nexliq-added-image { order: 0; } }

.nexliq-added-image { position: relative; min-width: 0; }
.nexliq-added-image[data-badge]::after, .nexliq-added-image[data-banner]::after { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif; max-width: calc(100% - 16px); overflow-wrap: anywhere; }
