/* ── Halse Studio · shared styles · luxury + movement ───────────────────── */
:root {
  --paper: #F4F1EB;
  --paper-2: #E8E2D4;
  --paper-grain: rgba(28,26,23,0.025);
  --ink: #0E0C0A;
  --ink-2: #2E2924;
  --ink-3: #5A524A;
  --bronze: #A88B5C;
  --bronze-deep: #8B7045;
  --rule: rgba(28,26,23,0.10);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle paper grain over everything */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.035 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply; opacity: 0.7;
}

.font-display { font-family: 'Fraunces', 'Times New Roman', serif; }
.font-body    { font-family: 'Manrope', sans-serif; }

/* Demo banner */
.hs-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(14,12,10,0.96);
  color: var(--paper);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 8px 16px; text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hs-banner a { color: var(--paper); text-decoration: underline; text-decoration-color: rgba(244,241,235,0.4); text-underline-offset: 4px; }
.hs-banner a:hover { text-decoration-color: var(--paper); }

/* Scroll progress bar */
.hs-progress {
  position: fixed; top: 32px; left: 0; height: 1px;
  background: var(--bronze); z-index: 90;
  width: 0%; transition: width 0.1s linear;
}

main { padding-top: 36px; position: relative; z-index: 2; }

/* Sticky nav with scroll-shrink */
.hs-nav {
  position: sticky; top: 36px; z-index: 50;
  background: rgba(244,241,235,0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--rule);
  transition: padding 0.4s var(--ease);
}
.hs-nav-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 26px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: padding 0.4s var(--ease);
}
.hs-nav.shrunk .hs-nav-inner { padding-top: 16px; padding-bottom: 16px; }
.hs-brand {
  font-family: 'Fraunces', serif;
  font-size: 24px; font-weight: 400; letter-spacing: -0.5px;
  color: var(--ink); text-decoration: none;
  font-style: italic;
}
.hs-nav-links { display: none; gap: 38px; }
@media (min-width: 800px) { .hs-nav-links { display: flex; } }
.hs-nav-links a {
  position: relative;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none; font-weight: 500;
  transition: color 0.3s var(--ease);
  padding: 4px 0;
}
.hs-nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--bronze);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease-luxury);
}
.hs-nav-links a:hover::after, .hs-nav-links a.active::after {
  transform: scaleX(1); transform-origin: left;
}
.hs-nav-links a:hover, .hs-nav-links a.active { color: var(--ink); }
.hs-nav-cta {
  background: var(--ink); color: var(--paper);
  padding: 12px 22px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; font-weight: 500;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.hs-nav-cta:hover { background: var(--bronze-deep); transform: translateY(-1px); }

/* Sections */
.hs-section { padding: 130px 32px; position: relative; }
@media (min-width: 800px) { .hs-section { padding: 180px 64px; } }
.hs-container { max-width: 1320px; margin: 0 auto; }
.hs-narrow { max-width: 820px; margin: 0 auto; }
.hs-wide { max-width: 1480px; margin: 0 auto; }

/* Eyebrow with rule */
.hs-eyebrow {
  font-size: 11px; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 28px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 14px;
}
.hs-eyebrow::before {
  content: ""; display: inline-block; width: 24px; height: 1px;
  background: var(--bronze);
}

/* Display type — bigger, more luxury */
.hs-display {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 0.97;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.hs-display em { font-style: italic; color: var(--ink-3); font-weight: 400; }
.hs-h1 { font-size: clamp(56px, 11vw, 180px); }
.hs-h2 { font-size: clamp(44px, 7vw, 110px); line-height: 1.0; }
.hs-h3 { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.05; }
.hs-lede {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 300;
  max-width: 56ch;
}

.hs-rule { height: 1px; background: var(--rule); border: 0; }

/* Buttons */
.hs-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 32px;
  border-radius: 999px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; font-weight: 500;
  transition: all 0.4s var(--ease-luxury);
  position: relative; overflow: hidden;
}
.hs-btn::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-101%);
  transition: transform 0.6s var(--ease-luxury);
}
.hs-btn:hover::after { transform: translateX(0); }
.hs-btn-dark { background: var(--ink); color: var(--paper); }
.hs-btn-dark:hover { background: var(--bronze-deep); transform: translateY(-2px); }
.hs-btn-ghost { color: var(--ink); border: 1px solid var(--rule); background: transparent; }
.hs-btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.hs-btn span { position: relative; z-index: 1; }

/* Hero — bigger, slower, more cinematic */
.hs-hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 32px 100px;
  overflow: hidden;
}
@media (min-width: 800px) { .hs-hero { padding: 0 64px 130px; min-height: 100vh; } }
.hs-hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hs-hero-bg video, .hs-hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  /* Slow Ken Burns zoom */
  animation: hs-kenburns 30s var(--ease-luxury) infinite alternate;
}
@keyframes hs-kenburns {
  0%   { transform: scale(1.0)  translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.5%, -1%); }
}
.hs-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(244,241,235,0.0) 0%, rgba(244,241,235,0.25) 50%, rgba(244,241,235,0.92) 100%),
    linear-gradient(110deg, rgba(14,12,10,0.18) 0%, rgba(14,12,10,0) 50%);
}
.hs-hero-content {
  position: relative; z-index: 10;
  max-width: 1320px; width: 100%; margin: 0 auto;
}

/* Hero word-reveal */
.hs-reveal-word {
  display: inline-block; margin-right: 0.18em;
  opacity: 0; transform: translateY(40px);
  filter: blur(8px);
  transition: opacity 1.1s var(--ease-luxury), transform 1.1s var(--ease-luxury), filter 1.1s var(--ease-luxury);
}
.hs-reveal-word.in { opacity: 1; transform: translateY(0); filter: blur(0); }

/* Generic scroll-reveal (for sub-headings, body, cards) */
.hs-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1.0s var(--ease-luxury), transform 1.0s var(--ease-luxury);
}
.hs-reveal.in { opacity: 1; transform: translateY(0); }
.hs-reveal.delay-1 { transition-delay: 0.12s; }
.hs-reveal.delay-2 { transition-delay: 0.24s; }
.hs-reveal.delay-3 { transition-delay: 0.36s; }

/* Image scale-in reveal — visible by default, animates if JS triggers */
.hs-img-reveal { overflow: hidden; }
.hs-img-reveal img, .hs-img-reveal video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.2s var(--ease-luxury), transform 1.6s var(--ease-luxury);
}
/* When JS loaded and element NOT in view yet → hide gracefully */
body.hs-js .hs-img-reveal:not(.in) img,
body.hs-js .hs-img-reveal:not(.in) video {
  opacity: 0;
  transform: scale(1.08);
}

/* Featured project */
.hs-feature {
  display: grid; grid-template-columns: 1fr; gap: 50px;
}
.hs-feature-image {
  aspect-ratio: 16/9; overflow: hidden;
  position: relative;
}
.hs-feature-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s var(--ease-luxury);
}
.hs-feature-image:hover img { transform: scale(1.04); }

/* Marquee — two rows, opposite directions, different content */
.hs-marquee-stack {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.hs-marquee-row {
  display: flex; overflow: hidden; padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.hs-marquee-row + .hs-marquee-row { border-top: 1px solid var(--rule); }
.hs-marquee-track {
  display: flex; gap: 60px; padding-left: 60px;
  white-space: nowrap;
}
.hs-marquee-track.left  { animation: hs-marquee-left  38s linear infinite; }
.hs-marquee-track.right { animation: hs-marquee-right 42s linear infinite; }
@keyframes hs-marquee-left  { to { transform: translateX(-50%); } }
@keyframes hs-marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.hs-marquee-item {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300;
  font-size: clamp(24px, 2.8vw, 38px);
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 60px;
}
.hs-marquee-item::after {
  content: "✦"; color: var(--bronze); font-size: 12px;
}
/* Lower row — slightly smaller, accent colored, ALL CAPS body font for contrast */
.hs-marquee-row.alt .hs-marquee-item {
  font-family: 'Manrope', sans-serif; font-style: normal; font-weight: 500;
  font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--bronze-deep);
}
.hs-marquee-row.alt .hs-marquee-item::after {
  content: "—"; color: var(--bronze); font-size: 14px;
}

/* Footer */
.hs-footer {
  background: var(--ink); color: var(--paper);
  padding: 100px 32px 50px;
  position: relative;
}
@media (min-width: 800px) { .hs-footer { padding: 130px 64px 60px; } }
.hs-footer-inner { max-width: 1320px; margin: 0 auto; }
.hs-footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 60px;
  margin-bottom: 80px;
}
@media (min-width: 800px) { .hs-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.hs-footer h4 {
  font-size: 11px; letter-spacing: 0.36em; text-transform: uppercase;
  color: rgba(244,241,235,0.55);
  margin: 0 0 22px; font-weight: 500;
}
.hs-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.hs-footer a { color: rgba(244,241,235,0.85); text-decoration: none; font-size: 14px; transition: color 0.3s var(--ease); }
.hs-footer a:hover { color: var(--bronze); }
.hs-footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(244,241,235,0.12);
  display: flex; flex-direction: column; gap: 12px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(244,241,235,0.45);
}
@media (min-width: 800px) { .hs-footer-bottom { flex-direction: row; justify-content: space-between; } }
.hs-footer-bottom a { color: rgba(244,241,235,0.65); text-decoration: underline; text-decoration-color: rgba(244,241,235,0.3); text-underline-offset: 4px; }

/* Project tile (for projects page) */
.hs-project {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  text-decoration: none; color: var(--ink);
}
.hs-project-image {
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--paper-2);
}
.hs-project-image img, .hs-project-image video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.5s var(--ease-luxury);
}
.hs-project:hover .hs-project-image img,
.hs-project:hover .hs-project-image video { transform: scale(1.06); }
.hs-project-meta {
  display: flex; gap: 14px; align-items: baseline;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bronze); font-weight: 500;
}
.hs-project-title {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(24px, 2.8vw, 38px); margin: 12px 0 6px;
  letter-spacing: -0.6px;
}
.hs-project-loc { color: var(--ink-3); font-size: 14px; }

/* Service row */
.hs-service-row {
  display: grid; grid-template-columns: auto 1fr;
  gap: 28px; align-items: baseline;
  padding: 44px 0;
  border-bottom: 1px solid var(--rule);
}
.hs-service-row:last-child { border-bottom: 0; }
.hs-service-num {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: clamp(22px, 2.2vw, 32px);
  color: var(--bronze);
  font-weight: 400;
}
.hs-service-title {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(30px, 3.6vw, 52px);
  letter-spacing: -0.5px; line-height: 1.05;
  margin: 0 0 14px;
}
.hs-service-body { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 64ch; font-weight: 300; }

/* Form */
.hs-form { display: flex; flex-direction: column; gap: 22px; }
.hs-form-row { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 600px) { .hs-form-row { grid-template-columns: 1fr 1fr; } }
.hs-form label {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}
.hs-form input, .hs-form textarea, .hs-form select {
  background: transparent;
  border: 0; border-bottom: 1px solid var(--rule);
  padding: 12px 0;
  font-family: inherit; font-size: 16px; font-weight: 300;
  color: var(--ink); border-radius: 0;
  letter-spacing: normal; text-transform: none;
  transition: border-color 0.3s var(--ease);
}
.hs-form input:focus, .hs-form textarea:focus, .hs-form select:focus {
  outline: none; border-bottom-color: var(--ink);
}
.hs-form textarea { resize: vertical; min-height: 120px; }
.hs-form button {
  align-self: flex-start; margin-top: 14px;
  border: 0; cursor: pointer; font-family: inherit;
}
