/* ===== Issa — Portfolio v2 (warm editorial) ===== */
:root {
  --bg: #2a1f1b;
  --bg-2: #332622;
  --cream: #f3e9dc;
  --muted: #b9a999;
  --accent: #f2b035;
  --accent-2: #e8703a;
  --line: rgba(243, 233, 220, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

::selection { background: var(--accent); color: var(--bg); }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.65;
}

.sans { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ===== Nav ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(42, 31, 27, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 18px 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.wordmark {
  text-decoration: none; color: var(--cream);
  font-family: "Segoe UI", sans-serif; font-weight: 700; letter-spacing: .02em;
  line-height: 1.1; font-size: .95rem;
}
.wordmark small { display: block; color: var(--muted); font-weight: 400; font-size: .75rem; }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-family: "Segoe UI", sans-serif; font-size: .9rem; letter-spacing: .06em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  padding-top: 90px;
}
.hero::before {
  content: ""; position: absolute; right: -180px; top: 20%;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 176, 53, .22), transparent 65%);
  pointer-events: none;
}
.hero-kicker {
  font-family: "Segoe UI", sans-serif;
  letter-spacing: .35em; font-size: .8rem; color: var(--accent);
  text-transform: uppercase; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1.02; font-weight: 400; letter-spacing: -.01em;
  max-width: 14ch;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-row {
  display: flex; gap: 48px; align-items: flex-end; justify-content: space-between;
  margin-top: 56px; flex-wrap: wrap;
}
.hero-sub {
  color: var(--muted); max-width: 46ch; font-size: 1.05rem;
}
.hero-photo img {
  width: 220px; height: 280px; object-fit: cover;
  border-radius: 120px 120px 16px 16px;
  border: 1px solid var(--line);
  filter: saturate(.9);
}
.scroll-hint {
  font-family: "Segoe UI", sans-serif; font-size: .78rem; letter-spacing: .25em;
  color: var(--muted); text-transform: uppercase; margin-top: 70px;
}

/* ===== Marquee ===== */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 20px 0; white-space: nowrap;
}
.marquee-track {
  display: inline-block; animation: scroll 28s linear infinite;
  font-family: "Segoe UI", sans-serif; font-size: 1rem; letter-spacing: .2em;
  color: var(--muted); text-transform: uppercase;
}
.marquee-track span { margin: 0 34px; }
.marquee-track .dot { color: var(--accent); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Sections ===== */
section { padding: 110px 0; }
.kicker {
  font-family: "Segoe UI", sans-serif; letter-spacing: .35em; font-size: .78rem;
  color: var(--accent); text-transform: uppercase; margin-bottom: 20px;
}
.kicker::before { content: "# "; }
h2.big {
  font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 400; line-height: 1.15;
  max-width: 26ch; margin-bottom: 26px;
}
.lead { color: var(--muted); max-width: 60ch; font-size: 1.08rem; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.facts { border-top: 1px solid var(--line); margin-top: 8px; }
.fact {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: "Segoe UI", sans-serif; font-size: .92rem;
}
.fact .k { color: var(--muted); letter-spacing: .06em; }
.fact .v { text-align: right; }

/* ===== Work / case studies ===== */
.case {
  border-top: 1px solid var(--line);
  padding: 64px 0;
  display: grid; grid-template-columns: 90px 1fr 1fr; gap: 40px;
}
.case:last-of-type { border-bottom: 1px solid var(--line); }
.case-num {
  font-family: "Segoe UI", sans-serif; color: var(--muted); font-size: .9rem; letter-spacing: .1em;
}
.case h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; line-height: 1.2; }
.case .tagline { font-style: italic; color: var(--accent); margin-top: 12px; font-size: 1.05rem; }
.case-body p { color: var(--muted); font-size: .98rem; margin-bottom: 16px; }
.case-meta {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px;
}
.case-meta span {
  font-family: "Segoe UI", sans-serif; font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cream);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px;
}

/* ===== Services ===== */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service {
  background: var(--bg); padding: 40px 32px;
  transition: background .25s;
}
.service:hover { background: var(--bg-2); }
.service .n { font-family: "Segoe UI", sans-serif; color: var(--accent); font-size: .8rem; letter-spacing: .2em; }
.service h3 { font-weight: 400; font-size: 1.3rem; margin: 14px 0 10px; }
.service p { color: var(--muted); font-size: .95rem; }

/* ===== Contact ===== */
.contact { text-align: left; }
.mail-link {
  display: inline-block; margin: 30px 0 10px;
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  color: var(--cream); text-decoration: none;
  border-bottom: 2px solid var(--accent);
  transition: color .2s;
  word-break: break-all;
}
.mail-link:hover { color: var(--accent); }

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--line); padding: 30px 0;
  font-family: "Segoe UI", sans-serif; font-size: .85rem; color: var(--muted);
}
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .case { grid-template-columns: 1fr; gap: 18px; padding: 48px 0; }
  .services { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; }
  .hero-photo img { width: 170px; height: 220px; }
}
