:root {
  --paper: #f3f0e8;
  --paper-2: #3b006f;
  --ink: #ffae00;
  --muted: #262626;
  --line: rgba(23, 23, 20, .22);
  --olive: #74774e;
  --olive-dark: #5f633f;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", monospace;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.section { width: min(var(--max), calc(100% - 72px)); margin: 0 auto; }
.kicker, .eyebrow, .nav-download, .project-meta p, .service h3, .process h3, .stat span, .footer {
  letter-spacing: .12em;
}
.kicker {
  font: 500 12px/1 var(--mono);
  color: var(--olive-dark);
  display: inline-block;
}
.site-header {
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand {
  width: 40px; height: 40px; border: 1px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; font: 500 12px var(--mono);
}
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.site-header nav a:not(.nav-download) { opacity: .72; }
.site-header nav a:hover { opacity: 1; }
.nav-download { border-bottom: 1px solid var(--ink); padding-bottom: 4px; font-size: 11px; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 20px;
  position: relative;
  padding-top: 55px;
  align-items: end;
}
.hero-copy { align-self: start; position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 15px; font: 500 11px var(--mono); }
.eyebrow i { height: 1px; background: var(--ink); width: 160px; display: block; }
.hero-title-wrap { position: relative; margin-top: 24px; }
.hero h1 {
  font: 500 clamp(78px, 13vw, 178px)/.78 var(--sans);
  letter-spacing: -.075em;
  margin: 0;
}
.hero-orbit {
  position: absolute; right: 7%; top: 12px;
  width: 80px; height: 80px; border: 1px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; text-align: center; font: 12px/1.1 var(--mono);
  transform: rotate(12deg);
}
.intro-grid {
  margin-top: 58px; display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: 40px;
}
.lead { font: 400 clamp(28px, 3vw, 43px)/1.08 var(--serif); margin: 0; }
.lead em { color: var(--olive-dark); }
.short-line { width: 34px; height: 1px; background: var(--ink); margin: 26px 0 18px; }
.intro { max-width: 410px; font-size: 14px; color: var(--muted); margin: 0; }
.hero-note { align-self: end; padding-bottom: 5px; font: 10px/1.5 var(--mono); display: flex; flex-direction: column; gap: 3px; }
.hero-note strong { font: 600 15px var(--sans); margin-bottom: 5px; }
.portrait-card { position: relative; min-height: 260px; overflow: visible; }
.portrait-placeholder {
  position: absolute; inset: 5% 10% 0 3%;
  background:
    radial-gradient(circle at 58% 25%, #292823 0 8%, transparent 8.5%),
    radial-gradient(ellipse at 55% 42%, #292823 0 17%, transparent 17.5%),
    linear-gradient(145deg, #292823, #292823);
  display: flex; align-items: flex-end; justify-content: center;
  color: #ffd000(23,23,20,.58);
  overflow: hidden;
}
.portrait-placeholder:before {
  content: ""; position: absolute; width: 48%; height: 80%; bottom: -5%; left: 27%;
  background: #292823; border-radius: 46% 46% 5% 5%;
}
.portrait-placeholder span {
  position: relative; z-index: 1; margin-bottom: 28px; text-align: center;
  font: 12px/1.2 var(--mono); letter-spacing: .14em;
}
.portrait-placeholder small {
  position: absolute; bottom: 8px; left: 12px; font: 9px var(--mono); opacity: .7;
}
.circle-stamp {
  position: absolute; right: -2%; top: 16%; width: 110px; height: 110px; border: 1px solid var(--ink);
  border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 15px;
  font: 8px/1.4 var(--mono); letter-spacing: .12em; transform: rotate(14deg);
}

.stats {
  background: var(--paper-2);
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 25px;
  margin-bottom: 120px;
  padding: 23px 25px;
}
.stat { display: flex; align-items: center; justify-content: center; gap: 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { font: 500 29px var(--serif); }
.stat span { font: 500 9px/1.45 var(--mono); }

.work-section { padding-bottom: 115px; }
.section-heading {
  display: flex; justify-content: space-between; align-items: end; gap: 30px;
  border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 34px;
}
.section-heading h2 { font: 400 clamp(32px, 4vw, 55px)/1 var(--serif); margin: 10px 0 0; }
.section-heading > a { font: 10px var(--mono); white-space: nowrap; }
.section-heading > a span { font-size: 18px; margin-left: 10px; }
.work-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 55px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 22px; }
.project-large { grid-column: span 2; }
.project-wide { grid-column: span 2; }
.project-image {
  display: flex; align-items: center; justify-content: center; min-height: 290px;
  border-radius: 7px; overflow: hidden; position: relative; border: 1px solid rgba(23,23,20,.08);
}
.project-large .project-image { min-height: 400px; }
.project-wide .project-image { min-height: 240px; }
.project-image span {
  font: 500 clamp(30px, 5vw, 70px)/.82 var(--sans); letter-spacing: -.06em;
  text-align: center; opacity: .82;
}
.project-clickable {
  position: relative;
}

.project-card-link {
  position: absolute;
  inset: 0;
  z-index: 10;
}
.project-clickable .project-image {
  transition: transform 0.3s ease;
}

.project-clickable:hover .project-image {
  transform: scale(1.015);
}

.project-clickable:hover .project-meta h3 {
  text-decoration: underline;
}
.image-one {  background-image: url("assets/Damion O. Spencer site design2.jpg"); background-size: cover; background-position: top; }
.image-two { background-image: url("assets/Sandai-Kinani.jpg"); background-size: cover; background-position: center; }
.image-three { background: #c7c3ad; }
.image-four { background: linear-gradient(120deg, #b9baa2, #ddd7c8); }
.project-image:after {
  content: "VIEW →"; position: absolute; right: 15px; bottom: 14px; font: 9px var(--mono);
  opacity: .7;
}
.project-video .project-image {
  position: relative;
  overflow: hidden;
  background: #1d1d1a;
  min-height: 290px;
  height: 290px;
}

.project-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.visual-slideshow {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 7px;
  background: #d9d6c9;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Arrows */

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 42px;
  height: 42px;

  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;

  background: rgba(20,20,18,.35);
  color: white;

  font-size: 18px;
  cursor: pointer;

  backdrop-filter: blur(5px);
}

.slide-arrow:hover {
  background: rgba(20,20,18,.75);
}

.slide-arrow.prev {
  left: 18px;
}

.slide-arrow.next {
  right: 18px;
}

/* Counter */

.slide-counter {
  position: absolute;
  right: 20px;
  bottom: 17px;

  z-index: 5;

  color: white;
  font: 9px var(--mono);
  letter-spacing: .08em;

  background: rgba(20,20,18,.4);
  padding: 6px 9px;
  border-radius: 3px;
}

.video-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  color: white;
  font: 500 42px/.82 var(--sans);
  letter-spacing: -.05em;
  text-shadow: 0 2px 15px rgba(0,0,0,.25);
}
.project-meta { display: flex; justify-content: space-between; gap: 15px; padding-top: 13px; }
.project-meta h3 { margin: 0 0 4px; font: 500 18px var(--serif); }
.project-meta p { margin: 0; font: 9px/1.5 var(--mono); color: var(--muted); }
.project-meta > span { font: 11px var(--mono); color: var(--olive-dark); }

.services { border-left: 1px solid var(--line); padding-left: 30px; }
.services h2 { font: 400 38px var(--serif); margin: 8px 0 30px; }
.service { display: grid; grid-template-columns: 35px 1fr; gap: 13px; padding: 17px 0; border-top: 1px solid var(--line); }
.service-icon { font: 10px var(--mono); color: var(--olive-dark); padding-top: 3px; }
.service h3 { margin: 0 0 5px; font: 500 10px var(--mono); }
.service p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.process-section { padding: 100px 0 110px; border-top: 1px solid var(--line); }
.section-heading.simple { align-items: end; }
.section-note { max-width: 270px; color: var(--muted); font-size: 13px; margin: 0; }
.process { display: grid; grid-template-columns: repeat(5, 1fr); }
.process > div { padding: 20px 22px 0 0; border-right: 1px solid var(--line); position: relative; }
.process > div:not(:first-child) { padding-left: 22px; }
.process > div:last-child { border-right: 0; }
.process span { font: 400 29px var(--serif); }
.process h3 { font: 500 9px var(--mono); margin: 18px 0 6px; }
.process p { font-size: 11px; color: var(--muted); margin: 0; max-width: 150px; }

.about-section {
  display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; padding: 95px 0;
  border-top: 1px solid var(--line);
}
.about-mark {
  font: 500 clamp(120px, 20vw, 240px)/.7 var(--sans); letter-spacing: -.1em; color: var(--olive);
}
.about-copy { max-width: 720px; }
.about-copy h2 { font: 400 clamp(38px, 5vw, 65px)/.98 var(--serif); margin: 13px 0 28px; }
.about-copy p { max-width: 630px; font-size: 15px; color: var(--muted); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.skill-tags span { border: 1px solid var(--line); padding: 7px 10px; border-radius: 20px; font: 9px var(--mono); }

.download-section {
  background: var(--paper-2); border-radius: 10px; padding: 45px 50px; margin-bottom: 70px;
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
}
.download-section h2 { font: 400 clamp(32px, 4vw, 50px)/1 var(--serif); margin: 12px 0 0; }
.download-copy { max-width: 400px; }
.download-copy p { color: var(--muted); font-size: 13px; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  border: 1px solid var(--ink); border-radius: 4px; padding: 13px 16px;
  font: 10px var(--mono); transition: .2s ease;
}
.button:hover { background: var(--ink); color: var(--paper); }
.button span { font-size: 17px; }

.contact-section {
  background: var(--olive); color: var(--paper); border-radius: 10px; padding: 45px 50px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  margin-bottom: 60px;
}
.contact-section .kicker { color: #e8e5d7; }
.contact-section h2 { font: 400 clamp(38px, 5vw, 68px)/.95 var(--serif); margin: 12px 0 0; }
.contact-section h2 em { font-style: italic; }
.contact-side { justify-self: end; max-width: 330px; }
.contact-side p { color: rgba(243,240,232,.82); font-size: 13px; margin-bottom: 25px; }
.button.dark { border-color: var(--paper); color: var(--paper); }
.button.dark:hover { background: var(--paper); color: var(--ink); }

.footer {
  padding-top: 35px; padding-bottom: 45px; display: grid; grid-template-columns: 1fr 1fr auto;
  gap: 30px; font: 10px var(--mono); color: var(--muted);
}
.footer-brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.footer-brand strong { font: 500 32px var(--serif); }
.footer-brand span { font-size: 8px; line-height: 1.5; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { text-align: right; }

@media (max-width: 900px) {
  .section, .site-header { width: min(100% - 36px, var(--max)); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 40px; }
  .portrait-card { min-height: 440px; margin-top: -20px; }
  .portrait-placeholder { inset: 0 8% 0 20%; }
  .hero-orbit { right: 2%; }
  .work-layout { grid-template-columns: 1fr; }
  .services { border-left: 0; border-top: 1px solid var(--line); padding: 40px 0 0; }
  .service { grid-template-columns: 50px 1fr; }
  .stats { margin-bottom: 80px; }
  .process { grid-template-columns: 1fr 1fr; }
  .process > div { border-bottom: 1px solid var(--line); padding: 20px 15px 25px 0; }
  .process > div:nth-child(even) { padding-left: 15px; border-right: 0; }
  .process > div:last-child { grid-column: span 2; }
  .about-section { grid-template-columns: 1fr; gap: 25px; }
  .about-mark { font-size: 130px; }
}

@media (max-width: 650px) {
  .site-header nav a:not(.nav-download) { display: none; }
  .site-header nav { gap: 15px; }
  .eyebrow { gap: 8px; font-size: 8px; }
  .eyebrow i { width: 50px; }
  .hero h1 { font-size: clamp(64px, 20vw, 110px); }
  .hero-orbit { width: 58px; height: 58px; font-size: 8px; }
  .intro-grid { grid-template-columns: 1fr; margin-top: 38px; }
  .hero-note { display: none; }
  .portrait-card { min-height: 360px; }
  .circle-stamp { width: 78px; height: 78px; font-size: 6px; }
  .stats { grid-template-columns: 1fr 1fr; padding: 0; }
  .stat { padding: 20px 8px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .stat strong { font-size: 21px; }
  .stat span { font-size: 7px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-large, .project-wide { grid-column: auto; }
  .project-large .project-image { min-height: 300px; }
  .project-image { min-height: 220px; }
  .section-heading { align-items: start; flex-direction: column; }
  .download-section, .contact-section { padding: 30px 25px; }
  .download-section, .contact-section { grid-template-columns: 1fr; display: grid; }
  .contact-side { justify-self: start; }
  .footer { grid-template-columns: 1fr; }
  .footer-copy { text-align: left; }
    .visual-slideshow {
    height: 220px;
    border-radius: 6px;
  }

  .slide img {
    object-fit: cover;
  }

  .slide-arrow {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .slide-arrow.prev {
    left: 10px;
  }

  .slide-arrow.next {
    right: 10px;
  }

  .slide-counter {
    right: 12px;
    bottom: 12px;
    font-size: 8px;
  }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
