:root {
  --ink: #070707;
  --ink-soft: #11100e;
  --paper: #f3efe7;
  --paper-2: #e9e2d5;
  --gold: #d9a52d;
  --gold-bright: #f3ca57;
  --gold-dark: #98701a;
  --white: #fffdf8;
  --muted: #a9a39a;
  --line: rgba(255, 255, 255, .14);
  --container: min(1180px, calc(100% - 48px));
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 16px; background: var(--gold); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; color: var(--white); }
.header-inner { height: 112px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand img { width: 82px; height: 82px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 32px; font-size: .875rem; font-weight: 650; letter-spacing: .02em; }
.nav a { position: relative; }
.nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px; background: var(--gold); transition: width .25s ease; }
.nav a:hover::after, .nav a:focus-visible::after { width: 100%; }
.nav-cta { padding: 12px 18px; color: var(--ink); background: var(--gold-bright); border: 1px solid var(--gold-bright); }
.nav-cta:hover { background: transparent; color: var(--gold-bright); }
.menu-toggle { position: relative; z-index: 16; display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: transparent; color: white; }
.menu-toggle span { display: block; width: 22px; height: 1px; background: currentColor; margin: 6px auto; }

.hero { min-height: 820px; color: var(--white); background: radial-gradient(circle at 70% 45%, rgba(217,165,45,.14), transparent 28%), var(--ink); padding: 164px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, black, transparent 63%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 74px; align-items: center; }
.eyebrow, .section-kicker { margin: 0 0 24px; color: var(--gold); font-weight: 750; font-size: .75rem; text-transform: uppercase; letter-spacing: .22em; }
.hero h1 { max-width: 780px; margin: 0; font-size: clamp(3.7rem, 6.3vw, 6.9rem); line-height: .91; letter-spacing: -.065em; font-weight: 700; }
.hero h1 em { display: block; color: var(--gold-bright); font-family: var(--serif); font-weight: 400; }
.hero-lead { max-width: 620px; margin: 34px 0 0; color: #d6d0c6; font-size: 1.14rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 14px 22px; border: 1px solid transparent; font-size: .9rem; font-weight: 750; transition: .25s ease; cursor: pointer; }
.button-primary { color: var(--ink); background: var(--gold-bright); border-color: var(--gold-bright); }
.button-primary:hover, .button-primary:focus-visible { background: #ffe084; transform: translateY(-2px); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.25); }
.button-ghost:hover, .button-ghost:focus-visible { border-color: var(--gold); color: var(--gold-bright); }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 58px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { color: var(--gold-bright); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-proof span { color: var(--muted); font-size: .73rem; margin-top: 4px; }
.hero-visual { position: relative; min-height: 590px; }
.hero-photo { position: relative; margin: 0 34px 0 0; height: 590px; overflow: hidden; border-radius: 260px 260px 10px 10px; box-shadow: 0 30px 80px rgba(0,0,0,.48); }
.hero-photo::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(to top, rgba(0,0,0,.28), transparent 45%); pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-badge { position: absolute; left: -46px; bottom: 42px; max-width: 310px; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: rgba(8,8,8,.92); border: 1px solid var(--gold-dark); box-shadow: 0 20px 50px rgba(0,0,0,.35); backdrop-filter: blur(12px); }
.hero-badge strong, .hero-badge small { display: block; }
.hero-badge strong { font-size: .83rem; }
.hero-badge small { color: var(--muted); font-size: .7rem; margin-top: 3px; }
.pulse { width: 10px; height: 10px; flex: 0 0 10px; background: var(--gold-bright); border-radius: 50%; box-shadow: 0 0 0 7px rgba(243,202,87,.12); }
.vertical-label { position: absolute; top: 0; right: -10px; margin: 0; writing-mode: vertical-rl; color: #5c574f; font-size: .63rem; letter-spacing: .22em; }
.hero-line { position: absolute; left: 0; bottom: 0; width: 30%; height: 6px; background: var(--gold); }

.intro-grid { display: grid; grid-template-columns: .35fr 1.65fr; gap: 60px; }
.intro h2, .section-heading h2, .method h2, .values h2, .presence h2, .faq h2, .contact h2 { margin: 0; font-size: clamp(2.45rem, 4.5vw, 4.7rem); line-height: 1.04; letter-spacing: -.045em; }
.intro h2 span, .section-heading h2 span, .presence h2 span { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--gold-dark); }
.intro-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 48px; max-width: 920px; }
.intro-copy p { margin: 0; color: #4b463e; font-size: 1.04rem; }

.solutions { color: var(--white); background: var(--ink-soft); }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 72px; align-items: end; margin-bottom: 64px; }
.section-heading > p { margin: 0 0 6px; color: var(--muted); max-width: 420px; }
.solutions .section-heading h2 span { color: var(--gold-bright); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 350px; padding: 36px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease, transform .25s ease; }
.service-card:hover { background: #171512; transform: translateY(-3px); }
.service-featured { background: var(--gold); color: var(--ink); }
.service-featured:hover { background: var(--gold-bright); }
.service-number { color: var(--gold); font-family: var(--serif); font-size: 1.6rem; }
.service-featured .service-number { color: var(--ink); }
.service-tag { margin: 58px 0 10px; color: var(--muted); font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .15em; }
.service-featured .service-tag { color: #4a3506; }
.service-card h3 { margin: 0; font-size: 1.28rem; line-height: 1.2; }
.service-card > p:last-of-type { color: #bcb6ad; font-size: .88rem; line-height: 1.65; }
.service-featured > p:last-of-type { color: #3a2b0b; }
.service-card a { position: absolute; bottom: 28px; left: 28px; right: 28px; display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid rgba(0,0,0,.26); font-size: .8rem; font-weight: 750; }

.technology { background: var(--paper-2); }
.tech-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 88px; align-items: center; }
.tech-copy h2 { margin: 0; font-size: clamp(2.8rem, 4.7vw, 5rem); line-height: 1.02; letter-spacing: -.052em; }
.tech-copy > p:not(.section-kicker) { color: #514b43; margin: 28px 0; }
.check-list { list-style: none; padding: 0; margin: 0 0 34px; border-top: 1px solid #c8bdab; }
.check-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #c8bdab; font-size: .9rem; font-weight: 620; }
.check-list span { color: var(--gold-dark); }
.text-link { display: inline-flex; gap: 30px; padding-bottom: 5px; border-bottom: 2px solid var(--gold); font-size: .87rem; font-weight: 780; }
.tech-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tech-gallery figure { position: relative; height: 285px; margin: 0; overflow: hidden; background: #222; }
.tech-gallery .gallery-main { grid-row: span 2; height: 586px; }
.tech-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tech-gallery figure:hover img { transform: scale(1.03); }
.tech-gallery figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; padding: 14px 16px; background: rgba(8,8,8,.86); color: var(--white); border-left: 3px solid var(--gold); backdrop-filter: blur(8px); }
.tech-gallery figcaption strong, .tech-gallery figcaption span { display: block; }
.tech-gallery figcaption strong { font-size: .86rem; }
.tech-gallery figcaption span { color: var(--muted); font-size: .7rem; }

.method { color: var(--white); background: var(--ink); }
.method-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; margin-bottom: 74px; }
.method-top > p { color: var(--muted); margin: 0; max-width: 470px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps li { min-height: 250px; padding: 26px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.steps li:last-child { border-right: 0; }
.steps > li > span { color: var(--gold); font-family: var(--serif); font-size: 1.4rem; }
.steps h3 { margin: 0 0 10px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); font-size: .85rem; }

.values { background: #d6a32e; }
.values-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: center; }
.values-mark { position: relative; min-height: 620px; background: var(--ink); display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; }
.values-mark::before { content: ''; position: absolute; width: 350px; height: 350px; border: 1px solid rgba(217,165,45,.25); border-radius: 50%; }
.values-mark img { position: relative; width: 72%; height: auto; }
.values-mark span { position: relative; margin-top: -40px; color: var(--gold-bright); font-weight: 850; letter-spacing: .28em; font-size: .72rem; }
.values-content .section-kicker { color: #4e3807; }
.value-list { margin-top: 50px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(0,0,0,.3); border-left: 1px solid rgba(0,0,0,.3); }
.value-list article { padding: 25px 24px; min-height: 165px; border-right: 1px solid rgba(0,0,0,.3); border-bottom: 1px solid rgba(0,0,0,.3); }
.value-list h3 { margin: 0 0 10px; font-size: 1rem; }
.value-list p { margin: 0; color: #493708; font-size: .83rem; }

.presence { background: var(--paper); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.location-card { position: relative; padding: 44px; min-height: 360px; color: var(--white); background: var(--ink); overflow: hidden; }
.location-card::after { content: ''; position: absolute; width: 280px; height: 280px; right: -90px; bottom: -110px; border: 55px solid rgba(217,165,45,.1); border-radius: 50%; }
.location-card > p { color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.location-card h3 { margin: 34px 0 22px; font-size: 2.2rem; letter-spacing: -.035em; }
.location-card address { color: #c9c3ba; font-style: normal; }
.location-card a { position: absolute; z-index: 1; left: 44px; bottom: 40px; color: var(--gold-bright); font-size: .82rem; font-weight: 750; }

.faq { background: var(--paper-2); }
.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; }
.faq-list { border-top: 1px solid #bdb3a4; }
.faq details { border-bottom: 1px solid #bdb3a4; }
.faq summary { list-style: none; cursor: pointer; padding: 23px 48px 23px 0; font-weight: 720; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 20px; color: var(--gold-dark); font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: -5px 48px 24px 0; color: #585146; }

.contact { color: var(--white); background: radial-gradient(circle at 10% 100%, rgba(217,165,45,.13), transparent 30%), var(--ink); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.contact-copy > p:not(.section-kicker) { color: var(--muted); max-width: 480px; }
.direct-contact { margin-top: 42px; border-top: 1px solid var(--line); }
.direct-contact a { display: block; padding: 17px 0; border-bottom: 1px solid var(--line); }
.direct-contact span, .direct-contact strong { display: block; }
.direct-contact span { color: var(--gold); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; }
.direct-contact strong { margin-top: 4px; font-size: .92rem; overflow-wrap: anywhere; }
.lead-form { padding: 42px; background: #11100e; border: 1px solid var(--line); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-form label { display: block; margin-bottom: 19px; color: #c6c0b7; font-size: .73rem; font-weight: 720; text-transform: uppercase; letter-spacing: .08em; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; margin-top: 7px; padding: 14px 15px; color: var(--white); background: #090909; border: 1px solid #37332d; border-radius: 0; outline: none; text-transform: none; letter-spacing: normal; }
.lead-form select { color-scheme: dark; }
.lead-form textarea { resize: vertical; min-height: 116px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,165,45,.1); }
.form-button { width: 100%; }
.form-note { margin: 11px 0 0; color: #777168; font-size: .7rem; text-align: center; }

.footer { padding: 74px 0 26px; color: var(--white); background: #030303; }
.footer-top { display: grid; grid-template-columns: 1.4fr .6fr 1fr; gap: 80px; padding-bottom: 58px; }
.footer-brand img { width: 150px; height: 150px; object-fit: contain; }
.footer-brand p { max-width: 330px; color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.footer h2 { margin: 28px 0 18px; color: var(--gold); font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; }
.footer-top > div:not(.footer-brand) a { display: block; margin: 10px 0; color: #bcb6ad; font-size: .83rem; overflow-wrap: anywhere; }
.footer-top a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; border-top: 1px solid var(--line); color: #76716a; font-size: .72rem; }
.footer-bottom p { margin: 0; }
.floating-contact { position: fixed; z-index: 18; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 13px 17px; color: var(--ink); background: var(--gold-bright); box-shadow: 0 14px 40px rgba(0,0,0,.28); font-size: .77rem; }

:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .tech-grid, .values-grid, .contact-grid { gap: 48px; }
  .hero h1 { font-size: clamp(3.3rem, 7vw, 5rem); }
  .hero-visual { min-height: 530px; }
  .hero-photo { height: 530px; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-copy { max-width: 700px; }
  .values-mark { min-height: 520px; }
  .faq-grid { gap: 60px; }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 32px, 1180px); }
  .section { padding: 80px 0; }
  .header-inner { height: 86px; }
  .brand img { width: 68px; height: 68px; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 0; z-index: -1; padding: 120px 24px 40px; flex-direction: column; align-items: stretch; gap: 0; background: rgba(4,4,4,.98); opacity: 0; visibility: hidden; transition: .2s ease; }
  .nav.open { z-index: 15; opacity: 1; visibility: visible; }
  .nav a { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
  .nav-cta { margin-top: 20px; padding: 15px 18px !important; text-align: center; }
  .hero { padding-top: 128px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.1rem, 14vw, 5rem); }
  .hero-lead { font-size: 1rem; }
  .hero-proof { gap: 9px; }
  .hero-proof span { font-size: .65rem; }
  .hero-visual { min-height: 510px; margin-top: 14px; }
  .hero-photo { height: 500px; margin-right: 16px; }
  .hero-badge { left: 14px; bottom: 24px; max-width: calc(100% - 50px); }
  .vertical-label { right: -3px; }
  .intro-grid, .section-heading, .method-top, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .intro-copy { grid-template-columns: 1fr; gap: 22px; margin-top: 32px; }
  .section-heading { margin-bottom: 44px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; }
  .tech-gallery { grid-template-columns: 1fr 1fr; }
  .tech-gallery .gallery-main { grid-column: span 2; grid-row: auto; height: 450px; }
  .tech-gallery figure { height: 260px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { min-height: 210px; border-bottom: 1px solid var(--line); }
  .values-grid { grid-template-columns: 1fr; }
  .values-mark { min-height: 420px; }
  .location-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .lead-form { padding: 28px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .floating-contact strong { display: none; }
  .floating-contact { width: 50px; height: 50px; padding: 0; justify-content: center; border-radius: 50%; }
}

@media (max-width: 480px) {
  .hero-actions { display: grid; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof div { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  .hero-proof span { margin: 0; }
  .hero-photo { border-radius: 190px 190px 8px 8px; }
  .tech-gallery { grid-template-columns: 1fr; }
  .tech-gallery .gallery-main { grid-column: auto; height: 430px; }
  .tech-gallery figure { height: 360px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; }
  .value-list { grid-template-columns: 1fr; }
  .values-mark { min-height: 350px; }
  .location-card { padding: 32px 25px; }
  .location-card a { left: 25px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
