
:root {
  --bg: #171818;
  --bg-2: #202121;
  --stone: #292a29;
  --stone-2: #313230;
  --card: #242525;
  --copper: #b67b55;
  --copper-light: #d1a27f;
  --sand: #d9c9b8;
  --paper: #eee8df;
  --text: #f1ece6;
  --muted: #aaa49c;
  --dark: #111212;
  --line: rgba(238, 232, 223, 0.13);
  --line-strong: rgba(238, 232, 223, 0.23);
  --shadow: 0 28px 80px rgba(0,0,0,.28);
  --radius: 18px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 118px 0; }
.skip-link {
  position: fixed; left: 10px; top: 10px; z-index: 9999;
  transform: translateY(-180%); background: var(--paper); color: var(--dark);
  padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { transform: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000; height: 82px;
  display: flex; align-items: center;
  background: rgba(18,19,19,.42); border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  transition: background .2s ease, border-color .2s ease;
}
.site-header.scrolled {
  background: rgba(20,21,21,.95);
  border-color: var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark { width: 42px; height: 42px; color: var(--copper-light); }
.brand-mark rect, .brand-mark path {
  fill: none; stroke: currentColor; stroke-width: 2;
}
.brand-mark path { stroke-width: 2.2; stroke-linecap: square; stroke-linejoin: miter; }
.brand-name { font-size: 1rem; letter-spacing: .11em; }
.brand-name strong { font-weight: 500; color: var(--sand); }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .9rem; font-weight: 650; }
.main-nav a { color: rgba(241,236,230,.76); transition: color .15s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a.active:not(.nav-cta) { position: relative; }
.main-nav a.active:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 1px; background: var(--copper);
}
.nav-cta {
  padding: 11px 18px; border: 1px solid var(--line-strong);
  border-radius: 999px; color: var(--text) !important;
}
.nav-cta:hover, .nav-cta.active { background: var(--copper); border-color: var(--copper); color: var(--dark) !important; }
.menu-button { display: none; }

/* General */
.eyebrow {
  margin: 0 0 18px; color: var(--sand); font-size: .73rem;
  font-weight: 800; letter-spacing: .19em; text-transform: uppercase;
}
.eyebrow.copper { color: var(--copper-light); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 590; letter-spacing: -.045em; }
h1 { font-size: clamp(3.1rem, 6vw, 6.6rem); line-height: .98; }
h2 { font-size: clamp(2.2rem, 4vw, 4.4rem); line-height: 1.06; }
h3 { line-height: 1.25; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 760; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.button:hover { transform: translateY(-2px); }
.button-copper { background: var(--copper); color: var(--dark); }
.button-copper:hover { background: var(--copper-light); }
.button-ghost { border-color: rgba(255,255,255,.3); color: var(--text); background: rgba(20,20,20,.18); }
.button-ghost:hover { border-color: var(--sand); background: rgba(20,20,20,.45); }
.button-dark { background: var(--dark); color: var(--paper); }
.button-dark:hover { background: #292a29; }
.text-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  color: var(--copper-light); font-weight: 740;
}
.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translateX(5px); }

/* Home hero */
.hero-home {
  position: relative; min-height: 900px; overflow: hidden;
  display: flex; align-items: flex-end; padding: 150px 0 82px;
  background: var(--dark);
}
.hero-photo {
  position: absolute; inset: 0;
  background-image:
    url("assets/jk-invest-pastatas.jpg"),
    url("assets/pastatas-placeholder.svg");
  background-size: cover;
  background-position: center 44%;
  filter: saturate(.84) contrast(1.04);
  transform: scale(1.015);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,12,12,.92) 0%, rgba(11,12,12,.73) 38%, rgba(11,12,12,.18) 72%, rgba(11,12,12,.35) 100%),
    linear-gradient(0deg, rgba(11,12,12,.82) 0%, transparent 48%);
}
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .55fr; gap: 100px; align-items: end;
}
.hero-copy { max-width: 780px; }
.hero-copy h1 { margin: 0; text-shadow: 0 8px 35px rgba(0,0,0,.35); }
.hero-copy h1 span { color: var(--copper-light); }
.hero-lead {
  max-width: 680px; margin: 31px 0 0; color: rgba(241,236,230,.78);
  font-size: 1.16rem; line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; margin-top: 38px; }
.hero-stat {
  padding: 28px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: rgba(18,19,19,.52); backdrop-filter: blur(14px); box-shadow: var(--shadow);
}
.stat-kicker { color: var(--copper-light); font-size: .7rem; font-weight: 800; letter-spacing: .18em; }
.hero-stat strong { display: block; margin: 16px 0 28px; font-size: 1.45rem; line-height: 1.35; }
.stat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-list span {
  padding: 12px 13px; border-top: 1px solid var(--line);
  color: rgba(241,236,230,.74); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em;
}

/* Sections */
.dark-section { background: var(--bg); }
.stone-section { background: var(--stone); }
.split-heading, .section-top {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 85px; align-items: end;
}
.split-heading .lead-copy, .section-top > div:last-child > p, .page-lead {
  color: var(--muted); font-size: 1.1rem; line-height: 1.85;
}
.section-top { margin-bottom: 62px; }
.home-services {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.home-service-card {
  min-height: 285px; padding: 30px; border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line); background: rgba(18,19,19,.15);
  transition: background .2s ease, transform .2s ease;
}
.home-service-card:hover { background: var(--card); transform: translateY(-4px); }
.home-service-card > span {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line-strong); border-radius: 50%; color: var(--copper-light);
  font-size: .75rem; font-weight: 800;
}
.home-service-card h3 { margin: 48px 0 16px; font-size: 1.35rem; }
.home-service-card p { margin: 0; color: var(--muted); }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; }
.audience-panel {
  min-height: 520px; padding: 58px; display: flex; flex-direction: column;
  justify-content: flex-end; border: 1px solid var(--line);
  background: linear-gradient(150deg, #232424, #191a1a);
  transition: transform .2s ease, border-color .2s ease;
}
.audience-panel:hover { transform: translateY(-5px); border-color: var(--copper); }
.audience-panel h2 { font-size: clamp(2.1rem, 3.3vw, 3.65rem); }
.audience-panel p { max-width: 520px; color: var(--muted); }
.audience-panel strong { margin-top: 24px; color: var(--copper-light); }
.photo-panel {
  position: relative; overflow: hidden;
  background:
    linear-gradient(0deg, rgba(22,23,23,.97), rgba(22,23,23,.35)),
    url("assets/jk-invest-pastatas.jpg"),
    url("assets/pastatas-placeholder.svg");
  background-size: cover;
  background-position: center;
}
.cta-strip { padding: 70px 0; background: var(--copper); color: var(--dark); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner .eyebrow { color: rgba(17,18,18,.66); }
.cta-inner h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.7rem); }

/* Page hero */
.page-hero {
  padding: 190px 0 105px; background:
    radial-gradient(circle at 88% 18%, rgba(182,123,85,.18), transparent 24%),
    linear-gradient(150deg, #1b1c1c, #131414);
  border-bottom: 1px solid var(--line);
}
.page-hero-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: end;
}
.page-hero h1 { margin: 0; font-size: clamp(3.2rem, 5.3vw, 5.9rem); }
.page-lead { margin: 0; }
.page-hero-photo { position: relative; overflow: hidden; }
.page-hero-photo::after {
  content: ""; position: absolute; inset: 0 0 0 auto; width: 42%;
  background:
    linear-gradient(90deg, #171818 0%, transparent 70%),
    url("assets/jk-invest-pastatas.jpg"),
    url("assets/pastatas-placeholder.svg");
  background-size: cover; background-position: center;
  opacity: .42;
}
.page-hero-photo .container { position: relative; z-index: 2; }

/* Services */
.service-details { border-top: 1px solid var(--line); }
.service-detail {
  display: grid; grid-template-columns: 80px 1.05fr .95fr; gap: 46px;
  padding: 58px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px;
}
.service-index {
  display: grid; place-items: center; align-self: start; width: 52px; height: 52px;
  border: 1px solid var(--line-strong); border-radius: 50%; color: var(--copper-light);
  font-size: .78rem; font-weight: 800;
}
.service-detail h2 { margin-bottom: 22px; font-size: clamp(1.8rem, 2.8vw, 3rem); }
.service-detail-main p { color: var(--muted); max-width: 620px; }
.service-detail ul { margin: 6px 0 0; padding: 0; list-style: none; }
.service-detail li {
  position: relative; padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line);
  color: #cbc4bb;
}
.service-detail li::before {
  content: ""; position: absolute; left: 0; top: 22px; width: 9px; height: 1px; background: var(--copper);
}

/* Value cards / process */
.value-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 75px;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.value-card {
  min-height: 300px; padding: 30px; border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015);
}
.value-card > span, .principle-card > span { color: var(--copper-light); font-size: .76rem; font-weight: 800; }
.value-card h3 { margin: 65px 0 16px; font-size: 1.35rem; }
.value-card p, .principle-card p { color: var(--muted); }
.process-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li {
  display: grid; grid-template-columns: 62px 1fr; gap: 24px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.process-list li > span { color: var(--copper-light); font-weight: 800; }
.process-list strong { font-size: 1.18rem; }
.process-list p { margin: 7px 0 0; color: var(--muted); }

/* Feature / about */
.feature-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.feature-photo {
  min-height: 570px; border: 1px solid var(--line);
  background:
    linear-gradient(0deg, rgba(23,24,24,.22), transparent),
    url("assets/jk-invest-pastatas.jpg"),
    url("assets/pastatas-placeholder.svg");
  background-size: cover; background-position: center;
  box-shadow: var(--shadow);
}
.about-photo { background-position: 58% center; }
.feature-copy p { color: var(--muted); font-size: 1.05rem; line-height: 1.85; }
.section-heading { max-width: 800px; margin-bottom: 65px; }
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principle-card { min-height: 270px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-card h3 { margin: 58px 0 16px; font-size: 1.45rem; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; }
.contact-info > p { color: var(--muted); font-size: 1.05rem; }
.contact-points { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-points div { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-points span { color: var(--copper-light); font-size: .75rem; font-weight: 800; }
.contact-points p { margin: 0; color: #d4cdc5; }
.contact-placeholder {
  display: grid; margin-top: 40px; padding: 25px;
  border: 1px solid var(--line); background: rgba(18,19,19,.25);
}
.contact-placeholder small { color: var(--muted); margin-bottom: 4px; }
.contact-placeholder strong { margin-bottom: 18px; }
.contact-form {
  padding: 38px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--bg-2); box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; margin-bottom: 19px; }
.contact-form label > span { display: block; margin-bottom: 8px; color: #c7c0b8; font-size: .82rem; font-weight: 650; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; min-height: 52px; padding: 13px 14px;
  border: 1px solid var(--line-strong); border-radius: 4px;
  background: #171818; color: var(--text); outline: none;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--copper); }
.consent { display: flex !important; gap: 11px; align-items: flex-start; }
.consent input { width: 17px; min-height: 17px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--copper); }
.consent span { margin: 0 !important; font-weight: 400 !important; }
.form-button { width: 100%; }
.form-status { min-height: 22px; margin: 13px 0 0; color: var(--copper-light); text-align: center; font-size: .86rem; }

/* Footer */
.site-footer { padding: 40px 0; background: #0e0f0f; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 35px; align-items: center; }
.footer-links { display: flex; gap: 22px; color: var(--muted); font-size: .84rem; }
.footer-links a:hover { color: var(--text); }
.footer-meta { justify-self: end; text-align: right; color: #77736e; font-size: .76rem; }
.footer-meta p { margin: 2px 0; }

/* Animations */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .main-nav { gap: 18px; font-size: .83rem; }
  .hero-content { grid-template-columns: 1fr .48fr; gap: 45px; }
  .split-heading, .section-top, .page-hero-grid { gap: 50px; }
  .feature-split, .contact-layout { gap: 55px; }
}
@media (max-width: 850px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 88px 0; }
  .site-header { height: 72px; }
  .menu-button {
    position: relative; z-index: 1002; display: grid; place-content: center; gap: 5px;
    width: 42px; height: 42px; border: 0; background: transparent; color: var(--text);
  }
  .menu-button span:not(.sr-only) { width: 22px; height: 1.5px; background: currentColor; transition: .18s ease; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 0; z-index: 1001; padding: 100px 30px 40px;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 0;
    background: #151616; transform: translateX(100%); transition: transform .25s ease;
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
  .main-nav a.active:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 20px; text-align: center; }
  .hero-home { min-height: 820px; padding: 130px 0 60px; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-stat { max-width: 580px; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(11,12,12,.88), rgba(11,12,12,.35)),
      linear-gradient(0deg, rgba(11,12,12,.9), transparent);
  }
  .split-heading, .section-top, .page-hero-grid, .process-layout, .feature-split, .contact-layout { grid-template-columns: 1fr; }
  .home-services, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 145px 0 78px; }
  .page-hero-photo::after { width: 65%; opacity: .22; }
  .service-detail { grid-template-columns: 62px 1fr; }
  .service-detail ul { grid-column: 2; }
  .feature-photo { min-height: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { justify-self: end; flex-wrap: wrap; justify-content: flex-end; }
  .footer-meta { grid-column: 1 / -1; justify-self: start; text-align: left; padding-top: 18px; border-top: 1px solid var(--line); }
}
@media (max-width: 580px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-home { min-height: 850px; align-items: flex-end; }
  .hero-photo { background-position: 61% center; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-stat { padding: 22px; }
  .home-services, .value-grid, .principle-grid { grid-template-columns: 1fr; }
  .home-service-card, .value-card { min-height: 250px; }
  .audience-panel { min-height: 470px; padding: 34px 26px; }
  .cta-inner { flex-direction: column; align-items: stretch; }
  .service-detail { grid-template-columns: 1fr; gap: 22px; }
  .service-detail ul { grid-column: auto; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 18px; }
  .feature-photo { min-height: 390px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; justify-content: flex-start; }
  .footer-meta { grid-column: auto; }
}
