/* ==========================================================
   bymahnoorkhan: static portfolio stylesheet
   Change the brand colours and fonts here and every page updates.
   ========================================================== */
:root {
  --cream: #F6F2EC;
  --cream-deep: #ECE5D9;
  --sage: #5C6654;
  --forest: #23321B;
  --paper: #fbf9f5;               /* background inside photo frames */
  --line: rgba(35, 50, 27, 0.16);  /* thin divider lines */
  --focus: #8a5a00;                /* keyboard focus outline */

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1180px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--forest);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 500; line-height: 1.15; margin: 0 0 .6em; color: var(--forest); letter-spacing: -0.005em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--forest); color: var(--cream); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Layout helpers ---------- */
.container { width: min(var(--maxw), 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section-tint { background: var(--cream-deep); }
.center { text-align: center; }
.muted { color: var(--sage); }
.eyebrow { font-family: var(--font-heading); font-size: 1.4rem; color: var(--sage); margin-bottom: .5rem; }
.lead { font-size: 1.2rem; max-width: 56ch; }
.center .lead { margin-inline: auto; }
.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: calc(var(--gap) * 1.6); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 820px) { .two-col, .split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .65rem 1.5rem; border-radius: 2px; border: 1.5px solid var(--forest);
  background: var(--forest); color: var(--cream); font: 500 1rem var(--font-body); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--sage); border-color: var(--sage); }
.btn-secondary { background: var(--sage); border-color: var(--sage); }
.btn-secondary:hover { background: var(--forest); border-color: var(--forest); }
.btn-outline { background: transparent; color: var(--forest); }
.btn-outline:hover { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-family: var(--font-heading); font-size: 1.45rem; font-weight: 600; color: var(--forest); white-space: nowrap; }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .98rem; padding: .35rem 0; border-bottom: 1.5px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--sage); }
.nav-links a[aria-current="page"] { font-weight: 600; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--forest); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header nav { position: static; }
  .nav-links {
    position: absolute; left: -1.25rem; right: -1.25rem; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .25rem 1.25rem 1rem; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); color: var(--sage); }
  .brand { font-size: 1.2rem; }
  .brand img { width: 44px; height: 44px; }
}
@media (max-width: 360px) { .brand span { font-size: 1.05rem; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--gap); align-items: center; }
.hero h1 { margin-bottom: .4em; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }

/* Framed photo (hero, artist photo) */
.frame { border: 1px solid var(--line); padding: 14px; background: var(--paper); }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Explore cards ---------- */
.category img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1.1rem; border: 1px solid var(--line); background: var(--paper); }
.category p { color: var(--sage); }

/* ---------- Portfolio galleries ---------- */
.section-intro { max-width: 68ch; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.gallery button {
  display: block; width: 100%; padding: 10px; border: 1px solid var(--line); background: var(--paper);
  cursor: zoom-in; transition: border-color .2s;
}
.gallery button:hover { border-color: var(--sage); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .25s; }
.gallery button:hover img { opacity: .9; }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: .75rem; } .gallery button { padding: 6px; } }
.coming-soon { margin-top: 1.25rem; font-family: var(--font-heading); font-size: 1.25rem; font-style: italic; color: var(--sage); text-align: center; }
.info-box { margin-top: 2.5rem; padding: 1.5rem 1.6rem; border: 1px solid var(--line); background: var(--cream); }
.section-tint .info-box { background: var(--cream); }
.info-box h3 { font-size: 1.45rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; columns: 2 220px; column-gap: 2rem; }
.checklist li { padding: .4rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  padding: 3.5rem 1rem; background: rgba(20, 28, 15, .92);
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); margin-inline: auto; object-fit: contain; background: var(--paper); }
.lightbox figcaption { color: var(--cream); margin-top: .75rem; font-size: .95rem; }
.lb-btn {
  position: absolute; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(246, 242, 236, .12);
  color: var(--cream); font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.lb-btn:hover { background: rgba(246, 242, 236, .25); }
.lb-btn[hidden] { display: none; }
.lb-close { top: .75rem; right: .75rem; }
.lb-prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .75rem; top: 50%; transform: translateY(-50%); }
.lightbox :focus-visible { outline-color: #f0c674; }
body.no-scroll { overflow: hidden; }

/* ---------- Rich text (About page) ---------- */
.prose { font-size: 1.1rem; }
.prose p { max-width: 68ch; }
.specialties { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); margin-top: 1.5rem; }
.specialties > div { padding-top: 1rem; border-top: 2px solid var(--sage); }
.specialties h3 { font-size: 1.6rem; }
@media (max-width: 680px) { .specialties { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); background: var(--paper); }
.contact-list .icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--forest); color: var(--cream); }
.contact-list strong { display: block; font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.contact-list a { word-break: break-word; }
.icon-inline { display: inline-flex; align-items: center; gap: .5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: var(--cream); padding-block: 4rem 2rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: var(--gap); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: .8rem; font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: .8rem; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; }
.site-footer h2 { color: var(--cream); font-size: 1.25rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .muted { color: #cfd5c8; max-width: 34ch; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(246, 242, 236, .25); font-size: .92rem; color: #cfd5c8; }
.site-footer :focus-visible { outline-color: #f0c674; }
