:root {
  --bg: #ffffff;           /* white, per Ari */
  --ink: #1f1b18;
  --muted: #6b625b;
  --line: #e7dfd6;
  --accent: #FF914D;       /* Ari's orange, from her name lettering */
  --accent-ink: #1f1b18;   /* dark text on orange; white on this orange is hard to read */
  --accent-deep: #c25a17;  /* darker orange for hover text on light backgrounds */
  --card: #fff;
  --max: 1180px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 2em 0 .6em; }
h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
main { min-height: 60vh; padding-bottom: 72px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 20px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
/* her name in Josefin Sans, the closest web font to her banner lettering */
.brand { font-family: "Josefin Sans", var(--sans); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--accent); text-decoration: none; white-space: nowrap; line-height: 1; padding-top: 4px; }
.brand:hover { color: var(--accent-deep); }
#nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: .95rem; }
#nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
#nav a[aria-current] { border-color: var(--accent); }
.menu { display: none; font: 600 .9rem var(--sans); background: none; border: 1px solid var(--ink); border-radius: 999px; padding: 6px 14px; color: var(--ink); }
@media (max-width: 860px) {
  .menu { display: block; }
  #nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  #nav.open { display: flex; }
  #nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  #nav a[aria-current] { color: var(--accent); border-color: var(--line); }
}

/* shared pieces */
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 40px 0 12px; }
.kicker a { text-decoration: none; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.button { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 999px; margin: 4px 6px 4px 0; }
.button:hover { color: var(--accent-ink); filter: brightness(1.08); }
.button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.cta-line { margin-top: 48px; font-size: 1.1rem; }
section > h1:first-child { margin-top: 40px; }

/* home */
.hero { max-width: var(--max); margin: 0 auto; padding: 40px 20px 24px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
.hero h1.hero-line { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 400; line-height: 1.3; max-width: 22ch; }
.hero .kicker { margin-top: 0; }
.hero-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; } .hero-img { order: -1; } .hero-img img { aspect-ratio: 4 / 3; } }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature { position: relative; display: block; text-decoration: none; border-radius: 6px; overflow: hidden; }
.feature img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.feature:hover img { transform: scale(1.04); }
.feature span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; font: 600 1.4rem var(--serif);
  background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
@media (max-width: 700px) { .features { grid-template-columns: 1fr; } .feature img { aspect-ratio: 16 / 10; } }
.clients { text-align: center; }
.clients h2 { font-size: 1rem; font-family: var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 64px; }
.clients p { font-family: var(--serif); font-size: 1.2rem; max-width: 60ch; margin: 0 auto; line-height: 1.8; }

/* home: collage-like strip, 3 equal tiles in view, drifting left about one tile every 4s, on a loop */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.marquee { overflow: hidden; margin-top: 16px; --gap: 10px; --tile: calc((100vw - 2 * var(--gap)) / 3); }
.track { display: flex; width: max-content; animation: drift calc(var(--n) * 4s) linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.set { display: flex; gap: var(--gap); padding-right: var(--gap); }
.tile { width: var(--tile); height: min(calc(var(--tile) * 1.25), 78vh); flex: none; overflow: hidden; border-radius: 3px; background: var(--line); }
.tile img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 700px) { .marquee { --gap: 6px; --tile: 64vw; } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } .marquee { overflow-x: auto; } }

.insta { text-align: center; margin-top: 48px; }
.insta h2 { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: .06em; }
.insta h2 a { text-decoration: none; color: var(--ink); }

/* galleries */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 32px; }
.gallery.two { grid-template-columns: repeat(2, 1fr); }
.gallery.one { grid-template-columns: 1fr; max-width: 820px; }
.gallery a { display: block; overflow: hidden; border-radius: 4px; background: var(--line); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s, opacity .3s; }
.gallery.one img { aspect-ratio: auto; object-fit: contain; }
.gallery a:hover img { transform: scale(1.03); }
@media (max-width: 700px) { .gallery, .gallery.two { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.gallery-page h2 { border-top: 1px solid var(--line); padding-top: 1.2em; }
.project h3 { margin-bottom: .2em; }
.project .meta { color: var(--muted); font-size: .95rem; margin: 0 0 .4em; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(15, 12, 10, .94); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; font: 600 1.4rem var(--sans); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* text pages and posts */
.prose, .post { max-width: 760px; }
.post h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.post .gallery { margin-left: auto; margin-right: auto; }
/* About: text on the left, one small photo beside it on the right; stacks under the text on phones */
.page-about.prose { max-width: 1060px; }
@media (min-width: 860px) {
  /* photo column sized so the photo runs about as long as the bio and statement */
  .page-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); column-gap: 48px; align-items: start; }
  .page-about > * { grid-column: 1; }
  /* stretch the photo down the full height of the text, trimming the sides of the wall rather than Ari */
  .page-about > .gallery.one { grid-column: 2; grid-row: 2 / span 20; align-self: stretch; margin: 8px 0 0; display: block; }
  .page-about .gallery.one.one a { height: 100%; }
  .page-about .gallery.one.one img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 50% 45%; }
}
.page-about .gallery.one a { background: none; display: block; }
.page-about .gallery.one img { max-height: 420px; width: auto; max-width: 100%; }
.page-about h3 { font-family: var(--sans); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
ul.cv { list-style: none; padding: 0; margin: 0 0 1.4em; }
ul.cv li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.page-cv p { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: var(--muted); margin-top: 2em; }

/* news cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; margin-top: 28px; }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.card img, .card .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--line); margin-bottom: 6px; }
.card-date { font-size: .8rem; color: var(--muted); }
.card-title { font: 600 1.15rem/1.3 var(--serif); }
.card:hover .card-title { color: var(--accent); }
@media (max-width: 860px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px 20px; max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; font-size: .95rem; color: var(--muted); }
.foot-name { font: 600 1.2rem var(--serif); color: var(--ink); margin: 0 0 4px; }
.foot-links { display: flex; flex-direction: column; gap: 4px; }
.copy { width: 100%; font-size: .8rem; margin: 0; }

/* No dark mode: the site stays white on every device, per Ari. */
:root { color-scheme: light; }
