/* Reliable Alloys - standalone static site (reliablealloys.in) */
:root {
    --navy: #172b36;
    --navy-2: #1d3542;
    --orange: #f97316;
    --ink: #21333d;
    --ink-2: #5b6f79;
    --hairline: #e4ddd6;
    --page: #f4efec;
    --card: #ffffff;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.5;
}
img, video { max-width: 100%; }

.page-shell {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px 14px 40px;
}

.file-card {
    background: var(--card);
    border-radius: 28px;
    padding: 30px 22px 26px;
    box-shadow: 0 1px 3px rgba(23, 43, 54, 0.08);
}
@media (min-width: 768px) {
    .file-card { padding: 48px 44px 36px; }
}

/* Header */
.site-header { margin-bottom: 18px; }
.site-header .fact-chip {
    display: inline-block;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 999px;
    padding: 5px 12px;
    margin-bottom: 14px;
}
.site-header h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 40px;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--navy);
    margin: 0 0 12px;
}
@media (min-width: 768px) {
    .site-header h1 { font-size: 52px; }
}
.site-header .intro {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: var(--ink-2);
    margin: 0;
    max-width: 56ch;
}

/* Page navigation */
.file-nav {
    display: flex;
    flex-wrap: wrap;
    column-gap: 18px;
    row-gap: 8px;
    margin: 6px 0 10px;
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 10px;
}
.file-nav a {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-2);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease;
}
.file-nav a:hover { color: var(--navy); }
.file-nav a.active {
    color: var(--navy);
    border-bottom-color: var(--orange);
}

/* Section primitives */
.group {
    margin: 22px 0;
}
.group-label {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin: 0 0 4px;
}
.group-heading {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 26px;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--navy);
    margin: 0 0 14px;
}
@media (min-width: 768px) {
    .group-heading { font-size: 32px; }
}

.ra-para {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 16px;
}

.caption {
    font-family: var(--sans);
    font-size: 12px;
    line-height: 18px;
    color: var(--ink-2);
    margin: 10px 0 4px;
}

.ra-h2-kicker {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange);
    margin: 0 0 6px;
}
.ra-h2 {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 24px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin: 0 0 14px;
    line-height: 1.08;
    color: var(--navy);
}
@media (min-width: 768px) {
    .ra-h2 { font-size: 30px; }
}

/* Callout */
.callout {
    background: #fdf3ea;
    border-left: 3px solid var(--orange);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 16px 0;
}
.callout .callout-title {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 13px;
    color: var(--navy);
    margin: 0 0 4px;
}
.callout p {
    font-family: var(--sans);
    font-size: 13px;
    line-height: 20px;
    color: var(--ink);
    margin: 0;
}

/* Facts list */
.facts { margin: 0 0 8px; }
.fact {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--hairline);
}
.fact .fact-label {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-2);
    min-width: 120px;
    padding-top: 2px;
}
.fact .fact-value {
    font-family: var(--sans);
    font-size: 14px;
    line-height: 22px;
    color: var(--ink);
}

/* Animated hero */
.hero-anim {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    line-height: 0;
}
.hero-anim img {
    width: 100%;
    height: auto;
    display: block;
}
.hero-anim .hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 43, 54, 0) 30%, rgba(23, 43, 54, 0.78) 100%);
}
.hero-anim .hero-copy {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 16px;
    line-height: 1.25;
    color: #fff;
}
.hero-anim .hero-line {
    font-family: var(--sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.015em;
    font-size: 26px;
    line-height: 1.05;
    margin: 0 0 6px;
}
@media (min-width: 768px) {
    .hero-anim .hero-line { font-size: 38px; }
}
.hero-anim .hero-line .accent { color: var(--orange); }
.hero-anim .hero-sub {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 13px;
    opacity: 0.92;
    margin: 0;
}

/* Live pulse */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #2e7d32;
    margin-bottom: 10px;
}
.live-badge .live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2e7d32;
    animation: live-pulse 1.6s ease-out infinite;
}
@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.45); }
    70% { box-shadow: 0 0 0 12px rgba(46, 125, 50, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
}

/* Live stock strip */
.stock-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--navy);
    border-radius: 12px;
    padding: 13px 16px;
    margin: 10px 0 4px;
    text-decoration: none;
    transition: background 0.15s ease;
}
.stock-strip:hover { background: var(--navy-2); }
.stock-strip .live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #37c66b;
    animation: live-pulse 1.6s ease-out infinite;
    flex: none;
}
.stock-strip-text {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: -0.01em;
    color: #d7e0e5;
    flex: 1;
}
.stock-strip-text b { color: #fff; font-weight: 600; }
.stock-strip-arrow {
    color: var(--orange);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 16px;
}

/* Inline links */
.ra-inline {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--orange);
    text-underline-offset: 2px;
}

/* Grade ticker */
a.ticker { display: block; text-decoration: none; }
.ticker {
    overflow: hidden;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: 10px 0;
    margin: 8px 0 4px;
    position: relative;
}
.ticker-track {
    display: inline-flex;
    white-space: nowrap;
    animation: ticker-scroll 22s linear infinite;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.ticker-track > span { padding-right: 28px; }
.ticker-track .tick-grade { color: var(--navy); }
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.ticker::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0; right: 0;
    width: 48px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--card));
    pointer-events: none;
}

/* Buttons */
.ra-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ra-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.01em;
    padding: 13px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.ra-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(23, 43, 54, 0.16); }
.ra-btn-orange { background: var(--orange); color: #fff; }
.ra-btn-ghost-dark { border: 1px solid var(--navy); color: var(--navy); }
.ra-btn-secondary {
    border: 1px solid var(--hairline);
    color: var(--navy);
    background: #fff;
}

/* Light spec chips */
.ra-chips-light { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ra-chip-light {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-2);
    border: 1px solid var(--hairline);
    border-radius: 4px;
    padding: 6px 9px;
    transition: border-color 0.15s ease;
}

/* Product cards */
.ra-products { display: grid; gap: 12px; }
@media (min-width: 768px) {
    .ra-products { grid-template-columns: 1fr 1fr; }
}
.ra-card {
    border: 1px solid var(--hairline);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.ra-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(23, 43, 54, 0.14);
    border-color: rgba(249, 115, 22, 0.55);
}
.ra-card.is-open { border-color: var(--orange); }
.ra-card-hit {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    font: inherit;
}
.ra-card-imgwrap {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--navy);
}
.ra-card-imgwrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.ra-card:hover .ra-card-imgwrap img,
.ra-card.is-open .ra-card-imgwrap img { transform: scale(1.06); }
.ra-card-imgwrap .num {
    position: absolute;
    top: 10px;
    left: 12px;
    background: rgba(23, 43, 54, 0.85);
    color: var(--orange);
    border-radius: 999px;
    padding: 4px 10px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.14em;
}
.ra-card-head { display: block; padding: 14px 18px 16px; }
.ra-card-head h3 {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 6px 0 4px;
}
.ra-card-head .spec {
    display: block;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin-bottom: 8px;
}
.ra-card-toggle {
    display: block;
    margin-top: 8px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
}
.ra-card-more {
    padding: 0 18px 16px;
    border-top: 1px dashed var(--hairline);
    display: none;
}
.ra-card.is-open .ra-card-more { display: block; }
.ra-card-more p {
    padding-top: 12px;
    font-family: var(--sans);
    font-size: 13px;
    line-height: 20px;
    color: var(--ink);
    margin: 0;
}
.ra-card-grades {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 12px;
    text-decoration: none;
}
.ra-grade-chip {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--navy);
    background: #eef3f5;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    padding: 4px 10px;
    transition: background 0.15s ease, color 0.15s ease;
}
.ra-card-grades:hover .ra-grade-chip { border-color: rgba(249, 115, 22, 0.5); }
.ra-card-wa {
    display: inline-block;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 13px;
    color: var(--orange);
    text-decoration: none;
}
.ra-card-wa:hover { text-decoration: underline; }

/* Warehouse photo strip */
.photo-strip { margin: 22px 0; }
.photo-strip .photo-strip-title {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--navy);
    margin: 0 0 4px;
}
.photo-strip .photo-strip-label {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin: 0 0 10px;
}
.photo-strip-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.photo-strip-row img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Daily updates feed */
.ra-updates { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 768px) {
    .ra-updates { grid-template-columns: 1fr 1fr; }
}
.update-entry {
    border: 1px solid var(--hairline);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.update-entry:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(23, 43, 54, 0.12); }
.update-entry > img {
    width: 100%;
    height: auto;
    display: block;
}
.update-entry .update-date {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    padding: 14px 16px 0;
}
.update-entry h3 {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 4px 0 4px;
    padding: 0 16px;
}
.update-entry p {
    font-family: var(--sans);
    font-size: 13px;
    line-height: 20px;
    color: var(--ink);
    margin: 0;
    padding: 0 16px 16px;
}
.update-video {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    background: var(--navy);
    display: block;
}
.update-stock-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 12px 2px;
    padding: 10px 14px;
    background: var(--navy);
    border-radius: 10px;
    color: #fff;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background 0.15s ease;
}
.update-stock-link:hover { background: var(--navy-2); }
.update-stock-link .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #37c66b;
    animation: live-pulse 1.6s ease-out infinite;
    flex: none;
}

/* Dark why band */
.ra-why {
    background: var(--navy);
    border-radius: 24px;
    color: #fff;
    padding: 26px 20px;
    margin: 22px 0;
}
@media (min-width: 768px) {
    .ra-why { padding: 36px; }
}
.ra-why .ra-h2 { color: #fff; }
.ra-reason {
    display: flex;
    gap: 14px;
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--sans);
    font-size: 13.5px;
    line-height: 21px;
    color: #d7e0e5;
}
.ra-reason .n {
    color: var(--orange);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.06em;
    min-width: 26px;
}
.ra-reason b { color: #fff; font-weight: 600; }

/* Shah Group band */
.ra-group {
    background: var(--navy);
    border-radius: 24px;
    color: #fff;
    padding: 26px 20px;
    margin: 22px 0 16px;
}
@media (min-width: 768px) {
    .ra-group { padding: 36px; }
}
.ra-group .ra-h2 { color: #fff; }
.ra-group-logo {
    height: 44px;
    width: auto;
    display: block;
    margin: 4px 0 14px;
}
.ra-group-lead {
    font-family: var(--sans);
    font-size: 13.5px;
    line-height: 21px;
    color: #d7e0e5;
    margin: 0 0 16px;
}
.ra-group-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 640px) {
    .ra-group-grid { grid-template-columns: 1fr 1fr; }
}
a.ra-group-card {
    display: block;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 14px 16px;
    position: relative;
    transition: border-color 0.15s ease, background 0.15s ease;
}
a.ra-group-card:hover {
    border-color: rgba(249, 115, 22, 0.7);
    background: rgba(249, 115, 22, 0.06);
}
a.ra-group-card.is-current {
    border-color: var(--orange);
    background: rgba(249, 115, 22, 0.08);
}
a.ra-group-card.is-current:hover { background: rgba(249, 115, 22, 0.12); }
.ra-group-card h3 {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    margin: 0 0 4px;
    text-transform: uppercase;
}
.ra-group-card p {
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 18px;
    color: #b9c6cd;
    margin: 0;
}
.ra-group-here {
    position: absolute;
    top: -9px;
    right: 12px;
    background: var(--orange);
    color: #fff;
    font-family: var(--sans);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}
.ra-group-go {
    display: inline-block;
    margin-top: 8px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
}

/* Group strip above closing */
.group-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--navy);
    border-radius: 16px;
    padding: 14px 18px;
    margin: 8px 0 16px;
    text-decoration: none;
    color: #d7e0e5;
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 18px;
    transition: background 0.15s ease;
}
.group-strip img { height: 30px; width: auto; flex-shrink: 0; }
.group-strip b { color: #fff; font-weight: 600; }
.group-strip:hover { background: var(--navy-2); }

/* Closing */
.closing {
    border-top: 1px solid var(--hairline);
    padding-top: 16px;
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 20px;
    color: var(--ink-2);
}
