/* -----------------------------
   Root & Reset
----------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-en: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-th: 'Noto Sans Thai', sans-serif;

  --gold-gradient: linear-gradient(
    135deg,
    #f6e27a 0%,
    #e1b65c 35%,
    #fff1a8 50%,
    #cfa64a 70%,
    #f6e27a 100%
  );
    
}


.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 1px rgba(255, 220, 140, 0.25);

}



body {
  font-family: var(--font-en);
}

.brand,
.footer {
  font-family: var(--font-th);
}


html, body {
  height: 100%;
}

body {
  background: #0b6a55; /* deep green */
  color: #e6c87a; /* gold tone */
  min-width: 320px;
}

header {
  display: flex;
  justify-content: space-between;
}

/* -----------------------------
   Page Container
----------------------------- */
.page {
  min-height: 100vh;
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
  padding: clamp(16px, 2vw, 32px);
}

/* -----------------------------
   Brand (Top Left)
----------------------------- */
.brand {
  font-size: clamp(12px, 1.2vw, 16px);
  letter-spacing: 0.04em;
}

/* -----------------------------
   Brand (Top Right)
----------------------------- */

.brand-logo {
  display: block;
  background-image: url(/imgs/pijn-short-logo-v5.png);
  width: 4vw;
  height: 2vw;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  min-height: 24px;
  max-height: 29px;

}

/* -----------------------------
   Canvas Area
----------------------------- */
.canvas {
  position: relative;
  width: 100%;
  height: calc(100vh - 120px);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end; /* สำคัญ */
}


/* -----------------------------
   Door Element
----------------------------- */
.door {
  position: relative;
  width: clamp(220px, 22vw, 420px);
  aspect-ratio: 3 / 4.5;
  background: #9e1020; /* red door */
  box-shadow: inset 0 0 0 9px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  padding: clamp(16px, 2vw, 32px);
}

/* Door Handle */
.handle {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 36%;
  background: #e6c87a;
}

/* Quote Text */
.quote {
  /*margin-left: clamp(32px, 4vw, 64px);*/
  margin-left: clamp(32px, 15%, 64px);
  font-size: clamp(14px, 1.2vw, 20px);
  line-height: 1.4;
  max-width: 80%;
}

/* -----------------------------
   Footer
----------------------------- */
.footer {
  position: absolute;
  bottom: clamp(12px, 2vw, 24px);
  left: clamp(16px, 2vw, 32px);
  font-size: clamp(11px, 1vw, 14px);
  opacity: 0.85;
}

.footer .brand-h-text {
  font-size: clamp(16px, 1.5vw, 20px);
}

/* -----------------------------
   Breakpoints
----------------------------- */

/* Tablet */
@media (max-width: 1024px) {
  .canvas {
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .canvas {
    height: 90vh;
    padding: 40px 0;
  }

  .door {
    width: 70%;
  }

  .quote {
    /*margin-left: 40px;*/
    margin-left: 9vw;
    font-size: 4vw;

  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .door {
    width: 85%;
  }

  .quote {
    /*font-size: 14px;*/
    font-size: clamp(14px, 4.6vw, 20px);
    margin-left: clamp(32px, 10vw, 64px);
  
  }
}
