/* ═══════════════════════════════════════════════════
   CARTISCO — Shared Design System
   cartisco.css  |  All pages import this file
═══════════════════════════════════════════════════ */

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

:root {
  --off-white: #F5F3EE;
  --warm-grey: #E8E4DC;
  --mid-grey:  #B8B2A8;
  --dark:      #1C1B19;
  --text:      #2E2C28;
  --text-muted:#8A8479;
  --accent:    #9a7f59;
  --nav-h:     72px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--off-white);
  color: var(--text);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(245,243,238,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(180,170,160,0.3);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--dark);
  text-transform: uppercase;
  text-decoration: none;
}

.nav-links { display: flex; gap: 40px; list-style: none; }

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--dark); }

/* ── PAGE BODY OFFSET ── */
.page-body { padding-top: var(--nav-h); }

/* ── FOOTER ── */
footer {
  border-top: 0.5px solid rgba(180,170,160,0.4);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer p { font-size: 12px; color: var(--text-muted); letter-spacing: 0.06em; }

/* ── SECTION DIVIDER ── */
.divider { margin: 0 48px; height: 0.5px; background: rgba(180,170,160,0.4); }

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  border-top: 0.5px solid rgba(180,170,160,0.3);
  border-bottom: 0.5px solid rgba(180,170,160,0.3);
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  animation: marquee 22s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--text-muted);
  padding: 0 40px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.marquee-dot { font-style: normal; color: var(--accent); margin: 0 8px; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 80px 60px;
  border-bottom: 0.5px solid rgba(180,170,160,0.3);
}

.page-hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--dark);
  letter-spacing: -0.01em;
  max-width: 900px;
}

.page-hero h1 em { font-style: italic; color: var(--text-muted); }

.page-hero p {
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 520px;
}

/* ── BUTTONS ── */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark);
  border: 0.5px solid rgba(28,27,25,0.35);
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  font-family: var(--sans);
  cursor: pointer;
  background: none;
}

.btn-outline:hover { background: var(--dark); color: var(--off-white); }

/* ── SCROLL HINT ── */
.scroll-hint {
  position: absolute;
  bottom: 40px; right: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245,243,238,0.5);
}

.scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 0.5px; height: 48px;
  background: rgba(245,243,238,0.3);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.3; }
  50%       { transform: scaleY(0.5); opacity: 0.8; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { gap: 24px; }
  footer { padding: 32px 24px; }
  .page-hero { padding: 120px 24px 48px; }
  .divider { margin: 0 24px; }
}

@media (max-width: 640px) {
  nav { padding: 0 16px; }
  .nav-logo { font-size: 18px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 10px; letter-spacing: 0.1em; }
}

/* ═══════════════════════════════════════════════════
   CONTENT PROTECTION
   Blocks casual right-click saving, drag-to-desktop,
   and text selection across all pages.
═══════════════════════════════════════════════════ */

/* Prevent text + image selection sitewide */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Allow text selection only in the contact form */
input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

/* Disable drag on all images */
img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* Invisible overlay on image containers —
   right-clicking shows a blank context menu, not Save Image */
.project-img-block,
.tile-bg,
.person-photo,
.process-block-image {
  position: relative;
}

.project-img-block::after,
.tile-bg::after,
.person-photo::after,
.process-block-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: default;
}
