/* ==========================================================
   CHIBI T-REX RIDER — ISTAR ANIMATRONIC
   Aesthetic: dark slate & three-stage metallic teal gradient theme
   ========================================================== */

:root{
  --bg:        #f4fafb; /* Very light ice-blue background */
  --bg-2:      #ffffff; /* Pure white card background */
  --bg-3:      #e8f3f5; /* Subtle light cyan-teal section background */
  --ink:       #0a1c24; /* Deep navy/teal text for optimal contrast */
  --ink-dim:   #4a5f6e; /* Medium slate-teal secondary text */
  --ink-mute:  #d2dfe7; /* Light borders and lines */
  
  /* Color shades matching D:\ISTAR\WEBSITE\T-Rex_Nhun\image\logo1.jpg exactly */
  --accent-light: #aeeaf2; /* Light metallic ice-blue */
  --accent:       #26a4b7; /* Vibrant cyan-teal (logo middle) */
  --accent-deep:  #064956; /* Deep metallic teal (logo dark shade) */
  --accent-2:     #1e8b9b; /* Vibrant deep teal for active states */
  
  --leather:   #b07644; /* Tan leather saddle highlight */
  --leather-2: #784922; /* Deep saddle brown */
  --line:      rgba(38, 164, 183, 0.18); /* Soft teal borders */
  --line-2:    rgba(38, 164, 183, 0.05);  /* Layout grid lines */

  --display:   "Fredoka", "Bebas Neue", Impact, sans-serif;
  --tech:      "Outfit", sans-serif;
  --mono:      "Space Mono", monospace;

  --ease:      cubic-bezier(.22,.61,.36,1);
  --ease-out:  cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }

html{ scroll-behavior:smooth; }

body{
  background: var(--bg);
  color: var(--ink);
  font-family: var(--tech);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

img{ display:block; max-width:100%; }

::selection{ background: var(--accent); color: var(--bg); }

/* ----- Background atmospherics ----- */
.grain{
  position: fixed; inset:0;
  pointer-events:none;
  z-index: 100;
  opacity: .025; /* Soft texture overlay */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

.bg-glow{
  position: fixed;
  top: -20vh; left: 50%;
  transform: translateX(-50%);
  width: 120vw; height: 100vh;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(38, 164, 183, .12), transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(6, 73, 86, .08), transparent 70%);
  pointer-events:none;
  z-index: 0;
}

.bg-grid{
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events:none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 80%);
}

/* ----- Ticker ----- */
.ticker{
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(232, 243, 245, 0.85);
  backdrop-filter: blur(6px);
  z-index: 5;
}
.ticker__track{
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  padding: .65rem 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--accent-deep);
  animation: tickerScroll 40s linear infinite;
  width: max-content;
}
.ticker__track span{ flex-shrink: 0; }
@keyframes tickerScroll{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ----- Nav ----- */
.nav{
  position: sticky; top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(244, 250, 251, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__logo{
  display: flex;
  align-items: center;
  height: 35px;
  width: 200px; /* Explicit width constraint to prevent long logo from collapsing */
  text-decoration: none;
}
.nav__logo img{
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(38, 164, 183, .35));
  transition: filter .4s var(--ease);
}
.nav__logo:hover img{
  filter: drop-shadow(0 0 16px rgba(38, 164, 183, .7));
}
.nav__menu{
  display: flex;
  gap: 2.5rem;
}
.nav__menu a{
  font-family: var(--tech);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--ink-dim);
  text-decoration: none;
  position: relative;
  transition: color .3s var(--ease);
}
.nav__menu a::after{
  content:"";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .4s var(--ease);
}
.nav__menu a:hover{ color: var(--accent-deep); }
.nav__menu a:hover::after{ width: 100%; }

/* Hotline link */
.nav__hotline{
  display: inline-flex;
  align-items: center;
  color: var(--accent-deep);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: color 0.3s var(--ease);
}
.nav__hotline:hover{
  color: var(--accent);
}

.nav__cta{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1.4rem;
  border: 1px solid var(--accent);
  color: #ffffff;
  background: var(--accent);
  font-family: var(--tech);
  font-size: 11px;
  letter-spacing: .25em;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: color .35s var(--ease), border-color .35s var(--ease);
  z-index: 1;
}
.nav__cta::before{
  content:"";
  position: absolute; inset: 0;
  background: var(--accent-2);
  transform: translateX(-101%);
  transition: transform .4s var(--ease);
  z-index: -1;
}
.nav__cta:hover{ color: #ffffff; border-color: var(--accent-2); }
.nav__cta:hover::before{ transform: translateX(0); }

/* ==============================================
   HERO
   ============================================== */
.hero{
  position: relative;
  min-height: 100vh;
  padding: 4rem 3rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Big background word */
.hero__bg-text{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}
.hero__bg-text span{
  font-family: var(--display);
  font-size: clamp(10rem, 28vw, 28rem);
  line-height: .8;
  letter-spacing: .02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(38, 164, 183, 0.15);
  font-weight: 700;
  white-space: nowrap;
  animation: bgTextFloat 8s ease-in-out infinite;
}
.hero__bg-text span:last-child{
  animation-delay: -4s;
  -webkit-text-stroke: 1.5px rgba(38, 164, 183, 0.08);
}

@keyframes bgTextFloat{
  0%,100%{ transform: translateX(0); }
  50%   { transform: translateX(-20px); }
}

/* Side tags */
.hero__sidetag{
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--ink-dim);
  z-index: 3;
  transform-origin: center;
  white-space: nowrap;
}
.hero__sidetag--left{
  left: 2rem;
  transform: rotate(-90deg) translateX(50%);
  transform-origin: left center;
}
.hero__sidetag--right{
  right: 2rem;
  transform: rotate(90deg) translateX(-50%);
  transform-origin: right center;
}
.hero__sidetag .dot{
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse{
  0%,100%{ opacity: 1; transform: scale(1); }
  50%   { opacity: .4; transform: scale(.7); }
}

/* Hero content */
.hero__content{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero__meta{
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--accent);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) .3s forwards;
}
.hero__meta .line{
  width: 50px; height: 1px;
  background: var(--accent);
}

.hero__title{
  font-family: var(--display);
  font-weight: 700;
  text-align: center;
  line-height: .85;
  margin: .5rem 0;
}
.title-row{
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out) .4s forwards;
}
.title-row--right{
  animation-delay: .55s;
}
.ital{
  font-family: var(--tech);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 3rem);
  color: var(--ink-dim);
  font-weight: 400;
  text-transform: lowercase;
}

/* Metallic gradient matching the logo1.jpg color distribution */
.word{
  font-size: clamp(4rem, 12vw, 10rem);
  letter-spacing: -.02em;
  color: var(--ink);
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 15px rgba(38, 164, 183, 0.15));
}
.word--outline{
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  background: none;
  filter: none;
}

.hero__sub{
  max-width: 640px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.7;
  letter-spacing: .02em;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out) .7s forwards;
}

/* ----- Hero product (Video + decorative elements) ----- */
.hero__product{
  position: relative;
  width: clamp(300px, 55vw, 620px);
  aspect-ratio: 1;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1.6s var(--ease-out) .85s forwards;
}

#canvas-container{
  position: absolute;
  inset: 5%;
  z-index: 2;
}
#canvas-container canvas{
  width: 100% !important;
  height: 100% !important;
}

/* Hover → pause visual feedback */
.hero__product:hover #canvas-container{
  filter: brightness(.85);
  transition: filter .4s var(--ease);
}

/* Pause icon overlay on hover */
.hero__product::after{
  content: "❚❚";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  font-size: 2.5rem;
  color: rgba(255, 255, 255, .85);
  text-shadow: 0 2px 20px rgba(0, 0, 0, .6);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 10;
}
.hero__product:hover::after{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Glow behind video */
.hero__product-glow{
  position: absolute;
  inset: 10%;
  background:
    radial-gradient(circle at center, rgba(38, 164, 183, .28), transparent 70%),
    radial-gradient(circle at center, rgba(6, 73, 86, .14), transparent 70%);
  filter: blur(40px);
  z-index: 1;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse{
  0%,100%{ opacity: .85; transform: scale(1); }
  50%   { opacity: 1;   transform: scale(1.08); }
}

/* Rotating rings */
.hero__product-ring{
  position: absolute;
  inset: -2%;
  border: 1px solid var(--line);
  border-radius: 50%;
  z-index: 1;
  animation: ringSpin 30s linear infinite;
}
.hero__product-ring::before,
.hero__product-ring::after{
  content:"";
  position: absolute;
  border: 1px solid transparent;
  border-radius: 50%;
}
.hero__product-ring::before{
  inset: 5%;
  border-top-color: var(--accent);
  border-right-color: rgba(38, 164, 183, .2);
}
.hero__product-ring::after{
  inset: 12%;
  border-bottom-color: var(--accent);
  border-left-color: rgba(38, 164, 183, .2);
  animation: ringSpin 18s linear infinite reverse;
}
@keyframes ringSpin{
  to{ transform: rotate(360deg); }
}

/* Shadow under product */
.hero__shadow{
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 35px;
  background:
    radial-gradient(ellipse, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .45) 40%, transparent 70%),
    radial-gradient(ellipse 60% 100% at 50% 50%, rgba(38, 164, 183, .15), transparent 70%);
  filter: blur(10px);
  z-index: 2;
  animation: shadowPulse 6s ease-in-out infinite;
}
@keyframes shadowPulse{
  0%,100%{ width: 60%; opacity: .9; }
  50%   { width: 50%; opacity: .6; }
}

/* Annotations */
.annot{
  position: absolute;
  display: flex;
  align-items: center;
  z-index: 4;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) forwards;
}
.annot--1{ top: 12%; left: -10%; animation-delay: 1.6s; }
.annot--2{ top: 28%; right: -12%; animation-delay: 1.85s; flex-direction: row-reverse; }
.annot--3{ bottom: 35%; left: -14%; animation-delay: 2.1s; }
.annot--4{ bottom: 12%; right: -10%; animation-delay: 2.3s; flex-direction: row-reverse; }

.annot__dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 0 4px rgba(38, 164, 183, .2);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.annot__line{
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.annot--2 .annot__line,
.annot--4 .annot__line{
  background: linear-gradient(90deg, transparent, var(--accent));
}
.annot__label{
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 .6rem;
  white-space: nowrap;
}
.annot__num{
  color: var(--accent);
  font-weight: 700;
  font-size: 9px;
}
.annot__txt{
  color: var(--ink);
  text-transform: uppercase;
}
.annot--2 .annot__label,
.annot--4 .annot__label{ text-align: right; }

@keyframes fadeUp{
  from{ opacity: 0; transform: translateY(30px); }
  to  { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn{
  to{ opacity: 1; }
}

/* Hero bottom */
.hero__bottom{
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out) 1s forwards;
}
.hero__price{
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}
.hero__price-label{
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--ink-dim);
}
.hero__price-value{
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--ink);
  line-height: 1;
  font-weight: 700;
}
.hero__price-value .cur{
  font-family: var(--tech);
  font-size: .8rem;
  color: var(--accent);
  margin-left: .4rem;
  letter-spacing: .15em;
  font-weight: 700;
}

.btn-primary{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: 1.1rem 2.2rem;
  background: transparent;
  border: 1px solid var(--accent);
  color: #ffffff;
  font-family: var(--tech);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .25em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  isolation: isolate;
  border-radius: 4px;
}
.btn-primary__bg{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent-light) 0%, var(--accent) 55%, var(--accent-deep) 100%);
  z-index: -1;
  transform: translateY(0);
  transition: transform .5s var(--ease);
}
.btn-primary:hover{
  color: var(--accent-deep);
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(38, 164, 183, 0.15);
}
.btn-primary:hover .btn-primary__bg{
  transform: translateY(-101%);
}
.btn-primary svg{ transition: transform .4s var(--ease); }
.btn-primary:hover svg{ transform: translateX(4px); }

.hero__stock{
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
}
.hero__stock-bar{
  height: 4px;
  background: var(--ink-mute);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.hero__stock-bar span{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
  box-shadow: 0 0 10px rgba(38, 164, 183, 0.5);
  animation: stockFill 2s var(--ease-out) 1.4s both;
}
@keyframes stockFill{
  from{ transform: scaleX(0); transform-origin: left; }
}
.hero__stock-txt{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--ink-dim);
}

/* Scroll hint */
.scroll-hint{
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--ink-dim);
  z-index: 3;
}
.scroll-hint__line{
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--accent), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hint__line::after{
  content:"";
  position: absolute;
  top: -40px; left: 0;
  width: 100%; height: 40px;
  background: var(--accent);
  animation: scrollDot 2s var(--ease-out) infinite;
}
@keyframes scrollDot{
  to{ top: 100%; }
}

/* ==============================================
   SECTION HEADS
   ============================================== */
.section-head{
  margin-bottom: 4rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 3rem;
}
.section-head--center{ text-align: center; }

.kicker{
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title{
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
  max-width: 900px;
}
.section-title em{
  font-family: var(--tech);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.section-head--center .section-title{ margin: 0 auto; }

/* ==============================================
   SPECS
   ============================================== */
.specs{
  position: relative;
  padding: 8rem 0;
  z-index: 2;
  background: var(--bg-3);
}
.specs__grid{
  max-width: 1280px;
  margin: 0 auto 6rem;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.spec-card{
  position: relative;
  padding: 2.5rem 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(6, 73, 86, 0.04);
  overflow: hidden;
  border-radius: 8px;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.spec-card:hover{
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(38, 164, 183, 0.1);
}
.spec-card__num{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.spec-card h3{
  font-family: var(--tech);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: .8rem;
  line-height: 1.2;
}
.spec-card p{
  color: var(--ink-dim);
  font-size: 13px;
  line-height: 1.7;
}
.spec-card__bar{
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.spec-card:hover .spec-card__bar{
  transform: scaleX(1);
}

.specs__numbers{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 4rem;
}
.num{
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.num__big{
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: .9;
  color: var(--ink);
  letter-spacing: 0;
  font-weight: 700;
}
.num__unit{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--accent);
}
.num__label{
  font-family: var(--tech);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-dim);
  letter-spacing: .15em;
  margin-top: .3rem;
}

/* ==============================================
   SHOWCASE (Full-Frame Containment, No Cropping)
   ============================================== */
.showcase{
  position: relative;
  padding: 8rem 3rem;
  z-index: 2;
  overflow: hidden;
}
.showcase__inner{
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}
.showcase__text{
  position: sticky;
  top: 12rem;
  align-self: start;
}
.showcase__text h2{
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: .95;
  margin: 1rem 0 1.5rem;
  color: var(--ink);
}
.showcase__text h2 em{
  font-family: var(--tech);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.showcase__text p{
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.8;
  max-width: 380px;
}

.showcase__image{
  position: relative;
  aspect-ratio: 4/5;
  background: #505050; /* Match exact background of grey studio render */
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.showcase__image img{
  width: 100%;
  height: 100%;
  object-fit: contain; /* Contain ensures full uncropped render display */
  object-position: center;
  transition: transform 1.4s var(--ease-out);
  transform: scale(1.02);
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, .3));
}
.showcase__image:hover img{
  transform: scale(1.06);
}
.showcase__frame{
  position: absolute; inset: 12px;
  pointer-events: none;
}
.corner{
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--accent);
}
.corner.tl{ top:0; left:0; border-right:none; border-bottom:none; }
.corner.tr{ top:0; right:0; border-left:none; border-bottom:none; }
.corner.bl{ bottom:0; left:0; border-right:none; border-top:none; }
.corner.br{ bottom:0; right:0; border-left:none; border-top:none; }

.showcase__tag{
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: .5rem 1rem;
  background: rgba(4, 8, 14, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--accent);
}

/* ==============================================
   GALLERY (Uncropped containments with matching backgrounds)
   ============================================== */
.gallery{
  padding: 8rem 0;
  position: relative;
  z-index: 2;
  background: var(--bg-3);
}
.gallery__grid{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 240px;
  gap: 1.5rem;
}
.g-tile{
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.g-tile--1{ grid-column: span 4; grid-row: span 2; background: transparent; }
.g-tile--2{ grid-column: span 2; grid-row: span 1; background: transparent; }
.g-tile--3{ grid-column: span 2; grid-row: span 1; background: transparent; }
.g-tile--4{ 
  grid-column: span 6; 
  grid-row: span 1; 
  background: #ffffff; 
  border-color: rgba(38, 164, 183, 0.25);
}

.g-tile img{
  width: 100%; height: 100%;
  object-fit: cover; /* Cover fills the grid spaces for a premium, seamless look */
  transition: transform 0.6s var(--ease-out);
}
.g-tile:not(.g-tile--4) img{
  filter: contrast(1.05) brightness(0.95);
}
.g-tile--4 img{
  object-fit: contain; /* Contain for the logo base rendering on white */
  transform: scale(0.95);
}

.g-tile:hover img{
  transform: scale(1.04); /* Gentle hover zoom */
}
.g-tile--4:hover img{
  transform: scale(0.98);
}

.g-tile:hover{
  border-color: var(--accent-light);
  box-shadow: 0 10px 25px rgba(38, 164, 183, 0.15);
}
.g-tile:not(.g-tile--4):hover img{
  filter: contrast(1.1) brightness(1.02);
}

.g-tile__label{
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: .4rem .8rem;
  background: rgba(4, 8, 14, 0.85);
  backdrop-filter: blur(6px);
  border-left: 3px solid var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .25em;
  color: #ffffff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.g-tile--4 .g-tile__label{
  background: rgba(255, 255, 255, 0.9);
  color: #04080e;
}
.g-tile:hover .g-tile__label{
  opacity: 1;
  transform: translateY(0);
}

/* ==============================================
   ORDER
   ============================================== */
.order{
  position: relative;
  padding: 8rem 3rem;
  background: linear-gradient(180deg, var(--bg-3), rgba(38, 164, 183, 0.05));
  overflow: hidden;
  z-index: 2;
}
.order__bg-text{
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: clamp(8rem, 22vw, 22rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(38, 164, 183, 0.12);
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
.order__inner{
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.order__left h2{ margin: 1rem 0 1.5rem; }
.order__lead{
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 450px;
}
.order__list{
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.order__list li{
  font-family: var(--tech);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.order__list span{ color: var(--accent); }
 
.order__card{
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 15px 40px rgba(6, 73, 86, 0.08);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.order__card::before{
  content:"";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.order__card-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--ink-dim);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.status{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--accent);
}
.status::before{
  content:"";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}
.order__price{
  display: flex;
  align-items: baseline;
  gap: .8rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.order__price .cur{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--accent);
}
.order__price .amount{
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--ink);
  font-weight: 700;
}

.order__field{
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.2rem;
}
.order__field label{
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .25em;
  color: var(--ink-dim);
}
.order__field input,
.order__field select{
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--line);
  padding: .7rem 0;
  color: var(--ink);
  font-family: var(--tech);
  font-weight: 500;
  font-size: 14px;
  outline: none;
  transition: border-color .3s var(--ease);
}
.order__field input:focus,
.order__field select:focus{
  border-color: var(--accent-light);
}
.order__field select{ cursor: pointer; }
.order__field select option{ background: var(--bg-2); color: var(--ink); }
.order__field input::placeholder{ color: var(--ink-mute); }

.order__submit{
  width: 100%;
  margin-top: 1.5rem;
  padding: 1.2rem;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #ffffff;
  font-family: var(--tech);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.order__submit:hover{
  transform: translateY(-2px);
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(38, 164, 183, 0.2);
}
.order__submit:hover svg{ transform: translateX(4px); }
.order__submit svg{ transition: transform .3s var(--ease); }

.order__fine{
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 1rem;
  line-height: 1.6;
  text-align: center;
}

/* ==============================================
   FOOTER
   ============================================== */
.foot{
  border-top: 1px solid var(--line);
  padding: 5rem 3rem 2rem;
  position: relative;
  z-index: 2;
  background: var(--bg-3);
}
.foot__top{
  max-width: 1280px;
  margin: 0 auto 4rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.foot__logo{
  height: 40px;
  filter: drop-shadow(0 0 8px rgba(38, 164, 183, .3));
}
.foot__tag{
  color: var(--ink-dim);
  font-size: 13px;
  max-width: 500px;
  line-height: 1.7;
}

.foot__cols{
  max-width: 1280px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.foot__cols > div{
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.foot__h{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: .5rem;
}
.foot__cols a{
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 13px;
  transition: color .3s var(--ease);
}
.foot__cols a:hover{ color: var(--accent); }

.foot__bottom{
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--ink-dim);
}

/* ==============================================
   REVEAL ANIMATIONS
   ============================================== */
.reveal{
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Stagger reveals */
.specs__grid .reveal:nth-child(1){ transition-delay: 0s; }
.specs__grid .reveal:nth-child(2){ transition-delay: .1s; }
.specs__grid .reveal:nth-child(3){ transition-delay: .2s; }
.specs__grid .reveal:nth-child(4){ transition-delay: .3s; }
.specs__numbers .reveal:nth-child(1){ transition-delay: 0s; }
.specs__numbers .reveal:nth-child(2){ transition-delay: .1s; }
.specs__numbers .reveal:nth-child(3){ transition-delay: .2s; }
.specs__numbers .reveal:nth-child(4){ transition-delay: .3s; }
.gallery__grid .reveal:nth-child(1){ transition-delay: 0s; }
.gallery__grid .reveal:nth-child(2){ transition-delay: .1s; }
.gallery__grid .reveal:nth-child(3){ transition-delay: .15s; }
.gallery__grid .reveal:nth-child(4){ transition-delay: .25s; }

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 960px){
  .nav{ padding: 1rem 1.5rem; }
  .nav__menu{ display: none; }
  .nav__logo{ width: 160px; }
  .nav__hotline{ font-size: 11px; }
  .hero{ padding: 3rem 1.5rem 5rem; }
  .hero__sidetag{ display: none; }
  .specs__grid{
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1.5rem;
  }
  .specs__numbers{
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1.5rem;
  }
  .section-head{ padding: 0 1.5rem; }
  .showcase{ padding: 5rem 1.5rem; }
  .showcase__inner{
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .showcase__text{ position: static; }
  .gallery__grid{
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    padding: 0 1.5rem;
  }
  .g-tile--1{ grid-column: span 2; grid-row: span 2; }
  .g-tile--2{ grid-column: span 1; }
  .g-tile--3{ grid-column: span 1; }
  .g-tile--4{ grid-column: span 2; }
  
  .g-tile--4 img { transform: scale(1); }

  .order{ padding: 5rem 1.5rem; }
  .order__inner{
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .foot{ padding: 4rem 1.5rem 2rem; }
  .foot__top{
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .foot__cols{ grid-template-columns: 1fr; gap: 2rem; }
  .foot__bottom{
    flex-direction: column;
    gap: .8rem;
    text-align: center;
  }
  .annot{ display: none; }
  .hero__bottom{ flex-direction: column; gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
