/* Caeles.3d — base, components, responsive layouts and reduced motion. */
:root { --navy: #071a36; --blue: #123e52; --cyan: #39a4b5; --white: #f2f6f7; --gray: #c9d5dd; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--white); color: var(--navy); font-family: Inter,Arial,sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font: inherit; }
button,a,input,textarea,select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button,a { transition: background .2s,color .2s; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
header { background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: space-between; padding: 25px 5%; border-bottom: 1px solid #ffffff20; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { font-size: 29px; letter-spacing: -1px; font-weight: 700; }
.brand span { font-weight: 400; color: var(--cyan); }
nav { display: flex; gap: 30px; font-size: 13px; }
.nav-cta { font-size: 13px; border-bottom: 1px solid #ffffff70; padding: 10px 0; }
.nav-cta span { margin-left: 24px; }
.hero { background: var(--navy); color: var(--white); display: grid; grid-template-columns: 1fr 1fr; min-height: 660px; padding: 60px 5% 65px; gap: 40px; align-items: center; }
.eyebrow { font-size: 10px; letter-spacing: 2px; font-weight: 600; line-height: 1.6; }
.dot { display: inline-block; background: var(--cyan); height: 7px; width: 7px; border-radius: 100%; margin-right: 10px; }
h1,h2,h3 { font-family: Orbitron,Arial,sans-serif; line-height: 1.2; font-weight: 600; margin: 0; }
h1 { font-size: clamp(35px,4.3vw,67px); letter-spacing: -2px; margin: 27px 0; font-weight: 700; }
h1 span,h2 span { color: var(--cyan); }
.intro { color: var(--gray); font-size: 16px; max-width: 440px; margin-bottom: 32px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 15px 23px; border: 0; border-radius: 5px; font-size: 13px; font-weight: 600; min-height: 48px; }
.light { background: var(--white); color: var(--navy); }
.light:hover { background: var(--gray); }
.hero-note { font-size: 11px; color: var(--gray); margin-top: 60px; }
.hero-note span { color: var(--cyan); margin-right: 22px; }
.hero-image { margin: 0; position: relative; transform: none; }
.hero-image img { width: 100%; height: 100%; max-height: none; display: block; object-fit: contain; background: transparent; border-radius: 12px; }
.hero-image figcaption { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 1.1px; margin-top: 17px; }
.ribbon { display: flex; justify-content: space-around; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--blue); color: var(--white); padding: 21px 4%; font-size: 10px; letter-spacing: 1.5px; }
.ribbon i { color: var(--cyan); font-style: normal; }
.section { padding: 85px max(5%,calc((100% - 1200px)/2)); scroll-margin-top: 15px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.section-heading p { margin: 0; max-width: 400px; font-size: 14px; color: #465b6b; }
.section-heading .eyebrow { margin-bottom: 17px; font-size: 10px; color: var(--blue); }
h2 { font-size: clamp(28px,3vw,42px); letter-spacing: -1px; }
h3 { font-size: 23px; }
.text-link { background: none; border: 0; border-bottom: 1px solid #81929c; padding: 12px 0; display: inline-flex; gap: 24px; font-size: 13px; font-weight: 600; color: inherit; min-height: 44px; }
.mini { background: #e5ecef; position: relative; overflow: hidden; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 25px 0; }
.filters button { background: transparent; border: 1px solid #adbcc5; border-radius: 30px; padding: 11px 18px; font-size: 12px; min-height: 44px; }
.filters .selected { background: var(--navy); color: white; border-color: var(--navy); }
.products { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.product { background: var(--white); border-radius: 16px; overflow: hidden; }
.product img { width: 100%; aspect-ratio: 1; object-fit: contain; background: white; display: block; }
.product-body { padding: 20px; }
.product h3 { font-size: 16px; }
.product .eyebrow { letter-spacing: 1px; font-size: 9px; display: block; margin-bottom: 9px; }
.product .text-link { width: 100%; justify-content: space-between; }
.small { font-size: 11px; line-height: 1.7; color: #526676; margin-top: 24px; }
.business { background: var(--blue); color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.business h2 { font-size: 34px; }
.business p:not(.eyebrow) { margin: 0 0 24px; color: #e1e8ed; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.steps article { border-top: 1px solid #b4c5ce; padding-top: 22px; }
.steps span { font-family: Orbitron,Arial,sans-serif; font-size: 13px; color: var(--blue); }
.steps h3 { font-family: Inter,Arial,sans-serif; font-size: 18px; margin-top: 20px; line-height: 1.4; }
.steps p { font-size: 14px; color: #465b6b; }
.coming { border-top: 1px solid var(--gray); border-bottom: 1px solid var(--gray); display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 55px; padding: 20px 0; }
.coming>span:last-child { font-size: 11px; color: #526676; }
.coming p { font-size: 14px; }
.faq { padding-top: 20px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.faq h2 { font-size: 30px; }
details { border-bottom: 1px solid var(--gray); padding: 19px 0; }
summary { cursor: pointer; font-weight: 500; font-size: 15px; min-height: 30px; }
details p { font-size: 14px; color: #465b6b; }
.contact { background: var(--navy); color: var(--white); display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.contact h2 { font-size: 48px; margin: 22px 0; }
.contact p { font-size: 14px; color: var(--gray); }
.contact .small { font-size: 11px; max-width: 300px; margin-top: 45px; }
.instagram { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid #ffffff60; margin-top: 20px; padding: 10px 0; font-size: 20px; }
.instagram-icon { flex-shrink: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-size: 12px; font-weight: 500; margin-bottom: 19px; }
input,select,textarea { width: 100%; padding: 13px 12px; margin-top: 8px; border: 1px solid #ffffff40; border-radius: 5px; background: #ffffff05; color: var(--white); font-size: 13px; min-height: 47px; }
select option { color: var(--navy); background: var(--white); }
textarea { resize: vertical; }
input::placeholder,textarea::placeholder { color: #a8b7c8; }
footer { background: var(--navy); color: var(--white); padding: 32px 5%; border-top: 1px solid #ffffff20; display: flex; gap: 28px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
footer p,footer a:not(.brand) { font-size: 12px; }
footer small { width: 100%; font-size: 10px; color: var(--gray); }
.skip { position: absolute; left: 20px; top: -100px; background: white; color: var(--navy); padding: 10px; z-index: 5; }
.skip:focus { top: 10px; }
[hidden] { display: none !important; }
.brand-logo { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; padding: 5px; background: transparent; border-radius: 0; line-height: 0; }
.brand-logo img { display: block; width: 98px; height: 98px; object-fit: contain; }
.catalog-photo { position: relative; background: white; }
.catalog-photo img { height: 300px; aspect-ratio: auto; object-fit: contain; padding: 12px; }
.reference-badge { position: absolute; bottom: 10px; left: 12px; padding: 5px 9px; background: #f2f6f7ee; border: 1px solid var(--gray); border-radius: 4px; font-size: 10px; color: var(--navy); }
.catalog-product { border: 1px solid #dbe3e6; display: flex; flex-direction: column; }
.catalog-product .product-body { display: flex; flex-direction: column; flex: 1; }
.catalog-product .product-body>p { font-size: 13px; color: #465b6b; }
.catalog-product .text-link { margin-top: auto; }
.source-link { font-size: 11px; text-decoration: underline; margin: 0 0 14px; color: #465b6b; }
.gallery-controls { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }
.gallery-controls button { min-height: 44px; min-width: 44px; background: #ffffff09; color: var(--white); border: 1px solid #ffffff40; border-radius: 5px; padding: 8px 14px; font-size: 12px; }
.gallery-controls button:hover { background: #ffffff20; }
.mini>.section-heading,.mini>.filters,.mini>.products,.mini>.small { position: relative; }
.football { display: inline-block; font-family: Arial,sans-serif; font-size: 26px; opacity: .4; vertical-align: middle; filter: grayscale(1); }
.football-watermark { position: absolute; right: 5%; top: 15px; font-size: 210px; line-height: 1; opacity: .035; filter: grayscale(1); pointer-events: none; transform: rotate(-18deg); }
.mini .product { transition: box-shadow .2s,transform .2s; }
.mini .product:hover { transform: translateY(-3px); box-shadow: 0 8px 22px #071a3610; }
.honeypot { display: none !important; }
.contact .small a { overflow-wrap: anywhere; text-decoration: underline; }
h1,h2,h3,.steps h3 { font-family: Orbitron,Arial,sans-serif; font-weight: 600; }
@media (min-width:1600px) {
  header,.hero,footer { padding-left: calc((100% - 1350px)/2); padding-right: calc((100% - 1350px)/2); }
}
@media (max-width:800px) {
  nav { display: none; }
  .hero { gap: 25px; min-height: 0; grid-template-columns: 1fr; }
  .hero-image img { width: 100%; height: 100%; max-height: none; display: block; object-fit: contain; background: transparent; border-radius: 12px; }
  h1 { font-size: 38px; letter-spacing: -1px; }
  .hero-note { margin-top: 25px; }
  .section { padding: 60px 5%; }
  .products { grid-template-columns: repeat(2,1fr); }
  .business,.contact { gap: 35px; }
  .section-heading { align-items: start; }
  .coming { flex-wrap: wrap; }
  .ribbon { font-size: 9px; }
  .ribbon i { display: none; }
  .contact h2 { font-size: 35px; }
  .hero h1 { font-size: clamp(38px,7vw,60px); }
  .hero-image { max-width: 620px; width: 100%; transform: none; }
  header { flex-wrap: wrap; }
  header nav { display: flex; order: 3; width: 100%; justify-content: center; gap: 22px; border-top: 1px solid #ffffff20; padding-top: 10px; }
  header nav a { min-height: 44px; display: flex; align-items: center; font-size: 12px; }
}
@media (max-width:580px) {
  header { padding: 18px 22px; padding-top: 10px; padding-bottom: 10px; }
  .brand { font-size: 25px; }
  .nav-cta { font-size: 11px; }
  .nav-cta span { margin-left: 8px; }
  .hero { grid-template-columns: 1fr; padding: 38px 22px 32px; }
  .hero h1 { font-size: 38px; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: 1.3px; }
  .hero-image { transform: none; margin-top: 14px; }
  .hero-image img { width: 100%; height: 100%; max-height: none; display: block; object-fit: contain; background: transparent; border-radius: 12px; }
  .hero-image figcaption { font-size: 8px; }
  .intro { font-size: 14px; }
  .hero-note { display: none; }
  .ribbon { justify-content: center; gap: 16px; padding: 18px; }
  .section { padding: 52px 22px; }
  .section-heading { display: block; }
  .section-heading>p { margin-top: 22px; font-size: 14px; }
  .products { grid-template-columns: 1fr; }
  .product img { max-height: 380px; }
  .filters { gap: 7px; }
  .filters button { font-size: 11px; padding: 10px 13px; }
  .business { gap: 25px; }
  .business h2 { font-size: 29px; }
  .coming { display: block; }
  .coming p { margin: 10px 0; }
  .faq { gap: 20px; }
  .contact { gap: 30px; }
  .contact h2 { font-size: 40px; }
  .contact .small { margin-top: 24px; }
  .form-grid { gap: 12px; grid-template-columns: 1fr; }
  footer { padding: 30px 22px; gap: 18px; }
  footer p { display: none; }
  h2 { font-size: 29px; }
  .brand-logo img { width: 80px; height: 80px; }
  .brand-logo { padding: 4px; }
  header nav { gap: 18px; justify-content: space-between; }
  header nav a { font-size: 11px; }
  .catalog-photo img { height: 300px; }
  .football { font-size: 22px; }
  .football-watermark { font-size: 150px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .mini .product:hover { transform: none; }
}

/* Product content stays visible without JavaScript; filters are enhanced separately. */
.product img { height: auto; }
.catalog-photo img { height: 300px; }
.catalog-empty { padding: 44px; border: 1px solid var(--gray); border-radius: 16px; background: white; max-width: 760px; }
.catalog-empty h3 { font-size: 24px; }
.catalog-empty p { max-width: 600px; color: #465b6b; margin: 20px 0 26px; }
.dark { background: var(--navy); color: var(--white); }
.dark:hover { background: var(--blue); }
.field-error { display: block; margin-top: 8px; color: #ffcfcb; font-size: 12px; line-height: 1.5; }
[aria-invalid="true"] { border-color: #ffb5ae; box-shadow: 0 0 0 1px #ffb5ae; }
#form-status { margin: 0 0 16px; font-size: 13px; }
#form-status:empty { display: none; }
#brief .small { margin-top: 16px; }
@media (max-width:580px) { .catalog-empty { padding: 26px; } .catalog-empty h3 { font-size: 22px; } }


/* The frame follows each image's natural ratio; the stage reserves a stable height. */
.hero-stage { --stage-height: 540px; height: var(--stage-height); display: flex; align-items: center; justify-content: center; }
.hero-slide-frame { width: min(100%, calc(var(--stage-height) * var(--slide-ratio))); aspect-ratio: var(--slide-ratio); background: var(--slide-bg); border-radius: 12px; overflow: hidden; }
.hero-image figcaption { gap: 16px; align-items: center; min-height: 30px; }
.hero-image figcaption #slide-title { font-size: 11px; }
.catalog-photo.catalog-cover { background: var(--navy); }
.catalog-photo.catalog-cover img { padding: 0; width: 100%; height: auto; max-height: none; aspect-ratio: 4 / 5; background: var(--navy); }
.image-note { font-size: 10px; color: #526676; margin-top: 10px; }
@media (max-width:800px) { .hero-stage { --stage-height: 500px; } }
@media (max-width:580px) { .hero-stage { --stage-height: 420px; } }

/* Enlarged product gallery: native modal, touch navigation and keyboard access. */
.photo-zoom { display: block; position: relative; cursor: zoom-in; }
.zoom-hint { position: absolute; right: 10px; bottom: 10px; padding: 4px 8px; border: 1px solid #c9d5dd; border-radius: 4px; background: #f2f6f7ed; color: var(--navy); font: 11px Inter,Arial,sans-serif; }
.lightbox-open { overflow: hidden; }
.lightbox { padding: 18px; border: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; background: transparent; color: var(--white); overflow: auto; }
.lightbox::backdrop { background: #020c1bee; }
.lightbox-panel { max-width: 1100px; margin: auto; background: var(--navy); border: 1px solid #ffffff30; border-radius: 16px; padding: 20px; }
.lightbox-header { background: transparent; padding: 0 0 14px; border-bottom: 1px solid #ffffff25; align-items: flex-start; gap: 16px; }
.lightbox-header h2 { font-size: clamp(18px,3vw,25px); letter-spacing: 0; }
.lightbox-header p { font-size: 11px; margin: 7px 0 0; color: var(--gray); }
.lightbox button { min-height: 44px; border: 1px solid #ffffff50; border-radius: 6px; background: #ffffff0a; color: var(--white); padding: 10px 16px; font-size: 13px; flex-shrink: 0; }
.lightbox button:hover { background: #ffffff20; }
.lightbox-media { height: min(65vh,720px); height: min(65dvh,720px); display: flex; align-items: center; justify-content: center; margin: 15px 0; touch-action: pan-y pinch-zoom; }
.lightbox-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; }
.lightbox-navigation { display: flex; justify-content: center; gap: 24px; align-items: center; }
#lightbox-count { min-width: 45px; text-align: center; font-size: 13px; }
#lightbox-caption { text-align: center; font-size: 13px; margin: 12px 0 0; }
#lightbox-instructions { text-align: center; color: var(--gray); font-size: 11px; margin: 8px 0 0; }
@media (max-width:580px) {
  .lightbox { padding: 8px; }
  .lightbox-panel { padding: 12px; border-radius: 10px; }
  .lightbox-header { flex-wrap: nowrap; }
  .lightbox-header h2 { overflow-wrap: anywhere; }
  .lightbox-navigation { gap: 12px; }
  .lightbox button { padding: 10px 12px; font-size: 12px; }
}
