/* #IndiaHaiHybrid Contest — page-scoped styles.
   Every selector is scoped under .ihh-page and every class carries the
   ihh- prefix so nothing here can collide with toyotabharat.com's global
   css/style.css. Do not add unscoped/unprefixed rules to this file. */

/* Book (350) and Bold-Italic (700i) reuse font files already shipped in
   the shared /fonts/ folder (ToyotaType-Book.otf, ToyotaType-BoldIt.otf)
   but neither has a @font-face anywhere in the shared style.css, so we
   declare them here, scoped to this page's own stylesheet. Semibold (600)
   and Bold (700) already have a global @font-face in style.css and are
   used as-is. Book-Italic (350i) has no source file on the site at all,
   so its font file lives in fonts/india-hai-hybrid-contest/. */
@font-face {
  font-family: "ToyotaType-Book";
  src: url("../../fonts/ToyotaType-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ToyotaType-BoldIt";
  src: url("../../fonts/ToyotaType-BoldIt.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "ToyotaType-BookIt";
  src: url("../../fonts/india-hai-hybrid-contest/toyota-type-book-italic.woff2") format("woff2"),
    url("../../fonts/india-hai-hybrid-contest/toyota-type-book-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

.ihh-page {
  --ihh-toyota-red: #EB0A1E;
  --ihh-ink: #111111;
  --ihh-ink-soft: #2B2B2B;
  --ihh-white: #FFFFFF;
  --ihh-blue-600: #0B5FCB;
  --ihh-blue-500: #1479D1;
  --ihh-blue-400: #2E9BE6;
  --ihh-blue-200: #A8D8F8;
  --ihh-blue-050: #E6F3FD;
  --ihh-violet-900: #4B0A55;
  --ihh-violet-700: #6B1076;
  --ihh-violet-300: #B98FC0;
  --ihh-gold-400: #FFC72C;
  --ihh-text-body: var(--ihh-ink);
  --ihh-text-accent: var(--ihh-blue-500);
  --ihh-text-quote: var(--ihh-blue-400);
  --ihh-border-soft: rgba(107, 16, 118, .45);
  --ihh-link: var(--ihh-blue-500);
  --ihh-link-hover: var(--ihh-blue-600);
  --ihh-grad-hero: linear-gradient(90deg, #C8A6E8 0%, #B9AEEA 32%, #7FC4EB 62%, #63BEEA 100%);
  --ihh-grad-spectrum: linear-gradient(90deg, #00A0A8, #2E9BE6, #7B4FD1, #D6216A, #E8452F, #F2A03C, #F4D03F, #8BD46B, #2E9BE6);
  --ihh-grad-pill: linear-gradient(90deg, #E23B3B 0%, #C81E5A 28%, #8E5AB5 58%, #3FA8E0 82%, #7CD2F0 100%);
  --ihh-mesh-pastel:
    radial-gradient(60% 70% at 4% 22%, #FCE9C6 0%, rgba(252, 233, 198, 0) 60%),
    radial-gradient(55% 60% at 0% 78%, #F7D8B0 0%, rgba(247, 216, 176, 0) 62%),
    radial-gradient(70% 80% at 30% 55%, #F3D9EC 0%, rgba(243, 217, 236, 0) 65%),
    radial-gradient(80% 90% at 82% 18%, #DCEFFA 0%, rgba(220, 239, 250, 0) 70%),
    radial-gradient(90% 90% at 96% 92%, #9CCFEF 0%, rgba(156, 207, 239, 0) 72%),
    radial-gradient(70% 70% at 62% 96%, #CFE6F7 0%, rgba(207, 230, 247, 0) 70%),
    linear-gradient(120deg, #EFF6FB 0%, #F6F1F8 45%, #DDEEF9 100%);
  --ihh-font-core: "ToyotaType-Book", "Helvetica Neue", Arial, sans-serif;
  --ihh-fs-h2: clamp(24px, 2.2vw, 42px);
  --ihh-fs-lead: clamp(18px, 1.6vw, 32px);
  --ihh-fs-body: clamp(16px, 1.25vw, 24px);
  --ihh-fs-small: clamp(14px, .95vw, 18px);
  --ihh-sp-1: 4px;
  --ihh-sp-2: 8px;
  --ihh-sp-3: 12px;
  --ihh-sp-4: 16px;
  --ihh-sp-5: 24px;
  --ihh-sp-6: 32px;
  --ihh-sp-7: 48px;
  --ihh-sp-8: 64px;
  --ihh-sp-9: 88px;
  --ihh-rule-frame: 3px;
  --ihh-rule-hairline: 1px;
  --ihh-container: 1420px;
  --ihh-container-narrow: 1120px;

  position: relative;
  margin: 0;
  /* Fallback offset for the site's fixed top nav, only visible for an
     instant before script.js measures the real (breakpoint-dependent —
     it ranges from ~64px to ~154px on this site) header height and
     overrides this inline. Biased high so the brief pre-JS window is at
     worst a slightly bigger gap, never an overlap. */
  padding-top: 160px;
  font-family: var(--ihh-font-core);
  color: var(--ihh-text-body);
  -webkit-font-smoothing: antialiased;
}

.ihh-page *{box-sizing:border-box}
.ihh-page img{display:block;max-width:100%}
.ihh-page a{color:var(--ihh-link);text-decoration:none}
.ihh-page a:hover{color:var(--ihh-link-hover);text-decoration:underline}
.ihh-page .ihh-wrap{max-width:var(--ihh-container);margin:0 auto;padding:0 var(--ihh-sp-6)}
.ihh-page .ihh-narrow{max-width:var(--ihh-container-narrow);margin:0 auto}
/* .ihh-frame-title span below paints this SAME gradient with
   background-attachment:fixed so its "cutout" lines up pixel-for-pixel
   with this layer and reads as a hole in one continuous background — that
   needs the gradient's PAINT POSITION to be viewport-anchored on both.
   It does NOT require this element itself to be position:fixed (that
   made the gradient cover the whole viewport permanently, bleeding past
   the end of .ihh-page into the gap before the footer). Instead:
   position:absolute (clipped to .ihh-page's own box, so it never paints
   past our own content) + background-attachment:fixed (still anchors the
   gradient's pattern to the viewport, so it lines up with the title's
   cutout) gets both properties at once. */
.ihh-page .ihh-mesh-bg{position:absolute;inset:0;background:var(--ihh-mesh-pastel);background-attachment:fixed;z-index:-1}
.ihh-page .ihh-pastel{background:transparent}

/* HERO */
.ihh-page .ihh-hero{position:relative;background:var(--ihh-grad-hero)}
.ihh-page .ihh-hero-track{position:relative;width:100%;aspect-ratio:1920/574}
.ihh-page .ihh-hero-track img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .9s ease}
.ihh-page .ihh-hero-track img.ihh-is-active{opacity:1}
.ihh-page .ihh-hero-dots{position:absolute;left:50%;bottom:var(--ihh-sp-5);transform:translateX(-50%);display:flex;gap:var(--ihh-sp-2)}
.ihh-page .ihh-hero-dots button{width:9px;height:9px;padding:0;border-radius:50%;border:1px solid rgba(255,255,255,.8);background:rgba(255,255,255,.35);cursor:pointer;transition:background .18s ease,transform .18s ease}
.ihh-page .ihh-hero-dots button[aria-pressed="true"]{background:var(--ihh-white);transform:scale(1.25)}

/* INTRO */
.ihh-page .ihh-intro{padding:var(--ihh-sp-9) var(--ihh-sp-6) var(--ihh-sp-7)}
.ihh-page .ihh-intro h1{margin:0;text-align:center;font-size:30px;font-family:"ToyotaType-Bold";line-height:1.28;text-wrap:pretty}
.ihh-page .ihh-intro h1 em{font-style:normal;font-family:"ToyotaType-BoldIt";color:var(--ihh-text-accent)}
.ihh-page .ihh-rule{width:min(52%,760px);height:var(--ihh-rule-hairline);background:rgba(17,17,17,.35);margin:var(--ihh-sp-6) auto}
.ihh-page .ihh-intro p{margin:0 auto;max-width:1080px;text-align:center;font-size:27px;line-height:1.45}

/* HYBRID FRAME */
.ihh-page .ihh-frame{position:relative;margin:var(--ihh-sp-9) auto 0;max-width:1520px;border-radius:34px}
.ihh-page .ihh-frame::before{content:"";position:absolute;inset:0;border-radius:34px;padding:var(--ihh-rule-frame);background:var(--ihh-grad-spectrum);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.ihh-page .ihh-frame-inner{position:relative;border-radius:31px;padding:var(--ihh-sp-9) var(--ihh-sp-7) var(--ihh-sp-7)}
.ihh-page .ihh-frame-title{position:absolute;top:-25.88px;left:0;right:0;text-align:center;font-size:39px;font-family:"ToyotaType-BoldIt";color:var(--ihh-blue-400)}
.ihh-page .ihh-frame-title span{display:inline-block;padding:0 var(--ihh-sp-5);background:var(--ihh-mesh-pastel);background-attachment:fixed;font-size:39px}
.ihh-page .ihh-frame-title b{font-family:"ToyotaType-BoldIt";color:var(--ihh-blue-600)}
.ihh-page .ihh-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--ihh-sp-8);max-width:1240px;margin:0 auto}
.ihh-page .ihh-tile figure{margin:0}
.ihh-page .ihh-tile img{width:100%;border-radius:22px}
.ihh-page .ihh-tile figcaption{margin-top:var(--ihh-sp-5);text-align:center;font-size:20px;line-height:22px;font-family:"ToyotaType-BoldIt"}
.ihh-page .ihh-frame-foot{margin:var(--ihh-sp-7) 0 0;text-align:center;font-size:24px;font-family:"ToyotaType-BookIt";color:var(--ihh-text-quote);line-height:1.35}

/* STEPS */
.ihh-page .ihh-steps-sec{background:var(--ihh-white);padding:var(--ihh-sp-9) 0 var(--ihh-sp-9)}
.ihh-page .ihh-steps-sec .ihh-wrap{max-width:1880px}
.ihh-page .ihh-sec-title{margin:0 0 var(--ihh-sp-8);text-align:center;font-size:var(--ihh-fs-h2);font-family:"ToyotaType-BoldIt";letter-spacing:.01em}
.ihh-page .ihh-steps-wrap{max-width:1770px;margin:0 auto}
.ihh-page .ihh-steps{display:grid;grid-template-columns:23fr 28fr 24.5fr 24.5fr;gap:50px;align-items:stretch}
.ihh-page .ihh-step{position:relative;padding:27px 0 0 27px}
.ihh-page .ihh-step-body{height:100%;min-height:130px;border:1px solid var(--ihh-border-soft);border-radius:24px;padding:15px 20px 15px 30px;background:var(--ihh-white)}
.ihh-page .ihh-step h3{margin:0 0 8px;font-size:24px;font-family:"ToyotaType-Bold";letter-spacing:.01em;text-transform:uppercase;color:var(--ihh-violet-700)}
.ihh-page .ihh-step p{margin:0;font-size:18px;line-height:24px}
.ihh-page .ihh-step .ihh-icon{position:absolute;top:0;left:0;width:54px;height:54px;border-radius:50%;background:var(--ihh-violet-900);display:grid;place-items:center}
.ihh-page .ihh-step .ihh-icon img{width:30px;height:30px}
.ihh-page .ihh-step .ihh-num{position:absolute;top:65px;left:9px;width:36px;height:36px;border-radius:50%;background:var(--ihh-gold-400);color:var(--ihh-violet-900);display:grid;place-items:center;font-size:17px;font-family:"ToyotaType-Bold"}
.ihh-page .ihh-split{display:flex;align-items:center;gap:var(--ihh-sp-4)}
.ihh-page .ihh-split p{flex:0 1 auto;min-width:0;font-family:"ToyotaType-Semibold"}
.ihh-page .ihh-split p:first-child{flex:0 0 auto;min-width:max-content}
.ihh-page .ihh-split p:last-child{flex:1 1 auto;min-width:0}
@media(min-width:1750px){.ihh-page .ihh-split{gap:10px}.ihh-page .ihh-split .ihh-rule-v{margin:0 4px}.ihh-page .ihh-split p{flex:0 0 auto;min-width:max-content}.ihh-page .ihh-split p:last-child{min-width:0;max-width:200px;white-space:normal}}
.ihh-page .ihh-split .ihh-rule-v{position:relative;width:1px;align-self:stretch;background:var(--ihh-border-soft);margin:0 6px}
.ihh-page .ihh-split .ihh-or{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:var(--ihh-white);padding:2px 4px;font-size:16px;font-family:"ToyotaType-BookIt";color:var(--ihh-ink-soft)}
.ihh-page .ihh-step small{font-size:14px}

/* WINNING */
.ihh-page .ihh-win{padding:var(--ihh-sp-9) 0 var(--ihh-sp-9)}
.ihh-page .ihh-criteria{display:grid;grid-template-columns:repeat(3,1fr);width:100%;text-align:center;margin-bottom:var(--ihh-sp-9)}
.ihh-page .ihh-criteria div{padding:0 var(--ihh-sp-6);font-size:var(--ihh-fs-h2);font-family:"ToyotaType-Semibold";line-height:1.2}
.ihh-page .ihh-criteria div+div{border-left:1px solid var(--ihh-violet-300)}
.ihh-page .ihh-criteria span{display:block;color:var(--ihh-blue-600);font-family:"ToyotaType-Bold"}
.ihh-page .ihh-criteria small{display:block;margin-top:var(--ihh-sp-2);font-size:var(--ihh-fs-small);font-family:"ToyotaType-Bold";color:var(--ihh-blue-600)}
.ihh-page .ihh-prize{position:relative;max-width:1520px;margin:0 auto;border-radius:30px;padding:var(--ihh-rule-frame);background:var(--ihh-grad-spectrum)}
.ihh-page .ihh-prize-inner{border-radius:27px;background:var(--ihh-white);padding:var(--ihh-sp-9) var(--ihh-sp-6) var(--ihh-sp-8)}
.ihh-page .ihh-prize-pill{position:absolute;top:-28px;left:50%;transform:translateX(-50%);white-space:nowrap;padding:10px 34px;border-radius:6px;background:var(--ihh-grad-pill);color:var(--ihh-white);font-size:var(--ihh-fs-h2);font-family:"ToyotaType-BoldIt"}
.ihh-page .ihh-prizes{display:grid;grid-template-columns:repeat(3,1fr);width:100%;text-align:center}
.ihh-page .ihh-prizes div{padding:0 var(--ihh-sp-5);font-size:var(--ihh-fs-h2);font-family:"ToyotaType-Bold";line-height:1.2}
.ihh-page .ihh-prizes div+div{border-left:1px solid var(--ihh-violet-300)}

/* TERMS */
.ihh-page .ihh-terms{background:var(--ihh-white);padding:var(--ihh-sp-9) 0 var(--ihh-sp-9)}
.ihh-page .ihh-terms .ihh-narrow{max-width:980px}
.ihh-page .ihh-terms h2{margin:0 0 var(--ihh-sp-7);font-size:var(--ihh-fs-h2);font-family:"ToyotaType-BoldIt"}
.ihh-page .ihh-terms h3{margin:var(--ihh-sp-7) 0 var(--ihh-sp-2);font-size:var(--ihh-fs-body);font-family:"ToyotaType-Bold"}
.ihh-page .ihh-terms p,.ihh-page .ihh-terms li{font-size:var(--ihh-fs-body);line-height:1.55;margin:0 0 var(--ihh-sp-2)}
.ihh-page .ihh-terms ol,.ihh-page .ihh-terms ul{margin:0 0 var(--ihh-sp-3);padding-left:22px}
.ihh-page .ihh-terms ol ol{margin-top:var(--ihh-sp-2)}
.ihh-page .ihh-terms b{font-family:"ToyotaType-Bold"}

@media(max-width:1749px){.ihh-page .ihh-steps{gap:10px}.ihh-page .ihh-step h3{font-size:19px}.ihh-page .ihh-step p{font-size:17px;line-height:23px}.ihh-page .ihh-step small{font-size:13px}}
@media(max-width:1280px){.ihh-page .ihh-step h3{white-space:normal}}
@media(max-width:1170px){.ihh-page .ihh-steps{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){
.ihh-page .ihh-tiles{grid-template-columns:1fr;gap:var(--ihh-sp-6);max-width:460px}
.ihh-page .ihh-steps{grid-template-columns:1fr 1fr}
.ihh-page .ihh-criteria,.ihh-page .ihh-prizes{grid-template-columns:1fr;gap:var(--ihh-sp-5)}
.ihh-page .ihh-criteria div+div,.ihh-page .ihh-prizes div+div{border-left:0;border-top:1px solid var(--ihh-violet-300);padding-top:var(--ihh-sp-5)}
.ihh-page .ihh-frame-title,.ihh-page .ihh-prize-pill{font-size:var(--ihh-fs-lead);white-space:normal;text-align:center}
}
@media(max-width:760px){
.ihh-page{padding-top:70px}
.ihh-page .ihh-wrap{padding:0 18px}
.ihh-page .ihh-intro{padding:40px 18px 28px}
.ihh-page .ihh-intro h1{font-size:22px}
.ihh-page .ihh-intro p{font-size:17px;line-height:1.42}
.ihh-page .ihh-rule{width:min(70%,420px);margin:20px auto}
.ihh-page .ihh-frame{margin-top:52px;border-radius:22px}
.ihh-page .ihh-frame::before{border-radius:22px;padding:2px}
.ihh-page .ihh-frame-inner{padding:44px 16px 26px;border-radius:20px}
.ihh-page .ihh-frame-title{top:-15px;font-size:20px}
.ihh-page .ihh-frame-title span{font-size:20px;padding:0 12px}
.ihh-page .ihh-tiles{gap:26px;max-width:340px}
.ihh-page .ihh-tile img{border-radius:16px}
.ihh-page .ihh-tile figcaption{font-size:17px;line-height:20px;margin-top:14px}
.ihh-page .ihh-frame-foot{font-size:18px;margin-top:28px}
.ihh-page .ihh-sec-title{font-size:24px;margin-bottom:34px}
.ihh-page .ihh-steps-sec,.ihh-page .ihh-win,.ihh-page .ihh-terms{padding:44px 0}
.ihh-page .ihh-steps{grid-template-columns:1fr;gap:26px}
.ihh-page .ihh-step{padding:22px 0 0 22px}
.ihh-page .ihh-step-body{min-height:0;padding:14px 16px 14px 26px;border-radius:20px}
.ihh-page .ihh-step h3{font-size:15px}
.ihh-page .ihh-step p{font-size:16px;line-height:22px}
.ihh-page .ihh-step .ihh-icon{width:44px;height:44px}
.ihh-page .ihh-step .ihh-icon img{width:24px;height:24px}
.ihh-page .ihh-step .ihh-num{width:30px;height:30px;top:70px;left:7px;font-size:14px}
.ihh-page .ihh-split{flex-direction:column;align-items:flex-start;gap:6px}
.ihh-page .ihh-split p:first-child,.ihh-page .ihh-split p:last-child{min-width:0;max-width:none;flex:0 0 auto}
.ihh-page .ihh-split .ihh-rule-v{width:100%;height:1px;align-self:stretch;margin:8px 0}
.ihh-page .ihh-split .ihh-or{left:22px;transform:translate(0,-50%)}
.ihh-page .ihh-criteria{margin-bottom:56px}
.ihh-page .ihh-criteria div{font-size:22px;padding:0}
.ihh-page .ihh-criteria small{font-size:14px}
.ihh-page .ihh-prize{border-radius:22px;padding:2px}
.ihh-page .ihh-prize-inner{border-radius:20px;padding:56px 16px 26px}
.ihh-page .ihh-prize-pill{top:-24px;font-size:15px;padding:8px 14px;width:86%;text-align:center;line-height:1.2}
.ihh-page .ihh-prizes div{font-size:21px;padding:0}
.ihh-page .ihh-terms h2{font-size:24px;margin-bottom:28px}
.ihh-page .ihh-terms h3{font-size:16px;margin-top:28px}
.ihh-page .ihh-terms p,.ihh-page .ihh-terms li{font-size:15px;line-height:1.5}
.ihh-page .ihh-terms ol,.ihh-page .ihh-terms ul{padding-left:18px}
.ihh-page .ihh-hero-dots{bottom:10px}
}
