:root {
    --sk-ink: #27231f;
    --sk-muted: #706960;
    --sk-brand: #c46508;
    --sk-brand-dark: #934803;
    --sk-brand-soft: #fff2d7;
    --sk-signal: #f2c75c;
    --sk-surface: #faf8f3;
    --sk-white: #ffffff;
    --sk-line: #e7e0d5;
}

html { scroll-behavior: smooth; overflow-x: clip; }
body { background: var(--sk-surface); color: var(--sk-ink); font-family: "Manrope", "Noto Sans Devanagari", sans-serif; }
header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--sk-line); box-shadow: none; position: sticky; top: 0; z-index: 40; }
.header-container { max-width: 1240px; min-height: 78px; margin: 0 auto; padding: 0 24px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; min-width: 224px; text-decoration: none; }
.logo img { width: 54px; height: 54px; object-fit: contain; }
.brand-wordmark { display: flex; flex-direction: column; color: var(--sk-ink); line-height: 1.2; }
.brand-wordmark strong { font-family: "Outfit", "Manrope", sans-serif; font-size: 18px; font-weight: 600; }
.brand-wordmark small { margin-top: 4px; color: var(--sk-muted); font-size: 10px; }
.navbar { gap: 4px; }
.navbar a { color: #403a34; font-size: 14px; font-weight: 500; padding: 10px 11px; border-radius: 4px; }
.navbar a:hover, .navbar a:focus-visible { background: var(--sk-brand-soft); color: var(--sk-brand-dark); outline: none; }
.download-badge { margin: 0; padding: 8px 12px; border-radius: 5px; background: var(--sk-brand-dark); box-shadow: none; }
.download-badge:hover { background: var(--sk-brand); transform: translateY(-1px); }
.badge-icon { display: none; }
.play-store-icon { flex: 0 0 auto; width: 23px; height: 27px; margin-right: 10px; }
.badge-text small { color: rgba(255,255,255,.68); }
.badge-text strong { color: white; }
.language-selector select { min-height: 38px; border: 1px solid var(--sk-line); border-radius: 4px; background: white; color: var(--sk-ink); padding: 0 30px 0 10px; }

.hero { height: auto; min-height: min(680px, 78dvh); display: flex; align-items: flex-end; background-image: linear-gradient(90deg, rgba(25,27,27,.92) 0%, rgba(35,31,29,.68) 52%, rgba(24,32,38,.18) 100%), url("Images/01.jpg"); background-size: cover; background-position: center; padding: 72px 24px; }
.hero-content { width: min(1180px, 100%); margin: 0 auto; text-align: left; color: white; }
.hero-kicker { display: block; margin-bottom: 14px; color: #e9c866; font-size: 13px; font-weight: 600; }
.hero h1 { margin: 0; max-width: 800px; color: white; font-family: "Outfit", "Manrope", sans-serif; font-size: 68px; line-height: 1.04; font-weight: 700; }
.hero h2 { margin: 16px 0 0; max-width: 720px; color: white; font-family: "Outfit", "Manrope", sans-serif; font-size: 30px; line-height: 1.25; font-weight: 500; }
.hero p { max-width: 620px; margin: 16px 0 0; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.7; text-align: left; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-action { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 600; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.hero-action:hover { transform: translateY(-2px); }
.hero-action-primary { background: var(--sk-signal); color: #2b2114; }
.hero-action-secondary { border-color: rgba(255,255,255,.65); color: white; background: rgba(255,255,255,.08); }

.tribute, .services-section, .achievements, .awards-impact, .cta-section { max-width: 1180px; margin-inline: auto; }
.tribute { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); column-gap: 72px; align-items: center; padding: 100px 24px; text-align: left; }
.tribute-img-wrapper { grid-row: 1 / span 4; width: 100%; }
.tribute-img-wrapper img { width: 100%; max-height: 510px; object-fit: cover; object-position: center 25%; border-radius: 6px; filter: saturate(.82); }
.tribute h3 { margin: 0 0 18px; color: var(--sk-ink); font-family: "Outfit", "Manrope", sans-serif; font-size: 42px; line-height: 1.14; font-weight: 600; }
.tribute > p { margin: 0; color: var(--sk-muted); line-height: 1.8; text-align: left; }
.tribute h3:nth-of-type(n+2), .tribute h3:nth-of-type(n+2) + p, .tribute blockquote { display: none; }
.legacy-link { display: inline-flex; margin-top: 24px; color: var(--sk-brand-dark); font-weight: 600; text-decoration: none; }

.services-section { padding: 84px 24px 96px; border-top: 1px solid var(--sk-line); }
.services-section h3, .achievements > h3, .awards-impact > h3 { color: var(--sk-ink); font-family: "Outfit", "Manrope", sans-serif; font-size: 40px; font-weight: 600; text-align: left; }
.services-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin-top: 36px; background: var(--sk-line); border: 1px solid var(--sk-line); counter-reset: service; }
.service-card { width: auto; min-height: 250px; margin: 0; padding: 34px; border: 0; border-radius: 0; background: white; box-shadow: none; text-align: left; }
.service-card:hover { transform: none; background: #fbfcfb; box-shadow: none; }
.service-card .emoji { display: none; }
.service-card::before { content: "0" counter(service); counter-increment: service; display: block; margin-bottom: 52px; color: var(--sk-brand); font-size: 13px; font-weight: 600; }
.service-card h4 { color: var(--sk-ink); font-size: 21px; }
.service-card p { color: var(--sk-muted); text-align: left; line-height: 1.65; }

.achievements { max-width: none; padding: 76px max(24px,calc((100% - 1132px)/2)); border-top: 3px solid var(--sk-signal); background: #2b2723; }
.achievements > h3 { max-width: 1132px; margin-inline: auto; color: white; }
.achievements .impact-cards { display: grid; grid-template-columns: repeat(3,1fr); max-width: 1132px; margin: 34px auto 0; }
.achievements .impact-item { padding: 24px 0; border-right: 1px solid rgba(255,255,255,.18); border-radius: 0; background: none; box-shadow: none; }
.achievements .impact-item:last-child { border-right: 0; }
.achievements .emoji { display: none; }
.achievements h4 { color: var(--sk-signal); font-family: "Outfit", "Manrope", sans-serif; font-size: 54px; font-weight: 600; font-variant-numeric: tabular-nums; }
.achievements p { color: rgba(255,255,255,.74); font-size: 15px; }

.awards-impact { padding: 96px 24px; }
.awards-impact .impact-cards { display: grid; grid-template-columns: repeat(12,1fr); gap: 14px; margin-top: 36px; }
.awards-impact .impact-item { grid-column: span 4; overflow: hidden; border-radius: 5px; background: white; box-shadow: none; }
.awards-impact .impact-item:nth-child(1), .awards-impact .impact-item:nth-child(6) { grid-column: span 8; }
.awards-impact img { width: 100%; height: 280px; object-fit: cover; transition: transform .3s ease; }
.awards-impact .impact-item:hover img { transform: scale(1.025); }

.cta-section { max-width: none; margin: 0; padding: 90px 24px 100px; background: #f4eee4; color: var(--sk-ink); text-align: center; }
.cta-section h2 { color: var(--sk-ink); font-family: "Outfit", "Manrope", sans-serif; font-size: 46px; font-weight: 600; }
.cta-section p { max-width: 640px; margin: 18px auto 0; color: var(--sk-muted); text-align: center; }
.btn-cta { border-radius: 5px; box-shadow: none; }
.btn-cta.primary { background: var(--sk-brand-dark); border-color: var(--sk-brand-dark); }
.btn-cta.outline { border-color: var(--sk-brand-dark); color: var(--sk-brand-dark); }
footer { background: #27231f; color: rgba(255,255,255,.72); padding: 34px 24px; }
footer a { color: white; }
#scrollTopBtn { width: 42px; height: 42px; border-radius: 4px; background: var(--sk-brand-dark); font-size: 0; }
#scrollTopBtn::after { content: "\2191"; font-size: 18px; }
#preloader { background: var(--sk-surface); }
#preloader .chicken-emoji { display: none; }

/* Poultry commerce identity */
#preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #f7f6f2; transition: opacity .55s cubic-bezier(.32,.72,0,1), visibility .55s cubic-bezier(.32,.72,0,1); }
#preloader.hidden { opacity: 0; visibility: hidden; }
#preloader .loader { width: min(420px, calc(100% - 48px)); text-align: left; animation: none; }
.loader-brand { display: flex; align-items: center; gap: 18px; }
.loader-brand img { width: 64px; height: 64px; object-fit: contain; }
.loader-brand div { display: flex; flex-direction: column; }
.loader-brand strong { color: var(--sk-ink); font-family: "Outfit", "Manrope", sans-serif; font-size: 26px; line-height: 1; font-weight: 600; }
.loader-brand span { margin-top: 9px; color: var(--sk-brand-dark); font-size: 9px; font-weight: 700; }
.loader-rule { height: 2px; margin-top: 28px; overflow: hidden; background: #e2ded8; }
.loader-rule span { display: block; width: 42%; height: 100%; background: linear-gradient(90deg,var(--sk-brand),var(--sk-signal)); animation: loader-pass 1.15s cubic-bezier(.32,.72,0,1) infinite; }
.loading-text { margin-top: 13px; color: #727671; font-size: 12px; animation: none; }
@keyframes loader-pass { from { transform: translateX(-110%); } to { transform: translateX(340%); } }

.trade-rail { position: relative; z-index: 3; display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.15fr; width: min(1180px, calc(100% - 48px)); min-height: 132px; margin: -32px auto 0; background: white; box-shadow: 0 24px 60px rgba(42,30,35,.1); }
.trade-rail a { text-decoration: none; }
.trade-rail-lead, .trade-rail-item { display: flex; flex-direction: column; justify-content: center; padding: 25px 28px; color: var(--sk-ink); }
.trade-rail-lead { background: var(--sk-brand-dark); color: white; }
.trade-rail span { color: #8a918c; font-size: 10px; font-weight: 700; }
.trade-rail-lead span { color: var(--sk-signal); }
.trade-rail strong { margin-top: 8px; font-family: "Outfit", "Manrope", sans-serif; font-size: 19px; line-height: 1.2; font-weight: 600; }
.trade-rail-lead strong { font-size: 24px; }
.trade-rail small { margin-top: 13px; color: rgba(255,255,255,.72); font-size: 11px; }
.trade-rail-item { border-right: 1px solid #ece9e5; }
.trade-rail-action { background: #f3eee5; transition: background .45s cubic-bezier(.32,.72,0,1), transform .45s cubic-bezier(.32,.72,0,1); }
.trade-rail-action:hover { background: var(--sk-brand-soft); transform: translateY(-3px); }

.section-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
.section-intro h3 { grid-column: 1; margin: 8px 0 0; }
.section-intro p { grid-column: 2; grid-row: 1 / span 2; max-width: 460px; margin: 0 0 5px auto; color: var(--sk-muted); line-height: 1.75; }
.section-kicker, .service-code { color: var(--sk-brand-dark); font-size: 10px; font-weight: 700; }
.services-cards { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 12px; border: 0; background: transparent; }
.service-card { position: relative; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border: 1px solid #e3e5e2; }
.service-card:nth-child(1) { grid-column: span 5; background: #fff; }
.service-card:nth-child(2) { grid-column: span 4; background: #f3eee5; }
.service-card:nth-child(3) { grid-column: span 3; background: #302a25; color: white; }
.service-card:nth-child(3) h4, .service-card:nth-child(3) p { color: white; }
.service-card:nth-child(3) p { color: rgba(255,255,255,.65); }
.service-card::before { position: absolute; top: 30px; right: 32px; margin: 0; color: rgba(196,101,8,.15); font-family: "Outfit", "Manrope", sans-serif; font-size: 68px; font-weight: 600; line-height: 1; }
.service-code { position: absolute; top: 32px; left: 34px; }
.service-card:nth-child(3) .service-code { color: var(--sk-signal); }
.service-card h4 { margin: 0; font-family: "Outfit", "Manrope", sans-serif; font-size: 25px; font-weight: 600; }

/* Explicit guest actions override the older white-on-transparent header rules. */
.header-container .navbar .subscribe,
.header-container .navbar .login { display: inline-flex; width: auto; min-height: 40px; align-items: center; justify-content: center; padding: 0 15px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 600; }
.header-container .navbar .subscribe { border-color: var(--sk-signal); background: var(--sk-signal); color: #3a250c !important; }
.header-container .navbar .login { border-color: var(--sk-brand-dark); background: var(--sk-brand-dark); color: white !important; }
.header-container .navbar .subscribe:hover { border-color: #e1ad31; background: #ffda75; color: #3a250c !important; }
.header-container .navbar .login:hover { border-color: var(--sk-brand); background: var(--sk-brand); color: white !important; }
.service-card p { max-width: 300px; margin: 12px 0 0; }

.reveal-ready .reveal-target { opacity: 0; transform: translateY(36px); transition: opacity .85s cubic-bezier(.32,.72,0,1), transform .85s cubic-bezier(.32,.72,0,1); }
.reveal-ready .reveal-target.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 980px) {
    .brand-wordmark, .header-container .download-badge { display: none; }
    .header-container { min-height: 68px; }
    .logo { min-width: auto; }
    .logo img { width: 48px; height: 48px; }
    .tribute { grid-template-columns: 1fr; gap: 32px; padding-block: 70px; }
    .tribute-img-wrapper { grid-row: auto; max-width: 480px; }
    .services-cards { grid-template-columns: 1fr; }
    .service-card:nth-child(n) { grid-column: auto; }
    .service-card { min-height: auto; }
    .service-card::before { margin-bottom: 20px; }
}
@media (max-width: 680px) {
    .header-container { flex-direction: row; padding: 10px 18px; }
    .hamburger { top: 15px; right: 18px; color: var(--sk-brand-dark); line-height: 1; }
    #menu-toggle:checked ~ .header-container { align-items: flex-start; }
    #menu-toggle:checked ~ .header-container .navbar { margin-top: 58px; padding-top: 10px; border-top: 1px solid var(--sk-line); }
    .navbar a, .btn-nav { border-top-color: var(--sk-line); color: var(--sk-ink); }
    .language-selector { margin-left: 0; }
    .hero { min-height: 660px; padding: 56px 20px; background-position: 58% center; }
    .hero h1 { font-size: 42px; }
    .hero h2 { font-size: 24px; }
    .hero-actions, .hero-action { width: 100%; }
    .achievements .impact-cards { grid-template-columns: 1fr; }
    .achievements .impact-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
    .awards-impact .impact-item, .awards-impact .impact-item:nth-child(1), .awards-impact .impact-item:nth-child(6) { grid-column: span 12; }
    .awards-impact img { height: 230px; }
    .trade-rail { grid-template-columns: 1fr 1fr; width: calc(100% - 32px); margin-top: -20px; }
    .trade-rail-lead { grid-column: 1 / -1; }
    .trade-rail-item { min-height: 104px; padding: 18px; }
    .trade-rail-item:nth-child(3) { border-right: 0; }
    .trade-rail-action { grid-column: 1 / -1; }
    .trade-rail strong { font-size: 18px; }
    .trade-rail-lead strong { font-size: 24px; }
    .tribute h3, .services-section h3, .achievements > h3, .awards-impact > h3 { font-size: 32px; }
    .achievements h4 { font-size: 44px; }
    .cta-section h2 { font-size: 36px; }
    .header-container .navbar .subscribe, .header-container .navbar .login { width: 100%; }
    .section-intro { grid-template-columns: 1fr; gap: 12px; }
    .section-intro p { grid-column: 1; grid-row: auto; margin: 0; }
    .service-card { min-height: 250px; }
}

/* Compact site header */
header { position: relative; top: auto; border-top: 0; border-bottom: 1px solid #e9e3da; background: #fff; box-shadow: none; }
.header-container { max-width: 1360px; min-height: 72px; padding: 7px 24px; gap: 22px; }
.logo { min-width: 205px; gap: 10px; }
.logo img { width: 46px; height: 46px; }
.brand-wordmark strong { font-size: 17px; line-height: 1.05; }
.brand-wordmark small { margin-top: 3px; font-size: 9px; }
.navbar { gap: 2px; }
.navbar a { position: relative; padding: 9px 10px; border-radius: 0; color: #49423b; font-size: 13px; }
.navbar a:hover,.navbar a:focus-visible { background: transparent; color: #934803; }
.navbar > a:not(.btn-nav)::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 1px; background: #c46508; transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.32,.72,0,1); }
.navbar > a:not(.btn-nav):hover::after,.navbar > a:not(.btn-nav):focus-visible::after { transform: scaleX(1); }
.header-container .navbar .login { min-height: 36px; margin-left: 7px; padding: 0 14px; border-color: #a95204; background: #a95204; }
.header-container .navbar .login:hover { border-color: #c46508; background: #c46508; }
.download-badge { min-height: 48px; display: inline-flex; align-items: center; margin: 0; padding: 7px 12px; border: 0; border-radius: 4px; background: #24211e; box-shadow: none; }
.download-badge:hover { background: #3a342f; transform: translateY(-1px); }
.play-store-icon { width: 20px; height: 23px; margin-right: 8px; }
.badge-text small { font-size: 8px; letter-spacing: .03em; }
.badge-text strong { font-size: 12px; }
.language-selector select { min-height: 36px; padding-left: 9px; border-color: #e2dbd1; background: #fbfaf7; font-size: 12px; font-weight: 600; }

@media (max-width: 1180px) {
    .header-container { min-height: 66px; }
    .logo img { width: 44px; height: 44px; }
}
@media (max-width: 900px) {
    .header-container { min-height: 64px; padding-block: 7px; }
    .hamburger { top: 13px; }
}

/* Rebuilt About page */
.about-page form > section { display: none; }
.about-v2 { flex: 1; background: #fbfaf7; }
.about-v2 section { max-width: none; margin: 0; }
.about-v2-kicker { color: #9d4d04; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about-v2 h1,.about-v2 h2,.about-v2 h3 { color: #29241f; font-family: "Fraunces","Noto Sans Devanagari",serif; font-weight: 600; }
.about-v2-hero { min-height: 670px; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(380px,.95fr); align-items: center; gap: 90px; padding: 84px max(24px,calc((100% - 1180px)/2)) 94px; background: #f3eee5; }
.about-v2-hero-copy { max-width: 650px; }
.about-v2-hero h1 { max-width: 620px; margin: 18px 0 26px; font-size: 70px; line-height: .98; }
.about-v2-hero p { max-width: 590px; color: #625b53; font-size: 17px; line-height: 1.75; }
.about-v2-link { display: inline-flex; gap: 10px; margin-top: 32px; padding-bottom: 6px; border-bottom: 1px solid #a95204; color: #873f02; font-size: 13px; font-weight: 700; text-decoration: none; }
.about-v2-founder { position: relative; margin: 0; }
.about-v2-founder::before { content: ""; position: absolute; inset: -16px 34px 30px -16px; background: #f2c75c; }
.about-v2-founder img { position: relative; width: 100%; height: 500px; display: block; object-fit: cover; object-position: center 18%; }
.about-v2-founder figcaption { position: absolute; right: -24px; bottom: 30px; display: flex; flex-direction: column; min-width: 270px; padding: 18px 20px; background: #29241f; color: white; }
.about-v2-founder figcaption strong { font-family: "Fraunces",serif; font-size: 18px; }
.about-v2-founder figcaption span { margin-top: 5px; color: #f2c75c; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }

.about-v2-origin { display: grid; grid-template-columns: .55fr 1.15fr .8fr; align-items: start; gap: 70px; padding: 118px max(24px,calc((100% - 1180px)/2)) 124px; }
.about-v2-year { color: rgba(169,82,4,.11); font-family: "Fraunces",serif; font-size: 126px; line-height: .8; }
.about-v2-origin h2 { margin: 14px 0 24px; font-size: 46px; line-height: 1.08; }
.about-v2-origin p { color: #625b53; line-height: 1.85; }
.about-v2-origin blockquote { margin: 36px 0 0; padding: 28px 0 0 28px; border-top: 1px solid #d9cdbd; border-left: 3px solid #f2c75c; color: #29241f; font-family: "Fraunces",serif; font-size: 26px; line-height: 1.4; }

.about-v2-milestones { padding: 88px max(24px,calc((100% - 1180px)/2)) 94px; background: #29241f; }
.about-v2-milestones .about-v2-kicker { color: #f2c75c; }
.milestone-row { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 30px; border-top: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); }
.milestone-row div { min-height: 150px; display: flex; flex-direction: column; justify-content: center; padding: 22px 28px; border-right: 1px solid rgba(255,255,255,.17); }
.milestone-row div:last-child { border-right: 0; }
.milestone-row strong { color: #f2c75c; font-family: "Fraunces",serif; font-size: 37px; }
.milestone-row span { max-width: 180px; margin-top: 8px; color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.5; }

.about-v2-leadership { padding: 118px max(24px,calc((100% - 1180px)/2)) 128px; }
.about-v2-heading { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 70px; }
.about-v2-heading h2 { max-width: 650px; margin: 14px 0 0; font-size: 50px; line-height: 1.05; }
.about-v2-heading > p { max-width: 450px; margin: 0 0 4px auto; color: #625b53; line-height: 1.75; }
.leadership-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 54px; }
.leadership-grid article { position: relative; min-height: 490px; overflow: hidden; background: #29241f; }
.leadership-grid img { width: 100%; height: 490px; display: block; object-fit: cover; object-position: center 18%; filter: saturate(.88); transition: transform .65s cubic-bezier(.32,.72,0,1); }
.leadership-grid article:hover img { transform: scale(1.025); }
.leadership-grid article > div { position: absolute; inset: auto 0 0; padding: 58px 26px 25px; background: linear-gradient(0deg,rgba(27,23,19,.96),rgba(27,23,19,0)); }
.leadership-grid span { color: #f2c75c; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.leadership-grid h3 { margin: 6px 0 0; color: white; font-size: 25px; }

.about-v2-values { display: grid; grid-template-columns: .8fr 1.2fr; align-items: end; gap: 90px; padding: 104px max(24px,calc((100% - 1180px)/2)) 112px; background: #f2c75c; }
.about-v2-values h2 { max-width: 500px; margin: 14px 0 0; font-size: 48px; line-height: 1.05; }
.about-v2-values ul { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; border-top: 1px solid rgba(41,36,31,.25); list-style: none; }
.about-v2-values li { display: flex; align-items: center; gap: 18px; min-height: 74px; border-bottom: 1px solid rgba(41,36,31,.25); font-family: "Fraunces",serif; font-size: 23px; }
.about-v2-values li:nth-child(odd) { border-right: 1px solid rgba(41,36,31,.25); }
.about-v2-values li:nth-child(even) { padding-left: 24px; }
.about-v2-values li strong { color: #8a4203; font-family: "DM Sans",sans-serif; font-size: 10px; }

@media (max-width: 900px) {
    .about-v2-hero { grid-template-columns: 1fr; gap: 58px; }
    .about-v2-founder { max-width: 620px; }
    .about-v2-origin { grid-template-columns: 1fr; gap: 34px; }
    .about-v2-year { font-size: 90px; }
    .about-v2-origin blockquote { max-width: 620px; margin-top: 0; }
    .milestone-row { grid-template-columns: 1fr 1fr; }
    .milestone-row div:nth-child(2) { border-right: 0; }
    .milestone-row div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.17); }
    .about-v2-heading,.about-v2-values { grid-template-columns: 1fr; gap: 34px; }
    .about-v2-heading > p { margin-left: 0; }
}
@media (max-width: 680px) {
    .about-v2-hero { min-height: 0; padding: 68px 18px 78px; }
    .about-v2-hero h1 { font-size: 49px; }
    .about-v2-founder::before { inset: -10px 24px 24px -10px; }
    .about-v2-founder img { height: 410px; }
    .about-v2-founder figcaption { right: 0; bottom: 20px; min-width: 245px; }
    .about-v2-origin { padding: 82px 18px 88px; }
    .about-v2-origin h2,.about-v2-heading h2,.about-v2-values h2 { font-size: 39px; }
    .about-v2-origin blockquote { font-size: 22px; }
    .about-v2-milestones { padding: 72px 18px 78px; }
    .milestone-row { grid-template-columns: 1fr; }
    .milestone-row div { min-height: 110px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.17); }
    .about-v2-leadership { padding: 82px 18px 90px; }
    .leadership-grid { grid-template-columns: 1fr; }
    .leadership-grid article,.leadership-grid img { min-height: 0; height: 440px; }
    .about-v2-values { padding: 82px 18px 88px; }
    .about-v2-values ul { grid-template-columns: 1fr; }
    .about-v2-values li:nth-child(odd) { border-right: 0; }
    .about-v2-values li:nth-child(even) { padding-left: 0; }
}

/* Homepage editorial redesign */
body { overflow-x: clip; background: #fbfaf7; color: #29241f; font-family: "DM Sans", "Noto Sans Devanagari", sans-serif; }
.brand-wordmark strong,
.hero h1,
.hero h2,
.tribute h3,
.services-section h3,
.achievements > h3,
.awards-impact h3,
.cta-section h2,
.trade-rail strong,
.service-card h4,
.achievements h4,
.loader-brand strong { font-family: "Fraunces", "Noto Sans Devanagari", serif; }

header { border-top: 3px solid #f2c75c; background: rgba(255,253,249,.97); border-bottom-color: rgba(147,72,3,.14); }
.header-container { min-height: 84px; }
.logo img { width: 58px; height: 58px; }
.brand-wordmark strong { font-size: 19px; font-weight: 600; }
.navbar a { font-size: 13px; }
.download-badge { background: #b45a05; border: 1px solid #b45a05; }

.hero { position: relative; min-height: 700px; align-items: center; padding: 88px 24px 118px; background-image: linear-gradient(90deg,rgba(21,18,15,.92) 0%,rgba(34,27,19,.69) 45%,rgba(37,28,18,.08) 78%),url("Images/01.jpg"); background-position: center 58%; }
.hero-content { position: relative; }
.hero-kicker { width: max-content; margin-bottom: 22px; padding-bottom: 9px; border-bottom: 2px solid #f2c75c; color: #f2c75c; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { max-width: 700px; font-size: 76px; line-height: .98; font-weight: 600; }
.hero h2 { max-width: 650px; margin-top: 20px; color: #fff8ec; font-size: 34px; line-height: 1.14; font-weight: 500; }
.hero p { margin-top: 18px; font-size: 16px; }
.hero-action { min-height: 50px; border-radius: 3px; padding-inline: 22px; transition: transform .4s cubic-bezier(.32,.72,0,1),background .4s cubic-bezier(.32,.72,0,1); }
.hero-action-primary { border-color: #f2c75c; background: #f2c75c; color: #3a250c; box-shadow: 0 12px 28px rgba(91,44,2,.24); }
.hero-action-primary:hover { border-color: #ffda75; background: #ffda75; color: #3a250c; }
.hero-action-secondary { border-color: #f2c75c; color: #fff8e8; background: rgba(169,82,4,.18); }
.hero-action-secondary:hover { background: rgba(196,101,8,.38); }
.hero-proof { position: absolute; right: 0; bottom: 2px; display: grid; grid-template-columns: repeat(3,1fr); width: 410px; border-top: 1px solid rgba(255,255,255,.28); border-bottom: 1px solid rgba(255,255,255,.28); }
.hero-proof div { min-height: 96px; display: flex; flex-direction: column; justify-content: center; padding: 16px 20px; border-right: 1px solid rgba(255,255,255,.18); }
.hero-proof div:last-child { border-right: 0; }
.hero-proof strong { color: #f2c75c; font-family: "Fraunces",serif; font-size: 28px; font-weight: 600; }
.hero-proof span { margin-top: 4px; color: rgba(255,255,255,.68); font-size: 10px; text-transform: uppercase; }
.scroll-cue { position: absolute; left: 50%; bottom: 72px; z-index: 4; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; transform: translateX(-50%); color: rgba(255,255,255,.78); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; transition: color .35s cubic-bezier(.32,.72,0,1); }
.scroll-cue:hover,.scroll-cue:focus-visible { color: #f2c75c; outline: none; }
.scroll-cue:focus-visible { box-shadow: 0 0 0 3px rgba(242,199,92,.35); }
.scroll-cue-arrow { display: block; color: #f2c75c; font-size: 20px; line-height: 1; animation: scroll-cue-move 1.6s cubic-bezier(.32,.72,0,1) infinite; }
@keyframes scroll-cue-move { 0%,100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(6px); opacity: 1; } }

.trade-rail { width: min(1200px,calc(100% - 48px)); min-height: 146px; margin-top: -48px; box-shadow: 0 28px 70px rgba(74,47,20,.13); }
.trade-rail-lead { background: #a95204; }
.trade-rail-lead strong { font-size: 25px; line-height: 1.12; }
.trade-rail-action { background: #f4ead8; }

.tribute { position: relative; grid-template-columns: minmax(330px,.86fr) minmax(0,1.14fr); column-gap: 92px; min-height: 720px; padding: 132px 24px 120px; }
.tribute::before { content: "1965"; position: absolute; right: 24px; top: 72px; color: rgba(196,101,8,.07); font-family: "Fraunces",serif; font-size: 154px; line-height: 1; }
.tribute-img-wrapper { position: relative; }
.tribute-img-wrapper::before { content: ""; position: absolute; inset: -18px 42px 34px -18px; z-index: -1; background: #f2c75c; }
.tribute-img-wrapper::after { content: "Founder · Pioneer · Mentor"; position: absolute; right: -32px; bottom: 34px; padding: 14px 18px; background: #29241f; color: white; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tribute-img-wrapper img { height: 510px; max-height: none; border-radius: 0; filter: saturate(.9) contrast(1.03); }
.legacy-eyebrow { position: relative; color: #a95204; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tribute h3 { position: relative; margin: 14px 0 24px; max-width: 580px; font-size: 54px; line-height: 1.02; }
.tribute > p { position: relative; max-width: 620px; font-size: 16px; line-height: 1.85; }
.legacy-link { color: #934803; }
.legacy-principle { display: block !important; margin-top: 52px !important; padding: 24px 0 0 28px; border-top: 1px solid #dfd2c0; border-left: 3px solid #f2c75c; color: #29241f !important; font-family: "Fraunces",serif; font-size: 23px !important; line-height: 1.35 !important; }

.services-section { max-width: none; padding: 110px max(24px,calc((100% - 1180px)/2)) 124px; border: 0; background: #f3eee5; }
.section-intro { align-items: start; }
.section-intro h3 { margin-top: 12px; font-size: 52px; line-height: 1; }
.section-kicker,.service-code { color: #934803; letter-spacing: .08em; text-transform: uppercase; }
.services-cards { margin-top: 52px; gap: 14px; }
.service-card { min-height: 370px; padding: 34px; border: 0; transition: transform .5s cubic-bezier(.32,.72,0,1),box-shadow .5s cubic-bezier(.32,.72,0,1); }
.service-card:hover { transform: translateY(-7px); box-shadow: 0 24px 50px rgba(72,47,20,.10); }
.service-card:nth-child(1) { background: white; }
.service-card:nth-child(2) { background: #f2c75c; }
.service-card:nth-child(3) { background: #29241f; }
.service-card::before { color: rgba(169,82,4,.13); }
.service-card:nth-child(2) .service-code { color: #603005; }
.service-card:nth-child(2)::before { color: rgba(41,36,31,.12); }
.service-card h4 { font-size: 30px; line-height: 1.06; }
.service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: #934803; font-size: 12px; font-weight: 700; text-decoration: none; }
.service-card:nth-child(2) .service-link { color: #492302; }
.service-card:nth-child(3) .service-link { color: #f2c75c; }

.achievements { display: grid; grid-template-columns: .8fr 1.2fr; align-items: end; padding-block: 96px; border-top: 0; background: #29241f; }
.achievements-kicker { grid-column: 1; color: #f2c75c; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.achievements > h3 { grid-column: 1; margin: 14px 80px 0 0; font-size: 48px; line-height: 1.05; }
.achievements .impact-cards { grid-column: 2; grid-row: 1 / span 2; width: 100%; margin: 0; }
.achievements h4 { color: #f2c75c; }

.awards-impact { padding-block: 120px 132px; }
.awards-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
.awards-heading .section-kicker { grid-column: 1; }
.awards-heading h3 { grid-column: 1; margin: 12px 0 0; font-size: 52px; line-height: 1; }
.awards-heading p { grid-column: 2; grid-row: 1 / span 2; max-width: 430px; margin: 0 0 3px auto; color: #706960; line-height: 1.7; }
.awards-impact .impact-cards { margin-top: 52px; gap: 10px; }
.awards-impact .impact-item { border-radius: 0; background: #eee7db; }
.awards-impact img { height: 320px; filter: saturate(.88); }

.cta-section { position: relative; overflow: hidden; padding-block: 118px 126px; background: #a95204; color: white; }
.cta-section::before { content: "SKP"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); color: rgba(255,255,255,.06); font-family: "Fraunces",serif; font-size: 260px; font-weight: 700; }
.cta-section h2,.cta-section p,.cta-buttons { position: relative; }
.cta-section h2 { color: white; font-size: 54px; }
.cta-section p { color: rgba(255,255,255,.76); }
.btn-cta.primary { background: #f2c75c; border-color: #f2c75c; color: #29241f; }
.btn-cta.outline { border-color: rgba(255,255,255,.7); color: white; }

@media (max-width: 980px) {
    .hero-proof { position: static; width: min(520px,100%); margin-top: 42px; }
    .tribute { min-height: 0; }
    .tribute-img-wrapper::after { right: 0; }
    .achievements { grid-template-columns: 1fr; }
    .achievements > h3 { margin-right: 0; }
    .achievements .impact-cards { grid-column: 1; grid-row: auto; margin-top: 42px; }
}
@media (max-width: 680px) {
    .header-container { min-height: 68px; }
    .hero { min-height: 760px; align-items: flex-end; padding: 64px 20px 74px; background-image: linear-gradient(0deg,rgba(24,19,15,.97) 0%,rgba(29,22,16,.72) 60%,rgba(29,22,16,.24) 100%),url("Images/01.jpg"); background-position: 64% center; }
    .hero h1 { font-size: 49px; }
    .hero h2 { font-size: 27px; }
    .hero-proof { grid-template-columns: repeat(3,1fr); margin-top: 34px; }
    .hero-proof div { min-height: 78px; padding: 12px 8px; }
    .hero-proof strong { font-size: 22px; }
    .hero-proof span { font-size: 8px; }
    .scroll-cue { bottom: 34px; }
    .trade-rail { margin-top: -24px; }
    .tribute { padding-block: 94px 82px; }
    .tribute::before { top: 52px; right: 18px; font-size: 92px; }
    .tribute-img-wrapper::before { inset: -12px 30px 28px -12px; }
    .tribute-img-wrapper img { height: 430px; }
    .tribute h3 { font-size: 42px; }
    .legacy-principle { margin-top: 38px !important; font-size: 20px !important; }
    .services-section { padding-block: 86px 92px; }
    .section-intro h3,.awards-heading h3 { font-size: 42px; }
    .service-card { min-height: 310px; }
    .achievements { padding-block: 82px; }
    .achievements > h3 { font-size: 40px; }
    .awards-impact { padding-block: 88px 96px; }
    .awards-heading { grid-template-columns: 1fr; gap: 16px; }
    .awards-heading p { grid-column: 1; grid-row: auto; margin: 0; }
    .awards-impact img { height: 260px; }
    .cta-section { padding-block: 92px 100px; }
    .cta-section h2 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-cue-arrow { animation: none; }
}

/* Shared public-page system */
body > form { min-height: 100dvh; display: flex; flex-direction: column; }
body > form > footer { margin-top: auto; }
footer { margin-top: 0; }
body > form > section:not(.hero):not(.trade-rail):not(.tribute):not(.services-section):not(.achievements):not(.awards-impact):not(.cta-section) { width: 100%; }

.about-section { max-width: 1120px; padding: 88px 24px 96px; color: #403a34; text-align: left; }
.about-section > h2,
.team-section > h2,
.contact-page > h2,
.subscription-page > h2 { margin: 0 0 20px; color: #29241f; font-family: "Fraunces","Noto Sans Devanagari",serif; font-size: 52px; line-height: 1.05; font-weight: 600; text-align: left; }
.about-section > h2::after,
.team-section > h2::after,
.contact-page > h2::after,
.subscription-page > h2::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 20px; background: #f2c75c; }
.about-section h3 { margin: 42px 0 14px; color: #934803; font-family: "Fraunces","Noto Sans Devanagari",serif; font-size: 27px; font-weight: 600; text-align: left; }
.about-section p { max-width: 780px; margin: 0 0 22px; color: #625b53; font-size: 16px; line-height: 1.85; text-align: left; }
.about-section p.justify { text-align: left; }
.about-section a:not(.btn-cta):not(.plan-btn) { color: #934803; text-underline-offset: 3px; }
.about-quote { max-width: none; margin: 0; padding: 64px max(24px,calc((100% - 1072px)/2)); background: #29241f; color: white; }
.about-quote p,.about-quote blockquote { max-width: 820px; margin: 0; color: rgba(255,255,255,.78); font-family: "Fraunces","Noto Sans Devanagari",serif; font-size: 24px; line-height: 1.55; }

.about-hero-with-image { max-width: none; min-height: 590px; display: grid; grid-template-columns: minmax(320px,.9fr) minmax(0,1.1fr); align-items: center; gap: 76px; padding: 90px max(24px,calc((100% - 1180px)/2)); background: #f3eee5; text-align: left; }
.about-hero-with-image .tribute-img-wrapper { width: 100%; margin: 0; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.about-hero-with-image .tribute-img-wrapper:hover { transform: none; box-shadow: none; }
.about-hero-with-image .tribute-img-wrapper img { width: 100%; height: 460px; border-radius: 0; object-fit: cover; }
.about-hero-with-image .text-box { max-width: 620px; }
.about-hero-with-image h2 { color: #29241f; font-family: "Fraunces","Noto Sans Devanagari",serif; font-size: 52px; line-height: 1.05; font-weight: 600; }
.about-hero-with-image p { margin-top: 22px; color: #625b53; line-height: 1.8; text-align: left; }

.profile-cards { max-width: none; padding: 96px max(24px,calc((100% - 1180px)/2)); background: #f3eee5; }
.profile-card { display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: center; margin-bottom: 18px; padding: 28px; background: white; }
.profile-card .tribute-img-wrapper { width: 100%; margin: 0; padding: 0; border-radius: 0; box-shadow: none; }
.profile-card .tribute-img-wrapper img { width: 100%; height: 260px; border-radius: 0; object-fit: cover; }
.profile-info h3,.profile-info h4 { color: #29241f; font-family: "Fraunces",serif; }
.profile-info p { color: #625b53; line-height: 1.75; }

.team-section { max-width: 1180px; padding-block: 92px 108px; }
.team-wrapper { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 18px; margin-top: 48px; }
.team-card { grid-column: span 4; padding: 0 0 28px; overflow: hidden; border-radius: 0; background: #f3eee5; box-shadow: none; text-align: left; transition: transform .5s cubic-bezier(.32,.72,0,1); }
.team-card:hover { transform: translateY(-6px); box-shadow: none; }
.team-card img { width: 100%; height: 330px; margin: 0 0 24px; border-radius: 0; box-shadow: none; object-position: center 20%; }
.team-card img.team-logo-fallback { padding: 70px; background: white; object-fit: contain; object-position: center; }
.team-card h4,.team-card p { margin-inline: 24px; }
.team-card h4 { color: #29241f; font-family: "Fraunces",serif; font-size: 24px; }
.team-card p { margin-top: 6px; color: #934803; font-size: 12px; font-weight: 700; text-transform: uppercase; }

.contact-page { max-width: 1180px; }
.contact-container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; margin-top: 48px; }
.contact-box { min-width: 0; max-width: none; padding: 36px; border: 0; border-radius: 0; background: #f3eee5; box-shadow: none; }
.contact-box.contact-details { background: #29241f; color: white; }
.contact-container > .contact-details:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 220px 1fr; align-items: center; padding-block: 25px; background: #a95204; }
.contact-container > .contact-details:last-child h4 { margin: 0; }
.contact-container > .contact-details:last-child .contact-group { margin: 0; }
.contact-form h4,.contact-details h4 { margin-bottom: 24px; color: #29241f; font-family: "Fraunces",serif; font-size: 27px; }
.contact-details h4 { color: white; }
.contact-details .contact-group { color: rgba(255,255,255,.74); }
.contact-details .contact-group a { color: #f2c75c; }
.map-section { max-width: none; padding: 88px 24px 104px; background: #fbfaf7; }
.map-section h2 { color: #29241f; font-family: "Fraunces",serif; font-size: 42px; }
.map-container { max-width: 1120px; border-radius: 0; box-shadow: none; }

.login-wrapper { width: min(520px,100%); max-width: none; margin: 0 auto; padding: 42px; border: 1px solid #e5ddd1; border-top: 4px solid #f2c75c; border-radius: 0; background: white; box-shadow: 0 24px 60px rgba(72,47,20,.09); }
.login-header h2 { margin: 0 0 8px; color: #29241f; font-family: "Fraunces","Noto Sans Devanagari",serif; font-size: 38px; line-height: 1.1; font-weight: 600; }
.login-header p { color: #716960; }
.login-form { gap: 17px; }
.login-form label,.contact-form label { color: #403a34; font-size: 12px; font-weight: 700; }
.login-form input,.login-form textarea,.login-form select,
.contact-form input,.contact-form textarea,.contact-form select,
.form-control { min-height: 46px; width: 100%; padding: 11px 13px; border: 1px solid #d9d0c4; border-radius: 3px; background: #fff; color: #29241f; font-family: "DM Sans",sans-serif; font-size: 14px; outline: none; transition: border-color .25s ease,box-shadow .25s ease; }
.login-form textarea,.contact-form textarea { min-height: 120px; resize: vertical; }
.login-form input:focus,.login-form textarea:focus,.login-form select:focus,
.contact-form input:focus,.contact-form textarea:focus,.contact-form select:focus,
.form-control:focus { border-color: #a95204; box-shadow: 0 0 0 3px rgba(196,101,8,.12); }
.plan-btn,input.plan-btn[type="submit"],.contact-form button { min-height: 46px; padding: 11px 18px; border: 1px solid #a95204; border-radius: 3px; background: #a95204; color: white; font-family: "DM Sans",sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .35s cubic-bezier(.32,.72,0,1),transform .35s cubic-bezier(.32,.72,0,1); }
.plan-btn:hover,input.plan-btn[type="submit"]:hover,.contact-form button:hover { background: #c46508; transform: translateY(-1px); }
.login-footer { color: #716960; }
.login-footer a { color: #934803; }

.subscription-page { max-width: 1180px; padding-block: 92px 112px; }
.subscription-page .intro { max-width: 680px; margin: 0 0 48px; color: #625b53; text-align: left; }
.plan-wrapper { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 16px; }
.plan-card { width: auto; min-height: 410px; display: flex; flex-direction: column; padding: 34px; border: 1px solid #e5ddd1; border-radius: 0; background: white; box-shadow: none; text-align: left; }
.plan-card:hover { transform: translateY(-6px); }
.plan-card.featured { border: 0; border-top: 4px solid #f2c75c; background: #29241f; color: white; }
.plan-card h3 { color: #29241f; font-family: "Fraunces",serif; font-size: 28px; }
.plan-card .price { color: #a95204; font-family: "Fraunces",serif; font-size: 31px; }
.plan-card.featured h3,.plan-card.featured .price { color: #f2c75c; }
.plan-card.featured .save-text,.plan-card.featured li { color: rgba(255,255,255,.74); }
.plan-card ul { margin: 20px 0 28px; }
.plan-card ul li { padding: 10px 0; border-bottom-color: #ebe3d8; color: #625b53; }
.plan-card .plan-btn { width: 100%; margin-top: auto; }

.table-responsive { width: 100%; overflow-x: auto; }
.table-centered { border: 1px solid #e2d9cc; background: white; font-size: 14px; }
.table-centered th,.table-centered td { padding: 14px 16px; border-color: #e8e0d5; }
.table-centered thead { background: #29241f; color: white; }
.table-centered tbody tr:nth-child(even) { background: #faf7f1; }
.table-centered tbody tr:hover { background: #fff2d7; }
.team-section.about-section .cta-section { margin-top: 64px; }

.subscription-wrapper { max-width: 720px; margin: 0 auto; padding: 48px; border-top: 4px solid #f2c75c; background: white; box-shadow: 0 24px 60px rgba(72,47,20,.09); text-align: center; }
.subscription-wrapper h2 { color: #29241f; font-family: "Fraunces",serif; font-size: 38px; }
.chicken-loader { width: 58px; height: 58px; margin: 22px auto; background: url("assets/images/Logo.png") center/contain no-repeat; }
.progress-container { overflow: hidden; background: #eee6da; }
.progress-bar { background: #a95204; }

.services-page .services-intro { display: none; }
.services-page .subscription-page { padding-top: 84px; }
.services-page .subscription-page::before { content: "Poultry intelligence for Maharashtra"; display: block; margin-bottom: 14px; color: #934803; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.about-page .about-hero-with-image { border-bottom: 1px solid #e5ddd1; }
.about-page .about-hero-with-image .text-box::before { content: "Our story · Since 1965"; display: block; margin-bottom: 16px; color: #934803; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about-page .about-hero-with-image .text-box p { max-width: 530px; }
.about-page .about-hero-with-image + .about-section { max-width: 1180px; padding-top: 96px; }
.about-page .about-hero-with-image + .about-section > h3 { max-width: 850px; margin-top: 0; color: #29241f; font-size: 42px; line-height: 1.12; }
.about-page .about-hero-with-image + .about-section > p { max-width: 900px; }
.about-page .team-grid { display: none; }
.about-page .mission-vision { max-width: none; padding-inline: max(24px,calc((100% - 1120px)/2)); background: #29241f; }
.about-page .mission-vision > h3 { color: white; font-size: 40px; }
.about-page .mission-vision .column { max-width: none; border-radius: 0; box-shadow: none; }

.legal-page form > .about-section:first-of-type { max-width: none; padding: 76px max(24px,calc((100% - 1120px)/2)) 66px; background: #f3eee5; }
.legal-page form > .about-section:first-of-type > h2 { margin-bottom: 28px; }
.legal-page form > .about-section:first-of-type > p { margin-bottom: 0; }
.legal-page form > .about-section:nth-of-type(2) { padding-top: 70px; }
.legal-page .about-section h3 { color: #6f3503; }

.login-page form { background: linear-gradient(90deg,rgba(251,250,247,.98) 0%,rgba(251,250,247,.92) 50%,rgba(41,36,31,.40) 100%),url("Images/01.jpg") center/cover fixed; }
.login-page .team-section,.auth-shell { width: 100%; min-height: calc(100dvh - 84px); display: grid; place-items: center; padding: 72px 24px; }
.login-page .login-wrapper { margin: 0; }
.auth-shell + footer,.login-page footer { margin-top: 0; }

#scrollTopBtn { right: 24px; bottom: 24px; width: 46px; height: 46px; display: none; border: 1px solid rgba(169,82,4,.32); border-radius: 50%; background: rgba(255,253,249,.96); color: #934803; box-shadow: 0 10px 28px rgba(60,38,18,.14); }
#scrollTopBtn::after { content: "\2191"; color: #934803; font-size: 19px; }
#scrollTopBtn:hover { border-color: #a95204; background: #f2c75c; transform: translateY(-3px); }

@media (max-width: 900px) {
    .about-hero-with-image { grid-template-columns: 1fr; gap: 42px; }
    .about-hero-with-image .tribute-img-wrapper { max-width: 560px; }
    .team-card { grid-column: span 6; }
    .contact-container { grid-template-columns: 1fr; }
    .plan-wrapper { grid-template-columns: 1fr; max-width: 580px; }
    .plan-card { min-height: 0; }
}
@media (max-width: 1180px) {
    .brand-wordmark,.header-container .download-badge { display: none; }
    .header-container { padding-inline: 18px; }
    .logo { min-width: auto; }
}
@media (max-width: 900px) {
    .header-container { min-height: 68px; flex-direction: row; align-items: center; padding: 8px 18px; }
    .logo img { width: 48px; height: 48px; }
    .hamburger { display: block; position: absolute; top: 16px; right: 18px; color: #934803; }
    .navbar,.language-selector { display: none; flex-direction: column; width: 100%; }
    #menu-toggle:checked ~ .header-container { align-items: flex-start; }
    #menu-toggle:checked ~ .header-container .navbar { display: flex; margin-top: 58px; padding-top: 10px; border-top: 1px solid #e7e0d5; }
    #menu-toggle:checked ~ .header-container .language-selector { display: flex; }
    .navbar a,.header-container .navbar .login { width: 100%; text-align: center; }
    .contact-container > .contact-details:last-child { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 680px) {
    .about-section,.team-section,.contact-page,.subscription-page { padding: 68px 18px 78px; }
    .about-section > h2,.team-section > h2,.contact-page > h2,.subscription-page > h2,.about-hero-with-image h2 { font-size: 40px; }
    .about-section h3 { font-size: 24px; }
    .about-hero-with-image { min-height: 0; padding: 68px 18px 78px; }
    .about-hero-with-image .tribute-img-wrapper img { height: 380px; }
    .profile-cards { padding: 72px 18px; }
    .profile-card { grid-template-columns: 1fr; padding: 18px; }
    .team-wrapper { grid-template-columns: 1fr; }
    .team-card { grid-column: auto; }
    .team-card img { height: 360px; }
    .contact-box { padding: 26px 20px; }
    .login-wrapper { padding: 32px 22px; }
    .login-header h2,.subscription-wrapper h2 { font-size: 32px; }
    .subscription-wrapper { padding: 36px 22px; }
}

/* Final header contract: must remain after all legacy/homepage rules. */
body header { position: relative; top: auto; border-top: 0; border-bottom: 1px solid #e9e3da; background: #fff; }
body header .header-container { max-width: 1200px; min-height: 72px; padding: 7px 0; gap: 22px; }
body header .logo { min-width: 205px; gap: 10px; }
body header .logo img { width: 46px; height: 46px; }
body header .brand-wordmark strong { font-size: 17px; }
body header .brand-wordmark small { font-size: 9px; }
body header .header-container .download-badge { min-height: 48px; display: inline-flex; align-items: center; margin: 0; padding: 7px 12px; border: 0; border-radius: 4px; background: #24211e; box-shadow: none; }
body header .header-container .download-badge:hover { background: #3a342f; transform: translateY(-1px); }
body header .play-store-icon { width: 20px; height: 23px; margin-right: 8px; }
body header .badge-text small { font-size: 8px; }
body header .badge-text strong { font-size: 12px; }

body header .header-container { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; column-gap: 16px; }
body header .navbar { justify-content: flex-end; gap: 0; }
body header .language-selector { margin-left: 0; }
body header .header-container .download-badge { min-width: 112px; justify-content: center; }

.contact-page-body .contact-page { max-width: 1240px; padding-top: 64px; }
.contact-page-body .contact-page > h2 { margin-bottom: 12px; }
.contact-intro { max-width: 680px !important; margin: 0 !important; color: #716960 !important; line-height: 1.65 !important; }
.contact-page-body .contact-container { margin-top: 36px; }
.contact-page-body .contact-box { padding: 34px; }
.contact-page-body .contact-form h4,.contact-page-body .contact-details h4 { font-size: 25px; }
.contact-page-body .contact-container > .contact-details:last-child { min-height: 104px; background: #f2c75c; color: #29241f; }
.contact-page-body .contact-container > .contact-details:last-child h4 { color: #29241f; }
.contact-page-body .contact-container > .contact-details:last-child .contact-group { color: #514331; }
.contact-page-body .contact-container > .contact-details:last-child a { color: #703502; font-weight: 700; }

.legal-page { background: #fbfaf7; }
.legal-page form > .about-section:first-of-type { max-width: 1200px; padding: 68px 0 26px; background: transparent; }
.legal-page form > .about-section:first-of-type > h2 { margin-bottom: 24px; font-size: 52px; }
.legal-page form > .about-section:first-of-type > p { max-width: 820px; }
.legal-page form > .about-section:nth-of-type(2) { max-width: 1200px; padding: 16px 0 86px; }
.legal-page .about-section h3 { margin: 42px 0 12px; padding-top: 0; color: #703502; font-size: 27px; }
.legal-page .about-section p { max-width: 820px; margin-bottom: 20px; line-height: 1.75; }
.legal-page .about-quote { max-width: none; padding: 54px max(24px,calc((100% - 992px)/2)); }

.login-page form { background: #fbfaf7; }
.login-page .team-section,.login-page .auth-shell { position: relative; min-height: calc(100dvh - 73px); display: flex; align-items: center; justify-content: flex-start; padding: 72px max(24px,calc((100% - 1180px)/2)); background-image: linear-gradient(90deg,#fbfaf7 0%,#fbfaf7 55%,rgba(41,36,31,.08) 55%,rgba(41,36,31,.08) 100%),url("Images/01.jpg"); background-position: center,right center; background-size: cover,45% 100%; background-repeat: no-repeat; }
.login-page .login-wrapper { width: 430px; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.login-page .login-card { text-align: left; }
.login-page .login-header h2 { font-size: 46px; }
.login-page .login-header p { margin-bottom: 28px; }
.login-page .login-footer { text-align: left; }

@media (max-width: 900px) {
    body header .header-container { display: flex; }
    .login-page .team-section,.login-page .auth-shell { justify-content: center; background-image: none; }
    .login-page .login-wrapper { width: min(500px,100%); padding-right: 0; }
}
@media (max-width: 1248px) {
    .legal-page form > .about-section:first-of-type,
    .legal-page form > .about-section:nth-of-type(2) { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 680px) {
    .contact-page-body .contact-page { padding-top: 52px; }
    .contact-page-body .contact-box { padding: 26px 20px; }
    .legal-page form > .about-section:first-of-type { padding: 54px 18px 20px; }
    .legal-page form > .about-section:first-of-type > h2 { font-size: 40px; }
    .legal-page form > .about-section:nth-of-type(2) { padding: 8px 18px 68px; }
    .login-page .team-section,.login-page .auth-shell { min-height: calc(100dvh - 64px); padding: 58px 20px 68px; }
    .login-page .login-header h2 { font-size: 38px; }
}

@media (max-width: 1180px) {
    body header .brand-wordmark,body header .header-container .download-badge { display: none; }
    body header .header-container { min-height: 66px; padding-inline: 18px; }
    body header .logo { min-width: auto; }
    body header .logo img { width: 44px; height: 44px; }
}
@media (max-width: 900px) {
    body header .header-container { min-height: 64px; padding-block: 7px; }
}

/* Professional legal document pages. */
.legal-page form > section.about-section,
.legal-page form > section.about-quote { display: none; }
.legal-v2 { min-height: 70vh; background: #fbfaf7; color: #302b27; }
.legal-v2-hero { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 72px; align-items: end; padding: 76px max(24px,calc((100% - 1200px)/2)) 64px; border-bottom: 1px solid #ded5c8; background: #f3eee5; }
.legal-v2-hero > div > span { display: block; margin-bottom: 15px; color: #8c4404; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.legal-v2-hero h1 { max-width: 780px; margin: 0 0 18px; color: #29241f; font-family: "Fraunces",serif; font-size: 58px; font-weight: 600; line-height: 1.04; letter-spacing: 0; }
.legal-v2-hero p { max-width: 720px; margin: 0; color: #625b53; font-size: 18px; line-height: 1.7; }
.legal-v2-hero dl { margin: 0; border-top: 1px solid #cfc3b4; }
.legal-v2-hero dl > div { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid #cfc3b4; }
.legal-v2-hero dt { color: #766d63; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.legal-v2-hero dd { margin: 0; color: #29241f; font-size: 14px; font-weight: 600; }
.legal-v2-layout { width: min(1200px,calc(100% - 48px)); display: grid; grid-template-columns: 230px minmax(0,780px); gap: 82px; margin: 0 auto; padding: 76px 0 112px; }
.legal-v2-layout aside { align-self: start; position: sticky; top: 24px; }
.legal-v2-layout aside strong { display: block; margin-bottom: 14px; color: #29241f; font-size: 12px; text-transform: uppercase; }
.legal-v2-layout aside nav { display: flex; flex-direction: column; border-top: 1px solid #ded5c8; }
.legal-v2-layout aside a { padding: 12px 0; border-bottom: 1px solid #ded5c8; color: #716960; font-size: 13px; line-height: 1.35; text-decoration: none; transition: color .2s ease,padding-left .2s ease; }
.legal-v2-layout aside a:hover,.legal-v2-layout aside a:focus { padding-left: 7px; color: #8c4404; }
.legal-v2-layout article { min-width: 0; }
.legal-v2-layout article > section { scroll-margin-top: 24px; margin: 0 0 42px; padding: 0 0 42px; border-bottom: 1px solid #e1d9ce; }
.legal-v2-layout article > section > span { display: block; margin-bottom: 10px; color: #a95204; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.legal-v2-layout article h2 { margin: 0 0 17px; color: #29241f; font-family: "Fraunces",serif; font-size: 31px; font-weight: 600; line-height: 1.2; letter-spacing: 0; }
.legal-v2-layout article p { max-width: 760px; margin: 0 0 15px; color: #565049; font-size: 16px; line-height: 1.78; }
.legal-v2-layout article p:last-child { margin-bottom: 0; }
.legal-v2-layout article a { color: #7b3b03; font-weight: 700; text-decoration-color: #d2a464; text-underline-offset: 3px; }
.legal-v2-layout article > .legal-v2-contact { margin-top: 52px; padding: 30px 34px; border: 1px solid #dacdbb; border-left: 4px solid #a95204; background: #f3eee5; }
.legal-v2-contact h2 { font-size: 26px !important; }

@media (max-width: 900px) {
    .legal-v2-hero { grid-template-columns: 1fr; gap: 38px; padding-top: 60px; }
    .legal-v2-layout { grid-template-columns: 1fr; gap: 50px; }
    .legal-v2-layout aside { position: static; }
    .legal-v2-layout aside nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 22px; }
}
@media (max-width: 600px) {
    .legal-v2-hero { gap: 30px; padding: 50px 18px 44px; }
    .legal-v2-hero h1 { font-size: 40px; }
    .legal-v2-hero p { font-size: 16px; }
    .legal-v2-hero dl > div { grid-template-columns: 92px 1fr; }
    .legal-v2-layout { width: calc(100% - 36px); gap: 42px; padding: 50px 0 76px; }
    .legal-v2-layout aside nav { grid-template-columns: 1fr; }
    .legal-v2-layout article > section { margin-bottom: 34px; padding-bottom: 34px; }
    .legal-v2-layout article h2 { font-size: 27px; }
    .legal-v2-layout article > .legal-v2-contact { padding: 25px 22px; }
}

/* Refined global masthead. */
body header { overflow: visible; }
.site-utility { min-height: 30px; background: #29241f; color: rgba(255,255,255,.76); }
.site-utility-inner { width: min(1280px,calc(100% - 48px)); min-height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 auto; font-family: "DM Sans",sans-serif; font-size: 10px; letter-spacing: .03em; }
.site-utility p,.site-utility-inner span { margin: 0; }
.site-utility p { display: flex; align-items: center; gap: 8px; text-transform: uppercase; }
.site-utility p strong { color: #f2c75c; font-weight: 700; }
.utility-mark { width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: #f2c75c; box-shadow: 0 0 0 3px rgba(242,199,92,.14); }
.utility-links { display: flex; align-items: center; gap: 22px; }
.utility-links a { color: rgba(255,255,255,.92); text-decoration: none; }
.utility-links a:hover { color: #f2c75c; }
body header .header-container { max-width: 1280px; min-height: 78px; padding: 8px 0; column-gap: 20px; }
body header .logo { min-width: 245px; }
body header .logo img { width: 52px; height: 52px; }
body header .brand-wordmark strong { font-size: 19px; line-height: 1.1; }
body header .brand-wordmark small { margin-top: 4px; color: #756d64; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
body header .navbar a { padding: 12px 11px; font-size: 13px; font-weight: 600; }
body header .navbar > a:not(.btn-nav)::after { left: 11px; right: 11px; bottom: 5px; height: 2px; background: #a95204; }
body header .navbar > a.is-current { color: #8c4404; }
body header .navbar > a.is-current::after { transform: scaleX(1); }
body header .header-container .navbar .login { min-height: 40px; margin-left: 10px; padding: 0 17px; }
body header .header-container .download-badge { min-width: 132px; min-height: 52px; padding-inline: 14px; }
body header .badge-text small { color: rgba(255,255,255,.7); font-size: 8px; letter-spacing: .05em; }
body header .badge-text strong { margin-top: 1px; font-size: 13px; }
body header .language-selector select { min-width: 126px; height: 46px; padding: 0 36px 0 14px; border-color: #ded5c8; border-radius: 4px; background-color: #fff; color: #29241f; font-family: "DM Sans",sans-serif; font-size: 13px; font-weight: 600; }

@media (max-width: 1328px) {
    .site-utility-inner { width: calc(100% - 36px); }
    body header .header-container { padding-inline: 18px; }
}
@media (max-width: 1180px) {
    .utility-links span { display: none; }
    body header .header-container { min-height: 68px; }
    body header .logo img { width: 46px; height: 46px; }
}
@media (max-width: 900px) {
    .site-utility { display: none; }
    body header .header-container { min-height: 64px; }
    body header .logo img { width: 44px; height: 44px; }
}

/* Keep masthead actions visually aligned while retaining distinct purposes. */
body header .header-container .navbar .login {
    min-width: 82px;
    min-height: 48px;
    margin-left: 12px;
    padding: 0 18px;
    border: 1px solid #a95204;
    border-radius: 4px;
    background: #a95204;
    color: #fff !important;
    box-shadow: none;
}
body header .header-container .navbar .login:hover,
body header .header-container .navbar .login:focus-visible {
    border-color: #7f3d03;
    background: #7f3d03;
}
body header .header-container .download-badge {
    min-height: 48px;
    height: 48px;
    border: 1px solid #29241f;
    background: #29241f;
}
body header .language-selector select { height: 48px; }

@media (max-width: 900px) {
    body header .header-container .navbar .login {
        width: 100%;
        min-height: 44px;
        margin: 5px 0 0;
    }
}

/* Product theme system: light is the explicit default. */
:root,[data-theme="light"] {
    --ui-bg: #f7f6f3;
    --ui-surface: #fdfcf9;
    --ui-surface-2: #f1eee8;
    --ui-elevated: #ffffff;
    --ui-text: #292621;
    --ui-text-2: #625d56;
    --ui-muted: #89827a;
    --ui-border: #dfdad2;
    --ui-border-strong: #cfc7bc;
    --ui-brand: #a95204;
    --ui-brand-hover: #7f3d03;
    --ui-brand-soft: #f7ead8;
    --ui-signal: #f2c75c;
    --ui-positive: #247a53;
    --ui-negative: #b6473d;
    --ui-warning: #9a6300;
    --ui-focus: #c46508;
    --ui-shadow: 0 18px 50px rgba(56,43,28,.08);
    color-scheme: light;
}
[data-theme="dark"] {
    --ui-bg: #171614;
    --ui-surface: #1d1b19;
    --ui-surface-2: #25221f;
    --ui-elevated: #2a2723;
    --ui-text: #f0ece5;
    --ui-text-2: #c2bbb1;
    --ui-muted: #8f887f;
    --ui-border: #38342f;
    --ui-border-strong: #504940;
    --ui-brand: #e39843;
    --ui-brand-hover: #f0ad5d;
    --ui-brand-soft: #352619;
    --ui-signal: #e8bd54;
    --ui-positive: #63b98c;
    --ui-negative: #e57c72;
    --ui-warning: #dfad4f;
    --ui-focus: #e39843;
    --ui-shadow: 0 20px 54px rgba(0,0,0,.24);
    color-scheme: dark;
}
html { background: var(--ui-bg); }
body { background: var(--ui-bg); color: var(--ui-text); transition: background-color .22s ease,color .22s ease; }
body header { border-color: var(--ui-border); background: var(--ui-elevated); }
body header .navbar a,body header .language-selector select { color: var(--ui-text); }
body header .brand-wordmark strong { color: var(--ui-text); }
body header .brand-wordmark small { color: var(--ui-muted); }
body header .navbar a:hover,body header .navbar a:focus-visible,body header .navbar > a.is-current { color: var(--ui-brand); }
body header .language-selector select { border-color: var(--ui-border); background-color: var(--ui-surface); }
.theme-toggle { width: 48px; height: 48px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--ui-border); border-radius: 4px; background: var(--ui-surface); color: var(--ui-text); cursor: pointer; transition: border-color .2s ease,background .2s ease,transform .2s ease; }
.theme-toggle:hover,.theme-toggle:focus-visible { border-color: var(--ui-focus); background: var(--ui-brand-soft); outline: none; transform: translateY(-1px); }
.theme-toggle-icon { position: relative; width: 17px; height: 17px; display: block; border: 2px solid currentColor; border-radius: 50%; }
.theme-toggle-icon::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: currentColor; transform: translateX(4px); }
[data-theme="dark"] .theme-toggle-icon::after { transform: translateX(-4px); }

body header .header-container { grid-template-columns: auto minmax(0,1fr) auto auto auto; }
.user-dropdown { position: relative; margin-left: 10px; }
body header .user-dropdown .user-name { min-width: 190px; min-height: 48px; display: flex; align-items: center; gap: 9px; padding: 5px 11px 5px 6px; border: 1px solid var(--ui-border); border-radius: 4px; background: var(--ui-surface); color: var(--ui-text); font-family: "DM Sans",sans-serif; cursor: pointer; text-align: left; }
.member-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 3px; background: var(--ui-brand); color: #fff; font-size: 13px; font-weight: 700; }
.member-name { min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.member-name small { margin-bottom: 2px; color: var(--ui-muted); font-size: 8px; font-weight: 600; text-transform: uppercase; }
.member-name strong { max-width: 112px; overflow: hidden; color: var(--ui-text); font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.account-chevron { width: 7px; height: 7px; flex: 0 0 auto; border-right: 1.5px solid var(--ui-muted); border-bottom: 1.5px solid var(--ui-muted); transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.user-dropdown.is-open .account-chevron { transform: rotate(225deg) translate(-1px,-1px); }
.user-dropdown .dropdown-menu { width: 360px; top: calc(100% - 1px); right: 0; left: auto; padding: 6px; border: 1px solid var(--ui-border); border-radius: 4px; background: var(--ui-elevated); box-shadow: 0 18px 44px rgba(43,34,24,.16); z-index: 5000; }
body header .user-dropdown:hover .dropdown-menu,body header .user-dropdown.is-open .dropdown-menu,body header .user-dropdown:focus-within .dropdown-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.user-dropdown .dropdown-menu li { margin: 0; }
.user-dropdown .dropdown-menu a { min-height: 48px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 7px 10px; border-radius: 3px; color: var(--ui-text); text-align: left; }
.user-dropdown .dropdown-menu a:hover { background: var(--ui-surface-2); color: var(--ui-brand); }
.user-dropdown .dropdown-menu a strong { font-size: 11px; }
.user-dropdown .dropdown-menu a small { margin-top: 2px; color: var(--ui-muted); font-size: 9px; font-weight: 400; }
.user-dropdown .dropdown-separator { grid-column: 1 / -1; margin: 0 !important; padding: 0; }
.user-dropdown .dropdown-separator a { min-height: 50px; border-top: 1px solid var(--ui-border); border-radius: 0 0 3px 3px; }

[data-theme="dark"] .site-utility { background: #100f0e; }
[data-theme="dark"] #preloader { background: var(--ui-bg); }
[data-theme="dark"] .legal-v2,[data-theme="dark"] .legal-page,[data-theme="dark"] .login-page form { background: var(--ui-bg); }
[data-theme="dark"] .legal-v2-hero { border-color: var(--ui-border); background: var(--ui-surface-2); }
[data-theme="dark"] .legal-v2-hero h1,[data-theme="dark"] .legal-v2-hero dd,[data-theme="dark"] .legal-v2-layout aside strong,[data-theme="dark"] .legal-v2-layout article h2 { color: var(--ui-text); }
[data-theme="dark"] .legal-v2-hero p,[data-theme="dark"] .legal-v2-layout article p,[data-theme="dark"] .legal-v2-layout aside a { color: var(--ui-text-2); }
[data-theme="dark"] .legal-v2-hero dl,[data-theme="dark"] .legal-v2-hero dl > div,[data-theme="dark"] .legal-v2-layout aside nav,[data-theme="dark"] .legal-v2-layout aside a,[data-theme="dark"] .legal-v2-layout article > section { border-color: var(--ui-border); }
[data-theme="dark"] .legal-v2-layout article > .legal-v2-contact { border-color: var(--ui-border-strong); border-left-color: var(--ui-brand); background: var(--ui-surface-2); }
[data-theme="dark"] footer { background: #100f0e; }
[data-theme="dark"] input,[data-theme="dark"] textarea,[data-theme="dark"] select,[data-theme="dark"] .form-control { border-color: var(--ui-border); background: var(--ui-elevated); color: var(--ui-text); }

@media (max-width: 1180px) {
    body header .theme-toggle { display: grid; }
}
@media (max-width: 900px) {
    body header .theme-toggle { position: absolute; top: 8px; right: 70px; width: 46px; height: 46px; }
    body header .user-dropdown { width: 100%; margin: 6px 0 0; }
    body header .user-name { width: 100%; justify-content: center; }
    body header .user-dropdown .dropdown-menu { position: static; width: 100%; margin-top: 6px; box-shadow: none; }
    body header .user-dropdown:hover .dropdown-menu,body header .user-dropdown.is-open .dropdown-menu,body header .user-dropdown:focus-within .dropdown-menu { grid-template-columns: 1fr; }
}

/* Signed-in member workspace. */
.member-page { background: var(--ui-bg); }
.member-shell { width: min(1200px,calc(100% - 48px)); margin: 0 auto; padding: 68px 0 104px; }
.member-shell > header,.member-shell > section,.member-shell > nav,.member-shell > div { width: 100%; max-width: none; margin-left: 0; margin-right: 0; box-sizing: border-box; }
.member-page .member-shell > section { padding: 0 !important; }
.member-page .member-shell > .member-hero { padding: 0 0 34px !important; background: transparent; }
.member-page .member-shell > .member-status,.member-page .member-shell > .member-tool,.member-page .member-shell > .market-panel { background-color: var(--ui-surface); }
.member-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 38px; padding-bottom: 34px; border-bottom: 1px solid var(--ui-border); }
.member-eyebrow,.panel-heading span { display: block; margin-bottom: 10px; color: var(--ui-brand); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.member-hero h1 { max-width: 760px; margin: 0 0 12px; color: var(--ui-text); font-family: "Fraunces",serif; font-size: 46px; font-weight: 600; line-height: 1.08; letter-spacing: 0; }
.member-hero p { max-width: 650px; margin: 0; color: var(--ui-text-2); font-size: 15px; line-height: 1.65; }
.member-primary-action { min-height: 46px; display: inline-flex; align-items: center; gap: 24px; padding: 0 17px; border: 1px solid var(--ui-brand); border-radius: 4px; background: var(--ui-brand); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.member-primary-action:hover { border-color: var(--ui-brand-hover); background: var(--ui-brand-hover); color: #fff; }
.member-status { display: grid; grid-template-columns: 250px minmax(0,1fr); border: 1px solid var(--ui-border); background: var(--ui-surface); }
.status-heading { display: flex; align-items: center; gap: 12px; padding: 24px; border-right: 1px solid var(--ui-border); }
.status-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--ui-positive); box-shadow: 0 0 0 4px color-mix(in srgb,var(--ui-positive) 16%,transparent); }
.status-heading div { display: flex; flex-direction: column; }
.status-heading small,.member-status dt { margin-bottom: 4px; color: var(--ui-muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.status-heading strong { color: var(--ui-text); font-size: 14px; }
.member-status dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; }
.member-status dl > div { display: flex; flex-direction: column; justify-content: center; padding: 20px 28px; border-right: 1px solid var(--ui-border); }
.member-status dl > div:last-child { border-right: 0; }
.member-status dd { margin: 0; color: var(--ui-text); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.member-quick-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 18px 0 44px; border: 1px solid var(--ui-border); background: var(--ui-surface); }
.member-quick-actions a { min-height: 126px; display: grid; grid-template-columns: 34px 1fr; align-content: center; padding: 22px 24px; border-right: 1px solid var(--ui-border); color: var(--ui-text); text-decoration: none; transition: background .2s ease; }
.member-quick-actions a:last-child { border-right: 0; }
.member-quick-actions a:hover { background: var(--ui-surface-2); }
.member-quick-actions a > span { grid-row: span 2; color: var(--ui-brand); font-size: 10px; font-weight: 700; }
.member-quick-actions strong { font-size: 14px; }
.member-quick-actions small { margin-top: 6px; color: var(--ui-muted); font-size: 11px; }
.market-panel { margin-top: 18px; border: 1px solid var(--ui-border); background: var(--ui-surface); }
.panel-heading { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 20px 24px; border-bottom: 1px solid var(--ui-border); }
.panel-heading span { margin-bottom: 5px; }
.panel-heading h2 { margin: 0; color: var(--ui-text); font-family: "Fraunces",serif; font-size: 25px; font-weight: 600; letter-spacing: 0; }
.panel-heading p { max-width: 400px; margin: 0; color: var(--ui-muted); font-size: 11px; text-align: right; }
.panel-heading > a { color: var(--ui-brand); font-size: 11px; font-weight: 700; text-decoration: none; }
.panel-actions { display: flex; align-items: center; gap: 8px; }
.panel-actions > a { margin-right: 8px; color: var(--ui-brand); font-size: 11px; font-weight: 700; text-decoration: none; }
.panel-actions .member-export { min-width: 64px; }
.panel-actions .member-export.primary { background: var(--ui-brand); color: #fff; }
.chart-frame { position: relative; width: 100%; min-height: 390px; padding: 28px 24px 20px; }
.chart-frame canvas { max-height: 390px; }
.member-table-wrap { margin: 0; }
.member-table { margin: 0; border: 0; background: transparent; }
.member-table thead { background: var(--ui-surface-2); color: var(--ui-text-2); }
.member-table th { border-color: var(--ui-border); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.member-table td { border-color: var(--ui-border); color: var(--ui-text-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.member-table tbody tr:nth-child(even),.member-table tbody tr:hover { background: var(--ui-surface-2); }
.member-empty { padding: 48px 24px; text-align: center; }
.member-empty strong { color: var(--ui-text); }
.member-empty p { margin: 6px 0 0; color: var(--ui-muted); font-size: 12px; }

@media (max-width: 900px) {
    .member-shell { width: min(100% - 36px,720px); padding: 50px 0 76px; }
    .member-hero { align-items: flex-start; flex-direction: column; }
    .member-status { grid-template-columns: 1fr; }
    .status-heading { border-right: 0; border-bottom: 1px solid var(--ui-border); }
    .member-quick-actions { grid-template-columns: 1fr; }
    .member-quick-actions a { min-height: 96px; border-right: 0; border-bottom: 1px solid var(--ui-border); }
    .member-quick-actions a:last-child { border-bottom: 0; }
}
@media (max-width: 600px) {
    .member-hero h1 { font-size: 36px; }
    .member-primary-action { width: 100%; justify-content: space-between; }
    .member-status dl { grid-template-columns: 1fr; }
    .member-status dl > div { padding: 15px 20px; border-right: 0; border-bottom: 1px solid var(--ui-border); }
    .member-status dl > div:last-child { border-bottom: 0; }
    .panel-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .panel-heading p { text-align: left; }
    .chart-frame { min-height: 300px; padding-inline: 12px; }
}

.member-shell.narrow { max-width: 980px; }
.member-hero.compact { margin-bottom: 28px; }
.member-hero.compact h1 { font-size: 42px; }
.member-secondary-action { min-height: 42px; display: inline-flex; align-items: center; padding: 0 15px; border: 1px solid var(--ui-border-strong); border-radius: 4px; color: var(--ui-text-2); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.member-secondary-action:hover { border-color: var(--ui-brand); background: var(--ui-brand-soft); color: var(--ui-brand); }
.member-tool { display: grid; grid-template-columns: 300px minmax(0,1fr); border: 1px solid var(--ui-border); background: var(--ui-surface); }
.member-tool-heading { padding: 30px; border-right: 1px solid var(--ui-border); background: var(--ui-surface-2); }
.member-tool-heading > span { color: var(--ui-brand); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.member-tool-heading h2 { margin: 11px 0 10px; color: var(--ui-text); font-family: "Fraunces",serif; font-size: 25px; font-weight: 600; line-height: 1.2; letter-spacing: 0; }
.member-tool-heading p { margin: 0; color: var(--ui-muted); font-size: 11px; line-height: 1.6; }
.member-tool-body { padding: 30px; }
.member-feedback:empty { display: none; }
.member-feedback { margin-bottom: 15px; color: var(--ui-positive); font-size: 12px; }
.member-filter-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) auto; gap: 16px; align-items: end; }
.member-field,.member-form-grid { display: flex; flex-direction: column; }
.member-field label,.member-form-grid label { margin: 0 0 7px; color: var(--ui-text-2); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.member-field .form-control,.member-form-grid .form-control { width: 100%; min-height: 48px; margin: 0; padding: 11px 13px; border: 1px solid var(--ui-border); border-radius: 3px; background: var(--ui-elevated); color: var(--ui-text); font-family: "DM Sans",sans-serif; font-size: 13px; box-shadow: none; }
.member-field .form-control:focus,.member-form-grid .form-control:focus { border-color: var(--ui-focus); outline: 3px solid color-mix(in srgb,var(--ui-focus) 14%,transparent); }
.member-submit,.member-export { min-height: 48px; padding: 0 20px; border: 1px solid var(--ui-brand); border-radius: 3px; background: var(--ui-brand); color: #fff; font-family: "DM Sans",sans-serif; font-size: 11px; font-weight: 700; cursor: pointer; }
.member-submit:hover,.member-export:hover { border-color: var(--ui-brand-hover); background: var(--ui-brand-hover); }
.archive-results { margin-top: 24px; }
.member-export { min-height: 40px; background: transparent; color: var(--ui-brand); }
.member-export:hover { color: #fff; }
.member-form-tool { grid-template-columns: 300px minmax(0,560px); }
.member-form-grid { gap: 0; }
.member-form-grid label:not(:first-child) { margin-top: 19px; }
.member-form-grid textarea.form-control { min-height: 104px; resize: vertical; }
.member-form-grid select.form-control { appearance: auto; }
.member-form-grid span[style*="color:Red"],.member-field span[style*="color:Red"] { margin-top: 5px; color: var(--ui-negative) !important; font-size: 10px; }
.member-form-grid .member-submit { align-self: flex-start; min-width: 160px; margin-top: 26px; }

@media (max-width: 900px) {
    .member-tool,.member-form-tool { grid-template-columns: 1fr; }
    .member-tool-heading { border-right: 0; border-bottom: 1px solid var(--ui-border); }
}
@media (max-width: 680px) {
    .member-filter-grid { grid-template-columns: 1fr; }
    .member-tool-heading,.member-tool-body { padding: 23px 20px; }
    .member-hero.compact h1 { font-size: 35px; }
    .member-secondary-action { width: 100%; justify-content: center; }
    .member-submit { width: 100%; }
    .panel-actions { width: 100%; flex-wrap: wrap; }
    .panel-actions > a { width: 100%; margin: 0 0 4px; }
}

/* Subscription-gated market preview. */
body .market-preview { width: min(1200px,calc(100% - 48px)) !important; max-width: none; margin: -48px auto 0 !important; position: relative; z-index: 3; border: 1px solid var(--ui-border); background: var(--ui-surface); }
.market-preview-heading { display: grid; grid-template-columns: minmax(0,1fr) 390px; align-items: end; gap: 60px; padding: 30px 34px; border-bottom: 1px solid var(--ui-border); }
.market-preview-heading .section-kicker { color: var(--ui-brand); }
.market-preview-heading h2 { max-width: 650px; margin: 9px 0 0; color: var(--ui-text); font-family: "Fraunces",serif; font-size: 32px; font-weight: 600; line-height: 1.15; letter-spacing: 0; }
.market-preview-heading p { margin: 0; color: var(--ui-muted); font-size: 12px; line-height: 1.65; }
.market-preview-grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; }
.market-preview-row { grid-column: 1; min-height: 105px; display: grid; grid-template-columns: 190px minmax(150px,1fr) 140px 140px; align-items: center; gap: 18px; padding: 20px 28px; border-bottom: 1px solid var(--ui-border); }
.market-preview-row:nth-child(2) { border-bottom: 0; }
.market-status { color: var(--ui-muted); font-size: 9px; font-weight: 600; text-transform: uppercase; }
.market-status i { width: 6px; height: 6px; display: inline-block; margin-right: 7px; border-radius: 50%; background: var(--ui-positive); }
.market-preview-row > strong { color: var(--ui-text); font-size: 15px; }
.market-preview-row > div { display: flex; flex-direction: column; gap: 5px; padding-left: 18px; border-left: 1px solid var(--ui-border); }
.market-preview-row small { color: var(--ui-muted); font-size: 9px; text-transform: uppercase; }
.market-preview-row b { color: var(--ui-text-2); font-size: 11px; font-weight: 600; }
.market-access-panel { grid-column: 2; grid-row: 1 / span 2; padding: 30px; border-left: 1px solid var(--ui-border); background: var(--ui-surface-2); }
.market-access-panel > span { color: var(--ui-brand); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.market-access-panel h3 { margin: 13px 0 10px; color: var(--ui-text); font-family: "Fraunces",serif; font-size: 23px; font-weight: 600; line-height: 1.2; letter-spacing: 0; }
.market-access-panel p { margin: 0 0 20px; color: var(--ui-text-2); font-size: 11px; line-height: 1.65; }
.market-access-panel a { min-height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; border: 1px solid var(--ui-brand); border-radius: 3px; background: var(--ui-brand); color: #fff; font-size: 10px; font-weight: 700; text-decoration: none; }
.market-access-panel .market-plan-link { min-height: auto; justify-content: flex-start; margin-top: 13px; padding: 0; border: 0; background: transparent; color: var(--ui-brand); }

/* The homepage carries a concise founder introduction; the full story lives on About. */
.tribute > .legacy-principle,
.tribute > h3:nth-of-type(n+2),
.tribute > h3:nth-of-type(n+2) + p,
.tribute > .tribute-quote { display: none; }

[data-theme="dark"] .about-section,[data-theme="dark"] .team-section,[data-theme="dark"] .services-section,[data-theme="dark"] .achievements,[data-theme="dark"] .awards-impact,[data-theme="dark"] .contact-page,[data-theme="dark"] .subscription-page { background-color: var(--ui-bg); color: var(--ui-text); }
[data-theme="dark"] .services-section h3,[data-theme="dark"] .achievements h3,[data-theme="dark"] .awards-impact h3,[data-theme="dark"] .tribute h3,[data-theme="dark"] .contact-page h2,[data-theme="dark"] .about-section h2,[data-theme="dark"] .about-section h3 { color: var(--ui-text); }
[data-theme="dark"] .services-section p,[data-theme="dark"] .awards-impact p,[data-theme="dark"] .tribute p,[data-theme="dark"] .about-section p,[data-theme="dark"] .contact-intro { color: var(--ui-text-2) !important; }
[data-theme="dark"] .service-card,[data-theme="dark"] .impact-item,[data-theme="dark"] .plan-card,[data-theme="dark"] .contact-box,[data-theme="dark"] .login-wrapper { border-color: var(--ui-border); background: var(--ui-surface); color: var(--ui-text); }
[data-theme="dark"] .service-card h4,[data-theme="dark"] .plan-card h3,[data-theme="dark"] .login-header h2 { color: var(--ui-text); }
[data-theme="dark"] .profile-cards,[data-theme="dark"] .about-v2,[data-theme="dark"] .contact-page-body { background: var(--ui-bg); }
[data-theme="dark"] .about-v2-story,[data-theme="dark"] .about-v2-values { background: var(--ui-surface); }
[data-theme="dark"] .tribute,[data-theme="dark"] .cta-section { background-color: var(--ui-bg); color: var(--ui-text); }
[data-theme="dark"] .login-page .team-section,[data-theme="dark"] .login-page .auth-shell { background-image: linear-gradient(90deg,var(--ui-bg) 0%,var(--ui-bg) 55%,rgba(0,0,0,.18) 55%,rgba(0,0,0,.18) 100%),url("Images/01.jpg"); }

@media (max-width: 960px) {
    .market-preview-heading { grid-template-columns: 1fr; gap: 16px; }
    .market-preview-grid { grid-template-columns: 1fr; }
    .market-preview-row { grid-template-columns: minmax(120px,1fr) 120px 120px; }
    .market-status { grid-column: 1 / -1; }
    .market-access-panel { grid-column: 1; grid-row: auto; border-top: 1px solid var(--ui-border); border-left: 0; }
}
@media (max-width: 600px) {
    body .market-preview { width: calc(100% - 28px) !important; margin: -28px auto 0 !important; }
    .market-preview-heading { padding: 24px 20px; }
    .market-preview-heading h2 { font-size: 27px; }
    .market-preview-row { grid-template-columns: 1fr 1fr; gap: 15px; padding: 20px; }
    .market-preview-row > strong,.market-status { grid-column: 1 / -1; }
    .market-preview-row > div { padding-left: 0; border-left: 0; }
    .market-access-panel { padding: 25px 20px; }
}

.activation-shell { min-height: 72vh; display: grid; place-items: center; padding: 72px 20px; background: var(--ui-bg); }
.activation-page .subscription-wrapper { width: min(560px,100%); margin: 0; padding: 42px; border: 1px solid var(--ui-border); border-top: 3px solid var(--ui-signal); border-radius: 4px; background: var(--ui-surface); box-shadow: var(--ui-shadow); text-align: left; }
.activation-eyebrow { color: var(--ui-brand); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.activation-page .subscription-wrapper h2 { margin: 13px 0 14px; color: var(--ui-text); font-family: "Fraunces",serif; font-size: 34px; font-weight: 600; letter-spacing: 0; }
.activation-page .status-message { margin: 0 0 26px; color: var(--ui-text-2); font-size: 13px; line-height: 1.7; }
.activation-page .countdown-timer { margin-bottom: 18px; color: var(--ui-text); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.activation-state { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.activation-state span { width: 8px; height: 8px; border: 2px solid var(--ui-brand); border-top-color: transparent; border-radius: 50%; animation: activation-spin .8s linear infinite; }
.activation-state p { margin: 0; color: var(--ui-muted); font-size: 11px; }
.activation-page .progress-container { width: 100%; height: 4px; overflow: hidden; border-radius: 0; background: var(--ui-border); }
.activation-page .progress-bar { height: 100%; width: 0; background: var(--ui-brand); transition: width 1s linear; }
@keyframes activation-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .activation-page .subscription-wrapper { padding: 30px 24px; } }

/* Login media panel: preserve the source photograph's aspect ratio. */
.login-page .team-section,.login-page .auth-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: calc(100dvh - 109px);
    overflow: hidden;
    isolation: isolate;
    background: var(--ui-bg) !important;
}
.login-page .team-section::after,.login-page .auth-shell::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    width: 45%;
    border-left: 1px solid var(--ui-border);
    background-image: linear-gradient(rgba(22,20,18,.22),rgba(22,20,18,.22)),url("Images/01.jpg");
    background-position: 55% center;
    background-size: cover;
    background-repeat: no-repeat;
}
.login-page .team-section::before,.login-page .auth-shell::before {
    content: "Member market access";
    position: absolute;
    z-index: 1;
    right: max(24px,calc((45% - 480px)/2));
    bottom: 28px;
    padding: 8px 10px;
    border-left: 2px solid #f2c75c;
    background: rgba(24,21,18,.78);
    color: rgba(255,255,255,.88);
    font-family: "DM Sans",sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.login-page .login-wrapper { position: relative; z-index: 2; }
[data-theme="dark"] .login-page .team-section::after,[data-theme="dark"] .login-page .auth-shell::after { background-image: linear-gradient(rgba(10,9,8,.42),rgba(10,9,8,.42)),url("Images/01.jpg"); }

@media (max-width: 1180px) {
    .login-page .team-section,.login-page .auth-shell { min-height: calc(100dvh - 98px); }
}
@media (max-width: 900px) {
    .login-page .team-section,.login-page .auth-shell { min-height: calc(100dvh - 65px); }
    .login-page .team-section::after,.login-page .auth-shell::after,.login-page .team-section::before,.login-page .auth-shell::before { display: none; }
}
