:root {
  --bg-main:   #9c9e80;
  --bg-panel:  #8a8635;
  --bg-header: #cdad85;
  --bg-footer: #cdad85;
  --bg-scopes: #605f4b;
 /* --bg-header: #131313;
  --bg-footer: #0c0d0f;*/

  --text-primary: #c47457;
  --text-secondary: #b73d30;

  --accent: #d97706; /* warm amber for skin-tone */
  --border-subtle: #605f4b;
}
@font-face {
    font-family: 'Quartz'; /*a name to be used later*/
    src: url('fonts/quartz.woff2'); /*URL to font*/
}

@font-face {
    font-family: 'Baskerville'; /*a name to be used later*/
    src: url('fonts/baskbold.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'Perp'; /*a name to be used later*/
    src: url('fonts/PERPTIT.TTF'); /*URL to font*/
}

@font-face {
    font-family: 'Hoverage'; /*a name to be used later*/
    src: url('fonts/Hoverage.ttf'); /*URL to font*/
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Hoverage;
}

body {
  background: var(--bg-main);
  color: var(--text-primary);
  height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("textures/noise.png");
  opacity: 0.08; /* adjust grain strength */
  mix-blend-mode: soft-light;
  z-index: -1;
}

/* HEADER */
.app-header {
  height: 56px;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 24px;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 18px;
  color: var(--text-secondary);
  text-decoration: none;
  
}

.top-nav {
  display: flex;
  gap: 8px;
}

.nav-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  
}

.nav-btn.active,
.nav-btn:hover {
  color: var(--text-primary);
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

/* MAIN */
.app-main {
  flex: 1;
  background: var(--bg-main);
  padding: 16px;
}

.app-main-scopes {
  flex: 1;
  background: var(--bg-scopes);
  padding: 16px;
}

/* FOOTER */
.app-footer {
  height: 36px;
  background: var(--bg-footer);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 11px;
  color: var(--text-secondary);
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
}

.footer-center {
  text-align: center;
}

.footer-right {
  text-align: right;
}

.content-section h2 {
  margin-top: 0.5rem; /* adjust as needed */
}

/* ============================================================
   HERO LANDING SECTION (Replacing Splash Screen)
   ============================================================ */

.hero-landing {
  height: calc(100vh - 56px); /* full main area minus header/footer */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: var(--bg-main);
  overflow: hidden;
}

/* Title with cinematic fade-in/out */
.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-family: 'Hoverage';
  font-size: 5rem;
  letter-spacing: 0.22em;
  color: var(--text-primary);
  text-align: center;

  opacity: 1;
  animation: heroTitleFade 2.4s ease forwards;
  animation-delay: 0.8s;
}

/* GIF container */
.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-media video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* Graded version (default visible) */
.hero-media .graded {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  inset: 0;
}

/* Original video (shown on hover) */
/*.hero-media .original {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  object-fit: contain; 
}

.hero-media:hover .original {
  opacity: 1;
}

.gif-wrapper {
  width: 100%;
  max-width: 800px; 
  margin: 0 auto 40px; 
}

.gif-wrapper video{
  width: 100%;
  height: auto;
  display: block;
}

.content-gif {
  width: 100%;       
  height: auto;      
  display: block;
  border-radius: 12px; 
}



@keyframes heroTitleFade {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-24px); }
}*/

/* --- SWIPE REVEAL SECTION --- */
.swipe-section {
 /* margin-top: 1vh; /* ensures it appears AFTER the fullscreen landing video */
  padding: 10px 0;
  text-align: center;
  color: white;
}

.swipe-title {
  font-family: Hoverage, serif;
  font-size: 32px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(0); /* default for right swipe */
  transition: all 0.8s ease-out;
}

.swipe-title.right{
  transform: translateX(80px);
}

.swipe-title.left {
  transform: translateX(-80px); /* left swipe */
}
.swipe-title.up{
  transform: translateY(40px);
}

.swipe-title.visible {
  opacity: 1;
  transform: translateX(0);
  transform: translateY(0);
}


.swipe-container {
 /* position: relative;
  width: 80%;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  */
  width: 100%;
  max-width: 550px;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* The two stacked images */
.swipe-img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}

.swipe-img-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.swipe-img-right {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  clip-path: inset(0 0 0 50%); /* start halfway revealed */
}

/* Handle */
.swipe-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  cursor: ew-resize;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  justify-content: center;
}

.swipe-bar {
  width: 4px;
  background: white;
  opacity: 0.9;
  height: 100%;
  border-radius: 2px;
}

/* Disable selection highlights */
.swipe-container,
.swipe-container * {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent;
}

/* Remove focus outline on handle */
.swipe-handle {
  outline: none;
}
.swipe-handle:focus {
  outline: none;
}
.swipe-row {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px; /* space between swipe containers */
  justify-items: center; /* center them horizontally */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.swipe-container,
.swipe-img,
.swipe-handle,
.swipe-bar {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    -webkit-user-drag: none;
    user-drag: none;

    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: none;
}

/* Also prevent image dragging ghost effect */
.swipe-img {
    pointer-events: none;
}

/* Reset ONLY inside this component */
.video-side-by-side video {
  position: static !important;
  clip-path: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.video-side-by-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  gap: 10px;
}

.video-side-by-side video {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --- VIDEO MAGNIFY --- */

/* =========================
VIDEO HOVER REVEAL
========================= */
/*
.video-hover-wrapper{
  position:absolute;
  inset:0;
  overflow:hidden;
}

.video-hover-wrapper video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  transform: translateZ(0);
}

.video-graded{
  z-index:1;
}

.video-ungraded{
  z-index:2;
  opacity:0;
  transition:opacity .4s ease;
  pointer-events:none;
}

.video-hover-wrapper:hover .video-ungraded{
  opacity:1;
}*/

/* VIDEO WRAPPER */

/* VIDEO STACK */

.video-hover-wrapper{
  position:relative;
  width:100%;
  max-width:1100px;
  margin:auto;
}

.video-hover-wrapper video{
  width:100%;
  display:block;
}

.video-ungraded{
  position:relative;
  z-index:1;
}

.video-graded{
  position:absolute;
  inset:0;
  z-index:2;
  opacity:1;
  transition:opacity .4s ease;
}

/* hide grade */

.video-hover-wrapper.grade-off .video-graded{
  opacity:0;
}


/* TOGGLE */

.grade-toggle{
  position:absolute;
  top:20px;
  right:20px;
  z-index:5;
  background:rgba(0,0,0,0.5);
  padding:8px 12px;
  border-radius:20px;
  font-size:12px;
  color:white;
}

.grade-toggle input{
  display:none;
}

.toggle-slider{
  width:36px;
  height:18px;
  background:#666;
  border-radius:20px;
  display:inline-block;
  position:relative;
  margin-right:8px;
  vertical-align:middle;
}

.toggle-slider::after{
  content:"";
  width:14px;
  height:14px;
  background:white;
  border-radius:50%;
  position:absolute;
  top:2px;
  left:2px;
  transition:transform .25s ease;
}



.grade-toggle input:checked ~ .toggle-slider::after,
.video-toggle input:checked ~ .toggle-slider::after{
  transform:translateX(18px);
}

.toggle-label{
  vertical-align:middle;
  letter-spacing:.1em;
}

.toggle-labelrg{
  vertical-align:middle;
  letter-spacing:.1em;
  color:#b73d30;
}

.cta-link{
  color:#b73d30; /* choose any colour you like */
  text-decoration:none;
  font-weight:600;
}

.cta-link:hover{
  text-decoration:underline;
}

.fade-title{
  opacity:0;
  transition:opacity 1.2s ease;
}

.fade-title.visible{
  opacity:1;
}

.fullscreen-btn{
  position:absolute;
  bottom:12px;
  right:12px;
  background:rgba(0,0,0,0.6);
  color:white;
  border:none;
  padding:8px 10px;
  font-size:16px;
  cursor:pointer;
  border-radius:4px;
  z-index:999;
}

.fullscreen-btn:hover{
  background:rgba(0,0,0,0.9);
}

/* Make container scale nicely in fullscreen */
.swipe-container:fullscreen{
  width:100vw;
  height:100vh;
}

.swipe-container:fullscreen img{
  object-fit:contain;
}


/* =========================
VIDEO TOGGLE SECTION
========================= */

.video-toggle-section{
  display:flex;
  justify-content:center;
  margin:80px 0;
}

.video-toggle-wrapper{
  position:relative;
  width:100%;
  max-width:420px;
  aspect-ratio:1/1;
  overflow:hidden;
}

.video-toggle-wrapper video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.video-a{
  z-index:1;
}

.video-b{
  z-index:2;
  opacity:1;
  transition:opacity .4s ease;
}

.video-toggle-wrapper.toggle-off .video-b{
  opacity:0;
}

/* toggle position */

.video-toggle input{
  display:none;
}



.video-toggle{
  position:absolute;
  top:16px;
  right:16px;
  z-index:5;
  background:rgba(0,0,0,0.5);
  padding:8px 12px;
  border-radius:20px;
  font-size:12px;
  color:white;
}

.swipe-block{
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
}

.swipe-label{
  font-family: Hoverage;
  font-size:14px;
  letter-spacing:0.18em;
  color:var(--text-secondary);
  margin-bottom:8px;
  text-transform:uppercase;
}

.contact-form-wrapper{
  max-width:600px;
  margin:80px auto;
  padding:40px;
  background:#111;
  border:1px solid #222;
  border-radius:6px;
}

/* labels */
.contact-form-wrapper label{
  display:block;
  margin-top:20px;
  margin-bottom:6px;
  font-size:12px;
  letter-spacing:1px;
  color:#aaa;
}

/* inputs */
.contact-form-wrapper input,
.contact-form-wrapper textarea{
  width:100%;
  padding:12px 14px;
  background:#0a0a0a;
  border:1px solid #333;
  color:#fff;
  font-size:14px;
  border-radius:4px;
  transition:all 0.2s ease;
}

/* textarea height */
.contact-form-wrapper textarea{
  min-height:140px;
  resize:vertical;
}

/* focus effect */
.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus{
  outline:none;
  border-color:#777;
  background:#000;
}

/* submit button */
.contact-form-wrapper button{
  margin-top:25px;
  padding:12px 22px;
  border:none;
  background:#fff;
  color:#000;
  font-weight:600;
  letter-spacing:1px;
  cursor:pointer;
  transition:all 0.2s ease;
}

/* hover effect */
.contact-form-wrapper button:hover{
  background:#ccc;
}




