/* ============================================================
   Sven Weitzel — Fotografie
   Corporate Design: "Modern Heritage"
   Palette: Carbon Black, Warm Ivory, Stone Grey, Cognac, Dusty Red
   Type: Cormorant Garamond (display) · Inter (text)
   ============================================================ */

:root {
  --carbon: #171717;
  --ivory: #f0ece5;
  --stone: #8a837a;
  --cognac: #8a5a3a;
  --dusty: #a84d46;

  --ivory-deep: #e6e0d6;
  --carbon-soft: #201f1d;
  --line: rgba(23, 23, 23, 0.14);
  --line-light: rgba(240, 236, 229, 0.16);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--ivory);
  color: var(--carbon);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Shared type ---------- */
.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cognac);
}

.section-index {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.4rem;
}
.section-index.light { color: rgba(240, 236, 229, 0.55); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
}

.section-desc {
  max-width: 46ch;
  margin-top: 1.4rem;
  color: var(--stone);
  font-size: 1.02rem;
}

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.05rem 2rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.btn--solid {
  background: var(--carbon);
  color: var(--ivory);
}
.btn--solid:hover {
  background: var(--dusty);
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: var(--line);
  color: var(--carbon);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--carbon);
  background: var(--carbon);
  color: var(--ivory);
}
.btn--full { width: 100%; margin-top: 0.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem var(--pad);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(240, 236, 229, 0.9);
  backdrop-filter: blur(10px);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  box-shadow: 0 1px 0 var(--line);
}
.wordmark { display: flex; align-items: baseline; gap: 0.6rem; }
.wordmark__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.wordmark__role {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--stone);
}
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--carbon);
  position: relative;
  transition: color 0.3s;
}
.nav a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1px;
  background: var(--dusty);
  transition: width 0.35s var(--ease);
}
.nav a:not(.nav__cta):hover::after { width: 100%; }
.nav a:not(.nav__cta):hover { color: var(--dusty); }
.nav__cta {
  border: 1px solid var(--carbon);
  padding: 0.55rem 1.1rem;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  transition: all 0.35s var(--ease);
}
.nav__cta:hover { background: var(--carbon); color: var(--ivory); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 1.5px;
  background: var(--carbon);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem var(--pad) 0;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  flex: 1;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin: 1.6rem 0 0;
}
.hero__title span { display: block; }
.hero__title .accent { color: var(--dusty); font-style: italic; }
.hero__lead {
  max-width: 42ch;
  margin-top: 2rem;
  font-size: 1.1rem;
  color: #3a3733;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
}
.hero__portrait { position: relative; }
.hero__portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(1) contrast(1.03);
}
.hero__portrait figcaption {
  position: absolute;
  bottom: 1.4rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  background: var(--ivory);
  padding: 0.35rem 0.9rem;
  white-space: nowrap;
}

/* marquee */
.hero__marquee {
  margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1.1rem 0;
}
.marquee__track {
  display: flex;
  gap: 1.6rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 34s linear infinite;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--carbon);
}
.marquee__track .dot { color: var(--cognac); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.statement {
  background: var(--carbon);
  color: var(--ivory);
  padding: clamp(5rem, 12vw, 10rem) var(--pad);
}
.statement .section-index { color: rgba(240, 236, 229, 0.5); }
.statement__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5.2vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 20ch;
}
.statement__quote em { color: var(--dusty); font-style: italic; }
.statement__sub {
  margin-top: 2.2rem;
  max-width: 48ch;
  color: rgba(240, 236, 229, 0.68);
  font-size: 1.05rem;
}

/* ---------- Works ---------- */
.works {
  padding: clamp(5rem, 12vw, 9rem) var(--pad);
  background: var(--ivory);
  max-width: var(--maxw);
  margin: 0 auto;
}
.works__plate {
  position: relative;
  border: 1px solid var(--line);
  padding: 0.7rem;
  background: #fff;
  box-shadow: 0 40px 80px -50px rgba(23, 23, 23, 0.5);
  max-width: 620px;
  margin: 0 auto;
}
.works__plate img { width: 100%; }
.works__plate figcaption {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 1rem 0.4rem 0.3rem;
  text-align: center;
}
.works__ig-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 2.6rem auto 0;
  padding: 1rem 1.6rem;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  width: fit-content;
  transition: all 0.4s var(--ease);
}
.works__ig-link .arrow { transition: transform 0.35s var(--ease); color: var(--cognac); }
.works__ig-link:hover { border-color: var(--carbon); background: var(--carbon); color: var(--ivory); }
.works__ig-link:hover .arrow { transform: translateX(5px); color: var(--dusty); }

/* ---------- Services ---------- */
.services {
  background: var(--ivory-deep);
  padding: clamp(5rem, 12vw, 9rem) var(--pad);
  border-top: 1px solid var(--line);
}
.services > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.service-list { list-style: none; }
.service {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1rem, 4vw, 3.5rem);
  align-items: baseline;
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service:hover { padding-left: 0.8rem; }
.service__num {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--cognac);
  font-style: italic;
}
.service__body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.service__body p { max-width: 52ch; color: #4a4640; }
.service__tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(5rem, 12vw, 9rem) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.about__img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  border: 1px solid var(--line);
}
.about__text p { color: #3a3733; margin-top: 1.1rem; max-width: 54ch; }
.about__text .section-title { margin-bottom: 0.4rem; }
.about__values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
  margin-top: 2rem;
}
.about__values li {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  color: var(--carbon);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--carbon);
  color: var(--ivory);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(5rem, 12vw, 10rem) var(--pad);
  align-items: start;
}
.contact__intro .section-title { color: var(--ivory); }
.contact__intro .section-desc { color: rgba(240, 236, 229, 0.66); }
.contact__ig {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.2rem;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--ivory);
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 0.4rem;
  transition: color 0.3s, border-color 0.3s;
}
.contact__ig:hover { color: var(--dusty); border-color: var(--dusty); }

/* contact CTA */
.contact__cta {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  border: 1px solid var(--line-light);
}
.contact__cta-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 236, 229, 0.6);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--carbon-soft);
  color: var(--ivory);
  padding: clamp(3rem, 6vw, 4.5rem) var(--pad);
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--line-light);
}
.footer__brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__brand .wordmark__name { font-size: 1.4rem; }
.footer__claim { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--stone); }
.footer__nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer__nav a { font-size: 0.8rem; letter-spacing: 0.06em; color: rgba(240, 236, 229, 0.7); transition: color 0.3s; }
.footer__nav a:hover { color: var(--dusty); }
.footer__copy { font-size: 0.75rem; color: var(--stone); letter-spacing: 0.05em; text-align: right; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open .nav {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--ivory);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    font-size: 1.4rem;
    z-index: 90;
  }
  .site-header.menu-open .nav a { font-size: 1.4rem; }
  .site-header.menu-open .nav-toggle span:first-child { transform: translateY(6.5px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:last-child { transform: translateY(-6.5px) rotate(-45deg); }

  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__portrait { max-width: 320px; margin: 0 0 1rem; order: -1; }
  .contact { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__img { max-width: 380px; }
}

@media (max-width: 620px) {
  .service { grid-template-columns: auto 1fr; }
  .service__tag { display: none; }
  .site-footer { grid-template-columns: 1fr; text-align: left; }
  .footer__copy { text-align: left; }
}

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