:root {
  color-scheme: light;
  --background: #fff;
  --text: #202020;
  --subtle: #555;
  --line: #e4e4e4;
  --accent: #1a3951;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--background);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(185px, 220px) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 88px);
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 80px);
}
.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 12px;
  background: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.sidebar { min-width: 0; }
.logo { display: inline-grid; width: min(165px, 90%); margin-bottom: 28px; }
.logo img { grid-area: 1 / 1; }
.logo .rollover { opacity: 0; }
.logo:is(:hover, :focus-visible) .rollover { opacity: 1; }
.menu > summary { display: none; }
.navigation ul { list-style: none; margin: 0; padding: 0; }
.navigation > ul > li { margin-bottom: 19px; }
.navigation .subnav { margin-top: 7px; }
.navigation a { display: inline-block; text-decoration: none; padding: 4px 0; }
.navigation a:hover, .navigation [aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.category { font-size: .86rem; font-weight: 700; letter-spacing: .035em; }
.subnav { color: var(--subtle); font-size: .9rem; }
.socials { display: flex; gap: 16px; flex-wrap: wrap; font-size: .8rem; }
.socials a { text-underline-offset: 3px; }
.sidebar .socials { margin-top: 24px; }

main { min-width: 0; }
.intro, .page-heading { margin-bottom: 36px; }
.page-heading { text-align: center; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { margin: 0; font-size: clamp(2rem, 4.3vw, 3.45rem); line-height: 1.08; }
h2 { font-size: clamp(1.35rem, 2vw, 2rem); margin: 0 0 12px; }
h3 { font-size: 1.15rem; margin: 0 0 10px; }
.page-heading p { color: var(--subtle); margin: 12px auto 0; max-width: 66ch; line-height: 1.55; }
.project-covers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.project-cover { display: block; text-decoration: none; }
.project-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f2f2f2;
}
.project-cover span {
  display: block;
  margin-top: 10px;
  font-weight: 700;
}
.project-cover:hover span { text-decoration: underline; text-underline-offset: 4px; }
.project-cover p { color: var(--subtle); margin: 6px 0 0; }
.work-content { display: grid; gap: 20px; }
.copy { line-height: 1.65; }
.copy :first-child { margin-top: 0; }
.copy :last-child { margin-bottom: 0; }
.copy [data-align="center"] { text-align: center; }
.copy [data-align="right"] { text-align: right; }
.copy [data-align="justify"] { text-align: justify; }
.copy a { text-underline-offset: 3px; }
.photo-row { display: grid; gap: 14px; }
.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo-row > figure { min-width: 0; }
figure { margin: 0; }
.photo img { width: 100%; }
.photo a { display: block; cursor: zoom-in; }
figcaption { color: var(--subtle); font-size: .9rem; line-height: 1.5; margin-top: 8px; }
.resume-pdf {
  display: block;
  width: 100%;
  max-width: 1100px;
  min-height: 580px;
  min-height: clamp(580px, 82svh, 1100px);
  margin-inline: auto;
  border: 0;
  background: #e9edf1;
}
.resume-pages {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(8px, 2vw, 20px);
  background: #e9edf1;
}
.resume-pages img {
  width: 100%;
  border: 1px solid #c5cbd2;
  background: white;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  margin-top: 42px;
  padding-top: 18px;
  font-size: .85rem;
}
.pagination { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; }
.more-work { margin-top: 42px; }
.button-row { text-align: center; margin: 12px 0 20px; }
.button, .contact-form button {
  display: inline-block;
  padding: 12px 17px;
  border: 1px solid var(--accent);
  color: white;
  background: var(--accent);
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button:hover, .contact-form button:hover { background: #294d65; }
.contact-form button:disabled { cursor: wait; opacity: .65; }
.contact-form {
  display: grid;
  justify-items: start;
  gap: 8px;
  max-width: 620px;
}
.contact-form label { font-weight: 700; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  margin: 0 0 12px;
  border: 1px solid #929292;
  border-radius: 0;
  background: white;
  color: var(--text);
  font: inherit;
}
.contact-status { margin: 6px 0 0; }
.contact-status.error { color: #8c2032; }
.landing-layout { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; place-items: center; }
.landing { text-align: center; }
.landing h1 { color: #1a3951; font: italic 700 clamp(2.8rem, 7vw, 5rem)/1.05 Georgia, serif; }
.landing p { color: #597188; font-size: 1.25rem; margin: 13px 0 22px; }

.lightbox {
  width: min(96vw, 1440px);
  max-width: none;
  padding: 12px;
  border: none;
  border-radius: 4px;
  background: #171717;
  color: #fff;
}
.lightbox::backdrop { background: rgb(0 0 0 / 82%); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox-controls { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.lightbox button {
  border: 1px solid #aaa;
  padding: 8px 12px;
  border-radius: 4px;
  font: inherit;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.lightbox button:disabled { opacity: .4; cursor: default; }
.lightbox button:focus-visible { outline-color: white; }

@media (max-width: 800px) {
  .layout { display: block; padding: 22px; }
  .landing-layout { display: grid; }
  .sidebar { position: relative; margin-bottom: 28px; }
  .logo { width: 86px; margin-bottom: 8px; }
  .menu > summary {
    position: absolute;
    top: 22px;
    right: 0;
    display: list-item;
    padding: 8px;
    cursor: pointer;
  }
  .menu { border-bottom: 1px solid var(--line); }
  .menu > nav { padding: 12px 0; }
  .sidebar .socials { margin-top: 14px; }
  .project-covers { gap: 18px; }
}
@media (min-width: 801px) {
  .menu:not([open]) > nav { display: block; }
  .menu::details-content { content-visibility: visible; display: block; }
}
@media (max-width: 550px) {
  .project-covers { grid-template-columns: minmax(0, 1fr); }
  .photo-row { grid-template-columns: minmax(0, 1fr) !important; }
}

.page-404-page-not-found { background-image: url("/assets/portfolio/492947af3ab94c.jpg"); background-position: top left; background-repeat: no-repeat; background-size: cover; }
.page-about-me-1 { background-image: url("/assets/portfolio/492947af3ab94c.jpg"); background-position: top left; background-repeat: no-repeat; background-size: cover; }
.page-advertisements { background-image: url("/assets/portfolio/492947af3ab94c.jpg"); background-position: top left; background-repeat: no-repeat; background-size: cover; }
.page-airposted { background-image: url("/assets/portfolio/492947af3ab94c.jpg"); background-position: top left; background-repeat: no-repeat; background-size: cover; }
.page-copy-of-presentation-design { background-image: url("/assets/portfolio/492947af3ab94c.jpg"); background-position: top left; background-repeat: no-repeat; background-size: cover; }
.page-design-work { background-image: url("/assets/portfolio/492947af3ab94c.jpg"); background-position: top left; background-repeat: no-repeat; background-size: cover; }
.page-e-commerce { background-image: url("/assets/portfolio/492947af3ab94c.jpg"); background-position: top left; background-repeat: no-repeat; background-size: cover; }
.page-emails { background-image: url("/assets/portfolio/492947af3ab94c.jpg"); background-position: top left; background-repeat: no-repeat; background-size: cover; }
.page-event-signage { background-image: url("/assets/portfolio/492947af3ab94c.jpg"); background-position: top left; background-repeat: no-repeat; background-size: cover; }
.page-jobs-for-the-future { background-image: url("/assets/portfolio/d87043a6504545.jpg"); background-position: top left; background-repeat: no-repeat; background-size: cover; }
.page-print { background-image: url("/assets/portfolio/492947af3ab94c.jpg"); background-position: top left; background-repeat: no-repeat; background-size: cover; }
.page-reports-tools { background-image: url("/assets/portfolio/492947af3ab94c.jpg"); background-position: top left; background-repeat: no-repeat; background-size: cover; }
.page-resume { background-image: url("/assets/portfolio/492947af3ab94c.jpg"); background-position: top left; background-repeat: no-repeat; background-size: cover; }
.page-social-media { background-image: url("/assets/portfolio/492947af3ab94c.jpg"); background-position: top left; background-repeat: no-repeat; background-size: cover; }
.page-swetha-suresh { background-image: url("/assets/portfolio/dbef9cde5e211d.jpg"); background-position: center; background-repeat: no-repeat; background-size: cover; }
.page-wireframes { background-image: url("/assets/portfolio/492947af3ab94c.jpg"); background-position: top left; background-repeat: no-repeat; background-size: cover; }
.page-work { background-image: url("/assets/portfolio/492947af3ab94c.jpg"); background-position: top left; background-repeat: no-repeat; background-size: cover; }
