/* Tone Farmers, tonefarmers.com
   Palette and type carried over from the Shopify theme it replaces:
   cream background, near-black text, gold accent; Abril Fatface + Crimson Text. */

:root {
  --bg: #faf8f6;
  --bg-2: #f0eeea;
  --ink: #191919;
  --ink-soft: #4a4744;
  --line: #e4e2e0;
  --gold: #c2a35e;
  --gold-dark: #a88a47;
  --dark: #141311;
  --dark-text: #ece7df;
  --max: 1120px;
  --display: "Abril Fatface", Georgia, serif;
  --body: "Crimson Text", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.1875rem;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}
/* Headings are capitals, as on the Shopify site: sizes measured from it at a 1280 window. */
h1, h2, h3, h4 { text-transform: uppercase; letter-spacing: 0.02em; line-height: 0.95; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.1rem + 3.3vw, 3.45rem); }
h2 { font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem); }
p { margin: 0 0 1.1em; }
.lede { font-size: 1.35rem; color: var(--ink-soft); }
.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--gold-dark);
  margin: 0 0 1rem;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(3.5rem, 6vw, 7rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.alt { background: var(--bg-2); }
.section.dark { background: var(--dark); color: var(--dark-text); }
.section.dark .eyebrow { color: var(--gold); }
.section.dark .lede { color: #b9b2a6; }
.narrow { max-width: 740px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid var(--gold);
  background: var(--gold);
  color: #fff;
  transition: background .15s, color .15s, border-color .15s;
  cursor: pointer;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.dark .btn.ghost { color: var(--dark-text); border-color: var(--dark-text); }
.dark .btn.ghost:hover { background: var(--dark-text); color: var(--dark); }
.link {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
}
.link:hover { color: var(--gold-dark); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 248, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.nav a {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 1.5px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }

/* Hero */
.hero {
  /* As on the Shopify site: full screen, centered, capitals, one button, the note mark under it. */
  position: relative;
  color: #fff;
  text-align: center;
  min-height: calc(100vh - 73px);
  min-height: calc(100svh - 73px);
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
  background: #000;
}
.hero img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 54.6% 50%;
}
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.75); }
.hero .wrap {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  padding-top: 6rem; padding-bottom: 2rem;
}
.hero h1 {
  color: #fff; margin: 0;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 1.1rem + 3.3vw, 3.45rem);
  line-height: 0.9; letter-spacing: 0.02em;
}
.hero .hero-copy { color: #fff; max-width: 36rem; margin: 2rem 0 0; font-size: 1.25rem; line-height: 1.4; }
.hero .btn { margin-top: 2rem; font-size: 1.125rem; letter-spacing: 0.04em; padding: 0.95rem 2.9rem; }
.hero .mark { width: 32px; height: auto; margin-top: 2rem; }

/* The scrolling band above the footer, as on the Shopify site: 64px capitals, the note mark
   between each, about 90px a second, right to left. */
.marquee { background: #1b1a1b; color: #fff; padding: 60px 0; overflow: hidden; border-bottom: 1px solid #323132; }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee-item {
  display: flex; align-items: center; flex: none;
  gap: clamp(2rem, 6vw, 5rem); padding-right: clamp(2rem, 6vw, 5rem);
  margin: 0; white-space: nowrap;
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2.25rem, 1.4rem + 3.3vw, 4rem);
  line-height: 0.9; letter-spacing: 0.02em;
}
.marquee-item img { height: 1em; width: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* His letter: a cream card over the studio photo, which stays put while the page scrolls. */
.letter {
  position: relative; color: #fff;
  background: #171717 url(/assets/img/studio-2.jpg) center / cover no-repeat fixed;
}
@supports (-webkit-touch-callout: none) { .letter { background-attachment: scroll; } }
.letter::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.letter-inner {
  position: relative;
  min-height: min(100vh, 880px);
  padding: 2rem clamp(1rem, 2.5vw, 2rem);
  display: flex; flex-direction: column; justify-content: space-between; gap: 3rem;
}
.letter h2 { text-align: center; max-width: 9em; margin: 0 auto; font-size: clamp(2.1rem, 1.1rem + 3.3vw, 3.45rem); }
.letter-card { background: #f4f1ea; color: var(--ink); width: min(480px, 100%); padding: 2rem; }
.letter-card h3 { text-indent: 1.5rem; margin: 0 0 2rem; }
.letter-card p { font-size: 1.25rem; line-height: 1.4; margin: 0 0 1.5em; }
.letter-card p:last-child { margin-bottom: 0; }

.section.dark .artist .role { color: #b9b2a6; }
.section.alt h2 + h3 { margin-bottom: 1.5rem; }

/* Two-column prose + image */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split img { border-radius: 4px; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 820px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split.flip > :first-child { order: 2; }
}

/* Deal list */
.deal { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.8rem; }
.deal li { padding-left: 1.6rem; position: relative; }
.deal li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 0.7rem; height: 2px; background: var(--gold);
}
.big-split { display: grid; gap: 2rem; }
@media (min-width: 820px) { .big-split { grid-template-columns: 1.1fr 0.9fr; gap: 5rem; } }
.big-split .number { font-family: var(--display); font-size: clamp(4rem, 3rem + 6vw, 9rem); line-height: 1; color: var(--gold); margin: 0; }
.big-split .number small { display: block; font-size: 1.1rem; font-family: var(--body); color: var(--ink-soft); letter-spacing: 0; margin-top: 0.5rem; }

/* Artist cards */
.artists { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .artists { grid-template-columns: repeat(2, 1fr); } }
.artist img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 4px; filter: saturate(0.92); }
.artist h3 { margin: 1.2rem 0 0.4rem; }
.artist .role { color: var(--ink-soft); font-style: italic; margin-bottom: 0.6rem; }
.artist p { font-size: 1.05rem; }
.artist .link { margin-top: 0.2rem; display: inline-block; }

/* Values grid */
.values { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.values p { font-size: 1.05rem; color: var(--ink-soft); margin: 0; }
.dark .values p { color: #b9b2a6; }

/* Contact form */
.form { display: grid; gap: 1.2rem; margin-top: 2rem; }
.form label { display: grid; gap: 0.4rem; font-family: var(--display); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.form input, .form select, .form textarea {
  font: inherit; font-family: var(--body); font-size: 1.1rem;
  padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 4px;
  background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form textarea { min-height: 180px; resize: vertical; }
.form .hidden { display: none; }
.form .btn { justify-self: start; }

/* Footer */
.site-footer { background: var(--dark); color: var(--dark-text); padding: 4rem 0 2.5rem; }
.site-footer .wrap { display: grid; gap: 2rem; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer img { height: 56px; width: auto; margin-bottom: 1rem; }
.site-footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { color: #b9b2a6; font-size: 1.05rem; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid #2a2824; padding-top: 1.5rem; margin-top: 1rem; font-size: 0.95rem; color: #8f887d; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

/* Page header for inner pages */
.page-head { padding: clamp(3rem, 5vw, 5rem) 0 clamp(2rem, 3vw, 3rem); }
.page-head h1 { max-width: 24ch; }
.page-head .lede { max-width: 56ch; }

@media (max-width: 480px) {
  .nav { gap: 1rem; }
  .nav a { font-size: 0.72rem; letter-spacing: 0.06em; }
  .brand img { height: 38px; }
}
