/* ============ Norham Coffee ============ */
:root {
  --orange: #FF5B14;
  --orange-deep: #E54600;
  --ink: #0D0B0A;
  --ink-2: #1A1614;
  --cream: #F6F1EA;
  --paper: #FFFFFF;
  --line: #0D0B0A;
  --muted: #6B625C;
  --display: "Archivo", "Arial Black", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 2.2vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }

.display {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 100%;
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-size: clamp(40px, 5.4vw, 80px);
  text-transform: none;
}
.display-sm { font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.02em; }

/* ---------- Pills & buttons ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .2s, color .2s, transform .2s;
}
.pill:hover { background: var(--ink); color: var(--paper); }
.pill-icon { width: 92px; padding: 0; }
.lang-toggle { font-weight: 700; letter-spacing: .04em; padding: 0 20px; }
.pill-lg { height: 48px; padding: 0 30px; }
.pill-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pill-light:hover { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.pill-dark { background: transparent; }
.pill-outline { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.45); height: 52px; padding: 0 28px; }
.pill-outline:hover { background: var(--paper); color: var(--ink); }

.circle {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  transition: background .2s, color .2s;
}
.circle:hover { background: var(--ink); color: var(--paper); }
.circle-wide { width: 64px; font-size: 22px; }

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--orange);
  color: var(--ink);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 8px 16px;
}

.header {
  position: absolute;
  top: 36px; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px var(--gutter);
}
.header.is-fixed {
  position: fixed;
  top: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding-top: 12px; padding-bottom: 12px;
  animation: drop .3s ease;
}
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }
.logo img { width: 44px; height: 44px; transition: transform .4s; }
.logo:hover img { transform: rotate(-20deg) scale(1.06); }
.nav { display: flex; gap: 6px; margin-left: 14px; }
.header-right { margin-left: auto; display: flex; gap: 8px; }
.menu-toggle { display: none; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: var(--orange);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  gap: 4px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(48px, 14vw, 88px);
  letter-spacing: -0.04em;
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: calc(100svh - 36px);
  min-height: 520px;
  overflow: hidden;
  background: var(--ink);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  transform: scale(1.05);
  animation: heroZoom 1.6s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent 45%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-word {
  position: absolute;
  z-index: 1;
  left: 0; right: 0;
  bottom: -0.17em;
  text-align: center;
  color: var(--paper);
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 112%;
  font-size: 22vw;
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
  transform: translateY(30%);
  opacity: 0;
  animation: rise 1.1s .25s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes rise { to { transform: none; opacity: 1; } }

/* ---------- Strip ---------- */
.strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.strip-title { font-size: 20px; font-weight: 700; margin-bottom: 2px; }
.strip p { color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  user-select: none;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: scroll 28s linear infinite;
}
.marquee-slow { animation-duration: 40s; }
.marquee span {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 100%;
  font-size: clamp(36px, 5vw, 68px);
  letter-spacing: -0.03em;
  line-height: 1.25;
  white-space: nowrap;
}
.marquee img { width: clamp(30px, 3.4vw, 46px); height: auto; flex: none; }
.marquee i { font-style: normal; font-size: clamp(22px, 2.6vw, 34px); color: var(--orange); }
.marquee-dark { background: var(--ink); color: var(--orange); padding: 6px 0; }
.marquee-light { background: var(--paper); color: var(--ink); padding: 10px 0; }
.marquee-light span { text-shadow: 3px 3px 0 var(--orange); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Signature ---------- */
.signature {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(60px, 9vw, 120px) 0 clamp(60px, 7vw, 100px);
  text-align: center;
  overflow: hidden;
}
.signature-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(320px, 42vw, 560px);
}
.signature-word {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 110%;
  font-size: clamp(56px, 12.5vw, 210px);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px var(--orange);
}
.signature-img {
  position: relative;
  width: clamp(220px, 28vw, 380px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 28px;
  border: 3px solid var(--orange);
  transform: rotate(-5deg);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.signature-info { max-width: 460px; margin: 36px auto 0; padding: 0 var(--gutter); }
.signature-info h2 { font-size: 26px; font-weight: 700; margin: 12px 0 8px; }
.signature-info p { color: rgba(255,255,255,.72); margin-bottom: 24px; }
.tag {
  display: inline-block;
  background: var(--orange);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Menu ---------- */
.menu { border-bottom: 1px solid var(--line); }
.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.menu-ctrl { display: flex; gap: 8px; align-items: center; }
.menu-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 1px) / 3.5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.menu-track::-webkit-scrollbar { display: none; }
.card {
  scroll-snap-align: start;
  border-right: 1px solid var(--line);
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.card:hover .card-img img { transform: scale(1.06); }
.badge {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 1;
  background: var(--paper);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
}
.card-row span:last-child { font-weight: 600; }

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.split-text {
  background: var(--orange);
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.split-text p { max-width: 440px; font-size: 16px; }
.split-img { min-height: 480px; border-left: 1px solid var(--line); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Location ---------- */
.location {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: var(--gutter);
  padding: clamp(28px, 4vw, 48px) var(--gutter);
  border-bottom: 1px solid var(--line);
}
.location-info { display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; }
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px 32px;
  max-width: 640px;
}
.location-grid h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.addr { margin-bottom: 18px; }
.muted { color: var(--muted); font-size: 14px; margin-top: 6px; }
.location-img { border: 1px solid var(--line); aspect-ratio: 4 / 3; overflow: hidden; }
.location-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Team up ---------- */
.teamup-title {
  font-size: clamp(36px, 4.6vw, 64px);
  text-transform: uppercase;
  padding: 18px var(--gutter);
  border-bottom: 1px solid #c9c4bf;
}
.row {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px var(--gutter);
  border-bottom: 1px solid #c9c4bf;
  transition: background .2s;
}
.row:hover { background: var(--cream); }
.row:hover .circle { background: var(--orange); border-color: var(--orange); }
.row h3 { font-size: 22px; font-weight: 700; }
.row p { max-width: 430px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(60px, 9vw, 120px) var(--gutter) 24px;
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.footer-top h3 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.footer-top p { color: rgba(255,255,255,.8); max-width: 260px; margin-bottom: 22px; }
.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-links a { width: fit-content; }
.footer-links a:hover { color: var(--orange); }
.footer-word {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 112%;
  font-size: 21vw;
  line-height: .8;
  letter-spacing: -0.06em;
  text-align: center;
  color: var(--ink-2);
  margin-top: clamp(50px, 8vw, 110px);
  white-space: nowrap;
  -webkit-text-stroke: 1px #2a2420;
}
.copy { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 18px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px) rotate(-5deg); transition: opacity .9s, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: rotate(-5deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .header-right .pill-ig { display: none; }
  .pill-icon { width: 64px; }
  .menu-track { grid-auto-columns: calc(100% / 2.3); }
  .row { grid-template-columns: 200px 1fr auto; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .header-right .pill-icon { width: 48px; }
  .header-right .pill-ig { display: none; }
  .lang-toggle { padding: 0 14px; }
  .menu-toggle { display: inline-flex; }
  .header { z-index: 30; }
  .hero { height: 78svh; }
  .hero-word { font-size: 23vw; }
  .strip { flex-direction: column; align-items: flex-start; }
  .menu-head { flex-wrap: wrap; }
  .menu-ctrl .pill { display: none; }
  .menu-track { grid-auto-columns: 78%; }
  .split { grid-template-columns: 1fr; }
  .split-img { min-height: 320px; border-left: 0; border-top: 1px solid var(--line); }
  .location { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; gap: 20px; }
  .row { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .row h3 { grid-column: 1; }
  .row p { grid-column: 1; grid-row: 2; }
  .row .circle { grid-row: 1 / span 2; grid-column: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-word, .reveal { opacity: 1; transform: none; }
  .reveal.in, .reveal { transform: rotate(-5deg); }
}
