/* Vault Media Group */

/* Stands in for Swear Display (Adobe Fonts, not licensed for use off Squarespace). */
@font-face {
  font-family: "VMG Display";
  src: url("/fonts/newsreader-display-v2.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

/* Stands in for New Spirit. Contains only the letters of the company name. */
@font-face {
  font-family: "VMG Wordmark";
  src: url("/fonts/fraunces-wordmark-v2.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --tan: #e1ccbe;
  --ink: #1d231c;
  --olive: #757263;
  --body: #3a3f39;
  --error: #a4261d;
  --rule: rgba(29, 35, 28, 0.25);

  --gutter: 3vw;
  --offset: 26.67vw;
  --section: clamp(72px, 9vw, 168px);

  --serif: "VMG Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --display: clamp(40px, calc(18px + 3.846vw), 104px);
  --display-md: clamp(34px, calc(14px + 2.5vw), 64px);
  --list: clamp(26px, calc(12px + 2.2vw), 56px);
  --lead: clamp(19px, calc(14px + 0.75vw), 26px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

a { color: inherit; }

h1, h2, h3, p, ul { margin: 0; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 8px;
  z-index: 30;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

/* Header */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 1.5vw, 32px) var(--gutter);
}

.site-title {
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-link {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid currentColor;
  border-radius: 10px;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* On the contact page itself this marks where you are, so it isn't a button. */
.nav-link[aria-current="page"],
.nav-link[aria-current="page"]:hover {
  padding-inline: 0;
  background: none;
  border-color: transparent;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* Type */

.display {
  font-family: var(--serif);
  font-size: var(--display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  word-spacing: -0.03em;
  text-wrap: balance;
}

.display-md {
  font-family: var(--serif);
  font-size: var(--display-md);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  word-spacing: -0.03em;
  text-wrap: balance;
}

.lead {
  max-width: 34em;
  color: var(--body);
  font-size: var(--lead);
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.eyebrow {
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 26px;
  background: var(--ink);
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.button svg {
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.button:hover { background: #3a4238; }
.button:hover svg { transform: translateX(3px); }
.button:focus-visible { outline-color: var(--ink); }

.button[disabled] {
  background: var(--olive);
  cursor: progress;
}

.button[disabled] svg { display: none; }

/* Home: hero */

.hero {
  background: var(--tan);
  color: var(--ink);
  padding: calc(30px + 4.8vw) var(--gutter) 0.8vw;
  overflow-x: clip;
}

.hero-tagline { margin-bottom: calc(42px + 5.9vw); }

/* Keep each of the three beats whole. */
.hero-tagline span { white-space: nowrap; }

.hero-wordmark { container-type: inline-size; }

.wordmark {
  font-family: "VMG Wordmark", Georgia, serif;
  font-size: calc(100vw * 0.94 / 8.619);
  font-size: calc(100cqw / 8.619);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;
  font-kerning: normal;
  /* Fraunces has a long descender; lift it so the "p" clears the edge of the hero. */
  position: relative;
  top: -0.06em;
}

/* Home: content */

.section { position: relative; padding: var(--section) var(--gutter) 0; }

.column {
  max-width: 62.4vw;
  margin-left: calc(var(--offset) - var(--gutter));
}

.arc {
  position: absolute;
  left: 10.9vw;
  top: var(--section);
  width: calc(11.66vw - 8.4px);
  height: calc(11.66vw - 8.4px);
  overflow: visible;
  color: var(--ink);
}

.statement .column { max-width: none; }

.statement .line { display: block; }

/* Keeps the dash attached to "it", so no line starts with one. */
.nowrap { white-space: nowrap; }

.statement .eyebrow { margin-bottom: clamp(16px, 1.6vw, 28px); }
.statement .lead { margin-top: clamp(20px, 2.2vw, 40px); }

.department .lead { margin-top: clamp(16px, 1.6vw, 28px); }

.no-more {
  display: grid;
  grid-template-columns: calc(var(--offset) - var(--gutter)) 1fr;
  margin-top: clamp(48px, 5.5vw, 104px);
}

.no-more-title {
  padding-top: clamp(14px, 1.2vw, 24px);
  border-top: 1px solid var(--ink);
  color: var(--olive);
  font-family: var(--serif);
  font-size: var(--list);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.no-more-list {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.no-more-list li {
  padding: clamp(14px, 1.2vw, 24px) 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: var(--list);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  word-spacing: -0.03em;
}

/* Home: closing call to action */

.closing {
  position: relative;
  margin-top: var(--section);
  padding: var(--section) var(--gutter);
  background: var(--tan);
  overflow: hidden;
}

.closing-title {
  position: relative;
  max-width: 60vw;
  margin-bottom: clamp(28px, 3vw, 56px);
}

.closing .button { position: relative; }

.dial {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(33vw, 640px);
  height: min(33vw, 640px);
  color: var(--ink);
  opacity: 0.45;
  pointer-events: none;
}

/* Footer */

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 24px;
  align-items: baseline;
  justify-items: start;
  padding: clamp(28px, 3vw, 48px) var(--gutter);
  background: var(--ink);
  color: var(--tan);
}

.footer-brand {
  font-family: "VMG Wordmark", Georgia, serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.footer-link {
  display: inline-block;
  padding: 10px 0;
  font-size: 15px;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.footer-legal {
  grid-column: 1 / -1;
  font-size: 13px;
  opacity: 0.75;
}

/* Contact and 404: full tan pages */

.contact,
.not-found {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: calc(72px + 4.4vw) var(--gutter) var(--section);
  background: var(--tan);
  overflow: hidden;
}

.contact > :not(.dial),
.not-found > :not(.dial) { position: relative; }

.not-found { gap: 32px; }

.contact-heading {
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--display);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  word-spacing: -0.03em;
  text-wrap: balance;
}

.contact .lead { margin-top: clamp(16px, 1.6vw, 28px); }

.contact-email {
  margin-top: clamp(24px, 2.6vw, 48px);
  padding: 6px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: min(var(--display-md), 7.4vw);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.contact-email:hover { text-decoration-thickness: 2px; }

/* Phones and small tablets */

@media (max-width: 767px) {
  :root {
    --gutter: 6vw;
    --offset: var(--gutter);
    --section: 72px;
  }

  .site-title {
    font-size: 17px;
    letter-spacing: 0;
    text-transform: none;
  }

  .nav-link { font-size: 14px; }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: min(60svh, 460px);
    padding: 88px var(--gutter) 12px;
  }

  .hero-tagline { margin-bottom: 40px; }

  .hero-tagline span { display: block; }

  .statement .line { display: inline; }

  .column {
    max-width: none;
    margin-left: 0;
  }

  .arc {
    position: static;
    display: block;
    width: 64px;
    height: 64px;
    margin-bottom: 28px;
  }

  .no-more {
    grid-template-columns: 1fr;
  }

  .no-more-title {
    padding: 0 0 14px;
    border-top: 0;
  }

  .closing-title { max-width: none; }

  .dial { display: none; }

  .site-footer { grid-template-columns: 1fr; gap: 6px; }

  .footer-legal { margin-top: 10px; }

  .closing .button,
  .not-found .button {
    display: flex;
    justify-content: center;
  }

  .not-found { align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
