:root {
  --ink: #0b0b0d;
  --ink-soft: #151518;
  --paper: #f4f1ed;
  --white: #fffdfb;
  --red: #e4232b;
  --red-dark: #bd1620;
  --red-soft: #ffdeda;
  --muted: #8e8883;
  --line: rgba(11, 11, 13, .14);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(var(--container), calc(100% - 96px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 20; color: var(--white); background: rgba(11, 11, 13, .97); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-image { display: block; width: 175px; height: auto; }
.brand-mark { width: 33px; height: 33px; position: relative; display: grid; place-items: center; overflow: hidden; color: var(--white); background: var(--red); border-radius: 9px; font-size: 21px; font-weight: 800; letter-spacing: -.1em; }
.brand-mark::after { content: ""; position: absolute; width: 21px; height: 26px; top: -5px; right: -7px; border-radius: 6px; background: var(--white); transform: rotate(25deg); }
.brand-mark span { position: relative; z-index: 1; }
.brand-name { display: flex; flex-direction: column; line-height: .85; letter-spacing: .03em; }
.brand-name strong { font-size: 19px; font-weight: 700; }
.brand-name small { margin-top: 6px; font-size: 8px; letter-spacing: .29em; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a { position: relative; color: #a8a29d; font-size: 12px; transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--white); }
.desktop-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; background: var(--red); }
.nav-contact { min-height: 39px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: rgba(255,255,255,.07); font-size: 11px; transition: background .2s ease, transform .2s ease; }
.nav-contact:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #42d874; box-shadow: 0 0 0 4px rgba(66,216,116,.13); }
.menu-toggle { display: none; width: 42px; height: 42px; margin-left: auto; padding: 9px; border: 0; border-radius: 9px; background: rgba(255,255,255,.08); }
.menu-toggle span { display: block; width: 21px; height: 1px; margin: 5px auto; background: var(--white); transition: transform .2s ease, opacity .2s ease; }
.mobile-nav { display: none; }

.section-dark { color: var(--white); background: var(--ink); }
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .28; background-image: radial-gradient(rgba(255,255,255,.23) .6px, transparent .6px); background-size: 15px 15px; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 78%, transparent); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .95fr 1.05fr; min-height: 565px; }
.hero-copy { padding: 78px 38px 72px 0; align-self: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 11px; margin: 0; color: #ffaaa8; font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow > span { width: 29px; height: 2px; background: var(--red); }
.eyebrow-dark { color: var(--red-dark); }
.hero h1, h2 { margin: 0; letter-spacing: -.075em; }
.hero h1 { margin-top: 24px; font-size: clamp(54px, 6.4vw, 88px); line-height: .89; font-weight: 600; }
h1 em, h2 em { color: var(--red); font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.04em; }
.hero-text { max-width: 460px; margin: 28px 0 0; color: #aaa5a0; font-size: 14px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.button { min-height: 48px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 10px; font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-red { color: var(--white); background: var(--red); box-shadow: 0 14px 25px rgba(228,35,43,.24); }
.button-red:hover { background: #f13b42; }
.button-outline { color: var(--white); border: 1px solid rgba(255,255,255,.3); background: transparent; }
.button-outline:hover { background: rgba(255,255,255,.1); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--ink-soft); }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 41px; color: #87827e; font-size: 11px; }
.mini-avatars { display: flex; }
.mini-avatars i { width: 23px; height: 23px; margin-left: -5px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; color: var(--ink); background: #fff2ef; font-size: 9px; font-style: normal; font-weight: 700; }
.mini-avatars i:first-child { margin-left: 0; background: var(--white); }
.mini-avatars i:last-child { color: var(--white); background: var(--red); }
.hero-visual { min-height: 565px; position: relative; overflow: hidden; border-left: 1px solid rgba(255,255,255,.11); }
.hero-visual > img { width: 100%; height: 100%; min-height: 565px; object-fit: contain; object-position: center; background: #101013; }
.hero-visual-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(11,11,13,.23) 27%, rgba(11,11,13,.07) 100%); }
.stamp-badge { position: absolute; top: 50%; left: 55%; z-index: 1; width: 225px; height: 225px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.66); border-radius: 50%; color: var(--white); background: rgba(228,35,43,.83); box-shadow: 0 18px 40px rgba(0,0,0,.25), inset 0 0 0 10px rgba(255,255,255,.1); transform: translate(-50%, -50%) rotate(-8deg); text-align: center; }
.stamp-badge::before, .stamp-badge::after { content: "✦"; position: absolute; font-size: 15px; }
.stamp-badge::before { top: 26px; }
.stamp-badge::after { bottom: 26px; }
.stamp-badge span { font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.stamp-badge strong { margin-top: 9px; font-size: 33px; line-height: .83; letter-spacing: -.09em; }
.stamp-badge small { margin-top: 14px; color: #ffd0cd; font-size: 7px; font-weight: 700; letter-spacing: .18em; }
.floating-card { position: absolute; z-index: 2; min-height: 53px; padding: 0 13px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; color: var(--white); background: rgba(16,16,18,.84); box-shadow: 0 15px 30px rgba(0,0,0,.22); backdrop-filter: blur(9px); }
.floating-top { top: 43px; left: 25px; }
.floating-bottom { right: 28px; bottom: 42px; }
.floating-icon { width: 23px; height: 23px; display: grid; place-items: center; color: var(--red); font-size: 18px; }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: 11px; }
.floating-card small { margin-top: 4px; color: #9f9995; font-size: 9px; }
.visual-caption { position: absolute; z-index: 2; bottom: 19px; left: 27px; color: rgba(255,255,255,.56); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

.service-bar { color: #68635f; background: var(--white); border-bottom: 1px solid var(--line); }
.service-bar-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.bar-label { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.bar-points { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px; font-size: 11px; }
.bar-points b { margin-right: 5px; color: var(--red); }

.section-paper { background: var(--paper); }
.services { padding: 88px 0 94px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.section-heading h2 { margin-top: 19px; font-size: clamp(42px, 5vw, 64px); line-height: .91; font-weight: 600; }
.section-heading > p { max-width: 300px; margin: 0 0 4px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.service-grid { display: grid; grid-template-columns: 1.28fr 1fr 1fr 1fr; gap: 12px; }
.service-card { min-height: 190px; padding: 18px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: rgba(255,253,251,.68); text-align: left; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-card:hover, .service-card:focus-visible { border-color: rgba(228,35,43,.44); box-shadow: 0 18px 32px rgba(11,11,13,.1); transform: translateY(-4px); outline: none; }
.service-card.featured { color: var(--white); border-color: var(--red); background: var(--red); }
.service-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 10px; color: var(--red); background: var(--red-soft); font-size: 26px; line-height: 1; }
.featured .service-icon { color: var(--red); background: var(--white); }
.service-number { position: absolute; top: 23px; right: 19px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.featured .service-number { color: #ffc5c3; }
.service-card h3 { margin: 29px 0 8px; font-size: 16px; letter-spacing: -.03em; }
.service-card p { max-width: 195px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.48; }
.featured p { color: #ffd4d1; }
.service-arrow { position: absolute; right: 18px; bottom: 17px; color: var(--red); font-size: 20px; }
.featured .service-arrow { color: var(--white); }

.portfolio { padding: 78px 0 82px; }
.portfolio-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 36px; align-items: center; }
.portfolio-copy h2 { margin-top: 20px; font-size: clamp(44px, 5vw, 68px); line-height: .9; font-weight: 600; }
.portfolio-copy > p:not(.eyebrow) { max-width: 295px; margin: 25px 0 25px; color: #aaa5a0; font-size: 12px; line-height: 1.58; }
.text-link { display: inline-flex; align-items: center; gap: 11px; color: var(--white); font-size: 12px; font-weight: 700; }
.text-link span { color: var(--red); font-size: 20px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.portfolio-image { min-height: 330px; position: relative; overflow: hidden; border-radius: 14px; }
.portfolio-image img { width: 100%; height: 100%; min-height: 330px; object-fit: contain; background: #101013; }
.portfolio-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(11,11,13,.47), transparent 45%, rgba(11,11,13,.1)); }
.image-label { position: absolute; z-index: 1; color: var(--white); font-size: 10px; font-weight: 600; line-height: 1.35; letter-spacing: .17em; text-transform: uppercase; }
.image-label-left { bottom: 24px; left: 24px; }
.image-label-right { right: 23px; bottom: 20px; text-align: right; font-size: 17px; line-height: .88; letter-spacing: .02em; }
.image-label-right small { font-size: 8px; letter-spacing: .3em; }

.process { padding: 90px 0 95px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.process-step { padding: 26px 30px 0 0; border-right: 1px solid var(--line); }
.process-step + .process-step { padding-left: 30px; }
.process-step:last-child { border-right: 0; }
.process-step > span { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.process-step h3 { margin: 22px 0 8px; font-size: 16px; }
.process-step p { max-width: 260px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.section-red { color: var(--white); background: var(--red); }
.contact { padding: 83px 0 91px; position: relative; overflow: hidden; }
.contact::after { content: "B"; position: absolute; right: -32px; bottom: -110px; color: rgba(255,255,255,.11); font-size: 360px; font-weight: 800; line-height: 1; pointer-events: none; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact h2 { margin-top: 20px; font-size: clamp(50px, 6vw, 78px); line-height: .88; font-weight: 600; }
.contact-copy > p:not(.eyebrow) { max-width: 320px; margin: 25px 0 29px; color: #ffd8d5; font-size: 13px; line-height: 1.55; }
.contact-details { display: flex; align-items: flex-start; gap: 10px; color: #ffe4e1; font-size: 11px; line-height: 1.45; }
.contact-details > span:first-child { color: var(--white); font-size: 21px; line-height: 1; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 25px; }
.contact-links a { color: #fff4f2; font-size: 12px; font-weight: 700; }
.contact-links a:hover { text-decoration: underline; }
.contact-form { max-width: 470px; padding: 27px; border-radius: 15px; color: var(--ink); background: var(--white); box-shadow: 0 20px 48px rgba(104,0,0,.15); }
.contact-form label { display: block; margin: 0 0 7px; color: #6f6964; font-size: 10px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; margin: 0 0 17px; padding: 12px 13px; border: 1px solid #ded8d3; border-radius: 8px; outline: none; color: var(--ink); background: #fff; font-size: 12px; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input { height: 42px; }
.contact-form textarea { min-height: 104px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(228,35,43,.12); }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.contact-form .button { width: 100%; }
.button-mail { color: var(--ink); border: 1px solid var(--line); background: #fff; }
.button-mail:hover { background: #f3efeb; }
.form-note { margin: 12px 0 0; color: #968f8a; font-size: 10px; line-height: 1.45; }

.site-footer { color: #8d8782; background: var(--ink); }
.footer-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 10px; }
.footer-brand { color: var(--white); }
.footer-brand .brand-mark { width: 28px; height: 28px; font-size: 17px; border-radius: 8px; }
.footer-brand .brand-name strong { font-size: 15px; }
.footer-brand .brand-name small { font-size: 7px; }
.toast { position: fixed; z-index: 50; right: 20px; bottom: 20px; max-width: min(360px, calc(100% - 40px)); padding: 13px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: var(--white); background: var(--ink); box-shadow: 0 13px 30px rgba(0,0,0,.22); font-size: 12px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .18s; }
.reveal-delay-3 { transition-delay: .26s; }

@media (max-width: 900px) {
  .container { width: min(var(--container), calc(100% - 48px)); }
  .desktop-nav { gap: 17px; }
  .nav-contact { padding-inline: 10px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 0 50px; }
  .hero-visual, .hero-visual > img { min-height: 450px; }
  .hero-visual { border-left: 0; border-top: 1px solid rgba(255,255,255,.11); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid, .contact-grid { grid-template-columns: 1fr; }
  .portfolio-copy > p:not(.eyebrow) { max-width: 430px; }
  .contact-grid { gap: 35px; }
  .contact-form { max-width: none; }
}
@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .desktop-nav, .nav-contact { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { padding: 0 18px 17px; flex-direction: column; gap: 2px; background: var(--ink); }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); color: #d8d3cf; font-size: 13px; }
  .hero-copy { padding-top: 54px; }
  .hero h1 { font-size: clamp(54px, 15vw, 78px); }
  .hero-text { font-size: 13px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-visual, .hero-visual > img { min-height: 370px; }
  .hero-visual > img { object-position: 60% center; }
  .stamp-badge { width: 188px; height: 188px; left: 54%; }
  .stamp-badge strong { font-size: 28px; }
  .floating-top { top: 21px; left: 16px; }
  .floating-bottom { right: 16px; bottom: 23px; }
  .service-bar-inner, .section-heading, .footer-inner { align-items: flex-start; flex-direction: column; }
  .service-bar-inner { padding-block: 22px; }
  .bar-points { justify-content: flex-start; gap: 10px 20px; }
  .services, .process { padding-block: 65px; }
  .section-heading { gap: 20px; margin-bottom: 27px; }
  .section-heading h2 { font-size: 48px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 135px; }
  .service-card h3 { margin-top: 20px; }
  .portfolio { padding-block: 63px; }
  .portfolio-image, .portfolio-image img { min-height: 250px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step + .process-step { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
  .contact { padding-block: 66px; }
  .contact h2 { font-size: 62px; }
  .contact-form { padding: 20px; }
  .form-actions { grid-template-columns: 1fr; }
  .footer-inner { padding-block: 24px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
