/* ---------------------------------------------------
   faisalhenar.com — HUB (root homepage)
   Palette:  --paper #F7F0E1   --ink #241F1A   --muted #8A7F6B
             --line #E3D8BE    --accent #B8842B (brass/ochre)
   Type:     Instrument Serif (headline, warm & personal)
              Inter (body) / IBM Plex Mono (eyebrow, meta)
   Signature: a single hand-drawn line wandering between the
              two "room" cards — different rooms, one walk home.
--------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --paper: #F7F0E1;
  --paper-raised: #EFE6D0;
  --ink: #241F1A;
  --muted: #8A7F6B;
  --line: #E3D8BE;
  --accent: #B8842B;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
a{ color: inherit; text-decoration: none; }
a:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; }
.mono{ font-family: 'IBM Plex Mono', monospace; }

/* ---------- top line ---------- */
.top-line{
  display:flex;
  justify-content: space-between;
  padding: 22px 32px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- hero ---------- */
.hero{
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 32px 30px;
  text-align: center;
}
.hero .eyebrow{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero h1{
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.15;
  margin: 0 0 22px;
}
.hero p{
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto;
}

/* ---------- signature: hand-drawn connecting line ---------- */
.wander{
  max-width: 900px;
  margin: 18px auto -18px;
  padding: 0 24px;
}
.wander svg{ width: 100%; height: auto; display:block; }
.wander path{
  fill:none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
  opacity: 0.55;
}

/* ---------- rooms ---------- */
.rooms{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 32px 20px;
}
.room{
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  padding: 30px 26px;
  display:flex;
  flex-direction: column;
  min-height: 260px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.room:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(36,31,26,0.08);
}
.room .room-num{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: auto;
}
.room .room-title{
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 2rem;
  margin: 22px 0 10px;
}
.room .room-dek{
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 18px;
}
.room .room-tag{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink);
  opacity: 0.6;
}

.room.future{
  background: transparent;
  border-style: dashed;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 140px;
}
.room.future .room-dek{
  margin: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

@media (max-width: 680px){
  .rooms{ grid-template-columns: 1fr; padding-top: 40px; }
  .room{ min-height: unset; }
}

/* ---------- footer ---------- */
.site-footer{
  max-width: 980px;
  margin: 40px auto 0;
  padding: 24px 32px 44px;
  border-top: 1px solid var(--line);
  display:flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
}

@media (max-width: 640px){
  .top-line, .hero, .site-footer{ padding-left: 20px; padding-right: 20px; }
}
