@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap");

:root {
  color-scheme: light;
  --night: #0a0e1a;
  --night-soft: #111827;
  --cream: #f8f5f2;
  --warm-cream: #f5eee6;
  --linen: #f5f1e8;
  --ink: #1a1a1a;
  --ink-blue: #1e293b;
  --body: #374151;
  --muted: #6b7280;
  --gold: #c5a059;
  --line: rgba(197, 160, 89, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--night);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

a {
  color: inherit;
}

body.intro-open {
  overflow: hidden;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 20;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(238, 219, 171, 0.16), transparent 20rem),
    radial-gradient(circle at 18% 20%, rgba(99, 128, 124, 0.16), transparent 18rem),
    #06080d;
  transition:
    opacity 900ms ease,
    visibility 900ms ease;
}

.intro.is-hidden {
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}

#star-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intro-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 44%, transparent 0 28rem, rgba(4, 6, 10, 0.22) 52rem),
    linear-gradient(180deg, rgba(4, 6, 10, 0.3), transparent 28%, rgba(4, 6, 10, 0.4));
}

.skip-intro {
  position: absolute;
  top: 24px;
  right: 24px;
  min-width: 72px;
  border: 1px solid rgba(255, 246, 222, 0.24);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff8df;
  font: 700 12px/1 Inter, ui-sans-serif, system-ui;
  letter-spacing: 0;
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.intro-brand {
  position: absolute;
  left: 50%;
  bottom: clamp(44px, 9vh, 96px);
  transform: translateX(-50%) translateY(18px);
  opacity: 0;
  color: #fff6db;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 8vw, 104px);
  line-height: 0.9;
  text-align: center;
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.54);
  transition:
    opacity 900ms ease,
    transform 900ms ease;
  white-space: nowrap;
}

.intro.is-formed .intro-brand {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.site-shell {
  opacity: 0;
  transition: opacity 900ms ease 260ms;
}

body:not(.intro-open) .site-shell {
  opacity: 1;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 40px 64px;
  color: #e5e1d8;
  text-transform: uppercase;
  pointer-events: none;
}

.site-header a {
  pointer-events: auto;
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  line-height: 1;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 48px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.site-header nav a {
  opacity: 0.7;
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 720px;
  align-items: start;
  width: 100%;
  min-height: 900px;
  overflow: hidden;
  background: var(--night);
  color: #e5e1d8;
}

.hero-stars,
.footer-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 38%, rgba(229, 225, 216, 0.16) 0 1px, transparent 2px),
    radial-gradient(circle at 55% 18%, rgba(197, 160, 89, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 83% 41%, rgba(229, 225, 216, 0.12) 0 1px, transparent 2px),
    linear-gradient(135deg, transparent 0 49%, rgba(197, 160, 89, 0.08) 49.5% 50%, transparent 50.5%);
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(656px, calc(100vw - 48px));
  padding: 120px 0 80px 64px;
}

.eyebrow,
.maker-label {
  margin: 0;
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow.muted {
  color: var(--muted);
  font-weight: 500;
}

.hero h1,
.work-section h2,
.maker-section h2,
.commission-section h2,
.instagram-heading h2,
.site-footer h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  margin-top: 8px;
  color: #e5e1d8;
  font-size: clamp(58px, 5vw, 72px);
  line-height: 1.05;
}

.hero-summary {
  max-width: 656px;
  margin: 32px 0 0;
  color: rgba(229, 225, 216, 0.8);
  font-family: "Newsreader", Georgia, serif;
  font-size: 20px;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 16px 32px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-outline {
  margin-top: 32px;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.button-outline:hover {
  background: var(--gold);
  color: var(--night);
}

.button-dark {
  background: var(--night-soft);
  color: #fff;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  color: rgba(197, 160, 89, 0.5);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.meta-rule {
  width: 200px;
  height: 1px;
  background: rgba(197, 160, 89, 0.34);
}

.hero-collie {
  position: relative;
  z-index: 1;
  width: 600px;
  height: 600px;
  margin: 170px 0 0 40px;
  overflow: hidden;
  border-radius: 50%;
}

.hero-collie img {
  width: 150%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: translateX(-4.7%);
}

.image-ticker {
  overflow: hidden;
  background: var(--night);
}

.ticker-rule {
  height: 18px;
  margin: 0 40px;
  border-top: 1px solid rgba(197, 160, 89, 0.22);
  opacity: 0.8;
}

.ticker-window {
  height: 252px;
  overflow: hidden;
  padding: 16px 32px;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 12px;
  will-change: transform;
}

.hero-ticker-track {
  animation: heroTicker 32s linear infinite;
}

.ticker-window:hover .hero-ticker-track,
.instagram-window:hover .instagram-track {
  animation-play-state: paused;
}

.ticker-card {
  width: 240px;
  height: 220px;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
}

.ticker-card:nth-child(10n + 1) {
  width: 210px;
}

.ticker-card:nth-child(10n + 2) {
  width: 260px;
}

.ticker-card:nth-child(10n + 3) {
  width: 180px;
}

.ticker-card:nth-child(10n + 5) {
  width: 200px;
}

.ticker-card:nth-child(10n + 6) {
  width: 280px;
}

.ticker-card:nth-child(10n + 7) {
  width: 195px;
}

.ticker-card:nth-child(10n + 8) {
  width: 250px;
}

.ticker-card:nth-child(10n + 9) {
  width: 185px;
}

.ticker-card:nth-child(10n) {
  width: 230px;
}

.ticker-pill {
  border-radius: 110px;
}

.ticker-oval {
  border-radius: 90px;
}

.ticker-round {
  border-radius: 50%;
}

.ticker-card img,
.work-card img,
.maker-image img,
.commission-image img,
.instagram-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-section {
  background: var(--cream);
  padding: 120px 64px;
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: 1312px;
  margin: 0 auto 80px;
  gap: 48px;
}

.section-intro h2 {
  color: var(--ink);
  font-size: 64px;
  line-height: 1;
  text-transform: uppercase;
}

.section-intro p {
  width: min(400px, 100%);
  margin: 0;
  color: rgba(26, 26, 26, 0.7);
  font-family: "Newsreader", Georgia, serif;
  font-size: 18px;
  line-height: 1.35;
}

.small-rule {
  display: block;
  width: 70px;
  height: 3px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--gold) 0 3px, transparent 3px 11px, var(--gold) 11px 59px, transparent 59px 67px, var(--gold) 67px 70px);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px 48px;
  max-width: 1312px;
  margin: 0 auto;
}

.work-card {
  margin: 0;
}

.work-card img {
  width: 100%;
  background: #eee;
}

.work-card p {
  margin: 16px 0 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.2;
}

.work-large img {
  height: 700px;
}

.work-medium {
  padding-top: 120px;
}

.work-medium img {
  height: 500px;
}

.work-short img {
  height: 400px;
}

.work-tall img {
  height: 600px;
}

.maker-section {
  display: grid;
  grid-template-columns: 520px 520px;
  justify-content: center;
  gap: 80px;
  padding: 80px 120px;
  background: var(--warm-cream);
}

.maker-copy {
  align-self: start;
}

.maker-label {
  color: rgba(30, 41, 59, 0.75);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.16px;
}

.maker-copy h2 {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(30, 41, 59, 0.25);
  color: var(--ink-blue);
  font-size: 56px;
  font-weight: 600;
  line-height: 1.1;
}

.maker-copy p:not(.maker-label) {
  margin: 24px 0 0;
  color: var(--ink-blue);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
}

.maker-copy .maker-note {
  font-style: italic;
  opacity: 0.85;
}

.maker-image {
  width: 520px;
  height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
}

.commission-section {
  display: grid;
  grid-template-columns: 560px minmax(0, 1fr);
  align-items: center;
  gap: 80px;
  padding: 96px 120px;
  background: var(--linen);
}

.commission-image {
  width: 560px;
  height: 640px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.commission-copy {
  max-width: 560px;
}

.commission-copy h2 {
  margin-top: 24px;
  color: var(--night-soft);
  font-size: 44px;
  line-height: 1.15;
}

.commission-copy p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
}

.commission-copy .button {
  margin-top: 24px;
}

.instagram-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  overflow: hidden;
  background: var(--cream);
  padding: 120px 64px;
}

.instagram-divider {
  width: 100%;
  max-width: 1312px;
  height: 1px;
  background: rgba(26, 26, 26, 0.12);
}

.instagram-heading {
  text-align: center;
}

.instagram-heading h2 {
  color: var(--ink);
  font-size: 32px;
  line-height: 1.2;
  text-transform: uppercase;
}

.instagram-heading p {
  margin: 8px 0 0;
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.instagram-window {
  width: 100%;
  overflow: hidden;
}

.instagram-track {
  display: flex;
  width: max-content;
  gap: 8px;
  animation: instagramTicker 34s linear infinite;
  will-change: transform;
}

.instagram-track figure {
  width: 200px;
  height: 200px;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
}

.instagram-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--night);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.08);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
}

.instagram-icon {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 6px;
  background: var(--night);
}

.instagram-icon img {
  width: 14px;
  height: 14px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 120px 64px 40px;
  background: var(--night);
  color: #e5e1d8;
  text-align: center;
}

.site-footer h2 {
  position: relative;
  margin: 0;
  font-size: 40px;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer p {
  position: relative;
  margin: 40px 0 0;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-style: italic;
}

.site-footer .button {
  position: relative;
  margin-top: 16px;
}

.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 80px;
  border-top: 1px solid rgba(229, 225, 216, 0.13);
  padding-top: 32px;
  color: rgba(229, 225, 216, 0.4);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

@keyframes heroTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-2350px);
  }
}

@keyframes mobileHeroTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-1008px);
  }
}

@keyframes instagramTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 32px 24px;
  }

  .site-header nav {
    display: none;
  }

  .brand {
    font-size: 20px;
  }

  .hero {
    display: flex;
    min-height: 888px;
    flex-direction: column;
  }

  .hero-content {
    width: 100%;
    padding: 100px 24px 0;
  }

  .hero-content .eyebrow {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 20px;
  }

  .hero h1 {
    max-width: 342px;
    font-size: 48px;
    line-height: 1.1;
  }

  .hero-summary,
  .hero-meta {
    display: none;
  }

  .button-outline {
    width: 100%;
  }

  .hero-collie {
    width: 330px;
    height: 330px;
    margin: 64px auto 0;
    border-radius: 50%;
  }

  .hero-collie img {
    width: 150%;
    transform: translateX(-12%);
  }

  .ticker-rule {
    height: 16px;
    margin: 0 20px;
  }

  .ticker-window {
    height: 180px;
    padding: 0 6px;
  }

  .ticker-track {
    gap: 6px;
  }

  .hero-ticker-track {
    animation: mobileHeroTicker 25s linear infinite;
  }

  .ticker-card,
  .ticker-card:nth-child(n) {
    width: 120px;
    height: 180px;
    border-radius: 16px;
  }

  .ticker-pill,
  .ticker-oval,
  .ticker-round {
    border-radius: 60px;
  }

  .work-section {
    padding: 80px 24px;
  }

  .section-intro {
    display: block;
    margin-bottom: 64px;
  }

  .section-intro h2 {
    font-size: 40px;
  }

  .section-intro p {
    display: none;
  }

  .work-grid {
    display: block;
  }

  .work-card + .work-card {
    margin-top: 64px;
  }

  .work-card img,
  .work-large img,
  .work-medium img,
  .work-short img,
  .work-tall img {
    height: 500px;
  }

  .work-medium {
    padding-top: 0;
  }

  .work-card p {
    font-size: 18px;
  }

  .maker-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 48px 24px;
  }

  .maker-copy h2 {
    font-size: 44px;
  }

  .maker-copy p:not(.maker-label) {
    font-size: 18px;
  }

  .maker-image {
    width: 100%;
    height: 420px;
  }

  .commission-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px 40px;
  }

  .commission-image {
    width: 100%;
    height: 320px;
    border-radius: 16px;
  }

  .commission-copy {
    text-align: center;
  }

  .commission-copy h2 {
    font-size: 36px;
  }

  .commission-copy .button {
    width: 100%;
  }

  .instagram-section {
    gap: 16px;
    padding: 24px;
  }

  .instagram-divider,
  .instagram-heading p {
    display: none;
  }

  .instagram-heading h2 {
    color: var(--gold);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    line-height: 1;
    text-transform: none;
  }

  .instagram-track {
    gap: 12px;
    animation-duration: 28s;
  }

  .instagram-track figure {
    width: 171px;
    height: 180px;
    border-radius: 16px;
  }

  .instagram-button {
    background: var(--night);
    color: var(--cream);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
  }

  .instagram-icon {
    background: transparent;
  }

  .site-footer {
    padding: 80px 24px 40px;
  }

  .site-footer h2 {
    font-size: 24px;
  }

  .site-footer p {
    font-size: 20px;
  }

  .footer-bottom {
    display: block;
    margin-top: 64px;
    border-top: 0;
    padding-top: 0;
    font-size: 9px;
  }

  .footer-bottom span + span {
    display: none;
  }
}

@media (max-width: 430px) {
  .work-card img,
  .work-large img,
  .work-medium img,
  .work-short img,
  .work-tall img {
    height: min(500px, 128vw);
  }

  .intro-brand {
    white-space: normal;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .ticker-window,
  .instagram-window {
    overflow-x: auto;
  }
}
