:root {
  color-scheme: dark;
  --ink: #f3f0e5;
  --muted: #c8c1ad;
  --paper: #171a16;
  --surface: rgba(17, 20, 17, 0.78);
  --surface-strong: rgba(9, 11, 9, 0.84);
  --line: rgba(237, 229, 199, 0.2);
  --accent: #d6c36a;
  --accent-strong: #fff0a6;
  --warm: #d99a64;
  --shadow: 0 22px 54px rgba(0, 0, 0, 0.42);
}

@font-face {
  font-family: "SF Gothican";
  src: url("../assets/font/SF-Gothican.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
}

body::before {
  z-index: -2;
  background: url("../assets/img/background.jpg") center / cover no-repeat;
}

body::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 12, 10, 0.72), rgba(10, 12, 10, 0.26)),
    radial-gradient(circle at 18% 28%, rgba(214, 195, 106, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(5, 6, 5, 0.12), rgba(5, 6, 5, 0.62));
}

a {
  color: inherit;
}

.contact-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0 70px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(48px, 9vh, 96px);
}

.brand-nav {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.brand,
.brand-divider,
.kicker {
  color: var(--ink);
  font-family: "SF Gothican", "Cooper Black", Georgia, serif;
  font-synthesis: weight;
  font-weight: 700;
  line-height: 1;
  text-shadow:
    0 3px 4px rgba(0, 0, 0, 0.48),
    0 0 1px rgba(255, 255, 255, 0.35);
}

.brand {
  font-size: 1.7rem;
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.brand:hover,
.brand:focus-visible {
  color: var(--accent-strong);
  outline: none;
  text-decoration-line: underline;
}

.brand-divider {
  font-size: 1.7rem;
  opacity: 0.72;
}

.kicker {
  font-synthesis: none;
  font-weight: 400;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 1.04fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 28px;
}

.kicker {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(1.35rem, 2.8vw, 2.6rem);
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.6vw, 5.8rem);
  line-height: 0.93;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.contact-copy > .intro-subtitle {
  max-width: 460px;
  margin: 28px 0 0;
  color: #e5b17c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.22rem, 2.2vw, 1.72rem);
  font-style: italic;
  line-height: 1.28;
}

.contact-sections {
  display: grid;
  gap: 34px;
}

.contact-section h2 {
  margin: 0 0 14px;
  color: var(--warm);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.email-section {
  margin-top: 28px;
}

.social-grid {
  display: grid;
  gap: 14px;
}

.social-card {
  --brand: var(--accent);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 104px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--brand), transparent 84%), transparent 54%),
    var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-decoration: none;
  user-select: none;
  backdrop-filter: blur(8px);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.social-card:hover,
.social-card:focus-visible {
  border-color: color-mix(in srgb, var(--brand), white 20%);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--brand), transparent 76%), transparent 58%),
    rgba(24, 28, 23, 0.88);
  box-shadow:
    var(--shadow),
    0 0 28px color-mix(in srgb, var(--brand), transparent 82%);
  outline: none;
  transform: translateY(-2px);
}

.social-card strong,
.social-card small {
  display: block;
}

.social-card strong {
  margin-bottom: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.4vw, 1.68rem);
  line-height: 1.1;
}

.social-card small {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.social-handle {
  user-select: none;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid color-mix(in srgb, var(--brand), white 20%);
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand), transparent 82%);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  object-fit: contain;
  padding: 6px;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.3),
    0 0 18px color-mix(in srgb, var(--brand), transparent 78%);
}

.email-icon {
  position: relative;
  padding: 0;
}

.email-card {
  --brand: var(--warm);
  cursor: default;
  user-select: text;
}

.email-card strong {
  font-size: clamp(1.05rem, 2.4vw, 1.38rem);
  overflow-wrap: anywhere;
}

.email-card:hover {
  transform: none;
}

.email-address {
  user-select: text;
}

.email-action {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  user-select: none;
}

.email-action:hover,
.email-action:focus-visible {
  color: #fff;
  outline: none;
}

.email-icon::before {
  width: 29px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 4px;
  content: "";
}

.email-icon::after {
  position: absolute;
  width: 21px;
  height: 21px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  content: "";
  transform: translateY(-4px) rotate(45deg) scaleX(0.95);
}

.facebook {
  --brand: #1877f2;
}

.instagram {
  --brand: #e4405f;
}

.youtube {
  --brand: #ff0033;
}

.x {
  --brand: #f3f0e5;
}

.threads {
  --brand: #ffffff;
}

.twitch {
  --brand: #9146ff;
}

.spotify {
  --brand: #1db954;
}

.bluesky {
  --brand: #1185fe;
}

.ivoox {
  --brand: #ff6a21;
}

@media (max-width: 760px) {
  .contact-shell {
    width: min(100% - 32px, 1120px);
    padding-bottom: 46px;
  }

  .site-header {
    margin-bottom: 38px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-copy {
    position: static;
  }

  h1 {
    max-width: 11ch;
  }

  .social-card {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 15px;
    min-height: 92px;
    padding: 16px;
  }

  .social-icon {
    width: 48px;
    height: 48px;
  }
}

/* Anchored site menu replacing the old breadcrumb. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  overflow: visible;
  border-bottom: 1px solid rgba(237, 229, 199, 0.08);
  background: linear-gradient(180deg, rgba(12, 14, 12, 0.5), rgba(12, 14, 12, 0.18));
  backdrop-filter: blur(8px);
}

.site-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px clamp(14px, 2vw, 24px);
  overflow: visible;
}

.brand-menu-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.brand-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 90;
  display: grid;
  gap: 4px;
  min-width: 178px;
  padding: 10px;
  border: 1px solid rgba(237, 229, 199, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(17, 20, 17, 0.9), rgba(8, 10, 8, 0.82));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
  backdrop-filter: blur(14px);
}

.brand-menu-item::after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
  content: "";
}

.brand-menu-item:hover .brand-submenu,
.brand-menu-item:focus-within .brand-submenu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.brand-submenu a {
  color: var(--ink);
  font-family: "SF Gothican", "Cooper Black", Georgia, serif;
  font-synthesis: weight;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-shadow:
    0 3px 4px rgba(0, 0, 0, 0.48),
    0 0 1px rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

.brand-submenu a:hover,
.brand-submenu a:focus-visible {
  color: var(--accent-strong, var(--accent, #fff0a6));
  outline: none;
  text-decoration-line: underline;
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-menu {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .brand,
  .brand-submenu a {
    font-size: 1.32rem;
    white-space: nowrap;
  }
}

/* Collapsible menu for mobile. */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 38px;
  border: 1px solid rgba(237, 229, 199, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(17, 20, 17, 0.62), rgba(8, 10, 8, 0.42));
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

.menu-toggle span + span {
  display: none;
}

@media (max-width: 760px) {
  .site-menu {
    position: relative;
    display: grid;
    justify-items: start;
    gap: 0;
    max-width: min(360px, calc(100vw - 28px));
    overflow: visible;
    padding-bottom: 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-menu > :not(.menu-toggle) {
    display: none;
  }

  .site-menu.is-open {
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(237, 229, 199, 0.16);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(17, 20, 17, 0.88), rgba(8, 10, 8, 0.76));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
  }

  .site-menu.is-open > .brand {
    display: block;
  }

  .site-menu.is-open > .brand-menu-item {
    display: grid;
    gap: 4px;
  }

  .site-menu.is-open .brand-menu-item::after {
    content: none;
  }

  .site-menu.is-open .brand-submenu {
    position: static;
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 0 0 2px 18px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: none;
    backdrop-filter: none;
  }

  .site-menu.is-open .brand-submenu a {
    font-size: 1.12rem;
    opacity: 0.86;
  }
}

/* Mobile menu floats over the page instead of pushing content. */
@media (max-width: 760px) {
  .site-header {
    left: 0;
    right: 0;
    width: 100vw;
    max-width: none;
    min-height: 58px;
    margin: 0;
    padding: 10px clamp(14px, 4vw, 22px);
    background: linear-gradient(180deg, rgba(12, 14, 12, 0.54), rgba(12, 14, 12, 0.2));
  }

  .site-menu {
    position: absolute;
    top: 10px;
    left: clamp(14px, 4vw, 22px);
    z-index: 95;
    width: max-content;
    max-width: min(360px, calc(100vw - 28px));
  }

  .site-menu.is-open {
    width: min(360px, calc(100vw - 28px));
  }

  .header-tools {
    margin-top: 52px;
  }
}

