/* ==========================================================================
   Gold City Media, LLC — Nashville, TN
   Palette and letterforms are derived from the studio logo:
   deco geometric caps, offset shadow, hairline rules, navy + gold.
   ========================================================================== */

:root {
  /* Sampled directly from the logo artwork */
  --navy: #222546;
  --navy-deep: #1a1c37;
  --gold: #dad680;
  --taupe: #978e8c;
  --cream: #ecefef;

  --ink: var(--cream);
  --ink-soft: rgba(236, 239, 239, 0.66);
  --rule: rgba(151, 142, 140, 0.34);

  --font-display: "Jost", "Futura", "Century Gothic", sans-serif;
  --font-body: "Newsreader", "Iowan Old Style", Georgia, serif;

  --shell: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.94rem + 0.28vw, 1.125rem);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.004em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Atmosphere: a low gold bloom behind the fold, plus fixed film grain.
   Both are non-interactive and never sit inside a scrolling container. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58rem 34rem at 78% -8%, rgba(218, 214, 128, 0.13), transparent 62%),
    radial-gradient(46rem 34rem at 4% 34%, rgba(151, 142, 140, 0.14), transparent 66%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 96%);
}

body::after {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: 9;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------- primitives */

.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

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

/* Letterspaced deco caps — the logo's "MEDIA, LLC." register */
.eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.62rem, 0.58rem + 0.18vw, 0.72rem);
  font-weight: 400;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* --------------------------------------------------------------------- stage */

/* The whole page is one centred column: lockup, four disciplines, address. */
.stage {
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding-block: clamp(3rem, 9vw, 6rem);
}

.stage__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(2.25rem, 6vw, 3.75rem);
}

/* The lockup is the page heading, so it carries the h1 */
.stage__title {
  width: min(100%, 40rem);
}

.stage__mark {
  width: 100%;
  filter: drop-shadow(0 26px 46px rgba(12, 13, 28, 0.55));
}

/* The email address is the page's terminal gesture — set large */
.stage__email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 0.72rem + 1.9vw, 2.1rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-decoration: none;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(218, 214, 128, 0.35);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease),
    letter-spacing 0.5s var(--ease);
  word-break: break-word;
}

.stage__email:hover {
  color: #eeeaa6;
  border-bottom-color: var(--gold);
  letter-spacing: 0.038em;
}

/* --------------------------------------------------------------------- craft */

/* Two up on phones, four across once there is room for the row. */
.craft {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 3rem);
}

@media (min-width: 44rem) {
  .craft {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.craft li {
  display: grid;
  justify-items: center;
  gap: clamp(0.8rem, 2vw, 1.15rem);
  padding-top: clamp(1.1rem, 2.5vw, 1.5rem);
  border-top: 1px solid var(--rule);
}

.craft__glyph {
  width: clamp(1.7rem, 2.6vw, 2.15rem);
  color: var(--taupe);
  transition: color 0.5s var(--ease), transform 0.6s var(--ease);
}

.craft li:hover .craft__glyph {
  color: var(--gold);
  transform: translateY(-3px);
}

.craft h2 {
  font-size: clamp(0.94rem, 0.82rem + 0.6vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.4s var(--ease);
}

.craft li:hover h2 {
  color: var(--ink);
}

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

.notfound {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.6rem;
}

.notfound h1 {
  font-size: clamp(2.2rem, 1.4rem + 4vw, 3.6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Solid gold slab — the one loud element on the page */
.btn {
  --pad: clamp(0.95rem, 1.4vw, 1.15rem);
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(0.74rem, 0.7rem + 0.2vw, 0.84rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--pad) clamp(1.5rem, 3vw, 2.35rem);
  color: var(--navy);
  background: var(--gold);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    background-color 0.4s var(--ease);
  /* Offset shadow, echoing the letterpress shadow in the logo */
  box-shadow: 6px 6px 0 0 rgba(151, 142, 140, 0.5);
}

.btn:hover {
  background: #e4e192;
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 0 rgba(151, 142, 140, 0.62);
}

.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 0 rgba(151, 142, 140, 0.45);
}

/* ------------------------------------------------------------------- motion */

/* One choreographed page load: staggered fade-up, driven by --d. Everything
   sits on the first screen now, so there is nothing left to reveal on scroll. */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lift {
  animation: rise 0.95s var(--ease) both;
  animation-delay: var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .lift {
    animation: none !important;
    opacity: 1;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
