/* tessoperations.com — one stylesheet, no build step. */

:root {
  --ink: #17161A;
  --paper: #FFFFFF;
  --wash: #F6F4FB;
  --lavender: #CDBDF2;
  --aqua: #B4E7E2;
  --caption: #FFF4C2;
  --violet: #5B3FB8;
  --muted: #3D3B45;
  --on-ink: #D9D6E4;
  --display: 'Bricolage Grotesque', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --rule: 3px solid var(--ink);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); }
a:hover { color: var(--violet); }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

h1, h2, h3, p, ol, ul, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; }
[id] { scroll-margin-top: 16px; }

.skip {
  position: absolute; left: 16px; top: -100px;
  background: var(--ink); color: #FFFFFF; padding: 12px 16px; z-index: 10;
}
.skip:focus { top: 16px; color: #FFFFFF; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.band { border-bottom: var(--rule); }
.band--wash { background: var(--wash); }
.pad { padding-top: 72px; padding-bottom: 72px; }
.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-10 { gap: 10px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-40 { gap: 40px; }
.lede { max-width: 760px; }
.muted { color: var(--muted); }

h2 { font-size: clamp(28px, 4.2vw, 38px); letter-spacing: -0.8px; line-height: 1.12; }
h3 { font-size: 22px; line-height: 1.2; }

/* Header */
.site-header { border-bottom: var(--rule); background: var(--paper); }
.site-header .wrap {
  padding-top: 14px; padding-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; font-weight: 600; font-size: 16px; }
.nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* Buttons */
.btn {
  text-decoration: none; background: var(--ink); color: #FFFFFF; font-weight: 700;
  border-radius: 6px; min-height: 44px; display: inline-flex; align-items: center;
}
.btn:hover { color: #FFFFFF; background: #2B2932; }
.btn--sm { padding: 12px 18px; }
.btn--md { font-size: 18px; padding: 16px 26px; box-shadow: 5px 5px 0 var(--lavender); }
.btn--lg { font-size: 19px; padding: 18px 30px; box-shadow: 5px 5px 0 var(--lavender); }

.tag {
  align-self: flex-start; background: var(--caption); border: 2px solid var(--ink);
  padding: 6px 12px; font-weight: 700; font-size: 15px;
}

/* Hero */
.hero .wrap {
  padding-top: 64px; padding-bottom: 56px;
  display: flex; gap: 48px; align-items: center; flex-wrap: wrap;
}
.hero__text { flex: 1 1 440px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 { font-size: clamp(36px, 6.4vw, 56px); line-height: 1.04; letter-spacing: -1.5px; }
.hero__sub { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 580px; }
.hero__cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding-top: 6px; }
.hero__cta p { font-size: 16px; color: var(--muted); }
.panel { border: var(--rule); background: var(--paper); box-shadow: 8px 8px 0 var(--ink); }
.hero__art { flex: 1 1 420px; min-width: 0; }
.hero__art img, .adv__art img { width: 100%; }

/* Credentials strip */
.creds { background: var(--ink); color: #FFFFFF; }
.creds .wrap {
  padding-top: 26px; padding-bottom: 26px;
  display: flex; gap: 20px 48px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.creds__who { flex: 1 1 460px; }
.creds__tools { flex: 1 1 380px; font-size: 16px; color: var(--on-ink); }
.creds__tools span { font-weight: 700; color: #FFFFFF; }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.grid--case { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px 40px; }
.grid--ways { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px 32px; }
.grid--who { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px; }

.card { border: var(--rule); background: var(--paper); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card .kicker { font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--violet); }
.card .big { font-size: 20px; font-weight: 600; }

.tile { border: var(--rule); background: var(--paper); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.tile p { font-size: 17px; }
.tile--lav { box-shadow: 6px 6px 0 var(--lavender); }
.tile--aqua { box-shadow: 6px 6px 0 var(--aqua); }

.promise { font-family: var(--display); font-weight: 800; font-size: clamp(21px, 3vw, 26px); color: var(--violet); line-height: 1.2; }

.ways { border-top: 2px dashed var(--ink); padding-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.ways h3 { font-size: 26px; }

/* How we work */
.steps { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps li { border: var(--rule); background: var(--paper); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps .step { font-family: var(--display); font-weight: 800; font-size: 22px; }
.steps .what { font-size: 16px; }
.principle p { font-size: 17px; }

/* Case files */
.case { border: var(--rule); background: var(--paper); box-shadow: 6px 6px 0 var(--ink); display: flex; flex-direction: column; }
.case__label {
  background: var(--caption); border-bottom: var(--rule); padding: 14px 20px;
  font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
}
.case__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.case h3 { font-size: 24px; line-height: 1.15; }
.case .story { font-size: 17px; flex-grow: 1; }
.case .result { font-size: 16px; font-weight: 700; }
.case .lesson { font-size: 14px; font-weight: 600; color: var(--violet); }

/* Who we are */
.person { display: flex; flex-direction: column; gap: 8px; }
.person h3, .crew h3 { font-size: 26px; }
.person img { width: 150px; height: 180px; object-fit: cover; border: var(--rule); margin-bottom: 8px; }
.role { font-weight: 600; color: var(--violet); }
.person p, .crew p { font-size: 17px; }
.person .role, .crew .role { font-size: 18px; }
.person a { font-weight: 700; align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; }
.crew { display: flex; flex-direction: column; gap: 8px; border: var(--rule); padding: 24px; background: var(--wash); }

/* Adventures */
.adv .wrap { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.adv__text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.adv__links { display: flex; flex-direction: column; gap: 6px; padding: 0; list-style: none; }
.adv__links a { font-weight: 700; display: inline-flex; align-items: center; min-height: 32px; }
.adv__art { flex: 0 1 340px; min-width: 0; }

/* Closing call to action */
.book .wrap {
  padding-top: 80px; padding-bottom: 80px;
  display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center;
}
.book h2 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -1px; max-width: 820px; }
.book p { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 700px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink); font-size: 15px; }
.site-footer .wrap {
  padding-top: 32px; padding-bottom: 32px;
  display: flex; gap: 16px 32px; justify-content: space-between; align-items: center; flex-wrap: wrap;
}
.site-footer img { height: 56px; width: auto; flex: 0 0 auto; }
.site-footer .legal { flex: 1 1 320px; }
.site-footer nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.site-footer a { color: #FFFFFF; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer a:hover { color: var(--lavender); }
.site-footer a:focus-visible { outline-color: var(--lavender); }

/* Plain text pages: privacy, terms, not found */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; display: flex; flex-direction: column; gap: 18px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -1px; line-height: 1.08; }
.doc h2 { font-size: 22px; letter-spacing: 0; margin-top: 10px; }
.doc ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.doc .updated { color: var(--muted); font-size: 16px; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .pad { padding-top: 52px; padding-bottom: 52px; }
  .hero .wrap { padding-top: 40px; padding-bottom: 44px; gap: 32px; }
  .brand img { height: 52px; }
  .nav { gap: 4px 18px; }
  .panel { box-shadow: 5px 5px 0 var(--ink); }
  .book .wrap { padding-top: 56px; padding-bottom: 56px; }
  .adv .wrap { gap: 32px; }
  .adv__art { flex-basis: 100%; max-width: 340px; }
}
