/* Rishi identity: all interface colours derive from the supplied logo. */
:root {
  --navy: #112f47;
  --red: #c71d22;
  --white: #fff;
  --ink: var(--navy);
  --paper: var(--white);
  --muted: #53697a;
  --cloud: #f3f5f7;
  --line: #d5dce2;
  --display: 'Taro Brand', 'Bank Gothic Brand', sans-serif;
  --body: 'Taro Brand', 'Bank Gothic Brand', sans-serif;
  --label: 'Bank Gothic Brand', sans-serif;
  color-scheme: light;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
::selection { color: var(--white); background: var(--red); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.13; }
.skip { position: absolute; top: -100px; left: 1rem; padding: 1rem; background: var(--navy); color: var(--white); z-index: 50; }
.skip:focus { top: 1rem; }
.eyebrow { font-family: var(--label); font-size: .875rem; font-weight: 400; text-transform: uppercase; letter-spacing: .12em; line-height: 1.65; }
.eyebrow .rule { display: inline-block; width: 2rem; height: 3px; margin-right: .75rem; background: var(--red); vertical-align: middle; }
.brand-accent { color: var(--red); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.7rem; min-height: 3.5rem; padding: 1rem 1.4rem; border: 1px solid transparent; font: 700 .9375rem/1.5 var(--body); transition: background .18s, color .18s, border-color .18s; }
.button span { font-size: 1.4rem; line-height: 1; }
.primary { background: var(--red); color: var(--white); }
.primary:hover { background: var(--navy); }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; background: var(--navy); color: var(--white); border-bottom: 5px solid var(--red); }
.hero-copy { padding: 4.4rem 3.5rem 4.5rem max(6%, calc((100vw - 1400px) / 2)); min-width: 0; }
.hero .eyebrow { color: var(--white); }
.hero h1 { font-weight: 900; font-size: clamp(2.8rem, 4.7vw, 5rem); line-height: 1.09; margin-top: 1.7rem; max-width: 12ch; }
.hero h1 .hero-secondary { display: block; margin-top: .25em; font-size: .58em; letter-spacing: -.02em; line-height: 1.2; max-width: 19ch; }
.hero-description { font-size: 1.0625rem; line-height: 1.8; max-width: 29rem; margin-top: 1.7rem; color: #d5dce2; }
.hero-copy .button { margin-top: 2rem; }
.hero-integration-caption { margin-top: 1rem; max-width: 33rem; color: #c1cbd4; font: 400 .875rem/1.7 var(--body); }
.hero-copy .primary:hover, .contact .primary:hover { background: var(--white); color: var(--navy); }
.hero-visual { display: flex; flex-direction: column; margin: 0; min-width: 0; background: var(--white); }
.hero-visual img { display: block; width: 100%; height: 100%; min-height: 25rem; flex: 1; object-fit: cover; object-position: 60% center; }
.hero-visual figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.5rem; font: 400 .875rem/1.5 var(--label); text-transform: uppercase; letter-spacing: .07em; color: var(--navy); border-top: 4px solid var(--red); }
.hero-bottom { grid-column: 1/-1; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.2rem 6%; border-top: 1px solid #41596c; font-size: .875rem; line-height: 1.6; }
.hero-bottom>span:first-child { font-family: var(--label); letter-spacing: .08em; }
.hero-bottom>span:nth-child(2) { color: #d5dce2; }
.hero-bottom a { text-decoration: underline; text-underline-offset: .3em; }
.section-wrap { padding: 5.5rem max(6%, calc((100vw - 1400px) / 2)); }
.approach { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.7rem 8%; }
.section-heading .eyebrow, .products .eyebrow, .home-resources .eyebrow { color: var(--red); margin-bottom: 1.3rem; }
.approach-copy { padding-top: 2.7rem; max-width: 32rem; }
.approach-copy p { font-size: 1.0625rem; line-height: 1.85; }
.approach-copy p+p { margin-top: 1rem; color: var(--muted); }
.facts { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr 1.15fr; border-top: 1px solid var(--line); margin-top: .7rem; gap: 2rem; }
.facts>div { padding-top: 1.8rem; display: flex; flex-direction: column; gap: .75rem; position: relative; }
.facts>div::before { content: ''; position: absolute; top: -2px; left: 0; width: 3rem; height: 3px; background: var(--red); }
.facts strong { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.2; letter-spacing: -.03em; }
.facts strong>span { font-size: .6em; }
.facts strong>.fact-unit { display: block; margin-top: .35rem; font-size: clamp(.875rem, 1.3vw, 1.125rem); line-height: 1.5; letter-spacing: 0; }
.facts>div>span { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.products { background: var(--cloud); }
.products-intro { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.products-intro>p { font-size: 1rem; line-height: 1.8; color: var(--muted); max-width: 20rem; }
.product-list { border-top: 2px solid var(--navy); }
.product-row { display: grid; grid-template-columns: 2rem minmax(0, 1fr) 10rem 5rem; gap: 1.5rem; align-items: center; padding: 1.75rem 0; border-bottom: 1px solid var(--line); transition: background .18s, color .18s; }
.product-row:hover { background: var(--white); color: var(--red); }
.product-number { font: 400 .875rem/1.5 var(--label); color: var(--red); }
.product-row h3 { font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.85rem); font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.product-row h3 small { display: block; font: 400 .9375rem/1.6 var(--body); margin-top: .25rem; color: var(--muted); letter-spacing: 0; }
.product-family { font: 400 .8125rem/1.6 var(--label); color: var(--muted); letter-spacing: .04em; }
.product-link { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; font-size: .9375rem; }
.product-link>span { font-size: 1.5rem; }
.contact { background: var(--navy); color: var(--white); border-top: 5px solid var(--red); }
.contact .eyebrow { color: #d5dce2; margin-bottom: 1.3rem; }
.contact-top { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 8%; }
.contact h2 { font-size: clamp(2.25rem, 4.6vw, 4.5rem); }
.contact-intro>p { color: #d5dce2; font-size: 1.0625rem; line-height: 1.8; max-width: 28rem; }
.contact-intro .button { margin-top: 1.5rem; }
.contact-details { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 2rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid #41596c; }
.contact-details h3 { font: 400 .875rem/1.5 var(--label); letter-spacing: .09em; margin-bottom: 1rem; color: #d5dce2; }
.contact-details a { display: block; width: fit-content; font-size: 1rem; line-height: 1.9; overflow-wrap: anywhere; }
.contact-details a:hover { text-decoration: underline; text-underline-offset: .2em; }
.contact-details address { font-size: 1rem; line-height: 1.8; font-style: normal; }
@media(max-width:1100px) {
  .hero-copy { padding: 3rem 2rem 3rem 6%; }
  .hero h1 { font-size: clamp(2.5rem, 4.7vw, 3.5rem); }
  .hero-visual img { min-height: 26rem; }
  .section-wrap { padding: 4rem 6%; }
  .product-row { grid-template-columns: 1.5rem minmax(0, 1fr) 8.5rem 4.5rem; gap: 1rem; }
}
@media(max-width:760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.75rem 7% 3rem; }
  .hero h1 { font-size: clamp(2.6rem, 9.5vw, 4rem); max-width: 14ch; }
  .hero h1 .hero-secondary { max-width: 24ch; }
  .hero-visual img { min-height: 0; height: auto; aspect-ratio: 1.6; object-fit: cover; }
  .hero-visual figcaption { padding: 1rem 7%; }
  .hero-bottom { padding: 1.2rem 7%; }
  .hero-bottom>span:nth-child(2) { display: none; }
  .section-wrap { padding: 3.5rem 7%; }
  .approach { grid-template-columns: 1fr; gap: 1.8rem; }
  .approach-copy { padding-top: 0; }
  .facts { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .facts>div:nth-child(3) { grid-column: 1/-1; border-top: 1px solid var(--line); }
  .products-intro { display: block; margin-bottom: 2rem; }
  .products-intro>p { margin-top: 1.5rem; max-width: 30rem; }
  .products-intro>p br { display: none; }
  .product-row { grid-template-columns: 1.4rem minmax(0, 1fr) 1.5rem; gap: .7rem; padding: 1.5rem 0; }
  .product-family { display: none; }
  .product-link { font-size: 0; gap: 0; }
  .product-link>span { font-size: 1.5rem; }
  .contact-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .contact-details { grid-template-columns: 1fr 1fr; gap: 1.75rem; margin-top: 2.5rem; }
  .contact-details>div:first-child { grid-column: 1/-1; }
}
@media(max-width:400px) {
  .hero-visual figcaption { flex-wrap: wrap; gap: .25rem; }
  .contact-details { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
