/* =============================================
   VARIABLES
   ============================================= */
:root {
  --paper:    #F7F6F2;
  --paper-2:  #EDEAE3;
  --ink:      #0F1C2E;
  --ink-soft: #2E4060;
  --muted:    #6B7590;
  --brand:    #1E2D3D;
  --brand-deep:#131E2A;
  --accent:   #C49A10;
  --line:     #D8D5CE;
  --yellow:   #F5C518;
  --maxw:     1180px;
  --ease:     cubic-bezier(.22,.61,.36,1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--brand); color: var(--paper); }
h1,h2,h3,h4 { font-family: "Fraunces", serif; font-weight: 400; line-height: 1.05; letter-spacing: -.015em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* =============================================
   LAYOUT
   ============================================= */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* =============================================
   NAVBAR
   ============================================= */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--brand);
  padding: 20px 0;
  transition: padding .3s var(--ease), box-shadow .3s var(--ease);
}
header.scrolled {
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 36px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  position: relative;
  transition: color .25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: var(--yellow);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--yellow) !important;
  color: var(--brand) !important;
  padding: 9px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #d4a800 !important; }
.nav-lang {
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: .1em;
  color: rgba(255,255,255,.55) !important;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 4px;
  padding: 4px 8px;
}
.nav-lang::after { display: none !important; }
.nav-lang:hover { color: #fff !important; border-color: rgba(255,255,255,.6) !important; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.burger span {
  width: 24px; height: 2px;
  background: #fff;
  transition: .3s;
  display: block;
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 98;
}
.nav-overlay.open { display: block; }

/* =============================================
   HERO
   ============================================= */
.hero {
  padding-top: 80px; /* navbar height */
  background: #fff;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 60px;
  align-items: end;
}
.hero-eyebrow {
  grid-column: 1;
  grid-row: 1;
  padding-top: 60px;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-text {
  grid-column: 1;
  grid-row: 2;
  padding-bottom: 60px;
}
.hero-text h1 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 380;
  letter-spacing: -.03em;
  max-width: 16ch;
  margin-bottom: 24px;
}
.hero-text h1 em { font-style: italic; color: var(--brand); }
.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 50ch;
  margin-bottom: 32px;
}
.founder-tag {
  font-size: 15px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 14px;
}
.founder-tag .ln { width: 40px; height: 1px; background: var(--line); }
.hero-photo-col {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.hero-photo-col img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* =============================================
   SERVICES HEADING
   ============================================= */
.svc-heading {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 72px 0 48px;
  margin-bottom: 0;
}
.svc-heading .sec-num {
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
}
.svc-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 380;
  margin-bottom: 20px;
  color: var(--ink);
}
.svc-heading p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 60ch;
}

/* =============================================
   SERVICE DETAIL SECTIONS
   ============================================= */
.detail {
  padding: 80px 0;
  background: var(--paper);
}
.detail + .detail {
  border-top: 1px solid var(--line);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.detail-left {
  position: sticky;
  top: 100px;
}
.detail-kicker {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.detail-left h2 {
  font-size: 3rem !important;
  font-weight: 380;
  margin-bottom: 20px;
}
.detail-left p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.detail-note {
  margin-top: 28px;
  padding: 22px 26px;
  background: var(--paper-2);
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
  font-size: .97rem;
  color: var(--ink-soft);
}
.detail-note strong { font-weight: 600; color: var(--ink); }

/* Service list */
.svc-list-label {
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.svc-list { list-style: none; }
.svc-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: baseline;
}
.svc-list li:first-of-type { border-top: 1px solid var(--line); }
.svc-list .idx {
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--accent);
  font-size: .95rem;
}
.svc-list .it strong {
  display: block;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.svc-list .it span {
  color: var(--ink-soft);
  font-size: .97rem;
}

/* Video embed */
.video-embed {
  margin-top: 28px;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.video-embed iframe {
  width: 100%; height: 100%;
  display: block;
  border: none;
}

/* Report cover */
.report-cover {
  margin-top: 28px;
}
.report-cover a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  max-width: 260px;
  box-shadow: 0 8px 30px -10px rgba(15,28,46,.3);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.report-cover a:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -10px rgba(15,28,46,.4);
}
.report-cover img { width: 100%; height: auto; }
.report-cover .dl-link {
  margin-top: 12px;
  font-size: .92rem;
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: block;
}

/* =============================================
   RAPPORT SECTION (dark)
   ============================================= */
.rapport-section {
  background: var(--brand);
  color: var(--paper);
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.rapport-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  align-items: center;
}
.rapport-section .sec-num {
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
}
.rapport-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 380;
  color: var(--paper);
  margin-bottom: 20px;
}
.rapport-section h2 em { font-style: italic; }
.rapport-section p { color: rgba(245,242,234,.75); font-size: 1.08rem; }
.rapport-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  background: var(--paper);
  color: var(--brand);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: background .25s, transform .25s var(--ease);
}
.rapport-btn:hover { background: #fff; transform: translateY(-2px); }
.rapport-card {
  border: 1px solid rgba(245,242,234,.18);
  border-radius: 14px;
  padding: 40px;
  background: rgba(245,242,234,.05);
}
.rapport-card .big {
  font-family: "Fraunces", serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--accent);
}
.rapport-card .big-sub {
  font-size: 1rem;
  color: rgba(245,242,234,.65);
  margin-top: 6px;
}
.rapport-card .quote {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.4rem;
  margin-top: 28px;
  line-height: 1.3;
  color: var(--paper);
}

/* =============================================
   REFERENCES
   ============================================= */
.refs {
  padding: 100px 0;
  background: var(--brand);
}
.refs .sec-head { margin-bottom: 56px; }
.refs .sec-num { color: var(--yellow); }
.refs .sec-head h2 { color: var(--paper); }
.sec-num {
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
}
.sec-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 380;
}
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.quote-card {
  background: rgba(245,242,234,.06);
  border: 1px solid rgba(245,242,234,.15);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px -24px rgba(0,0,0,.4);
}
.qmark {
  font-family: "Fraunces", serif;
  font-size: 3rem;
  line-height: .4;
  color: var(--yellow);
  height: 28px;
  margin-bottom: 20px;
}
.quote-card blockquote {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(245,242,234,.78);
  flex: 1;
  margin-bottom: 24px;
}
.quote-by {
  border-top: 1px solid rgba(245,242,234,.15);
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(100%);
}
.quote-by strong { font-weight: 600; font-size: .95rem; display: block; color: var(--paper); line-height: 1.2; }
.quote-by span { color: rgba(245,242,234,.55); font-size: .85rem; line-height: 1.3; display: block; margin-top: 2px; }

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: end;
}
.about-photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.about-photo img {
  width: auto;
  max-width: 100%;
  max-height: 580px;
  height: auto;
  display: block;
}
.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 380;
  margin-bottom: 24px;
}
.about-text p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin-bottom: 18px;
}
.about-text .about-sign {
  font-size: 15px;
  color: var(--muted);
  margin-top: 28px;
  margin-bottom: 0;
}

/* =============================================
   CONTACT + FOOTER
   ============================================= */
.contact {
  padding: 110px 0 0;
  text-align: center;
}
.contact .sec-num { color: var(--accent); }
.contact h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 360;
  letter-spacing: -.03em;
  max-width: 16ch;
  margin: 0 auto;
}
.contact h2 em { font-style: italic; color: var(--brand); }
.contact-details {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 32px 48px;
  border-right: 1px solid var(--line);
  transition: background .25s;
  text-align: left;
}
.contact-item:first-child { border-left: 1px solid var(--line); }
.contact-item:hover { background: var(--paper-2); }
.contact-label {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.contact-value {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  color: var(--brand);
  font-weight: 400;
}
footer {
  margin-top: 100px;
  border-top: 1px solid var(--line);
  padding: 20px 0 60px;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.foot .logo img { height: 32px; width: auto; filter: brightness(0); }
.foot-meta {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-meta a:hover { color: var(--ink); }

/* =============================================
   REVEAL ANIMATION
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* Hero entrance */
.hero-eyebrow, .hero-text h1, .hero-lead, .founder-tag {
  opacity: 0;
  animation: rise .9s var(--ease) forwards;
}
.hero-eyebrow  { animation-delay: .1s; }
.hero-text h1  { animation-delay: .25s; }
.hero-lead     { animation-delay: .42s; }
.founder-tag   { animation-delay: .6s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* =============================================
   RESPONSIVE — TABLET / MOBILE (≤900px)
   ============================================= */
@media (max-width: 900px) {

  /* Navbar */
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: min(76vw, 300px);
    height: 100vh;
    background: var(--brand);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    padding: 80px 32px 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: none;
    z-index: 99;
  }
  .nav-links.open {
    transform: none;
    box-shadow: -20px 0 60px -20px rgba(0,0,0,.4);
  }
  .nav-links a {
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    width: 100%;
  }
  .nav-links a.nav-cta {
    border-bottom: none;
    margin-top: 10px;
    text-align: center;
    padding: 10px 20px;
  }
  .nav-links a.nav-lang {
    border-bottom: none;
    margin-top: 6px;
    width: auto;
    align-self: flex-start;
    font-size: 12px;
    padding: 5px 10px;
  }
  .burger { display: flex; }

  /* Hero: stack vertically, photo first */
  .hero-inner {
    display: flex;
    flex-direction: column;
  }
  .hero-eyebrow { order: 1; padding-top: 30px; margin-bottom: 0; }
  .hero-photo-col {
    order: 2;
    justify-content: flex-start;
    margin: 12px -32px 0;
  }
  .hero-photo-col img {
    width: 78%;
    margin-left: 0;
  }
  .hero-text {
    order: 3;
    padding-bottom: 48px;
    padding-top: 8px;
  }

  /* Layouts */
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-left { position: static; }
  .rapport-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .quotes-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; margin: 0 auto; }

  /* Services heading */
  .svc-heading { padding: 56px 0 40px; }

  /* Contact */
  .contact-details { flex-direction: column; border: none; margin-top: 36px; }
  .contact-item { border: none !important; border-bottom: 1px solid var(--line) !important; padding: 24px 0; text-align: left; }
  .contact-item:first-child { border-top: 1px solid var(--line) !important; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  body { font-size: 17px; }
  .detail { padding: 60px 0; }
  .rapport-section { padding: 70px 0; }
  .refs, .about, .contact { padding: 70px 0 0; }
}
