﻿/* DSR Photography public theme: responsive, image-led, lightweight and accessible. */
:root {
  --dsr-ink: #171a16;
  --dsr-ink-soft: #222720;
  --dsr-ivory: #f4f0e6;
  --dsr-paper: #fbfaf6;
  --dsr-gold: #c5a46a;
  --dsr-gold-light: #dfc58e;
  --dsr-muted: #a8aaa1;
  --dsr-serif: Georgia, "Times New Roman", serif;
  --dsr-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.dsr-home { color: var(--dsr-ink); background: var(--dsr-paper); font-family: var(--dsr-sans); overflow: clip; }
.dsr-home * { box-sizing: border-box; }
.dsr-home a { -webkit-tap-highlight-color: transparent; }
.dsr-hero { min-height: clamp(540px, 76svh, 790px); position: relative; display: flex; align-items: center; isolation: isolate; color: var(--dsr-ivory); background: #18241d url('/images/dsr-hero.jpg') center 42%/cover no-repeat; }
.dsr-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,17,12,.88) 0%, rgba(10,17,12,.65) 43%, rgba(10,17,12,.12) 100%), linear-gradient(0deg, rgba(9,14,10,.45), transparent 45%); }
.dsr-hero-content { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 90px 0 100px; }
.dsr-eyebrow { margin: 0 0 18px; color: var(--dsr-gold-light); font-size: .72rem; font-weight: 700; letter-spacing: .22em; line-height: 1.7; }
.dsr-hero h1, .dsr-intro h2, .dsr-section-heading h2, .dsr-callout h2 { margin: 0; font-family: var(--dsr-serif); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.dsr-hero h1 { max-width: 850px; font-size: clamp(3.15rem, 7.8vw, 7rem); }
.dsr-hero h1 em, .dsr-intro h2 em, .dsr-section-heading h2 em, .dsr-callout h2 em { color: var(--dsr-gold-light); font-weight: 400; }
.dsr-hero-copy { max-width: 520px; margin: 26px 0 30px; color: rgba(250,247,238,.84); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.8; }
.dsr-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 26px; }
.dsr-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 13px 19px; border: 1px solid transparent; text-decoration: none; font-size: .86rem; font-weight: 700; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.dsr-button:hover { transform: translateY(-2px); }
.dsr-button-gold { background: var(--dsr-gold); color: #171a16; }
.dsr-button-gold:hover { background: var(--dsr-gold-light); }
.dsr-button-outline { border-color: rgba(23,26,22,.28); color: var(--dsr-ink); background: transparent; }
.dsr-text-link { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding: 0 0 7px; font-size: .88rem; font-weight: 650; }
.dsr-hero-caption { position: absolute; right: max(24px, calc((100% - 1180px)/2)); bottom: 28px; color: rgba(255,255,255,.7); font-size: .65rem; letter-spacing: .2em; }
.dsr-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.dsr-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 7vw, 110px); align-items: end; padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(52px, 7vw, 86px); }
.dsr-eyebrow-dark { color: #897044; }
.dsr-intro h2, .dsr-section-heading h2 { font-size: clamp(2.65rem, 5.5vw, 4.7rem); }
.dsr-intro h2 em, .dsr-section-heading h2 em { color: #9d804b; }
.dsr-intro-text { max-width: 490px; margin: 0; color: #656960; font-size: 1.03rem; line-height: 1.9; }
.dsr-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--dsr-ink); color: var(--dsr-ivory); padding: 30px max(24px, calc((100% - 1180px)/2)); }
.dsr-stat { display: flex; flex-direction: column; align-items: center; padding: 12px; gap: 7px; border-right: 1px solid rgba(255,255,255,.15); }
.dsr-stat:last-child { border-right: 0; }
.dsr-stat strong { color: var(--dsr-gold-light); font-family: var(--dsr-serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3.2rem); }
.dsr-stat span { color: #d0d0c7; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.dsr-gallery-section { padding-top: clamp(72px, 9vw, 112px); padding-bottom: clamp(76px, 10vw, 128px); }
.dsr-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.dsr-section-heading .dsr-text-link { color: #4c5148; margin-bottom: 7px; }
.dsr-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.dsr-photo-card { display: block; min-width: 0; color: inherit; text-decoration: none; }
.dsr-photo-image { position: relative; aspect-ratio: 4/4.6; overflow: hidden; background: #d9d9cf; }
.dsr-photo-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.dsr-photo-card:hover .dsr-photo-image img { transform: scale(1.035); }
.dsr-photo-arrow { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(20,25,20,.83); color: white; font-size: 1.1rem; }
.dsr-photo-meta { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 17px 1px 0; }
.dsr-photo-meta h3 { margin: 0; font: 400 clamp(1.2rem, 1.7vw, 1.5rem)/1.2 var(--dsr-serif); }
.dsr-scientific { margin: 6px 0 0; color: #74796e; font: italic .88rem/1.4 var(--dsr-serif); }
.dsr-hindi { margin: 5px 0 0; color: #62665d; font-size: .83rem; }
.dsr-photo-category { color: #8a7145; font-size: .6rem; font-weight: 750; letter-spacing: .12em; text-align: right; text-transform: uppercase; }
.dsr-photo-placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(145deg,#303b2f,#141a15); color: var(--dsr-gold-light); font: 2.5rem var(--dsr-serif); }
.dsr-loading, .dsr-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 240px; gap: 14px; color: #6b7067; text-align: center; }
.dsr-empty { padding: 44px 24px; background: #f0eee6; }
.dsr-empty-mark { color: #9d804b; font: 2.2rem var(--dsr-serif); letter-spacing: .18em; }
.dsr-empty h3 { margin: 0; font: 400 1.7rem var(--dsr-serif); }
.dsr-empty p { margin: 0 0 10px; }
.dsr-spinner { width: 24px; height: 24px; border: 2px solid #ddd5c3; border-top-color: #9d804b; border-radius: 50%; animation: dsr-spin .8s linear infinite; }
@keyframes dsr-spin { to { transform: rotate(360deg); } }
.dsr-callout { color: var(--dsr-ivory); background: linear-gradient(90deg,rgba(13,20,15,.96),rgba(13,20,15,.78)), #17231a; }
.dsr-callout-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: clamp(66px, 9vw, 112px) 0; }
.dsr-callout h2 { font-size: clamp(3.1rem, 7vw, 6rem); }
.dsr-callout-inner > p:not(.dsr-eyebrow) { max-width: 490px; color: #c8cbc2; line-height: 1.8; margin: 24px 0 28px; }
@media (max-width: 900px) {
  .dsr-hero { min-height: 650px; background-position: 58% center; }
  .dsr-hero-shade { background: linear-gradient(90deg,rgba(10,17,12,.86),rgba(10,17,12,.48) 75%,rgba(10,17,12,.25)); }
  .dsr-intro { grid-template-columns: 1fr; gap: 24px; }
  .dsr-intro-text { max-width: 680px; }
  .dsr-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
}
@media (max-width: 560px) {
  .dsr-hero { min-height: min(760px, 88svh); min-height: max(560px, 88svh); background-position: 61% center; }
  .dsr-hero-content, .dsr-section, .dsr-callout-inner { width: calc(100% - 36px); }
  .dsr-hero-content { padding: 70px 0 90px; }
  .dsr-eyebrow { font-size: .63rem; letter-spacing: .16em; }
  .dsr-hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .dsr-hero-copy { font-size: .97rem; line-height: 1.7; }
  .dsr-hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .dsr-hero-caption { right: 18px; bottom: 18px; font-size: .56rem; }
  .dsr-stats { padding: 22px 10px; }
  .dsr-stat { padding: 10px 3px; }
  .dsr-stat strong { font-size: 1.85rem; }
  .dsr-stat span { font-size: .57rem; letter-spacing: .08em; }
  .dsr-section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 25px; }
  .dsr-section-heading h2, .dsr-intro h2 { font-size: clamp(2.6rem, 12vw, 3.5rem); }
  .dsr-gallery-grid { grid-template-columns: 1fr; gap: 30px; }
  .dsr-photo-image { aspect-ratio: 4/3.8; }
  .dsr-photo-meta h3 { font-size: 1.45rem; }
  .dsr-callout h2 { font-size: 3.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dsr-home *, .dsr-home *::before, .dsr-home *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* DSR HERO MOBILE OVERRIDES */
.dsr-hero { width:100%; min-height:clamp(600px, 78svh, 850px); }
.dsr-hero-shade { background:linear-gradient(90deg,rgba(7,14,9,.82) 0%,rgba(7,14,9,.58) 48%,rgba(7,14,9,.18) 100%),linear-gradient(0deg,rgba(7,14,9,.45),transparent 55%); }
@media(max-width:680px) {
  .dsr-hero { min-height:calc(100svh - 76px); background-position:60% center; }
  .dsr-hero-shade { background:linear-gradient(90deg,rgba(7,14,9,.76),rgba(7,14,9,.42)),linear-gradient(0deg,rgba(7,14,9,.38),transparent 60%); }
  .dsr-hero-content { width:calc(100% - 36px); padding:76px 0 92px; }
  .dsr-hero h1 { font-size:clamp(2.8rem, 12vw, 4.3rem); }
  .dsr-hero-copy { max-width:35rem; }
  .dsr-hero-actions { align-items:flex-start; flex-direction:column; gap:20px; }
  .dsr-hero-caption { right:18px; bottom:18px; }
}
