:root {
  --ink: #f3eee5;
  --muted: #b8ada0;
  --bg: #0e1113;
  --bg-2: #15191b;
  --panel: #1b2022;
  --panel-warm: #211b17;
  --cream: #efe4d2;
  --amber: #c79a5a;
  --amber-2: #e3bf83;
  --red: #b84a41;
  --yellow: #d9c63b;
  --line: rgba(239, 228, 210, .14);
  --line-strong: rgba(239, 228, 210, .24);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(199,154,90,.08), transparent 30%),
    linear-gradient(180deg, #0d1012 0%, #111517 55%, #0c0f10 100%);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
.section-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px max(24px, calc((100vw - var(--max))/2));
  background: rgba(10, 13, 14, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  text-decoration: none;
  color: var(--cream);
}
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 14px; color: #d8d1c7; }
.nav a:hover { color: var(--cream); }

.hero {
  position: relative;
  width: min(calc(100% - 32px), 1500px);
  margin: 24px auto 0;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(440px, .92fr) minmax(0, 1.18fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #090c0d;
  box-shadow: 0 35px 90px rgba(0,0,0,.42);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 48% 0 0;
  background:
    radial-gradient(circle at 74% 20%, rgba(227,191,131,.19), transparent 17%),
    radial-gradient(circle at 58% 62%, rgba(38,85,88,.22), transparent 38%),
    linear-gradient(115deg, rgba(29,24,20,.98) 0%, rgba(15,20,21,.98) 44%, rgba(10,15,16,.98) 100%);
  z-index: 0;
}
.hero::before {
  box-shadow: inset -70px 0 90px rgba(7,9,10,.55);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,7,8,.32) 0%, rgba(5,7,8,.10) 42%, rgba(5,7,8,.02) 60%, rgba(5,7,8,.08) 100%),
    linear-gradient(180deg, rgba(255,255,255,.012), transparent 24%);
  z-index: 3;
}
.hero-copy {
  position: relative;
  z-index: 4;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  padding: clamp(52px, 5vw, 78px);
}
.hero .eyebrow { color: var(--cream); }
.hero h1 {
  font-size: clamp(52px, 5.8vw, 90px);
  line-height: .90;
  margin-bottom: 24px;
  text-shadow: 0 3px 20px rgba(0,0,0,.38);
}
.hero-text {
  max-width: 600px;
  font-size: clamp(18px, 1.6vw, 23px);
  color: #e5ded5;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: auto;
  padding-top: 38px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 22%, rgba(231,159,76,.13), transparent 24%),
    #0d1112;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #090c0d 0%, rgba(9,12,13,.88) 7%, rgba(9,12,13,.40) 18%, rgba(9,12,13,0) 34%);
  z-index: 2;
  pointer-events: none;
}
.hero-person {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 60%;
  filter: saturate(1.02) brightness(.86) contrast(1.18);
  transform: scale(1.10);
  transform-origin: 74% 58%;
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: -2px;
  height: 19%;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0) 12%),
    repeating-linear-gradient(92deg, rgba(255,255,255,.018) 0 1px, transparent 1px 42px),
    linear-gradient(90deg, #2d160b 0%, #6b3517 24%, #8a4a22 52%, #4b2511 78%, #26130a 100%);
  box-shadow:
    0 -8px 28px rgba(0,0,0,.28),
    inset 0 10px 18px rgba(255,182,94,.12),
    inset 0 -26px 34px rgba(0,0,0,.24);
  transform: perspective(900px) rotateX(6deg);
  transform-origin: bottom center;
}
.hero-lamp {
  position: absolute;
  right: clamp(18px, 2.2vw, 34px);
  top: clamp(28px, 4vw, 58px);
  width: clamp(120px, 12vw, 178px);
  height: clamp(300px, 34vw, 430px);
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.34));
}
.hero-lamp::before {
  content: "";
  position: absolute;
  inset: -18% -36% 18% -36%;
  background: radial-gradient(circle at 50% 24%, rgba(255,191,104,.23), rgba(255,151,55,.07) 34%, transparent 66%);
}
.lamp-shade {
  position: absolute;
  top: 0;
  left: 6%;
  width: 88%;
  height: 32%;
  border-radius: 42% 42% 15% 15% / 18% 18% 9% 9%;
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(90deg, rgba(159,92,38,.16), transparent 24% 76%, rgba(124,64,24,.18)),
    linear-gradient(180deg, #ead2a7 0%, #f2d8a5 52%, #c79055 100%);
  border-bottom: 5px solid #6d2d17;
  box-shadow: inset 0 0 20px rgba(255,255,255,.24), 0 10px 24px rgba(255,164,75,.16);
}
.lamp-stem {
  position: absolute;
  top: 31%;
  left: calc(50% - 4px);
  width: 8px;
  height: 58%;
  border-radius: 5px;
  background: linear-gradient(90deg, #5c351d, #d39a56 46%, #76502b 72%, #3b2518);
}
.lamp-base {
  position: absolute;
  left: 27%;
  bottom: 4%;
  width: 46%;
  height: 6%;
  border-radius: 50%;
  background: linear-gradient(180deg, #d49c5b, #56341f);
  box-shadow: 0 10px 18px rgba(0,0,0,.34);
}

.hero-books {
  position: absolute;
  right: clamp(24px, 3vw, 48px);
  bottom: clamp(54px, 4vw, 72px);
  z-index: 4;
  display: flex;
  align-items: flex-end;
  gap: 18px;
}
.hero-books img {
  width: clamp(112px, 10vw, 160px);
  height: auto;
  display: block;
  border-radius: 3px;
  box-shadow: 0 22px 44px rgba(0,0,0,.42);
}
.hero-books img:first-child { transform: rotate(-1deg); }
.hero-books img:last-child { transform: rotate(1deg); }

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 700;
  color: var(--amber-2);
}
h1, h2, h3 { margin-top: 0; }
h1, h2 { font-family: "Playfair Display", serif; font-weight: 600; letter-spacing: -.035em; }
h1 { margin: 0 0 28px; }
h1 em { font-weight: 500; color: var(--cream); }
h2, .home-hero-copy h1 { font-size: clamp(38px, 5vw, 66px); }
h2 { line-height: 1.02; color: var(--cream); }
h3 { font-size: 24px; margin-bottom: 12px; color: #f2eee7; }

.button {
  display: inline-block;
  padding: 13px 20px;
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: .2s ease;
}
.button-dark {
  border: 1px solid var(--amber-2);
  background: rgb(0 0 0 / 35%);
  color: var(--amber-2);
}
.button-dark:hover {
  background: rgb(0 0 0 / 60%);
  transform: translateY(-1px);
}
.button-dark:focus-visible {
  outline: 2px solid var(--amber-2);
  outline-offset: 3px;
}
.text-link { text-decoration: none; font-weight: 600; color: var(--cream); }
.text-link:hover { color: var(--cream); }
.text-link span { margin-left: 4px; }

.section { padding-block: 118px; border-top: 1px solid var(--line); }
.about-grid, .thinking-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.about-grid h2 { overflow-wrap: anywhere; }
.about-photo {
  display: block;
  width: min(100%, 380px);
  height: auto;
  margin-block-end: 24px;
  border-radius: 12px;
}
.prose { max-width: 720px; font-size: 19px; color: #d0c7bc; }
.prose p:first-child { margin-top: 0; }
.section-heading { margin-bottom: 54px; max-width: 820px; }

#books, #thinking, #contact { position: relative; }
#thinking .thinking-grid { position: relative; }
#thinking .thinking-grid::before {
  content: "";
  position: absolute; inset: -28px 0 auto;
  width: 140px; height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
  opacity: .55;
}

.books-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.book-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(34,39,41,.92), rgba(19,22,24,.92));
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,.20);
}
.cover-image-wrap { display: flex; align-items: flex-start; justify-content: center; }
.cover-image {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 24px 42px rgba(0,0,0,.4);
  border-radius: 4px;
}
.book-copy p { color: #c8bfb4; }
.meta { font-size: 11px; text-transform: uppercase; letter-spacing: .11em; color: var(--cream) !important; font-weight: 700; }
.small-note { font-size: 14px; font-style: italic; color: #b7ada1 !important; }

.thinking-list { border-top: 1px solid var(--line); }
@media (min-width: 981px) {
  .thinking-list {
    position: relative;
    border-top: 0;
  }
  .thinking-list::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: -45px;
    border-inline-start: 1px solid var(--line);
  }
}
.thinking-list article { padding: 34px 0; border-bottom: 1px solid var(--line); }
.thinking-list h3 { color: var(--amber-2); }
.thinking-list p { max-width: 720px; color: #c8bfb4; }
.contact-block {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  padding-bottom: 140px;
}
.contact-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
@media (max-width: 760px) {
  .contact-block { grid-template-columns: minmax(0, 1fr); }
  .contact-photo { max-width: 280px; }
}
.contact-block h2 { max-width: 860px; }
.contact-links { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 38px; }
.contact-links a { font-size: 18px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--amber); padding-bottom: 4px; }
.contact-links a:hover { color: var(--cream); }
.contact-links a { overflow-wrap: anywhere; }
.site-footer {
  display: flex; justify-content: space-between; gap: 24px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  color: #8f867d;
  font-size: 13px;
}

/* Book detail pages */
.book-detail-hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 80px;
  align-items: center;
  padding-block: 82px 100px;
}
.book-detail-cover img {
  width: min(100%, 420px);
  display:block;
  margin-inline:auto;
  box-shadow: 0 32px 60px rgba(0,0,0,.38);
}
.book-detail-intro { max-width: 760px; }
.book-title { font-size: clamp(62px, 8vw, 118px); line-height: .86; margin-bottom: 22px; color: var(--amber-2); }
.book-subtitle { font-size: clamp(20px, 2.5vw, 31px); max-width: 700px; margin: 0 0 12px; color: #d2c8bd; }
.book-authors { color: var(--muted); font-weight: 600; margin-bottom: 34px; }
.lead { font-family: "Playfair Display", serif; font-size: clamp(25px, 3vw, 38px); line-height: 1.22; max-width: 800px; color: var(--cream); }
.detail-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; }
.three-col { display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.three-col article {
  border-top: 1px solid var(--line-strong);
  padding: 24px 22px 8px 0;
}
.three-col p { color:#c8bfb4; }
.project-selection { margin-block: clamp(32px, 6vw, 64px) 32px; }
.project-selection .eyebrow, .project-selection .text-link { color: var(--amber-2); }
.step { display:inline-block; font-size:12px; letter-spacing:.12em; color: var(--cream); margin-bottom:28px; }
.quote { font-family:"Playfair Display",serif; font-size:30px; line-height:1.3; color:var(--cream)!important; margin-top:42px; }
.quote.quote-amber { color: var(--amber-2) !important; }
.book-cta {
  display:flex; align-items:flex-end; justify-content:space-between; gap:40px;
  margin-bottom: 50px;
  padding: 42px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(34,39,41,.95), rgba(21,24,26,.95));
  border: 1px solid var(--line);
}
.book-cta h2 { margin-bottom:10px; }
.book-cta p { color:#c8bfb4; }
.site-footer a { text-decoration:none; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero::before { inset: 0; background-size: cover; background-position: left top; opacity: .42; }
  .hero-copy { min-height: 620px; padding: 42px 30px 34px; }
  .hero-visual { min-height: 620px; }
  .hero-actions { gap: 18px; }
  .thinking-grid, .books-grid, .book-detail-hero, .detail-grid { grid-template-columns: 1fr; }
  .books-grid { gap: 34px; }
  .book-card { grid-template-columns: minmax(0, 250px) minmax(0, 1fr); }
  .three-col { grid-template-columns: 1fr; }
  .book-detail-cover img { width:min(72%,360px); }
}

@media (min-width: 761px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(32px, 6vw, 90px);
    align-items: start;
  }
}
@media (min-width: 761px) {
  .about-grid > .prose {
    /* Match the height and bottom margin of the Profilo label. */
    padding-block-start: calc(11px * 1.6 + 18px);
  }
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}

@media (max-width: 640px) {
  .section-shell { width: min(calc(100% - 30px), var(--max)); }
  .site-header { padding-inline: 15px; }
  .hero {
    width: calc(100% - 16px);
    min-height: 640px;
    margin-top: 10px;
    border-radius: 18px;
    background-position: 72% center;
  }
  .hero-copy {
    width: 100%;
    min-height: 640px;
    padding: 34px 24px 32px;
  }
  .hero h1 { font-size: clamp(46px, 13vw, 66px); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .section { padding-block: 82px; }
  .about-grid, .thinking-grid { gap: 34px; }
  .book-card { grid-template-columns: 1fr; padding: 22px; }
  .cover-image { width: min(86%, 300px); margin-inline: auto; }
  .site-footer { flex-direction: column; }
  .book-detail-hero { padding-block:54px 70px; }
  .book-detail-cover img { width:min(82%,300px); }
  .book-title { font-size:clamp(54px,16vw,78px); }
  .book-cta { align-items:flex-start; flex-direction:column; padding: 28px; }
}

@media (max-width: 980px) {
  .hero::before { inset: 0; opacity: .92; }
  .hero-visual { position: absolute; inset: 0; z-index: 1; opacity: .42; }
  .hero-visual::before { background: linear-gradient(90deg, rgba(9,12,13,.95) 0%, rgba(9,12,13,.78) 52%, rgba(9,12,13,.24) 100%); }
  .hero-person { object-position: 68% 58%; transform: scale(1.08); transform-origin: 76% 58%; }
  .hero-copy { position: relative; z-index: 4; width: 100%; }
  .hero-lamp { right: 18px; top: 24px; transform: scale(.82); transform-origin: top right; }
  .hero-books { opacity: .92; right: 22px; bottom: 22px; }
}


/* Homepage hero */
.home-header {
  position: static;
  flex-wrap: wrap;
  gap: 12px 24px;
  background: #0a0d0e;
  backdrop-filter: none;
}
.home-header .nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(12px, 2.5vw, 28px);
}
.home-hero-image {
  display: block;
  width: 100%;
  height: auto;
}
.home-hero-copy {
  padding-block: clamp(44px, 7vw, 104px);
}
.home-hero-copy .eyebrow { color: var(--cream); }
.home-hero-copy h1 {
  max-width: 16ch;
  margin-bottom: 24px;
  line-height: 1.05;
}
.home-hero-copy h1 > * { display: block; }
.home-hero-copy h1 em {
  color: var(--amber-2);
  font-weight: 500;
}
.home-hero-copy .hero-text { margin: 0; }
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 28px;
}

@media (min-width: 768px) {
  .home-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: 57.14vw;
  }
  .home-hero-image {
    position: absolute;
    inset: 0;
    z-index: -1;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
  }
  .home-hero::before {
    --fade-end: 42%;
    --fade-width: clamp(200px, 18vw, 300px);
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to right,
      rgb(0 0 0 / 70%) calc(var(--fade-end) - var(--fade-width)),
      rgb(0 0 0 / 63%) calc(var(--fade-end) - var(--fade-width) * .75),
      rgb(0 0 0 / 35%) calc(var(--fade-end) - var(--fade-width) * .5),
      rgb(0 0 0 / 7%) calc(var(--fade-end) - var(--fade-width) * .25),
      transparent var(--fade-end)
    );
    pointer-events: none;
  }
  .home-hero-copy {
    position: relative;
    width: 35%;
    margin-inline: clamp(24px, 4vw, 80px) 0;
    padding-block: clamp(28px, 4vw, 72px);
    text-shadow: 0 2px 8px #071012, 0 0 20px #071012;
  }
  .home-hero-copy h1 {
    margin-bottom: clamp(12px, 1.4vw, 24px);
  }
  .home-hero-copy .hero-text {
    font-size: clamp(1rem, 1.35vw, 1.375rem);
    line-height: 1.45;
    color: var(--ink);
  }
  .home-hero-actions {
    gap: 12px 20px;
    margin-top: clamp(14px, 1.8vw, 28px);
  }
  .home-hero-actions .button { text-shadow: none; }
}

@media (min-width: 1024px) and (min-aspect-ratio: 7/4) {
  .home-hero { min-height: calc(100svh - 77px); }
}

.hero-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(227,191,131,.92);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
}
.hero-inline-link:hover {
  color: var(--cream);
  border-bottom-color: var(--amber-2);
}
.hero-inline-link span {
  font-size: 18px;
  transform: translateY(-1px);
}

.cover-image-wrap:has(.retailer-links) {
  flex-direction: column;
  align-items: stretch;
}
.retailer-links {
  display: grid;
  gap: 6px;
  width: 100%;
  max-width: 180px;
  margin: 16px auto 0;
}
.retailer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  isolation: isolate;
}
.retailer-links img,
.book-detail-cover .retailer-links img {
  width: 76px;
  max-width: 65%;
  height: 23px;
  object-fit: contain;
  object-position: left center;
  margin: 0;
  box-shadow: none;
  filter: grayscale(1) invert(1) contrast(1.5);
  mix-blend-mode: screen;
}
.retailer-links img.retailer-logo-wide,
.book-detail-cover .retailer-links img.retailer-logo-wide {
  width: 108px;
  max-width: 75%;
}
.retailer-links img[alt="Feltrinelli"] {
  transform: scale(1.35);
  transform-origin: left center;
}

.book-card-links .text-link {
  color: var(--amber-2);
}
.book-card-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  min-height: 44px;
}
.book-card-links .text-link:last-child { margin-inline-start: auto; }

.talk-intro {
  display: grid;
  grid-template-columns: clamp(150px, 22vw, 260px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  max-width: 760px;
}
.talk-intro img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.talk-intro .prose { margin-bottom: 0; }
@media (max-width: 600px) {
  .talk-intro { grid-template-columns: minmax(0, 1fr); }
  .talk-intro img { width: min(55vw, 200px); }
}

.contributions-list {
  max-width: 760px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.contributions-list li { border-bottom: 1px solid var(--line); }
.contributions-list a {
  position: relative;
  display: block;
  padding-block: 16px;
  padding-inline-start: 22px;
}
.contributions-list a::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 22px;
  border-block: 5px solid transparent;
  border-inline-start: 8px solid var(--amber-2);
}
.contributions-list a:hover { color: var(--amber-2); }
.article-list a { padding-inline-start: 24px; }
.article-list a::before { content: none; }
.article-list .linkedin-icon {
  position: absolute;
  inset-inline-start: 0;
  top: 20px;
}

.linkedin-icon {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 2px;
  background: var(--amber-2);
  color: #111416;
  font: 700 12px/1 "DM Sans", system-ui, sans-serif;
}

.author-statement, .client-brands {
  background: radial-gradient(ellipse at 88% 100%, #19221f, transparent 55%), #0a0d0e;
}
.author-statement { padding-block: clamp(48px, 7vw, 96px); }
.author-statement .section-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-block: 0;
  padding-inline: clamp(16px, 3vw, 38px) clamp(24px, 8vw, 104px);
}
.author-statement-image {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
}
.author-statement-copy {
  padding-inline-start: clamp(16px, 3vw, 32px);
  border-inline-start: 2px solid var(--amber);
}
@media (max-width: 700px) {
  .author-statement .section-shell { grid-template-columns: minmax(0, 1fr); }
  .author-statement-image { width: min(38vw, 170px); }
}
.author-statement-lead {
  margin: 0;
  color: var(--cream);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.375rem, 3vw, 2.625rem);
  line-height: 1.25;
  text-wrap: pretty;
}
.author-statement-lead span {
  color: var(--amber-2);
}
.author-statement-detail {
  max-width: 64ch;
  margin: clamp(18px, 3vw, 32px) 0 0;
  color: #d0c7bc;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  text-wrap: pretty;
}
.author-statement-detail strong { color: var(--amber-2); }

#books, #thinking, .petrol-section {
  background: radial-gradient(ellipse at 50% 38%, #102d30, transparent 75%), #0a1416;
}
#books .book-card {
  grid-template-rows: auto 1fr auto auto;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 18px 32px;
  background: rgb(12 20 22 / 68%);
}
#books .book-copy h3 {
  margin-bottom: 4px;
  color: var(--amber-2);
}
.book-copy .book-card-subtitle {
  margin: 0;
  color: var(--cream);
  font-size: .95rem;
  line-height: 1.4;
}
.book-card-upcoming { position: relative; }
.book-coming-soon {
  position: absolute;
  inset: 0 auto auto 22px;
  z-index: 1;
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  background: #142326;
  color: var(--amber-2);
  font-size: 11px;
  font-weight: 700;
}
#books .cover-image-wrap {
  align-items: center;
  min-height: 320px;
  padding: 24px 16px;
  border-radius: 14px;
  background: radial-gradient(ellipse at center, #193a3d, #0d1d20 75%);
  perspective: 900px;
}
.book-volume {
  position: relative;
  width: min(100%, 190px);
  transform: rotateY(-23deg) rotateX(5deg);
  transform-style: preserve-3d;
  transition: transform .25s ease;
}
.book-card-upcoming .book-volume { width: min(100%, 210px); }
.book-volume::after {
  content: "";
  position: absolute;
  inset: 3px auto 3px 100%;
  width: 24px;
  border-radius: 0 3px 3px 0;
  background: repeating-linear-gradient(to right, #bfb59e 0 1px, #e1d6bd 1px 3px);
  transform: rotateY(90deg);
  transform-origin: left center;
}
.book-detail-cover:has(.book-volume) { perspective: 1200px; }
.book-detail-cover .book-volume {
  width: min(85%, 340px);
  margin-inline: auto;
}
.book-volume .cover-image,
.book-detail-cover .book-volume .cover-image {
  width: 100%;
  box-shadow: -10px 20px 34px rgb(0 0 0 / 55%);
}
#books .retailer-links {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 92px), 1fr));
  gap: 8px;
  max-width: none;
  margin: 0;
}
.book-release {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin: 0;
  color: var(--amber-2);
  font-size: 14px;
  font-weight: 600;
}
#books .retailer-links a {
  gap: 5px;
  padding: 5px 8px;
  font-size: 12px;
}
#books .retailer-links img {
  width: 64px;
  max-width: none;
  min-width: 0;
  height: 18px;
}
#books .retailer-links span { flex-shrink: 0; }
.book-detail-cover .retailer-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 420px;
  margin-top: 24px;
}
.book-detail-cover .retailer-links a {
  gap: 4px;
  padding: 5px 7px;
  font-size: 12px;
}
.book-detail-cover .retailer-links img {
  min-width: 0;
  height: 18px;
}
.book-detail-cover .retailer-links span { flex-shrink: 0; }
.book-volume-opening::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #b4a38c, #e8dfcb 12%, #f7efdf);
  box-shadow: -10px 20px 34px rgb(0 0 0 / 55%);
  transform: translateZ(-1px);
}
.book-volume-opening .cover-image {
  position: relative;
  transform-origin: left center;
}
.book-detail-cover .book-volume-opening .cover-image { box-shadow: none; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cover-image-wrap:hover .book-volume,
  .book-detail-cover .book-volume:not(.book-volume-opening):hover { transform: translateY(-6px) rotateY(-16deg) rotateX(3deg); }
  .book-volume-opening .cover-image { transition: transform .35s ease; }
  .book-volume-opening:hover .cover-image { transform: rotateY(-25deg); }
}
@media (min-width: 641px) and (max-width: 980px) and (orientation: portrait) {
  #books .book-card {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    grid-template-rows: 1fr auto auto;
  }
  #books .cover-image-wrap { grid-row: 1 / 4; align-self: center; }
}
@media (min-width: 981px), (min-width: 800px) and (orientation: landscape) {
  #books .books-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  @supports (grid-template-rows: subgrid) {
    #books .book-card {
      grid-row: span 4;
      grid-template-rows: subgrid;
    }
  }
}
@media (max-width: 640px) {
  #books .cover-image-wrap { min-height: 260px; }
  .book-volume { width: min(100%, 155px); }
  .book-card-upcoming .book-volume { width: min(100%, 171px); }
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  align-items: start;
  gap: 18px;
}
.project-card {
  display: flex;
  flex-direction: column;
  block-size: 29rem;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, #142729, #11191b);
}
.project-card:has(details[open]) {
  block-size: auto;
  min-block-size: 29rem;
}
.project-tagline { margin-block: 0 12px; }
.project-tags { color: var(--muted); font-size: 13px; }
.project-card details { margin-top: auto; }
.project-card summary {
  padding-block: 10px;
  border-top: 1px solid var(--line);
  color: var(--amber-2);
  cursor: pointer;
}
.project-card summary:focus-visible { outline: 2px solid var(--amber-2); }
.project-card h4 { margin-block: 16px 4px; }
.project-card details p { margin-top: 0; }
.project-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.project-thumbnail-frame {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  height: 7rem;
  margin-block-end: 1rem;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #0e1719;
  container-type: size;
}
.project-thumbnail-crop {
  position: relative;
  block-size: 100%;
  inline-size: min(100cqw, calc(100cqh * (var(--crop-ratio))));
  block-size: min(100cqh, calc(100cqw / (var(--crop-ratio))));
  overflow: hidden;
}
.project-thumbnail {
  position: absolute;
  inset-inline-start: calc(-1 * var(--crop-x));
  inset-block-start: calc(-1 * var(--crop-y));
  display: block;
  width: var(--crop-width);
  max-width: none;
  height: auto;
  filter: saturate(.82);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .project-thumbnail { transition: transform .25s ease, filter .25s ease; }
  .project-card:hover .project-thumbnail {
    transform: scale(1.025);
    filter: saturate(1);
  }
}
.project-logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  height: 46px;
  margin-bottom: 16px;
}
.project-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 148px);
  max-height: 46px;
}

.project-intro { max-width: none; }
.project-intro h2 {
  font-size: clamp(1.75rem, 3.5vw, 3.25rem);
  color: var(--amber-2);
}
.project-heading {
  font-size: 2rem;
  line-height: 1.2;
}

.client-brands {
  padding-block: clamp(28px, 5vw, 52px);
  border-top: 1px solid var(--line);
}
.client-brands h2 {
  margin-bottom: 20px;
  padding-inline-start: 16px;
  border-inline-start: 2px solid var(--amber);
  font-size: clamp(1.25rem, 2.4vw, 1.875rem);
  line-height: 1.2;
}
.client-brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.client-brands-copy { display: none; }
.client-brands.is-animated .client-brands-viewport { overflow: hidden; }
.client-brands.is-animated .client-brands-track {
  display: flex;
  width: max-content;
  animation: client-brands-scroll 55s linear infinite;
}
.client-brands.is-animated .client-brands-list {
  display: flex;
  flex-wrap: nowrap;
  padding-inline-end: 12px;
}
.client-brands:is(:hover, :focus-within) .client-brands-track { animation-play-state: paused; }
@keyframes client-brands-scroll {
  to { transform: translateX(-50%); }
}
.client-brands-link { margin-top: 12px; }
.client-brands-list li {
  display: grid;
  flex: 0 0 132px;
  place-items: center;
  min-height: 64px;
  padding: 12px;
}
.client-brands-list img {
  display: block;
  width: auto;
  height: auto;
  max-width: 108px;
  max-height: 38px;
}

.book-index {
  max-width: 760px;
  margin: 0 0 28px;
}
.book-index-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
}
.book-index-subentry { padding-inline-start: clamp(12px, 3vw, 24px); }
.book-index-entry dd {
  margin: 0;
  color: var(--amber-2);
  font-variant-numeric: tabular-nums;
}

.book-preface-credit { color: var(--amber-2); }
.preface-with-portrait {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block: 0 20px;
}
.preface-with-portrait img {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.preface-with-portrait p { margin: 0; }
.book-preview-heading { font-size: 2rem; line-height: 1.2; }
.book-preview-preface {
  padding: clamp(20px, 5vw, 56px);
  margin-block-end: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.book-preview-cover {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin-block-end: 24px;
}

.book-preview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.book-preview-links .text-link { color: var(--amber-2); }
.book-preview-links .text-link:hover { text-decoration: underline; }

.project-awards {
  margin-block: clamp(36px, 7vw, 80px) 32px;
}
.project-awards-year {
  display: grid;
  grid-template-columns: minmax(64px, .2fr) minmax(0, 1fr);
  gap: 12px 24px;
  margin-block-start: 16px;
  padding: clamp(18px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, #142d30, #101d20);
}
.project-awards-year h3 { color: var(--amber-2); margin: 0; }
.project-awards-year ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.project-awards-year span { display: block; color: var(--muted); }
.project-awards-year li {
  position: relative;
  padding-inline-start: 26px;
}
.project-awards-year li::before {
  content: "";
  position: absolute;
  inset-block-start: .28em;
  inset-inline-start: 0;
  width: 16px;
  height: 16px;
  background: var(--amber-2);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h10v6a5 5 0 0 1-10 0V3ZM7 5H3v2a4 4 0 0 0 4 4m10-6h4v2a4 4 0 0 1-4 4m-5 3v6m-4 1h8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.project-awards-year .award-with-logo {
  display: grid;
  grid-template-columns: clamp(66px, 12vw, 90px) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding-inline-start: 0;
}
.project-awards-year .award-with-logo::before { content: none; }
.award-logo {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 5px;
  border-radius: 6px;
  background: #0b1214;
}
.award-logo:has(img[src$="promotion.svg"]), .award-logo-light { background: var(--cream); }
.award-logo img {
  display: block;
  width: 100%;
  height: 42px;
  object-fit: contain;
}
@media (max-width: 540px) {
  .project-awards-year { grid-template-columns: minmax(0, 1fr); }
}

.awards-reel {
  padding: clamp(16px, 3vw, 30px);
  border-radius: 16px;
  background: #08090a;
}
.awards-reel-copy { display: none; }
.awards-reel-viewport { overflow-x: auto; }
.awards-reel-track {
  display: flex;
  width: max-content;
}
.awards-reel-list {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.awards-reel-list img {
  display: block;
  width: auto;
  height: clamp(145px, 24vw, 240px);
  max-width: none;
  border-radius: 8px;
}
.awards-reel.is-animated .awards-reel-viewport { overflow: hidden; }
.awards-reel.is-animated .awards-reel-list { padding-inline-end: 12px; }
.awards-reel.is-animated .awards-reel-copy { display: flex; }
.awards-reel.is-animated .awards-reel-track {
  animation: awards-reel-scroll 70s linear infinite;
}
.awards-reel:is(:hover, :focus-within) .awards-reel-track { animation-play-state: paused; }
@keyframes awards-reel-scroll {
  to { transform: translateX(-50%); }
}

.speaker-gallery { margin-top: 30px; }

.speaker-gallery-featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.speaker-gallery figure, .speaker-gallery-photos figure { margin: 0; }
.speaker-gallery-featured figure:first-child { grid-column: 1 / -1; }

.speaker-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

.speaker-gallery-featured figure:first-child img {
  aspect-ratio: 16 / 10;
  object-position: center 60%;
}

.speaker-gallery figcaption, .speaker-gallery-photos figcaption {
  margin-top: 6px;
  font-size: .85rem;
  color: var(--muted);
}

.speaker-gallery-full {
  padding-bottom: clamp(48px, 7vw, 96px);
}

.speaker-gallery-photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.speaker-gallery-photos img {
  display: block;
  width: 100%;
  height: clamp(150px, 19vw, 255px);
  object-fit: cover;
  border-radius: 6px;
}

.speaker-gallery-photos li:first-child img {
  /* The original already starts at the hairline. Add room above it. */
  object-position: center clamp(12px, 2vw, 24px);
  background: #171212;
}

.speaker-gallery-photos li:nth-child(5) img {
  object-position: center 32%;
}

.speaker-gallery-photos img[src="assets/speaker/unipr-speech.jpg"] {
  object-position: center 53%;
}

.speaker-gallery-photos img[src="assets/speaker/06.jpg"] {
  object-position: center 64%;
}

.speaker-gallery-photos img[src="assets/speaker/engagement-awards.jpg"] {
  object-position: 35% 42%;
}

.speaker-gallery-photos img[src="assets/speaker/nc-awards-2025.jpg"] {
  object-position: 68% 50%;
}

.speaker-gallery-photos img[src="assets/speaker/bologna-business-school.jpg"] {
  object-position: 28% 53%;
}

@media (max-width: 760px) {
  .speaker-gallery-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .speaker-gallery-photos img { height: clamp(120px, 32vw, 220px); }
}

.talk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.talk-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.talk-card:hover { border-color: var(--amber); }
.talk-card:focus-visible {
  outline: 2px solid var(--amber-2);
  outline-offset: 4px;
}

.talk-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #08090a;
}

.talk-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talk-card-media .talk-card-image-contrasted {
  filter: contrast(1.09);
  object-position: center top;
}

.talk-card-play {
  position: absolute;
  display: grid;
  place-items: center;
  inset: auto auto 12px 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--amber-2);
  background: #101212;
}

.talk-card-play::after {
  content: "";
  margin-left: 2px;
  border-block: 5px solid transparent;
  border-inline-start: 8px solid currentColor;
}

.talk-card-title { padding: 14px 16px 18px; }
.talk-card-year { color: var(--amber-2); font-weight: 600; }

@media (max-width: 960px) {
  .talk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .talk-grid { grid-template-columns: minmax(0, 1fr); }
}

.article-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.article-mosaic > li {
  display: grid;
  min-width: 0;
}

.article-mosaic a {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, #152322, #111414);
  color: inherit;
  text-decoration: none;
}

.article-mosaic a:hover { border-color: var(--amber); }
.article-mosaic a:focus-visible {
  outline: 2px solid var(--amber-2);
  outline-offset: 4px;
}

.article-mosaic img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  flex: none;
  object-fit: contain;
  background: #101515;
}

.article-mosaic-label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  padding: 10px 12px;
  font-size: .875rem;
  line-height: 1.35;
  font-weight: 600;
}

.article-mosaic-label > :last-child { color: var(--amber-2); }

@media (max-width: 960px) {
  .article-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .article-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 360px) {
  .article-mosaic { grid-template-columns: minmax(0, 1fr); }
}

.about-grid:has(.about-companies) { row-gap: 26px; }

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.about-companies ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.about-companies img {
  display: block;
  width: 100%;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.about-companies .company-logo-outlined {
  border: 1px solid #fff;
  border-radius: 3px;
  width: min(100%, 64px);
  aspect-ratio: 1;
  justify-self: center;
  background: transparent;
}

.about-companies .company-logo-outlined img { height: auto; }

@media (max-width: 480px) {
  .about-companies ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
