/* Ravi Daggula — archival light theme */
:root { --bg: #FDFCF8; --ink: #2B2620; --body: #4E463B; --muted: #6E6459; --faint: #99917F; --accent: #7A4B2A; --accent-dark: #5C3820; --line: #E9E2D4; --line2: #DED4C2; --gold: #C9B698; --cream: #FAF7F0; --serif: 'EB Garamond', Georgia, serif; --sans: 'Libre Franklin', Helvetica, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.09'/%3E%3C/svg%3E"); }
[data-texture] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E") !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
input, textarea, button { font-family: var(--sans); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
.site { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; position: relative; z-index: 1; }
.pad { padding-left: 32px; padding-right: 32px; }
.rd-mark { position: fixed; z-index: 0; top: 50%; right: -6vw; transform: translateY(-50%); font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 52vw; line-height: 1; color: rgba(122,75,42,0.045); user-select: none; pointer-events: none; }
/* ornaments */
.orn { display: flex; align-items: center; justify-content: center; gap: 12px; }
.orn .rule { width: 48px; height: 1px; background: var(--gold); }
.orn .rule.long { flex: 0 1 120px; }
.diamond { width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.diamond.dim { width: 5px; height: 5px; background: var(--gold); }
.tick { width: 36px; height: 1px; background: #B79B7A; margin-bottom: 18px; }
.kicker { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.chip { display: inline-block; border: 1px solid #D8CFBD; background: var(--cream); padding: 4px 10px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #7A6E5C; font-weight: 600; }
.minor { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.fig { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--faint); }
.tlink { color: var(--ink); text-decoration: none; }
.tlink:hover { color: var(--accent); text-decoration: none; }
.btn { display: inline-block; background: var(--accent); color: var(--bg); border: none; padding: 15px 44px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; cursor: pointer; border-radius: 2px; }
.btn:hover { background: var(--accent-dark); color: var(--bg); text-decoration: none; }
/* photo helper */
.photo { margin: 0; width: 100%; height: 100%; position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo figcaption { position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: rgba(253,252,248,0.85); text-shadow: 0 1px 3px rgba(43,38,32,0.5); }
.photo-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line2); background: repeating-linear-gradient(45deg, var(--cream), var(--cream) 14px, #F4EFE3 14px, #F4EFE3 28px); }
.photo-empty span { font-family: monospace; font-size: 13px; color: var(--faint); padding: 8px 14px; text-align: center; }
/* header */
.hdr { position: sticky; top: 0; z-index: 50; isolation: isolate; background: rgba(253,252,248,0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.hdr-in { max-width: 1200px; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; color: var(--ink); }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 36px; font-weight: 600; letter-spacing: 0.02em; line-height: 1; }
.brand-sub { margin-top: 9px; font-size: 8.5px; letter-spacing: 0.17em; text-transform: uppercase; color: #7A6E5C; font-weight: 500; }
.nav { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.navlink { color: var(--ink); }
.navlink:hover { color: var(--accent); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1px solid #D8CFBD; border-radius: 2px; padding: 9px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); }
.nav-toggle span + span { margin-top: 5px; }
/* home */
.hero { position: relative; max-width: 1200px; margin: 0 auto; padding-top: 96px; padding-bottom: 64px; }
.hero h1 { margin: 0; font-size: clamp(40px, 6vw, 72px); line-height: 1.08; max-width: 15ch; text-wrap: pretty; }
.hero .kicker { margin: 0 0 20px; }
.lede { margin: 28px 0 0; max-width: 58ch; font-size: 18px; line-height: 1.75; color: var(--body); font-weight: 300; }
.bleed { width: 100%; overflow: hidden; }
.hero-img, .detail-hero { width: 100%; aspect-ratio: 21/9; min-height: 440px; }
.bleed .fig { max-width: 1400px; margin: 14px auto 0; }
.statement { max-width: 900px; margin: 0 auto; padding-top: 110px; padding-bottom: 40px; text-align: center; }
.statement h2 { margin: 0; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.2; text-wrap: pretty; }
.statement .orn { margin: 26px auto; }
.statement p:last-child { margin: 0; font-size: 17px; line-height: 1.75; color: var(--body); font-weight: 300; }
.gallery { max-width: 1320px; margin: 0 auto; padding-top: 90px; padding-bottom: 40px; }
.sec-head { text-align: center; margin-bottom: 72px; }
.sec-head .kicker { margin: 0 0 14px; }
.sec-head h1, .sec-head h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); }
.sec-head .orn { margin-top: 24px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr)); gap: 28px; }
.card { position: relative; aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--line); background: var(--cream); }
.card > .card-img { position: absolute; inset: 0; }
.card-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 96px 26px 22px; background: linear-gradient(to top, rgba(253,252,248,0.97) 38%, rgba(253,252,248,0.82) 62%, rgba(253,252,248,0) 100%); pointer-events: none; }
.card-overlay a { pointer-events: auto; }
.card-overlay p { margin: 0 0 10px; }
.card-overlay h3 { margin: 0 0 6px; font-size: 30px; line-height: 1.15; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.card-dates { margin: 0 !important; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.midquote { text-align: center; padding: 120px 32px; }
.midquote .orn { margin-bottom: 30px; }
.midquote h2 { margin: 0; font-style: italic; font-size: clamp(28px, 4vw, 44px); text-wrap: pretty; }
.midquote .kicker { margin: 18px 0 0; font-size: 15px; letter-spacing: 0.2em; }
.stats-band { border-top: 4px double #D8CFBD; border-bottom: 4px double #D8CFBD; background: var(--cream); }
.stats-in { max-width: 1200px; margin: 0 auto; padding-top: 80px; padding-bottom: 80px; }
.band-head { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 56px; }
.band-head .rule { height: 1px; background: var(--gold); }
.band-head p { margin: 0; font-size: 14px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); font-weight: 600; white-space: nowrap; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 48px 32px; text-align: center; }
.stat-num { margin: 0; font-family: var(--serif); font-size: 50px; font-weight: 500; }
.stat-label { margin: 10px 0 6px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.stat-desc { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); font-weight: 300; }
.services { max-width: 1200px; margin: 0 auto; padding-top: 100px; padding-bottom: 100px; }
.services h2.center { margin: 0 0 64px; text-align: center; font-size: clamp(28px, 3.6vw, 42px); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 56px; }
.svc-grid h3 { margin: 0 0 16px; font-weight: 600; font-size: 23px; line-height: 1.3; }
.svc-grid p { margin: 0; font-size: 16.5px; line-height: 1.75; color: var(--body); font-weight: 300; }
.contact-band { border-top: 1px solid var(--line); background: var(--cream); }
.contact-in { max-width: 640px; margin: 0 auto; padding-top: 96px; padding-bottom: 96px; }
.contact-in h2 { margin: 0 0 12px; text-align: center; font-size: clamp(28px, 3.6vw, 40px); }
.contact-sub { margin: 0 0 44px; text-align: center; font-size: 16px; color: var(--muted); font-weight: 300; }
.cform { display: flex; flex-direction: column; gap: 22px; }
.cform label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--body); font-weight: 500; }
.cform input, .cform textarea { border: 1px solid #D8CFBD; background: var(--bg); padding: 13px 14px; font-size: 16px; color: var(--ink); border-radius: 2px; }
.cform textarea { resize: vertical; }
.cform .btn { align-self: center; margin-top: 10px; }
/* timeline page */
.timeline { max-width: 1320px; margin: 0 auto; padding-top: 90px; padding-bottom: 100px; }
.timeline .sec-head { margin-bottom: 40px; }
.year-nav { position: sticky; top: 86px; z-index: 5; background: rgba(253,252,248,0.95); backdrop-filter: blur(6px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.year-nav-in { display: flex; justify-content: center; gap: 8px 34px; flex-wrap: wrap; padding: 14px 8px; }
.yearlink { font-family: var(--serif); font-size: 20px; color: var(--accent); }
.yearlink:hover { color: var(--accent-dark); text-decoration: underline; }
.tl-spine-wrap { position: relative; }
.tl-spine { position: absolute; left: 0; top: 24px; bottom: 8px; width: 1px; background: var(--line2); }
.tl-spine-end { position: absolute; left: -3.5px; bottom: 0; width: 8px; height: 8px; border: 1px solid var(--accent); background: var(--bg); transform: rotate(45deg); }
.year-sec { position: relative; display: flex; gap: 40px 64px; align-items: flex-start; flex-wrap: wrap; padding: 56px 0 16px 46px; }
.tl-node { position: absolute; left: -5px; top: 92px; width: 11px; height: 11px; background: var(--accent); transform: rotate(45deg); outline: 5px solid var(--bg); }
.tl-tick { position: absolute; left: 5.5px; top: 97px; width: 34px; height: 1px; background: var(--gold); }
.year-side { flex: 1 0 210px; min-width: 190px; position: sticky; top: 168px; }
.year-big { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(72px, 9vw, 124px); line-height: 0.95; color: rgba(122,75,42,0.2); letter-spacing: -0.02em; }
.year-orn { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; }
.year-orn .diamond { width: 6px; height: 6px; }
.year-orn .rule { flex: 0 1 90px; height: 1px; background: var(--gold); }
.year-count { margin: 0; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--faint); }
.year-items { flex: 3 1 560px; min-width: 300px; }
.scrap { margin-bottom: 72px; }
.scrap-mat { background: var(--bg); border: 1px solid #E3DACA; padding: 14px; box-shadow: 0 14px 36px rgba(43,38,32,0.09); }
.scrap-img { width: 100%; aspect-ratio: 16/10; }
.scrap-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; padding: 16px 4px 4px; }
.scrap-caption h3 { margin: 0; font-size: 31px; line-height: 1.15; }
.scrap-caption .fig { margin: 0; font-size: 17px; }
.scrap-body { padding: 22px 6px 0; max-width: 62ch; }
.scrap-body p { margin: 0 0 10px; }
.scrap-desc { margin: 0 0 14px !important; font-size: 16.5px; line-height: 1.65; color: var(--muted); }
/* about */
.about { max-width: 860px; margin: 0 auto; padding-top: 96px; padding-bottom: 120px; }
.about .kicker { margin: 0 0 16px; }
.about h1 { margin: 0 0 24px; font-size: clamp(36px, 5vw, 56px); line-height: 1.12; text-wrap: pretty; }
.about-lede { margin: 0 0 44px; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.5; color: var(--muted); }
.framed { border: 1px solid var(--line2); background: var(--bg); padding: 12px; margin-bottom: 44px; }
.about-img { width: 100%; aspect-ratio: 16/9; }
.about-body { margin: 0 0 40px; font-size: 17.5px; line-height: 1.85; color: var(--body); font-weight: 300; }
.about-cta { display: flex; gap: 24px; align-items: center; }
/* property detail */
.detail-head { max-width: 1100px; margin: 0 auto; padding-top: 56px; }
.detail-head p { margin: 28px 0 0; }
.detail-head h1 { margin: 16px 0; font-size: clamp(40px, 5.5vw, 64px); line-height: 1.1; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: baseline; margin: 0 0 44px; }
.detail-meta p { margin: 0; }
.detail-hero { aspect-ratio: 21/9; min-height: 400px; }
.detail-cols { max-width: 1100px; margin: 0 auto; padding-top: 80px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.detail-history { flex: 2 1 420px; min-width: 300px; }
.detail-history h2, .prop-tl h2, .prop-gal h2 { margin: 0 0 20px; font-size: 32px; }
.detail-desc { margin: 0 0 24px; font-size: 17.5px; line-height: 1.8; color: var(--body); font-weight: 300; }
.detail-history em { display: block; margin: 0 0 24px; font-size: 17.5px; line-height: 1.8; color: var(--faint); font-style: italic; }
.glance { flex: 1 1 280px; min-width: 260px; border: 1px solid var(--line2); background: var(--cream); padding: 32px; }
.glance-head { margin: 0 0 24px; font-size: 14px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.glance dl { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.glance dl > div { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.glance dl > div.last { border-bottom: none; padding-bottom: 0; }
.glance dt { margin: 0 0 4px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #7A6E5C; font-weight: 600; }
.glance dd { margin: 0; font-family: var(--serif); font-size: 20px; }
.prop-tl, .prop-gal { max-width: 1100px; margin: 0 auto; padding-bottom: 56px; }
.prop-tl-list { border-left: 1px solid var(--line2); margin-left: 5px; padding-left: 32px; display: flex; flex-direction: column; gap: 34px; }
.prop-tl-item { position: relative; }
.prop-tl-item::before { content: ""; position: absolute; left: -36px; top: 9px; width: 7px; height: 7px; border: 1px solid var(--accent); background: var(--bg); transform: rotate(45deg); }
.prop-tl-item.major::before { left: -37px; top: 8px; width: 9px; height: 9px; background: var(--accent); outline: 4px solid var(--bg); }
.ptl-year { margin: 0 0 4px; font-family: var(--serif); font-size: 24px; }
.ptl-note { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--faint); font-style: italic; }
.prop-gal .fig { margin: 0 0 24px; }
.gal-wrap { position: relative; }
.gal-strip { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.gal-strip::-webkit-scrollbar { display: none; }
.gal-item { flex: 0 0 min(340px, 78vw); aspect-ratio: 4/3; scroll-snap-align: start; padding: 0; border: none; background: none; cursor: zoom-in; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-item.photo-empty { cursor: default; }
.gal-btn { position: absolute; top: 50%; transform: translateY(-60%); background: var(--bg); border: 1px solid #D8CFBD; border-radius: 50%; width: 46px; height: 46px; font-size: 19px; color: var(--accent); cursor: pointer; box-shadow: 0 4px 14px rgba(43,38,32,0.1); }
.gal-btn:hover { background: var(--cream); }
.gal-prev { left: -18px; } .gal-next { right: -18px; }
.prevnext { max-width: 1100px; margin: 0 auto; padding-top: 24px; padding-bottom: 100px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); }
.prevnext .minor { padding-top: 24px; }
.prevnext .next { margin-left: auto; }
/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(253,252,248,0.97); display: flex; align-items: center; justify-content: center; padding: 48px; animation: lbFade 0.28s ease; }
.lightbox[hidden] { display: none; }
.lb-close { position: absolute; top: 24px; right: 32px; background: none; border: none; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--accent); cursor: pointer; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 1px solid #D8CFBD; border-radius: 50%; width: 52px; height: 52px; font-size: 22px; color: var(--accent); cursor: pointer; }
.lb-prev { left: 24px; } .lb-next { right: 24px; }
.lb-frame { max-width: min(1200px, 88vw); max-height: 82vh; border: 1px solid var(--line2); background: var(--bg); padding: 12px; box-shadow: 0 24px 64px rgba(43,38,32,0.14); animation: lbZoom 0.4s cubic-bezier(0.22,1,0.36,1); }
.lb-frame img { display: block; max-width: 100%; max-height: calc(82vh - 66px); object-fit: contain; }
.lb-caption { margin: 10px 2px 0; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--faint); }
@keyframes lbFade { from { opacity: 0; } }
@keyframes lbZoom { from { opacity: 0; transform: scale(0.94) translateY(12px); } }
/* footer */
.ftr { border-top: 1px solid var(--line); background: var(--bg); position: relative; z-index: 1; }
.ftr > .orn { padding-top: 36px; }
.ftr .diamond { width: 6px; height: 6px; }
.ftr-in { max-width: 1200px; margin: 0 auto; padding-top: 28px; padding-bottom: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ftr-copy { margin: 0; font-family: var(--serif); font-size: 17px; color: var(--body); }
.ftr-links { display: flex; gap: 26px; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.ftr-mail { text-transform: none; letter-spacing: 0.02em; }
/* motion + responsive */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lightbox, .lightbox * { animation: none !important; }
}
@media (max-width: 940px) { .tl-spine, .tl-spine-end, .tl-node, .tl-tick { display: none; } .year-sec { padding-left: 0; } .year-side { position: static; } }
@media (max-width: 700px) {
  .pad { padding-left: 20px !important; padding-right: 20px !important; }
  .brand-name { font-size: 28px; }
  .nav-toggle { display: block; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; width: 100%; gap: 18px; margin-top: 14px; padding: 16px 0 8px; border-top: 1px solid var(--line); }
  .lightbox { padding: 12px; }
  .lb-nav { top: auto; bottom: 14px; transform: none; }
}
