/* HARA Architecture Studio — Contemporary Tropical-Modern Architectural Practice
   TIKUMA Concept Demo
   Terinspirasi dari keanggunan spasial Driessen Architectuur, diolah menjadi identitas
   arsitektur kontemporer yang mandiri, orisinal, dan berkarakter kuat.
   
   Tone: Quiet Luxury, Architectural Integrity, Earth & Tectonics.
   Palet: 
     --ink: #111315 (deep carbon graphite)
     --paper: #F6F2EC (warm limestone chalk)
     --stone: #E8E2D8 (quarried stone)
     --sage: #5F7855 (tropical moss / muted olive)
     --ochre: #C0824E (warm burnt terracotta)
     --border: rgba(17, 19, 21, 0.12)
*/

@font-face {
  font-family: Archivo;
  src: url(/hara/fonts/archivo.woff2) format('woff2');
  font-weight: 300 800;
  font-stretch: 62% 125%;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url(/hara/fonts/jetbrains-mono.woff2) format('woff2');
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --ink: #111315;
  --paper: #F6F2EC;
  --stone: #E8E2D8;
  --sage: #5F7855;
  --ochre: #C0824E;
  --border: #DDD6CB;
  --border-light: rgba(17, 19, 21, 0.08);
  --border-dark: rgba(246, 242, 236, 0.15);
  --font-display: 'Archivo', -apple-system, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --gutter: clamp(1.5rem, 5.5vw, 6rem);
  --max-w: 1560px;
}

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

html {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background-color: var(--paper);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Base Container */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Subtle Architectural Grid Background */
.bg-arch-grid {
  background-image: 
    linear-gradient(to right, rgba(17, 19, 21, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 19, 21, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Floating Architectural Cursor */
.hara-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--ink);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hara-cursor { display: flex; }
}

.hara-cursor.active {
  width: 86px;
  height: 86px;
  background-color: rgba(17, 19, 21, 0.92);
  backdrop-filter: blur(8px);
}

.hara-cursor-lbl {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--paper);
  text-transform: uppercase;
}

.hara-cursor.active .hara-cursor-lbl { display: block; }

/* Header & Nav */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 800;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem var(--gutter);
  color: #FFFFFF;
  transition: padding 0.3s ease;
}

header.site-header.scrolled {
  background-color: rgba(246, 242, 236, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

header.site-header.scrolled .header-inner {
  color: var(--ink);
  padding: 1.15rem var(--gutter);
}

.brand-emblem {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-svg {
  width: 44px;
  height: 30px;
}

.brand-names {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-names .name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-names .sub {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  opacity: 0.75;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  list-style: none;
  gap: 2.25rem;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.site-nav a:hover {
  opacity: 1;
  color: var(--sage);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-hara {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-hara.outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  background: transparent;
}

.btn-hara.outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

header.site-header.scrolled .btn-hara.outline {
  border-color: var(--border);
  color: var(--ink);
}

header.site-header.scrolled .btn-hara.outline:hover {
  border-color: var(--ink);
}

.btn-hara.solid-dark {
  background-color: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}

.btn-hara.solid-dark:hover {
  background-color: var(--sage);
  border-color: var(--sage);
}

/* SECTION 1: Cinematographic Viewport Hero */
.hero-block {
  position: relative;
  height: 100vh;
  min-height: 680px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 19, 21, 0.2) 0%,
    rgba(17, 19, 21, 0.35) 45%,
    rgba(17, 19, 21, 0.88) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-bottom: clamp(3rem, 5.5vw, 6rem);
}

.label-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.label-dot .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--sage);
  box-shadow: 0 0 10px rgba(95, 120, 85, 0.8);
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 6.25rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 19ch;
  color: #FFFFFF;
}

.hero-meta-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: flex-end;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-deck {
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  color: rgba(246, 242, 236, 0.82);
  max-width: 48ch;
  line-height: 1.55;
}

.hero-indices {
  display: flex;
  gap: 2.5rem;
}

.h-idx-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.h-idx-lbl {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: rgba(246, 242, 236, 0.65);
  margin-top: 0.35rem;
  letter-spacing: 0.06em;
}

/* SECTION 2: Topographic Site Ethos (With Contour SVG) */
.ethos-block {
  position: relative;
  padding: clamp(6rem, 10vw, 11rem) 0;
  background-color: var(--paper);
  overflow: hidden;
}

.ethos-contour-bg {
  position: absolute;
  left: -20%;
  width: 140%;
  bottom: -3rem;
  pointer-events: none;
  opacity: 0.12;
}

.ethos-grid {
  display: grid;
  grid-template-columns: 24rem 1fr;
  gap: 5rem;
}

.num-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--text-muted);
}

.num-title sup {
  font-size: 0.55em;
  top: -0.4em;
}

.ethos-lead {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.8vw, 3.4rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 2.5rem;
}

.ethos-prose-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* SECTION 3: Specialisms & Spatial Disciplines */
.specialisms-block {
  position: relative;
  padding: clamp(6rem, 8vw, 9rem) 0;
  border-top: 1px solid var(--border);
  background-color: var(--paper);
}

.specialisms-top {
  display: grid;
  grid-template-columns: 24rem 1fr;
  gap: 5rem;
  padding-bottom: 4rem;
}

.specialisms-top p {
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink);
  max-width: 44ch;
}

.specialisms-bottom {
  display: grid;
  grid-template-columns: 24rem 1fr;
  gap: 5rem;
  border-top: 1px solid var(--border);
  padding-top: 4.5rem;
}

.specialisms-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.spec-item {
  border-left: 1px solid var(--border);
  padding-left: 1.5rem;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spec-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--sage);
}

.spec-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* SECTION 4: Interactive Sun & Shadow Tectonics Tool */
.solar-block {
  position: relative;
  padding: clamp(6rem, 8vw, 9rem) 0;
  background-color: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.solar-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.solar-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-dark);
  overflow: hidden;
  background-color: #0E0F10;
}

.solar-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.4s ease;
}

.solar-light-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255, 235, 185, 0.45) 0%, transparent 65%);
  mix-blend-mode: soft-light;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.solar-meta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.8vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.solar-meta p {
  color: var(--text-inv-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 44ch;
  margin-bottom: 2rem;
}

.solar-slider-wrap {
  margin-bottom: 2rem;
}

.solar-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-inv-muted);
  margin-bottom: 0.5rem;
}

input[type="range"].solar-slider {
  width: 100%;
  height: 6px;
  background: #2B2C2E;
  outline: none;
  border-radius: 3px;
  accent-color: var(--sage);
  cursor: pointer;
}

.solar-spec-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 1.25rem;
  background-color: #1A1C1E;
  border: 1px solid var(--border-dark);
  font-family: var(--font-mono);
}

.solar-stat-lbl {
  font-size: 0.6875rem;
  color: var(--text-inv-muted);
}

.solar-stat-val {
  font-size: 0.875rem;
  color: var(--sage);
  margin-top: 0.25rem;
  font-weight: 600;
}

/* SECTION 5: Architectural Works Showcase */
.works-block {
  position: relative;
  padding: clamp(6rem, 10vw, 11rem) 0;
  background-color: var(--paper);
}

.works-intro {
  display: grid;
  grid-template-columns: 24rem 1fr;
  gap: 5rem;
  margin-bottom: 5rem;
}

.works-intro p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 48ch;
}

.works-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.filter-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background-color: transparent;
  color: var(--text-muted);
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
  background-color: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.works-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 3.5rem;
  row-gap: 5.5rem;
}

.work-card {
  display: block;
  cursor: pointer;
}

.work-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--stone);
  margin-bottom: 1.25rem;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.work-loc-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(17, 19, 21, 0.8);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  padding: 0.35rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  z-index: 2;
}

.work-tags {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.w-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.w-tag.accent {
  color: var(--sage);
}

.work-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  transition: color 0.2s;
}

.work-card:hover .work-title {
  color: var(--sage);
}

/* SECTION 6: Quote Slider Block with Looping Video Backdrop */
.quote-video-block {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  overflow: hidden;
  padding: 8rem 0;
}

.quote-video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.quote-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 21, 0.72);
  z-index: 2;
}

.quote-content {
  position: relative;
  z-index: 10;
  max-width: 44rem;
}

.quote-content blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.quote-cite {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: rgba(246, 242, 236, 0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* SECTION 7: Practice Culture & Joinery Studio */
.practice-block {
  position: relative;
  padding: clamp(6rem, 10vw, 11rem) 0;
  background-color: var(--paper);
  border-top: 1px solid var(--border);
}

.practice-top {
  display: grid;
  grid-template-columns: 24rem 1fr auto;
  gap: 5rem;
  align-items: flex-start;
  margin-bottom: 5rem;
}

.practice-text p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 50ch;
}

.practice-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.practice-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--stone);
}

.practice-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTION 8: Call to Action / Initiate Section */
.c2a-block {
  position: relative;
  padding: clamp(6rem, 9vw, 10rem) 0;
  background-color: #EDE7DE;
  border-top: 1px solid var(--border);
}

.c2a-grid {
  display: grid;
  grid-template-columns: 24rem 1fr;
  gap: 5rem;
  align-items: center;
}

.c2a-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.c2a-actions {
  display: flex;
  gap: 1.25rem;
}

/* SECTION 9: Footer */
footer.site-footer {
  background-color: var(--ink);
  color: var(--paper);
  padding: 6rem 0 3.5rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage);
  margin-bottom: 1.25rem;
}

.footer-main p {
  color: var(--text-inv-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-main ul {
  list-style: none;
}

.footer-main ul li {
  margin-bottom: 0.65rem;
}

.footer-main ul li a {
  color: var(--text-inv-muted);
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-main ul li a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-inv-muted);
}

/* Modal Sheet for Project Details */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(17, 19, 21, 0.85);
  backdrop-filter: blur(10px);
}

.project-modal.open { display: flex; }

.modal-sheet {
  background: var(--paper);
  color: var(--ink);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border);
  position: relative;
  padding: 2.5rem;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  cursor: pointer;
}

.modal-close:hover {
  background: var(--ink);
  color: var(--paper);
}

/* Responsive */
@media (max-width: 1024px) {
  .ethos-grid,
  .specialisms-top,
  .specialisms-bottom,
  .solar-grid,
  .works-intro,
  .practice-top,
  .c2a-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .specialisms-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .works-gallery,
  .practice-gallery,
  .specialisms-list,
  .footer-main,
  .hero-meta-bar {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .solar-spec-box {
    grid-template-columns: 1fr;
  }
}
