/* Tangerine dark: the site's single, fixed colour system. */
:root {
  color-scheme: dark;
  --ink: #202024;
  --paper: #fffdf8;
  --paper-2: #f0ece3;
  --accent: #fd9901;
  --on-accent: var(--ink);
  --accent-line: var(--accent);
  --surface-line: var(--ink);
  --control-line: var(--paper-2);
  --muted-surface: var(--ink);
  --muted-ink: var(--ink);
  --shadow: var(--ink);

  --bg: var(--ink);
  --fg: var(--paper);
  --muted: var(--paper-2);
  --line: var(--paper-2);
  --accent-ink: var(--accent);
  --interactive-hover: var(--accent);
  --projects-bg: var(--paper-2);
  --projects-fg: var(--ink);
  --projects-muted: var(--muted-surface);
  --speaker-bg: var(--accent);
  --speaker-fg: var(--ink);
  --speaker-muted: var(--muted-ink);

  --max: 1240px;
  --gutter: clamp(22px, 5vw, 80px);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
::selection { background: var(--accent); color: var(--ink); }
.contact-intro ::selection, .speaker-strip ::selection, .project-card.bosmi ::selection, .identity-card ::selection { background: var(--paper); color: var(--ink); }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--max)); margin-inline: auto; }
.header { min-height: 106px; display: flex; align-items: center; gap: 40px; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 13px; align-items: center; padding: 6px 8px; margin: -6px -8px; font-size: 16px; font-weight: 600; line-height: 1.35; letter-spacing: -.03em; border-radius: 4px; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.brand:hover { background: var(--paper); color: var(--ink); transform: translateY(-3px); box-shadow: 4px 5px 0 var(--accent); }
.brand:hover .brand-sub { color: var(--ink); }
.brand-sub { display: block; font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: .01em; margin-top: 3px; }
.header nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; }
.header nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 10px; border-radius: 3px; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.header nav a:hover { background: var(--paper); color: var(--ink); transform: translateY(-3px); box-shadow: 4px 5px 0 var(--accent); }
.mobile-menu { display: none; }
.languages { display: flex; gap: 2px; font: 12px var(--mono); border: 1px solid var(--line); padding: 4px; border-radius: 30px; }
.languages a { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 8px; border-radius: 50%; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.languages a:hover { background: var(--paper); color: var(--ink); transform: translateY(-3px); box-shadow: 3px 4px 0 var(--accent); }
.languages [aria-current] { background: var(--accent); color: var(--ink); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 335px; column-gap: 70px; padding-top: 66px; }
.eyebrow, .small-label { display: block; font: 12px/1.6 var(--mono); letter-spacing: .075em; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); letter-spacing: .035em; }
.location-dot { width: 7px; height: 7px; background: var(--accent-ink); border-radius: 50%; flex-shrink: 0; }
.location-flag { font-size: 15px; line-height: 1; margin-left: -4px; }
h1 { font-size: clamp(75px, 8.5vw, 124px); font-weight: 500; letter-spacing: -.075em; line-height: .99; margin: 31px 0 31px; }
h1 span { font-family: var(--sans); font-weight: 400; font-style: normal; color: var(--accent); letter-spacing: -.075em; }
.hero-copy { max-width: 540px; }
.intro { margin: 0 0 12px; font-size: 20px; line-height: 1.5; letter-spacing: -.015em; }
.muted { margin: 0; color: var(--muted); font-size: 16px; max-width: 525px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; border: 1px solid var(--ink); border-radius: 3px; padding: 14px 17px 14px 23px; background: var(--accent); color: var(--ink); font-weight: 600; font-size: 14px; margin-top: 27px; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.button span { display: grid; place-content: center; border-left: 1px solid var(--accent-line); padding-left: 18px; font-size: 24px; line-height: 1.15; }
.button:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); transform: translateY(-4px); box-shadow: 5px 7px 0 var(--accent); }
.button:hover span { border-color: var(--line); }
.identity { align-self: center; margin: 17px 0 0; min-width: 0; }
.identity-card { padding: 17px; background: var(--accent); color: var(--ink); transform: rotate(3deg); box-shadow: 8px 10px 0 var(--paper-2); border: 1px solid var(--ink); border-radius: 4px; }
.identity-top { font: 11px var(--mono); text-transform: uppercase; letter-spacing: .03em; }
.identity-photo { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 4.7; margin: 11px 0 15px; overflow: hidden; border: 2px solid var(--ink); background-color: var(--ink); background-image: url("sebastian-image-hero.jpg?v=2"); background-position: center 38%; background-size: cover; }
.identity-initials { color: var(--paper-2); opacity: .22; font-size: 132px; letter-spacing: -.11em; line-height: 1; font-weight: 600; transform: translateX(-4px); }
.identity-initials span { font-family: var(--sans); font-weight: 400; }
.photo-label { position: absolute; right: 17px; bottom: 14px; color: var(--accent); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.identity-photo .identity-initials, .identity-photo .photo-label { display: none; }
.identity-name { color: var(--ink); font-size: 28px; letter-spacing: -.04em; line-height: 1.05; font-weight: 400; margin-bottom: 18px; }
.identity-name strong { color: var(--ink); font-weight: 600; }
.identity-place { color: var(--ink); border-top: 1px solid var(--accent-line); padding-top: 13px; font: 12px var(--mono); }
.hero-foot { grid-column: 1 / -1; margin-top: 58px; padding: 21px 0; display: flex; align-items: center; gap: 40px; border-top: 1px solid var(--line); color: var(--muted); font: 12px var(--mono); }
.hero-foot > span { display: flex; align-items: center; gap: 12px; }
.hero-foot > span::before { content: '+'; color: var(--accent-ink); font-size: 18px; }
.hero-foot a { margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center; padding-bottom: 4px; border-radius: 50%; font: 25px var(--sans); color: var(--accent-ink); transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.hero-foot a:hover { background: var(--paper); color: var(--ink); transform: translateY(-3px); box-shadow: 4px 5px 0 var(--accent); }
.section { padding-block: 95px; }
h2 { font-size: clamp(39px, 4.7vw, 66px); font-weight: 500; letter-spacing: -.055em; line-height: 1.05; margin: 20px 0 22px; }
.services-section { background: var(--paper-2); color: var(--ink); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; margin-bottom: 50px; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { margin-bottom: 0; max-width: 560px; }
.section-heading > p { max-width: 420px; margin: 0 0 3px; color: var(--muted-surface); font-size: 17px; }
.services-grid { border-top: 1px solid var(--surface-line); }
.service { display: grid; grid-template-columns: 45px 1fr 1.05fr; gap: 30px; align-items: start; padding: 29px 0; border-bottom: 1px solid var(--surface-line); }
.number { font: 12px var(--mono); padding-top: 10px; color: var(--muted-surface); }
.service h3 { font-size: 29px; line-height: 1.15; font-weight: 500; letter-spacing: -.04em; margin: 3px 0; }
.service p { margin: 0; color: var(--muted-surface); font-size: 16px; max-width: 460px; }
.service-arrow { display: none; }
.method { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; padding: 32px 0 0 75px; }
.method .small-label { font-size: 11px; }
.method p { font-size: 14px; margin: 0; color: var(--muted-surface); }
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: 95px; }
.about h2 { font-size: clamp(39px, 4.3vw, 59px); }
.about h2 span { color: var(--accent); font-family: var(--sans); font-style: normal; font-weight: 400; }
.journey { margin-top: 50px; max-width: 370px; padding-top: 23px; border-top: 1px solid var(--line); }
.journey > span { font: 11px var(--mono); color: var(--muted); letter-spacing: .04em; }
.journey p { font-size: 14px; color: var(--muted); margin: 16px 0 6px; }
.journey strong { font-size: 26px; font-weight: 400; letter-spacing: -.04em; }
.journey strong::before { content: '↳'; margin-right: 12px; color: var(--accent-ink); }
.journey-flag { font-size: .72em; margin-right: 8px; }
.about-photo { width: min(100%, 370px); aspect-ratio: 4 / 5.25; margin: 42px 0 0; padding: 19px 12px 48px; overflow: hidden; border: 1px solid var(--ink); border-radius: 7px; background: var(--accent); box-shadow: 7px 8px 0 var(--paper-2); transform: rotate(-2deg); }
.about-photo-image { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border: 2px solid var(--ink); border-radius: 3px; background: url("about-me-picture.jpg?v=3") center 38% / cover no-repeat; }
.about-copy { align-self: center; padding-top: 0; }
.about-copy p { color: var(--muted); margin: 0 0 21px; font-size: 16px; }
.about-copy .large-copy { font-size: 24px; line-height: 1.45; color: var(--fg); letter-spacing: -.02em; }
.text-link { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; transition: background .2s, color .2s; }
.text-link:hover { background: var(--interactive-hover); color: var(--ink); }
.tech { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0; }
.tech span { font: 12px var(--mono); border: 1px solid var(--line); border-radius: 20px; padding: 8px 14px; }
.odoo { display: block; margin-top: 30px; padding: 26px; border: 1px solid var(--ink); border-top: 5px solid var(--ink); border-radius: 3px; background: var(--paper); color: var(--ink); transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.odoo strong { font-size: 15px; font-weight: 600; }
.odoo p { margin: 9px 0 0; font-size: 14px; color: var(--muted-surface); }
.odoo p span { color: var(--accent-ink); white-space: nowrap; }
.odoo:hover { background: var(--accent); transform: translateY(-4px); box-shadow: 5px 7px 0 var(--paper-2); }
.odoo:hover p, .odoo:hover p span { color: var(--ink); }
.contact { background: var(--accent); color: var(--on-accent); padding-block: 85px; }
.contact > .wrap { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: center; }
.contact h2 { font-size: clamp(49px, 7.5vw, 102px); max-width: 870px; margin: 25px 0; letter-spacing: -.065em; }
.contact p { max-width: 540px; font-size: 18px; color: var(--muted-ink); margin: 0 0 26px; }
.contact-form { width: 100%; margin-top: 7px; color: var(--ink); }
.contact-form label { display: grid; gap: 8px; font: 12px/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--ink); border-radius: 2px; background: var(--paper); color: var(--ink); padding: 13px 14px; font: 16px/1.5 var(--sans); letter-spacing: normal; text-transform: none; resize: vertical; transition: background .2s, transform .2s, box-shadow .2s; }
.contact-form textarea { min-height: 142px; }
.contact-form input:hover, .contact-form textarea:hover, .contact-form input:focus, .contact-form textarea:focus { background: #fff; transform: translateY(-3px); box-shadow: 4px 5px 0 var(--ink); }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: none; }
.contact-form-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 18px; margin-top: 21px; }
.contact-recaptcha:empty { display: none; }
.contact-submit { display: inline-flex; align-items: center; justify-content: space-between; gap: 27px; min-height: 52px; border: 1px solid var(--ink); border-radius: 3px; padding: 11px 15px 11px 20px; background: var(--ink); color: var(--paper); font: 600 14px var(--sans); cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.contact-submit span { font-size: 22px; line-height: 1; }
.contact-submit:hover:not(:disabled) { background: var(--paper); color: var(--ink); transform: translateY(-4px); box-shadow: 5px 7px 0 var(--ink); }
.contact-submit:disabled { cursor: wait; opacity: .6; }
.contact-status { max-width: 100%; margin: 0 !important; font: 13px/1.5 var(--sans) !important; }
.contact-honeypot { position: absolute; left: -9999px; }
.email { color: var(--ink); display: inline-flex; gap: 22px; align-items: center; padding: 8px 10px; margin-left: -10px; font-size: clamp(17px, 2.2vw, 27px); letter-spacing: -.035em; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.email:hover { background: var(--paper); color: var(--ink); transform: translateY(-4px); box-shadow: 5px 7px 0 var(--ink); }
.email span { font-size: 1.35em; transition: transform .2s; }
.email:hover span { transform: translate(3px,-3px); }
.contact-reassurance { margin: 15px 0 0 !important; font: 12px/1.5 var(--mono) !important; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 30px; font-size: 12px; color: var(--muted); }
.footer > div { display: flex; gap: 22px; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; padding: 5px 7px; border-radius: 3px; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.footer a:hover { background: var(--paper); color: var(--ink); transform: translateY(-3px); box-shadow: 4px 5px 0 var(--accent); }
.skip { position: fixed; z-index: 10; top: -100px; left: 20px; padding: 12px; background: var(--accent); color: var(--ink); }
.skip:focus { top: 20px; }
@media (min-width: 1500px) {
  .hero { padding-top: 85px; column-gap: 100px; grid-template-columns: minmax(0, 1fr) 365px; }
  .hero-foot { margin-top: 80px; }
}
@media (max-width: 1050px) {
  .hero { grid-template-columns: minmax(0, 1fr) 280px; column-gap: 40px; }
  h1 { font-size: 89px; }
  .identity-card { padding: 21px; }
  .identity-initials { font-size: 112px; }
  .identity-name { font-size: 29px; }
  .hero .eyebrow { font-size: 10px; }
  .hero-foot { gap: 25px; }
  .hero-foot > span { gap: 7px; }
  .header { gap: 25px; }
  .header nav { gap: 20px; }
  .about { gap: 55px; }
  .section-heading { gap: 0 45px; }
}
@media (max-width: 780px) {
  .header { flex-wrap: nowrap; padding: 20px 0; gap: 12px; }
  .header > nav { display: none; }
  .mobile-menu { display: block; position: relative; order: 3; }
  .mobile-menu summary { width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; list-style: none; border-radius: 3px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::before { content: '☰'; font-size: 23px; line-height: 1; }
  .mobile-menu[open] summary { background: var(--paper); color: var(--ink); box-shadow: 4px 5px 0 var(--accent); }
  .mobile-menu nav { position: absolute; z-index: 5; top: calc(100% + 12px); right: 0; display: grid; min-width: 175px; padding: 8px; border: 1px solid var(--ink); border-radius: 3px; background: var(--paper); box-shadow: 5px 7px 0 var(--accent); }
  .mobile-menu nav a { min-height: 44px; display: flex; align-items: center; padding: 8px 10px; color: var(--ink); border-radius: 3px; }
  .mobile-menu nav a:hover { background: var(--accent); }
  .languages { flex-shrink: 0; order: 2; margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr) 225px; gap: 30px; padding-top: 45px; }
  h1 { font-size: 73px; }
  .hero .eyebrow { font-size: 10px; display: block; max-width: 260px; }
  .location-dot { display: none; }
  .location-flag { margin-left: 0; }
  .intro { font-size: 18px; }
  .muted { font-size: 15px; }
  .button { gap: 13px; padding-left: 17px; }
  .identity-initials { font-size: 84px; }
  .identity-name { font-size: 27px; }
  .identity-top { font-size: 9px; }
  .identity-place { font-size: 10px; }
  .hero-foot { margin-top: 12px; font-size: 10px; gap: 15px; }
  .hero-foot > span:last-of-type { display: flex; }
  .section { padding-block: 65px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .section-heading h2 { margin-top: 0; }
  .section-heading > p { max-width: 530px; }
  .service { grid-template-columns: 25px 1fr 1.1fr; gap: 20px; }
  .service h3 { font-size: 25px; }
  .method { padding-left: 45px; gap: 25px; }
  .about { grid-template-columns: 1fr 1.2fr; gap: 35px; }
  .about h2 { font-size: 39px; }
  .contact > .wrap { gap: 45px; }
  .contact h2 { max-width: 600px; }
}
@media (max-width: 580px) {
  .hero { grid-template-columns: 1fr; padding-top: 35px; gap: 0; }
  .hero .eyebrow { max-width: none; font-size: 11px; }
  h1 { font-size: clamp(66px, 16.8vw, 96px); margin: 28px 0 25px; }
  .hero-copy { max-width: none; }
  .intro { font-size: 19px; }
  .button { margin-top: 24px; padding: 14px 18px; gap: 22px; }
  .identity { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 29px; margin-top: 46px; margin-bottom: 30px; }
  .identity-card { padding: 15px; box-shadow: 6px 7px 0 var(--paper-2); }
  .identity-top { font-size: 8px; line-height: 1.4; }
  .identity-initials { font-size: 64px; }
  .identity-name { font-size: 23px; margin-bottom: 13px; }
  .identity-place { font-size: 9px; padding-top: 8px; }
  .hero-foot { margin-top: 10px; flex-wrap: wrap; gap: 10px 20px; }
  .hero-foot > span { font-size: 10px; }
  .hero-foot a { font-size: 22px; }
  .section { padding-block: 56px; }
  h2 { font-size: 42px; }
  .section-heading { gap: 18px; }
  .section-heading > p { font-size: 16px; }
  .service { grid-template-columns: 26px 1fr; gap: 13px; padding-block: 25px; }
  .service h3 { font-size: 28px; }
  .service p { grid-column: 2; font-size: 16px; }
  .number { padding-top: 9px; }
  .method { grid-template-columns: 1fr; padding-left: 0; gap: 15px; }
  .about { grid-template-columns: 1fr; gap: 20px; }
  .about h2 { font-size: 48px; }
  .journey { margin-top: 28px; }
  .about-photo { margin-top: 32px; max-width: 370px; }
  .about-copy { padding-top: 15px; }
  .about-copy .large-copy { font-size: 23px; }
  .contact > .wrap { display: block; }
  .contact h2 { font-size: 56px; }
  .contact p { font-size: 16px; }
  .contact-form { margin-top: 34px; }
  .contact-form-grid { grid-template-columns: 1fr; gap: 18px; }
  .contact-form-bottom { align-items: flex-start; }
  .email { font-size: clamp(16px, 4.5vw, 26px); gap: 10px; }
  .footer { padding-block: 25px; font-size: 11px; }
  .footer { justify-content: center; text-align: center; }
  .footer > div { order: 1; width: 100%; justify-content: center; flex-wrap: wrap; gap: 2px 10px; }
  .footer > span { order: 2; width: 100%; }
}
@media (max-width: 360px) {
  .header { min-height: 76px; flex-wrap: nowrap; gap: 4px; padding: 14px 0; }
  .header > .brand { order: 1; font-size: 14px; }
  .header > .brand .brand-sub { display: none; }
  .languages { display: flex; flex-shrink: 0; order: 2; margin-left: auto; padding: 2px; gap: 0; }
  .languages a { min-width: 36px; min-height: 40px; }
  .identity { grid-template-columns: 1fr; gap: 24px; }
  .identity-card { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Speaking credential and independent projects */
.speaker-strip { background: var(--speaker-bg); color: var(--speaker-fg); border-block: 1px solid var(--accent-line); transition: background .2s, color .2s; }
.speaker-strip:hover { background: var(--paper); color: var(--ink); }
.speaker-strip:hover .speaker-link .small-label, .speaker-strip:hover .speaker-link strong, .speaker-strip:hover .speaker-link p, .speaker-strip:hover .speaker-cta { color: var(--ink); }
.speaker-strip:hover .speaker-cta { border-color: var(--ink); }
.speaker-link { display: grid; grid-template-columns: 1.15fr 1.3fr auto; align-items: center; gap: 35px; padding-block: 27px; }
.speaker-link .small-label { color: var(--ink); font-size: 12px; }
.speaker-link strong { display: block; font-weight: 400; font-size: 14px; margin-top: 6px; }
.speaker-link p { color: var(--speaker-muted); font-size: 14px; line-height: 1.6; margin: 0; }
.speaker-cta { color: var(--ink); font-size: 13px; white-space: nowrap; border-bottom: 1px solid var(--accent-line); }
.speaker-link:hover .speaker-cta { border-color: var(--ink); }
.projects-section { background: var(--projects-bg); color: var(--projects-fg); }
.projects-section .section-heading > p { color: var(--projects-muted); }
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.project-card { color: var(--ink); display: flex; flex-direction: column; padding: 35px; border: 1px solid var(--ink); background: var(--paper); border-radius: 3px; transition: background .2s, transform .2s, box-shadow .2s; }
.project-card.bosmi { background: var(--accent); color: var(--on-accent); border-top: 5px solid var(--ink); }
.project-card.nutriyai { background: var(--paper); border-top: 5px solid var(--ink); }
.project-card .small-label { font-size: 11px; }
.project-card h3 { font-size: clamp(30px, 3.6vw, 49px); line-height: 1.08; font-weight: 500; letter-spacing: -.055em; max-width: 390px; margin: 48px 0 24px; }
.project-card p { font-size: 16px; margin: 0 0 35px; max-width: 435px; }
.project-cta { font-weight: 600; display: flex; justify-content: space-between; align-items: center; margin-top: auto; border-top: 1px solid var(--surface-line); padding-top: 18px; font-size: 14px; }
.project-cta > span { font-size: 27px; line-height: 1; }
.project-card:hover { transform: translateY(-4px); box-shadow: 5px 7px 0 var(--ink); }
.project-card.bosmi:hover { background: var(--paper); }
.project-card.nutriyai:hover { background: var(--accent); }
.project-detail { padding-block: 50px 80px; }
.back-link { display: inline-block; color: var(--accent-ink); font-size: 14px; margin: -8px 0 47px -10px; padding: 8px 10px; border-radius: 3px; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.back-link:hover { background: var(--paper); color: var(--ink); transform: translateY(-3px); box-shadow: 4px 5px 0 var(--accent); }
.project-detail h1 { font-size: clamp(48px, 7.5vw, 99px); line-height: 1.03; max-width: 950px; margin-top: 24px; }
.project-lead { font-size: clamp(19px, 2.4vw, 27px); color: var(--muted); max-width: 780px; line-height: 1.5; }
.project-body { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }
.project-body h2 { font-size: 35px; }
.project-body p, .project-areas { color: var(--muted); font-size: 17px; }
.project-areas { padding-left: 20px; }
.project-areas li { margin-block: 12px; padding-left: 6px; }
.project-areas li::marker { color: var(--accent-ink); }
.project-note { font: 12px/1.6 var(--mono); margin-top: 60px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }

/* Legal and error pages */
.legal { flex: 1; width: 100%; max-width: 780px; padding-block: 70px 90px; }
.legal h1, .not-found h1 { font-size: clamp(54px, 7vw, 94px); margin-top: 22px; }
.legal section { padding: 23px 0; border-top: 1px solid var(--line); }
.legal section:first-of-type { margin-top: 48px; }
.legal h2 { font-size: 26px; margin: 0 0 9px; }
.legal p { color: var(--muted); margin: 0; }
.legal-updated { margin-top: 32px !important; font: 12px var(--mono); }
.not-found { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; max-width: 900px; padding-block: 80px; }
.not-found > p:not(.eyebrow) { max-width: 440px; color: var(--muted); font-size: 18px; }
.not-found .button { width: fit-content; }


@media (max-width: 900px) {
  .speaker-link { grid-template-columns: 1fr 1.1fr; gap: 18px 30px; }
  .speaker-cta { justify-self: start; }
  .project-card { padding: 27px; }
  .project-body { gap: 40px; }
}
@media (max-width: 580px) {
  .speaker-link { grid-template-columns: 1fr; padding-block: 25px; gap: 15px; }
  .speaker-link p { max-width: 440px; }
  .projects-grid { grid-template-columns: 1fr; gap: 20px; }
  .project-card h3 { font-size: 39px; margin-top: 35px; }
  .project-card { padding: 27px; }
  .project-body { grid-template-columns: 1fr; gap: 15px; margin-top: 35px; }
  .project-detail { padding-block: 35px 45px; }
  .project-detail h1 { font-size: 49px; overflow-wrap: anywhere; }
  .back-link { margin-bottom: 35px; }
}
