/* Debsons brand refinement: deep blue, bright white and the orange from the logo. */
:root {
  --ink: #113453;
  --ink-2: #1b4e77;
  --navy: #0b2a48;
  --text: #33485a;
  --muted: #687b8a;
  --line: #d9e4ed;
  --paper: #ffffff;
  --pale: #f4f7fa;
  --mint: #e7eff6;
  --orange: #c96c10;
  --orange-dark: #a9580c;
  --font-heading: 'Barlow', Arial, sans-serif;
}

body { color: var(--text); }
::selection { background: #d9e8f4; color: var(--ink); }
.container { width: min(100% - 64px, 1640px); }

/* Navigation */
.utility-bar { background: #0b2a48; color: #e3edf4; }
.utility-inner { min-height: 38px; }
.utility-inner > span { letter-spacing: .13em; font-size: .7rem; }
.utility-divider { background: #6f8ca5; }
.notice-ticker {
  position: relative;
  height: 42px;
  overflow: hidden;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  font-size: .875rem;
  font-weight: 600;
}
.utility-contacts {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: none;
  white-space: nowrap;
  font-size: .8rem;
  font-weight: 700;
}
.utility-contacts a:hover { color: #ffb15d; }
.notice-ticker-text {
  display: inline-block;
  flex: none;
  white-space: nowrap;
  animation: notice-scroll 32s linear infinite;
}
.notice-ticker:hover .notice-ticker-text,
.notice-ticker:focus .notice-ticker-text { animation-play-state: paused; }
@keyframes notice-scroll {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}
@media(prefers-reduced-motion: reduce) {
  .notice-ticker { height: auto; min-height: 42px; padding: 8px 24px; }
  .notice-ticker-text { white-space: normal; animation: none; }
}
.site-header { box-shadow: 0 1px 0 #dce4ec; }
.header-inner { height: 88px; }
.brand img { width: 202px; }
.site-nav { gap: 34px; }
.site-nav > a { font-size: .84rem; letter-spacing: .015em; }
.site-nav > a:hover { color: var(--orange-dark); }
.site-nav .nav-cta { background: var(--orange); padding: 14px 23px; }
.site-nav .nav-cta:hover { background: var(--orange-dark); }

/* Hero: give the Debsons product photo room to speak. */
.hero, .hero-content { min-height: 650px; }
.hero { background: #0b2a48; }
.hero-photo {
  inset: 0 0 0 47%;
  background-image: url('../woven-materials.jpg');
  background-position: 54% center;
  background-size: cover;
}
.hero:after {
  background: linear-gradient(90deg, #0b2a48 0%, #0b2a48 37%, rgba(11,42,72,.94) 45%, rgba(11,42,72,.37) 58%, rgba(11,42,72,0) 75%);
}
.hero-copy { max-width: 665px; }
.eyebrow { color: var(--orange-dark); letter-spacing: .15em; }
.eyebrow.light { color: #ffb15d; }
.hero h1 {
  font: 800 clamp(3.8rem, 6.2vw, 6.2rem)/.99 var(--font-heading);
  letter-spacing: -.038em;
  margin: 26px 0 28px;
  text-wrap: balance;
}
.hero h1 em { color: #ffb15d; font-style: normal; }
.hero p { max-width: 520px; font-size: 1.16rem; color: #e4edf4; line-height: 1.7; }
.hero-actions { gap: 13px; }
.button { min-height: 53px; padding: 0 26px; font-size: .86rem; letter-spacing: .025em; border-radius: 3px; }
.button-accent { background: var(--orange); }
.button-outline-light { border-color: #c6d8e8; }
.hero-foot { margin-top: 74px; color: #c9d8e4; }
.hero-foot-rule { background: #8faac0; }
.hero-side-label {
  right: 36px;
  bottom: 32px;
  writing-mode: horizontal-tb;
  padding: 14px 19px;
  background: #fff;
  color: var(--ink);
  border-left: 4px solid var(--orange);
  font-size: .7rem;
  letter-spacing: .14em;
}

/* A compact proof bar replaces the muted green stripe. */
.credibility-strip { position: relative; z-index: 3; margin-top: -20px; background: transparent; }
.credibility-grid { background: #fff; box-shadow: 0 14px 36px rgba(14,45,75,.12); border-top: 4px solid var(--orange); }
.credibility-grid > div { min-height: 115px; border-color: #dce6ee; }
.credibility-grid > div:last-child { border-color: #dce6ee; }
.credibility-grid strong { color: var(--ink); font-size: clamp(1.45rem,2vw,1.95rem); letter-spacing: -.025em; }
.credibility-grid span { color: #647889; }

/* Company story */
.section { padding: 106px 0; scroll-margin-top: 88px; }
h2 { font-size: clamp(2.65rem,4.15vw,4.35rem); line-height: 1.08; letter-spacing: -.035em; }
.about-section { padding-top: 128px; }
.about-grid { grid-template-columns: 1.03fr .97fr; gap: 8%; }
.image-stack { padding: 0 30px 30px 0; }
.image-stack:before { top: 30px; left: 30px; background: #dce9f4; }
.about-image { height: 455px; object-position: 55% center; }
.image-caption { left: 38px; right: 14px; background: #103758; color: #fff; font-size: .73rem; }
.about-copy p { color: #556a79; }
.text-link { border-bottom: 2px solid var(--orange); }

/* Catalog: original low-resolution product photos now sit at sensible sizes. */
.product-section { background: #f4f7fa; }
.product-heading h2 { margin-bottom: 0; }
.section-heading > p { color: #5f7282; }
.filter-row { margin-bottom: 26px; }
.filter-button { background: #fff; color: var(--ink); border-color: #d5e0e8; padding: 10px 18px; }
.filter-button:hover, .filter-button.active { background: #164c77; border-color: #164c77; color: #fff; }
.product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.product-card {
  display: grid;
  grid-template-columns: 164px minmax(0,1fr);
  min-height: 214px;
  border-color: #dce5ec;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 3px 9px rgba(16,47,80,.025);
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(16,47,80,.10); }
.product-thumb { display: grid; place-items: center; height: auto; min-height: 214px; background: #e8eff5; padding: 14px; }
.product-thumb img { width: 100%; max-width: 135px; height: 132px; object-fit: contain; border-radius: 2px; }
.product-card:first-child .product-thumb img { max-width: none; height: 100%; object-fit: cover; }
.product-card:hover .product-thumb img { transform: none; }
.product-body { padding: 23px 25px 19px; }
.product-type { color: var(--orange-dark); font-size: .7rem; }
.product-body h3 { font-size: 1.35rem; letter-spacing: -.02em; margin: 6px 0 7px; }
.product-body p { margin-bottom: 12px; color: #687a86; font-size: .84rem; line-height: 1.55; }
.product-body a { padding-top: 9px; border-color: #e4ebf0; font-size: .75rem; }

/* Engineering */
.engineering-section { background: #102f50; }
.engineering-image { inset: 0 0 0 46%; background-image: url('../machinery.jpg'); background-position: 55% center; }
.engineering-section:after { background: linear-gradient(90deg,#102f50 0%,#102f50 39%,rgba(16,47,80,.9) 50%,rgba(16,47,80,.18) 76%,rgba(16,47,80,.07) 100%); }
.engineering-content { max-width: 590px; }
.engineering-content > p { color: #d5e3ee; }
.engineering-features > div { border-color: #6c91aa; }
.engineering-features span { color: #c2d5e3; }

/* Compliance and documents */
.quality-section { background: #fff; }
.quality-card { border: 1px solid #dbe5ec; border-top: 4px solid #c96c10; background: #fff; padding: 29px 30px; }
.quality-index { display: none; }
.quality-card h3 { margin-top: 0; font-size: 1.4rem; }
.quality-card p { color: #657886; }
.registration-panel { background: #ecf3f8; }
.registration-panel span:not(.small-label) { color: #607588; }
.evidence-section { background: #f0f5f9; }
.evidence-grid p { color: #627786; }
.certificate-group a { border-color: #d9e5ed; box-shadow: 0 14px 28px rgba(16,47,80,.07); }
.resources-section { background: #fff; }
.resources-grid > div:first-child p { color: #637787; }
.resource-list, .resource-list > a { border-color: #d8e3eb; }
.resource-list > a:hover { background: #f6f9fb; }
.resource-list > a > span:last-child { color: #436c8a; }

/* Contact */
.contact-section { background: #0f3152; }
.contact-grid > div:first-child > p { color: #c9d9e5; }
.contact-details, .contact-details > div { border-color: #466986; }
.contact-details > div > span { color: #ffb15d; }
.contact-details small { color: #bed1de; }
.enquiry-panel { box-shadow: 0 20px 55px rgba(2,20,40,.2); }
.enquiry-panel input, .enquiry-panel select, .enquiry-panel textarea { background: #f7f9fb; border-color: #d8e3eb; }
.enquiry-panel input:focus, .enquiry-panel select:focus, .enquiry-panel textarea:focus { box-shadow: 0 0 0 2px rgba(201,108,16,.15); }
.visit-note { border-color: #e4ebf0; }
.site-footer { background: #09243d; color: #c2d2de; }
.footer-brand img {
  width: 222px;
  height: auto;
  padding: 0;
  background: transparent;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  max-width: 290px;
  margin-top: 22px;
  padding-left: 15px;
  border-left: 2px solid var(--orange);
  color: #d1dfeb;
}
.footer-bottom { border-color: #3d5b73; }

@media(min-width:1350px) {
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media(max-width:1050px) {
  .container { width: min(100% - 48px, 1640px); }
  .site-nav { gap: 19px; }
  .product-card { grid-template-columns: 135px minmax(0,1fr); }
  .product-thumb { padding: 9px; }
  .product-body { padding: 20px; }
}

@media(max-width:760px) {
  .utility-inner { flex-wrap: wrap; gap: 0; }
  .utility-inner .notice-ticker { display: flex; flex-basis: 100%; height: 36px; }
  .utility-inner .utility-contacts { display: flex; width: 100%; justify-content: center; padding-bottom: 8px; font-size: .72rem; }
  .container { width: min(100% - 36px, 1640px); }
  .header-inner { height: 72px; }
  .brand img { width: 175px; }
  .site-nav { top: 72px; }
  .site-nav > a { font-size: .96rem; }
  .hero, .hero-content { min-height: 690px; }
  .hero-photo { inset: 0; background-position: 60% center; }
  .hero:after { background: linear-gradient(90deg,rgba(11,42,72,.98) 0%,rgba(11,42,72,.90) 58%,rgba(11,42,72,.43) 100%); }
  .hero h1 { font-size: clamp(3.55rem,11vw,5rem); }
  .hero-side-label { display: none; }
  .credibility-strip { margin-top: 0; }
  .credibility-grid { box-shadow: none; }
  .section { padding: 80px 0; scroll-margin-top: 72px; }
  .about-section { padding-top: 90px; }
  .about-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 155px minmax(0,1fr); }
  .engineering-image { inset: 0; }
  .engineering-section:after { background: linear-gradient(90deg,rgba(16,47,80,.97),rgba(16,47,80,.75)); }
  .quality-card h3 { margin-top: 20px; }
}

@media(max-width:540px) {
  .hero h1 { font-size: 3.45rem; }
  .hero p { font-size: 1.03rem; }
  .hero-foot { margin-top: 52px; }
  .credibility-grid > div { min-height: 98px; }
  h2 { font-size: 2.65rem; }
  .product-card { grid-template-columns: 112px minmax(0,1fr); min-height: 205px; }
  .product-thumb { min-height: 205px; padding: 7px; }
  .product-thumb img { max-width: 100px; height: 100px; }
  .product-body { padding: 16px; }
  .product-body h3 { font-size: 1.16rem; }
  .product-body p { font-size: .78rem; line-height: 1.48; }
  .product-body a { font-size: .7rem; }
  .certificate-group { gap: 10px; }
  .certificate-group a { width: 50%; padding: 9px; }
}
