/* Riya Kumari — portfolio styles.
   Measurements match the original Framer site at its three breakpoints:
   desktop ≥1200px, tablet 810–1199px, phone ≤809px. */

@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/inter-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/inter-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-weight: 900; font-display: swap; src: url(/fonts/inter-900-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-weight: 900; font-display: swap; src: url(/fonts/inter-900-latin-ext.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: rgb(38, 35, 30);       /* header bar, big headings */
  --text: rgb(51, 51, 51);      /* body copy */
  --link: rgb(0, 153, 255);     /* links inside project write-ups */
  --accent: rgb(255, 0, 68);    /* icon, avatar circle */
  --nav-text: rgb(237, 237, 237);
  --subnav-bg: rgb(237, 237, 237);
  --footer-bg: rgb(247, 247, 247);

  /* desktop */
  --nav-size: 22px;
  --display-size: 74px;         /* page titles */
  --h4-size: 32px;
}
@media (max-width: 1199px) {
  :root { --nav-size: 14px; --display-size: 44px; --h4-size: 26px; }
}
@media (max-width: 809px) {
  :root { --nav-size: 9px; --display-size: 26px; --h4-size: 20px; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 16px/32px Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { display: block; }
a { color: #000; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6, p, ol { margin: 0; }

/* ---------------------------------------------------------------- header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-evenly;   /* equal gaps across the full width, as on Framer */
  height: 94px;
  background: var(--ink);
}
.site-header .logo img { width: 244px; height: 95px; object-fit: cover; }
.site-header nav a {
  color: var(--nav-text);
  font-size: var(--nav-size);
  line-height: 1.2;
}
.site-header nav a[aria-current] { text-decoration: underline; }
.site-header nav { display: contents; }

/* ------------------------------------------------------------- sub-nav */

.subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 24px;
  min-height: 80px;
  padding: 24px 20px;
  background: var(--subnav-bg);
}
.subnav a[aria-current] { text-decoration: underline; }
@media (max-width: 809px) { .subnav { gap: 0 16px; padding: 10px 20px; } }

/* -------------------------------------------------------------- footer */

.site-footer {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 91px 40px 118px;
  background: var(--footer-bg);
}
.site-footer .col { display: flex; flex-direction: column; }
.site-footer .col:nth-child(1) { width: 189px; gap: 20px; }
.site-footer .col:nth-child(1) p { width: 176px; text-align: center; white-space: nowrap; }
.site-footer .col:nth-child(2) { width: 300px; }
.site-footer .col:nth-child(3) { width: 111px; gap: 10px; }
@media (max-width: 1199px) {
  /* 80% wide row split into three equal columns. */
  .site-footer { padding: 66px 10% 31px; }
  .site-footer .col:nth-child(n) { flex: 1 1 0; width: auto; min-width: 0; }
}
@media (max-width: 809px) {
  .site-footer { flex-direction: column; align-items: center; padding: 135px 40px 188px; }
  .site-footer .col:nth-child(n) { width: 200px; }
  .site-footer .col:nth-child(1) { padding-bottom: 39px; }
}

/* ---------------------------------------------------------- typography */

.display {
  color: var(--ink);
  font-size: var(--display-size);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}
.h4 { font-size: var(--h4-size); font-weight: 700; line-height: 1.4; text-align: center; }

/* Rich text: project write-ups and the About timeline. Text blocks are
   spaced like Framer's presets; images/videos sit flush. */
.rich { text-align: center; }
.rich > * + :is(p, .blank), .rich li > * + p { margin-top: 20px; }
.rich > * + :is(h4, h5, h6) { margin-top: 40px; }
.rich h4 { font-size: var(--h4-size); font-weight: 700; line-height: 1.4; }
.rich h5 { font-size: 18px; font-weight: 700; line-height: 1.4; }
.rich h6 { font-size: 24px; font-weight: 700; line-height: 1.4; }
/* Framer's lists: a full-width table, number in its own cell, text centred. */
.rich ol { display: table; width: 100%; padding: 0; list-style: none; }
.rich li { display: table-row; counter-increment: list-item; }
.rich li::before { display: table-cell; width: 2.25ch; padding-inline-end: .75ch; content: counter(list-item) "."; white-space: nowrap; }
.rich .blank { height: 32px; }
.rich img, .rich video { max-width: 100%; height: auto; }
.rich .embed { width: 100%; aspect-ratio: 16 / 9; }
.rich .embed iframe { width: 100%; height: 100%; border: 0; }
.rich a { color: var(--link); }

/* ---------------------------------------------------------------- home */

.hero { position: relative; height: 669px; overflow: hidden; }
.hero video { width: 100%; aspect-ratio: 16 / 9; min-height: 100%; object-fit: cover; }
.hero h1 {
  position: absolute;
  top: 326px;
  left: 50%;
  width: min(960px, 100% - 40px);
  transform: translateX(-50%);
}
.gallery { padding: 100px 0 0; }
.gallery .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 900px;
  margin: 112px auto 0;
}
.gallery .grid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.cta { display: block; width: max-content; margin: 112px auto 159px; }
@media (max-width: 1199px) {
  .hero { height: 452px; }
  .hero h1 { top: 220px; width: 80%; }
  .gallery { padding-top: 80px; }
  .gallery .grid { width: min(900px, 100% - 180px); }
  .cta { margin: 116px auto 141px; }
}
@media (max-width: 809px) {
  .hero { height: 214px; }
  .hero h1 { top: 104px; width: 80%; }
  .gallery { padding-top: 60px; }
  .gallery .grid { width: calc(100% - 140px); }
  .cta { margin: 109px auto 132px; }
}

/* ---------------------------------------------------------------- work */

.work-title { padding-top: 100px; height: 220px; }
.work-icon { display: flex; justify-content: center; align-items: center; height: 300px; color: var(--accent); }
.work-icon svg { width: 100px; height: 100px; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 60px;
  width: 1000px;
  margin: 0 auto;
  padding-bottom: 100px;
}
.work-card { display: flex; flex-direction: column; color: var(--text); text-align: center; }
.work-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.work-card h2 { margin-top: 30px; color: var(--text); }
.work-card p { margin-top: 10px; }
.work-card:hover { text-decoration: none; }
.brands { padding: 100px 0; }
.brands img { width: 916px; max-width: calc(100% - 40px); height: auto; margin: 60px auto 0; }
@media (max-width: 1199px) {
  .work-grid { width: auto; padding: 0 40px 80px; }
  .brands { padding-bottom: 80px; }
}
@media (max-width: 809px) {
  .work-title { padding-top: 20px; height: auto; }
  .work-icon { height: 391px; }
  .work-grid { grid-template-columns: 1fr; padding: 0 20px 20px; }
  .brands { padding: 60px 0; }
}

/* ----------------------------------------------------------- categories */

/* Wrapping flex (not grid) so an odd last card is centred, as on Framer. */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 141px 20px;
  max-width: 940px;
  margin: 0 auto;
  padding: 219px 20px 138px;
}
.card { display: block; width: 440px; max-width: 100%; color: var(--text); }
.card h2 { font-size: 18px; font-weight: 700; line-height: 1.4; }
.card img { width: 440px; max-width: 100%; height: auto; aspect-ratio: 440 / 253; object-fit: cover; margin-top: 41px; }
.card:hover { text-decoration: none; }
@media (max-width: 1199px) { .cards { max-width: 480px; } }
@media (max-width: 809px) { .card h2 { text-align: center; } }

/* -------------------------------------------------------------- project */

.project { padding: 211px 0 106px; }
.project .display { width: min(920px, 100% - 40px); margin: 0 auto; }
/* Framer's write-up column is 80% of the window minus 40px at every size. */
.project .rich { width: calc(80% - 40px); margin: 40px auto 0; }
.back { margin-top: 40px; font-size: 18px; font-weight: 700; line-height: 1.4; text-align: center; }

/* ---------------------------------------------------------------- about */

/* The intro is a fixed-height block on Framer, so the photo sits at the same
   spot (y=1046) at every width. */
.about { padding-bottom: 196px; }
.about .intro { min-height: 902px; padding-top: 73px; }
.about .display, .about .tagline { width: min(875px, 80%); margin-left: auto; margin-right: auto; }
.about .tagline { margin-top: 40px; font-size: 18px; font-weight: 700; line-height: 1.4; text-align: center; }
.avatar {
  position: relative;
  width: 113px;
  height: 113px;
  margin: 24px auto 0;
}
.avatar::before {
  content: '';
  position: absolute;
  inset: 6px 7px 7px 6px;
  border-radius: 50%;
  background: var(--accent);
}
.avatar img { position: relative; width: 113px; height: 113px; border-radius: 60px; object-fit: cover; }
.about .bio { width: min(660px, 100% - 40px); margin: 23px auto 0; text-align: center; }
.about .photo { width: 1200px; max-width: 100%; height: auto; aspect-ratio: 1200 / 799; object-fit: cover; margin: 50px auto 0; }
.about section { width: min(600px, 100% - 100px); margin: 20px auto 0; }
.about section .rich { margin-top: 20px; }
.about .rich a { color: #000; }
/* Framer put two empty lines above "Art Displays" and a wider gap below it. */
.about section + section { width: min(600px, 100% - 120px); margin-top: 200px; }
.about section + section .rich { margin-top: 80px; }
@media (max-width: 1199px) {
  .avatar { margin-top: 47px; }
  .about .bio { margin-top: 76px; }
  .about .photo { width: 831px; aspect-ratio: 831 / 537; }
  .about section + section { width: min(568px, 100% - 120px); margin-top: 183px; }
}
@media (max-width: 809px) {
  .about .intro { padding-top: 74px; }
  .avatar { margin-top: 6px; }
  .about .bio { width: min(312px, 100% - 40px); margin-top: 0; }
  .about .photo { width: 440px; aspect-ratio: 440 / 278; }
  .about section + section { margin-top: 186px; }
}
