/* Tommy Roch — illustrated business card
   Warm paper, ink text, one sun-coloured accent. */

:root {
  --paper: #F6F2EC;
  --paper-2: #EFE9E1;
  --ink: #1B1916;
  --muted: #6E675E;
  --line: #E1DAD0;
  --sun: #D9702A;
  --sage: #6E8E68;
  --sky: #2F6E8C;
  --lilac: #8A6FB5;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--ink) 30%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--sun); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
strong { font-weight: 600; }
button { font: inherit; color: inherit; }

/* ---------- layout ---------- */
.top, main, .bottom {
  width: min(var(--maxw), 100% - 32px);
  margin-inline: auto;
}
main > section { padding-block: clamp(48px, 9vw, 112px); border-top: 1px solid var(--line); }
main > section:first-child { border-top: 0; }

/* ---------- header ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 12px;
  font-size: 17px;
}
.who { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; }
.who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(110,142,104,.55); } 100% { box-shadow: 0 0 0 10px rgba(110,142,104,0); } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(4px, 1.5vw, 16px) !important; }
/* hero image (optional): sits to the right of the headline on wide screens, below it on phones */
.hero:has(.hero-art) { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: auto auto auto auto auto; gap: 0 clamp(24px, 4vw, 56px); align-items: start; }
.hero:has(.hero-art) h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: none; }
.hero:has(.hero-art) h1 br { display: none; }
.hero:has(.hero-art) > :not(.hero-art) { grid-column: 1; }
/* the summary list runs under both columns, in two columns */
.hero:has(.hero-art) .facts { grid-column: 1 / -1; max-width: none; }
.hero:has(.hero-art) .facts { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: 8px clamp(24px, 4vw, 56px); }
.hero-art { grid-column: 2; grid-row: 1 / span 3; margin: 0; align-self: center; position: relative; }
.hero-art figcaption {
  position: absolute; right: 14px; bottom: 12px; padding: 4px 10px; border-radius: 999px;
  font-family: var(--display); font-style: italic; font-size: 13px; color: #fff;
  background: rgba(27,25,22,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transform: rotate(1.5deg); transform-origin: 100% 100%;
}
.hero-art figcaption a { color: inherit; text-decoration-color: rgba(255,255,255,.5); }
.hero-art figcaption a:hover { text-decoration-color: #fff; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 50px rgba(27,25,22,.14); transform: rotate(1.5deg); }
/* journey line: Belgium → San Francisco → Portugal */
.journey {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
  font-family: var(--display); font-style: italic; font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted); font-variation-settings: "SOFT" 80;
}
.journey span + span::before { content: "→"; margin-right: 12px; color: var(--sun); font-style: normal; }
.journey .here { color: var(--ink); position: relative; }
.journey .here::after {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 10px; vertical-align: middle;
  border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 rgba(110,142,104,.5);
  animation: pulse 2.4s ease-out infinite;
}

.hero h1 {
  font-size: clamp(2.3rem, 6.2vw, 4.6rem);
  line-height: 1.04;
  font-variation-settings: "SOFT" 60, "opsz" 144;
  max-width: 14ch;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.dance { display: inline-block; font-style: italic; transform-origin: 50% 100%; animation: sway 3.2s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
.underline { position: relative; white-space: nowrap; }
.underline::after {
  content: ""; position: absolute; left: -1%; right: -1%; bottom: -0.06em; height: 0.28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 40 4, 90 18, 130 9 S 185 8, 197 12' fill='none' stroke='%23D9702A' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 50ch; color: var(--ink); }
.lede p + p { margin-top: .7em; }
.lede a { text-decoration-color: color-mix(in srgb, var(--ink) 25%, transparent); }
.lede a:hover { text-decoration-color: var(--sun); }
.facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 8px 28px; color: var(--muted); font-size: 15px; line-height: 1.45; max-width: 60ch; }
.facts li { padding-left: 1.3em; text-indent: -1.3em; }
.facts li::before { content: "✦ "; color: var(--sun); }
.facts a { text-decoration-color: color-mix(in srgb, var(--ink) 18%, transparent); transition: color .15s, text-decoration-color .15s; }
.facts a:hover { color: var(--ink); text-decoration-color: var(--sun); }
[id] { scroll-margin-top: 24px; }

/* ---------- section titles ---------- */
.eyebrow {
  font-family: var(--text); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: clamp(24px, 4vw, 40px);
}
.tag { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

/* ---------- lands ---------- */
.lands { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.lands .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.land { display: grid; grid-template-rows: subgrid; grid-row: span 4; gap: 20px; align-items: start; }
.land .photo {
  display: block; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 2px rgba(27,25,22,.08), 0 18px 40px -22px rgba(27,25,22,.45);
  background: #fff; padding: 10px; padding-bottom: 10px;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s;
}
.land .photo img { border-radius: calc(var(--radius) - 8px); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.tilt-left .photo { transform: rotate(-1.4deg); }
.tilt-right .photo { transform: rotate(1.2deg); }
.land .photo:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 1px 2px rgba(27,25,22,.08), 0 26px 50px -22px rgba(27,25,22,.5); }
.land h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 10px; font-variation-settings: "SOFT" 40, "opsz" 72; }
.land-body p + p, .land-body p + .cta, .land-body p + .cta-row { margin-top: 16px; }
.land em { font-style: italic; font-family: var(--display); }
.tagline { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--ink); font-variation-settings: "SOFT" 80; margin: -4px 0 14px !important; }

.cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 500; font-size: 15px;
  transition: background .2s, transform .2s;
}
.cta:hover { background: var(--sun); transform: translateY(-1px); }
.cta span { transition: transform .2s; }
.cta:hover span { transform: translateX(3px); }
.cta.small { padding: 8px 14px; font-size: 14px; background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.cta.small:hover { background: var(--ink); color: var(--paper); }
.cta.whatsapp { background: #fff; color: #128C4A; border: 1px solid #25D366; align-self: flex-start; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cta.whatsapp:hover { background: #25D366; color: #fff; transform: translateY(-1px); }

/* events on each land */
.events-title { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 12px; }
.events { list-style: none; margin: -8px 0 0; padding: 0; display: grid; grid-template-rows: 1fr 1fr; gap: 12px; align-self: stretch; }
.event {
  display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: stretch;
  background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: 0 1px 2px rgba(27,25,22,.06);
}
.event img { width: 110px; height: 100%; min-height: 140px; object-fit: cover; border-radius: calc(var(--radius) - 8px); }
.event-body { padding: 4px 4px 4px 0; display: flex; flex-direction: column; gap: 8px; }
.event-body .tag { margin-bottom: 0; }
.event-body h4 { font-size: 1.35rem; }
.event-body p { font-size: 15px; }
.event-body .cta { margin-top: auto; align-self: flex-start; }

/* ---------- lists ---------- */
.list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.list li { background: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 2px rgba(27,25,22,.06); }
.list .cta { align-self: flex-start; margin-top: auto; }
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row-head .title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.row-head .logo { width: 32px; height: 32px; flex: none; }
.row-head .logo.letter { font-size: 15px; color: var(--muted); background: #fff; border-color: var(--line); }
.row-head h3 { font-size: 1.4rem; }
.row-head h3 a { text-decoration: none; }
.row-head h3 a:hover { color: var(--sun); }
.aka { font-family: var(--text); font-weight: 400; font-size: 14px; color: var(--muted); margin-left: 6px; }

.chip {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; white-space: nowrap; line-height: 1.2; vertical-align: middle;
}
.chip.active { background: var(--sky); color: #fff; }
.chip.exit   { background: var(--lilac); color: #fff; }
.chip.sold   { background: color-mix(in srgb, var(--sky) 16%, #fff);  color: #1F4D63; }
.chip.closed { background: var(--paper-2); color: var(--muted); }
.chip.art    { background: color-mix(in srgb, var(--lilac) 18%, #fff); color: #5B4484; }
.chip.paused { background: var(--paper-2); color: var(--muted); }

/* ---------- things invested in ---------- */
.fund .intro { max-width: 56ch; color: var(--muted); margin-bottom: 28px; margin-top: -16px; }
.group-title { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 24px 0 10px; }
.intro + .group-title { margin-top: 0; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.inv {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  height: 100%; min-height: 58px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  color: inherit; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.inv .name { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv .meta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.logo { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.logo.letter { display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--sky); background: color-mix(in srgb, var(--sky) 12%, #fff); border-color: color-mix(in srgb, var(--sky) 30%, #fff); }
a.inv { border-color: color-mix(in srgb, var(--sky) 35%, var(--line)); cursor: pointer; }
a.inv .name { color: var(--sky); }
a.inv:hover { transform: translateY(-2px); border-color: var(--sky); box-shadow: 0 10px 24px -14px rgba(47,110,140,.6); }
a.inv:hover .name { text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 3px; }
a.inv:has(.chip.exit) { border-color: color-mix(in srgb, var(--lilac) 35%, var(--line)); }
a.inv:has(.chip.exit) .name { color: #5B4484; }
a.inv:has(.chip.exit):hover { border-color: var(--lilac); box-shadow: 0 10px 24px -14px rgba(138,111,181,.6); }
a.inv:has(.chip.exit):hover .name { text-decoration-color: var(--lilac); }
div.inv { background: var(--paper-2); border-color: transparent; }
div.inv:has(.chip.closed) .logo { filter: grayscale(1); opacity: .7; }
div.inv .logo.letter { color: var(--muted); background: #fff; border-color: var(--line); }

/* ---------- follow ---------- */
.monkey { display: inline-block; font-size: 1.5em; vertical-align: -0.2em; transform-origin: 50% 0; animation: swing 2.6s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg); } }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.column { --brand: var(--ink); }
.column.linkedin { --brand: #0A66C2; }
.column.instagram { --brand: #D62976; }
.column h3 { font-size: 1.5rem; }
.hint { color: var(--muted); margin: 4px 0 18px; }
.social-head {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 18px;
  padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.social-head:hover { border-color: var(--brand); transform: translateY(-1px); }
.social-logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; }
.social-name { display: flex; flex-direction: column; line-height: 1.2; }
.social-platform { font-weight: 600; font-size: 15px; }
.social-handle { font-size: 13px; color: var(--muted); }
.posts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-auto-rows: 1fr; gap: 10px; }
.posts li a { height: 100%; }
.posts li a {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center;
  padding: 12px; background: #fff; border-radius: 16px; text-decoration: none;
  box-shadow: 0 1px 2px rgba(27,25,22,.06); border-left: 3px solid var(--brand); transition: transform .2s;
}
.posts li a:hover { transform: translateY(-2px); }
.posts img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; }
.post-body { min-width: 0; }
.posts time { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.posts .excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.posts .empty { color: var(--muted); font-size: 15px; padding: 16px 18px; border: 1px dashed var(--line); border-radius: 16px; }

/* ---------- footer ---------- */
.bottom { border-top: 1px solid var(--line); padding-block: 48px 64px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sign { font-family: var(--display); font-size: 1.25rem; line-height: 1.3; }
.signature { display: block; width: 190px; height: auto; margin-top: 10px; }
.bottom nav { display: flex; gap: 20px; font-size: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .hero:has(.hero-art) { display: block; }
  .hero-art { margin: 0 0 28px; }
  .hero-art img { aspect-ratio: auto; transform: none; }
  .hero-art figcaption { transform: none; }
  .hero:has(.hero-art) .facts { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .who img { width: 52px; height: 52px; }
  .top { font-size: 16px; }
  .journey { flex-direction: column; align-items: flex-start; gap: 4px; }
  body { font-size: 16px; }
  .lands, .list, .columns { grid-template-columns: 1fr; }
  .tilt-left .photo, .tilt-right .photo { transform: rotate(0); }
  .event { grid-template-columns: 88px 1fr; gap: 14px; }
  .event img { width: 88px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inv { grid-template-columns: 28px minmax(0, 1fr); row-gap: 2px; min-height: 0; }
  .inv .meta { grid-column: 2; }
  .inv .name { white-space: normal; }
  .where { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .dance, .monkey, .journey .here::after { animation: none; }
  html { scroll-behavior: auto; }
}
