/* Jasmine Gokmen — site styles.
   Mobile-first, no framework, no build step. */

:root {
  --ink: #141414;
  --paper: #ffffff;
  --muted: #6b6b6b;
  --line: #e6e4e0;
  --sand: #f4f2ee;
  --accent: #6f6a86;
  --wrap: 1180px;
  --pad: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: Roboto, system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.15rem; letter-spacing: .01em; }

p { margin: 0 0 1em; max-width: 62ch; }

a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.2em;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px; top: 16px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle__bars {
  display: inline-block;
  width: 22px;
  height: 8px;
  position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1px;
  background: currentColor;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 7px; }

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 8px var(--pad) 20px;
}

.site-nav.is-open { display: block; }

.site-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  text-decoration: none;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.site-nav a:last-child { border-bottom: 0; }
.site-nav a[aria-current="page"] { color: #cfc9e6; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    background: none;
    border: 0;
    padding: 0;
    gap: 34px;
  }
  .site-nav a {
    display: inline-block;
    padding: 6px 0;
    border: 0;
    border-bottom: 1px solid transparent;
  }
  .site-nav a:hover,
  .site-nav a[aria-current="page"] { border-bottom-color: #fff; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 62vh;
  padding: 96px 0 56px;
  color: #fff;
  background: #2c2c33;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 18, .25) 0%, rgba(15, 15, 18, .75) 100%);
}

.hero .wrap { position: relative; z-index: 1; }

.hero h1 { max-width: 18ch; margin-bottom: .35em; }

.hero p {
  max-width: 46ch;
  color: rgba(255, 255, 255, .82);
  font-size: 1.05rem;
}

/* ---------- layout blocks ---------- */

section { padding: 56px 0; }

@media (min-width: 900px) { section { padding: 84px 0; } }

.split {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
}

.lede {
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  line-height: 1.45;
  max-width: 30ch;
}

.prose p { color: #333; }
.prose p:last-child { margin-bottom: 0; }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.tinted { background: var(--sand); }

/* ---------- buttons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.btn {
  display: inline-block;
  padding: 14px 26px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background .15s ease, color .15s ease;
}

.btn--solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--solid:hover { background: #333; }
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.hero .btn--ghost { color: #fff; }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); }

/* ---------- services ---------- */

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.services li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}

.services .num {
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--muted);
  min-width: 2.4em;
}

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

.grid-work {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 32px;
}

.card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand);
  text-decoration: none;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.card:hover img { transform: scale(1.03); }

.card__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  color: #fff;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55));
}

/* ---------- portfolio ---------- */

.page-intro { padding: 64px 0 28px; }
.page-intro h1 { margin-bottom: .15em; }
.page-intro p { color: #444; }

.project { border-top: 1px solid var(--line); }

.project__band {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding: 88px 24px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: #1b1b1f;
}

.project__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project__band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 22, .6);
}

.project__band-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.project__name {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: .1em;
}

.project__place {
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 1.6em;
}

.project__desc {
  color: rgba(255, 255, 255, .9);
  margin: 0 auto 1.4em;
  max-width: 56ch;
}

.project__scope {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 0 0 1.2em;
  padding: 0;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

.project__meta-line {
  font-size: .8rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 1.2em;
}

.project__band .project__link { margin-top: 0; }
.project__band .project__link a { color: #fff; }
.project__band .project__link a:hover { color: rgba(255, 255, 255, .7); }

.project__gallery {
  display: grid;
  gap: 14px;
  padding: 24px 24px 72px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .project__gallery { grid-template-columns: 1fr 1fr; }
}

.project__gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sand);
}

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

.collaborators {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: #444;
  font-size: .92rem;
}

.collaborators li::before { content: "— "; color: var(--muted); }

/* ---------- offices ---------- */

.offices {
  display: grid;
  gap: 32px;
  margin-top: 28px;
}

@media (min-width: 760px) { .offices { grid-template-columns: 1fr 1fr; } }

.office h3 { font-size: 1rem; margin-bottom: .2em; }
.office p { margin: 0; color: #444; font-size: .95rem; }
.office .hours { color: var(--muted); font-size: .85rem; margin-top: 8px; }

/* ---------- contact ---------- */

.contact-layout {
  display: grid;
  gap: 48px;
}

@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1fr 1.1fr; gap: 96px; }
}

.form { display: grid; gap: 18px; max-width: 520px; }

.field { display: grid; gap: 6px; }

.field label {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #c9c6c0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  border-radius: 0;
}

.field textarea { min-height: 130px; resize: vertical; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.form__row { display: grid; gap: 18px; }
@media (min-width: 520px) { .form__row { grid-template-columns: 1fr 1fr; } }

.form button { justify-self: start; cursor: pointer; }

.form-status { margin: 0; font-size: .95rem; min-height: 1.4em; }
.form-status[data-state="error"] { color: #a4281f; }

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

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 64px 0 32px;
  margin-top: 0;
}

.site-footer h2 { max-width: 20ch; }

.site-footer a { color: #fff; }

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: start; }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.footer-nav a { text-decoration: none; border-bottom: 1px solid transparent; }
.footer-nav a:hover { border-bottom-color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255, 255, 255, .6);
}

/* ---------- venue links ---------- */

.project__link { margin-top: 20px; }

.project__link a {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.project__link a:hover { color: var(--muted); }

.venue-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.venue-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: .98rem;
}
.venue-list a:hover { color: var(--muted); }

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card img { transition: none; }
  .card:hover img { transform: none; }
}
