/* ==========================================================================
   SADOODTA PORTFOLIO — Editorial Travel Journal × Creative Studio
   Design System & Stylesheet for sadoodta.com/portfolio
   ========================================================================== */

:root {
  --bg-paper: #FAF7F2;
  --bg-white: #FFFFFF;
  --bg-warm: #F2ECE1;
  --ink-deep: #0D2627;
  --ink-dark: #161B1C;
  --ink-body: #3E4A4B;
  --ink-muted: #6C7879;
  --teal: #0D7A6F;
  --teal-dark: #095C53;
  --teal-soft: rgba(13, 122, 111, 0.1);
  --gold: #F4B93B;
  --gold-soft: rgba(244, 185, 59, 0.18);
  --seal-red: #C83E2B;
  --border-subtle: rgba(13, 38, 39, 0.09);
  --border-light: rgba(255, 255, 255, 0.14);

  --font-display: 'Prompt', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Sarabun', 'Prompt', sans-serif;
  --font-mono: 'Space Grotesk', 'Prompt', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --shadow-soft: 0 10px 30px -10px rgba(13, 38, 39, 0.08);
  --shadow-card: 0 18px 42px -14px rgba(13, 38, 39, 0.13);
  --shadow-float: 0 28px 60px -16px rgba(8, 24, 25, 0.28);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--ink-body);
  background-color: var(--bg-paper);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle travel-journal paper texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1220px, 92vw);
  margin-inline: auto;
}

/* Typography Helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.eyebrow--light {
  color: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--ink-deep);
  letter-spacing: -0.015em;
}

.section-title--light {
  color: #FFFFFF;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--teal);
}

.section-title--light em {
  color: var(--gold);
}

.section-lead {
  font-size: 1.08rem;
  color: var(--ink-muted);
  max-width: 640px;
  margin-top: 14px;
}

.section-lead--light {
  color: rgba(255, 255, 255, 0.76);
}

.highlight-bar {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.highlight-bar::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 4px;
  height: 36%;
  background: var(--gold);
  opacity: 0.45;
  z-index: -1;
  border-radius: 4px;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--seal-red));
  z-index: 1001;
  transition: width 0.08s linear;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 94vw);
  z-index: 900;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(13, 38, 39, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.35s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--border-subtle);
  box-shadow: 0 14px 36px -12px rgba(13, 38, 39, 0.14);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #FFFFFF;
  letter-spacing: 0.04em;
}

.nav-brand-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
}

.navbar.scrolled .nav-brand-title {
  color: var(--ink-deep);
}

.navbar.scrolled .nav-brand-sub {
  color: var(--ink-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.navbar.scrolled .nav-links a {
  color: var(--ink-body);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  background: var(--teal-soft);
  color: var(--teal);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink-deep);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(244, 185, 59, 0.55);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .nav-toggle {
  color: var(--ink-deep);
  background: var(--bg-warm);
}

/* Mobile Drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(13, 38, 39, 0.96);
  backdrop-filter: blur(20px);
  z-index: 950;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFFFF;
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 1.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding: 130px 0 140px;
  background-color: var(--ink-deep);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -4% 0;
  background-image: url('./assets/hero-diary.jpg');
  background-size: cover;
  background-position: center 22%;
  transform: scale(1.04);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 38%, rgba(13, 38, 39, 0.15) 0%, rgba(13, 38, 39, 0.68) 70%),
    linear-gradient(105deg, rgba(8, 25, 26, 0.92) 0%, rgba(13, 38, 39, 0.72) 48%, rgba(13, 38, 39, 0.38) 100%),
    linear-gradient(to top, rgba(13, 38, 39, 0.95) 0%, transparent 32%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(244, 185, 59, 0.25);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.3rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.13;
  letter-spacing: -0.02em;
}

.hero-title .serif-accent {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  color: var(--gold);
  margin-top: 8px;
  letter-spacing: 0;
}

.hero-desc {
  margin-top: 22px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 580px;
  line-height: 1.75;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-tag {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(13, 122, 111, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 28px;
  border-radius: 999px;
  transition: all 0.3s var(--ease-out);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink-deep);
  box-shadow: 0 14px 32px -8px rgba(244, 185, 59, 0.45);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px -8px rgba(244, 185, 59, 0.62);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--ink-deep);
  color: #FFFFFF;
}

.btn-dark:hover {
  background: var(--teal);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Ambient Living Layers (Mist, Sunbeams, Birds) & Floating Sketch Stage
   ========================================================================== */
.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-mist-deep {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 42% at 22% 78%, rgba(220, 244, 240, 0.22) 0%, transparent 72%),
    radial-gradient(ellipse 68% 36% at 78% 66%, rgba(232, 247, 242, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 90% 30% at 50% 94%, rgba(214, 238, 234, 0.26) 0%, transparent 74%);
  filter: blur(28px);
  animation: mistVeilPulse 16s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes mistVeilPulse {
  0%   { opacity: 0.55; transform: translate3d(-2%, 0, 0) scale(1); }
  50%  { opacity: 0.92; transform: translate3d(2%, -1.5%, 0) scale(1.04); }
  100% { opacity: 0.68; transform: translate3d(-1%, 1%, 0) scale(1.02); }
}

.hero-mist {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(226, 245, 240, 0.26) 0%, transparent 70%);
  filter: blur(28px);
  animation: heroMistDrift linear infinite;
  will-change: transform;
}

.hero-mist-1 { width: 620px; height: 165px; top: 58%; left: -18%; animation-duration: 44s; }
.hero-mist-2 { width: 520px; height: 140px; top: 24%; left: -24%; animation-duration: 56s; animation-delay: -20s; opacity: 0.7; }
.hero-mist-3 {
  width: 780px;
  height: 210px;
  top: 72%;
  left: -30%;
  background: radial-gradient(ellipse at center, rgba(235, 248, 244, 0.24) 0%, rgba(210, 238, 234, 0.1) 48%, transparent 75%);
  filter: blur(38px);
  animation-name: heroMistDriftReverse;
  animation-duration: 68s;
  animation-delay: -14s;
  opacity: 0.85;
}
.hero-mist-4 {
  width: 680px;
  height: 175px;
  top: 40%;
  left: -26%;
  background: radial-gradient(ellipse at center, rgba(255, 246, 224, 0.16) 0%, transparent 72%);
  filter: blur(34px);
  animation-duration: 74s;
  animation-delay: -38s;
  opacity: 0.78;
}

@keyframes heroMistDrift {
  from { transform: translate3d(-10vw, 0, 0); }
  to { transform: translate3d(122vw, -12px, 0); }
}

@keyframes heroMistDriftReverse {
  from { transform: translate3d(118vw, 6px, 0); }
  to { transform: translate3d(-24vw, -10px, 0); }
}

.hero-beam {
  position: absolute;
  top: -18%;
  width: 150px;
  height: 125%;
  background: linear-gradient(to bottom, rgba(255, 224, 152, 0.18) 0%, rgba(255, 215, 130, 0.05) 55%, transparent 100%);
  transform: rotate(24deg);
  filter: blur(20px);
  animation: beamBreathe 7s ease-in-out infinite alternate;
}

.hero-beam-1 { left: 48%; }
.hero-beam-2 { left: 64%; width: 120px; animation-delay: -3.2s; opacity: 0.75; }

@keyframes beamBreathe {
  0%   { opacity: 0.32; transform: rotate(23deg) scaleX(0.92); }
  100% { opacity: 0.85; transform: rotate(26deg) scaleX(1.08); }
}

.ambient-bird {
  position: absolute;
  fill: none;
  stroke: rgba(255, 249, 236, 0.85);
  stroke-width: 2.2;
  stroke-linecap: round;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  animation: ambientBirdFly linear infinite;
}

.ambient-bird path {
  transform-origin: center;
  animation: birdWing 0.72s ease-in-out infinite alternate;
}

.hb-1 { width: 30px; top: 18%; left: -6%; animation-duration: 21s; animation-delay: -3s; }
.hb-2 { width: 22px; top: 23%; left: -10%; animation-duration: 24s; animation-delay: -6.5s; opacity: 0.8; }
.hb-3 { width: 18px; top: 16%; left: -14%; animation-duration: 26s; animation-delay: -13s; opacity: 0.68; }

@keyframes ambientBirdFly {
  0%   { transform: translate(-4vw, 18px) scale(0.85); opacity: 0; }
  12%  { opacity: 0.9; }
  52%  { transform: translate(54vw, -26px) scale(1); }
  88%  { opacity: 0.85; }
  100% { transform: translate(114vw, -8px) scale(0.9); opacity: 0; }
}

@keyframes birdWing {
  0%   { transform: scaleY(1) translateY(0); }
  100% { transform: scaleY(0.32) translateY(3px); }
}

/* Hero Right Side — Floating Real Watercolor Postcard Constellation */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.sketch-constellation {
  position: relative;
  width: min(470px, 100%);
  height: 440px;
}

.float-postcard {
  position: absolute;
  background: #FAF6EE;
  padding: 9px 9px 34px;
  border-radius: 12px;
  box-shadow: 0 26px 54px -14px rgba(4, 16, 17, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: box-shadow 0.35s var(--ease-out), border-color 0.3s ease;
  will-change: transform;
}

.float-postcard:hover {
  z-index: 12 !important;
  box-shadow: 0 32px 66px -12px rgba(0, 0, 0, 0.72), 0 0 0 2px var(--gold);
}

.float-postcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
  display: block;
}

.float-postcard figcaption {
  position: absolute;
  bottom: 8px;
  left: 11px;
  right: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--ink-deep);
}

.float-postcard figcaption span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--teal);
}

.pc-main {
  width: 300px;
  height: 242px;
  top: 74px;
  left: 8px;
  z-index: 4;
  transform: rotate(-3.2deg);
  animation: pcBob1 6.5s ease-in-out infinite;
}

.pc-top {
  width: 215px;
  height: 175px;
  top: -6px;
  right: 4px;
  z-index: 3;
  transform: rotate(5deg);
  animation: pcBob2 7.4s ease-in-out infinite;
}

.pc-bottom {
  width: 218px;
  height: 172px;
  bottom: -4px;
  right: 22px;
  z-index: 5;
  transform: rotate(3.2deg);
  animation: pcBob3 8s ease-in-out infinite;
}

.pc-role-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.pc-role-vlog {
  background: rgba(196, 54, 42, 0.9);
}

.pc-role-photo {
  background: rgba(13, 122, 111, 0.9);
}

.pc-role-art {
  background: rgba(186, 124, 24, 0.92);
}

.pc-play-chip {
  position: absolute;
  right: 16px;
  bottom: 42px;
  z-index: 3;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(13, 38, 39, 0.84);
  border: 1px solid rgba(244, 185, 59, 0.65);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, background 0.25s ease;
  pointer-events: none;
}

.pc-main:hover .pc-play-chip {
  transform: scale(1.06);
  background: var(--gold);
  color: var(--ink-deep);
}

.pc-tape {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 64px;
  height: 18px;
  background: rgba(244, 214, 146, 0.78);
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.14);
}

@keyframes pcBob1 {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes pcBob2 {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 11px; }
}

@keyframes pcBob3 {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

.hero-stamp {
  position: absolute;
  top: 12px;
  left: -18px;
  width: 90px;
  height: 90px;
  object-fit: contain;
  z-index: 8;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.42));
  animation: stampFloat 7s ease-in-out infinite;
  pointer-events: none;
}

.constellation-hint {
  position: absolute;
  bottom: -30px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.76);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@keyframes stampFloat {
  0%, 100% { transform: rotate(-10deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-8px); }
}

/* ==========================================================================
   Impact Metrics Floating Strip
   ========================================================================== */
.metrics-wrap {
  position: relative;
  z-index: 10;
  margin-top: -68px;
}

.metrics-grid {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.metric-item {
  padding: 30px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.25s ease;
}

.metric-item:hover {
  background: #FCFBF8;
}

.metric-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--border-subtle);
}

.metric-num {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 700;
  color: var(--ink-deep);
  line-height: 1.1;
}

.metric-num span {
  color: var(--teal);
}

.metric-label {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-deep);
  margin-top: 4px;
}

.metric-sub {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Trusted Partners Strip
   ========================================================================== */
.partners-section {
  padding: 64px 0 40px;
}

.partners-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 38px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.partners-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.partners-header p {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-deep);
}

.partners-header span {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.partner-tile {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  min-height: 96px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease, box-shadow 0.25s ease;
}

.partner-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 122, 111, 0.35);
  box-shadow: var(--shadow-soft);
}

.partner-tile img {
  max-height: 58px;
  max-width: 100%;
  object-fit: contain;
}

.partner-tile--badge {
  justify-content: flex-start;
  text-align: left;
  padding: 14px 16px;
}

.partner-seal-img {
  width: 52px;
  height: 52px;
  max-height: 52px !important;
  object-fit: contain;
  flex-shrink: 0;
}

.partner-badge-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.partner-badge-copy strong {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-deep);
}

.partner-badge-copy small {
  font-size: 0.7rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.partner-trip-logo {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  color: #287DFA;
}

.partner-trip-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFB400;
  margin: 0 2px;
  transform: translateY(-1px);
}

.partner-trip-com {
  color: #287DFA;
  font-size: 1.35rem;
}

/* ==========================================================================
   Identity & Story (Interactive Polaroid Stack)
   ========================================================================== */
.section {
  padding: 96px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

/* Interactive Polaroid Deck */
.deck-stage {
  position: relative;
  height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.polaroid-deck {
  position: relative;
  width: min(410px, 86vw);
  height: 410px;
  cursor: pointer;
}

.polaroid-card {
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  padding: 14px 14px 56px;
  border-radius: 14px;
  box-shadow: 0 22px 48px -14px rgba(13, 38, 39, 0.24);
  border: 1px solid rgba(13, 38, 39, 0.08);
  transition: transform 0.55s var(--ease-out), opacity 0.45s ease, z-index 0s;
  user-select: none;
}

.polaroid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.polaroid-caption {
  position: absolute;
  bottom: 14px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-deep);
}

.polaroid-caption span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--teal);
}

.polaroid-card[data-pos="0"] {
  z-index: 4;
  transform: rotate(-2deg) translate(0, 0) scale(1);
}

.polaroid-card[data-pos="1"] {
  z-index: 3;
  transform: rotate(4.5deg) translate(18px, 10px) scale(0.96);
}

.polaroid-card[data-pos="2"] {
  z-index: 2;
  transform: rotate(-5.5deg) translate(-18px, 16px) scale(0.92);
}

.polaroid-card[data-pos="3"] {
  z-index: 1;
  transform: rotate(2.5deg) translate(8px, 24px) scale(0.88);
  opacity: 0.85;
}

.deck-hint {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--teal);
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.about-mascot {
  position: absolute;
  top: -10px;
  left: -8px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  background: #FFFFFF;
  padding: 4px;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-card);
  z-index: 6;
}

.about-pillars {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.pillar-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease;
}

.pillar-row:hover {
  transform: translateX(6px);
  border-color: rgba(13, 122, 111, 0.35);
}

.pillar-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.pillar-row h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink-deep);
}

.pillar-row p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.about-sign {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed var(--border-subtle);
}

.about-sign img {
  height: 44px;
  width: auto;
  opacity: 0.85;
}

.about-sign-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: var(--ink-deep);
}

.about-sign-meta span {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   4 Core Capabilities / Services
   ========================================================================== */
.services-section {
  background: var(--bg-warm);
  position: relative;
}

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: rgba(13, 122, 111, 0.35);
}

.service-card--featured {
  background: linear-gradient(155deg, #0D2627 0%, #103A3B 100%);
  color: #FFFFFF;
  border-color: transparent;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card--featured .service-num {
  color: var(--gold);
}

.service-badge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink-deep);
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-top: 14px;
}

.service-card--featured .service-icon-box {
  background: rgba(244, 185, 59, 0.16);
  color: var(--gold);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ink-deep);
  margin-top: 16px;
  line-height: 1.3;
}

.service-card--featured h3 {
  color: #FFFFFF;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--ink-muted);
  margin-top: 10px;
}

.service-card--featured p {
  color: rgba(255, 255, 255, 0.78);
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.service-card--featured .service-list {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.service-list li {
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-body);
}

.service-card--featured .service-list li {
  color: rgba(255, 255, 255, 0.9);
}

.service-list li::before {
  content: "✓";
  font-weight: 700;
  color: var(--teal);
}

.service-card--featured .service-list li::before {
  color: var(--gold);
}

/* ==========================================================================
   Filterable Portfolio Gallery
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg-white);
  color: var(--ink-body);
  border: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.filter-btn.active {
  background: var(--ink-deep);
  color: #FFFFFF;
  border-color: var(--ink-deep);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.work-card {
  grid-column: span 4;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-deep);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.work-card.span-6 {
  grid-column: span 6;
  aspect-ratio: 16 / 10;
}

.work-card.span-8 {
  grid-column: span 8;
  aspect-ratio: 16 / 9;
}

.work-card.hidden {
  display: none;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

.work-card:hover img {
  transform: scale(1.06);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 22, 23, 0.92) 0%, rgba(8, 22, 23, 0.25) 48%, transparent 100%);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.work-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.work-cat {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.work-zoom {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.25s ease;
}

.work-card:hover .work-zoom {
  opacity: 1;
  transform: scale(1);
}

.work-play-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(230, 33, 23, 0.92);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.work-bottom h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.3;
}

.work-bottom p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 4px;
}

/* ==========================================================================
   Signature Spotlight: Travel Sketch & Illustrated Maps (Dark Museum Gallery)
   ========================================================================== */
.sketch-section {
  background: linear-gradient(180deg, #0D2223 0%, #101A1B 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

#sketchMotes,
#valleyParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.sketch-section .container {
  position: relative;
  z-index: 2;
}

.sketch-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 185, 59, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.sketch-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
  margin-top: 40px;
}

.sketch-feature-frame {
  position: sticky;
  top: 96px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.sketch-main-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at center, #182b2c 0%, #091314 100%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.sketch-main-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.3s ease, transform 0.5s var(--ease-out);
}

.sketch-main-stage:hover img {
  transform: scale(1.02);
}

.sketch-stage-nav {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.sketch-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(13, 38, 39, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.sketch-nav-btn:hover {
  background: var(--gold);
  color: var(--ink-deep);
  border-color: var(--gold);
}

.sketch-counter-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(13, 38, 39, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 11px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.sketch-caption-bar {
  padding: 18px 8px 6px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.sketch-caption-bar h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFFFFF;
}

.sketch-caption-bar p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 4px;
}

.sketch-tag-pill {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-deep);
  background: var(--gold);
  padding: 5px 12px;
  border-radius: 999px;
}

.sketch-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 760px) {
  .sketch-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sketch-thumb {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2px solid transparent;
  opacity: 0.68;
  transition: all 0.25s ease;
  text-align: left;
  background: #091516;
}

.sketch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sketch-thumb span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 10px 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 500;
}

.sketch-thumb:hover,
.sketch-thumb.active {
  opacity: 1;
  border-color: var(--gold);
  transform: translateY(-3px);
}

.sketch-usecases {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.usecase-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 14px 16px;
}

.usecase-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--gold);
}

.usecase-chip span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.74);
}

/* ==========================================================================
   Case Study Spotlight (Krabi Goes Local Tourism + Real Insights)
   ========================================================================== */
.case-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.case-content {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.case-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--seal-red);
  background: rgba(200, 62, 43, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  width: fit-content;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.case-stat-box {
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px;
}

.case-stat-box strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--teal);
  line-height: 1.2;
}

.case-stat-box span {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.case-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.case-tab-btn {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--bg-warm);
  color: var(--ink-body);
  transition: all 0.2s ease;
}

.case-tab-btn.active {
  background: var(--teal);
  color: #FFFFFF;
}

.case-media {
  position: relative;
  background: var(--ink-deep);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.case-media-stage {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #081718;
  cursor: pointer;
}

.case-media-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-media-stage.contain img {
  object-fit: contain;
  background: #FFFFFF;
}

.case-media-caption {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   Multi-Channel Ecosystem
   ========================================================================== */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.channel-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.3s var(--ease-out);
}

.channel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--teal);
}

.channel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.ch-fb { background: #1877F2; }
.ch-yt { background: #E62117; }
.ch-web { background: var(--teal); }
.ch-ig { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); }
.ch-tt { background: #111111; }

.channel-arrow {
  color: var(--ink-muted);
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.channel-card:hover .channel-arrow {
  transform: translate(3px, -3px);
  color: var(--teal);
}

.channel-stat {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink-deep);
}

.channel-name {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-deep);
}

.channel-desc {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Interactive Project Brief Builder & Contact
   ========================================================================== */
.contact-section {
  background-color: #0B2324;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('./assets/contact-bg.jpg');
  background-size: cover;
  background-position: center 56%;
  transform: scale(1.02);
  filter: saturate(1.1);
  z-index: -2;
}

.contact-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg, rgba(7, 25, 24, 0.84) 0%, rgba(10, 36, 33, 0.64) 48%, rgba(8, 28, 27, 0.44) 100%),
    linear-gradient(to bottom, rgba(7, 25, 24, 0.32) 0%, transparent 22%, transparent 74%, rgba(8, 24, 25, 0.92) 100%);
  z-index: -1;
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: start;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.direct-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(8, 26, 26, 0.56);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.35);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.direct-row:hover {
  background: rgba(13, 44, 42, 0.72);
  border-color: rgba(244, 185, 59, 0.5);
  transform: translateX(4px);
}

.direct-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(244, 185, 59, 0.18);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.direct-row small {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

.direct-row strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: #FFFFFF;
}

.brief-box {
  background: var(--bg-white);
  color: var(--ink-deep);
  border-radius: var(--radius-xl);
  padding: 36px 34px;
  box-shadow: var(--shadow-float);
}

.brief-box h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.brief-box > p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

.brief-group {
  margin-top: 22px;
}

.brief-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-deep);
  margin-bottom: 10px;
}

.chip-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-option {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--bg-paper);
  border: 1.5px solid var(--border-subtle);
  color: var(--ink-body);
  transition: all 0.2s ease;
}

.chip-option:hover {
  border-color: var(--teal);
}

.chip-option.selected {
  background: var(--teal);
  border-color: var(--teal);
  color: #FFFFFF;
}

.brief-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.brief-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-paper);
  color: var(--ink-deep);
  outline: none;
  transition: border-color 0.2s ease;
}

.brief-input:focus {
  border-color: var(--teal);
  background: #FFFFFF;
}

.brief-preview {
  margin-top: 20px;
  padding: 16px;
  border-radius: 14px;
  background: #F4F7F6;
  border: 1px dashed rgba(13, 122, 111, 0.35);
  font-size: 0.88rem;
  color: var(--ink-body);
  white-space: pre-line;
  line-height: 1.65;
}

.brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.brief-actions .btn {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
}

/* Footer */
.footer {
  background: #081819;
  color: rgba(255, 255, 255, 0.72);
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-mascot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #FFFFFF;
  padding: 2px;
}

.footer-left strong {
  display: block;
  font-family: var(--font-display);
  color: #FFFFFF;
  font-size: 0.98rem;
}

.footer-left small {
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--gold);
}

/* ==========================================================================
   Editorial Lightbox Modal
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(8, 20, 21, 0.92);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  width: min(1040px, 95vw);
  max-height: 90vh;
  background: #102021;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.32s var(--ease-out);
}

.lightbox.open .lightbox-dialog {
  transform: translateY(0) scale(1);
}

.lightbox-media {
  background: #071112;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 85vh;
  position: relative;
}

.lightbox-media img {
  max-height: 82vh;
  width: 100%;
  object-fit: contain;
}

.lightbox-video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  display: none;
}

.lightbox-video-wrap.active {
  display: block;
}

.lightbox-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.lightbox-ext-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #E62117;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  width: fit-content;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lightbox-ext-btn:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

.lightbox-ext-btn.hidden {
  display: none;
}

.lightbox-info {
  padding: 32px 28px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  overflow-y: auto;
}

.lightbox-cat {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.3;
}

.lightbox-desc {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 12px;
}

.lightbox-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.lightbox-tags span {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.lightbox-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lb-btn {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.85rem;
  transition: background 0.2s ease;
}

.lb-btn:hover {
  background: var(--gold);
  color: var(--ink-deep);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.lightbox-close:hover {
  background: var(--seal-red);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: var(--ink-deep);
  color: #FFFFFF;
  border: 1px solid var(--gold);
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  box-shadow: var(--shadow-float);
  z-index: 1500;
  opacity: 0;
  transition: all 0.35s var(--ease-out);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1060px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-visual {
    justify-content: flex-start;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-item:nth-child(2)::after {
    display: none;
  }
  .metric-item:nth-child(1),
  .metric-item:nth-child(2) {
    border-bottom: 1px solid var(--border-subtle);
  }
  .partners-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  .sketch-feature-frame {
    position: relative;
    top: auto;
  }
  .about-grid,
  .sketch-layout,
  .case-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .channels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .work-card,
  .work-card.span-6,
  .work-card.span-8 {
    grid-column: span 6;
    aspect-ratio: 4 / 3;
  }
  .lightbox-dialog {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }
  .lightbox-media img {
    max-height: 46vh;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero {
    padding: 112px 0 116px;
  }
  .sketch-constellation {
    height: 330px;
  }
  .pc-main {
    width: 225px;
    height: 185px;
    top: 62px;
    left: 4px;
  }
  .pc-top {
    width: 145px;
    height: 175px;
    top: 0;
    right: 0;
  }
  .pc-bottom {
    width: 165px;
    height: 138px;
    bottom: 0;
    right: 12px;
  }
  .hero-stamp {
    width: 68px;
    height: 68px;
    top: 8px;
    left: -6px;
  }
  .ribbon-card {
    width: 205px;
  }
  .ribbon-card img {
    height: 132px;
  }
  .section {
    padding: 68px 0;
  }
  .partners-logos,
  .services-grid,
  .channels-grid,
  .sketch-usecases,
  .brief-inputs {
    grid-template-columns: 1fr;
  }
  .work-card,
  .work-card.span-6,
  .work-card.span-8 {
    grid-column: span 12;
  }
  .case-content {
    padding: 30px 22px;
  }
  .case-stats {
    grid-template-columns: 1fr;
  }
  .brief-box {
    padding: 26px 20px;
  }
  .deck-stage {
    height: 420px;
  }
  .polaroid-deck {
    height: 340px;
  }
}
