@font-face {
  font-family: Fraunces;
  src: url("assets/fraunces-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-latin-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f2ff;
  --ink: #22182f;
  --muted: #514663;
  --lavender: #ded1f5;
  --accent: #136140;
  --focus: #603c9a;
  --ui-font: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-family: var(--ui-font);
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 112px, 1320px); margin-inline: auto; }
.pencil-divider { position: relative; }
.pencil-divider::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(1.95rem, 3vw, 2.45rem);
  background: url("assets/pencil-stroke.svg?v=7") center top / 100% 300% no-repeat;
  pointer-events: none;
}
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .5rem 2.55rem; }
.site-header::before { inset: auto 0 0; transform: scaleY(-1); }
.wordmark { display: block; flex: none; width: clamp(8.5rem, 15vw, 12rem); height: auto; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.8vw, 2.75rem); font-family: "DM Sans", var(--ui-font); font-size: 1rem; font-weight: 600; }
nav a:not(.nav-contact):hover { color: var(--focus); }
.footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-contact { padding: .57em 1.05em; border-radius: 100px; background: var(--accent); color: white; }
nav .nav-contact:hover { background: var(--ink); text-decoration: none; }
.hero { position: relative; padding-block: clamp(3.5rem, 5vw, 5rem); display: grid; grid-template-columns: minmax(0, 1fr) clamp(170px, 21vw, 230px); gap: clamp(1.75rem, 5vw, 5rem); align-items: center; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 650; letter-spacing: -.035em; }
.hero h1 { font-size: clamp(3rem, 6.3vw, 6.45rem); line-height: .98; }
.hero em { font: inherit; color: var(--accent); }
.hero-copy p, .contact-inner p { font-size: 1.08rem; line-height: 1.45; max-width: 35ch; }
.hero-copy p { margin-top: 1.4rem; max-width: 44ch; }
.hero-copy p + p { margin-top: .75rem; }
.hero-portrait { position: relative; width: 100%; }
.hero-portrait { isolation: isolate; }
.hero-portrait img { display: block; width: 100%; height: auto; border-radius: 1.25rem; }
.hero-portrait::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; z-index: -1; background: url("assets/pencil-quote.svg?v=5") center / 100% 100% no-repeat; pointer-events: none; }
.paper-star { position: absolute; width: var(--star-size); aspect-ratio: 1; background: url("assets/pencil-stars.svg?v=5") center var(--star-position, 0%) / 100% 600% no-repeat; pointer-events: none; }
.paper-star--portrait { --star-size: clamp(2.45rem, 4.7vw, 3.75rem); right: -.45rem; top: calc(-1 * var(--star-size) - .2rem); transform: rotate(10deg); }
.paper-star--hero { --star-size: 2.35rem; --star-position: 20%; left: 53%; bottom: 1.3rem; transform: rotate(-17deg); }
.paper-star--hero-high { --star-size: clamp(2.15rem, 3.5vw, 3.2rem); --star-position: 40%; left: 68%; top: .75rem; transform: rotate(13deg); }
.paper-star--hero-low { --star-size: 1.55rem; --star-position: 60%; left: 36%; bottom: .7rem; transform: rotate(-22deg); }
.paper-star--hero-middle { --star-size: clamp(2rem, 4.2vw, 3.85rem); --star-position: 80%; left: 65%; top: 43%; transform: rotate(-9deg); }
.paper-star--hero-right { --star-size: 1.2rem; --star-position: 100%; right: 8%; bottom: 1.2rem; transform: rotate(22deg); }
.paper-star--work { --star-size: 2.15rem; --star-position: 80%; right: 7%; bottom: .3rem; transform: rotate(-21deg); }
.paper-star--work-gap { --star-size: clamp(1.35rem, 2.7vw, 2.45rem); --star-position: 60%; left: 29%; top: calc(100% + var(--project-gap) / 2); transform: translateY(-50%) rotate(8deg); }
.paper-star--gallery-left { --star-size: clamp(1.8rem, 3.8vw, 3.3rem); --star-position: 40%; top: 27%; right: calc(100% + 2.1%); transform: rotate(20deg); }
.paper-star--gallery-right { --star-size: 2.1rem; --star-position: 60%; bottom: 22%; left: calc(100% + 3%); transform: rotate(26deg); }
.paper-star--brands { --star-size: 1.55rem; --star-position: 100%; right: 5%; top: -2.2rem; transform: rotate(18deg); }
.paper-star--brands-left { --star-size: 2.1rem; --star-position: 20%; left: 15%; top: -2.55rem; transform: rotate(12deg); }
.paper-star--brands-middle { --star-size: 1.55rem; left: 61%; top: -1.8rem; transform: rotate(-14deg); }
.paper-star--brands-side { --star-size: clamp(1.35rem, 3.55vw, 3.2rem); --star-position: 80%; right: 7%; bottom: 1.5rem; transform: rotate(24deg); }
.paper-star--services { --star-size: clamp(2.15rem, 4vw, 3.5rem); --star-position: 80%; left: 18%; bottom: 1rem; transform: rotate(28deg); }
.paper-star--services-low { --star-size: 2.1rem; --star-position: 60%; right: 21%; bottom: -3.05rem; transform: rotate(-14deg); }
.paper-star--services-left { --star-size: 1.6rem; --star-position: 100%; left: 5%; bottom: -2.4rem; transform: rotate(12deg); }
.paper-star--contact { --star-size: clamp(1.8rem, 3vw, 2.55rem); --star-position: 40%; right: 1.2rem; bottom: 0; transform: rotate(-7deg); }
.paper-star--contact-low { --star-size: 2.35rem; left: 24%; bottom: .85rem; transform: rotate(10deg); }
.paper-star--contact-right { --star-size: 1.55rem; --star-position: 20%; right: 17%; bottom: .9rem; transform: rotate(-23deg); }
.paper-star--contact-high { --star-size: clamp(1.2rem, 3.9vw, 3rem); --star-position: 60%; left: 38%; top: 2rem; transform: rotate(16deg); }
.button { background: var(--accent); color: white; border-radius: 100px; display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.3rem; min-height: 46px; font-weight: 600; font-size: 1rem; margin-top: 1.1rem; }
.button:hover { background: var(--ink); }
.work-divider { height: 4.55rem; }
.work-divider::before { background-position: center; }
.projects { --project-gap: clamp(1rem, 3vw, 2rem); display: grid; gap: clamp(1.8rem, 4vw, 3rem); }
.project-row { position: relative; display: flex; align-items: flex-start; gap: var(--project-gap); }
.project-row--compact { width: 78%; margin-inline: auto; }
.gallery-doodle {
  position: absolute;
  top: 48%;
  left: calc(100% + .4rem);
  width: clamp(1rem, 2.25vw, 1.8rem);
  height: clamp(1.2rem, 2.65vw, 2.1rem);
  border-top: 2px dashed #9273ba;
  border-right: 2px dashed #9273ba;
  border-top-right-radius: 95%;
  transform: rotate(16deg);
  pointer-events: none;
}
.project-video { display: block; flex: 1 1 0; width: 0; min-width: 0; height: auto; border-radius: .9rem; background: var(--lavender); }
.project-video--wide { flex-grow: 1.778; }
.project-video--portrait { flex-grow: .5625; }
.project-video--four-five { flex-grow: .8; }
.brands { display: grid; justify-items: center; row-gap: .8rem; padding-block: 3.5rem clamp(1.75rem, 3.5vw, 3rem); }
.brands::before { background-position: center bottom; transform: scaleX(-1); }
.services h2 { font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.05; }
.brand-list { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 2.85vw, 2.2rem); padding: 0; margin: 0; list-style: none; }
.brand-list li { display: grid; place-items: center; min-height: clamp(2.25rem, 4.7vw, 3.4rem); }
.brand-list img { display: block; width: auto; height: auto; max-width: clamp(3.4rem, 17.5vw, 8.25rem); max-height: clamp(2rem, 4.7vw, 3.1rem); }
.brand-list img { filter: grayscale(1) brightness(.45) contrast(1.2); opacity: .8; transition: filter .25s, opacity .25s; }
.brand-list li:hover img { filter: none; opacity: 1; }
.services { margin-top: clamp(3rem, 6vw, 5.5rem); margin-bottom: clamp(4.5rem, 8vw, 7rem); padding-top: 3.1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.services::before { transform: scale(-1); }
.services-intro { position: relative; }
.services-intro p { margin-top: .75rem; max-width: 34ch; color: var(--muted); line-height: 1.45; }
.services dl { display: grid; gap: clamp(1.15rem, 2.2vw, 1.8rem); margin: .15rem 0 0; }
dt { font-size: 1.2rem; font-weight: 700; }
dd { margin: .35rem 0 0; color: var(--muted); line-height: 1.45; }
.contact { position: relative; background: var(--lavender); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 1.5rem; padding-block: clamp(2.75rem, 7vw, 7rem); }
.contact h2 { font-size: clamp(2.75rem, 6.2vw, 6.15rem); line-height: .98; }
.contact-copy { position: relative; }
.contact-links { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.35rem 0 0; padding: 0; list-style: none; }
.contact-links a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #eee6fb; }
.contact-links li:nth-child(2) a { background: #ffe39a; }
.contact-links li:nth-child(3) a { background: #cae3d3; }
.contact-links a:hover { filter: brightness(.93); }
.contact-links img { display: block; }
.contact-inner .contact-email { margin-top: .8rem; font-size: 1rem; }
.quote { position: relative; padding: clamp(1.35rem, 2.6vw, 1.85rem); border-radius: 1.6rem; background: rgba(246, 242, 255, .36); }
.quote::before { content: ""; position: absolute; inset: 0; background: url("assets/pencil-quote.svg?v=5") center / 100% 100% no-repeat; pointer-events: none; }
.quote h3 { font-family: Fraunces, Georgia, serif; font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 650; letter-spacing: -.025em; }
.quote > p { margin-top: .4rem; max-width: 44ch; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.3rem; }
.contact-form label { display: grid; gap: .4rem; min-width: 0; font-size: .9375rem; font-weight: 700; }
.contact-form :is(input, textarea) { width: 100%; min-height: 2.85rem; padding: .68rem .8rem; border: 2.5px solid #8d6bb9; border-radius: .8rem .6rem .75rem .65rem; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; font-weight: 400; }
.contact-form :is(input, textarea):focus { outline: none; background-color: #fffaf0; }
.contact-form label:focus-within { color: var(--accent); }
.contact-form textarea { min-height: 7rem; resize: vertical; }
.message-field, .contact-form-footer { grid-column: 1 / -1; }
.contact-form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; }
.contact-form-footer .button { margin-top: 0; border: 0; cursor: pointer; }
.contact-form-footer .button:disabled { opacity: .65; cursor: wait; }
.contact-inner .contact-status { max-width: 100%; font-size: .9375rem; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 84px; color: var(--muted); font-size: .9375rem; }
.footer p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.brands-title { margin: 0 0 .6rem; font-family: "DM Sans", var(--ui-font); font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.services-formats { margin-top: 1rem !important; font-weight: 700; color: var(--ink) !important; line-height: 1.6; }
.contact-inner .contact-note { margin-top: 1.1rem; max-width: 30ch; color: var(--muted); }
.contact-email a:hover { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 960px) {
  .wrap { width: calc(100% - 64px); }
  .paper-star--hero-middle { top: auto; bottom: 1.35rem; left: 73%; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { padding-bottom: 2.25rem; }
  nav { gap: .75rem; font-size: .98rem; }
  .nav-contact { padding: .55em .65em; }
  .hero { grid-template-columns: 1fr; padding-block: 2.6rem 3rem; gap: 1.8rem; }
  .hero h1 { font-size: clamp(2.65rem, 9vw, 4.65rem); }
  .hero-portrait { grid-row: 1; width: clamp(126px, 32vw, 190px); }
  .paper-star--portrait { top: -1.25rem; right: -2rem; }
  .paper-star--hero { left: auto; right: 9%; top: 6.2rem; bottom: auto; }
  .paper-star--hero-high { left: auto; right: 7%; top: 1.15rem; }
  .paper-star--hero-middle { left: auto; right: 27%; top: 8rem; bottom: auto; }
  .paper-star--hero-low { left: 53%; }
  .paper-star--services { --star-size: 1.25rem; left: auto; right: 12%; bottom: -1.4rem; }
  .paper-star--brands-side { right: 9%; bottom: .35rem; }
  .paper-star--contact-high { left: auto; top: .75rem; right: 17%; }
  .services, .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-header { flex-wrap: wrap; padding-block: .85rem 1.95rem; gap: .6rem 1rem; }
  nav { flex-wrap: wrap; }
  .project-row { flex-direction: column; align-items: center; gap: 1.6rem; }
  .project-row--compact { width: 100%; }
  .gallery-doodle { top: auto; bottom: -1.25rem; left: auto; right: 8%; width: 1rem; height: .85rem; transform: rotate(24deg); }
  .paper-star--gallery-left { --star-size: 1.35rem; top: -1.55rem; right: auto; left: 8%; }
  .paper-star--gallery-right { --star-size: 1.05rem; top: -1.2rem; bottom: auto; left: 78%; }
  .project-video { flex: none; width: 100%; }
  .project-video--portrait { width: min(100%, 360px); }
  .project-video--four-five { width: min(100%, 440px); }
}
@media (max-width: 480px) {
  nav { gap: .6rem; }
  .contact-form { grid-template-columns: 1fr; }
}

/* Stop-motion jiggle: a few stars move in steps, like frames shot one by one. */
@keyframes star-frames {
  0%   { translate: 0 0;        rotate: 0deg; }
  12%  { translate: 1px -2px;   rotate: 7deg; }
  24%  { translate: -1px -1px;  rotate: -3deg; }
  36%  { translate: 2px 1px;    rotate: 4deg; }
  48%  { translate: 0 0;        rotate: 0deg; }
  100% { translate: 0 0;        rotate: 0deg; }
}
@media (prefers-reduced-motion: no-preference) {
  .paper-star--hero-high,
  .paper-star--portrait,
  .paper-star--brands-side,
  .paper-star--contact { animation: star-frames 3.2s steps(1, end) infinite; }
  .paper-star--portrait { animation-duration: 2.8s; animation-delay: -.9s; }
  .paper-star--brands-side { animation-duration: 3.6s; animation-delay: -1.7s; }
  .paper-star--contact { animation-duration: 3s; animation-delay: -2.3s; }
}

/* Phones: two-column portfolio so the grid isn't nine screens long. */
@media (max-width: 600px) {
  .projects { display: block; columns: 2; column-gap: .75rem; }
  .project-row { display: contents; }
  .project-row .project-video,
  .project-row .project-video--portrait,
  .project-row .project-video--four-five { display: block; width: 100%; margin: 0 0 .75rem; break-inside: avoid; border-radius: .7rem; }
  .paper-star--work-gap, .paper-star--gallery-left, .paper-star--gallery-right { display: none; }
}
@media (max-width: 600px) {
  .paper-star--brands-side { display: none; }
  .paper-star--contact { bottom: -2.6rem; right: 12%; }
  .footer { flex-wrap: wrap; gap: .4rem 1rem; padding-block: 1.2rem; font-size: .875rem; }
  .footer a { white-space: nowrap; }
}
