/* Infinite Circle Creators — static site styles */

@font-face {
  font-family: "Outfit";
  src: local("Outfit"), url("../fonts/outfit-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Segoe UI");
  size-adjust: 105%;
  ascent-override: 95%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 115%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  --gold: #c9a24a;
  --gold-bright: #d4b15e;
  --ink: #f3eee6;
  --muted: #c8bba8;
  --line: #735e2d;
  --hairline: #c9a24a;
  --paper: #110f0d;
  --card: #16140f;
  --bg: #0a0a0a;
  --max: 1080px;
  --pad: 22px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Outfit, "Outfit Fallback", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

.skip {
  position: absolute;
  left: 12px;
  top: -56px;
  z-index: 30;
  background: var(--gold);
  color: var(--bg);
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 20px;
  min-height: 84px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Cormorant Garamond", "Cormorant Fallback", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  font-size: 1.35rem;
  min-height: 48px;
}

.mark {
  position: relative;
  display: inline-block;
  line-height: 0;
  flex: none;
}

.mark img {
  display: block;
  width: 100%;
  height: auto;
}

.brand .mark {
  width: 40px;
  height: 41px;
}

.brand .mark img {
  width: 40px;
  height: 41px;
}

/* Soft diagonal glint, masked to the gold mark. The sweep takes 3s,
   then the mark rests about 2.5s. The full cycle is 5.5s. */
.gleam {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask: url("../assets/mark.svg") center / 100% 100% no-repeat;
  mask: url("../assets/mark.svg") center / 100% 100% no-repeat;
}

.gleam::before {
  content: "";
  position: absolute;
  top: -12%;
  bottom: -12%;
  left: 0;
  width: 42%;
  background: linear-gradient(
    105deg,
    rgba(255, 244, 214, 0) 0%,
    rgba(255, 228, 170, 0.08) 34%,
    rgba(255, 248, 230, 0.45) 46%,
    rgba(255, 255, 250, 0.85) 50%,
    rgba(255, 248, 230, 0.45) 54%,
    rgba(255, 228, 170, 0.08) 66%,
    rgba(255, 244, 214, 0) 100%
  );
  transform: translate3d(-70%, 0, 0) skewX(-18deg);
  animation: mark-gleam 5.5s linear infinite;
  will-change: transform;
}

@keyframes mark-gleam {
  0% {
    transform: translate3d(-70%, 0, 0) skewX(-18deg);
  }

  54.55% {
    transform: translate3d(210%, 0, 0) skewX(-18deg);
  }

  100% {
    transform: translate3d(210%, 0, 0) skewX(-18deg);
  }
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

.nav a:hover {
  background: rgba(201, 162, 74, 0.1);
}

.nav a[aria-current="page"] {
  font-weight: 600;
  box-shadow: inset 0 -1px 0 var(--gold);
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", "Cormorant Fallback", Georgia, "Times New Roman", serif;
  font-weight: 500;
  text-wrap: balance;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.7rem, 6.2vw, 4.6rem);
  margin: 0 0 18px;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.65rem;
  margin: 0 0 8px;
  letter-spacing: 0;
}

p {
  margin: 0 0 12px;
}

.lede {
  font-size: 1.15rem;
  max-width: 40rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--gold);
  flex: none;
}

.hero {
  position: relative;
  padding: 48px 0 36px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 80% at 82% 42%, rgba(201, 162, 74, 0.11), transparent 62%);
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero-mark {
  display: block;
  width: 156px;
  height: auto;
  margin-top: 28px;
  aspect-ratio: 328 / 336;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-mark::after {
  content: "";
  position: absolute;
  inset: 6%;
  z-index: -1;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.22), transparent 68%);
  pointer-events: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 2px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
}

.btn:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--bg);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--gold);
}

.btn-line:hover {
  background: rgba(201, 162, 74, 0.12);
  border-color: var(--gold);
  color: var(--ink);
}

.btn-light {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.btn-light:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--gold);
}

.btn-ghost:hover {
  background: rgba(201, 162, 74, 0.12);
  color: var(--ink);
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-paper {
  background: var(--paper);
}

.services {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.services li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 6px 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.services li:last-child {
  border-bottom: 1px solid var(--line);
}

.num {
  font-weight: 600;
  letter-spacing: 0.06em;
  padding-top: 6px;
  color: var(--gold);
}

.services p,
.card p,
.checklist + p {
  margin-bottom: 0;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.platforms li {
  font-weight: 600;
}

.platforms li:last-child {
  font-weight: 500;
}

.platforms li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 12px 2px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
}

.split {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.card .btn {
  margin-top: 8px;
}

.band {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.band h2,
.band p {
  color: var(--ink);
}

.band p {
  max-width: 38rem;
}

.band :focus-visible,
.btn-ghost:focus-visible {
  outline-color: var(--ink);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 36px;
}

.prose a,
.site-footer a,
.email-link {
  text-underline-offset: 0.18em;
  text-decoration-color: var(--gold);
}

.note {
  margin-top: 24px;
  padding: 2px 0 2px 16px;
  border-left: 1px solid var(--gold);
  max-width: 42rem;
}

.checklist {
  margin: 8px 0 0;
  padding-left: 1.2rem;
}

.checklist li {
  margin: 0.45rem 0;
  padding-left: 0.2rem;
}

.email-link {
  display: inline-block;
  font-family: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  margin: 10px 0 6px;
  text-decoration-color: var(--gold);
}

address {
  font-style: normal;
  margin-top: 8px;
}

.muted {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 0 52px;
  background: var(--bg);
  font-size: 0.98rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 32px;
}

.footer-name {
  font-family: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  font-weight: 500;
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 4px 16px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.miss {
  padding: 64px 0 96px;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 96px 0 72px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 300px);
    gap: 48px;
    align-items: center;
  }

  .hero-mark {
    width: 100%;
    max-width: 300px;
    margin-top: 0;
    justify-self: end;
  }
}

@media (max-width: 420px) {
  .nav a {
    padding-inline: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .gleam::before {
    animation: none;
    opacity: 0;
  }
}

@media (forced-colors: active) {
  .btn,
  .nav a[aria-current="page"] {
    border: 2px solid ButtonText;
  }
}

@media print {
  body,
  .site-header,
  .site-footer,
  .section-paper,
  .band,
  .card {
    background: #fff;
    color: #16140f;
  }

  .site-header {
    position: static;
  }

  h1,
  h2,
  h3,
  .brand,
  .footer-name,
  .email-link,
  .eyebrow,
  .num,
  .nav a[aria-current="page"] {
    color: #16140f;
  }

  .btn {
    border: 1px solid #16140f;
    background: #fff;
    color: #16140f;
  }
}
