:root {
  --ink: #171916;
  --charcoal: #74726c;
  --charcoal-soft: #87847d;
  --muted: #70706c;
  --line: #e3d9d1;
  --paper: #f6eee9;
  --white: #fff8f3;
  --green: #d71920;
  --green-dark: #565650;
  --sage: #f1e4df;
  --coral: #e2141b;
  --gold: #d43a3a;
  --blue: #73736f;
  --pink: #f4dfdf;
  --rose-panel: #f1d7d4;
  --rose-panel-deep: #e9c2be;
  --shadow: 0 22px 70px rgba(23, 25, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Helvetica Neue", Helvetica, Arial, Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  margin: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: rgba(246, 238, 233, 0.92);
  border-bottom: 1px solid rgba(23, 25, 22, 0.1);
  backdrop-filter: blur(16px);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  padding: 16px clamp(20px, 5vw, 64px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  height: auto;
  width: clamp(220px, 24vw, 360px);
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 20px;
  font-size: 14px;
  font-weight: 720;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--coral);
}

.language-switcher {
  align-items: center;
  background: rgba(255, 248, 243, 0.62);
  border: 1px solid rgba(23, 25, 22, 0.12);
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
}

.language-switcher button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  min-height: 30px;
  min-width: 38px;
  padding: 8px 10px;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  color: var(--coral);
}

.language-switcher button.is-active {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(215, 25, 32, 0.18);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 9px;
  width: 42px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 5px 0;
  width: 100%;
}

.hero {
  display: grid;
  gap: clamp(34px, 6vw, 84px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  min-height: calc(100vh - 77px);
  padding: clamp(52px, 9vw, 112px) clamp(20px, 5vw, 64px) 54px;
}

.hero-copy,
.signal-panel {
  align-self: center;
}

.eyebrow {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.section-icon {
  align-items: center;
  background: rgba(215, 25, 32, 0.08);
  border: 1px solid rgba(215, 25, 32, 0.14);
  border-radius: 16px;
  color: var(--coral);
  display: inline-flex;
  height: 46px;
  margin-bottom: 18px;
  padding: 10px;
  width: 46px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.12;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(44px, 5.6vw, 78px);
  margin-bottom: 28px;
  max-width: 1030px;
}

h2 {
  font-size: clamp(32px, 3.7vw, 54px);
  margin-bottom: 22px;
}

h3 {
  font-size: 23px;
  line-height: 1.18;
  margin-bottom: 12px;
}

.hero-lede {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  max-width: 760px;
}

.cover-author,
.cover-tagline {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
  text-transform: uppercase;
}

.cover-author {
  color: var(--muted);
  font-size: clamp(28px, 5vw, 62px);
  font-weight: 250;
  letter-spacing: 0.12em;
  line-height: 1;
  margin-bottom: 48px;
}

.cover-tagline {
  color: var(--coral);
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin-top: 34px;
}

.cover-tagline span {
  display: block;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 16px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease;
}

.button.primary {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
  box-shadow: none;
}

.button.secondary {
  background: transparent;
  box-shadow: none;
}

.button:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.button.secondary:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.link-row a,
.app-grid article > a {
  border: 1px solid rgba(23, 25, 22, 0.18);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 14px;
  font-weight: 750;
  justify-content: center;
  padding: 10px 14px;
}

.link-row a:hover,
.app-grid article > a:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.link-row.compact {
  margin-top: 18px;
}

.signal-panel {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(230px, auto);
}

.signal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  min-height: 185px;
  padding: 24px;
  box-shadow: 0 14px 46px rgba(21, 27, 24, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.signal-card:hover {
  border-color: rgba(226, 20, 27, 0.22);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.signal-card > svg,
.service-grid a > svg {
  background: rgba(215, 25, 32, 0.08);
  border: 1px solid rgba(215, 25, 32, 0.14);
  border-radius: 16px;
  color: var(--coral);
  display: block;
  height: 44px;
  margin-bottom: 18px;
  padding: 10px;
  width: 44px;
}

.signal-card:nth-child(2) {
  margin-top: 0;
}

.signal-card span,
.case-card span,
.hack-grid span {
  color: var(--coral);
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 30px;
}

.signal-card strong {
  display: block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 450;
  letter-spacing: 0.005em;
  line-height: 1.08;
  margin-bottom: 12px;
}

.signal-card p {
  color: currentColor;
  margin: 0;
  opacity: 0.78;
}

.signal-card-dark {
  background: var(--rose-panel-deep);
  color: var(--ink);
  grid-column: 1 / -1;
  min-height: 230px;
}

.signal-card.accent {
  background: var(--pink);
}

.intro-band {
  background: var(--rose-panel);
  color: var(--ink);
  padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px);
}

.intro-band p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.18;
  margin: 0;
  max-width: 1250px;
}

.section {
  padding: clamp(70px, 10vw, 128px) clamp(20px, 5vw, 64px);
}

.split {
  align-items: center;
  display: grid;
  gap: clamp(36px, 6vw, 80px);
  grid-template-columns: 0.9fr 1.1fr;
}

.section-copy p,
.section-heading p,
.contact-section p,
.profile-card p {
  color: var(--muted);
  font-size: 18px;
  max-width: 760px;
}

.quote-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 12px solid var(--coral);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 54px);
}

.quote-block p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.14;
  margin-bottom: 28px;
}

.quote-block span {
  color: var(--muted);
  font-weight: 800;
}

.dark-section {
  background: var(--rose-panel);
  color: var(--ink);
}

.dark-section .section-heading p {
  color: var(--muted);
}

.section-heading {
  margin-bottom: 44px;
  max-width: 980px;
}

.hack-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(7, minmax(180px, 1fr));
  overflow-x: auto;
  padding-bottom: 10px;
}

.hack-grid article {
  background: rgba(255, 248, 243, 0.56);
  border: 1px solid rgba(215, 25, 32, 0.14);
  border-radius: 24px;
  min-height: 280px;
  padding: 24px;
}

.hack-grid h3 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 30px;
  font-weight: 450;
  letter-spacing: 0.005em;
  line-height: 1.12;
}

.hack-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.proof-section {
  background: var(--sage);
  color: var(--ink);
}

.proof-section .eyebrow {
  color: var(--coral);
}

.proof-section .section-heading p {
  color: var(--muted);
}

.case-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  color: inherit;
  display: block;
  min-height: 190px;
  padding: 24px;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.case-card:hover,
.case-card:focus-visible {
  border-color: rgba(215, 25, 32, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.case-card span {
  margin-bottom: 20px;
}

.case-card.large {
  background: var(--coral);
  color: var(--white);
  grid-column: span 2;
  min-height: 320px;
}

.case-card.large p {
  color: rgba(255, 248, 243, 0.78);
}

.case-card h3 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(28px, 2.4vw, 40px);
  font-weight: 450;
  letter-spacing: 0.005em;
  line-height: 1.12;
  margin-bottom: 16px;
}

.case-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.book-section {
  background: var(--paper);
}

.book-meta {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.book-meta a {
  border-left: 5px solid var(--coral);
  color: var(--ink);
  display: block;
  font-weight: 780;
  padding-left: 12px;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.book-meta a:hover,
.book-meta a:focus-visible {
  color: var(--coral);
  transform: translateX(4px);
}

.book-wall {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.book-wall a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: block;
  overflow: hidden;
  padding: 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.book-wall a:hover,
.book-wall a:focus-visible {
  border-color: rgba(215, 25, 32, 0.32);
  box-shadow: 0 24px 70px rgba(50, 45, 41, 0.2);
  transform: translateY(-8px);
}

.book-wall img {
  aspect-ratio: 0.68;
  border-radius: 16px;
  display: block;
  object-fit: contain;
  width: 100%;
}

.image-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
}

.image-card img {
  aspect-ratio: 1.25;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

#workshops .image-card {
  max-width: 520px;
}

#workshops .image-card img {
  aspect-ratio: 1;
}

.book-wall a:nth-child(2) {
  transform: none;
}

.triz-section {
  align-items: start;
  background: var(--sage);
  display: grid;
  gap: clamp(36px, 6vw, 76px);
  grid-template-columns: 0.86fr 1.14fr;
}

.method-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.method-list li {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: flex;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 800;
  gap: 18px;
  line-height: 1.15;
  min-height: 92px;
  padding: 20px;
}

.method-list span {
  align-items: center;
  background: var(--coral);
  color: var(--white);
  display: inline-flex;
  flex: 0 0 48px;
  font-size: 18px;
  height: 48px;
  justify-content: center;
  border-radius: 15px;
  width: 48px;
}

.app-callout {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  display: inline-flex;
  gap: 16px;
  margin-top: 24px;
  padding: 14px 18px 14px 14px;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.app-callout:hover,
.app-callout:focus-visible {
  border-color: rgba(215, 25, 32, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.app-callout img {
  border-radius: 16px;
  height: 64px;
  width: 64px;
}

.app-callout span {
  display: grid;
  gap: 4px;
}

.app-callout strong {
  color: var(--coral);
  font-size: 18px;
}

.quiet {
  background: var(--white);
}

.service-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  min-height: 280px;
  padding: 28px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.app-grid article:hover {
  border-color: rgba(215, 25, 32, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.app-grid article > img {
  aspect-ratio: 1.35;
  border-radius: 18px;
  margin-bottom: 24px;
  object-fit: cover;
  width: 100%;
}

.app-grid span,
.publication-list span {
  color: var(--coral);
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.app-grid h3 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 28px;
  font-weight: 450;
  letter-spacing: 0.005em;
  line-height: 1.14;
  margin-bottom: 18px;
}

.app-grid p {
  color: var(--muted);
}

.store-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.store-icon {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  display: inline-flex;
  gap: 12px;
  min-width: 178px;
  padding: 12px 16px 12px 12px;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.store-icon:hover,
.store-icon:focus-visible {
  border-color: var(--coral);
  box-shadow: 0 16px 30px rgba(50, 45, 41, 0.12);
  color: var(--coral);
  transform: translateY(-3px);
}

.store-icon img {
  border-radius: 12px;
  height: 48px;
  width: 48px;
}

.store-icon strong {
  font-size: 16px;
  line-height: 1;
}

.publications-section {
  background: var(--paper);
}

.publication-list {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.publication-list a {
  align-items: flex-start;
  background: var(--white);
  border-radius: 24px;
  display: grid;
  justify-content: stretch;
  padding: 22px;
  text-align: left;
}

.service-grid a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  min-height: 222px;
  padding: 28px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-grid a:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-grid strong {
  display: block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 28px;
  font-weight: 450;
  letter-spacing: 0.005em;
  line-height: 1.14;
  margin-bottom: 18px;
}

.service-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.profile-section {
  background: var(--paper);
  padding-top: 0;
}

.profile-card {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr) auto;
  gap: 28px;
  justify-content: space-between;
  padding: clamp(30px, 6vw, 64px);
}

.profile-card h2 {
  max-width: 820px;
}

.portrait-card {
  align-self: stretch;
  border-radius: 28px;
  margin: 0;
  max-width: 360px;
  overflow: hidden;
}

.portrait-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.contact-section {
  align-items: center;
  background: var(--rose-panel-deep);
  color: var(--ink);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: clamp(54px, 9vw, 96px) clamp(20px, 5vw, 64px);
}

.contact-section p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-actions {
  display: grid;
  gap: 12px;
  min-width: min(100%, 390px);
}

.contact-link,
.linkedin-link {
  background: rgba(255, 248, 243, 0.34);
  border: 1px solid rgba(23, 25, 22, 0.14);
  border-radius: 24px;
  color: var(--ink);
  font-weight: 850;
  padding: 18px 22px;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  word-break: break-word;
}

.contact-link:hover,
.linkedin-link:hover,
.contact-link:focus-visible,
.linkedin-link:focus-visible {
  background: var(--white);
  border-color: rgba(215, 25, 32, 0.28);
  box-shadow: var(--shadow);
  color: var(--ink);
  transform: translateY(-4px);
}

.contact-link {
  font-size: clamp(18px, 2vw, 28px);
}

.linkedin-link {
  color: var(--ink);
  font-size: 20px;
}

.site-footer {
  align-items: center;
  background: var(--paper);
  color: var(--muted);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 64px);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 14px;
    font-size: 13px;
  }

  .case-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .site-nav {
    align-items: flex-start;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 18px 20px 26px;
    position: absolute;
    right: 0;
    top: 77px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero,
  .split,
  .triz-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .signal-panel {
    transform: none;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .profile-card,
  .contact-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .portrait-card {
    max-width: 420px;
  }
}

@media (max-width: 700px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .nav-toggle {
    order: 2;
  }

  .language-switcher {
    order: 3;
  }

  .site-nav {
    top: 124px;
  }

  .brand-logo {
    width: min(58vw, 210px);
  }

  h1 {
    font-size: clamp(34px, 9vw, 46px);
    line-height: 1.15;
  }

  h2 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .brand small {
    display: none;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .signal-panel,
  .book-wall,
  .case-grid,
  .app-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .signal-card:nth-child(2),
  .book-wall a:nth-child(2) {
    margin-top: 0;
    transform: none;
  }

  .signal-card-dark,
  .case-card.large {
    min-height: 250px;
  }

  .method-list li {
    align-items: flex-start;
    flex-direction: column;
  }
}

.store-icon.privacy-link {
  background: rgba(255, 248, 243, 0.42);
}

.store-icon.privacy-link .privacy-mark {
  align-items: center;
  background: rgba(215, 25, 32, 0.08);
  border: 1px solid rgba(215, 25, 32, 0.14);
  border-radius: 12px;
  color: var(--coral);
  display: inline-flex;
  flex: 0 0 48px;
  font-size: 22px;
  font-weight: 850;
  height: 48px;
  justify-content: center;
  margin: 0;
  text-transform: none;
  width: 48px;
}
