/* ORVANTA — site styles. Brand tokens match the Figma "Brand" variables. */
:root {
  --orv-black: #000000;
  --orv-black-80: #333333;
  --orv-orange: #FE8101;
  --orv-orange-dark: #D96E00;
  --orv-white: #FFFFFF;
  --orv-grey-050: #F2F2F2;
  --orv-grey: #CCCCCC;
  --orv-grey-text: #555555;
  --orv-error: #C62828;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --space-xs: 4px; --space-sm: 8px; --space-md: 16px; --space-lg: 24px; --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px;
  --container: 1200px;
  --font: "Hanken Grotesk", Arial, Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--orv-black); background: var(--orv-white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orv-orange); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--orv-black); color: var(--orv-white); padding: 12px 16px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .container { padding: 0 32px; } }

/* Type */
h1, h2, h3 { font-weight: 600; line-height: 1.15; margin: 0 0 var(--space-md); letter-spacing: -0.02em; }
.display { font-size: clamp(40px, 6vw, 64px); line-height: 1.08; }
h1 { font-size: clamp(32px, 4.5vw, 48px); }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 500; letter-spacing: 0; }
p { margin: 0 0 var(--space-md); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--orv-grey-text); max-width: 46rem; }
.label { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--orv-grey-text); margin-bottom: var(--space-md); display: block; }
.muted { color: var(--orv-grey-text); }
.small { font-size: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1.2 var(--font); padding: 14px 24px; border-radius: var(--radius-md); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--orv-orange); color: var(--orv-black); }
.btn-primary:hover { border-color: var(--orv-black); }
.btn-secondary { background: var(--orv-black); color: var(--orv-white); }
.btn-secondary:hover { background: var(--orv-black-80); }
.btn-outline { background: transparent; color: var(--orv-black); border-color: var(--orv-black); }
.btn-outline:hover { background: rgba(0,0,0,.06); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-md); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--orv-white); border-bottom: 1px solid var(--orv-grey); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo img { height: 24px; width: auto; }
.nav-toggle { display: inline-flex; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav { display: none; }
.nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; background: var(--orv-white); flex-direction: column; padding: 16px 20px 24px; border-bottom: 1px solid var(--orv-grey); gap: 4px; }
.nav a { text-decoration: none; padding: 10px 0; font-size: 16px; }
.nav a[aria-current="page"] { font-weight: 600; box-shadow: inset 0 -2px 0 var(--orv-orange); }
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .nav, .nav.open { display: flex; position: static; flex-direction: row; align-items: center; gap: 32px; padding: 0; border: 0; }
  .nav a { font-size: 15px; padding: 6px 0; }
  .nav { gap: 26px; }
  .nav .btn { margin-left: 8px; }
}

/* Sections */
.section { padding: var(--space-3xl) 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.bg-light { background: var(--orv-grey-050); }
.bg-black { background: var(--orv-black); color: var(--orv-white); }
.bg-black .label, .bg-black .muted { color: rgba(255,255,255,.8); }

/* Hero */
.hero { background: var(--orv-grey-050); padding: var(--space-2xl) 0; }
.hero-grid { display: grid; gap: var(--space-xl); align-items: center; }
.hero-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--orv-grey); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 20px; bottom: 20px; background: var(--orv-orange); color: var(--orv-black); font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: var(--radius-md); }
@media (min-width: 900px) { .hero { padding: 96px 0; } .hero-grid { grid-template-columns: 1fr 1.05fr; gap: var(--space-3xl); } }

/* Trust strip */
.trust { border-bottom: 1px solid var(--orv-grey); }
.trust ul { list-style: none; margin: 0; padding: var(--space-lg) 0; display: grid; gap: 12px; }
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14px; }
.trust li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orv-orange); flex: none; }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(4, auto); justify-content: space-between; padding: 32px 0; } }

/* Cards */
.grid-3 { display: grid; gap: var(--space-lg); }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: var(--space-lg); }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--orv-white); border: 1px solid var(--orv-grey); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; background: var(--orv-grey-050); }
.tile img, .photo-band img, .hero-photo img { background: var(--orv-grey-050); }
.card-body { padding: 20px 24px 24px; }
.card-body h3 { margin: 12px 0 8px; }
.card-body p { margin: 0; color: var(--orv-grey-text); font-size: 14px; }
.accent { display: block; width: 32px; height: 4px; background: var(--orv-orange); }
.plain-card { background: var(--orv-white); border-radius: 12px; padding: 28px; }
.plain-card h3 { margin-top: 12px; }

/* Branded products */
.p-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .p-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .p-grid { grid-template-columns: repeat(4, 1fr); } }
.p-group { margin: 40px 0 16px; }
.p-card { background: var(--orv-white); border: 1px solid var(--orv-grey); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.p-media { aspect-ratio: 1 / 1; background: var(--orv-white); display: flex; align-items: center; justify-content: center; }
.p-media img { width: 100%; height: 100%; object-fit: contain; }
.p-tile span { font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; text-align: center; padding: 16px; letter-spacing: -0.01em; }
.p-body { padding: 16px 18px 18px; border-top: 1px solid var(--orv-grey); }
.p-body h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.p-body p { margin: 0; font-size: 14px; color: var(--orv-grey-text); }
.brands { border-bottom: 1px solid var(--orv-grey); padding: 28px 0; }
.brands .label { margin-bottom: 12px; }
.brands ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.brands li { font-size: clamp(18px, 2vw, 24px); font-weight: 600; color: var(--orv-black); }

/* Photo band */
.photo-band { height: 280px; overflow: hidden; background: var(--orv-grey); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .photo-band { height: 440px; } }

/* Steps */
.steps { display: grid; gap: var(--space-xl); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-num { font-size: 64px; font-weight: 600; line-height: 1; color: var(--orv-orange); display: block; margin-bottom: 12px; }
.step p { color: rgba(255,255,255,.85); }

/* Chips & photo tiles */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: var(--space-xl); }
.chip { background: var(--orv-grey-050); border-radius: 999px; padding: 12px 22px; }
.tile img { border-radius: 12px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 12px; }

/* Image CTA */
.cta-image { position: relative; color: var(--orv-white); padding: 96px 0; overflow: hidden; }
.cta-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-image::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.cta-image .container { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: var(--space-lg); align-items: center; justify-content: space-between; }
.cta-image p { color: rgba(255,255,255,.9); margin: 0; }

/* Page header */
.page-header { background: var(--orv-grey-050); padding: var(--space-3xl) 0 var(--space-2xl); }
@media (min-width: 900px) { .page-header { padding: 96px 0 80px; } }

/* Split */
.split { display: grid; gap: var(--space-xl); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 2fr; gap: 96px; } }

/* Note */
.note { display: flex; gap: 24px; align-items: center; background: var(--orv-grey-050); border-radius: 12px; padding: 28px 32px; margin-top: var(--space-xl); }
.note::before { content: ""; width: 6px; align-self: stretch; background: var(--orv-orange); border-radius: 3px; flex: none; }
.note h3 { margin-bottom: 6px; }
.note p { margin: 0; color: var(--orv-grey-text); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--orv-grey); padding: 20px 0; }
.faq summary { cursor: pointer; font-size: 20px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--orv-orange); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--orv-grey-text); }

/* Form */
.contact-grid { display: grid; gap: var(--space-2xl); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 440px 1fr; gap: 96px; } }
.form-panel { background: var(--orv-grey-050); border-radius: var(--radius-lg); padding: 28px; }
@media (min-width: 900px) { .form-panel { padding: 40px; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font: 16px/1.4 var(--font); padding: 14px 16px; border: 1px solid var(--orv-grey); border-radius: var(--radius-md); background: var(--orv-white); color: var(--orv-black); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orv-black); box-shadow: 0 0 0 3px rgba(254,129,1,.35); }
.field .error { display: none; color: var(--orv-error); font-size: 14px; margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border: 2px solid var(--orv-error); }
.field.invalid .error { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; margin-bottom: 16px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orv-black); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--orv-grey-text); }
.form-alert { background: #FDECEA; color: var(--orv-error); border-radius: var(--radius-md); padding: 12px 16px; margin-bottom: 20px; font-size: 14px; }

/* Legal text */
.prose { max-width: 46rem; }
.prose h2 { font-size: 24px; margin-top: var(--space-2xl); }
.prose ul { padding-left: 20px; }
.review-flag { background: #FFF4E5; border-left: 4px solid var(--orv-orange); padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; }

/* Footer */
.site-footer { background: var(--orv-black); color: var(--orv-white); padding: 64px 0 40px; }
.footer-top { display: grid; gap: var(--space-xl); margin-bottom: var(--space-2xl); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1fr auto auto auto; gap: 56px; } }
.site-footer img { height: 24px; width: auto; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.legal-line { font-size: 13px; color: rgba(255,255,255,.75); border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; margin: 0; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; background: var(--orv-black); color: var(--orv-white); border-radius: 12px; padding: 20px; display: none; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; max-width: 760px; margin: 0 auto; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: 14px; flex: 1 1 320px; }
.cookie-banner .btn { padding: 10px 18px; font-size: 14px; }
.cookie-banner .btn-outline { color: var(--orv-white); border-color: var(--orv-white); }

/* Linked department cards */
.card-link { text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.card-link:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.card-link:hover h3 { text-decoration: underline; text-decoration-color: var(--orv-orange); text-underline-offset: 4px; }
a.chip { text-decoration: none; }
a.chip:hover { background: var(--orv-grey); }

/* Brands page */
.brand-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .brand-grid { grid-template-columns: repeat(5, 1fr); } }
.brand-tile { border: 1px solid var(--orv-grey); border-radius: var(--radius-md); padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; }
.brand-tile strong { font-size: 20px; font-weight: 600; }
.brand-tile span { font-size: 14px; color: var(--orv-grey-text); }

/* Who we supply */
.segs { display: grid; gap: 64px; }
.seg { display: grid; gap: 24px; align-items: center; }
.seg img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; background: var(--orv-grey-050); }
@media (min-width: 900px) { .seg { grid-template-columns: 1fr 1fr; gap: 64px; } .seg:nth-child(even) img { order: 2; } }

/* Accessibility: comfortable tap targets on touch screens */
h2.p-group { font-size: clamp(20px, 2vw, 24px); font-weight: 500; letter-spacing: 0; }
.logo, .nav-toggle { min-height: 44px; min-width: 44px; align-items: center; justify-content: center; }
.logo { display: inline-flex; }
@media (min-width: 1100px) { .nav-toggle { display: none; } }
.cookie-banner .btn, .cookie-settings { min-height: 44px; }
@media (max-width: 899px) {
  .site-footer ul { gap: 0; }
  .site-footer li a, .site-footer li button { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-top > a { display: inline-flex; min-height: 44px; align-items: center; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.faq summary { min-height: 44px; align-items: center; }
.check { min-height: 44px; align-items: center; }

/* Interface polish */
html { scroll-padding-top: 88px; -webkit-tap-highlight-color: rgba(254,129,1,.25); }
a, button, summary, input, select, textarea, label { touch-action: manipulation; }
h1, h2, h3 { text-wrap: balance; }
p, .lead { text-wrap: pretty; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .card-link:hover { transform: none; }
}

/* Product filter */
.p-filter { display: grid; gap: 12px; grid-template-columns: 1fr; align-items: end; margin: 28px 0 8px; background: var(--orv-white); border: 1px solid var(--orv-grey); border-radius: var(--radius-md); padding: 18px; }
.p-filter .field { margin: 0; }
.p-filter label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.p-filter input, .p-filter select { width: 100%; min-height: 48px; border: 1px solid var(--orv-grey); border-radius: 8px; padding: 10px 12px; font: inherit; background: #fff; }
.p-filter .btn { min-height: 48px; }
@media (min-width: 760px) { .p-filter { grid-template-columns: 2fr 1fr 1fr auto; } }
.p-count { margin: 12px 0 0; color: var(--orv-grey-text); font-size: 14px; }
.p-empty { margin: 24px 0; }
.p-card[hidden], .p-section[hidden] { display: none; }
a.brand-tile { color: inherit; text-decoration: none; height: 100%; transition: border-color .2s, transform .2s; }
a.brand-tile:hover { border-color: var(--orv-orange); transform: translateY(-2px); }
a.brand-tile span { color: var(--orv-black); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.brand-grid li { display: flex; }
.brand-grid li > * { flex: 1; }
