
:root {
  --ink: #102033;
  --muted: #5e6a77;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --soft-2: #eaf0f7;
  --line: #d8e1ec;
  --brand: #0d4c92;
  --brand-2: #083564;
  --accent: #f5b400;
  --accent-2: #ffe69a;
  --success: #1d7a5f;
  --shadow: 0 20px 50px rgba(16, 32, 51, 0.12);
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { left: 1rem; top: 1rem; width: auto; height: auto; padding: .7rem 1rem; background: var(--ink); color: #fff; z-index: 9999; border-radius: 8px; }
.topbar {
  background: var(--brand-2);
  color: #fff;
  font-size: .93rem;
}
.topbar__inner, .nav__inner, .container, .footer__inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.nav { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: .7rem; font-weight: 900; text-decoration: none; font-size: 1.05rem; letter-spacing: -.02em; }
.logo__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: var(--shadow); }
.logo__small { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.nav__links { display: flex; align-items: center; gap: .28rem; }
.nav__links a { text-decoration: none; padding: .65rem .72rem; border-radius: 999px; font-weight: 750; color: #23384f; font-size: .94rem; }
.nav__links a:hover, .nav__links a[aria-current="page"] { background: var(--soft-2); color: var(--brand-2); }
.nav__cta { background: var(--accent) !important; color: #221800 !important; box-shadow: 0 10px 20px rgba(245,180,0,.25); }
.menu-btn { display: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .65rem .85rem; font-weight: 800; }
.hero { position: relative; overflow: hidden; min-height: calc(100svh - 112px); display: flex; align-items: stretch; color: #fff; background: linear-gradient(90deg, rgba(7,30,56,.94), rgba(7,30,56,.58)), url("../img/case-taper-product-hero.jpg") center / cover no-repeat; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; z-index: 0; filter: saturate(1.05) contrast(1.04); }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,30,56,.94) 0%, rgba(7,30,56,.75) 42%, rgba(7,30,56,.34) 70%, rgba(7,30,56,.72) 100%), radial-gradient(circle at 78% 24%, rgba(245,180,0,.34), transparent 30%); }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .62fr); gap: 3rem; align-items: center; min-height: calc(100svh - 112px); padding: clamp(42px, 7vh, 84px) 0; }
.hero__copy { max-width: 800px; }
.hero .eyebrow { color: var(--accent-2); }
.hero h1 { color: #fff; text-shadow: 0 3px 28px rgba(0,0,0,.38); }
.hero .lede { color: #eaf2fb; }
.hero .btn--ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.34); color: #fff; }
.hero .keyword-row span { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.24); color: #fff; }
.eyebrow { color: var(--brand); text-transform: uppercase; letter-spacing: .14em; font-weight: 900; font-size: .82rem; margin: 0 0 .8rem; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.55rem, 5.8vw, 5.3rem); margin: 0 0 1rem; }
h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); margin: 0 0 1rem; }
h3 { font-size: 1.28rem; margin: 0 0 .65rem; }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.1rem, 1.65vw, 1.3rem); color: #30465b; max-width: 68ch; }
.btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.35rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: .8rem 1.15rem; border-radius: 999px; text-decoration: none; font-weight: 900; border: 1px solid transparent; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 24px rgba(13,76,146,.25); }
.btn--accent { background: var(--accent); color: #221800; box-shadow: 0 12px 24px rgba(245,180,0,.25); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--brand-2); }
.keyword-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.keyword-row span { display: inline-flex; padding: .48rem .7rem; border: 1px solid var(--line); background: rgba(255,255,255,.74); border-radius: 999px; color: #244057; font-weight: 800; font-size: .88rem; }
.hero-card { background: var(--paper); border: 1px solid var(--line); border-radius: 30px; padding: 1.35rem; box-shadow: var(--shadow); }
.hero-card--glass { background: rgba(7,30,56,.72); border-color: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(14px); }
.hero-card--glass h2 { font-size: clamp(1.4rem, 2.4vw, 2.05rem); margin-bottom: .75rem; }
.hero-card--glass p { color: #eaf2fb; }
.hero-card--glass .hero-card__list { grid-template-columns: 1fr; }
.hero-card--glass .stat { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.18); }
.hero-card--glass .stat strong { color: #fff; }
.hero-card--glass .stat span { color: #d9e5f2; }
.hero-card__actions { margin-top: 1rem; }
.hero-card__list { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .75rem; margin-top: .9rem; }
.stat { background: var(--soft); border: 1px solid var(--line); border-radius: 18px; padding: .9rem; }
.stat strong { display: block; font-size: 1.1rem; }
.stat span { display: block; color: var(--muted); font-size: .88rem; }
.section { padding: 74px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: linear-gradient(135deg, var(--brand-2), #071e38); color: #fff; }
.section--dark .muted, .section--dark .lede { color: #d9e5f2; }
.section-head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 1.7rem; }
.section-head p { max-width: 68ch; color: var(--muted); }
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; box-shadow: 0 8px 26px rgba(16,32,51,.055); }
.card--link { text-decoration: none; display: block; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.card--link:hover { transform: translateY(-3px); border-color: rgba(13,76,146,.35); box-shadow: var(--shadow); }
.badge { display: inline-flex; align-items: center; padding: .35rem .58rem; border-radius: 999px; font-size: .78rem; font-weight: 900; background: var(--soft-2); color: var(--brand-2); margin-bottom: .8rem; }
.card ul, .checklist { margin: .9rem 0 0; padding: 0; list-style: none; }
.card li, .checklist li { position: relative; padding-left: 1.55rem; margin: .45rem 0; color: #364b5f; }
.card li:before, .checklist li:before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 900; }
.spec-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); gap: 1.2rem; align-items: start; }
.callout { background: var(--paper); color: var(--ink); border: 1px solid rgba(255,255,255,.2); border-radius: 26px; padding: 1.35rem; box-shadow: var(--shadow); }
.callout--blue { background: linear-gradient(135deg, #f8fbff, #edf5ff); border: 1px solid #cfe0f4; }
.steps { counter-reset: step; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: start; }
.step + .step { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.step__num { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 900; }
.long-copy { max-width: 920px; }
.long-copy h2 { margin-top: 2rem; }
.long-copy h3 { margin-top: 1.4rem; }
.long-copy p, .muted { color: var(--muted); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; }
.faq details + details { margin-top: .75rem; }
.faq summary { cursor: pointer; font-weight: 900; color: var(--brand-2); }
.faq p { margin-top: .8rem; color: var(--muted); }
.breadcrumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.1rem; }
.breadcrumbs a { color: var(--brand); text-decoration: none; font-weight: 800; }
.page-hero { background: linear-gradient(135deg, #f7fbff, #fff8df); padding: 56px 0; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.25rem, 4.8vw, 4.5rem); }
.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .65fr); gap: 2rem; align-items: start; }
.sticky-card { position: sticky; top: 96px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { text-align: left; padding: .95rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); color: var(--brand-2); }
tr:last-child td { border-bottom: 0; }
.footer { background: #071e38; color: #eaf2fb; padding: 48px 0 22px; }
.footer a { color: #fff; text-decoration: none; }
.footer__inner { display: grid; grid-template-columns: 1.2fr .8fr .8fr .9fr; gap: 2rem; }
.footer h3 { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: .44rem 0; }
.footer__bottom { width: min(var(--max), calc(100% - 32px)); margin: 32px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: #b8c9da; font-size: .9rem; }
.notice { border-left: 5px solid var(--accent); background: #fff9e6; padding: 1rem; border-radius: 14px; color: #3f3100; }
.contact-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.contact-tile { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; }
.contact-tile strong { display: block; color: var(--brand-2); }
@media (max-width: 980px) {
  .hero .container, .spec-panel, .two-col { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .section-head { display: block; }
  .sticky-card { position: static; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .nav__links { display: none; position: absolute; left: 16px; right: 16px; top: 82px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: .7rem; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav__links.is-open { display: flex; }
  .nav__links a { border-radius: 12px; }
  .grid--2, .grid--3, .grid--4, .contact-strip { grid-template-columns: 1fr; }
  .hero-card__list { grid-template-columns: 1fr; }
  .hero { min-height: calc(100svh - 104px); }
  .hero .container { min-height: calc(100svh - 104px); padding: 42px 0; }
  .hero-card--glass { display: none; }
  .section { padding: 54px 0; }
  .footer__inner { grid-template-columns: 1fr; }
  .topbar__inner { display: block; }
  .topbar__inner span { display: block; margin-bottom: .25rem; }
}


/* Image and local-preview enhancements */
.hero-image { margin: 0; min-height: 310px; border-radius: 22px; overflow: hidden; background: #f4f7fb; border: 1px solid var(--line); }
.hero-image img { display: block; width: 100%; height: 100%; min-height: 310px; object-fit: cover; }
.card-media { margin: -1.2rem -1.2rem 1rem; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--line); }
.card-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.page-hero .page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr); gap: 2rem; align-items: center; }
.page-hero__image { margin: 0; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.page-hero__image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 980px) { .page-hero .page-hero__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }

/* Viewport-fit hero and product-image update */
:root { --masthead-height: 112px; }
.hero {
  min-height: calc(100svh - var(--masthead-height));
  height: calc(100svh - var(--masthead-height));
  max-height: calc(100svh - var(--masthead-height));
  background: linear-gradient(90deg, rgba(7,30,56,.94), rgba(7,30,56,.58)), url("../img/case-taper-product-hero.jpg") center / cover no-repeat;
}
.hero .container {
  min-height: 100%;
  height: 100%;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, .58fr);
  gap: clamp(1.25rem, 3vw, 2.35rem);
  padding: clamp(18px, 4vh, 44px) 0;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 4.75rem);
  margin-bottom: .8rem;
}
.hero .lede {
  font-size: clamp(1.04rem, 1.35vw, 1.2rem);
  max-width: 60ch;
}
.hero .btns { margin-top: 1.05rem; }
.hero .keyword-row { margin-top: 1rem; }
.hero-product {
  align-self: center;
  background: rgba(7,30,56,.72);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 30px;
  box-shadow: var(--shadow);
  color: #fff;
  padding: .85rem;
  backdrop-filter: blur(14px);
  max-height: min(70vh, 560px);
  overflow: hidden;
}
.hero-product__figure { margin: 0; }
.hero-product img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  border-radius: 22px;
}
.hero-product figcaption {
  color: #eaf2fb;
  font-weight: 850;
  font-size: .9rem;
  line-height: 1.35;
  padding: .7rem .25rem 0;
}
.hero-product__specs {
  display: grid;
  gap: .45rem;
  margin-top: .75rem;
}
.hero-product__specs span {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: .55rem .68rem;
}
.hero-product__specs strong { font-size: .9rem; }
.hero-product__specs em {
  color: #d9e5f2;
  font-style: normal;
  font-size: .84rem;
  text-align: right;
}

@media (max-height: 760px) and (min-width: 981px) {
  :root { --masthead-height: 104px; }
  .topbar__inner { padding: .36rem 0; }
  .nav__inner { min-height: 70px; }
  .hero .container { padding: 16px 0; gap: 1.35rem; }
  .hero h1 { font-size: clamp(2.05rem, 4.25vw, 4rem); }
  .hero .lede { font-size: 1.02rem; }
  .hero .btns { margin-top: .82rem; }
  .hero .keyword-row { margin-top: .75rem; }
  .keyword-row span { padding: .35rem .58rem; }
  .btn { min-height: 42px; padding: .65rem 1rem; }
  .hero-product { max-height: calc(100svh - var(--masthead-height) - 36px); }
  .hero-product img { aspect-ratio: 16 / 10; }
  .hero-product figcaption { font-size: .82rem; padding-top: .5rem; }
  .hero-product__specs { gap: .32rem; margin-top: .55rem; }
  .hero-product__specs span { padding: .42rem .55rem; }
}

@media (max-width: 980px) {
  .hero {
    height: auto;
    max-height: none;
    min-height: calc(100svh - var(--masthead-height));
  }
  .hero .container {
    height: auto;
    min-height: calc(100svh - var(--masthead-height));
    grid-template-columns: 1fr;
    padding: 40px 0;
  }
  .hero-product { max-width: 560px; max-height: none; }
}

@media (max-width: 760px) {
  .hero .container { padding: 34px 0; }
  .hero h1 { font-size: clamp(2.05rem, 11vw, 3.15rem); }
  .hero-product { display: none; }
}


/* PHP quote form */
.quote-form { display: grid; gap: 1rem; margin-top: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.form-field { display: grid; gap: .35rem; color: var(--brand-2); font-weight: 900; }
.form-field span { color: #a23618; }
.form-field--full { grid-column: 1 / -1; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .82rem .9rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  outline: none;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(13,76,146,.12);
}
.form-field textarea { resize: vertical; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note { color: var(--muted); font-size: .9rem; margin: -.35rem 0 0; }
.form-status { border-radius: 14px; padding: .85rem 1rem; font-weight: 850; margin: .85rem 0; }
.form-status--success { background: #eaf8f2; border: 1px solid #bfe7d6; color: #135b46; }
.form-status--error { background: #fff1ed; border: 1px solid #ffd0c2; color: #8b2c12; }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; } }
/* Lancing brand links: visible text is unchanged; this keeps the footer styling identical. */
.footer__brand-link { color: inherit !important; text-decoration: none !important; font-weight: inherit; }
.footer__brand-link:hover, .footer__brand-link:focus { text-decoration: underline; }

/* Additive SEO engineering content (2026-07-26). Scoped so existing regions remain unchanged. */
.seo-enhancement .seo-copy-gap { margin-top: 1.6rem; }
.seo-enhancement .seo-media { margin: 0; overflow: hidden; }
.seo-enhancement .seo-media img,
.seo-enhancement .seo-video { display: block; width: 100%; height: auto; border-radius: 14px; background: var(--soft); }
.seo-enhancement .seo-caption { display: block; margin-top: .8rem; color: var(--muted); font-size: .92rem; }
.seo-enhancement .seo-formula { background: var(--soft); border-left: 4px solid var(--brand); border-radius: 12px; padding: .85rem 1rem; color: var(--ink); }
.seo-enhancement .card > a:not(.btn) { color: var(--brand); font-weight: 850; text-decoration-thickness: .08em; text-underline-offset: .16em; }


/* Final mega SEO additions (2026-07-29). Narrowly scoped to new content only. */
[data-final-mega-seo="2026-07-29"] .two-col > *,
[data-final-mega-seo="2026-07-29"] .spec-panel > * { min-width: 0; }
[data-final-mega-seo="2026-07-29"] .table-wrap { width: 100%; max-width: 100%; }

/* AI-search and buyer-question additions (2026-07-30). Scoped to new content only. */
.ai-search-addition [data-buyer-question],
.ai-question-page [data-buyer-question] { scroll-margin-top: 104px; }
.ai-search-addition .ai-answer-grid { margin-top: 1.5rem; }
.ai-search-addition .ai-answer-card h3 { font-size: 1.22rem; }
.ai-search-addition .ai-answer-card p:last-child { margin-bottom: 0; }
.ai-search-addition .ai-answer-links { margin-top: 1.35rem; }
.ai-search-addition .ai-answer-links a { color: var(--brand); font-weight: 850; text-underline-offset: .16em; }
.ai-question-page .direct-answer { border-left: 5px solid var(--brand); background: #f7fbff; padding: 1.15rem 1.2rem; border-radius: 16px; margin: 0 0 1.4rem; }
.ai-question-page .direct-answer strong { color: var(--brand-2); }
.ai-question-page .question-block { padding-top: .15rem; }
.ai-question-page .question-block + .question-block { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.ai-question-page .question-block h2 { font-size: clamp(1.7rem, 2.8vw, 2.45rem); }
.ai-question-page .related-question-list { display: grid; gap: .7rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.ai-question-page .related-question-list li { margin: 0; }
.ai-question-page .related-question-list a { display: block; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--brand-2); font-weight: 850; text-decoration: none; }
.ai-question-page .related-question-list a:hover,
.ai-question-page .related-question-list a:focus { border-color: rgba(13,76,146,.45); box-shadow: 0 8px 20px rgba(16,32,51,.06); }
.ai-question-hub .question-topic-card h2 { font-size: 1.45rem; }
.ai-question-hub .question-topic-card p { color: var(--muted); }
.ai-question-hub .question-topic-card ul { margin-bottom: 0; }
.ai-question-page .two-col > * { min-width: 0; }
.ai-question-page .table-wrap { width: 100%; max-width: 100%; }
.ai-question-page .table-wrap table { min-width: 680px; }
@media (max-width: 760px) {
  .ai-search-addition .ai-answer-grid { grid-template-columns: 1fr; }
  .ai-question-page .table-wrap table { min-width: 620px; }
}


/* 2026-08-11 visual refinement: clearer hero video, stronger brand mark and cleaner contact form. */
.logo {
  gap: .78rem;
  font-size: 1.08rem;
  letter-spacing: -.025em;
}
.logo__mark {
  position: relative;
  isolation: isolate;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(145deg, #0f5aa8 0%, #083564 72%);
  border: 1px solid rgba(8,53,100,.2);
  box-shadow: 0 9px 22px rgba(8,53,100,.18), inset 0 1px 0 rgba(255,255,255,.22);
  font-size: 1.03rem;
  letter-spacing: -.04em;
  text-shadow: 0 1px 1px rgba(0,0,0,.18);
}
.logo__mark::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 50%;
  width: 5px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffd45a, #f5b400);
  opacity: .95;
  z-index: -1;
}
.logo__mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 11px;
  pointer-events: none;
}
.logo > span:last-child { line-height: 1.08; }
.logo__small { margin-top: .23rem; font-size: .7rem; letter-spacing: .015em; }

/* Homepage hero: keep the video as the dominant visual rather than covering it with a second product panel. */
.hero.hero--video .container {
  grid-template-columns: minmax(0, 720px) 1fr;
  gap: 1.5rem;
}
.hero.hero--video .hero__copy {
  max-width: 700px;
  align-self: center;
}
.hero.hero--video .hero-product { display: none; }
.hero.hero--video .keyword-row { display: none; }
.hero.hero--video .hero__overlay {
  background:
    linear-gradient(90deg,
      rgba(7,30,56,.94) 0%,
      rgba(7,30,56,.88) 28%,
      rgba(7,30,56,.62) 48%,
      rgba(7,30,56,.18) 70%,
      rgba(7,30,56,.06) 100%);
}
.hero.hero--video h1 {
  max-width: 12.8ch;
  font-size: clamp(2.55rem, 4.7vw, 4.65rem);
}
.hero.hero--video .lede { max-width: 58ch; }
.hero.hero--video .hero__actions { margin-top: 1.15rem; }
.hero.hero--video .hero__phone {
  background: rgba(255,255,255,.94);
  border-color: rgba(255,255,255,.75);
  color: var(--brand-2);
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.hero.hero--video .hero__phone:hover,
.hero.hero--video .hero__phone:focus { background: #fff; }

/* Contact page: give the quote form enough width and keep required markers on the same line as labels. */
.contact-enquiry > .container.two-col {
  grid-template-columns: minmax(280px, .72fr) minmax(560px, 1.28fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.contact-enquiry__intro { padding-top: .35rem; }
.contact-enquiry__form-card {
  padding: clamp(1.35rem, 2.6vw, 2rem);
  box-shadow: 0 18px 46px rgba(16,32,51,.09);
}
.contact-enquiry__form-card > h3 { font-size: 1.55rem; }
.contact-enquiry__form-card .quote-form { margin-top: 1.2rem; }
.contact-enquiry__form-card .form-grid { gap: 1rem 1.1rem; }
.contact-enquiry__form-card .form-field {
  display: block;
  line-height: 1.35;
}
.contact-enquiry__form-card .form-field > span {
  display: inline;
  margin-left: .16rem;
}
.contact-enquiry__form-card .form-field input,
.contact-enquiry__form-card .form-field textarea,
.contact-enquiry__form-card .form-field select {
  display: block;
  margin-top: .42rem;
}
.contact-enquiry__form-card .form-field input,
.contact-enquiry__form-card .form-field select { min-height: 50px; }
.contact-enquiry__form-card .form-field textarea { min-height: 118px; }
.contact-enquiry__form-card .btn[type="submit"] { min-width: 190px; }

@media (max-width: 980px) {
  .hero.hero--video .container { grid-template-columns: minmax(0, 720px); }
  .hero.hero--video .hero__overlay {
    background: linear-gradient(90deg, rgba(7,30,56,.92) 0%, rgba(7,30,56,.76) 62%, rgba(7,30,56,.32) 100%);
  }
  .contact-enquiry > .container.two-col { grid-template-columns: 1fr; }
  .contact-enquiry__form-card { width: 100%; }
}

@media (max-width: 760px) {
  .logo__mark { width: 44px; height: 44px; border-radius: 14px; }
  .logo { font-size: 1rem; gap: .62rem; }
  .hero.hero--video .hero__overlay {
    background: linear-gradient(90deg, rgba(7,30,56,.91), rgba(7,30,56,.68));
  }
  .hero.hero--video h1 { max-width: 11ch; }
  .hero.hero--video .hero__actions { display: grid; grid-template-columns: 1fr; max-width: 310px; }
  .contact-enquiry__form-card { padding: 1.2rem; }
  .contact-enquiry__form-card .form-grid { grid-template-columns: 1fr; }
}

/* 2026-08-11 visible correction v3: cache-busted stylesheet, real logo mark,
   uncluttered video hero and simplified customer enquiry form. */

/* Professional carton-and-tape brand mark used throughout the site. */
.logo {
  gap: .78rem;
  font-size: 1.08rem;
  letter-spacing: -.025em;
}
.logo__mark {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: visible;
  background: transparent;
  box-shadow: 0 10px 26px rgba(8,53,100,.22);
  color: inherit;
}
.logo__mark::before,
.logo__mark::after { content: none !important; display: none !important; }
.logo__mark svg { display: block; width: 100%; height: 100%; }
.logo__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
  white-space: nowrap;
}
.logo__small {
  display: block;
  margin-top: .32rem;
  color: #68798a;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}

/* The old product/specification card has been removed from the HTML, not merely hidden. */
.hero.hero--video {
  min-height: 520px;
  height: min(650px, calc(100svh - var(--masthead-height)));
  max-height: 650px;
  align-items: stretch;
  background: #071e38 url("../img/case-taper-hero-display.jpg") center / cover no-repeat;
}
.hero.hero--video .hero__video {
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.06) saturate(1.08) contrast(1.03);
}
.hero.hero--video .hero__overlay {
  background:
    linear-gradient(90deg,
      rgba(4,22,42,.92) 0%,
      rgba(4,22,42,.82) 28%,
      rgba(4,22,42,.50) 47%,
      rgba(4,22,42,.12) 67%,
      rgba(4,22,42,0) 84%);
}
.hero.hero--video .container {
  display: flex;
  align-items: center;
  min-height: 100%;
  height: 100%;
  padding: clamp(34px, 6vh, 62px) 0;
}
.hero.hero--video .hero__copy {
  width: min(570px, 52vw);
  max-width: 570px;
  margin: 0;
  padding: clamp(1.45rem, 3vw, 2.2rem);
  border: 1px solid rgba(255,255,255,.17);
  border-left: 5px solid var(--accent);
  border-radius: 22px;
  background: rgba(5,27,50,.70);
  box-shadow: 0 22px 48px rgba(0,0,0,.24);
  backdrop-filter: blur(7px);
}
.hero.hero--video h1 {
  max-width: 11.5ch;
  margin-bottom: .9rem;
  font-size: clamp(2.55rem, 4.4vw, 4.35rem);
}
.hero.hero--video .lede {
  max-width: 45ch;
  margin-bottom: 0;
  color: #f0f6fc;
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
}
.hero.hero--video .hero__actions {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}
.hero.hero--video .btn--accent {
  color: #241900;
  background: #ffc400;
  box-shadow: 0 12px 26px rgba(245,180,0,.30);
}
.hero.hero--video .hero__phone {
  color: #fff;
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.55);
  box-shadow: none;
}
.hero.hero--video .hero__phone:hover,
.hero.hero--video .hero__phone:focus {
  color: var(--brand-2);
  background: #fff;
}
.hero__support {
  margin: 1rem 0 0;
  color: #d7e5f2;
  font-size: .88rem;
  font-weight: 750;
}

/* Contact form: one clear column, with the form first and technical help secondary. */
.contact-enquiry__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .68fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
}
.contact-enquiry__form-card {
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border-color: #cbd9e8;
  box-shadow: 0 20px 48px rgba(16,32,51,.10);
}
.contact-enquiry__form-card > h2 {
  margin-bottom: .7rem;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}
.contact-enquiry__phone {
  margin: .35rem 0 1.35rem;
  padding: .75rem .9rem;
  border: 1px solid #cfe0f4;
  border-radius: 13px;
  background: #f3f8fe;
  color: var(--brand-2);
}
.contact-enquiry__phone a {
  color: var(--brand);
  font-weight: 900;
  text-decoration-thickness: .08em;
  text-underline-offset: .14em;
}
.quote-form--simple { margin-top: 1rem; }
.form-grid--simple {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.quote-form--simple .form-field {
  display: block;
  line-height: 1.35;
}
.quote-form--simple .form-field > span:not(.optional) {
  display: inline;
  margin-left: .12rem;
}
.quote-form--simple .form-field .optional {
  display: inline;
  margin-left: .38rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
}
.quote-form--simple input,
.quote-form--simple textarea,
.quote-form--simple select {
  display: block;
  margin-top: .42rem;
}
.quote-form--simple input { min-height: 52px; }
.quote-form--simple textarea { min-height: 170px; }
.contact-enquiry__submit {
  width: 100%;
  min-height: 54px;
  margin-top: .1rem;
  font-size: 1rem;
}
.contact-enquiry__intro {
  padding: clamp(1.3rem, 2.4vw, 1.8rem);
  background: #fff;
}
.contact-enquiry__intro > h2 {
  margin-bottom: .7rem;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
}
.contact-enquiry__intro .checklist { margin-top: 1.15rem; }
.contact-enquiry__direct {
  display: grid;
  gap: .2rem;
  margin-top: 1.45rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.contact-enquiry__direct a {
  color: var(--brand);
  font-weight: 900;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .hero.hero--video {
    min-height: 540px;
    height: min(620px, calc(100svh - var(--masthead-height)));
    max-height: 620px;
  }
  .hero.hero--video .hero__copy {
    width: min(600px, 76vw);
  }
  .contact-enquiry__layout { grid-template-columns: 1fr; }
  .contact-enquiry__form-card { order: 1; }
  .contact-enquiry__intro { order: 2; }
}

@media (max-width: 760px) {
  .logo__mark { width: 46px; height: 46px; flex-basis: 46px; border-radius: 14px; }
  .logo { gap: .58rem; font-size: .98rem; }
  .logo__small { margin-top: .24rem; font-size: .55rem; letter-spacing: .1em; }
  .hero.hero--video {
    min-height: 570px;
    height: auto;
    max-height: none;
  }
  .hero.hero--video .hero__video { object-position: 58% center; }
  .hero.hero--video .hero__overlay {
    background: linear-gradient(180deg,
      rgba(4,22,42,.12) 0%,
      rgba(4,22,42,.35) 28%,
      rgba(4,22,42,.92) 68%,
      rgba(4,22,42,.97) 100%);
  }
  .hero.hero--video .container {
    align-items: flex-end;
    min-height: 570px;
    height: auto;
    padding: 190px 0 28px;
  }
  .hero.hero--video .hero__copy {
    width: 100%;
    max-width: none;
    padding: 1.35rem;
    border-left-width: 4px;
    border-radius: 18px;
    background: rgba(5,27,50,.78);
  }
  .hero.hero--video h1 {
    max-width: 12ch;
    font-size: clamp(2.15rem, 10.5vw, 3.25rem);
  }
  .hero.hero--video .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: none;
  }
  .hero.hero--video .btn { width: 100%; }
  .contact-enquiry__form-card,
  .contact-enquiry__intro { padding: 1.2rem; }
}

/* Final hero simplification: shorter message and smaller panel leave more of the machinery video visible. */
.hero.hero--video .hero__copy {
  width: min(500px, 43vw);
  max-width: 500px;
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
}
.hero.hero--video h1 {
  max-width: none;
  font-size: clamp(2.45rem, 3.65vw, 3.65rem);
}
@media (max-width: 980px) {
  .hero.hero--video .hero__copy { width: min(560px, 74vw); max-width: 560px; }
}
@media (max-width: 760px) {
  .hero.hero--video .hero__copy { width: 100%; max-width: none; }
  .hero.hero--video h1 { max-width: 12ch; font-size: clamp(2.1rem, 9.8vw, 3rem); }
}

/* 2026-08-11 hero and contact-page refinement v4.
   These overrides are deliberately scoped to the homepage video hero and
   the image-free contact intro so existing pages retain their current layout. */
.hero.hero--video {
  min-height: 560px;
  height: min(660px, calc(100svh - var(--masthead-height)));
  max-height: 660px;
  background-color: #061a2f;
}
.hero.hero--video .hero__video {
  object-position: 58% center;
  filter: brightness(1.1) saturate(1.08) contrast(1.02);
}
.hero.hero--video .hero__overlay {
  background:
    linear-gradient(90deg,
      rgba(3,18,34,.92) 0%,
      rgba(3,18,34,.78) 27%,
      rgba(3,18,34,.40) 47%,
      rgba(3,18,34,.08) 67%,
      rgba(3,18,34,0) 84%),
    linear-gradient(180deg,
      rgba(3,18,34,.08) 0%,
      rgba(3,18,34,0) 58%,
      rgba(3,18,34,.36) 100%);
}
.hero.hero--video .container {
  align-items: center;
  padding-block: clamp(44px, 7vh, 74px);
}
.hero.hero--video .hero__copy {
  width: min(610px, 50vw);
  max-width: 610px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.hero.hero--video .hero__copy::before {
  display: block;
  width: 72px;
  height: 5px;
  margin-bottom: 1.25rem;
  border-radius: 99px;
  background: #ffc400;
  content: "";
  box-shadow: 0 5px 18px rgba(255,196,0,.26);
}
.hero.hero--video h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 4.65vw, 4.7rem);
  line-height: .99;
  letter-spacing: -.045em;
  text-wrap: balance;
  text-shadow: 0 5px 24px rgba(0,0,0,.42);
}
.hero.hero--video .lede {
  max-width: 48ch;
  color: rgba(255,255,255,.94);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.55;
  text-shadow: 0 3px 16px rgba(0,0,0,.42);
}
.hero.hero--video .hero__actions {
  align-items: center;
  gap: .85rem;
  margin-top: 1.55rem;
}
.hero.hero--video .btn {
  min-height: 52px;
  padding-inline: 1.2rem;
}
.hero.hero--video .hero__phone {
  border-color: rgba(255,255,255,.68);
  background: rgba(5,24,44,.42);
  backdrop-filter: blur(4px);
}

.page-hero--contact-clean {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 5.8rem);
  background:
    radial-gradient(circle at 92% 10%, rgba(20,104,184,.12), transparent 32%),
    linear-gradient(135deg, #f4f8fc 0%, #ffffff 68%);
}
.page-hero--contact-clean::after {
  position: absolute;
  right: -90px;
  bottom: -145px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(8,53,100,.10);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.page-hero--contact-clean .page-hero__grid {
  position: relative;
  z-index: 1;
  display: block;
}
.page-hero--contact-clean .page-hero__copy {
  max-width: 850px;
}
.page-hero--contact-clean h1 {
  max-width: 15ch;
  margin-bottom: 1rem;
}
.page-hero--contact-clean .lede {
  max-width: 66ch;
}
.page-hero--contact-clean .btns {
  margin-top: 1.45rem;
}

@media (max-width: 980px) {
  .hero.hero--video {
    min-height: 540px;
    height: min(620px, calc(100svh - var(--masthead-height)));
    max-height: 620px;
  }
  .hero.hero--video .hero__copy {
    width: min(570px, 66vw);
    max-width: 570px;
  }
  .hero.hero--video h1 {
    font-size: clamp(2.65rem, 6.4vw, 4rem);
  }
}

@media (max-width: 760px) {
  .hero.hero--video {
    min-height: 600px;
    height: auto;
    max-height: none;
  }
  .hero.hero--video .hero__video {
    object-position: 62% center;
  }
  .hero.hero--video .hero__overlay {
    background:
      linear-gradient(180deg,
        rgba(3,18,34,.06) 0%,
        rgba(3,18,34,.18) 31%,
        rgba(3,18,34,.78) 66%,
        rgba(3,18,34,.97) 100%);
  }
  .hero.hero--video .container {
    align-items: flex-end;
    min-height: 600px;
    padding: 230px 0 32px;
  }
  .hero.hero--video .hero__copy {
    width: 100%;
    max-width: none;
  }
  .hero.hero--video .hero__copy::before {
    width: 54px;
    height: 4px;
    margin-bottom: 1rem;
  }
  .hero.hero--video h1 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 10.7vw, 3.35rem);
  }
  .hero.hero--video .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 340px;
  }
  .page-hero--contact-clean {
    padding-block: 3.2rem;
  }
  .page-hero--contact-clean h1 {
    max-width: none;
  }
}
