/* ============================================================
   INTEBO — Design Tokens v2
   White, professional, photography-first. Sans-only.
   ============================================================ */

:root {
  /* Brand red — from logo, kept exactly */
  --ember: #c0392b;
  --ember-700: #a32a1f;
  --ember-100: #fbe7e3;

  /* Whites + grays — neutral, slightly cool. Photography-first bg. */
  --white:    #ffffff;
  --bg:       #ffffff;
  --bg-alt:   #f5f5f4;            /* subtle alt section bg */
  --bg-soft:  #fafaf9;            /* very subtle */
  --line-100: #e7e5e4;            /* dividers */
  --line-200: #d6d3d1;
  --ink-900:  #1c1c1b;            /* near-black, not pure */
  --ink-800:  #2b2a28;
  --ink-700:  #44423f;
  --ink-500:  #6b6966;
  --ink-400:  #8a8884;
  --ink-300:  #a8a6a2;

  /* Semantic */
  --text:        var(--ink-700);
  --text-strong: var(--ink-900);
  --text-muted:  var(--ink-500);
  --border:      var(--line-100);
  --accent:      var(--ember);

  /* Typography — sans only, neutral, professional */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Type scale — slightly tighter, more functional */
  --t-display: clamp(3rem, 5.5vw, 5.5rem);    /* 48–88px */
  --t-h1:      clamp(2.25rem, 3.5vw, 3.5rem); /* 36–56px */
  --t-h2:      clamp(1.75rem, 2.4vw, 2.5rem); /* 28–40px */
  --t-h3:      1.375rem;                       /* 22px */
  --t-body:    1rem;                           /* 16px */
  --t-small:   0.875rem;                       /* 14px */
  --t-micro:   0.75rem;                        /* 12px */

  /* Spacing */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem;
  --s-9: 5.5rem; --s-10: 8rem;

  /* Radii — sharp. */
  --r-0: 0;
  --r-sm: 2px;
  --r-md: 3px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur:  200ms;

  --container: 1360px;
  --container-narrow: 980px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss03';
}
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--text-strong);
}
p { text-wrap: pretty; }
::selection { background: var(--ember); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.container--full { max-width: none; padding: 0 var(--s-5); }
.container--narrow { max-width: var(--container-narrow); }

/* Eyebrow — small, simple, no monospace */
.eyebrow {
  display: inline-block;
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
}

/* Section title — sans, weight 600, tight */
.section-title {
  font-size: var(--t-h2);
  margin-top: var(--s-3);
  color: var(--text-strong);
  font-weight: 600;
}
.section-sub {
  margin-top: var(--s-3);
  font-size: 1.05rem;
  color: var(--text);
  max-width: 60ch;
  line-height: 1.55;
}

/* Buttons — sharp corners, solid presence */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--dur) var(--ease);
  border-radius: var(--r-0);
}
.btn .arr { transition: transform var(--dur) var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.btn--primary { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.btn--primary:hover { background: var(--ember); border-color: var(--ember); }
.btn--accent { background: var(--ember); color: #fff; border-color: var(--ember); }
.btn--accent:hover { background: var(--ember-700); border-color: var(--ember-700); }
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--line-200); }
.btn--ghost:hover { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.btn--white-line { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--white-line:hover { background: #fff; color: var(--ink-900); border-color: #fff; }
.btn--white { background: #fff; color: var(--ink-900); border-color: #fff; }
.btn--white:hover { background: var(--ember); color: #fff; border-color: var(--ember); }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 0.95rem; }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.82rem; }

/* Section spacing */
.section { padding: var(--s-9) 0; }
.section--lg { padding: var(--s-10) 0; }
.section--sm { padding: var(--s-8) 0; }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--ink-900); color: rgba(255,255,255,0.78); }
.section--ink h2, .section--ink h3 { color: #fff; }

/* Section header layout */
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-7);
}
.section-head__main { max-width: 720px; }
.section-head__cta { display: flex; gap: var(--s-3); align-items: center; }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* Photo placeholder — neutral gray, "Photo" label */
.photo {
  position: relative;
  background: linear-gradient(135deg, #d6d3d1 0%, #a8a6a2 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  color: rgba(255,255,255,0.85);
}
.photo--dark {
  background: linear-gradient(135deg, #2b2a28 0%, #1c1c1b 100%);
}
.photo__hint {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  background: rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
}
.photo--ratio-16-9 { aspect-ratio: 16/9; }
.photo--ratio-4-3 { aspect-ratio: 4/3; }
.photo--ratio-3-4 { aspect-ratio: 3/4; }
.photo--ratio-1-1 { aspect-ratio: 1/1; }

/* Tag */
.tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  background: var(--ember-100);
  color: var(--ember-700);
}
.tag--dark { background: var(--ink-900); color: #fff; }
.tag--neutral { background: var(--bg-alt); color: var(--ink-800); }
