:root {
    --cream: #f7f5ef;
    --ink: #211e19;
    --muted: #625e55;
    --gold: #a78a50;
    --line: #e6e1d7;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 11000; transform: translateY(-160%); padding: 10px 16px; border-radius: 3px; background: #211e19; color: white; }
.skip-link:focus { transform: translateY(0); }
.page-shell { width: min(1320px, calc(100% - 10.5vw)); margin: 0 auto; }

.home-hero {
    margin-top: 66px;
    min-height: calc(100svh - 66px);
    height: calc(100svh - 66px);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: #354138;
}
.home-hero-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15, 23, 24, .69), rgba(15, 23, 24, .2) 75%), linear-gradient(0deg, rgba(18, 24, 21, .26), transparent 55%); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(0,0,0,.25) 30%, #000 46%); mask-image: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(0,0,0,.25) 30%, #000 46%); pointer-events: none; }
.hero-content { width: min(1320px, calc(100% - 17vw)); margin: 8px auto 0; position: relative; z-index: 2; }
.hero-content > * { animation: hero-rise .8s both; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .22s; }
.hero-content > :nth-child(4) { animation-delay: .32s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { margin: 0; text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.hero-eyebrow { display: flex; align-items: center; gap: 18px; color: rgba(255,255,255,.92); margin-bottom: 20px; }
.hero-eyebrow span, .section-eyebrow span { display: inline-block; width: 40px; height: 1px; background: currentColor; opacity: .7; }
.hero-content h1 { margin: 0; font: 400 clamp(3.2rem, 7vw, 6.7rem)/1.04 var(--serif); letter-spacing: -.045em; }
.hero-copy { max-width: 490px; margin: 14px 0 24px; color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.65; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 0 18px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: #fff; background: var(--gold); }
.button-gold:hover { background: #8d713c; }
.hero-scroll { position: absolute; bottom: 20px; left: 50%; z-index: 2; transform: translateX(-50%); color: white; font-size: 12px; text-decoration: none; text-align: center; }
.hero-scroll span { display: block; margin-top: 3px; font-size: 15px; }
.about-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 8.5%; padding-top: 44px; padding-bottom: 42px; }
.section-eyebrow { display: flex; align-items: center; gap: 14px; color: var(--gold); font-size: 12px; }
.about-copy h2, .section-heading-row h2, .initiative-copy h2, .contact-banner h2 { font: 400 clamp(2rem, 3.2vw, 3.15rem)/1.12 var(--serif); letter-spacing: -.025em; }
.about-copy h2 { margin: 10px 0 12px; }
.about-copy > p:not(.eyebrow), .initiative-copy > p:not(.eyebrow) { max-width: 510px; margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 5px; color: #71603c; font-size: 13px; font-weight: 700; text-decoration: none; }
.text-link:hover { color: #342b1a; }
.about-image { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; height: 300px; overflow: hidden; }
.about-image img { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: filter .3s; }
.about-image img:first-child { grid-row: span 2; }
.about-image:hover img { filter: brightness(.9); }

.business-section { padding-top: 26px; padding-bottom: 42px; border-top: 1px solid var(--line); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-heading-row h2 { margin: 3px 0 0; font-size: clamp(1.85rem, 3vw, 2.8rem); }
.desktop-link { margin: 0 0 6px; }
.business-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.business-card { min-width: 0; overflow: hidden; border: 1px solid #e8e3da; border-radius: 5px; background: #fbfaf6; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.business-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(48, 41, 28, .15); }
.business-card > img, .business-card-banner { width: 100%; height: clamp(170px, 20vw, 270px); }
.business-card > img { object-fit: cover; transition: transform .45s; }
.business-card:hover > img { transform: scale(1.035); }
.business-card-banner { position: relative; display: block; overflow: hidden; background: #e9dfcf; }
.business-card-banner::before, .gallery-card[data-category="foods"]::before { content: ""; position: absolute; inset: -20px; background: url("uploads/ashya-foods-banner-new.jpeg") center / cover no-repeat; filter: blur(15px) brightness(.8); }
.business-card-banner img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.business-card-body { display: block; padding: 14px 16px 18px; }
.business-card-heading { display: flex; align-items: center; gap: 10px; }
.business-card-heading strong { font: 500 19px/1.2 var(--serif); }
.company-minerals { color: #845f30; }
.company-projects { color: #496a80; }
.company-hospitality { color: #8e514b; }
.company-foods { color: #5e7137; }
.company-foundation { color: #75537e; }
.company-yoga { color: #3d716d; }
.business-card-body small { display: block; margin-top: 5px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.business-card-description { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.circle-arrow { display: grid; place-items: center; width: 20px; height: 20px; margin-left: auto; border: 1px solid #c9c0ad; border-radius: 50%; color: #786741; font-size: 11px; }
.mobile-link { display: none; }

.journey-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8%; align-items: start; padding-top: 38px; padding-bottom: 48px; border-top: 1px solid var(--line); }
.journey-copy h2, .impact-copy h2 { margin: 9px 0 12px; font: 400 clamp(2rem, 3.2vw, 3rem)/1.12 var(--serif); letter-spacing: -.025em; }
.journey-copy > p:not(.eyebrow), .impact-copy > p:not(.eyebrow) { max-width: 460px; margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.milestone-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #b5a483; border-left: 1px solid #b5a483; }
.milestone { display: flex; gap: 14px; min-height: 92px; padding: 16px; border-right: 1px solid #b5a483; border-bottom: 1px solid #b5a483; }
.milestone > span { color: var(--gold); font: 600 23px/1.2 var(--serif); }
.milestone h3 { margin: 0 0 4px; font: 600 20px/1.2 var(--serif); }
.milestone p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.impact-section { padding: 42px 0; background: #efede6; }
.impact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: center; }
.impact-image { height: 280px; overflow: hidden; }
.impact-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.impact-copy ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.impact-copy li { padding-top: 10px; border-top: 1px solid #c9c2b5; color: #65573a; font-size: 13px; line-height: 1.4; }

.initiative-section { padding: 48px 0; background: #eeece4; }
.initiative-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 7%; align-items: center; }
.initiative-image { position: relative; min-height: 420px; }
.initiative-image img { width: 100%; height: 420px; object-fit: cover; }
.image-label { position: absolute; left: 14px; bottom: 14px; padding: 8px 10px; background: rgba(31,28,21,.72); color: #fff; font-size: 12px; }
.initiative-copy h2 { margin: 9px 0 12px; }
.button-outline { margin-top: 8px; border: 1px solid #9a814a; color: #64512a; }
.button-outline:hover { background: #9a814a; color: white; }
.ashya-circle { margin-top: 26px; padding-top: 18px; border-top: 1px solid #d5d0c5; }
.ashya-circle h3 { margin: 0 0 13px; font: 500 18px var(--serif); }
.circle-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.circle-steps div { display: grid; gap: 3px; }
.circle-steps span { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.circle-steps strong { font: 500 15px var(--serif); }
.circle-steps small { color: var(--muted); font-size: 12px; line-height: 1.45; }

.gallery-section { padding-top: 32px; padding-bottom: 34px; }
.gallery-heading { margin-bottom: 16px; }
.gallery-heading h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.gallery-filter { padding: 7px 12px; border: 1px solid transparent; border-radius: 30px; background: transparent; color: #5a554c; font: 500 12px var(--sans); cursor: pointer; }
.gallery-filter:hover, .gallery-filter.is-active { border-color: #b19a65; background: #b19a65; color: white; }
.gallery-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.gallery-card { position: relative; height: 112px; overflow: hidden; padding: 0; border: 0; background: #ddd7ca; cursor: zoom-in; text-align: left; }
.gallery-card::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(20,19,16,.68)); opacity: .8; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-card:hover img, .gallery-card:focus-visible img { transform: scale(1.06); }
.gallery-card[data-category="foods"] img { position: relative; object-fit: contain; }
.gallery-card[data-category="foods"]:hover img, .gallery-card[data-category="foods"]:focus-visible img { transform: none; }
.gallery-card > span { position: absolute; z-index: 1; left: 10px; bottom: 8px; color: white; font-size: 12px; font-weight: 600; }
.gallery-card[hidden] { display: none; }
.gallery-lightbox { width: min(960px, calc(100% - 32px)); max-width: none; max-height: min(90vh, 900px); padding: 0; overflow: visible; border: 0; background: transparent; }
.gallery-lightbox::backdrop { background: rgba(15, 17, 15, .84); backdrop-filter: blur(3px); }
.lightbox-panel { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; gap: 12px; padding: 24px; background: #f7f5ef; }
.lightbox-panel figure { margin: 0; text-align: center; }
.lightbox-panel figure img { max-width: 100%; max-height: 78vh; margin: auto; object-fit: contain; }
.lightbox-panel figcaption { padding-top: 10px; color: var(--ink); font: 500 17px var(--serif); }
.lightbox-close, .lightbox-nav { border: 1px solid #cfc8ba; border-radius: 50%; background: #fbfaf6; color: #383329; cursor: pointer; }
.lightbox-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; font-size: 22px; }
.lightbox-nav { width: 42px; height: 42px; font-size: 27px; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold); color: white; }

.contact-banner { min-height: 150px; background: #e8e3d8 url("uploads/ashya_foundation.png") center 62% / cover no-repeat; position: relative; }
.contact-banner::before { content: ""; position: absolute; inset: 0; background: rgba(247,245,239,.8); }
.contact-banner-inner { min-height: 150px; position: relative; display: grid; grid-template-columns: 1.1fr .8fr auto; align-items: center; gap: 34px; padding-top: 18px; padding-bottom: 18px; }
.contact-banner h2 { margin: 6px 0 0; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.contact-banner-copy { max-width: 290px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.home-footer { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px 8%; padding: 24px 5.25% 14px; background: #faf9f5; }
.footer-brand { display: flex; align-items: center; gap: 16px; align-self: start; text-decoration: none; }
.footer-brand img { width: 156px; height: 88px; object-fit: contain; object-position: left center; filter: brightness(0); }
.footer-brand span { padding-left: 15px; border-left: 1px solid #cfc8ba; font: italic 15px var(--serif); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.footer-links strong { margin-bottom: 3px; font-size: 12px; }
.footer-links a { color: #575249; font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: block !important; }
.footer-social > strong { display: block; margin-bottom: 8px; }
.footer-social a { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; margin: 0 10px 0 0; font-size: 16px; transition: transform .2s, filter .2s; }
.footer-social a[aria-label="LinkedIn"] { color: #0a66c2; }
.footer-social a[aria-label="LinkedIn"]:hover { transform: scale(1.15); filter: drop-shadow(0 2px 3px rgba(10, 102, 194, .25)); }
.footer-social a[aria-label="LinkedIn"]:focus-visible { outline: 2px solid #0a66c2; outline-offset: 3px; border-radius: 2px; }
.footer-social a[aria-label="Instagram"] { background: linear-gradient(45deg, #feda75, #fa7e1e 28%, #d62976 58%, #962fbf 78%, #4f5bd5); background-clip: text; -webkit-background-clip: text; color: transparent; transition: transform .2s, filter .2s; }
.footer-social a[aria-label="Instagram"]:hover { transform: scale(1.18); filter: drop-shadow(0 2px 3px rgba(214, 41, 118, .25)); }
.footer-social a[aria-label="Instagram"]:focus-visible { outline: 2px solid #d62976; outline-offset: 4px; border-radius: 2px; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 10px; border-top: 1px solid var(--line); color: #777168; font-size: 12px; }

@media (max-width: 900px) {
    .page-shell { width: min(100% - 48px, 720px); }
    .hero-content { width: min(100% - 64px, 720px); }
    .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .business-card > img, .business-card-banner { height: 200px; }
    .journey-section { grid-template-columns: 1fr; gap: 24px; }
    .initiative-inner { gap: 5%; }
    .initiative-image, .initiative-image img { min-height: 360px; height: 360px; }
    .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gallery-card { height: 135px; }
    .contact-banner-inner { grid-template-columns: 1fr auto; gap: 8px 24px; }
    .contact-banner-copy { grid-column: 1; margin: 0; }
    .contact-banner .button { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 600px) {
    .page-shell { width: calc(100% - 36px); }
    .home-hero { min-height: 540px; height: calc(100svh - 62px); background-position: 57% center; }
    .home-hero::before { background: linear-gradient(90deg, rgba(15,23,24,.68), rgba(15,23,24,.12)), linear-gradient(0deg, rgba(18,24,21,.3), transparent 60%); }
    .hero-content { width: calc(100% - 44px); margin-top: 0; }
    .hero-content h1 { font-size: clamp(3.1rem, 14vw, 4.7rem); }
    .hero-copy { max-width: 330px; font-size: 15px; }
    .desktop-break { display: none; }
    .about-section { grid-template-columns: 1fr; gap: 20px; padding-top: 34px; padding-bottom: 32px; }
    .about-copy h2 { font-size: 2.25rem; }
    .about-image { height: 225px; }
    .business-section { padding-top: 22px; padding-bottom: 26px; }
    .section-heading-row { align-items: flex-start; }
    .section-heading-row h2 { font-size: 1.8rem; }
    .desktop-link { display: none; }
    .business-grid { grid-template-columns: 1fr; gap: 12px; }
    .business-card > img, .business-card-banner { height: 205px; }
    .business-card-body { padding: 12px 14px 16px; }
    .mobile-link { display: inline-flex; margin-top: 14px; }
    .initiative-section { padding: 30px 0; }
    .initiative-inner { grid-template-columns: 1fr; gap: 22px; }
    .initiative-image, .initiative-image img { min-height: 250px; height: 250px; }
    .initiative-copy h2 { font-size: 2.2rem; }
    .circle-steps { gap: 8px; }
    .circle-steps small { font-size: 12px; }
    .milestone-list { grid-template-columns: 1fr; }
    .milestone { min-height: 78px; padding: 12px; }
    .impact-section { padding: 30px 0; }
    .impact-inner { grid-template-columns: 1fr; gap: 22px; }
    .impact-image { height: 230px; }
    .impact-copy ul { gap: 8px; }
    .impact-copy li { font-size: 12px; }
    .gallery-section { padding-top: 26px; padding-bottom: 26px; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .gallery-card { height: 115px; }
    .gallery-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
    .gallery-filter { flex: 0 0 auto; }
    .lightbox-panel { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 5px; padding: 38px 8px 12px; }
    .lightbox-nav { width: 32px; height: 32px; font-size: 21px; }
    .contact-banner-inner { grid-template-columns: 1fr; gap: 8px; padding-top: 22px; padding-bottom: 22px; }
    .contact-banner h2 { font-size: 2rem; }
    .contact-banner .button { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 5px; }
    .home-footer { grid-template-columns: 1fr; padding: 22px 18px 14px; gap: 20px; }
    .footer-links { gap: 10px; }
    .footer-brand img { width: 130px; height: 73px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
