:root {
  color-scheme: light;
  --paper: #f3efe6;
  --ink: #23241e;
  --accent: #a63823;
  --rule: #bdb6a7;
  font-family: Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
figure, p, h1, h2 { margin: 0; }
.wrap { width: min(1240px, 90%); margin-inline: auto; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 74px; border-bottom: 1px solid var(--rule); }
.wordmark { font: bold 32px Georgia, serif; letter-spacing: -.08em; }
.wordmark span, .explore span, h1 em { color: var(--accent); }
nav { display: flex; gap: 32px; }
.bar a:not(.wordmark), .explore { font-size: 14px; }
.label { font: 12px/1.5 monospace; text-transform: uppercase; letter-spacing: .14em; }
h1, h2 { font-family: Georgia, serif; font-weight: normal; letter-spacing: -.065em; }
figcaption { display: flex; gap: 12px; align-items: baseline; padding-top: 12px; font-size: 14px; }
figcaption span, figcaption small { color: #655e52; font: 11px monospace; }
figcaption small { margin-left: auto; }
.gallery, .about, footer.bar { border-top: 1px solid var(--rule); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-block: 30px; }
.section-heading > p, .about div p { color: #655e52; line-height: 1.5; }
h2 { font-size: clamp(42px, 6vw, 82px); line-height: 1.05; }
.studies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 70px; }
.about { display: grid; grid-template-columns: .8fr 1fr; gap: 5%; padding-block: 48px 64px; }
.about div p { margin-top: 14px; max-width: 42ch; }
footer.bar { border-bottom: 0; }

@media (max-width: 700px) {
  .about { grid-template-columns: 1fr; gap: 28px; }
  .section-heading { flex-direction: column; align-items: start; }
  .studies { grid-template-columns: 1fr; gap: 24px; }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}



.hero {
  isolation: isolate;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  color: white;
  background: #241e18;
  text-align: center;
  padding: clamp(28px, 5vh, 64px) 18px 25px;
}
.cover-photo, .hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cover-photo { object-fit: cover; object-position: 65% center; }
.hero::after {
  content: "";
  background: linear-gradient(180deg, #0009, #0001 32%, #0002 53%, #0009 100%);
}
.hero h1 {
  font: 300 clamp(24px, 5vw, 54px)/1.2 Arial, sans-serif;
  letter-spacing: .29em;
  text-indent: .29em;
  text-transform: uppercase;
}
.hero nav {
  grid-row: 2;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px clamp(12px, 3vw, 36px);
  transform: translateY(clamp(30px, 13vh, 140px));
}
.hero nav a {
  padding: 10px 4px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .14em;
  text-shadow: 0 1px 5px black;
}
.hero a:hover { color: white; text-decoration: underline; }
.hero a:focus-visible { outline-color: white; }
.hero-scroll { grid-row: 3; align-self: end; padding: 10px 16px; font-size: 22px; }
.studies img { display: block; width: 100%; height: auto; }

.portfolio-section { border-top: 1px solid var(--rule); padding-block: 38px 64px; }
.portfolio-section h2 { margin-top: 8px; }
.section-copy { margin-top: 12px; line-height: 1.6; max-width: 62ch; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; align-items: start; }
.archive-grid img { display: block; width: 100%; height: auto; }
.tehran-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) {
  .archive-grid, .tehran-grid { grid-template-columns: 1fr; }
  .hero nav { max-width: 350px; }
}
