/* ===== Light theme: Stone Calm, vessel photo ===== option B with the original vessel photo on the first page */
:root{color-scheme:light; --color-text:#26221F; --color-muted:#7E766E; --color-border:rgb(38 34 31 / 14%); --color-accent:#9E3F1A; --color-accent-strong:#F1A36D;}
html, body, .site-loader{background:#ECE7DF;}
body{color:#26221F;}
.velaris-background{display:none;}

/* Header and menu */
.pill{background:rgb(236 231 223 / 0.72); border-color:rgb(38 34 31 / 14%); color:#26221F; backdrop-filter:blur(8px);}
.pill:hover{border-color:rgb(158 63 26 / 0.6); background-color:rgb(158 63 26 / 0.08);}
.pill-primary{color:#1b0c04; background:#F1A36D; border-color:transparent;}
.logo::after{background:radial-gradient(circle, rgb(158 63 26 / 0.25), transparent 65%);}
.site-menu{background:#F7F4EF; color:#26221F; border-color:rgb(38 34 31 / 14%);}
.site-menu::backdrop{background:rgb(38 34 31 / 0.25);}
.menu-caption, .eyebrow{color:#7E766E;}
.menu-line a:hover > span, .menu-line a:focus-visible > span{color:#9E3F1A;}
.menu-line small, .menu-line a[aria-disabled]{color:#7E766E;}
.navigation-notice{background:#F7F4EF; color:#4F4842; border-color:rgb(38 34 31 / 14%);}

/* First page: the original vessel photograph in a rounded frame on the light page */
.earth-hero{background:#ECE7DF;}
.earth-scene{inset:100px max(16px, 1.4vw) max(16px, 1.4vw); width:auto; height:auto; border-radius:clamp(16px, 1.6vw, 26px); box-shadow:0 30px 80px rgb(38 34 31 / 0.14); background:#1a1410;}
.hero-photo{position:absolute; inset:0; width:100%; height:100%; display:block; object-fit:cover; object-position:50% 62%;}
.earth-scene::after{background:linear-gradient(180deg, transparent, rgb(0 0 0 / 38%));}
.earth-hero::after{inset:100px max(16px, 1.4vw) max(16px, 1.4vw); border-radius:clamp(16px, 1.6vw, 26px); background:linear-gradient(90deg, rgb(0 0 0 / 46%), rgb(0 0 0 / 16%) 40%, transparent 66%);}
.earth-copy{color:#fff;}
/* Mission */
.mission::before{background:linear-gradient(180deg, #ECE7DF 0%, #ECE7DF 16%, rgb(236 231 223 / 0.9) 45%, rgb(236 231 223 / 0.55) 75%, rgb(236 231 223 / 0) 100%);}
.mission-support{color:#4F4842;}

/* What we do: same sliding photo stack */
.story-image{border-color:rgb(38 34 31 / 0.12); background:#F7F4EF; box-shadow:0 30px 80px rgb(38 34 31 / 0.16);}
.story-chapter > p:last-child{color:#4F4842;}
.story-sticky::after{background:linear-gradient(transparent, rgb(236 231 223 / 0.6) 95%);}
.story-steps button{color:#7E766E;}
.story-steps button[aria-current], .story-steps button:hover{color:#26221F; border-color:#9E3F1A;}

/* Partnership */
.final-trust, .final-operations, .final-contact{color:#26221F;}
.final-trust__partnership{border-top-color:rgb(38 34 31 / 14%);}
.final-trust__why{color:#9E3F1A;}
.final-trust__support{color:#4F4842;}
.final-inline-link{color:#9E3F1A; border-bottom-color:rgb(158 63 26 / 0.4);}
.final-inline-link:hover, .final-inline-link:focus-visible{color:#26221F;}

.commodityai-mark, .commodityai-mark:hover, .commodityai-mark:focus-visible{filter:brightness(0); opacity:.86;}
.commodityai-mark:hover, .commodityai-mark:focus-visible{opacity:1;}

/* Operations */
.final-kicker{color:#9E3F1A;}
.operations-track::before{background:linear-gradient(90deg, transparent, rgb(158 63 26 / 0.6) 8%, rgb(158 63 26 / 0.3) 92%, transparent); box-shadow:none;}
.operations-card{border-color:rgb(38 34 31 / 14%); background:#F7F4EF; color:#26221F; box-shadow:0 10px 30px rgb(38 34 31 / 0.06);}
.operations-card::after{background:radial-gradient(circle at 25% 20%, rgb(241 107 13 / 20%), rgb(230 20 22 / 7%) 37%, transparent 72%);}
.operations-card.is-active, .operations-card:hover, .operations-card:focus-visible{border-color:rgb(158 63 26 / 0.7); box-shadow:0 24px 60px rgb(158 63 26 / 0.16);}
.operations-card__number{color:#9E3F1A;}
.operations-card__copy{color:#4F4842;}
.operations-connector{background:rgb(158 63 26 / 0.5); box-shadow:none;}
.operations-connector i{border-color:#9E3F1A; background:#ECE7DF; box-shadow:0 0 0 4px rgb(158 63 26 / 0.12);}

/* Contact and form */
.final-contact__details address, .final-contact__details a{color:#26221F;}
.final-contact__details a{border-bottom-color:rgb(38 34 31 / 0.5);}
.final-contact__open{border-bottom-color:#26221F; color:#26221F;}
.final-contact__open i{border-color:#9E3F1A;}
.final-contact__open:hover, .final-contact__open:focus-visible{border-color:#9E3F1A; color:#9E3F1A;}
.final-contact__open:hover i, .final-contact__open:focus-visible i{background:#9E3F1A;}
.final-contact-form{background:#F7F4EF; color:#26221F;}
.final-contact-form__top{background:rgb(247 244 239 / 0.92);}
.final-contact-form__close{border-bottom-color:rgb(38 34 31 / 0.4); color:#26221F;}
.contact-field{border-bottom-color:rgb(38 34 31 / 0.22);}
.contact-field label{color:#4F4842;}
.contact-field label span{color:#7E766E;}
.contact-field input, .contact-field textarea{color:#26221F;}
.contact-field:focus-within{border-color:#9E3F1A;}
.contact-field small, .contact-field [aria-invalid="true"]{color:#B42318;}
.contact-form-note{color:#7E766E;}
.contact-form-note a, .final-contact-form__actions p, [data-contact-form][data-sent] .final-contact-form__actions p::before{color:#9E3F1A;}

/* Footer */
.final-footer{color:#7E766E;}
.final-footer a{color:#26221F;}

/* Intro: the zoom shade uses the stone colour instead of black */
.intro-shade, .intro-shade path{fill:#ECE7DF;}

/* First page: serif slogan at the bottom left of the photo */
@font-face{font-family:Newsreader; src:url("/fonts/newsreader-latin-variable.woff2") format("woff2"); font-weight:200 800; font-display:swap;}
/* Headline sits at the bottom left of the framed photo */
.earth-hero{align-items:flex-end; padding-bottom:calc(max(16px, 1.4vw) + clamp(32px, 4.2vw, 72px)); padding-left:calc(max(16px, 1.4vw) + clamp(24px, 3.6vw, 64px)); padding-right:calc(max(16px, 1.4vw) + 24px);}
.earth-hero::after{background:linear-gradient(15deg, rgb(0 0 0 / 58%) 0%, rgb(0 0 0 / 22%) 38%, transparent 64%);}
.earth-copy h1{max-width:none;}
/* B: serif, like the original pyros.ltd hero */
.earth-copy h1{font-family:Newsreader, Georgia, serif; font-size:clamp(36px, 4.4vw, 72px); font-weight:400; line-height:1.04; letter-spacing:-.015em;}

/* Classic Pyros logo (flame P + wordmark) in the header and contact form */
.logo.logo-classic{width:auto; height:42px;}
.logo.logo-classic::after{display:none;}
.logo-classic img{display:block; width:auto; height:100%;}
@media (max-width: 767px){ .logo.logo-classic{width:auto; height:34px;} }
.final-contact-form .logo.logo-classic{height:34px;}

/* Intro: classic Pyros logo (flame P + YROS) around the animated O */
.intro-fallback{width:min(70vw, 600px);}
.intro-aura{left:calc(50% + min(17.5vw, 150px));}

/* Header: soft stone bar so the logo and buttons stay readable over photos */
.site-header{background:rgb(236 231 223 / 88%); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); padding-bottom:12px; box-shadow:0 1px 0 rgb(38 34 31 / 6%);}

/* Primary buttons: the original pyros.ltd metallic button and motion, with a solid crimson fill */
@keyframes metalShift{0%,100%{background-position:0 0, 0% 50%;} 50%{background-position:0 0, 100% 50%;}}
@keyframes pyrosIgnite{
  0%  {box-shadow:0 3px 10px rgba(0,0,0,.35), 0 0 0 0 rgba(247,120,42,0); filter:brightness(1);}
  35% {box-shadow:0 3px 10px rgba(0,0,0,.35), 0 0 26px 7px rgba(247,120,42,.8); filter:brightness(1.35);}
  100%{box-shadow:0 3px 10px rgba(0,0,0,.35), 0 0 10px 1px rgba(247,120,42,.35); filter:brightness(1);}
}
.pill.pill-primary, a.pill.pill-primary{
  color:#FFF4EC; border:2px solid transparent;
  background-image:linear-gradient(#860F1C, #860F1C),
    linear-gradient(120deg,#3A020B 0%,#F7782A 18%,#860F1C 40%,#FFB27A 55%,#C40E05 75%,#F7782A 100%);
  background-origin:border-box; background-clip:padding-box, border-box; background-size:100% 100%, 220% 100%;
  box-shadow:0 3px 10px rgba(0,0,0,.35), 0 0 10px 1px rgba(247,120,42,.35);
  animation:metalShift 5s ease-in-out infinite;
  transition:box-shadow .25s ease;
}
:root[data-app-ready] .site-header .pill.pill-primary{animation:metalShift 5s ease-in-out infinite, pyrosIgnite .9s ease-out .25s backwards;}
.pill.pill-primary:hover, .pill.pill-primary:focus-visible{
  color:#FFF4EC; border-color:transparent;
  background-image:linear-gradient(#860F1C, #860F1C),
    linear-gradient(120deg,#3A020B 0%,#F7782A 18%,#860F1C 40%,#FFB27A 55%,#C40E05 75%,#F7782A 100%);
  box-shadow:0 6px 18px rgba(0,0,0,.45), 0 0 18px 3px rgba(247,120,42,.6);
  animation-duration:1.4s, .9s;
}
/* Meet the team: same size and wording style as the old site's button */
.pill.pz-team__cta{gap:10px; padding:13px 28px; min-height:0; font:500 14.5px/1.2 Manrope, sans-serif; letter-spacing:0; text-transform:none;}
.pill.pz-team__cta span{transition:transform .25s ease;}
.pill.pz-team__cta:hover span{transform:translateX(4px);}
@media (prefers-reduced-motion: reduce){ .pill.pill-primary, :root[data-app-ready] .site-header .pill.pill-primary{animation:none;} }

/* Contact: Marina Bay photo in a rounded frame, smaller serif heading at the bottom left */
.final-contact__content h2{font-family:Newsreader, Georgia, serif; font-weight:400; font-size:clamp(48px, 5.4vw, 88px); line-height:1.02; letter-spacing:-.015em; margin:0 0 30px;}
.final-contact__kicker{margin:0 0 18px; font:400 11px/1.2 "IBM Plex Mono", monospace; letter-spacing:.14em; text-transform:uppercase;}
.final-contact__backdrop{transform:none !important; background-size:cover; background-position:center;}
/* A: full photo in a rounded frame, text bottom-left */
.final-contact{padding:0;}
.final-contact__backdrop, .final-contact__overlay{inset:0 max(16px,1.4vw) max(16px,1.4vw); border-radius:clamp(16px,1.6vw,26px);}
.final-contact__backdrop{background-image:url(/images/contact-marina-bay.webp); background-position:60% 40%; box-shadow:0 30px 80px rgb(38 34 31 / 14%);}
.final-contact__overlay{background:linear-gradient(20deg, rgb(0 0 0 / 72%) 0%, rgb(0 0 0 / 34%) 42%, transparent 70%) !important;}
.final-contact__content{padding-left:calc(max(16px,1.4vw) + clamp(24px,3.6vw,64px)); padding-bottom:calc(max(16px,1.4vw) + clamp(40px,6vh,80px));}
.final-contact__content, .final-contact__details address, .final-contact__details a, .final-contact__open{color:#fff !important;}
.final-contact__details a, .final-contact__open{border-bottom-color:rgb(255 255 255 / 70%) !important;}
.final-contact__kicker{color:rgb(255 255 255 / 75%);}
.final-contact__open i{border-color:#fff !important;}
.final-contact__open:hover i, .final-contact__open:focus-visible i{background:#fff !important;}
.final-contact-form__actions button{background:#860F1C; border-color:#860F1C; color:#FFF4EC;}
.final-contact-form__actions button:hover, .final-contact-form__actions button:focus-visible{background:#6E0B17; border-color:#6E0B17;}
