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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --off: #f7f6f4;
  --gray: #888;
  --light: #e8e6e2;
  --max: 1280px;
  --nav-h: 60px;
}

/* Smooth scroll with offset for fixed nav */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent iOS input zoom (font-size >= 16px on inputs) */
input, textarea, select {
  font-size: max(16px, 1em) !important;
}

a { color: inherit; text-decoration: none; }

/* Tap highlight off on mobile */
a, button { -webkit-tap-highlight-color: transparent; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── SCROLL PROGRESS BAR ─── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--black);
  width: 0%;
  z-index: 999;
  transition: width .1s linear;
}

/* ─── SKIP LINK (accessibility) ─── */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  background: var(--black);
  color: var(--white);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s;
  z-index: 90;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover { background: #333; }

/* ─── FORM TOAST ─── */
.form-toast {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: #2a7a2a;
  min-height: 20px;
  letter-spacing: 0.02em;
}
.form-toast.error { color: #b00; }

/* ─── FOCUS STYLES (accessibility) ─── */
:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

/* ─── FORM FIELD STATES ─── */
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-bottom: 1px solid #b00;
}
.form-group .field-error {
  font-size: 11px;
  color: #b00;
  margin-top: 4px;
}

/* ─── FADE-IN ON SCROLL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* Stagger work cards */
.works-grid .work-card:nth-child(1) { transition-delay: 0s; }
.works-grid .work-card:nth-child(2) { transition-delay: .08s; }
.works-grid .work-card:nth-child(3) { transition-delay: .16s; }
.works-grid .work-card:nth-child(4) { transition-delay: .08s; }
.works-grid .work-card:nth-child(5) { transition-delay: .16s; }
.works-grid .work-card:nth-child(6) { transition-delay: .24s; }
.works-grid .work-card:nth-child(7) { transition-delay: .08s; }
.works-grid .work-card:nth-child(8) { transition-delay: .16s; }

/* ─── HERO ENTRANCE ─── */
.hero-line-agency {
  animation: fadeUp .9s cubic-bezier(.4,0,.2,1) both;
  animation-delay: .1s;
}
.hero-line-munister {
  animation: fadeUp .9s cubic-bezier(.4,0,.2,1) both;
  animation-delay: .25s;
}
.hero-eyebrow { animation: fadeUp .7s ease both; }
.hero-desktop-bottom { animation: fadeUp .8s ease both; animation-delay: .4s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ─── NAV ACTIVE LINK ─── */
.nav-links a.active {
  color: var(--black);
}

/* ─── SELECTION COLOR ─── */
::selection {
  background: var(--black);
  color: var(--white);
}

/* ─── LOADING STATE FOR BUTTON ─── */
.btn.loading {
  opacity: .6;
  pointer-events: none;
  cursor: default;
}
.btn.loading::after { content: '...'; }

/* ─── FONTS ─── */
.f-display {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

.f-italic {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  line-height: 0.9;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--light);
  backdrop-filter: blur(8px);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color .2s;
}
.nav-links a:hover { color: var(--black); }

.nav-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 2px;
  transition: background .2s !important;
}
.nav-cta:hover { background: #333 !important; color: var(--white) !important; }

.lang-switcher {
  display: flex;
  gap: 2px;
  margin-left: 8px;
}
.lang-btn {
  background: none;
  border: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gray);
  cursor: pointer;
  padding: 4px 6px;
  font-family: 'DM Sans', sans-serif;
  transition: color .2s;
}
.lang-btn.active { color: var(--black); }
.lang-btn:hover { color: var(--black); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--black);
}

/* ─── HERO ─── */
.hero {
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
}

/* Mobile poster */
.hero-mobile {
  display: none;
  line-height: 0;
}
.hero-mobile img {
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop split */
.hero-desktop {
  display: flex;
  height: calc(100vh - var(--nav-h));
}

.hero-desktop-left {
  flex: 0 0 50%;
  background: #f5f0ea;
  padding: 56px 56px 48px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Decorative corner mark */
.hero-desktop-left::before {
  content: '✦';
  position: absolute;
  bottom: 52px;
  right: 56px;
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.1em;
}

/* Thin vertical line accent */
.hero-desktop-left::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: var(--light);
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 40px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  line-height: 0.88;
}

.hero-line-agency {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(64px, 7.5vw, 120px);
  letter-spacing: -0.01em;
  color: var(--black);
}

.hero-line-munister {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(76px, 9vw, 144px);
  letter-spacing: -0.02em;
  color: var(--black);
  margin-top: -0.04em;
}

.hero-desktop-bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

.hero-sub {
  max-width: 380px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}

.hero-desktop-right {
  flex: 0 0 50%;
  overflow: hidden;
}
.hero-desktop-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Shared bottom bar — desktop hidden, mobile shown */
.hero-cta-row {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 24px;
  border-bottom: 1px solid var(--light);
}

/* ─── RESPONSIVE HERO ─── */
@media (max-width: 900px) {
  .hero-mobile { display: block; }
  .hero-desktop { display: none; }
  .hero-cta-row { display: flex; }
}

/* ─── DIVIDER ─── */
.divider {
  height: 1px;
  background: var(--light);
  margin: 0 40px;
}

/* ─── ABOUT ─── */
.about {
  padding: 120px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.about-left .section-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 40px;
}

.about-headline {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.92;
}

.about-headline em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.1em;
}

.about-right {
  padding-bottom: 8px;
}

.about-right p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--light);
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  letter-spacing: 0.02em;
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
  display: block;
}

/* ─── SERVICES / WORKS ─── */
.services {
  background: var(--black);
  color: var(--white);
  padding: 120px 0;
}

.section-tag-light {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 40px;
}

.services-head h2 {
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.92;
}

.services-head-right {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  max-width: 280px;
  line-height: 1.7;
  text-align: right;
  flex-shrink: 0;
  padding-bottom: 8px;
}

/* Works grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.work-card {
  display: flex;
  flex-direction: column;
  background: #111;
  overflow: hidden;
  transition: background .25s;
}
.work-card:hover { background: #161616; }

.work-card--wide {
  grid-column: span 2;
}

.work-card--featured {
  background: #1a1209;
}
.work-card--featured:hover { background: #201408; }

.work-img {
  flex: 0 0 180px;
  background: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

.work-card--wide .work-img { flex: 0 0 240px; min-height: 240px; }

.work-img--dark { background: #151515; }

.work-img--candle {
  background: #1a1209;
}

.work-coming {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.15);
}

.work-icon { font-size: 40px; opacity: 0.7; }

/* Future: when you add a real image */
.work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-info {
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.work-num {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  font-weight: 600;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  padding-top: 3px;
}

.work-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.work-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

.work-tag {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 2px;
  align-self: flex-start;
  white-space: nowrap;
}

/* ─── HOW ─── */
.how {
  padding: 120px 0;
}

.how-head {
  margin-bottom: 80px;
}

.how-head .section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 24px;
}

.how-head h2 {
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.92;
}

.how-head h2 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.05em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--light);
}

.step {
  background: var(--white);
  padding: 48px 40px;
}

.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  color: var(--light);
  line-height: 1;
  margin-bottom: 32px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}

.step p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}

/* ─── BANNER ─── */
.banner {
  background: var(--off);
  padding: 120px 0;
}

.banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 80px;
}

.banner-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 32px;
}

.banner-title {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.92;
  margin-bottom: 0;
}

.banner-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.1em;
}

.banner-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 8px;
}

.banner-right p {
  font-size: 14px;
  color: var(--gray);
  max-width: 300px;
  text-align: right;
  line-height: 1.8;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: #333; }

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover { background: var(--off); }

.btn-arrow::after { content: '→'; font-size: 14px; }

/* ─── CONTACT ─── */
.contact {
  padding: 120px 0;
}

.contact-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 80px;
  gap: 40px;
}

.contact-top h2 {
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.92;
}

.contact-top h2 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.05em;
}

.contact-sub {
  font-size: 14px;
  color: var(--gray);
  max-width: 260px;
  text-align: right;
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--light);
  margin-bottom: 1px;
}

.form-group {
  background: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid var(--light);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

.form-group input,
.form-group textarea,
.form-group select {
  border: none;
  outline: none;
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  color: var(--black);
  background: transparent;
  -webkit-appearance: none;
  padding: 0;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--light); }
.form-group textarea { resize: none; min-height: 100px; }

.form-submit {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.form-note {
  font-size: 11px;
  color: var(--gray);
  max-width: 260px;
  line-height: 1.6;
}

.contact-info {
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.ci-group h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}

.ci-group a,
.ci-group p {
  font-size: 16px;
  line-height: 1.6;
  transition: color .2s;
}
.ci-group a:hover { color: var(--gray); }

.lang-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lang-list span { font-size: 15px; }

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--light);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
}

.footer-copy {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.footer-link {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.05em;
  transition: color .2s;
}
.footer-link:hover { color: var(--black); }

/* ─── RESPONSIVE ─── */

/* Tablet landscape */
@media (max-width: 1200px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card--wide { grid-column: span 2; }
}

/* Tablet portrait */
@media (max-width: 1024px) {
  .services-head { flex-direction: column; gap: 20px; }
  .services-head-right { text-align: left; max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .banner-inner { grid-template-columns: 1fr; }
  .banner-right { align-items: flex-start; }
  .banner-right p { text-align: left; }
  .contact-top { flex-direction: column; }
  .contact-sub { text-align: left; max-width: 100%; }
  .about, .services, .how, .banner, .contact { padding: 80px 0; }
}

/* Switch to mobile hero at 900px */
@media (max-width: 900px) {
  .hero-mobile { display: block; }
  .hero-desktop { display: none; }
  .hero-cta-row { display: flex; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --nav-h: 56px; }
  .container { padding: 0 20px; }
  .nav { padding: 0 20px; }
  .divider { margin: 0 20px; }

  /* Nav mobile */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    padding: 20px;
    border-bottom: 1px solid var(--light);
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  .nav-links.open a {
    font-size: 15px;
    color: var(--black);
    padding: 14px 0;
    border-bottom: 1px solid var(--light);
    letter-spacing: 0.05em;
  }
  .nav-links.open a:last-child { border-bottom: none; }
  .burger { display: flex; }

  /* Works grid → 1 col on mobile */
  .works-grid { grid-template-columns: 1fr; gap: 1px; }
  .work-card--wide { grid-column: span 1; }
  .work-card--wide .work-img { flex: 0 0 200px; min-height: 200px; }

  /* Steps vertical */
  .steps { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; background: none; gap: 0; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Sections spacing */
  .about, .services, .how, .banner, .contact { padding: 64px 0; }

  /* Footer */
  .footer {
    padding: 24px 20px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .footer-logo { font-size: 16px; }

  /* Banner */
  .banner-inner { flex-direction: column; gap: 32px; }
}

/* Small phones */
@media (max-width: 400px) {
  .nav-logo { font-size: 14px; }
  .lang-switcher { gap: 0; }
  .lang-btn { padding: 4px 5px; font-size: 10px; }

  .work-info { flex-wrap: wrap; gap: 12px; }
  .work-tag { margin-left: 0; }

  /* Prevent horizontal overflow on tiny screens */
  .hero-mobile img { min-width: 100%; }
}

/* Retina / high-DPI */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .work-coming { letter-spacing: 0.15em; }
}

/* Print — hide non-essential */
@media print {
  .nav, .burger, .hero-mobile, .hero-desktop-right, .hero-cta-row { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; }
  section { page-break-inside: avoid; }
}
