/* ── NDA Events — Global Styles ── */

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

/* Base */
html { scroll-behavior: smooth; }

body {
  background: #F6E2D0;
  color: #18183A;
  font-family: 'Rubik', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: #18183A; text-decoration: none; transition: color 0.2s; }
a:hover { color: #AB2D24; }

::selection { background: #18183A; color: #F6E2D0; }

/* Focus styles (keyboard navigation) */
:focus-visible {
  outline: 2px solid #AB2D24;
  outline-offset: 3px;
}

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

/* ── Animations ── */
@keyframes ndaRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* Anchor offset for sticky header */
[id] { scroll-margin-top: 72px; }

/* ── Layout helpers ── */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 48px);
  padding-right: clamp(20px, 5vw, 48px);
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 226, 208, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(24, 24, 58, 0.14);
}

.header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.header__logo {
  height: clamp(32px, 7vw, 44px);
  width: auto;
}

.header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(16px, 3vw, 38px);
  font-size: clamp(10px, 2.6vw, 12px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header__nav-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__nav-contact::before {
  content: '';
  width: 22px;
  height: 1px;
  background: #AB2D24;
  display: block;
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: clamp(8px, 2vw, 20px);
  border-left: 1px solid rgba(24, 24, 58, 0.2);
  padding-left: clamp(8px, 2vw, 20px);
}

.lang-switch a {
  color: rgba(24, 24, 58, 0.45);
  padding: 2px 4px;
  transition: color 0.2s;
}

.lang-switch a:hover { color: #AB2D24; }

.lang-switch a.active {
  color: #18183A;
  font-weight: 400;
}

.lang-switch span { color: rgba(24, 24, 58, 0.2); }

/* ── Hero ── */
.hero {
  padding-top: clamp(48px, 7vw, 88px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 5vw, 72px);
  align-items: stretch;
}

.hero__content {
  animation: ndaRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__tag {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(24, 24, 58, 0.6);
}

.hero__tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: #AB2D24;
  display: block;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(40px, 3.9vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 30px 0 0;
  text-wrap: pretty;
}

.hero__title em { font-style: italic; }

.hero__desc {
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(24, 24, 58, 0.78);
  margin: 34px 0 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 44px 0 0;
}

.hero__image {
  position: relative;
  min-height: clamp(300px, 46vh, 560px);
  mask-image: linear-gradient(to right, transparent 0, #000 22%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%);
  animation: ndaRise 1s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(to bottom, transparent 0, #000 8%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #18183A;
  color: #F6E2D0;
  padding: 17px 30px;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: background 0.25s;
}

.btn-primary:hover { background: #AB2D24; color: #F6E2D0; }

.btn-primary::after {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  display: block;
}

.btn-secondary {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(24, 24, 58, 0.3);
  padding-bottom: 4px;
}

/* ── Event types bar ── */
.event-types {
  padding-top: clamp(40px, 6vw, 64px);
}

.event-types__inner {
  border-top: 1px solid rgba(24, 24, 58, 0.18);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(24, 24, 58, 0.62);
}

.event-types__sep { color: #AB2D24; }

/* ── Services ── */
.services {
  padding-top: clamp(64px, 9vw, 112px);
}

.services__header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.services__title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.services__subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(24, 24, 58, 0.75);
  margin: 8px 0 0;
  max-width: 56ch;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(270px, 33.333% - 0.7px)), 1fr));
  gap: 0;
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid rgba(24, 24, 58, 0.18);
}

.service-card {
  padding: 32px clamp(20px, 3vw, 34px) 40px;
  border-bottom: 1px solid rgba(24, 24, 58, 0.18);
  border-right: 1px solid rgba(24, 24, 58, 0.18);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s;
}

.service-card:hover { background: rgba(24, 24, 58, 0.04); }

.service-card__num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #AB2D24;
}

.service-card__title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
}

.service-card__body {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(24, 24, 58, 0.7);
}

/* ── Approach ── */
.approach {
  background: #18183A;
  color: #F6E2D0;
  margin-top: clamp(64px, 9vw, 112px);
  padding: clamp(64px, 8vw, 104px) 0;
}

.approach__tag {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 226, 208, 0.6);
}

.approach__tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: #AB2D24;
  display: block;
}

.approach__title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 58px);
  line-height: 1.06;
  margin: 30px 0 0;
  max-width: 16ch;
}

.approach__title em { font-style: italic; }

.approach__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(32px, 4vw, 44px);
  margin-top: clamp(48px, 7vw, 76px);
}

.step {
  border-top: 1px solid rgba(246, 226, 208, 0.28);
  padding-top: 22px;
}

.step__num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #AB2D24;
  margin-bottom: 16px;
}

.step__title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 23px;
  margin: 0 0 12px;
}

.step__body {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(246, 226, 208, 0.72);
}

/* ── Work / Materials ── */
.work {
  padding-top: clamp(64px, 9vw, 112px);
}

.work__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(24px, 2.8vw, 36px);
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.work__img-wrap {
  position: relative;
  aspect-ratio: 16/11;
  width: 100%;
  overflow: hidden;
}

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

.work__caption {
  border-top: 1px solid rgba(24, 24, 58, 0.18);
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(24px, 2.8vw, 36px);
  align-items: start;
  margin-top: clamp(24px, 2.8vw, 36px);
}

.work__quote {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  line-height: 1.38;
  letter-spacing: -0.01em;
}

.work__detail {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(24, 24, 58, 0.7);
}

/* ── Contact ── */
.contact {
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(72px, 9vw, 104px);
}

.contact__inner {
  border-top: 1px solid rgba(24, 24, 58, 0.18);
  padding-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.contact__title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(38px, 4.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.contact__title em { font-style: italic; }

.contact__email {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.2vw, 34px);
  margin-top: 38px;
  border-bottom: 2px solid #AB2D24;
  padding-bottom: 6px;
}

.contact__note {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(24, 24, 58, 0.7);
  margin: 34px 0 0;
  max-width: 36ch;
}

/* Form */
.form { display: grid; gap: 22px; }

.form__label {
  display: grid;
  gap: 9px;
}

.form__label-text {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(24, 24, 58, 0.55);
}

.form__input,
.form__textarea {
  font-family: 'Rubik', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: #18183A;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(24, 24, 58, 0.28);
  padding: 10px 2px;
  outline: none;
  transition: border-color 0.2s;
}

.form__input:focus,
.form__textarea:focus {
  border-bottom-color: #AB2D24;
}

.form__textarea {
  line-height: 1.7;
  resize: vertical;
}

.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Cloudflare Turnstile */
.cf-turnstile { margin-top: 4px; }

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 6px;
}

.form__note {
  font-size: 13px;
  line-height: 1.6;
  color: #AB2D24;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid rgba(24, 24, 58, 0.18);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(24, 24, 58, 0.55);
}

.footer__logo {
  height: 26px;
  width: auto;
}

/* ── Burger button (hidden on desktop) ── */
.header__burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  z-index: 22;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #18183A;
  transition: transform 0.3s, opacity 0.3s;
}

.header__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay (outside header stacking context) */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(24, 24, 58, 0.3);
  z-index: 19;
}

.nav-overlay.open { display: block; }

/* ── Responsive ── */
@media (max-width: 768px) {
  /* Remove backdrop-filter on mobile so fixed nav works correctly */
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #F6E2D0;
  }

  .header__burger { display: flex; }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 80vw);
    height: 100vh;
    height: 100dvh;
    background: #F6E2D0;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 40px;
    gap: 24px;
    font-size: 14px;
    box-shadow: -4px 0 24px rgba(24, 24, 58, 0.12);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s 0.3s;
    z-index: 21;
    pointer-events: none;
  }

  .header__nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.3s ease, visibility 0s;
  }

  .header__nav-contact { gap: 0; }

  .header__nav > a::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 1px;
    background: #AB2D24;
    vertical-align: middle;
    margin-right: 10px;
  }

  .lang-switch {
    margin-left: 0;
    border-left: 0;
    padding-left: 0;
    margin-top: auto;
    border-top: 1px solid rgba(24, 24, 58, 0.18);
    padding-top: 20px;
    width: 100%;
  }

  .hero { grid-template-columns: 1fr; }

  .hero__image { min-height: 280px; }

  .services__grid { grid-template-columns: 1fr; }

  .service-card { border-right: 0; }

  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(32px, 8vw, 40px); }

  .btn-primary { padding: 14px 22px; }
}

/* ── Skip-to-content ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100;
  background: #18183A;
  color: #F6E2D0;
  padding: 12px 24px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid #AB2D24;
  outline-offset: 2px;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Print ── */
@media print {
  .header,
  .nav-overlay,
  .hero__image,
  .cf-turnstile,
  .form__honeypot,
  .btn-primary::after { display: none; }

  body { background: #fff; color: #000; font-size: 12pt; }

  a { color: #000; }

  .approach { background: #fff; color: #000; }
  .approach a { color: #000; }
  .step { border-color: #ccc; }
  .step__body, .approach__tag { color: #444; }

  .contact__email { border-bottom-color: #000; }

  .hero { display: block; }
  .hero__content { animation: none; }
}
