/* Reference-led correction, October 2026. Layout ratios measured from the
   primary desktop images. Responsive reflow is not an archived mobile design.
   DESIGN_VARIANCE 6 / MOTION_INTENSITY 4 / VISUAL_DENSITY 4. */
@font-face {
  font-family: "Caveat";
  src: url('/assets/fonts/caveat-latin.woff2') format('woff2');
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Tiro Devanagari";
  src: url('/assets/fonts/tiro-devanagari-regular.woff2') format('woff2');
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Tiro Devanagari";
  src: url('/assets/fonts/tiro-devanagari-italic.woff2') format('woff2');
  font-style: italic; font-weight: 400; font-display: swap;
}
:root { --heading: "Times New Roman", Times, serif; --body: "Times New Roman", Times, serif; --max: 1672px; }
html:lang(ne) :lang(ne) { --heading: "Tiro Devanagari", serif; --body: "Tiro Devanagari", serif; }
html:lang(ne) { --heading: "Tiro Devanagari", serif; --body: "Tiro Devanagari", serif; }
html:lang(ne) body, html:lang(ne) .intro, html:lang(ne) .section-role,
html:lang(ne) .practice-areas, html:lang(ne) .hero-role,
html:lang(ne) .hero-line, html:lang(ne) .hero-areas { font-family: "Tiro Devanagari", serif; }
body { line-height: 1.45; }
.site-header { height: 84px; }
.hero { grid-template-columns: 34% 35% 25%; gap: 3%; min-height: 0;
  align-items: center; padding-top: 4px; padding-bottom: 72px; }
.hero-copy { padding-top: 0; transform: translateY(30px); }
.hero .photo-frame { padding: 8px; background: var(--frame);
  box-shadow: 0 2px 3px #49351c18, 3px 12px 19px #49351c24, 8px 24px 35px -18px #49351c45; }
.hero .hero-photo { transform: rotate(-1.3deg); }
.hero .support-writing { transform: rotate(1.4deg); }
.hero .support-reflective { transform: rotate(-1deg); }
.hero .paperclip { display: block; z-index: 4; }
.hero .photo-frame::after { content: ''; position: absolute; inset: 8px;
  background: linear-gradient(125deg, #ffffff20, #ffffff08 29%, transparent 45%);
  pointer-events: none; }
.section::before, .site-footer::before { display: none; }
.practice-areas { border-top: 0; }
.paperclip { width: 28px; height: 78px; top: -23px; right: 22px;
  transform: rotate(-9deg); filter: drop-shadow(3px 4px 2px #241d1d70); }
.hero-support .paperclip { width: 23px; height: 65px; top: -19px; }
.meeting .paperclip { right: auto; left: 16%; }
.hero-photo, .hero-support { max-width: none; width: 100%; }
.hero-support { gap: 16px; padding: 0; }
.hero-support .photo-note > img { aspect-ratio: 1.15; }
html:lang(en) .hero h1 { font-family: "Times New Roman", Times, serif;
  font-size: clamp(88px, 8.9vw, 149px); letter-spacing: -.065em; line-height: .88;
  padding-bottom: 12px; font-weight: 400; }
.hero-role { margin-top: 12px; font-size: clamp(22px, 2vw, 33px); line-height: 1.25; }
.hero-divider { margin: 24px auto; width: 44px; }
.hero-line { font-size: clamp(20px, 1.95vw, 32px); line-height: 1.3; margin-bottom: 13px; }
.hero-areas { font-size: clamp(16px, 1.4vw, 23px); letter-spacing: .07em; line-height: 1.45; margin-bottom: 28px; }
.hero-cta { font-size: clamp(17px, 1.5vw, 25px); }
html:lang(ne) .hero h1 { font-family: "Tiro Devanagari", serif; font-style: normal;
  font-size: clamp(76px, 7.35vw, 123px); line-height: 1.12; padding: 8px 0 12px; }
html:lang(ne) .hero-role { font-size: clamp(24px, 2.55vw, 42px); margin-top: 8px; }
html:lang(ne) .hero-role { display: flex; align-items: center; justify-content: center; gap: 20px; }
html:lang(ne) .hero-role::before, html:lang(ne) .hero-role::after { content: ''; width: 17%; border-top: 1px solid var(--line); }
html:lang(ne) .hero-divider { display: none; }
html:lang(ne) .hero-line { margin-top: 26px; }
html:lang(ne) .hero-line { font-size: clamp(20px, 1.8vw, 30px); line-height: 1.4; }
html:lang(ne) .hero-areas { letter-spacing: normal; font-size: clamp(18px, 1.7vw, 28px); }
.section { padding-block: clamp(65px, 5.8vw, 97px); }
.practice { grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: 7.5vw; }
.practice-copy, .writing-copy, .contact-copy { padding-left: clamp(28px, 3.7vw, 62px); }
html:lang(en) .practice .display { font-family: "Times New Roman", Times, serif;
  font-size: clamp(96px, 9vw, 151px); line-height: 1.05; letter-spacing: -.055em; padding-bottom: 4px; }
html:lang(ne) .practice .display { font-family: "Tiro Devanagari", serif; font-style: italic;
  font-size: clamp(82px, 7.5vw, 125px); line-height: 1.16; padding: 8px 0 12px; }
.section-role { margin: 8px 0 28px; font-size: clamp(29px, 2.65vw, 44px); line-height: 1.3; }
.intro { font-size: clamp(22px, 1.95vw, 32px); line-height: 1.4; max-width: 39ch; }
.practice-areas { margin-top: 29px; padding-top: 23px; font-size: clamp(21px, 1.8vw, 30px); line-height: 1.55; }
.practice-photo { max-width: none; width: 100%; }
@media (min-width: 1101px) {
  html:lang(en) .practice .section-role { font-size: clamp(32px, 2.9vw, 48px); }
  html:lang(en) .practice .intro { font-size: clamp(23px, 2.08vw, 35px); }
  html:lang(en) .practice-areas { font-size: clamp(22px, 1.91vw, 32px); }
}
html:lang(ne) .practice-areas { font-size: clamp(20px, 1.8vw, 30px); line-height: 1.6; }
html:lang(ne) .intro { line-height: 1.5; }
.writing { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 7vw; padding-top: 58px; }
html:lang(en) .writing .display { font-family: "Times New Roman", Times, serif;
  font-size: clamp(90px, 7.3vw, 122px); line-height: 1.1; letter-spacing: -.055em; padding-bottom: 2px; }
html:lang(ne) .writing .display { font-family: "Tiro Devanagari", serif; font-style: italic;
  font-size: clamp(82px, 7.7vw, 129px); line-height: 1.18; padding: 8px 0 5px; }
.writing .section-role { margin: 0 0 28px; font-size: clamp(25px, 2.05vw, 34px); }
html:lang(en) .writing .intro, .writing .intro { max-width: none; font-size: clamp(21px, 1.7vw, 28px); line-height: 1.4; }
.book { width: 52%; margin: 30px 0 0 10%; }
.book-cover { display: block; position: relative; isolation: isolate;
  transform: perspective(1000px) rotateY(-7deg) rotateZ(-.5deg); transform-origin: left center;
  border-radius: 2px; box-shadow: -8px 8px 10px #30251038, 10px 18px 22px #30251052, 20px 34px 35px -12px #30251048; }
.book-cover::before { content: ''; position: absolute; z-index: -1; inset: 1px auto 1px -7px; width: 11px;
  background: linear-gradient(90deg, #151e25, #4c5658 36%, #131c23 70%, #68726d); border-radius: 3px 0 0 3px; }
.book-cover::after { content: ''; position: absolute; z-index: -1; inset: 4px -4px 4px auto; width: 5px;
  background: repeating-linear-gradient(0deg, #dad1b9 0 1px, #f0e8d4 1px 3px); border-radius: 0 2px 2px 0; }
.book-cover:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; }
.book picture { position: relative; width: 100%; margin: 0; aspect-ratio: .665; overflow: hidden;
  box-shadow: none; border-radius: 2px; }
.book picture::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #17131570, #ffffff14 2.5%, #17131524 4%, transparent 7%, transparent 94%, #17131524); pointer-events: none; }
.book picture img { width: 120%; max-width: none; margin: -15% -10% 0; }
.book figcaption { margin: 8px 0 0; font-size: 18px; line-height: 1.3; }
.book-author { margin-top: 3px; }
.book-view { display: inline-block; margin-top: 8px; font-size: 15px; color: var(--accent); }
.book-dialog { width: min(94vw, 680px); max-height: 94dvh; padding: 22px; border: 0;
  background: var(--frame); color: var(--ink); box-shadow: 0 25px 70px #1e171960; }
.book-dialog::backdrop { background: #21191ab3; }
.book-dialog img { display: block; width: auto; max-width: 100%; height: min(72dvh, 720px); object-fit: contain; margin: auto; }
.book-dialog > p { text-align: center; font-size: 16px; margin-top: 10px; }
.writing-memories { gap: 22px; padding-top: 0; }
.meeting { width: 89%; }
.letter { width: 86%; }
.meeting .photo-frame { padding: 10px; }
.letter figcaption { align-items: start; font-size: 16px; line-height: 1.4; }
.letter figcaption > span { max-width: 75%; }
.photo-note { text-align: left; }
.photo-note-overlay { inset: auto 0 0; min-height: 0; max-height: 48%;
  justify-content: flex-end; align-items: flex-start; padding: 28px 20px 17px;
  background: linear-gradient(to bottom, transparent, #151319a6 42%, #151319dd);
  opacity: 0; transform: translateY(12px); transition: opacity 320ms ease, transform 420ms cubic-bezier(.2,.7,.2,1); }
.photo-note-text { font-family: "Times New Roman", Times, serif; font-style: italic;
  font-size: clamp(16px, 1.5vw, 23px); line-height: 1.3; max-width: none;
  text-shadow: 0 1px 2px #151319; }
.photo-note-text:lang(ne) { font-family: "Tiro Devanagari", serif; line-height: 1.45; }
html:lang(en) .photo-note-text { font-family: 'Caveat', cursive; font-style: normal;
  font-size: clamp(21px, 1.8vw, 28px); line-height: 1.16; }
html:lang(en) .hero-role, html:lang(en) .section-role, html:lang(en) .hero-line {
  font-family: 'Caveat', cursive; font-style: normal; letter-spacing: 0; }
.photo-note-hint { margin-top: 7px; font-size: 11px; }
.support-reflective .photo-note > img { filter: none; }
/* Each section enters once, in reading order; no scroll hijack. The content
   remains visible without JavaScript or when reduced motion is requested. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending { opacity: 0; translate: 0 18px; }
  .reveal-target { transition: opacity 650ms ease, translate 750ms cubic-bezier(.16,1,.3,1); }
  .reveal-visible { opacity: 1; translate: 0 0; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hero { grid-template-columns: 43% 52%; gap: 5%; padding-bottom: 55px; }
  html:lang(en) .hero h1 { font-size: 9.5vw; }
  html:lang(ne) .hero h1 { font-size: 8vw; }
  .hero-support { display: none; }
  .practice-copy, .writing-copy, .contact-copy { padding-left: 0; }
  .practice { grid-template-columns: 1.3fr 1fr; gap: 5vw; }
  html:lang(en) .practice .display { font-size: 8vw; }
  html:lang(ne) .practice .display { font-size: 6.3vw; }
  html:lang(en) .writing .display { font-size: 7.3vw; }
  html:lang(ne) .writing .display { font-size: 6vw; }
  .intro { font-size: 20px; }
  .practice-areas, html:lang(ne) .practice-areas { font-size: 18px; }
  .writing .intro { font-size: 19px; }
}
@media (max-width: 760px) {
  .site-header { height: 60px; }
  .hero { grid-template-columns: minmax(0,1fr); gap: 23px; padding-top: 12px; padding-bottom: 40px; }
  .hero-copy { grid-row: 2; transform: none; }
  .hero-photo { grid-row: 1; width: min(72%, 285px); max-width: none; justify-self: center; }
  .hero .hero-photo { padding: 6px; background: var(--frame); box-shadow: 0 7px 14px #4f3a2220; transform: rotate(-1deg); }
  .hero-photo .photo-note > img { aspect-ratio: 1.23; object-position: center 20%; }
  .hero .hero-photo .paperclip { display: block; width: 23px; height: 65px; }
  .hero-support { display: none; }
  html:lang(en) .hero h1 { font-size: clamp(64px, 18vw, 86px); line-height: .9; letter-spacing: -.055em; padding-bottom: 8px; }
  html:lang(ne) .hero h1 { font-size: clamp(49px, 14.2vw, 65px); line-height: 1.12; padding: 6px 0; }
  .hero-role, html:lang(ne) .hero-role { font-size: 23px; margin-top: 10px; }
  html:lang(ne) .hero-line { margin-top: 17px; }
  .hero-divider { margin: 15px auto; }
  .hero-line, html:lang(ne) .hero-line { font-size: 18px; line-height: 1.4; margin-bottom: 9px; }
  .hero-areas, html:lang(ne) .hero-areas { font-size: 14px; letter-spacing: .025em; margin-bottom: 18px; }
  .hero-cta, html:lang(ne) .hero-cta { font-size: 16px; }
  .section { padding-block: 40px; }
  .practice, .writing { grid-template-columns: minmax(0,1fr); gap: 25px; }
  .practice-copy, .writing-copy, .contact-copy { padding-left: 0; }
  html:lang(en) .practice .display, html:lang(en) .writing .display { font-size: clamp(50px, 13.5vw, 65px); line-height: 1.1; letter-spacing: -.04em; }
  html:lang(ne) .practice .display, html:lang(ne) .writing .display { font-size: clamp(40px, 10.8vw, 53px); line-height: 1.25; padding: 6px 0; }
  .section-role, html:lang(ne) .section-role, .writing .section-role { font-size: 23px; margin: 5px 0 16px; }
  .intro, html:lang(ne) .intro, .writing .intro { font-size: 18px; line-height: 1.45; }
  .practice-areas, html:lang(ne) .practice-areas { font-size: 16px; line-height: 1.55; margin-top: 20px; padding-top: 15px; }
  .practice-photo { width: min(80%, 290px); justify-self: center; }
  .practice-photo .photo-note > img { height: 245px; object-position: center 38%; }
  .book { width: 225px; max-width: 70%; margin: 18px auto 0; }
  .book figcaption { margin: 8px 0 0; font-size: 17px; text-align: center; }
  .writing-memories { gap: 23px; }
  .meeting, .letter { width: 100%; }
  .meeting .photo-frame { padding: 6px; }
  .photo-note-overlay { max-height: 55%; padding: 23px 14px 12px; }
  .photo-note-text { font-size: 17px; }
  .hero-photo .photo-note-text { font-size: 18px; }
  .letter figcaption { flex-wrap: wrap; font-size: 14px; gap: 8px; }
  .letter figcaption > span { max-width: 100%; }
  .desktop-break { display: none; }
}
