/* alexisdick.com — styles rebuilt to match the original Solo design. */

:root {
  --navy: #003446;
  --green: #00453d;
  --cyan-bg: #e8ffff;
  --grey-bg: #f7f7f7;
  --dark-bg: #2d2d2d;
  --accent: #2dd4bf;
  --link: #00665b;
  --heading: #0a0a0a;
  --heading-light: #fcfcfc;
  --border: #89857b;
  --label: #726e64;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-brand: "Bricolage Grotesque", var(--font-body);

  --header-height: 133px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 28px;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 768px)  { .container { max-width: 768px; } }
@media (min-width: 992px)  { .container { max-width: 1008px; } }
@media (min-width: 1200px) { .container { max-width: 1188px; } }
@media (min-width: 1400px) { .container { max-width: 1400px; } }

.container.narrow { max-width: none; }
.container.narrow > * { max-width: 901px; margin-left: auto; margin-right: auto; }
@media (max-width: 991.98px) { .container.narrow > * { max-width: 480px; } }
@media (max-width: 767.98px) { .container.narrow > * { max-width: none; } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  color: #000;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.24);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.btn:hover { filter: brightness(0.93); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.btn-md { font-size: 16px; line-height: 22px; padding: 9px 20px; }
.btn-lg { font-size: 20px; line-height: 28px; padding: 12px 24px; }
.btn-block { display: block; width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: #fff;
}
.header-inner { max-width: 1440px; margin: 0 auto; padding: 0 44px; }
.header-top {
  display: flex;
  align-items: center;
  height: 72px;
}
.header-spacer { flex: 1; min-width: 24px; }
.brand {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 28.8px;
  line-height: 1.2;
  color: var(--heading-light);
  text-decoration: none;
}
.header-end { flex: 1; display: flex; justify-content: flex-end; align-items: center; }
.header-cta { white-space: nowrap; box-shadow: none; }
.header-divider { height: 1px; background: rgba(255, 255, 255, 0.2); margin: 0 -44px; }
.header-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 12px 0;
}
.header-nav a {
  display: block;
  padding: 4px 13px;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}
.header-nav a:hover { color: var(--accent); }
.header-nav .social-links { padding: 0 13px; }
.header-nav .social-links a { padding: 0; }

.social-links { display: flex; align-items: center; gap: 12px; }
.social-links a { display: flex; color: #fff; }
.social-links a:hover { color: var(--accent); }
.social-links svg { width: 24px; height: 24px; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; display: block; }

.mobile-menu {
  background: var(--navy);
  padding: 8px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: block; padding: 10px 0; color: #fff; text-decoration: none; }
.mobile-menu hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); margin: 12px 0; }
.mobile-menu .social-links { gap: 24px; padding: 8px 0; }

@media (max-width: 991.98px) {
  :root { --header-height: 72px; }
  .header-inner { padding: 0 16px 0 24px; }
  .header-cta, .header-divider, .header-nav { display: none; }
  .menu-toggle { display: block; }
}
@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
}

/* ---------- Shared section styles ---------- */

.section { position: relative; padding: 64px 0; }

.section-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 38.4px;
  line-height: 1.2;
  text-align: center;
  color: var(--heading);
}

.display {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.2;
  color: var(--heading);
}

.lead-text { font-size: 20px; line-height: 30px; }
.rich p { margin: 0 0 20px; }
.rich p:empty { min-height: 30px; }
.rich a { color: var(--link); }

@media (max-width: 767.98px) {
  .section { padding: 32px 0; }
  .section-title { font-size: 32.64px; }
  .display { font-size: 54.4px; }
}

/* ---------- Hero ---------- */

.hero { background: var(--cyan-bg); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.hero-text { padding-right: 24px; }
.hero-text .display { margin-bottom: 19.5px; }
.hero-text .rich { margin: 32px 0 20px; }
.hero-text .btn { margin-top: 12px; }
.hero-photo { padding-left: 24px; }
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 991.98px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-text, .hero-photo { padding: 0; }
}

/* ---------- Quote banners ---------- */

.banner { padding: 64px 0 120px; color: #fff; text-align: center; }
.banner-navy { background: var(--navy); }
.banner-green { background: var(--green); }
.banner .section-title { color: var(--heading-light); margin-bottom: 12px; }
.banner .rich p { margin: 0 0 13px; }
.banner .rich a { color: var(--accent); }

@media (max-width: 767.98px) {
  .banner { padding: 32px 0 64px; }
}

/* ---------- Writing (LinkedIn posts) ---------- */

.writing { background: var(--grey-bg); }
.writing .section-title { margin-bottom: 32px; }
.writing .li-writing { padding-left: 0; padding-right: 0; }

/* ---------- Services carousel ---------- */

.services { background: var(--dark-bg); color: #fff; }
.services .section-title { color: var(--heading-light); margin-bottom: 38px; }

.carousel { display: flex; align-items: center; gap: 8px; }
.carousel-track {
  flex: 1;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-arrow {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.carousel-arrow svg { width: 48px; height: 48px; }
.carousel-arrow.next svg { transform: scaleX(-1); }
.carousel-arrow:disabled { opacity: 0.3; cursor: default; }

.service-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border-radius: 32px;
  background: var(--dark-bg);
  box-shadow: inset 0 0 0 1px var(--border);
}
.service-image { aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 28.8px;
  line-height: 1.2;
  color: var(--heading-light);
}
.service-card p { padding-right: 24px; }
.service-action { margin-top: auto; }

.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 24px; min-height: 12px; }
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  opacity: 0.5;
  cursor: pointer;
}
.carousel-dots button[aria-current="true"] { width: 12px; height: 12px; background: #fff; opacity: 1; }

@media (max-width: 1199.98px) {
  .service-card { flex-basis: 100%; }
}
@media (max-width: 767.98px) {
  .carousel { display: block; }
  .carousel-arrow {
    position: absolute;
    bottom: 24px;
    width: 56px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
  }
  .carousel-arrow svg { width: 24px; height: 24px; }
  .carousel-arrow.prev { left: calc(50% - 120px); }
  .carousel-arrow.next { right: calc(50% - 120px); }
  .services { padding-bottom: 32px; }
  .carousel-arrow { bottom: 32px; }
  .carousel-dots { margin-top: 24px; min-height: 40px; }
}

/* ---------- Projects ---------- */

.projects { min-height: 768px; display: flex; align-items: center; overflow: hidden; }
.projects-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.projects .container { position: relative; }
.projects-text { max-width: 50%; }
.projects-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.2;
  color: var(--heading);
  margin-bottom: 13px;
}
.projects-text .rich { margin: 32px 0 20px; }
.projects-text .btn { margin-top: 12px; }

@media (max-width: 991.98px) {
  .projects { min-height: 0; }
  .projects-text { max-width: none; }
}
@media (max-width: 767.98px) {
  .projects { background: #fff; }
  .projects-bg { display: none; }
  .projects-title { font-size: 34.5px; }
}

/* ---------- Booking ---------- */

.booking { background: var(--grey-bg); padding: 88px 0 72px; text-align: center; }
.booking-text { margin-top: 12px; font-weight: 300; line-height: 24px; }
.booking .btn { margin: 24px 0; }

@media (max-width: 767.98px) {
  .booking { padding: 56px 0 48px; }
}

/* ---------- Contact ---------- */

.contact { background: var(--dark-bg); color: #fff; padding-bottom: 112px; }
.contact .section-title { color: var(--heading-light); margin-bottom: 16px; }
.contact-email { text-align: center; font-family: var(--font-heading); font-size: 24px; line-height: 1.2; }
.contact-email a { color: var(--accent); text-decoration: none; }
.contact-intro { text-align: center; margin-top: 16px; }
.contact-intro p { margin: 0 0 13px; }
.contact-intro a { color: var(--accent); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 44px;
  align-items: start;
}

.field { position: relative; margin-bottom: 16px; }
.field input,
.field textarea {
  display: block;
  width: 100%;
  height: 56px;
  padding: 23px 9.75px 7px;
  font: 16px/20px var(--font-body);
  color: #000;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.field textarea { height: auto; min-height: 100px; padding-top: 28px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.field label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 14px 10.75px;
  color: var(--label);
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform 0.15s ease;
  line-height: 28px;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: scale(0.8) translate(3px, -10px);
}
.contact-form .btn { margin-top: 6.5px; box-shadow: none; }
.form-status { margin-top: 12px; min-height: 28px; }
.contact-form .btn:disabled { opacity: 0.6; cursor: wait; }
.botcheck { display: none !important; }

.contact-map iframe {
  display: block;
  width: 100%;
  height: 368px;
  border: 0;
  border-radius: 4px;
}

@media (max-width: 991.98px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .contact { padding-bottom: 64px; }
  .contact-map iframe { height: 358px; }
}

/* ---------- 404 page ---------- */

.not-found { min-height: 60vh; display: flex; align-items: center; }
.not-found .rich { margin: 32px 0 20px; }

/* ---------- Jaguarete Kora page ---------- */

.game { background: var(--cyan-bg); }
/* Center the game and let it take its compact width, as it did on Solo. */
.jk-slot { display: flex; justify-content: center; align-items: flex-start; min-height: 480px; }
/* On Solo the game never had Inter available and rendered in the system font; keep that look. */
.jk-slot #jaguarete-kora { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.jk-fallback { align-self: center; text-align: center; }
.jk-fallback a { color: var(--link); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 64px 24px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
}
.site-footer .social-links { gap: 24px; }
.site-footer .social-links svg { width: 20px; height: 20px; }
.site-footer .copyright { margin-top: 25px; line-height: 24px; }

/* ---------- LinkedIn writing cards (from the original embed) ---------- */

.li-writing {
  --navy: #0b2e3a;
  --ink-soft: #4d6169;
  --card: #ffffff;
  --accent: #2fe1c7;
  --accent-ink: #06322c;
  --line: #e3e8e9;

  background: transparent;
  padding: 64px 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--navy);
}

.li-writing * {
  box-sizing: border-box;
}

.li-writing .li-container {
  max-width: 1100px;
  margin: 0 auto;
}

.li-writing .li-header {
  margin-bottom: 36px;
}

.li-writing .li-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0c8f7c;
  font-weight: 700;
  margin: 0 0 14px;
}

.li-writing .li-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.li-writing h2 {
  font-family: inherit;
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--navy);
}

.li-writing .li-subtitle {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 46ch;
}

.li-writing .li-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.li-writing .li-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 10px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(11, 46, 58, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.li-writing .li-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(11, 46, 58, 0.12);
}

.li-writing .li-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.li-writing .li-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: rgba(47, 225, 199, 0.18);
  border-radius: 4px;
  padding: 4px 9px;
}

.li-writing .li-card-title {
  font-family: inherit;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--navy);
}

.li-writing .li-card-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 20px;
  flex-grow: 1;
}

.li-writing .li-card-footer {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}

.li-writing .li-card-footer-stats {
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.li-writing .li-read {
  color: #0c8f7c;
  font-weight: 700;
}

.li-writing .li-card:hover .li-read::after {
  transform: translateX(3px);
}

.li-writing .li-read::after {
  content: "↗";
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.18s ease;
}

.li-writing .li-follow {
  margin-top: 40px;
  text-align: center;
}

.li-writing .li-follow a {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 6px;
  transition: filter 0.15s ease;
}

.li-writing .li-follow a:hover {
  filter: brightness(0.94);
}

@media (prefers-reduced-motion: reduce) {
  .li-writing .li-card,
  .li-writing .li-read::after,
  .li-writing .li-follow a {
    transition: none;
  }
}
