:root {
  --gold: #55792c;
  --gold-light: #75a380;
  --gold-dim: #173a26;
  --cream: #f5f0e8;
  --black: #080806;
  --charcoal: #101414;
  --text-dim: #888880;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Tenor Sans', sans-serif;
  cursor: none;
  overflow-x: hidden;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, width 0.3s ease, height 0.3s ease;
}
body:hover .cursor { opacity: 1; }

/* ── GRAIN OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9990;
  opacity: 0.4;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: normal;
}
nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 60px; right: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 6px;
  color: var(--cream);
  text-decoration: none;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 50px;
  list-style: none;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.4s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

/* ── HERO ── */
header {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* ── VIDEO CAROUSEL ── */
.video-carousel {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.4) brightness(0.35);
  opacity: 0;
  transition: opacity 1.2s ease;
  top: 0; left: 0;
  position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
object-position:center;
}
@media (max-width:768px){

.bg-video{
object-position: 70% center;
}

}

.bg-video.active {
  opacity: 1;
}

/* Video indicator dots */
.video-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
  align-items: center;
}
.video-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(245, 240, 232, 0.25);
  transition: background 0.4s ease, transform 0.4s ease;
  cursor: none;
}
.video-dot.active {
  background: var(--gold);
  transform: scale(1.4);
}

/* cinematic letterbox bars */
header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--black), transparent);
  z-index: 1;
}
header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--black), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 80px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -1px;
  color: var(--cream);
  opacity: 0;
  animation: fadeUp 1.2s ease 0.5s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  right: 60px;
  bottom: 80px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}
.hero-scroll span {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.7); }
}

/* ── DIVIDER ── */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 60px 0;
}
.ornament-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim));
}
.ornament-line.right {
  background: linear-gradient(90deg, var(--gold-dim), transparent);
}
.ornament-diamond {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}
.ornament-dot {
  width: 3px; height: 3px;
  background: var(--gold-dim);
  transform: rotate(45deg);
}

/* ── ABOUT ── */
#about {
  padding: 60px 60px 120px;
  background: var(--black);
  position: relative;
}

#about::before {
  content: '';
  position: absolute;
  left: 60px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim) 30%, var(--gold-dim) 70%, transparent);
  opacity: 0.3;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.about-image-wrap {
  position: relative;
}
.about-image-wrap::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  right: 16px; bottom: 16px;
  border: 1px solid rgba(201,168,76,0.25);
  z-index: 0;
}
.about-image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: saturate(0.6) contrast(1.1);
  display: block;
}

.about-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(160deg, transparent 60%, rgba(201,168,76,0.12));
  pointer-events: none;
}

.about-text {
  padding-top: 20px;
}

.section-label {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
}

.about-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 40px;
}
.about-heading em {
  font-style: italic;
  color: var(--gold-light);
}

.about-body p {
  font-size: 15px;
  line-height: 1.9;
  color: #a09e96;
  margin-bottom: 22px;
  font-weight: 300;
}
.about-body p strong {
  color: var(--cream);
  font-weight: 400;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 50px;
  border-top: 1px solid rgba(201,168,76,0.15);
  padding-top: 40px;
}
.stat {
  padding: 0 24px 0 0;
  border-right: 1px solid rgba(201,168,76,0.12);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── WORKS TEASER ── */
#works {
  padding: 80px 60px 140px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

#works::before {
  content: 'WORKS';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px;
  font-weight: 300;
  color: rgba(201,168,76,0.04);
  letter-spacing: 20px;
  pointer-events: none;
  white-space: nowrap;
}

.works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.works-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
}
.works-heading em {
  font-style: italic;
  color: var(--gold-light);
}

.works-cta {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.3s ease;
}
.works-cta:hover { gap: 16px; }
.works-cta::after {
  content: '→';
  font-size: 14px;
}

.works-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}

.work-card {
  position: relative;
  aspect-ratio: 3/4;
  background: #1a1a18;
  overflow: hidden;
  cursor: none;
}
.work-card:first-child { aspect-ratio: auto; grid-row: span 2; }

/* ── FIX: work card background image fill ── */
.work-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
}

.work-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.work-card:hover .work-card-bg {
  transform: scale(1.05);
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  z-index: 1;
}

.work-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  z-index: 2;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}
.work-card:hover .work-card-content { transform: translateY(0); }

.work-tag {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.work-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--cream);
}

.work-number {
  position: absolute;
  top: 24px; right: 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(201,168,76,0.4);
  letter-spacing: 2px;
  z-index: 2;
}

.work-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.5s ease;
  z-index: 3;
}
.work-card:hover::after { width: 100%; }

/* ── CONTACT ── */
#contact {
  padding: 120px 60px;
  background: var(--black);
  text-align: center;
  position: relative;
}

.contact-pre {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.contact-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 7vw, 90px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 20px;
}
.contact-heading em {
  font-style: italic;
  color: var(--gold-light);
}
.contact-sub {
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 50px;
}

.contact-email {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.contact-email:hover { color: var(--gold); border-color: var(--gold); }

/* ── IMAGE FOOTER ── */
.image-footer {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.1);
}

.footer-overlay {
  position: absolute;
  inset: 0;
}

.footer-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

/* ── ASCII FOOTER TITLE ── */
.footer-ascii {
  line-height: 1.25;
  letter-spacing: 0;
  color: #75a380;
font-family: "Playfair Display", serif;
  font-weight: 200;
  font-size: clamp(38px, 6vw, 90px);
  line-height: 1.05;
  letter-spacing: -0.03em;

  text-shadow:
    0 2px 4px rgba(0,0,0,0.6),
    0 8px 20px rgba(0,0,0,0.45),
    0 20px 60px rgba(0,0,0,0.35);
  margin-bottom: 28px;
  white-space: pre;
  display: block;
  text-align: left;
  overflow: visible;
  user-select: none;
  
}

.footer-socials {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  font-size:40px;
}

.footer-socials a:hover {
  color: var(--gold);
  transform: translateY(-3px);
}

.footer-copy {
  font-size: 12px;
  letter-spacing: 2px;
  color: #aaa;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 20px 30px; }
  nav::after { left: 30px; right: 30px; }
  .hero-content { padding: 0 30px 60px; }
  .hero-scroll { right: 30px; }
  #about { padding: 40px 30px 80px; }
  #about::before { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-image-wrap::before { display: none; }
  .about-image-wrap img { aspect-ratio: 4/3; }
  #works { padding: 60px 30px 100px; }
  .works-grid { grid-template-columns: 1fr; }
  .work-card:first-child { grid-row: span 1; }
  #contact { padding: 80px 30px; }
  .footer-ascii { display: none; }
}

/* ── TECH STACK ── */
#stack {
  padding: 100px 60px;
  background: var(--black);
}

.stack-container {
  max-width: 1100px;
  margin: 0 auto;
}

.stack-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 60px;
}

.stack-heading em {
  color: var(--gold-light);
  font-style: italic;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.stack-card {
  padding: 40px;
  background: #131311;
  border: 1px solid rgba(201,168,76,0.08);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.stack-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.3);
}

.stack-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 8px;
}

.stack-level {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}

@media (max-width: 900px) {
  #stack { padding: 80px 30px; }
  .stack-grid { grid-template-columns: 1fr 1fr; }
}
.burger{
display:none;
flex-direction:column;
gap:5px;
cursor:pointer;
z-index:1001;
}

.burger span{
width:26px;
height:2px;
background:white;
display:block;
transition:0.3s;
}


/* mobile nav */

@media (max-width:768px){

.nav-links{
position:fixed;
top:0;
right:-100%;
height:100vh;
width:70%;
background:#0b0b0b;
flex-direction:column;
justify-content:center;
align-items:center;
gap:40px;
transition:0.4s ease;
}

.nav-links.active{
right:0;
}

.burger{
display:flex;
}

}
@media (max-width: 768px){

.works-grid{
grid-template-columns: repeat(2, 1fr);
gap:16px;
padding:0 6%;
}

.work-card{
aspect-ratio:1/1;
}

.work-title{
font-size:14px;
}

.work-tag{
font-size:10px;
}

}
body.menu-open{
overflow:hidden;
}
.menu-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
backdrop-filter:blur(8px);
background:rgba(0,0,0,0.35);
opacity:0;
pointer-events:none;
transition:0.35s ease;
z-index:999;
}

body.menu-open .menu-overlay{
opacity:1;
pointer-events:auto;
}
.work-card-overlay{
  pointer-events: none;
}
/* individual icon colors */

.footer-socials a.insta {
  color: #ffffff;
}

.footer-socials a.linkedin {
  color: #ffffff;
}

.footer-socials a.mail {
  color: #ffffff; /* matches your site theme */
}

/* hover effects */

.footer-socials a.insta:hover {
  color: #ff0069;
}

.footer-socials a.linkedin:hover {
  color: #00A0DC;
}

.footer-socials a.mail:hover {
  color: #55792c;
}
.luxury-btn{
  position: relative;
  display: inline-block;
  padding: 14px 34px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: #f5f0e8;
  border: 1px solid rgba(117,163,128,0.4);
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease;
}

/* sliding gold fill */
.luxury-btn::before{
  content:'';
  position:absolute;
  inset:0;
  background:#55792c;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 0.45s cubic-bezier(.25,.46,.45,.94);
  z-index:-1;
}

.luxury-btn:hover::before{
  transform:scaleX(1);
}

.luxury-btn:hover{
  color:#080806;
  border-color:#55792c;
}
