/* Red Celtic knot coming soon theme. Shared by all three preview sites. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-400-italic.woff2") format("woff2");
}

:root {
  --ink: #F4F1EA;
  --ink-soft: #C9C4BA;
  --red: #E85C5C;
  --red-deep: #FF8080;
  --line: #2E2E2E;
  --focus: #F5D27A;
  --paper: #000000;
  --gold: #F5D27A;
  --gold-deep: #E0B44A;
  --surface: #141414;
  --measure: 36em;
}

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

html {
  font-size: 118%;
  scroll-behavior: auto;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  text-wrap: pretty;
}

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

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold);
}

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

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
}

.brand img,
.brand-emblem {
  width: 3.6rem;
  height: 3.6rem;
  flex: 0 0 auto;
}

.brand-name {
  font-family: "Cormorant Garamond", "Palatino Linotype", serif;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

nav {
  width: 100%;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.15rem 0.1rem;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--red);
  border-bottom-color: var(--red);
}

main {
  padding: 2.2rem 0 3.2rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 0 2.2rem;
  border-top: 0;
}

.hero-media {
  width: min(17.5rem, 72vw);
  margin: 0 auto 1.15rem;
}

.hero-media img,
.hero-media video,
.hero-knot,
.hero-video {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
}

.hero-video {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #000;
}

.hero .tease {
  margin: 0.55rem 0 0;
  max-width: var(--measure);
  font-size: 1.05rem;
  color: var(--ink);
  text-wrap: balance;
}

.kicker {
  margin: 0 0 0.35rem;
  color: var(--gold);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Cormorant Garamond", "Palatino Linotype", serif;
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--gold);
}

h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 6vw, 3.15rem);
  max-width: 14ch;
}

.lead,
.prose,
.caption,
.love-note,
.foot-inner,
.connected li a {
  text-wrap: pretty;
}

.lead {
  margin: 0;
  max-width: var(--measure);
  font-size: 1.12rem;
  color: var(--ink);
  text-wrap: balance;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3.6vw, 2.05rem);
}

.prose {
  margin: 0 auto;
  max-width: var(--measure);
}

.prose p {
  margin: 0 0 0.85rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.connected ul {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  width: min(24rem, 100%);
  display: grid;
  gap: 0.55rem;
}

.connected li a {
  display: block;
  padding: 0.7rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
}

.connected li a:hover,
.connected li a[aria-current="page"] {
  border-color: var(--gold);
  color: var(--gold);
}

.video-slot {
  margin: 0 auto 1rem;
  width: min(28rem, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.video-frame {
  margin: 0;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
}

.video-frame img {
  width: min(22rem, 92%);
  margin: 0 auto;
}

.caption {
  margin: 0;
  padding: 0.75rem 1rem 0.9rem;
  color: var(--ink-soft);
  font-size: 1rem;
  text-wrap: balance;
}

.love-note {
  margin: 0;
  max-width: var(--measure);
}

footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 1.4rem 0 1.8rem;
}

.foot-inner {
  text-align: center;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: var(--measure);
  margin: 0 auto;
  text-wrap: balance;
}

.foot-inner p {
  margin: 0;
}


h1.title-short {
  max-width: none;
}

@media (min-width: 720px) {
  html {
    font-size: 125%;
  }

  .header-inner {
    padding: 1.2rem 0 1.05rem;
  }

  .brand img,
  .brand-emblem {
    width: 4rem;
    height: 4rem;
  }

  nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 1.4rem;
    row-gap: 0.4rem;
  }

  h1 {
    max-width: none;
  }
}
