/* Atelier Joyeux — static site styles */
/* Monochrome editorial: flat, bordered, tracked caps, serif italics, arrow-links. */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@300;400;500;600&display=swap");

:root {
  --paper: #f7f5f1;
  --paper-alt: #efece4;
  --white: #fffefb;
  --ink: #16140f;
  --ink-soft: #55503f;
  --muted: #948d78;
  --line: rgba(22, 20, 15, 0.16);
  --line-strong: rgba(22, 20, 15, 0.35);

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, blockquote, p {
  margin: 0;
}

em, i {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--light {
  color: rgba(247, 245, 241, 0.7);
}

.font-display {
  font-family: var(--font-display);
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h2.caps {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

h3, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.text-soft {
  color: var(--ink-soft);
}

.rule {
  width: 2.5rem;
  height: 1px;
  background: var(--line-strong);
  margin: 1.1rem auto 0;
}

.rule.left {
  margin: 1.1rem 0 0;
}

/* Arrow links (replace filled buttons) */
.arrow-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.3rem;
  transition: border-color 0.2s ease, color 0.2s ease, gap 0.2s ease;
}

.arrow-link:hover {
  border-color: var(--ink);
  gap: 0.8rem;
}

.arrow-link--invert {
  color: var(--white);
  border-color: rgba(255, 254, 251, 0.45);
}

.arrow-link--invert:hover {
  border-color: var(--white);
}

.arrow-link .arrow {
  transition: transform 0.2s ease;
}

.arrow-link:hover .arrow {
  transform: translateX(2px);
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 0 var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.25rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-brand img {
  height: 2.25rem;
  width: auto;
}

.nav-brand span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.active {
  color: var(--ink);
  border-color: var(--ink);
}

.nav-toggle {
  display: flex;
  padding: 0.5rem;
  margin-right: -0.5rem;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-mobile {
  display: none;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 1.5rem;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nav-mobile a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Hero */
.hero {
  padding: 3.5rem 0 5rem;
}

.hero-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-body {
  max-width: 40rem;
  margin: 3rem auto 0;
  text-align: center;
}

.hero-body h1 {
  margin-top: 1rem;
}

.hero-body .eyebrow {
  display: block;
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Page hero (non-home) */
.page-hero {
  padding: 6.5rem 0 4rem;
  text-align: center;
}

.page-hero .lede {
  margin: 1.25rem auto 0;
  text-align: center;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-tight {
  padding: 5rem 0;
}

.section-paper {
  background: var(--paper);
}

.section-alt {
  background: var(--paper-alt);
}

.section-ink {
  background: var(--ink);
  color: var(--paper);
}

.section-head {
  margin-bottom: 3.5rem;
}

.section-head.center {
  text-align: center;
}

.section-head h2 {
  margin-top: 0.75rem;
  color: var(--ink);
}

.section-ink .section-head h2 {
  color: var(--white);
}

.section-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Intro / about grid */
.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 720px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }
}

.split-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media.order-first {
  order: -1;
}

.tag-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}

.tag-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.tag-list li:first-child {
  border-top: 1px solid var(--line);
}

/* Photo grid (teaser) */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.teaser-grid .tile {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper);
}

.teaser-grid .tile.big {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1 / 1;
}

.teaser-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tile:hover img {
  transform: scale(1.04);
}

@media (min-width: 640px) {
  .teaser-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Numbered columns (services) */
.numbered-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 720px) {
  .numbered-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem;
  }
}

.numbered-col {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.75rem;
}

.numbered-col .index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
}

.numbered-col h3 {
  margin-top: 0.75rem;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.numbered-col p.desc {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.numbered-col ul {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.numbered-col li {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.numbered-col .price {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.numbered-col .arrow-link {
  margin-top: 1.5rem;
}

/* Testimonials */
.quote-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (min-width: 720px) {
  .quote-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quote {
  background: var(--paper);
  padding: 2.5rem;
}

.quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
}

.quote figcaption {
  margin-top: 1.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  text-align: center;
}

.cta-band .lede {
  margin: 1rem auto 0;
  text-align: center;
}

.cta-band .arrow-link {
  margin-top: 2.25rem;
}

.cta-band .follow {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.cta-band .follow a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Values / process grids */
.value-grid,
.process-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.section-ink .step-number {
  color: rgba(247, 245, 241, 0.55);
}

/* FAQ */
.faq {
  max-width: 46rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Portfolio */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.filter-btn {
  padding-bottom: 0.35rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  color: var(--ink);
}

.filter-btn.active {
  color: var(--ink);
  border-color: var(--ink);
}

.masonry {
  column-count: 2;
  column-gap: 1.25rem;
}

@media (min-width: 640px) {
  .masonry {
    column-count: 3;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  overflow: hidden;
  cursor: zoom-in;
  display: block;
  width: 100%;
  border: 1px solid var(--line);
}

.masonry-item img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.masonry-item:hover img {
  transform: scale(1.03);
}

.masonry-item.is-hidden {
  display: none;
}

.empty-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 2rem 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(22, 20, 15, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--white);
  padding: 0.5rem;
}

.lightbox-close svg {
  width: 26px;
  height: 26px;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-list {
  display: flex;
  flex-direction: column;
  margin: 2.5rem 0;
}

.info-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.info-list li:first-child {
  border-top: 1px solid var(--line);
}

.info-list .label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-direct {
  border: 1px solid var(--line-strong);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-direct-item .label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
  display: block;
}

.contact-direct-item a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  transition: color 0.2s ease;
}

.contact-direct-item a:hover {
  color: var(--ink-soft);
}

blockquote.pull {
  border-left: 1px solid var(--line-strong);
  padding-left: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.pull-cite {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--paper-alt);
}

.footer-grid {
  display: grid;
  gap: 3rem;
  padding: 4.5rem 0;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-grid img {
  height: 2.75rem;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-grid .brand-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-grid p.tagline {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(239, 236, 228, 0.65);
  max-width: 20rem;
}

.footer-grid h4 {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(239, 236, 228, 0.5);
  margin-bottom: 1.1rem;
}

.footer-grid ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(239, 236, 228, 0.12);
}

.footer-bottom p {
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: rgba(239, 236, 228, 0.45);
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
