@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  color-scheme: light;
  --paper: #f5f3ed;
  --paper-deep: #ebe8df;
  --ink: #1c1d19;
  --muted: #6f716a;
  --line: #d8d7cf;
  --accent: #ef6345;
  --green: #d7ef83;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --page: min(1320px, calc(100% - 96px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.section-wrap { width: var(--page); margin-inline: auto; }

.site-header {
  width: var(--page);
  height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 25px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.09em;
}
.wordmark span { color: var(--accent); }
.site-header nav { display: flex; align-items: center; gap: clamp(22px, 4vw, 54px); font-size: 13px; font-weight: 600; }
.site-header nav a { transition: color .2s ease; }
.site-header nav a:hover, .site-footer a:hover { color: var(--accent); }
.site-header .nav-contact { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border: 1px solid var(--ink); border-radius: 999px; }

.hero {
  min-height: 670px;
  padding-block: 68px 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
  gap: clamp(42px, 7vw, 108px);
  align-items: center;
  position: relative;
}
.hero-copy { padding-block: 18px; animation: rise-in .75s .05s both; }
.eyebrow { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.3; font-weight: 700; letter-spacing: .17em; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; border-radius: 50%; background: #718a42; box-shadow: 0 0 0 4px #e7edd5; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-weight: 500; }
h1 {
  max-width: 740px;
  margin: 27px 0 22px;
  font-size: clamp(56px, 6.1vw, 88px);
  line-height: .99;
  letter-spacing: -.065em;
}
h1 em, h2 em { color: var(--accent); font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; }
.hero-intro { max-width: 500px; margin: 0; color: #4c4e48; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 20px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 600; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #393b34; }
.text-link { padding-block: 8px; border-bottom: 1px solid #b8b8ae; font-size: 13px; font-weight: 600; }
.text-link span, .project-link span { color: var(--accent); }
.hero-note { margin: 42px 0 0; color: #85867f; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.portrait-card { min-width: 0; margin: 0; overflow: hidden; position: relative; border: 1px solid #e1dfd6; border-radius: 10px; background: #fff; box-shadow: 0 14px 34px rgba(28,29,25,.08); animation: rise-in .9s .2s both; }
.reel-post-header { min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 10px 13px; }
.reel-avatar { width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid #dedcd3; border-radius: 50%; object-fit: cover; object-position: 50% 27%; }
.reel-post-header p { display: grid; gap: 1px; margin: 0; color: var(--ink); font-size: 10px; line-height: 1.35; }
.reel-post-header strong { font-size: 11px; font-weight: 700; }
.reel-post-header p span { color: var(--muted); font-size: 9px; }
.reel-more { margin-left: auto; padding-inline: 5px; color: #595a54; font-size: 23px; line-height: 1; letter-spacing: 1px; }
.reel-frame { position: relative; overflow: hidden; background: #d8d7cf; }
.reel-track { width: 100%; display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; background: var(--paper-deep); }
.reel-track::-webkit-scrollbar { display: none; }
.reel-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.reel-slide { flex: 0 0 100%; min-width: 0; aspect-ratio: 4 / 5; margin: 0; position: relative; overflow: hidden; scroll-snap-align: start; background: #d8d7cf; }
.reel-slide > img, .reel-slide > video { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 38%; }
.reel-slide.reel-south-delhi-selfie > img { object-position: 50% 29%; }
.reel-slide.reel-cafe-candid > img { object-position: 52% 35%; }
.reel-slide.reel-landscape { isolation: isolate; background: #2c2a26; }
.reel-slide.reel-landscape::before { content: ""; position: absolute; z-index: -1; inset: -18px; background: center / cover no-repeat; filter: blur(18px) brightness(.58); transform: scale(1.04); }
.reel-slide.reel-cafe-sideways::before { background-image: url("./assets/sohan-cafe-landscape.jpg"); }
.reel-slide.reel-work-photo::before { background-image: url("./assets/sohan-at-work.jpg"); }
.reel-slide.reel-landscape > img { object-fit: contain; object-position: center; padding: 8px; }
.reel-video-slide > video { background: #111; }
.portrait-card .reel-slide figcaption.reel-caption { position: absolute; left: 13px; bottom: 13px; margin: 0; padding: 7px 11px; border: 1px solid rgba(255,255,255,.24); border-radius: 99px; background: rgba(24,25,22,.73); color: #fff; font-size: 9px; font-weight: 600; letter-spacing: .02em; line-height: 1.3; text-transform: none; backdrop-filter: blur(8px); }
.portrait-card .reel-video-slide figcaption.reel-caption { top: 13px; bottom: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.reel-pagination { position: absolute; z-index: 4; inset: auto 0 7px; min-height: 24px; display: flex; justify-content: center; align-items: center; gap: 1px; pointer-events: none; }
.reel-dot { width: 20px; height: 24px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; pointer-events: auto; }
.reel-dot::before { content: ""; width: 5px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.66); box-shadow: 0 1px 4px rgba(0,0,0,.55); transition: width .18s ease, background .18s ease; }
.reel-dot[aria-pressed="true"]::before { width: 12px; background: #fff; }
.reel-dot:focus-visible, .reel-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.reel-footer { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 7px 13px 12px; }
.reel-hint { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.reel-hint span { color: var(--accent); }
.reel-controls { position: absolute; z-index: 3; inset: 50% 12px auto; display: flex; justify-content: space-between; align-items: center; transform: translateY(-50%); pointer-events: none; }
.reel-arrow { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(0,0,0,.08); border-radius: 50%; background: rgba(255,255,255,.94); color: #272822; box-shadow: 0 2px 8px rgba(0,0,0,.18); font-size: 20px; line-height: 1; cursor: pointer; pointer-events: auto; transition: transform .18s ease, opacity .18s ease, background .18s ease; }
.reel-arrow:hover:not(:disabled) { transform: scale(1.06); background: #fff; }
.reel-arrow:disabled { cursor: default; opacity: .42; }
.hero-side-note { position: absolute; bottom: 33px; left: 0; color: #8c8d86; font-size: 9px; letter-spacing: .16em; }
.hero-side-note span { margin-left: 10px; color: var(--accent); font-size: 14px; }

.work { padding-block: 104px 112px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading h2, .about-band h2, .contact h2 { margin: 14px 0 0; font-size: clamp(38px, 4.5vw, 62px); line-height: 1.03; letter-spacing: -.055em; }
.section-aside { max-width: 390px; margin: 0 0 5px; color: var(--muted); font-size: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 25px; }
.filters button { min-height: 38px; display: inline-flex; align-items: center; gap: 13px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: #696b64; cursor: pointer; font-size: 11px; font-weight: 600; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.filters button span { color: #9a9b94; font-size: 9px; }
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: white; }
.filters button[aria-pressed="true"] span { color: #d7d7d0; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 22px; row-gap: 54px; }
.project-card { min-width: 0; animation: rise-in .45s both; }
.project-card[hidden] { display: none; }
.project-image { width: 100%; aspect-ratio: 1.46 / 1; display: block; overflow: hidden; position: relative; padding: 0; border: 1px solid #dfddd4; border-radius: 3px; background: #eeece4; cursor: pointer; }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.project-image { transition: border-color .2s ease, box-shadow .2s ease; }
.project-image:hover { border-color: #b9b6aa; box-shadow: 0 8px 18px rgba(28,29,25,.08); }
.laptop-image { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0; padding: 14px 16px 22px; background: linear-gradient(140deg, #e8e7e0, #d9d9d3); }
.laptop-screen { width: 100%; flex: 0 0 auto; aspect-ratio: 16 / 9; display: block; overflow: hidden; border: 5px solid #282a28; border-bottom-width: 6px; border-radius: 8px 8px 2px 2px; background: #fff; box-shadow: 0 8px 16px rgba(30,31,27,.18); }
.laptop-screen img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.laptop-16x10 .laptop-screen { aspect-ratio: 16 / 10; }
.laptop-16x10 { padding-top: 11px; padding-bottom: 20px; }
.laptop-base { width: 108%; height: 11px; display: block; position: relative; z-index: 1; background: linear-gradient(#c9c9c3, #989a95 50%, #c4c5bf); clip-path: polygon(4% 0, 96% 0, 100% 78%, 86% 100%, 14% 100%, 0 78%); }
.laptop-base::after { content: ""; position: absolute; top: 0; left: 44%; width: 12%; height: 2px; border-radius: 0 0 3px 3px; background: #858781; }
.bong-mobile-image { display: block; background: radial-gradient(ellipse at 70% 48%, #55402c 0%, #261e16 47%, #14120f 100%); }
.bong-mobile-image .bongfoods-cover-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; }
.concept-image { aspect-ratio: 1.65 / 1; background: #e5e3dc; }
.concept-image img { object-fit: contain; }
.topend-concept-image { aspect-ratio: 1606 / 979; }
.bosslady-concept-image { aspect-ratio: 16 / 9; }
.wide-concept-image { aspect-ratio: 2 / 1; }
.wide-concept-image img { object-fit: contain; background: #f1efe9; }
.image-open { position: absolute; right: 12px; bottom: 12px; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: rgba(245,243,237,.94); color: var(--ink); font-size: 17px; opacity: .95; }
.project-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; color: #7d7e77; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.project-card h3 { margin: 7px 0 6px; font-family: var(--serif); font-size: clamp(22px, 2.1vw, 28px); line-height: 1.2; letter-spacing: -.02em; }
.project-card p { min-height: 66px; max-width: 395px; margin: 0; color: #686a63; font-size: 12px; line-height: 1.65; }
.project-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 13px; padding: 0 0 4px; border: 0; border-bottom: 1px solid #c9c7bd; background: transparent; color: var(--ink); cursor: pointer; font-size: 11px; font-weight: 700; }
.project-link:hover { border-color: var(--accent); }
.concept-note { margin: 46px 0 0; color: #81827b; font-size: 10px; }

.about-band { background: var(--paper-deep); }
.about-content { display: grid; grid-template-columns: minmax(150px, .55fr) minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: start; padding-block: 93px 100px; }
.about-content > .eyebrow { padding-top: 12px; }
.about-band h2 { margin: 0; font-size: clamp(38px, 4.2vw, 58px); }
.about-band h2 em { color: #72794d; }
.about-detail { padding-top: 6px; color: #61635b; font-size: 13px; line-height: 1.75; }
.about-detail p:last-child { margin-bottom: 0; }

.contact { display: grid; grid-template-columns: 1fr minmax(260px, .45fr); gap: 40px; align-items: end; padding-block: 95px 100px; }
.contact h2 em { color: #737a4e; }
.contact-right { max-width: 350px; justify-self: end; }
.contact-right p { margin: 0 0 24px; color: #676961; font-size: 14px; }
.button-light { border-color: var(--ink); background: var(--paper); }
.button-light:hover { background: var(--green); }
.site-footer { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.site-footer p, .site-footer > a:last-child { margin: 0; color: #82837c; font-size: 10px; }
.site-footer > a:last-child { border-bottom: 1px solid var(--line); padding-bottom: 3px; }

.lightbox { width: min(94vw, 1240px); max-width: 1240px; max-height: 92vh; padding: 18px; border: 1px solid #3a3b35; background: #1b1c19; color: #fff; }
.lightbox::backdrop { background: rgba(16, 17, 14, .82); backdrop-filter: blur(5px); }
.lightbox-close { position: absolute; top: 10px; right: 13px; width: 38px; height: 38px; border: 1px solid #65665f; border-radius: 50%; background: rgba(28,29,25,.85); color: white; cursor: pointer; font-size: 25px; line-height: 1; }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: calc(92vh - 80px); object-fit: contain; }
.lightbox figcaption { padding: 12px 4px 0; color: #d8d9d2; font-size: 12px; }

@keyframes rise-in { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 920px) {
  :root { --page: min(100% - 52px, 760px); }
  .hero { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 36px; padding-block: 64px 90px; }
  h1 { font-size: clamp(54px, 8vw, 72px); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-content { grid-template-columns: 140px 1fr; gap: 24px 32px; }
  .about-detail { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 620px) {
  :root { --page: calc(100% - 36px); }
  body { font-size: 15px; }
  .site-header { height: 68px; }
  .site-header nav { gap: 17px; font-size: 11px; }
  .site-header .nav-contact { padding: 9px 11px; gap: 7px; }
  .hero { grid-template-columns: 1fr; gap: 33px; padding-block: 52px 65px; }
  h1 { margin-top: 21px; font-size: clamp(51px, 14vw, 74px); }
  .hero-intro { max-width: 470px; font-size: 16px; }
  .hero-actions { gap: 17px; margin-top: 26px; }
  .hero-note { margin-top: 25px; }
  .portrait-card { width: min(100%, 500px); justify-self: center; }
  .reel-slide { aspect-ratio: 4 / 5; }
  .reel-controls { inset-inline: 8px; }
  .reel-arrow { width: 34px; height: 34px; }
  .reel-footer { padding-block: 8px 12px; }
  .reel-hint { line-height: 1.7; }
  .hero-side-note { display: none; }
  .work { padding-block: 68px 75px; }
  .section-heading { display: block; }
  .section-heading h2, .about-band h2, .contact h2 { font-size: 42px; }
  .section-aside { margin-top: 16px; font-size: 13px; }
  .filters { gap: 6px; margin: 28px 0 21px; }
  .filters button { min-height: 35px; gap: 7px; padding: 0 10px; font-size: 10px; }
  .project-grid { grid-template-columns: 1fr; row-gap: 37px; }
  .project-image { aspect-ratio: 1.4 / 1; }
  .bong-mobile-image { aspect-ratio: 4 / 5; }
  .bong-mobile-image .bongfoods-cover-art { object-fit: cover; object-position: right center; }
  .concept-image { aspect-ratio: 1.65 / 1; }
  .topend-concept-image { aspect-ratio: 1606 / 979; }
  .bosslady-concept-image { aspect-ratio: 16 / 9; }
  .wide-concept-image { aspect-ratio: 2 / 1; }
  .laptop-image { padding: 13px 15px 21px; }
  .project-card h3 { font-size: 27px; }
  .project-card p { min-height: auto; font-size: 13px; }
  .project-meta { margin-top: 13px; }
  .concept-note { margin-top: 34px; line-height: 1.6; }
  .about-content { display: block; padding-block: 67px 70px; }
  .about-band h2 { margin-top: 17px; }
  .about-detail { display: block; margin-top: 22px; font-size: 13px; }
  .contact { display: block; padding-block: 70px 72px; }
  .contact-right { max-width: 430px; margin-top: 22px; }
  .site-footer { min-height: 72px; flex-wrap: wrap; row-gap: 9px; padding-block: 16px; }
  .site-footer p { order: 3; width: 100%; }
  .lightbox { width: 96vw; padding: 10px; }
  .lightbox img { max-height: calc(92vh - 70px); }
}

@media (max-width: 420px) {
  .reel-controls { display: none; }
}

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