/* ============================================================
   SYNCORA GLOBAL — International Business Operations
   ============================================================ */

/* ---- Self-hosted Inter (variable) — zero external dependencies ---- */
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:100 900; font-display:swap;
  src:url('../assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:100 900; font-display:swap;
  src:url('../assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:100 900; font-display:swap;
  src:url('../assets/fonts/inter-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:100 900; font-display:swap;
  src:url('../assets/fonts/inter-cyrillic-ext-wght-normal.woff2') format('woff2');
  unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

:root{
  --cream:      #f4f1ea;
  --cream-2:    #efece4;
  --cream-3:    #eae6dc;
  --ink:        #1c1b17;
  --ink-soft:   #2e2b25;
  --muted:      #5d584a;
  --muted-2:    #6c6658;
  --line:       #d9d4c8;
  --line-soft:  #e2ddd2;
  --gold:       #a5884e;
  --gold-2:     #c9a227;
  --dark:       #17150f;
  --dark-2:     #201d16;
  --dark-line:  #34302563;
  --maxw: 1500px;
}

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

html{ scroll-behavior:smooth; font-size:20px; }

body{
  font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

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

/* ---------- shared typographic pieces ---------- */
.sec-num{
  display:inline-block;
  font-size:.72rem;
  letter-spacing:.28em;
  font-weight:500;
  color:var(--gold);
  margin-bottom:1.4rem;
}
.sec-num.gold{ color:var(--gold-2); }

.sec-title{
  font-weight:400;
  font-size:2rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  line-height:1.15;
  color:var(--ink);
}
.sec-title.sm{ font-size:1.35rem; letter-spacing:.13em; }
.sec-title.light{ color:#f2efe7; }

.sec-sub{
  font-size:.9rem;
  color:var(--muted);
  margin-top:.55rem;
  font-weight:300;
}
.sec-sub.light{ color:#b7b1a2; }

.body{
  font-size:.9rem;
  font-weight:300;
  color:var(--ink-soft);
  max-width:34em;
}
.lang-ua{ color:var(--muted); }
.body.lang-ua{ margin-top:1rem; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:1.6rem;
  font-size:.72rem;
  letter-spacing:.2em;
  font-weight:500;
  text-decoration:none;
  transition:.25s ease;
}
.btn-dark{
  background:var(--ink);
  color:#f4f1ea;
  padding:1.05rem 1.8rem;
}
.btn-dark span{ transition:transform .25s ease; }
.btn-dark:hover{ background:#000; }
.btn-dark:hover span{ transform:translateX(5px); }

.btn-outline{
  border:1px solid var(--ink);
  color:var(--ink);
  padding:1.05rem 1.9rem;
  background:transparent;
}
.btn-outline .btn-col{ display:flex; flex-direction:column; gap:.25rem; text-align:left; }
.btn-outline .btn-s{ font-size:.64rem; letter-spacing:.14em; color:var(--muted); font-weight:400; }
.btn-outline .btn-arrow{ font-size:1rem; transition:transform .25s ease; }
.btn-outline:hover{ background:var(--ink); color:var(--cream); }
.btn-outline:hover .btn-s{ color:var(--cream-3); }
.btn-outline:hover .btn-arrow{ transform:translateX(5px); }

/* ---------- contact modal ---------- */
.cmodal{ position:fixed; inset:0; z-index:200; display:none; }
.cmodal.open{ display:block; }
.cmodal-overlay{
  position:absolute; inset:0;
  background:rgba(18,16,11,.55);
  backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  animation:cfade .25s ease;
}
.cmodal-card{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:min(93vw, 430px);
  background:var(--cream);
  border:1px solid var(--line);
  padding:2.8rem 2.4rem 2.4rem;
  box-shadow:0 30px 90px rgba(0,0,0,.30);
  animation:cpop .3s cubic-bezier(.2,.7,.3,1);
}
.cmodal-close{
  position:absolute; top:1.1rem; right:1.1rem;
  width:34px; height:34px; padding:7px;
  background:transparent; border:none; cursor:pointer;
  color:var(--muted); transition:color .2s;
}
.cmodal-close svg{ width:100%; height:100%; }
.cmodal-close:hover{ color:var(--ink); }
.cmodal-eyebrow{ font-size:.68rem; letter-spacing:.28em; color:var(--gold); font-weight:500; }
.cmodal-title{
  font-size:1.6rem; letter-spacing:.06em; text-transform:uppercase;
  font-weight:400; color:var(--ink); margin-top:.5rem;
}
.cmodal-sub{ font-size:.86rem; color:var(--muted); margin-top:.4rem; }

.cmodal-options{ margin-top:1.8rem; display:flex; flex-direction:column; gap:.9rem; }
.copt{
  display:flex; align-items:center; gap:1rem;
  padding:1.05rem 1.2rem;
  border:1px solid var(--line);
  text-decoration:none; color:var(--ink);
  transition:background .2s, color .2s, border-color .2s;
}
.copt:hover{ background:var(--ink); color:var(--cream); border-color:var(--ink); }
.copt-ico{ flex:0 0 auto; width:26px; height:26px; color:currentColor; }
.copt-ico svg{ width:100%; height:100%; }
.copt-text{ display:flex; flex-direction:column; flex:1; gap:.15rem; }
.copt-t{ font-size:.98rem; font-weight:500; letter-spacing:.03em; }
.copt-s{ font-size:.78rem; color:var(--muted); }
.copt:hover .copt-s{ color:var(--cream-3); }
.copt-arrow{ font-size:1.05rem; transition:transform .2s; }
.copt:hover .copt-arrow{ transform:translateX(5px); }

@keyframes cfade{ from{ opacity:0; } to{ opacity:1; } }
@keyframes cpop{ from{ opacity:0; transform:translate(-50%,-46%) scale(.97); } to{ opacity:1; transform:translate(-50%,-50%) scale(1); } }
@media (prefers-reduced-motion:reduce){
  .cmodal-overlay,.cmodal-card{ animation:none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  display:grid;
  grid-template-columns:300px 1fr;
  min-height:100vh;
  border-bottom:1px solid var(--line);
}

.sidebar{
  display:flex;
  flex-direction:column;
  padding:2.4rem 1.8rem;
  background:var(--cream);
  border-right:1px solid var(--line);
}

.brand{
  display:flex;
  align-items:center;
  gap:.7rem;
  text-decoration:none;
  color:var(--ink);
}
.brand-mark{ width:46px; height:46px; color:var(--ink); }
.brand-mark svg{ width:100%; height:100%; }
.brand-text{ display:flex; flex-direction:column; line-height:1.05; }
.brand-name{ font-size:1.5rem; letter-spacing:.15em; font-weight:500; }
.brand-sub{ font-size:.9rem; letter-spacing:.36em; color:var(--muted); font-weight:400; }

.nav{
  display:flex;
  flex-direction:column;
  gap:1.15rem;
  margin-top:5.5rem;
}
.nav a{
  font-size:.72rem;
  letter-spacing:.18em;
  color:var(--ink-soft);
  text-decoration:none;
  transition:.2s;
  width:max-content;
}
.nav a:hover{ color:var(--gold); }

.sidebar-tag{
  margin-top:auto;
  font-size:.68rem;
  letter-spacing:.24em;
  color:var(--muted);
  line-height:1.9;
  position:relative;
  padding-top:1.6rem;
}
.sidebar-tag .rule{
  position:absolute; top:0; left:0;
  width:26px; height:1px; background:var(--ink);
}

/* hero main */
.hero-main{
  position:relative;
  display:flex;
  align-items:center;
  background:url('../assets/01.jpg') center right / cover no-repeat;
  overflow:hidden;
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(100deg, var(--cream) 0%, rgba(244,241,234,.9) 22%, rgba(244,241,234,.35) 46%, rgba(244,241,234,0) 66%),
    linear-gradient(to bottom, rgba(244,241,234,.6) 0%, rgba(244,241,234,0) 30%);
}
.hero-content{
  position:relative;
  z-index:2;
  padding:4rem 4.5rem;
  max-width:980px;
}
.hero-title{
  font-weight:400;
  font-size:clamp(2rem, 3.2vw, 2.8rem);
  letter-spacing:.04em;
  text-transform:uppercase;
  line-height:1.25;
  color:var(--ink);
}
.hero-sub{
  margin-top:1.3rem;
  font-size:1rem;
  font-weight:300;
  color:var(--ink-soft);
  line-height:1.5;
}
.hero-body{ margin-top:2.4rem; max-width:33em; }
.hero-body .lang-en{ font-size:.9rem; font-weight:300; color:var(--ink-soft); }
.hero-body .lang-ua{ font-size:.82rem; margin-top:1rem; }
.hero-meta{ margin-top:2.6rem; }
.hero-meta p{ font-size:.68rem; letter-spacing:.14em; color:var(--ink-soft); }
.hero-meta .lang-ua{ margin-top:.35rem; color:var(--muted); }
.hero-content .btn{ margin-top:2.4rem; }

/* menu toggle (mobile) */
.menu-toggle{
  display:none;
  position:fixed; top:1.4rem; right:1.4rem; z-index:60;
  width:44px; height:44px;
  background:var(--ink);
  border:none; cursor:pointer;
  flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.menu-toggle span{ width:20px; height:1.5px; background:var(--cream); transition:.25s; }
.menu-toggle.is-open span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2){ opacity:0; }
.menu-toggle.is-open span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   01 ABOUT
   ============================================================ */
.about{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:stretch;
  border-bottom:1px solid var(--line);
}
.about-text{ padding:5.5rem 4.5rem; align-self:center; }
.about-text .sec-title{ margin-top:0; }
.about-text .sec-sub{ margin-bottom:2.2rem; }
.about-text .body.lang-en{ margin-bottom:0; }

.feature-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
  margin-top:3.2rem;
}
.feature-ico{ display:block; width:38px; height:34px; color:var(--ink); margin-bottom:1rem; }
.feature-ico svg{ width:100%; height:100%; }
.feature-t{ font-size:.72rem; letter-spacing:.13em; font-weight:500; line-height:1.5; }
.feature-s{ font-size:.88rem; color:var(--muted); font-weight:400; margin-top:.5rem; line-height:1.45; }

.about-media{ position:relative; min-height:420px; }
.about-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }

/* ============================================================
   MIDDLE BAND — 02 / 03 / 04
   ============================================================ */
.band{
  display:grid;
  grid-template-columns:1fr 1.55fr 1.05fr;
  background:
    linear-gradient(rgba(244,241,234,.60), rgba(244,241,234,.66)),
    var(--cream-2) url('../assets/03.jpg') center / cover no-repeat;
  border-bottom:1px solid var(--line);
}
.band .col{ padding:4.5rem 3rem; }
.col-story{ border-right:1px solid var(--line); }
.col-services{ border-right:1px solid var(--line); }
.band .sec-sub{ margin-bottom:2.6rem; }

/* timeline */
.timeline{ list-style:none; position:relative; margin-top:.4rem; }
.timeline::before{
  content:""; position:absolute; left:5px; top:6px; bottom:6px;
  width:1.5px; background:var(--ink);
}
.timeline li{ position:relative; padding-left:2.4rem; padding-bottom:1.9rem; }
.timeline li:last-child{ padding-bottom:0; }
.tl-dot{
  position:absolute; left:0; top:3px;
  width:11px; height:11px; border-radius:50%; background:var(--ink);
}
.tl-t{ font-size:.82rem; font-weight:500; letter-spacing:.01em; }
.tl-s{ font-size:.86rem; color:var(--muted); font-weight:400; margin-top:.3rem; line-height:1.4; }

/* services cards */
.cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid var(--line-soft);
  border-left:1px solid var(--line-soft);
}
.card{
  display:flex;
  gap:1rem;
  padding:1.8rem 1.6rem;
  border-right:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
  min-height:118px;
}
.card-ico{ flex:0 0 auto; width:30px; height:30px; color:var(--ink); }
.card-ico svg{ width:100%; height:100%; }
.card-t{ font-size:.7rem; letter-spacing:.1em; font-weight:500; line-height:1.5; }
.card-s{ font-size:.84rem; color:var(--muted); font-weight:400; margin-top:.5rem; line-height:1.42; }

/* mission */
.mission-head{
  font-weight:400;
  font-size:1.9rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  line-height:1.22;
  margin-top:.4rem;
}
.mission-sub{ font-size:.9rem; color:var(--muted); font-weight:300; margin-top:1rem; line-height:1.4; }
.col-mission .body.lang-en{ margin-top:2rem; }

/* ============================================================
   05 HOW WE WORK
   ============================================================ */
.process{
  position:relative;
  background:var(--dark);
  color:#e9e5db;
  overflow:hidden;
  border-bottom:1px solid #000;
}
.process::after{
  content:""; position:absolute; top:0; right:0; bottom:0;
  width:52%;
  background:url('../assets/07.jpg') center right / cover no-repeat;
  opacity:.5;
  -webkit-mask-image:linear-gradient(to left, #000 40%, transparent 100%);
  mask-image:linear-gradient(to left, #000 40%, transparent 100%);
  pointer-events:none;
}
.process-inner{ position:relative; z-index:2; padding:5rem 4.5rem 5.5rem; }
.process-head{ margin-bottom:3.4rem; }

.process-grid{
  display:grid;
  grid-template-columns:1.7fr 1fr;
  gap:3.5rem;
  align-items:start;
}

.steps{
  list-style:none;
  display:flex;
  align-items:flex-start;
  gap:.4rem;
  flex-wrap:wrap;
}
.step{ display:flex; flex-direction:column; align-items:center; text-align:center; width:132px; }
.step-ico{
  width:74px; height:74px; border-radius:50%;
  background:var(--dark-2);
  border:1px solid #3a352880;
  display:flex; align-items:center; justify-content:center;
  color:var(--gold-2);
  margin-bottom:1.1rem;
}
.step-ico svg{ width:40px; height:40px; }
.step-t{ font-size:.66rem; letter-spacing:.11em; font-weight:500; color:#efeade; line-height:1.5; }
.step-s{ font-size:.68rem; color:#a49d8d; font-weight:300; margin-top:.4rem; line-height:1.4; }
.steps .arrow{
  color:#6e6656; align-self:center; margin-top:26px;
  font-size:1rem; padding:0 .1rem;
}

.process-note{ max-width:30em; }
.process-note .lang-en{ font-size:.86rem; font-weight:300; color:#d8d2c5; }
.process-note .lang-ua{ font-size:.8rem; color:#9c968786; margin-top:1rem; color:#9d9585; }

/* ============================================================
   06 CONTACT
   ============================================================ */
.contact{
  display:grid;
  grid-template-columns:1.35fr 1fr;
  background:var(--cream);
  align-items:stretch;
}
.contact-main{
  display:grid;
  grid-template-columns:200px 1fr;
  padding:5rem 4.5rem;
  gap:2rem;
  align-content:center;
}
.contact-head .sec-title{ margin-top:0; }
.contact-brand{
  font-weight:400;
  font-size:1.9rem;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.contact-lines{ margin-top:1.6rem; margin-bottom:2.4rem; }
.cl-t{ font-size:.74rem; letter-spacing:.12em; font-weight:500; margin-top:1rem; }
.cl-t:first-child{ margin-top:0; }
.cl-s{ font-size:.76rem; color:var(--muted); font-weight:300; margin-top:.2rem; }

.contact-media{ position:relative; min-height:340px; border-left:1px solid var(--line); }
.contact-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }

/* footer */
.footer{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:.6rem;
  padding:1.6rem 4.5rem;
  background:var(--dark);
  color:#a49d8d;
  font-size:.66rem;
  letter-spacing:.16em;
}

/* ============================================================
   REVEAL
   ============================================================ */
html.js .reveal{ opacity:0; transform:translateY(22px); transition:opacity .8s ease, transform .8s ease; }
html.js .reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  html.js .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1080px){
  .hero-content{ padding:3.5rem 3rem; }
  .about-text,.contact-main,.process-inner{ padding-left:3rem; padding-right:3rem; }
  .band .col{ padding:3.5rem 2.2rem; }
  .process-grid{ grid-template-columns:1fr; gap:3rem; }
  .process::after{ width:70%; opacity:.35; }
}

@media (max-width:900px){
  .menu-toggle{ display:flex; }
  .hero{ grid-template-columns:1fr; min-height:auto; }
  .sidebar{
    position:fixed; inset:0 0 0 auto; width:min(78vw,300px); z-index:55;
    transform:translateX(100%); transition:transform .35s ease;
    box-shadow:-20px 0 60px rgba(0,0,0,.15);
  }
  .sidebar.open{ transform:none; }
  .nav{ margin-top:3rem; }

  .hero-main{ min-height:82vh; }
  .hero-content{ padding:3rem 1.6rem; }

  .about{ grid-template-columns:1fr; }
  .about-media{ min-height:340px; order:-1; }

  .band{ grid-template-columns:1fr; }
  .col-story,.col-services{ border-right:none; border-bottom:1px solid var(--line); }

  .contact{ grid-template-columns:1fr; }
  .contact-main{ grid-template-columns:1fr; }
  .contact-media{ min-height:280px; border-left:none; border-top:1px solid var(--line); order:-1; }
}

@media (max-width:560px){
  .hero-content{ padding:2.4rem 1.3rem; }
  .about-text,.contact-main,.process-inner,.footer{ padding-left:1.4rem; padding-right:1.4rem; }
  .band .col{ padding:3rem 1.4rem; }
  .feature-row{ grid-template-columns:1fr; gap:1.8rem; }
  .cards{ grid-template-columns:1fr; }
  .card{ border-left:1px solid var(--line-soft); }
  .steps{ justify-content:center; }
  .steps .arrow{ display:none; }
  .step{ width:44%; }
  .sec-title{ font-size:1.6rem; }
  .mission-head,.contact-brand{ font-size:1.55rem; }
  .footer{ flex-direction:column; }
}
