/* ============================================================
   irerisilas.com — Premium Dark Redesign
   Typography: Syne (all weights)
   Palette: Near-black / Warm cream / Electric blue accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap');

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --bg:           #0a0a0a;
  --bg-2:         #111111;
  --bg-3:         #181818;
  --surface:      #1c1c1c;
  --border:       rgba(255,255,255,0.08);
  --border-gold:  rgba(74,127,193,0.3);

  --cream:        #f0ece4;
  --cream-dim:    rgba(240,236,228,0.55);
  --cream-ghost:  rgba(240,236,228,0.12);

  --gold:         #4a7fc1;
  --gold-light:   #7aaee8;
  --gold-dark:    #2d5fa0;

  --white:        #ffffff;
  --off-white:    #f7f4ef;
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  border-radius: 0 !important;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Syne', sans-serif;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
}

/* Grain overlay — gives premium print texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 9999;
}

/* Custom cursor — desktop / precise pointer only */
.cursor, .cursor-ring { display: none; }

@media (pointer: fine) {
  *, a, button { cursor: none !important; }

  .cursor {
    display: block;
    position: fixed;
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50% !important;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease, opacity 0.2s;
    transform: translate(-50%, -50%);
  }

  .cursor-ring {
    display: block;
    position: fixed;
    width: 32px; height: 32px;
    border: 1px solid rgba(74,127,193,0.4);
    border-radius: 50% !important;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), width 0.3s, height 0.3s, opacity 0.2s;
    transform: translate(-50%, -50%);
  }

  .cursor-ring.hover {
    width: 56px; height: 56px;
    border-color: var(--gold);
  }
}

/* ── SECTION INNER MAX-WIDTH (large screens) ──────── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ── TYPOGRAPHY SCALE ────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

/* ── NAVIGATION ──────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(56px, calc((100vw - 1200px) / 2 + 56px));
  height: 72px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex; gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--cream-dim);
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--border-gold) !important;
  color: var(--gold) !important;
  padding: 10px 22px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  transition: all 0.25s !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--bg) !important;
  border-color: var(--gold) !important;
}

.lang-switch {
  display: flex; gap: 4px;
  margin-left: 24px;
}

.lang-switch a {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--cream-dim);
  padding: 6px 10px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.lang-switch a:hover,
.lang-switch a.active {
  color: var(--gold);
  border-color: var(--border-gold);
}

/* ── HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 max(56px, calc((100vw - 1200px) / 2 + 56px)) 72px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Faint photo background */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('images/silas-hero.jpg');
  background-size: cover;
  background-position: center top;
  opacity: 0.35;
  filter: grayscale(100%);
  z-index: 0;
  pointer-events: none;
}

/* Gradient vignette over photo — keeps text readable */
.hero-bg-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg) 25%, transparent 65%, var(--bg) 100%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 30%, var(--bg) 85%);
  z-index: 1;
  pointer-events: none;
}

/* Subtle radial glow behind headline */
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 800px; height: 800px;
  background: radial-gradient(ellipse, rgba(74,127,193,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Vertical index line */
.hero-index-line {
  position: absolute;
  top: 72px; right: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding-top: 40px;
  z-index: 3;
}

.hero-index-line span {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dim);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.hero-index-line::before {
  content: '';
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--gold));
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 80px; right: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.hero-scroll span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--border), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0% { top: -100%; }
  100% { top: 200%; }
}

/* Main headline */
.hero-headline {
  position: relative;
  z-index: 4;
  margin-bottom: 0;
}

.hero-name-wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
}

.hero-name-bar {
  width: 3px;
  background: var(--gold);
  flex-shrink: 0;
  margin-right: 28px;
  align-self: stretch;
}

.hero-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 7.5vw, 108px);
  line-height: 0.92;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.hero-name-line {
  display: block;
  transform: translateY(100%);
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-name-line:nth-child(2) {
  animation-delay: 0.12s;
  color: var(--cream);
  opacity: 0.92;
}

@keyframes slideUp {
  to { transform: translateY(0); }
}

.hero-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeIn 0.8s ease 0.7s forwards;
  position: relative;
  z-index: 4;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.hero-descriptor {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-role {
  font-family: 'Syne', sans-serif;
  font-size: clamp(13px, 1.4vw, 17px);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.hero-role em {
  font-style: normal;
  color: var(--gold);
  font-weight: 500;
}

.hero-tagline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.45;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--bg);
  padding: 18px 36px;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: all 0.3s;
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}

.btn-ghost {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--cream); }

.hero-location {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.hero-location span {
  color: var(--gold);
  margin: 0 8px;
}

/* Floating mockup — over the right portion of background photo */
.hero-mockup-float {
  position: absolute;
  top: 50%;
  right: 12%;
  transform: translateY(-55%);
  width: 260px;
  background: var(--bg-3);
  border: 1px solid rgba(74,127,193,0.2);
  box-shadow: 0 48px 96px rgba(0,0,0,0.7), 0 0 0 1px rgba(74,127,193,0.08);
  z-index: 5;
  opacity: 0;
  animation: floatMockup 6s ease-in-out infinite, revealMockup 0.8s ease 1s forwards;
}

@keyframes revealMockup {
  to { opacity: 1; }
}

@keyframes floatMockup {
  0%, 100% { transform: translateY(-55%) rotate(1.5deg); }
  50%       { transform: translateY(calc(-55% - 16px)) rotate(-0.5deg); }
}

.mockup-bar {
  background: #222;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}

.dot { width: 8px; height: 8px; border-radius: 50% !important; display: inline-block; }
.dot-r { background: #ff5f57; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #28c940; }

.mockup-url-bar {
  flex: 1;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.35);
  font-family: 'Syne', sans-serif;
  font-size: 9px;
  padding: 4px 10px;
  margin-left: 6px;
  letter-spacing: 0.05em;
}

.mockup-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.mockup-img-placeholder {
  width: 100%;
  height: 190px;
  background: linear-gradient(160deg, #1c1c1c, #111);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.05em;
}

.mockup-label {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-label span {
  font-size: 11px;
  color: var(--cream-dim);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.mockup-label small {
  font-size: 10px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── MARQUEE STRIP ───────────────────────────────────── */
/* ── STATEMENT DIVIDER (animated) ───────────────────── */
@keyframes ruleExpand {
  from { width: 0; opacity: 0; }
  to   { width: 48px; opacity: 1; }
}

@keyframes statementFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.statement-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.statement-rule {
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--border-gold);
  margin: 0 24px;
  flex-shrink: 0;
  opacity: 0;
  animation: ruleExpand 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.statement-rule:last-child {
  animation-delay: 0.3s;
}

.statement-divider-text {
  font-family: 'Syne', sans-serif;
  font-size: clamp(13px, 1.4vw, 17px);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  animation: statementFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

.statement-divider-text em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}

/* ── SECTION SHARED ──────────────────────────────────── */
.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--gold);
}

.section-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 64px;
}

/* ── SERVICES / VALUE (Light section) ───────────────── */
.services-intro {
  background: var(--off-white);
  color: var(--bg);
  padding: 120px 56px;
}

.services-intro .section-label { color: var(--gold-dark); }
.services-intro .section-label::before { background: var(--gold-dark); }
.services-intro .section-heading { color: var(--bg); }

.value-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(0,0,0,0.12);
  margin-bottom: 80px;
}

.value-col {
  padding: 48px 40px;
  border-right: 1px solid rgba(0,0,0,0.12);
  transition: background 0.3s;
  position: relative;
}

.value-col:last-child { border-right: none; }

.value-col:hover { background: rgba(0,0,0,0.03); }

.value-num {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: rgba(0,0,0,0.08);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

.value-col h3 {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  margin-bottom: 14px;
}

.value-col p {
  font-size: 15px;
  color: rgba(0,0,0,0.55);
  line-height: 1.75;
  font-weight: 300;
}

/* Pricing table */
.pricing-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.12);
}

.price-card {
  background: var(--off-white);
  padding: 48px 40px;
  transition: background 0.3s;
}

.price-card:hover { background: white; }

.price-card-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.price-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 6px;
}

.price-amount {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-dark);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.price-features li {
  font-size: 14px;
  font-weight: 300;
  color: rgba(0,0,0,0.6);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.price-features li::before {
  content: '→';
  color: var(--gold-dark);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── PORTFOLIO (Dark) ────────────────────────────────── */
.portfolio {
  background: var(--bg);
  padding: 120px 56px;
}

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
}

.portfolio-note {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  color: var(--cream-dim);
  max-width: 340px;
  text-align: right;
  line-height: 1.6;
}

.portfolio-note em {
  font-style: normal;
  color: var(--gold);
}

/* Featured project card */
.project-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
  margin-bottom: 2px;
}

.project-featured:hover {
  border-color: var(--border-gold);
}

.project-visual {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  min-height: 500px;
}

.project-browser-chrome {
  background: #1e1e1e;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.project-screenshot {
  width: 100%;
  height: calc(100% - 44px);
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.6s ease;
}

.project-featured:hover .project-screenshot {
  transform: scale(1.02) translateY(-1%);
}

.project-screenshot-ph {
  width: 100%;
  height: calc(100% - 44px);
  min-height: 456px;
  background: linear-gradient(160deg, #191919 0%, #111 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.project-screenshot-ph p {
  font-size: 12px;
  color: rgba(255,255,255,0.18);
  text-align: center;
  padding: 0 32px;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* Hover overlay */
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-featured:hover .project-overlay { opacity: 1; }

.project-overlay-text {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(240,236,228,0.4);
  padding: 14px 28px;
}

/* Project info panel */
.project-info {
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-2);
}

.project-count {
  font-family: 'Syne', sans-serif;
  font-size: 72px;
  font-weight: 800;
  color: rgba(240,236,228,0.05);
  line-height: 1;
  margin-bottom: 0;
  display: block;
}

.project-info-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0;
}

.project-type {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.project-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 16px;
}

.project-description {
  font-size: 15px;
  font-weight: 300;
  color: var(--cream-dim);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 360px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding: 6px 14px;
  border: 1px solid var(--border);
}

.project-info-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.project-year {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cream-dim);
}

.btn-view {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none !important;
  text-underline-offset: unset;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-gold);
  transition: all 0.2s;
}

.btn-view:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  gap: 16px;
  text-decoration: none !important;
}

/* ── PROCESS (Dark) ──────────────────────────────────── */
.process {
  background: var(--bg-2);
  padding: 120px 56px;
  border-top: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process-step {
  padding: 48px 36px;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
  position: relative;
}

.process-step:last-child { border-right: none; }

.process-step:hover { background: var(--bg-3); }

.process-step-num {
  font-family: 'Syne', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: rgba(74,127,193,0.1);
  line-height: 1;
  margin-bottom: 24px;
}

.process-step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 12px;
}

.process-step p {
  font-size: 14px;
  font-weight: 300;
  color: var(--cream-dim);
  line-height: 1.7;
}

.process-connector {
  position: absolute;
  top: 48px; right: -1px;
  width: 8px; height: 8px;
  background: var(--gold);
  transform: translateX(50%);
  opacity: 0.4;
}

.process-step:last-child .process-connector { display: none; }

/* ── ABOUT / WHY ME ──────────────────────────────────── */
.about {
  background: var(--bg);
  padding: 120px 56px;
  border-top: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 96px;
  align-items: start;
}

.about-photo-wrap {
  position: sticky;
  top: 120px;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: grayscale(30%) contrast(1.1);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

.about-photo-ph {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.about-photo-ph span {
  font-size: 12px;
  color: var(--cream-dim);
  text-align: center;
  padding: 0 24px;
  line-height: 2;
  letter-spacing: 0.05em;
}

.about-photo-caption {
  margin-top: 16px;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
  text-align: center;
  line-height: 1.6;
}

.about-photo-caption span {
  display: block;
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 4px;
}

.about-content { padding-top: 8px; }

.about-content .section-heading { margin-bottom: 40px; }

.about-intro {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  color: var(--cream-dim);
  line-height: 1.7;
  margin-bottom: 48px;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
}

.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
}

.benefit-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.benefit-row:last-child { border-bottom: none; }
.benefit-row:hover { background: var(--bg-3); }

.benefit-icon {
  width: 32px; height: 32px;
  background: rgba(74,127,193,0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 13px;
  flex-shrink: 0;
}

.benefit-row span {
  font-size: 15px;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.5;
}

/* ── TESTIMONIALS (Dark) ─────────────────────────────── */
.testimonials {
  background: var(--bg-2);
  padding: 120px 56px;
  border-top: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.testimonial {
  background: var(--bg-2);
  padding: 56px 48px;
  transition: background 0.3s;
}

.testimonial:hover { background: var(--bg-3); }

.testimonial-quote {
  font-family: 'Syne', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 24px;
  display: block;
  opacity: 0.6;
}

.testimonial-text {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.7;
  color: var(--cream);
  margin-bottom: 36px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-initial {
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.author-text strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.05em;
}

.author-text span {
  font-size: 12px;
  color: var(--cream-dim);
  letter-spacing: 0.05em;
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq {
  background: var(--bg);
  padding: 120px 56px;
  border-top: 1px solid var(--border);
}

.faq-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 96px;
}

.faq-sidebar .section-heading {
  margin-bottom: 24px;
}

.faq-sidebar-note {
  font-size: 15px;
  font-weight: 300;
  color: var(--cream-dim);
  line-height: 1.75;
  margin-bottom: 40px;
}

.faq-list { border: 1px solid var(--border); }

/* When any item is open, dim the closed siblings */
.faq-list.has-open .faq-item:not(.is-open) .faq-q {
  color: var(--cream-dim);
  opacity: 0.45;
}

.faq-list.has-open .faq-item:not(.is-open) {
  transition: opacity 0.3s;
}

.faq-item { border-bottom: 1px solid var(--border); transition: opacity 0.3s; }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 28px 32px;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--cream);
  cursor: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: background 0.2s, color 0.2s, opacity 0.3s;
}

.faq-q:hover { background: var(--bg-3); }

.faq-q.open { color: var(--gold); background: var(--bg-2); opacity: 1 !important; }

.faq-plus {
  width: 20px; height: 20px;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-plus::before, .faq-plus::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: opacity 0.3s;
}

.faq-plus::before { width: 100%; height: 1px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-plus::after  { width: 1px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }

.faq-q.open .faq-plus { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-a.open { max-height: 800px; }

.faq-a-inner {
  padding: 8px 32px 28px;
  font-size: 15px;
  font-weight: 300;
  color: var(--cream-dim);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

/* Pricing cards inside FAQ — dark context overrides */
.faq-a-inner .pricing-row {
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
  margin-left: -8px;
  margin-right: -8px;
}
.faq-a-inner .price-card {
  background: var(--bg-3);
  transition: background 0.3s;
}
.faq-a-inner .price-card:hover { background: var(--bg-2); }
.faq-a-inner .price-card-label { color: var(--gold); }
.faq-a-inner .price-card h3 { color: var(--cream); }
.faq-a-inner .price-amount { color: var(--gold); }
.faq-a-inner .price-features li { color: var(--cream-dim); border-color: var(--border); }
.faq-a-inner .price-features li::before { color: var(--gold); }


/* ── CONTACT ─────────────────────────────────────────── */
.contact {
  background: var(--bg-2);
  padding: 120px 56px;
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.contact-left .section-heading { margin-bottom: 24px; }

.contact-intro {
  font-size: 15px;
  font-weight: 300;
  color: var(--cream-dim);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 400px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--cream);
  transition: all 0.25s;
}

.contact-channel:hover {
  border-color: var(--border-gold);
  background: var(--bg-3);
}

.channel-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.channel-label strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.channel-label span {
  font-size: 13px;
  color: var(--cream-dim);
  font-family: 'Syne', sans-serif;
  font-weight: 300;
  letter-spacing: 0.03em;
}

/* Contact right column wrapper must stretch */
.contact-right {
  display: flex;
  flex-direction: column;
}

/* Form */
.contact-form {
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-3);
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Textarea grows to fill remaining space */
.contact-form .form-field:has(textarea) {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form .form-field:has(textarea) textarea {
  flex: 1;
  min-height: 120px;
}

.form-field {
  border-bottom: 1px solid var(--border);
  position: relative;
}

.form-field:last-of-type { border-bottom: none; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.form-row-2 .form-field {
  border-bottom: none;
  border-right: 1px solid var(--border);
}

.form-row-2 .form-field:last-child { border-right: none; }

.form-field label {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 18px 24px 0;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--cream);
  padding: 8px 24px 18px;
  resize: none;
  transition: background 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(240,236,228,0.2);
}

.form-field input:focus,
.form-field textarea:focus { background: rgba(255,255,255,0.02); }

.form-field textarea { min-height: 140px; }

.form-submit {
  border-top: 1px solid var(--border);
}

.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 22px;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background 0.3s, color 0.3s;
}

.btn-submit:hover {
  background: var(--gold-dark);
}

/* ── FORM FIELD SHAKE / ERROR STATE ─────────────────── */
@keyframes fieldShake {
  0%   { transform: translateX(0); }
  15%  { transform: translateX(-6px); }
  30%  { transform: translateX(6px); }
  45%  { transform: translateX(-5px); }
  60%  { transform: translateX(5px); }
  75%  { transform: translateX(-3px); }
  90%  { transform: translateX(3px); }
  100% { transform: translateX(0); }
}

.form-field.field-error {
  animation: fieldShake 0.5s ease;
}

.form-field.field-error input,
.form-field.field-error textarea {
  border-bottom: 2px solid var(--gold) !important;
  color: var(--cream);
}

.form-field.field-error label {
  color: var(--gold);
}

.form-row-2.field-error {
  animation: fieldShake 0.5s ease;
  outline: 1px solid var(--gold);
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: #050505;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  border-top: 1px solid var(--border);
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.footer-logo span { color: var(--gold); }

.footer-copy {
  font-size: 12px;
  font-weight: 300;
  color: rgba(240,236,228,0.25);
  letter-spacing: 0.05em;
  text-align: center;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 28px;
  justify-content: flex-end;
}

.footer-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(240,236,228,0.35);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

/* ── MODALS ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(5,5,5,0.85);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
}

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

.modal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 56px;
  position: relative;
}

.modal h2 {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 32px;
}

.modal p { font-size: 14px; font-weight: 300; color: var(--cream-dim); line-height: 1.8; margin-bottom: 16px; }

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--cream-dim);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: all 0.2s;
}

.modal-close:hover { color: var(--cream); border-color: var(--border-gold); }

/* ── COOKIE ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border-gold);
  padding: 20px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 990;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-text {
  font-size: 13px;
  font-weight: 300;
  color: var(--cream-dim);
}

.cookie-text a { color: var(--gold); text-decoration: none; }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie {
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 12px 28px;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: none;
  flex-shrink: 0;
  transition: background 0.2s;
}

.btn-cookie:hover { background: var(--gold-dark); }

.btn-cookie-decline {
  background: transparent;
  color: var(--cream-dim);
  border: 1px solid var(--border);
  padding: 12px 20px;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: none;
  flex-shrink: 0;
  transition: all 0.2s;
}

.btn-cookie-decline:hover {
  color: var(--cream);
  border-color: var(--cream-dim);
}

/* ── SCROLL ANIMATIONS ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── THANK YOU PAGE ──────────────────────────────────── */
.ty-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  padding: 120px 40px;
  text-align: center;
  background: var(--bg);
}

.ty-icon {
  width: 72px; height: 72px;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 40px;
  color: var(--gold);
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.ty-page h1 {
  font-size: 64px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 16px;
  animation: fadeIn 0.7s ease 0.6s both;
}

.ty-page p {
  font-size: 17px;
  font-weight: 300;
  color: var(--cream-dim);
  margin-bottom: 48px;
  max-width: 440px;
  line-height: 1.7;
  animation: fadeIn 0.7s ease 0.7s both;
}

.ty-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeIn 0.7s ease 0.8s both;
}

/* ── RESPONSIVE ──────────────────────────────────────── */

/* overflow-x on html only — body must stay overflow:visible for position:sticky to work */
html { overflow-x: hidden; }

/* Contain all sections so nothing bleeds horizontally */
section, nav, footer, header {
  max-width: 100%;
  overflow-x: clip;
}

@media (max-width: 1024px) {
  nav { padding: 0 36px; }
  .hero { padding: 0 36px 72px; }
  .hero-index-line { right: 36px; }
  .hero-scroll { right: 36px; }
  .services-intro, .portfolio, .process, .about, .testimonials, .faq, .contact { padding: 100px 36px; }
  footer, .cookie-banner { padding-left: 36px; padding-right: 36px; }

  .hero-name { font-size: clamp(46px, 7vw, 96px); }
  .about-inner { grid-template-columns: 240px 1fr; gap: 60px; }
  .faq-inner { grid-template-columns: 280px 1fr; gap: 60px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(3) { border-bottom: 1px solid var(--border); }
  footer { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .footer-copy { grid-column: 1/-1; order: 3; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }

  .hero { padding: 0 20px 52px; }
  .hero-index-line, .hero-scroll { display: none; }
  .hero-mockup-float { display: none; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-name { font-size: clamp(38px, 11vw, 68px); letter-spacing: 0.04em; }
  .hero-name-bar { margin-right: 18px; }

  .services-intro, .portfolio, .process, .about, .testimonials, .faq, .contact { padding: 72px 20px; }
  footer { padding: 40px 20px; }
  .cookie-banner { padding: 18px 20px; }

  /* All grids to single column */
  .value-cols { grid-template-columns: 1fr; }
  .value-col { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.12); }
  .value-col:last-child { border-bottom: none; }

  .pricing-row { grid-template-columns: 1fr; gap: 0; background: transparent; border: none; }
  .price-card { border: 1px solid rgba(0,0,0,0.1); margin-bottom: 2px; }

  .project-featured { grid-template-columns: 1fr; }
  .project-overlay { display: none; }
  .project-visual { min-height: 280px; }
  .project-info { padding: 40px 28px; }
  .project-info h3 { font-size: clamp(26px, 7vw, 36px); }

  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }

  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-wrap { position: static; }
  .about-photo, .about-photo-ph { aspect-ratio: 4/3; }

  .testimonials-grid { grid-template-columns: 1fr; gap: 0; }
  .testimonial { padding: 40px 28px; }

  .faq-inner { grid-template-columns: 1fr; gap: 40px; }

  .contact-inner { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .contact-right { display: block; }
  .contact-form { height: auto; flex: none; }
  .contact-form .form-field:has(textarea) { flex: none; }
  .contact-form .form-field:has(textarea) textarea { flex: none; min-height: 140px; }

  .form-row-2 { grid-template-columns: 1fr; }
  .form-row-2 .form-field { border-right: none; border-bottom: 1px solid var(--border); }
  .form-row-2 .form-field:last-child { border-bottom: none; }

  footer { grid-template-columns: 1fr; gap: 16px; }
  .footer-links { justify-content: flex-start; }
  .footer-copy { text-align: left; }

  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { display: flex; width: 100%; gap: 8px; }
  .btn-cookie, .btn-cookie-decline { flex: 1; justify-content: center; }

  .statement-divider { padding: 28px 20px; }
  .statement-divider-text { white-space: normal; text-align: center; }
  .statement-rule { display: none; }
}

/* ── WIDE SCREEN (>1300px) — constrain content width ─── */
@media (min-width: 1300px) {
  nav { padding: 0 calc((100vw - 1200px) / 2); }

  .hero { padding-left: calc((100vw - 1200px) / 2); padding-right: calc((100vw - 1200px) / 2); }

  .services-intro,
  .portfolio,
  .process,
  .about,
  .testimonials,
  .faq,
  .contact { padding-left: calc((100vw - 1200px) / 2); padding-right: calc((100vw - 1200px) / 2); }

  footer { padding-left: calc((100vw - 1200px) / 2); padding-right: calc((100vw - 1200px) / 2); }
}
