:root {
  --ink: #111214;
  --ink-soft: #1a1c1f;
  --paper: #f6f3ed;
  --white: #fff;
  --gold: #efbb2e;
  --gold-light: #ffd760;
  --muted: #696a6c;
  --line: rgba(17, 18, 20, 0.12);
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; line-height: 1.55; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(100% - 38px, 1180px); margin-inline: auto; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 1000; padding: 12px 16px; background: var(--gold); color: #000; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: white; transition: background .25s, box-shadow .25s; }
.site-header.scrolled, .site-header.menu-active { background: rgba(12, 13, 14, .96); box-shadow: 0 10px 30px rgba(0,0,0,.22); backdrop-filter: blur(16px); }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 45px; height: 45px; flex: 0 0 auto; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: .93rem; letter-spacing: .16em; white-space: nowrap; }
.brand-copy small { margin-top: 7px; color: #bbb; font-size: .55rem; letter-spacing: .19em; text-transform: uppercase; }
.menu-toggle { width: 46px; height: 46px; display: grid; place-content: center; gap: 6px; padding: 0; background: transparent; border: 0; cursor: pointer; }
.menu-toggle span { width: 27px; height: 2px; background: #fff; border-radius: 10px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.main-nav { position: fixed; inset: 76px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; background: #0c0d0e; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
.main-nav.open { transform: translateX(0); visibility: visible; }
.main-nav a { font-size: 1.35rem; font-weight: 600; }
.main-nav .nav-cta { padding: 14px 22px; background: var(--gold); color: #111; border-radius: 12px; }

.hero { position: relative; min-height: 100svh; padding: 112px 0 0; color: white; background: #0d0e0f; overflow: hidden; }
.hero-glow { position: absolute; width: 380px; height: 380px; top: 80px; left: 50%; transform: translateX(-50%); background: rgba(239,187,46,.1); border-radius: 50%; filter: blur(90px); }
.hero-grid { position: relative; display: grid; gap: 34px; }
.hero-copy { text-align: center; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 20px; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: 30px; height: 2px; background: var(--gold); }
h1, h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; line-height: 1.05; letter-spacing: -.035em; }
h1 { font-size: clamp(2.75rem, 12vw, 4.5rem); }
h1 em { color: var(--gold); font-style: normal; }
.hero-text { max-width: 540px; margin: 20px auto 0; color: #d2d2d2; font-size: 1.02rem; line-height: 1.6; }
.hero-actions { display: grid; gap: 11px; margin-top: 28px; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 20px; border: 1px solid transparent; border-radius: 13px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:active { transform: scale(.98); }
.button svg { width: 22px; height: 22px; fill: currentColor; }
.button-primary { color: #111; background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 14px 30px rgba(239,187,46,.18); }
.button-secondary { color: white; border-color: rgba(239,187,46,.75); background: rgba(255,255,255,.025); }
.button-secondary span { font-size: 1.35rem; }
.hero-visual { position: relative; width: calc(100% + 38px); margin-left: -19px; min-height: 320px; overflow: hidden; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0d0e0f 0, transparent 20%, transparent 75%, #0d0e0f 100%); pointer-events: none; }
.hero-visual img { width: 100%; height: 390px; object-fit: cover; object-position: 48% center; }
.visual-badge { position: absolute; z-index: 2; right: 18px; bottom: 24px; display: none; padding: 11px 14px; color: #1a1a1a; background: var(--gold); border-radius: 10px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; box-shadow: var(--shadow); }
.visual-badge b { display: block; font-size: .55rem; }
.trust-row { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 24px 0 28px; border-top: 1px solid rgba(255,255,255,.12); }
.trust-row > div { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.trust-icon { display: grid; place-items: center; width: 30px; height: 30px; color: var(--gold); font-size: 1.45rem; }
.trust-row p { margin: 0; color: #bbb; font-size: .68rem; line-height: 1.35; }
.trust-row b { color: white; }

.section { padding: 78px 0; }
.section-heading { display: grid; gap: 22px; margin-bottom: 40px; }
.section-heading > p { margin: 0; color: var(--muted); }
.kicker { margin: 0 0 13px; color: #98700b; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; margin: 0 10px 3px 0; background: var(--gold); }
.kicker-light { color: var(--gold); }
h2 { font-size: clamp(2.2rem, 10vw, 4rem); }
.services { background: #faf8f3; }
.service-grid { display: grid; gap: 13px; }
.service-card { position: relative; min-height: 224px; padding: 26px 24px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 35px rgba(25,25,25,.05); overflow: hidden; }
.service-card::after { content: ""; position: absolute; right: -30px; bottom: -70px; width: 120px; height: 120px; border: 1px solid rgba(239,187,46,.2); border-radius: 50%; }
.service-number { color: #aaa; font-size: .7rem; letter-spacing: .15em; }
.service-icon { float: right; color: #b78308; font-size: 1.8rem; line-height: 1; }
.service-card h3 { margin: 42px 0 8px; font-size: 1.25rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.service-card-dark { color: white; background: var(--ink); }
.service-card-dark p { color: #c4c4c4; }
.service-card-dark a { position: relative; z-index: 1; display: inline-block; margin-top: 18px; color: var(--gold); font-size: .85rem; font-weight: 700; }

.process { color: white; background: var(--ink); }
.process-grid { display: grid; gap: 44px; }
.process-copy > p:last-child { margin: 24px 0 0; color: #bfc0c1; }
.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 25px 0; border-top: 1px solid rgba(255,255,255,.13); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }
.steps li > span { display: grid; place-items: center; width: 42px; height: 42px; color: var(--gold); border: 1px solid rgba(239,187,46,.5); border-radius: 50%; font: 700 1rem "Playfair Display", serif; }
.steps h3 { margin: 0 0 6px; font-size: 1.05rem; }
.steps p { margin: 0; color: #aaa; font-size: .88rem; }

.portfolio { background: #f1ede5; }
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.work-card { position: relative; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; padding: 15px; background: #ddd; border-radius: 16px; overflow: hidden; }
.work-card > p { position: relative; z-index: 3; display: flex; justify-content: space-between; margin: 0; padding: 11px 12px; color: white; background: rgba(10,10,10,.82); border-radius: 10px; font-size: .72rem; font-weight: 600; }
.work-card > p span { color: var(--gold); }
.work-menu { grid-column: 1 / -1; min-height: 390px; align-items: center; justify-content: center; background: radial-gradient(circle at 20% 20%, #4a4a49, #171819 72%); }
.paper-menu { width: 205px; height: 285px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gold); background: #101112; border: 1px solid #353535; box-shadow: 24px 22px 0 #d4c1a0, 0 30px 50px rgba(0,0,0,.4); transform: rotate(-6deg); }
.paper-menu small { letter-spacing: .25em; }
.paper-menu span { width: 32px; height: 1px; margin: 20px 0; background: var(--gold); }
.paper-menu b { font: 600 1.45rem "Playfair Display", serif; text-align: center; }
.work-menu > p { position: absolute; inset: auto 15px 15px; }
.work-labels { background: #e1b426; }
.labels-scene { display: grid; grid-template-columns: repeat(2, 70px); gap: 10px; justify-content: center; transform: rotate(-7deg); }
.labels-scene i { width: 70px; height: 70px; display: block; background: #191a1c; border: 5px solid #f6f1e6; border-radius: 50%; box-shadow: 0 8px 15px rgba(0,0,0,.15); }
.labels-scene i::after { content: "Q"; display: grid; place-items: center; height: 100%; color: var(--gold); font: 700 1.6rem Georgia, serif; }
.work-cards { background: #d4c3aa; }
.cards-scene { position: relative; height: 160px; margin-top: 12px; }
.cards-scene i { position: absolute; inset: 18px 9px auto; height: 90px; background: #171819; border: 1px solid #3a3a3a; box-shadow: 0 5px 0 #b58414; transform: rotate(4deg); }
.cards-scene i:nth-child(2) { transform: translateY(12px) rotate(-4deg); }
.cards-scene i:nth-child(3) { transform: translateY(22px) rotate(1deg); }
.cards-scene b { position: absolute; z-index: 2; inset: 63px 0 auto; color: var(--gold); text-align: center; font-size: .68rem; letter-spacing: .12em; }
.work-notebook { grid-column: 1 / -1; min-height: 310px; background: #2d2e30; }
.notebook-scene { width: 200px; height: 235px; display: flex; align-self: center; margin-top: -6px; color: white; background: #121315; box-shadow: 12px 10px 0 #cbb28d; transform: rotate(5deg); }
.notebook-scene i { width: 18px; height: 100%; background: repeating-linear-gradient(180deg, transparent 0 10px, var(--gold) 11px 16px, transparent 17px 24px); }
.notebook-scene div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.notebook-scene small { color: #aaa; letter-spacing: .2em; }
.notebook-scene b { margin-top: 9px; color: var(--gold); letter-spacing: .08em; }

.about { background: #faf8f3; }
.about-grid { display: grid; gap: 40px; }
.about-image { position: relative; min-height: 420px; overflow: hidden; border-radius: var(--radius); }
.about-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.55)); }
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; position: absolute; }
.about-image span { position: absolute; z-index: 2; left: 20px; bottom: 18px; padding: 9px 12px; color: #111; background: var(--gold); border-radius: 9px; font-size: .75rem; font-weight: 700; }
.about-copy > p:not(.kicker) { color: var(--muted); }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.about-stats div { padding: 18px; border-left: 2px solid var(--gold); background: white; }
.about-stats b, .about-stats span { display: block; }
.about-stats span { color: var(--muted); font-size: .78rem; }

.contact { padding-top: 20px; background: #faf8f3; }
.contact-card { padding: 36px 26px; color: white; background: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-copy > p:not(.kicker) { color: #bcbcbc; }
.contact-copy .button { width: 100%; margin-top: 16px; text-align: center; }
.contact-info { display: grid; gap: 18px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.contact-info div { padding-left: 15px; border-left: 2px solid var(--gold); }
.contact-info small { color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-info p { margin: 5px 0 0; color: #ddd; font-size: .9rem; }

.site-footer { padding: 58px 0 26px; color: white; background: #0a0b0c; }
.footer-grid { display: grid; gap: 34px; }
.footer-links, .footer-social { display: flex; flex-wrap: wrap; gap: 16px 22px; color: #bbb; font-size: .85rem; }
.footer-social a { color: var(--gold); }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; margin-top: 42px; padding-top: 20px; color: #6f7072; border-top: 1px solid rgba(255,255,255,.1); font-size: .72rem; }
.floating-whatsapp { position: fixed; z-index: 90; right: 16px; bottom: 16px; width: 57px; height: 57px; display: grid; place-items: center; color: white; background: #1cab59; border: 4px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 12px 32px rgba(0,0,0,.3); transition: transform .2s; }
.floating-whatsapp:hover { transform: translateY(-4px); }
.floating-whatsapp svg { width: 28px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (min-width: 620px) {
  .hero-actions { grid-template-columns: 1fr 1fr; max-width: 560px; margin-inline: auto; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .work-menu { grid-column: auto; grid-row: span 2; }
  .work-notebook { grid-column: auto; }
  .contact-card { padding: 52px; }
}

@media (min-width: 900px) {
  .container { width: min(100% - 64px, 1180px); }
  .header-inner { height: 88px; }
  .menu-toggle { display: none; }
  .main-nav { position: static; visibility: visible; transform: none; flex-direction: row; justify-content: flex-end; background: transparent; }
  .main-nav a { font-size: .88rem; font-weight: 500; }
  .main-nav .nav-cta { padding: 12px 18px; font-weight: 700; }
  .hero { min-height: auto; padding-top: 150px; }
  .hero-grid { grid-template-columns: .85fr 1.15fr; align-items: center; gap: 64px; }
  .hero-copy { text-align: left; padding-bottom: 44px; }
  .eyebrow { justify-content: flex-start; }
  .eyebrow span:last-child { display: none; }
  h1 { font-size: clamp(3.4rem, 5.2vw, 5.5rem); }
  .hero-text { margin-left: 0; font-size: 1.12rem; }
  .hero-actions { grid-template-columns: auto auto; max-width: none; margin-inline: 0; justify-content: start; }
  .hero-actions .button { min-width: 210px; }
  .hero-visual { width: auto; margin: 0; border-radius: 30px 30px 0 0; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.32); }
  .hero-visual img { height: 590px; object-position: center; }
  .visual-badge { display: block; }
  .trust-row { max-width: 900px; margin: 28px auto 0; padding: 22px 26px; background: rgba(13,14,15,.94); border: 1px solid rgba(255,255,255,.1); border-radius: 16px 16px 0 0; }
  .trust-row > div { flex-direction: row; text-align: left; justify-content: center; }
  .trust-row p { font-size: .78rem; }
  .section { padding: 120px 0; }
  .section-heading { grid-template-columns: 1.35fr .65fr; align-items: end; margin-bottom: 58px; }
  .section-heading > p { max-width: 420px; justify-self: end; }
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .service-card { min-height: 260px; padding: 30px; }
  .process-grid { grid-template-columns: .8fr 1.2fr; align-items: start; gap: 100px; }
  .steps li { grid-template-columns: 58px 1fr; padding: 30px 0; }
  .portfolio-grid { grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 250px 250px; }
  .work-menu { grid-row: 1 / 3; min-height: auto; }
  .work-notebook { grid-column: 3; grid-row: 1 / 3; min-height: auto; }
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
  .about-image { min-height: 610px; }
  .contact-card { display: grid; grid-template-columns: 1fr .72fr; gap: 90px; padding: 68px; }
  .contact-copy .button { width: auto; }
  .contact-info { margin: 0; padding: 0 0 0 40px; border: 0; border-left: 1px solid rgba(255,255,255,.14); align-content: center; }
  .footer-grid { grid-template-columns: 1.2fr 1fr auto; align-items: center; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
