:root {
  --black: #090a09;
  --ink: #10110f;
  --panel: #151613;
  --gold: #d6b36d;
  --gold-light: #f0d49c;
  --ivory: #f2ede5;
  --muted: #aaa399;
  --line: rgba(214, 179, 109, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--black); color: var(--ivory); font-family: Inter, Arial, Helvetica, sans-serif; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { background: var(--gold); color: var(--black); }

.header {
  position: absolute; z-index: 50; inset: 0 0 auto; height: 98px; padding: 0 clamp(22px, 5vw, 82px);
  display: grid; grid-template-columns: 210px 1fr 205px; align-items: center; gap: 26px;
  border-bottom: 1px solid rgba(214,179,109,.22); background: linear-gradient(180deg, rgba(4,5,4,.82), transparent);
}
.brand { width: 190px; height: 76px; display: grid; place-items: center; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; justify-content: center; gap: clamp(15px, 2vw, 34px); }
.main-nav a { position: relative; font-size: 12px; letter-spacing: .06em; color: rgba(242,237,229,.8); white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.header-cta { justify-self: end; padding: 14px 18px; border: 1px solid rgba(214,179,109,.7); color: var(--gold-light); font-size: 11px; letter-spacing: .06em; transition: .25s; }
.header-cta:hover { background: var(--gold); color: var(--black); }
.menu-button { display: none; }

.hero { position: relative; min-height: 760px; height: 100svh; isolation: isolate; overflow: hidden; }
.hero-image { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slowZoom 16s ease-out both; }
.hero-overlay { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(5,6,5,.98) 0%, rgba(5,6,5,.85) 35%, rgba(5,6,5,.25) 72%), linear-gradient(0deg, rgba(5,6,5,.45), transparent 55%); }
.hero-content { width: min(680px, 86vw); margin-left: clamp(25px, 7vw, 122px); padding-top: clamp(190px, 26vh, 270px); }
.kicker { margin: 0 0 22px; display: flex; align-items: center; gap: 13px; color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: 10px; font-weight: 600; }
.kicker span { width: 35px; height: 1px; background: var(--gold); }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { font-size: clamp(64px, 7.2vw, 114px); line-height: .88; letter-spacing: -.06em; }
h1 em, h2 em { color: var(--gold-light); font-style: normal; }
.hero-content > p:not(.kicker) { max-width: 560px; margin: 30px 0 0; color: rgba(242,237,229,.72); font-size: 17px; line-height: 1.65; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.button { min-height: 56px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; border: 1px solid transparent; text-transform: uppercase; letter-spacing: .09em; font-size: 10px; font-weight: 700; transition: transform .25s, background .25s, color .25s; }
.button:hover { transform: translateY(-3px); }
.button b { font-size: 17px; font-weight: 400; }
.button-primary { background: linear-gradient(120deg, #c99b4c, #efd39b 60%, #c89b4d); color: #17120a; }
.button-primary:hover { background: var(--ivory); }
.button-ghost { border-color: rgba(214,179,109,.5); color: var(--gold-light); background: rgba(10,11,9,.25); backdrop-filter: blur(10px); }
.button-ghost:hover { background: rgba(214,179,109,.12); }
.hero-index { position: absolute; right: clamp(28px, 5vw, 80px); bottom: 34px; display: flex; align-items: center; gap: 12px; color: rgba(242,237,229,.55); font-size: 9px; letter-spacing: .14em; }
.hero-index span { width: 72px; height: 1px; background: var(--gold); }

.section { padding: 120px clamp(22px, 7vw, 126px); }
.portfolio { background: radial-gradient(circle at 92% 5%, rgba(214,179,109,.08), transparent 30%), #0c0d0b; }
.section-heading { max-width: 800px; }
.section-heading h2, .signature h2, .final-cta h2 { font-size: clamp(48px, 5vw, 78px); line-height: 1.02; letter-spacing: -.045em; }
.tabs { margin-top: 64px; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tab { position: relative; min-height: 84px; padding: 0 18px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-right: 1px solid var(--line); background: transparent; color: rgba(242,237,229,.47); cursor: pointer; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; transition: .25s; }
.tab:last-child { border-right: 0; }
.tab small { color: var(--gold); font-size: 8px; }
.tab::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: .25s; }
.tab:hover, .tab.active { color: var(--ivory); background: rgba(214,179,109,.035); }
.tab.active::after { transform: scaleX(1); }

.project-view { margin-top: 62px; display: grid; grid-template-columns: minmax(420px, 760px) minmax(300px, 480px); justify-content: center; align-items: center; gap: clamp(46px, 7vw, 110px); }
.gallery-column { min-width: 0; }
.gallery-frame { position: relative; width: min(100%, 760px); aspect-ratio: 4 / 5; margin: 0 auto; overflow: hidden; outline: none; background: #070807; box-shadow: 0 28px 80px rgba(0,0,0,.32); }
.gallery-frame::after { content: ""; position: absolute; inset: 0; z-index: 4; border: 1px solid rgba(214,179,109,.18); pointer-events: none; }
.gallery-backdrop { position: absolute; inset: -5%; width: 110%; height: 110%; object-fit: cover; filter: blur(32px) brightness(.45) saturate(.7); opacity: .58; transform: scale(1.12); }
.gallery-image { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; padding: 14px; object-fit: contain; }
.gallery-image.slide-out { animation: slideOut .22s ease both; }
.gallery-image.slide-in { animation: slideIn .48s cubic-bezier(.22,.8,.25,1) both; }
.gallery-backdrop.slide-in { animation: backdropIn .5s ease both; }
.gallery-shade { position: absolute; z-index: 3; inset: 0; background: linear-gradient(0deg, rgba(4,5,4,.62), transparent 25%); pointer-events: none; }
.frame-ratio { position: absolute; z-index: 5; left: 20px; top: 20px; min-width: 42px; padding: 8px 9px; border: 1px solid rgba(214,179,109,.45); background: rgba(5,6,5,.64); color: var(--gold-light); text-align: center; font-size: 8px; letter-spacing: .12em; }
.gallery-controls { position: absolute; z-index: 6; right: 18px; bottom: 18px; min-height: 48px; padding: 0 7px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(214,179,109,.36); background: rgba(7,8,7,.78); backdrop-filter: blur(12px); }
.gallery-arrow { width: 39px; height: 39px; border: 0; background: transparent; color: var(--gold-light); cursor: pointer; font-size: 17px; transition: .2s; }
.gallery-arrow:hover { background: rgba(214,179,109,.14); }
.gallery-count { min-width: 58px; color: rgba(242,237,229,.68); text-align: center; font-size: 9px; letter-spacing: .12em; }
.thumbnails { margin-top: 12px; padding-bottom: 9px; display: flex; gap: 8px; overflow-x: auto; scrollbar-color: var(--gold) rgba(255,255,255,.05); scrollbar-width: thin; }
.thumbnail { flex: 0 0 68px; aspect-ratio: 4 / 5; padding: 3px; overflow: hidden; border: 1px solid transparent; background: #090a09; cursor: pointer; opacity: .42; transition: .2s; }
.thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.thumbnail:hover, .thumbnail.active { opacity: 1; border-color: var(--gold); }
.project-copy { position: relative; }
.project-number { margin: 0 0 34px; color: transparent; -webkit-text-stroke: 1px rgba(214,179,109,.42); font-family: Georgia, serif; font-size: 118px; line-height: .7; }
.project-copy h3 { font-size: clamp(41px, 4vw, 62px); line-height: 1.03; letter-spacing: -.045em; }
.project-copy > p.category-description { margin: 26px 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.project-features { margin: 0 0 34px; border-top: 1px solid var(--line); }
.project-features span { padding: 15px 0; display: block; border-bottom: 1px solid var(--line); color: rgba(242,237,229,.7); font-size: 12px; }
.project-features span::before { content: "✦"; margin-right: 11px; color: var(--gold); }
.text-action { padding: 15px 0; display: inline-flex; gap: 28px; border-bottom: 1px solid var(--gold); color: var(--gold-light); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.text-action b { font-size: 15px; font-weight: 400; }
.project-copy.refresh { animation: copyIn .46s ease both; }

.signature { min-height: 540px; padding: 110px clamp(22px, 9vw, 160px); display: grid; grid-template-columns: 1.2fr .7fr; align-items: center; gap: 9vw; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #151613, #090a09); }
.signature > p { max-width: 500px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.centered { margin: 0 auto; text-align: center; }
.centered .kicker { justify-content: center; }
.sellers { background: radial-gradient(circle at 50% 0, rgba(214,179,109,.09), transparent 34%), #10110f; }
.seller-grid { max-width: 1240px; margin: 70px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.seller-card { overflow: hidden; border: 1px solid rgba(214,179,109,.18); background: #151613; transition: transform .3s, border-color .3s; }
.seller-card:hover { transform: translateY(-6px); border-color: rgba(214,179,109,.58); }
.seller-photo { height: 440px; overflow: hidden; background: #e8e2d8; }
.seller-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s; }
.seller-card:hover .seller-photo img { transform: scale(1.025); }
.seller-info { padding: 25px; }
.seller-info > p { margin: 0 0 7px; color: var(--gold); text-transform: uppercase; letter-spacing: .17em; font-size: 8px; }
.seller-info h3 { margin-bottom: 22px; font-size: clamp(28px, 2.6vw, 40px); }
.seller-info a { min-height: 66px; padding: 12px 15px; display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid rgba(214,179,109,.3); color: var(--gold-light); text-transform: uppercase; letter-spacing: .08em; font-size: 9px; transition: .25s; }
.seller-info a span { grid-column: 1 / -1; margin-bottom: 5px; color: rgba(242,237,229,.56); font-size: 10px; letter-spacing: .05em; }
.seller-info a b { grid-column: 2; grid-row: 2; font-size: 16px; font-weight: 400; }
.seller-info a:hover { background: var(--gold); color: var(--black); }
.seller-info a:hover span { color: rgba(9,10,9,.65); }

.final-cta { position: relative; min-height: 700px; display: grid; place-items: center; isolation: isolate; overflow: hidden; text-align: center; }
.final-cta > img { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-overlay { position: absolute; z-index: -2; inset: 0; background: rgba(5,6,5,.82); }
.final-cta > div:last-child { padding: 90px 22px; display: flex; flex-direction: column; align-items: center; }
.final-logo { width: 205px; height: 120px; margin-bottom: 24px; object-fit: contain; }
.final-cta .button { margin-top: 34px; }
.whatsapp-float { position: fixed; z-index: 45; right: 20px; bottom: 20px; min-height: 50px; padding: 0 18px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(214,179,109,.65); border-radius: 999px; background: rgba(9,10,9,.86); color: var(--gold-light); box-shadow: 0 14px 40px rgba(0,0,0,.38); backdrop-filter: blur(12px); text-transform: uppercase; letter-spacing: .1em; font-size: 9px; }
.whatsapp-float b { font-size: 15px; font-weight: 400; }
footer { min-height: 260px; padding: 52px clamp(22px, 7vw, 120px) 28px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; border-top: 1px solid var(--line); background: #070807; }
footer > img { width: 200px; height: 105px; object-fit: contain; }
footer > p { justify-self: end; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }
footer small { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid rgba(214,179,109,.12); color: rgba(242,237,229,.32); text-align: center; font-size: 9px; }

[data-reveal] { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

@keyframes slowZoom { from { transform: scale(1.04); } to { transform: scale(1); } }
@keyframes slideOut { to { opacity: 0; transform: translateX(-28px); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes backdropIn { from { opacity: .15; } to { opacity: .58; } }
@keyframes copyIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .header { grid-template-columns: 175px 1fr 170px; gap: 15px; }
  .brand { width: 165px; }
  .main-nav { gap: 13px; }
  .main-nav a { font-size: 10px; }
  .header-cta { padding: 12px; font-size: 9px; }
  .project-view { grid-template-columns: minmax(380px, 620px) minmax(280px, 390px); gap: 45px; }
  .seller-photo { height: 370px; }
}

@media (max-width: 820px) {
  .header { position: absolute; height: 84px; grid-template-columns: 1fr auto; padding: 0 18px; }
  .brand { width: 150px; height: 65px; }
  .header-cta { display: none; }
  .menu-button { position: relative; z-index: 60; width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; border: 1px solid var(--line); background: rgba(8,9,8,.7); }
  .menu-button span { width: 20px; height: 1px; background: var(--gold); transition: .3s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: fixed; z-index: 55; inset: 0; padding: 110px 25px 35px; flex-direction: column; justify-content: flex-start; gap: 0; background: rgba(7,8,7,.985); transform: translateX(100%); opacity: 0; visibility: hidden; transition: .35s; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: Georgia, serif; font-size: 25px; }
  .hero { min-height: 720px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(5,6,5,.94), rgba(5,6,5,.42)), linear-gradient(0deg, rgba(5,6,5,.65), transparent); }
  .hero-content { margin-left: 22px; padding-top: 175px; }
  h1 { font-size: clamp(58px, 19vw, 88px); }
  .hero-content > p:not(.kicker) { font-size: 15px; }
  .hero-index { right: 22px; bottom: 24px; }
  .section { padding: 88px 20px; }
  .tabs { grid-template-columns: 1fr; margin-top: 48px; }
  .tab { min-height: 58px; justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--line); }
  .tab:last-child { border-bottom: 0; }
  .tab::after { inset: 0 auto 0 -1px; width: 2px; height: auto; transform: scaleY(0); }
  .tab.active::after { transform: scaleY(1); }
  .project-view { grid-template-columns: 1fr; gap: 50px; }
  .gallery-frame { width: min(100%, 640px); }
  .gallery-image { padding: 8px; }
  .project-copy { max-width: 620px; }
  .project-number { margin-bottom: 30px; font-size: 94px; }
  .signature { padding: 85px 22px; grid-template-columns: 1fr; gap: 38px; }
  .seller-grid { grid-template-columns: 1fr; max-width: 480px; }
  .seller-photo { height: min(116vw, 560px); }
  .final-cta { min-height: 630px; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  footer > p { justify-self: center; }
  footer small { grid-column: 1; width: 100%; }
}

@media (max-width: 470px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .gallery-controls { right: 10px; bottom: 10px; }
  .frame-ratio { left: 10px; top: 10px; }
  .thumbnail { flex-basis: 58px; }
  .whatsapp-float { right: 12px; bottom: 12px; }
}

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