:root {
  --ink: #202522;
  --dark: #151c19;
  --muted: #626961;
  --paper: #f7f6f2;
  --gold: #c8aa75;
  --line: #dfdfd6;
  --page-padding: clamp(24px, 6vw, 104px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 15px; line-height: 1.75; }
body, button, input, select, textarea { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
img { display: block; width: 100%; object-fit: cover; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; }
h2 { font-size: clamp(32px, 3.7vw, 52px); line-height: 1.19; letter-spacing: -2px; font-weight: 500; }
h2 span { color: #87704b; }
h3 { font-size: 20px; line-height: 1.4; letter-spacing: -.5px; }
:focus-visible { outline: 3px solid #99743b; outline-offset: 5px; }
::selection { color: var(--dark); background: var(--gold); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 30; padding: 10px 20px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.gold { color: var(--gold); }
.header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 94px; padding: 16px var(--page-padding); background: var(--dark); color: #f3f3ec; border-bottom: 1px solid #ffffff14; }
.logo { display: inline-flex; flex-shrink: 0; align-items: center; width: 280px; max-width: 100%; padding: 9px 12px; background: transparent; }
.company-logo { width: 100%; height: auto; object-fit: contain; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 36px); font-size: 13px; }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--gold); }
.nav .nav-cta { border: 1px solid #8e805f; padding: 11px 18px; margin-left: 10px; }
.nav-cta i { margin-left: 16px; font-size: 11px; }
.menu-toggle { display: none; border: 1px solid #ffffff40; background: transparent; color: var(--paper); padding: 9px 13px; font-size: 19px; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 690px; background: var(--dark); color: var(--paper); padding: 84px var(--page-padding) 45px; }
.hero-image { position: absolute; inset: 0 0 0 auto; width: 76%; height: 100%; z-index: -3; object-position: 55% center; }
.hero-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #151c19 2%, #151c19f0 26%, #151c1980 58%, #151c191a 100%), linear-gradient(0deg, #151c19b3, transparent 55%); }
.hero::after { content: ''; position: absolute; inset: 0 0 0 62%; z-index: -1; border-left: 1px solid #ffffff12; pointer-events: none; }
.hero-content { max-width: 780px; }
.eyebrow { display: flex; align-items: center; gap: 13px; color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: 2.5px; line-height: 1.5; }
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: currentColor; }
.eyebrow > span { display: none; }
.hero h1 { margin-top: 24px; font-size: clamp(48px, 5.6vw, 80px); line-height: 1.08; font-weight: 500; letter-spacing: -3.8px; }
.hero h1 span { color: var(--gold); }
.hero-description { max-width: 445px; margin-top: 25px; color: #c4c9c1; font-size: 15px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 31px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 50px; padding: 13px 25px; border: 1px solid transparent; font-size: 12px; font-weight: 700; transition: background .2s, transform .2s; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
.btn-gold { color: var(--dark); background: var(--gold); }
.btn-gold:hover { background: #dcc195; }
.btn-outline { color: var(--paper); border-color: #ffffff4d; }
.btn-outline:hover { background: #ffffff12; }
.hero-stats { display: flex; gap: 0; margin-top: 48px; }
.hero-stats > div { display: flex; flex-direction: column; padding: 0 28px; border-left: 1px solid #ffffff24; }
.hero-stats > div:first-child { padding-left: 0; border: 0; }
.hero-stats strong { font-family: 'Manrope', sans-serif; font-size: 23px; font-weight: 500; }
.hero-stats span { color: #abb4aa; font-size: 10px; letter-spacing: 1px; }
.hero-note { position: absolute; bottom: 47px; right: var(--page-padding); display: flex; gap: 12px; align-items: center; color: #e7e7dc; font-size: 11px; }
.hero-note i { color: var(--gold); }
.hero-content > .eyebrow, .hero h1, .hero-description, .hero-buttons { animation: arrive .75s ease-out both; }
.hero h1 { animation-delay: .08s; }
.hero-description { animation-delay: .16s; }
.hero-buttons { animation-delay: .24s; }
.section { padding: 100px var(--page-padding); }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 130px); align-items: center; }
.intro-image { position: relative; }
.intro-image img { height: 465px; }
.image-label { position: absolute; bottom: 24px; right: -24px; display: flex; align-items: center; gap: 14px; padding: 20px 25px; color: var(--paper); background: var(--dark); font-size: 12px; }
.image-label i { color: var(--gold); }
.dark-eyebrow { color: #87704b; }
.intro h2, .contact h2 { margin: 21px 0 24px; }
.intro-content > p:not(.eyebrow), .contact-info > p:not(.eyebrow) { color: var(--muted); max-width: 480px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 20px; list-style: none; padding: 0; margin: 28px 0; font-size: 12px; }
.check-list i { margin-right: 7px; color: #9b8052; }
.text-link { display: inline-flex; align-items: center; gap: 25px; padding-bottom: 7px; border-bottom: 1px solid #a18c68; font-size: 12px; font-weight: 700; }
.text-link:hover { color: #87704b; }
.section-heading { margin-bottom: 43px; }
.section-heading h2 { margin-top: 19px; }
.section-heading > p:last-child:not(.eyebrow) { margin-top: 17px; color: var(--muted); }
.services { background: #eeeee8; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #d6d8ce; border: 1px solid #d6d8ce; counter-reset: services; }
.service-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 34px; background: #f7f7f2; transition: background .2s; counter-increment: services; }
.service-card::after { content: '0' counter(services); position: absolute; top: 34px; right: 30px; color: #919589; font-size: 11px; letter-spacing: 1px; }
.service-card:hover { background: #fffef9; }
.service-icon { color: #927746; font-size: 25px; margin-bottom: 28px; }
.service-card h3 { margin-bottom: 14px; font-size: 19px; }
.service-card p { color: var(--muted); font-size: 13px; margin-bottom: 25px; }
.card-link { display: flex; gap: 26px; align-items: center; margin-top: auto; font-size: 11px; font-weight: 700; }
.card-link i { color: #8c7348; transition: transform .2s; }
.card-link:hover i { transform: translateX(5px); }
.showcase { color: var(--paper); background: var(--dark); }
.showcase h2 span, .cta-banner h2 span { color: var(--gold); }
.showcase .section-heading > p:last-child { color: #acb4aa; }
.project-grid { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 245px 245px; gap: 20px; }
.project-card { position: relative; overflow: hidden; background: #28352a; }
.project-large { grid-row: span 2; }
.project-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #111c19eb, transparent 75%); pointer-events: none; }
.project-card img { height: 100%; transition: transform .7s ease; }
.project-card:hover img { transform: scale(1.04); }
.project-caption { position: absolute; left: 30px; bottom: 27px; right: 24px; z-index: 1; }
.project-caption span { color: #dbc399; font-size: 9px; letter-spacing: 2px; }
.project-caption h3 { margin-top: 8px; font-size: 23px; font-weight: 500; }
.project-large .project-caption h3 { font-size: 30px; }
.demo-note { margin-top: 20px; color: #abb4aa; font-size: 11px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.process-item { position: relative; padding: 25px 28px 0 0; border-top: 1px solid #c9c9ba; }
.process-item > span { position: absolute; top: -17px; left: 0; padding-right: 12px; color: #8a7248; background: var(--paper); font-size: 19px; }
.process-item > i { display: block; margin: 20px 0 22px; color: #8a7248; font-size: 25px; }
.process-item h3 { font-size: 17px; }
.process-item p { margin-top: 12px; color: var(--muted); font-size: 13px; max-width: 230px; }
.cta-banner { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 60px var(--page-padding); background: #25352d; color: var(--paper); }
.cta-banner h2 { margin-top: 20px; font-size: clamp(28px, 3.2vw, 44px); }
.cta-banner .btn { flex-shrink: 0; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.contact-detail { display: flex; gap: 18px; align-items: center; margin-top: 27px; }
.contact-detail > i { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); color: #927746; }
.contact-detail small { display: block; color: var(--muted); font-size: 9px; letter-spacing: 1.6px; }
.contact-detail a { font-size: 13px; overflow-wrap: anywhere; }
.contact-detail a:hover { text-decoration: underline; }
.contact-form { padding: 35px; background: #eeeee7; border: 1px solid var(--line); }
.contact-form > p:not(.form-status) { color: var(--muted); font-size: 11px; margin: 8px 0 23px; }
.contact-form label { display: block; margin: 16px 0 6px; font-size: 11px; font-weight: 700; }
.contact-form input:not([type='hidden']), .contact-form select, .contact-form textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #d5d6cc; border-radius: 0; background: #fbfbf7; color: var(--ink); font-size: 13px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #757b70; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; margin-top: 20px; }
.form-submit:disabled { cursor: wait; opacity: .7; transform: none; }
.form-status { font-size: 12px; margin-top: 12px; }
.form-status:empty { margin: 0; }
.form-status[data-state='error'] { color: #933e30; }
.form-status[data-state='success'] { color: #345a3a; }
.footer { background: var(--dark); color: #acb4aa; padding: 50px var(--page-padding) 24px; }
.footer-logo { color: var(--paper); }
.footer > p { margin: 20px 0 34px; font-size: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; padding-top: 23px; border-top: 1px solid #ffffff1a; font-size: 10px; }
.footer-bottom a { color: var(--gold); }
.floating-contact { position: fixed; bottom: 24px; right: 24px; z-index: 10; display: grid; place-items: center; width: 48px; height: 48px; background: var(--gold); color: var(--dark); border: 1px solid #a98b59; box-shadow: 0 4px 18px #151c1926; transition: transform .2s; }
.floating-contact:hover { transform: translateY(-4px); }
@keyframes arrive { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1600px) {
  :root { --page-padding: max(80px, calc((100vw - 1280px) / 2)); }
}
@media (max-width: 1000px) {
  .header { padding-inline: 24px; }
  .nav { gap: 18px; }
  .logo { width: 250px; }
  .hero-note { display: none; }
  .check-list { grid-template-columns: 1fr; }
  .service-card { padding: 26px; }
  .service-card::after { right: 23px; top: 29px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 85px; }
  .header { min-height: 80px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 16px 24px 24px; background: var(--dark); border-bottom: 1px solid #ffffff26; }
  .nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav > a { padding: 12px 0; }
  .nav .nav-cta { margin: 12px 0 0; padding: 12px 16px; }
  .hero { min-height: 675px; padding-top: 62px; }
  .hero-image { width: 100%; object-position: 65% center; }
  .hero-overlay { background: linear-gradient(90deg, #151c19e8, #151c1980), linear-gradient(0deg, #151c19c9, transparent); }
  .hero h1 { letter-spacing: -2.5px; }
  .hero-description { max-width: 370px; }
  .hero-stats { margin-top: 42px; }
  .hero-stats > div { padding-inline: 20px; }
  .section { padding-block: 64px; }
  .intro, .contact { grid-template-columns: 1fr; gap: 40px; }
  .intro-image img { height: 360px; }
  .image-label { right: 0; bottom: 20px; }
  .check-list { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: 370px 270px 270px; gap: 16px; }
  .project-large { grid-row: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 45px 15px; }
  .cta-banner { align-items: flex-start; flex-direction: column; padding-block: 45px; }
  .contact-form { padding: 26px; }
  .footer-bottom { padding-right: 45px; }
}
@media (max-width: 420px) {
  .logo { width: min(230px, calc(100vw - 122px)); padding: 8px; }
  .hero h1 { font-size: 46px; }
  .hero-buttons { gap: 10px; }
  .hero-buttons .btn { padding-inline: 16px; gap: 15px; }
  .hero-stats > div { padding-inline: 15px; }
  .hero-stats span { font-size: 9px; }
  .check-list, .service-grid { grid-template-columns: 1fr; }
  .project-caption { left: 22px; }
  .project-large .project-caption h3 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
