/* PortfolioX theme gallery: preview page for the Spectrix site.
   Matches the main site's look (near-black, white type, square buttons, spaced caps);
   each theme card adds a touch of its own accent colour (--accent). */

:root {
  --bg: #050505;
  --panel: #0b0b0b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #fff;
  --text-2: #aaa;
  --text-3: #808080;
  --gutter: clamp(16px, 4vw, 24px);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scroll lock while the device preview is open. It goes on <html>, not <body>: overflow:hidden on
   body makes mobile Chrome zoom the page out to fit the clipped content (it measured 1210px wide at 390). */
html.viewer-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  background: #fff;
  color: #050505;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* ===== Top bar ===== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 3px;
  white-space: nowrap;
}

.brand span {
  font-weight: 400;
  font-size: 12px;
  color: var(--text-3);
}

.preview-pill {
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}

@media (max-width: 380px) {
  .brand span {
    display: none;
  }
}

/* ===== Hero ===== */

.hero {
  position: relative;
  /* the vh term keeps short landscape phones from spending a whole screen on padding */
  padding: clamp(44px, min(12vw, 16vh), 130px) 0 clamp(40px, 7vw, 72px);
  overflow: hidden;
}

/* faint spectrum glow behind the headline, one hue per theme */
.hero::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: min(720px, 90vw);
  aspect-ratio: 1;
  background: conic-gradient(from 90deg, #39ff88, #ffc531, #ff5a36, #ff3da8, #2f5bea, #39ff88);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.13;
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  to {
    transform: translate(-12%, 10%) rotate(60deg);
  }
}

.hero .container {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 6vw, 56px);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  /* keep the fan inside its column so it never crowds the text
     (extra .hero-grid / .hero specificity because the base rules come later in the file) */
  .hero-grid .hero-fan {
    --w: min(164px, 12.5vw);
  }

  .hero .jump {
    gap: 8px;
  }

  .hero .jump a {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* Phones fanned around a pivot far below them, so rotating them traces an arc.
   With JS they start stacked and spread out (.is-in) once the fan is in view. */
.hero-fan {
  --w: clamp(96px, 24vw, 164px);
  position: relative;
  height: calc(var(--w) * 2.4);
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

.hero-fan a {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--w);
  margin-left: calc(var(--w) / -2);
  aspect-ratio: 390 / 844;
  border: 4px solid #1c1c1c;
  border-radius: calc(var(--w) * 0.12);
  background: #111;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-strong), 0 24px 50px rgba(0, 0, 0, 0.7);
  transform-origin: 50% 170%;
  transform: rotate(calc(var(--i) * var(--spread, 9deg)));
  transition: transform 0.9s cubic-bezier(0.2, 0.9, 0.2, 1);
  transition-delay: calc((2 - var(--i)) * 0.06s);
}

.hero-fan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.js .hero-fan:not(.is-in) a {
  transform: rotate(0deg) translateY(30px);
}

.hero-fan a:hover,
.hero-fan a:focus-visible {
  transform: rotate(calc(var(--i) * var(--spread, 9deg))) translateY(-18px);
  transition-delay: 0s;
  z-index: 5;
}

.hero-fan a:focus-visible {
  outline-offset: 4px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 28px;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, min(8.4vw, 12vh), 76px);
  font-weight: 800;
  line-height: 1.08;
  max-width: 13ch;
}

/* The last word restyles itself in each theme's typeface (see gallery.js) */
.morph {
  display: block;
  height: 1.25em;
  font-size: 1.22em;
  line-height: 1.2;
}

.morph-word {
  display: inline-block;
  background: linear-gradient(135deg, #fff, #8a8a8a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

.morph .morph-word.is-out {
  opacity: 0;
  transform: translateY(0.25em);
  filter: blur(6px);
}

.morph-word[data-theme='terminal'] {
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-weight: 700;
  font-size: 0.86em;
  background: none;
  color: #39ff88;
}

.morph-word[data-theme='terminal']::after {
  content: '';
  display: inline-block;
  width: 0.5em;
  height: 0.9em;
  margin-left: 0.08em;
  vertical-align: -0.08em;
  background: #39ff88;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.morph-word[data-theme='pop'] {
  font-family: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  font-weight: 800;
  background: none;
  color: #ff5a36;
  text-shadow: 0.06em 0.06em 0 #fff4e0;
  transform: rotate(-3deg);
}

.morph-word[data-theme='atelier'] {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  background: none;
  color: #e6d9c3;
}

.morph-word[data-theme='neon'] {
  font-family: 'Syne', 'Segoe UI', sans-serif;
  font-weight: 800;
  background: linear-gradient(90deg, #ff3da8, #ff8a3d, #ffd23f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.morph-word[data-theme='clarity'] {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  background: none;
  color: #7f9cff;
}

.hero-text {
  max-width: 660px;
  margin: 0 0 36px;
  font-size: clamp(16px, 4.2vw, 18px);
  color: var(--text-2);
  line-height: 1.8;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jump a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.jump a b {
  font-weight: 700;
  color: var(--text-3);
}

.jump a::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.jump a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
}

/* ===== Theme cards ===== */

.themes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  padding-top: clamp(24px, 5vw, 48px);
  padding-bottom: clamp(56px, 10vw, 110px);
}

@media (min-width: 900px) {
  .themes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.theme {
  --accent: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.35s ease, transform 0.35s ease;
}

/* accent hairline along the top edge, grows on hover */
.theme::before {
  content: '';
  position: absolute;
  left: -1px;
  top: -1px;
  height: 2px;
  width: 64px;
  background: var(--accent);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.theme:hover,
.theme:focus-within {
  border-color: var(--line-strong);
}

.theme:hover::before,
.theme:focus-within::before {
  width: calc(100% + 2px);
}

.theme-media {
  position: relative;
  display: block;
  padding: clamp(18px, 3vw, 28px) clamp(18px, 3vw, 28px) 0;
  /* room for the phone that hangs below the laptop frame */
  padding-bottom: 14%;
  background:
    radial-gradient(120% 90% at 85% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    #0e0e0e;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.theme-media figure {
  margin: 0;
}

.frame-desktop {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #0d0d0d;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: 50% 0;
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: #141414;
}

.frame-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2e2e2e;
}

.frame-bar span {
  margin-left: 8px;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame-desktop img {
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 900;
  object-fit: cover;
  object-position: top left;
  background: #0d0d0d;
}

.frame-phone {
  position: absolute;
  right: 6%;
  bottom: 18px;
  width: 23%;
  min-width: 78px;
  padding: 4px;
  border-radius: 20px;
  background: #1a1a1a;
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.frame-phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  background: #0d0d0d;
}

.theme-media:hover .frame-desktop,
.theme-media:focus-visible .frame-desktop {
  transform: scale(1.02);
}

.theme-media:hover .frame-phone,
.theme-media:focus-visible .frame-phone {
  transform: translateY(-10px) rotate(-2deg);
}

.theme-media:focus-visible {
  outline-offset: -3px;
}

.theme-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: clamp(22px, 3.4vw, 34px);
}

.theme-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.theme-index {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 70%, #fff);
  opacity: 0.8;
}

.theme-for {
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-3);
}

.theme h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.15;
}

.lede {
  margin: 0 0 22px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.75;
}

.spec {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.spec div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.spec dt {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-3);
}

.spec dd {
  margin: 0;
  font-size: 14px;
  color: #ddd;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.swatches i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.theme:hover .swatches i {
  transform: translateY(-3px);
}

.theme:hover .swatches i:nth-child(2) { transition-delay: 0.04s; }
.theme:hover .swatches i:nth-child(3) { transition-delay: 0.08s; }
.theme:hover .swatches i:nth-child(4) { transition-delay: 0.12s; }
.theme:hover .swatches i:nth-child(5) { transition-delay: 0.16s; }
.theme:hover .swatches i:nth-child(6) { transition-delay: 0.2s; }

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

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 26px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.btn-primary {
  background: #fff;
  color: #050505;
  border: 1px solid #fff;
}

.btn-primary:hover {
  background: #ddd;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

@media (max-width: 420px) {
  .actions .btn-primary,
  .actions .btn-outline {
    flex: 1 1 100%;
  }
}

/* ===== "Yours" card ===== */

.yours-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  max-height: 340px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, 0.03) 39px 40px),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, 0.03) 39px 40px),
    #0e0e0e;
  overflow: hidden;
}

.yours-art b {
  display: grid;
  place-items: center;
  width: clamp(72px, 14vw, 96px);
  aspect-ratio: 1;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
  font-size: clamp(30px, 6vw, 40px);
  font-weight: 300;
  color: var(--text-2);
}

/* five theme colours orbiting the question mark */
.yours-art span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 18px var(--c);
  animation: orbit 6s linear infinite;
  animation-delay: var(--d);
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(clamp(70px, 15vw, 110px)) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(clamp(70px, 15vw, 110px)) rotate(-360deg);
  }
}

.checks {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.checks li {
  position: relative;
  padding-left: 26px;
  color: #ddd;
  font-size: 15px;
}

.checks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 11px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ===== Reveal on scroll (only when JS has run) ===== */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ===== CTA + footer ===== */

.cta {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 10vw, 96px) 0;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 5.6vw, 38px);
  line-height: 1.2;
}

.cta h2 span {
  color: var(--text-3);
}

.cta p {
  margin: 0;
  max-width: 560px;
  color: var(--text-2);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--text-3);
  font-size: 13px;
}

.footer p {
  margin: 0;
}

/* ===== Device preview dialog ===== */

.viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: #050505;
}

.viewer[hidden] {
  display: none;
}

.viewer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 10px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: #0a0a0a;
}

.viewer-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.viewer-nav strong {
  min-width: 96px;
  text-align: center;
  font-size: 15px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.viewer-step,
.viewer-close {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  color: #fff;
  border: 1px solid var(--line-strong);
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.viewer-close {
  font-size: 16px;
  margin-left: auto;
}

.viewer-step:hover,
.viewer-close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.seg {
  display: inline-flex;
  border: 1px solid var(--line-strong);
}

.seg button {
  min-height: 40px;
  padding: 0 14px;
  background: transparent;
  color: var(--text-2);
  border: 0;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.seg button + button {
  border-left: 1px solid var(--line-strong);
}

.seg button[aria-pressed='true'] {
  background: #fff;
  color: #050505;
}

.viewer-size {
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
}

.viewer-open {
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
}

.viewer-open:hover {
  color: #fff;
}

.viewer-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: hidden;
}

.device {
  position: relative;
  overflow: hidden;
  background: #111;
  transition: width 0.35s ease, height 0.35s ease;
}

.device.is-desktop {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.device.is-tablet,
.device.is-phone {
  border: 8px solid #1c1c1c;
  border-radius: 28px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 30px 80px rgba(0, 0, 0, 0.7);
}

.device iframe {
  position: absolute;
  left: 0;
  top: 0;
  border: 0;
  background: #fff;
  transform-origin: 0 0;
}

/* tablets and phones: drop the size readout so the toolbar stays compact */
@media (max-width: 900px) {
  .viewer-size {
    display: none;
  }
}

/* small screens: stack the bar controls into two neat rows */
@media (max-width: 640px) {
  .viewer-bar {
    gap: 8px;
  }

  .viewer-nav {
    order: 1;
  }

  .viewer-close {
    order: 2;
  }

  .seg {
    order: 3;
    flex: 1 1 100%;
  }

  .seg button {
    flex: 1;
  }

  .viewer-size {
    order: 4;
  }

  .viewer-open {
    order: 5;
    margin-left: auto;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* "Back to site" link in the top bar (same as the Business Applications gallery) */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-2);
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.back-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* goes to the contact form on the home page (same as the Business Applications gallery) */
.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 18px;
  background: #fff;
  color: #050505;
  border: 1px solid #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease;
}

.contact-link:hover {
  background: #ddd;
}

/* phones: "Back to site" becomes an arrow-only button and the logo drops "CREATIONS",
   so both buttons fit next to it */
@media (max-width: 639px) {
  .back-text,
  .brand span {
    display: none;
  }

  .back-link {
    justify-content: center;
    width: 40px;
    padding: 0;
  }
}

@media (max-width: 359px) {
  .contact-link {
    padding: 8px 12px;
    letter-spacing: 0.5px;
  }
}
