:root {
  color-scheme: light;
  --paper: #fff4e8;
  --paper-deep: #f8e9dc;
  --ink: #342e32;
  --muted: #766d6a;
  --pink: #f151a6;
  --pink-soft: #ffe0ed;
  --indigo: #35345f;
  --lilac: #9995df;
  --line: rgba(52, 46, 50, .18);
  --hand: "Covered By Your Grace", cursive;
  --body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background-color: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
body.home-page { background-image: repeating-linear-gradient(135deg, rgba(53, 52, 95, .026) 0 1px, transparent 1px 32px), repeating-linear-gradient(45deg, rgba(241, 81, 166, .018) 0 1px, transparent 1px 32px); background-size: 128px 128px, 128px 128px; background-attachment: fixed; animation: home-pattern-drift 180s linear infinite; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.site-header { min-height: 84px; padding: 17px 4.8%; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 5; background: var(--paper); animation: header-enter .65s both; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--hand); font-size: 23px; line-height: 1; }
.brand-mark { width: 36px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: var(--indigo); font-size: 20px; }
.main-nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); font-family: var(--hand); font-size: 21px; }
.main-nav a:not(.nav-contact):hover, .site-footer nav a:hover { color: var(--pink); }
.nav-contact { color: var(--pink); display: inline-flex; align-items: center; gap: 8px; }
.nav-contact img, .all-projects-link img, .contact-arrow { width: 27px; height: auto; }
.menu-toggle { display: none; }
.eyebrow { margin: 0 0 16px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.3px; font-size: 11px; line-height: 1.4; font-weight: 700; }
h1, h2, p, figure { margin-top: 0; }
h1, h2 { line-height: 1.03; }
.home-hero { min-height: 565px; padding-top: 42px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6%; position: relative; }
.home-hero, .intro-section, .featured-section { margin-bottom: 32px; }
.hero-copy { padding: 20px 0 44px; }
.hero-copy h1 { max-width: 540px; margin: 0; font-family: var(--hand); font-size: 67px; font-weight: 400; }
.hero-copy h1 span, .intro-copy h2 span, .section-heading h2 span, .page-heading h1 span, .contact-heading h1 span { color: var(--pink); }
.hero-intro { max-width: 370px; margin: 18px 0 25px; font-size: 21px; }
.text-link, .all-projects-link, .submit-link { display: inline-flex; align-items: center; gap: 10px; color: var(--pink); font-family: var(--hand); font-size: 22px; }
.text-link span, .submit-link span { font-family: var(--body); font-size: 17px; transition: transform .2s ease; }
.text-link:hover span, .submit-link:hover span { transform: translate(3px, -3px); }
.hero-photo { width: 100%; aspect-ratio: 1.37; position: relative; margin: 0; background: var(--paper-deep); }
.hero-slide { position: absolute; inset: 0; display: block; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero-slide img.is-active { opacity: 1; }
.hero-photo figcaption { position: absolute; bottom: 16px; left: 16px; padding: 7px 12px; background: var(--paper); font-size: 12px; }
.hero-sticker { position: absolute; right: -27px; top: -24px; width: 100px; aspect-ratio: 1; display: grid; place-content: center; border-radius: 50%; background: var(--pink); color: white; font-family: var(--hand); font-size: 20px; line-height: 1.05; text-align: center; transform: rotate(9deg); }
.hero-controls { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; padding: 5px; color: white; background: rgba(53, 52, 95, .92); }
.hero-controls button { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .55); background: transparent; color: white; cursor: pointer; }
.hero-controls button:hover, .hero-controls button:focus-visible { background: var(--pink); }
.hero-controls [data-carousel-position] { min-width: 40px; text-align: center; font-size: 11px; font-variant-numeric: tabular-nums; }
.hero-index { position: absolute; bottom: 26px; left: 0; color: var(--muted); font-size: 11px; letter-spacing: 1px; }
.intro-section { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 9%; padding-block: 106px 125px; }
.portrait-wrap { width: min(100%, 350px); justify-self: center; position: relative; }
.portrait-wrap img { width: 100%; max-height: 450px; object-fit: contain; object-position: bottom; }
.intro-copy { max-width: 620px; }
.intro-copy h2, .section-heading h2 { margin-bottom: 22px; font-family: var(--hand); font-size: 48px; font-weight: 400; }
.intro-copy > p:not(.eyebrow) { max-width: 560px; color: #51494a; }
.intro-copy .text-link { margin-top: 10px; }
.featured-section { padding-block: 28px 105px; }
.section-heading { text-align: center; margin-bottom: 38px; }
.section-heading .eyebrow { margin-bottom: 3px; }
.section-heading h2 { margin: 0; font-size: 54px; }
.featured-grid { overflow: hidden; }
.featured-track { display: flex; width: max-content; animation: featured-marquee 36s linear infinite; }
.featured-group { display: flex; flex: 0 0 auto; gap: 24px; padding-right: 24px; }
.featured-group > .project-card { flex: 0 0 clamp(280px, 30vw, 390px); }
@keyframes featured-marquee { to { transform: translateX(-50%); } }
@keyframes home-pattern-drift { to { background-position: 128px 128px, -128px 128px; } }
.all-projects-link { justify-content: center; display: flex; width: fit-content; margin: 26px auto 0; }
.contact-banner { overflow: hidden; position: relative; padding: 100px 24px 105px; background-color: var(--pink-soft); text-align: center; }
.contact-banner .eyebrow { margin-bottom: 12px; }
.contact-banner h2 { position: relative; z-index: 1; margin: 0 auto 22px; font-family: var(--hand); font-size: 58px; font-weight: 400; }
.contact-banner > a { position: relative; z-index: 1; color: var(--pink); font-family: var(--hand); font-size: 24px; }
.banner-shape { position: absolute; width: 210px; right: 8%; top: 50%; transform: translateY(-50%) rotate(-10deg); opacity: .9; }
.compact-banner { padding-block: 70px 75px; }
.compact-banner h2 { font-size: 48px; }
.site-footer { min-height: 160px; padding: 35px 5% 24px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 40px; }
.footer-brand { color: var(--indigo); font-size: 24px; font-weight: 700; }
.footer-brand span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 400; }
.site-footer nav { display: flex; gap: 28px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.site-footer > p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }
.projects-page { padding-block: 62px 102px; }
.page-heading { text-align: center; margin-bottom: 40px; }
.page-heading .eyebrow { margin-bottom: 3px; }
.page-heading h1 { margin: 0; font-family: var(--hand); font-weight: 400; font-size: 70px; }
.page-heading > p:last-child { margin: 8px auto 0; color: var(--muted); }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 35px; }
.filter-button { padding: 8px 18px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--ink); cursor: pointer; font-size: 13px; transition: background .2s, color .2s, border-color .2s; }
.filter-button:hover, .filter-button.is-active { color: white; border-color: var(--indigo); background: var(--indigo); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 39px 26px; }
.project-card { min-width: 0; }
.project-art { display: block; height: auto; aspect-ratio: 1.6; position: relative; overflow: hidden; padding: 10px; border: 7px solid #fffdf9; background-color: var(--indigo); background-image: url("REF/card_Tampon.png"); background-repeat: no-repeat; background-position: 82% 16%; background-size: 31% auto; }
.project-art > img:first-child { position: absolute; top: 10px; bottom: 10px; left: 10px; width: 44%; height: calc(100% - 20px); object-fit: cover; transition: transform .35s ease; }
.project-card:hover .project-art > img:first-child { transform: scale(1.035); }
.project-art::after { content: ""; position: absolute; top: 10px; bottom: 10px; left: calc(44% + 10px); border-left: 1px solid var(--lilac); }
.art-photo, .art-indigo { background-color: var(--indigo); }
.art-pink { background-color: #4a3556; }
.art-note { position: absolute; right: 4%; top: 56%; width: 47%; color: white; font-family: var(--hand); font-size: clamp(18px, 2.1vw, 29px); line-height: 1.12; text-align: center; text-decoration: underline; text-decoration-color: var(--lilac); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.art-card { background-color: var(--indigo); }
.project-art .art-photo-overlay, .art-tag { display: none; }
.project-card:nth-child(4n + 1) .project-art,
.project-card:nth-child(4n + 4) .project-art { background-color: var(--indigo); }
.project-card:nth-child(4n + 3) .project-art,
.project-card:nth-child(4n + 2) .project-art { background-color: var(--pink); }
.project-info { position: relative; display: grid; gap: 2px; padding: 12px 44px 0 2px; }
.project-info > span:first-child { color: var(--muted); font-size: 11px; letter-spacing: .4px; text-transform: uppercase; }
.project-info strong { font-family: var(--hand); font-size: 25px; font-weight: 400; line-height: 1.15; }
.project-arrow { position: absolute; right: 4px; bottom: 6px; color: var(--pink); font-size: 22px; }
.empty-filter { padding: 22px; color: var(--muted); text-align: center; }
.project-detail { padding-block: 51px 85px; }
.back-link { color: var(--muted); font-family: var(--hand); font-size: 20px; }
.back-link span { margin-right: 6px; color: var(--pink); font-family: var(--body); }
.detail-kicker { display: flex; align-items: center; gap: 9px; margin: 30px 0 25px; }
.detail-separator { color: var(--pink); }
.pink-dot { display: inline-block; width: 8px; aspect-ratio: 1; border-radius: 50%; background: var(--pink); }
.detail-intro { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 28px; }
.detail-intro h1 { margin: 0 0 13px; color: var(--pink); font-family: var(--hand); font-size: 48px; font-weight: 400; }
.detail-intro > div > p { max-width: 400px; color: #51494a; }
.detail-cover { position: relative; margin: 0; aspect-ratio: 1.7; background: var(--paper-deep); }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover figcaption, .detail-gallery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 9px; background: var(--paper); color: var(--muted); font-size: 10px; }
.project-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 64px 0 76px; }
.project-facts div { min-height: 118px; padding: 20px 17px; display: flex; flex-direction: column; justify-content: center; border-bottom: 3px solid var(--indigo); background: #e6e7f6; text-align: left; }
.project-facts div:nth-child(even) { border-bottom-color: var(--pink); background: var(--pink-soft); }
.project-facts dt { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.project-facts dd { margin: 8px 0 0; color: var(--ink); font-family: var(--hand); font-size: 21px; line-height: 1.15; }
.detail-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 16px; }
.detail-gallery figure { aspect-ratio: 1; position: relative; margin: 0; overflow: hidden; background: var(--paper-deep); }
.detail-gallery img { width: 100%; height: 100%; object-fit: contain; }
.gallery-stack { display: contents; }
.gallery-stack figure { min-height: 0; }
.next-project { padding: 100px 20px 20px; text-align: center; }
.next-project h2 { margin: 0 auto 22px; font-family: var(--hand); font-size: 48px; font-weight: 400; }
.contact-page { min-height: 690px; position: relative; padding-block: 76px 110px; }
.contact-heading { max-width: 850px; margin: 0 auto 55px; text-align: center; }
.contact-heading .eyebrow { margin-bottom: 5px; }
.contact-heading h1 { margin: 0 0 14px; font-family: var(--hand); font-size: 65px; font-weight: 400; }
.contact-heading > p:last-child { max-width: 700px; margin: 0 auto; }
.contact-form { width: min(850px, 100%); margin-inline: auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 29px; font-family: var(--hand); font-size: 18px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 9px 2px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; outline: none; background: transparent; color: var(--ink); font-family: var(--body); font-size: 14px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--pink); box-shadow: 0 1px var(--pink); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9b918b; }
.submit-link { margin: 10px auto 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.contact-form .submit-link { display: flex; }
.form-note { min-height: 24px; margin: 13px auto 0; color: var(--muted); text-align: center; font-size: 12px; }
.contact-arrow { position: absolute; width: 36px; right: 9%; bottom: 29%; }
[hidden] { display: none !important; }

body.has-reveal [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); }
body.has-reveal [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
body.has-custom-cursor, body.has-custom-cursor * { cursor: none !important; }
body.has-custom-cursor input, body.has-custom-cursor textarea, body.has-custom-cursor [contenteditable="true"] { cursor: text !important; }
.custom-cursor { position: fixed; top: 0; left: 0; z-index: 10000; width: 18px; height: 18px; pointer-events: none; opacity: 0; transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0) translate(-50%, -50%); transition: opacity .18s ease; }
.custom-cursor.is-visible { opacity: 1; }
.custom-cursor__dot { position: absolute; inset: 4px; border: 2px solid white; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 1px var(--pink), 0 2px 8px rgba(241, 81, 166, .28); transition: transform .2s ease; }
.custom-cursor.is-interactive .custom-cursor__dot { transform: scale(1.55); }
.custom-cursor__wave { position: fixed; z-index: 9999; width: 18px; height: 18px; border: 1px solid rgba(241, 81, 166, .78); border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); animation: cursor-wave .75s ease-out forwards; }
@keyframes cursor-wave { from { opacity: .75; scale: .35; } to { opacity: 0; scale: 3.2; } }
.brand-mark { transition: transform .25s ease, background-color .25s ease; }
.brand:hover .brand-mark { transform: rotate(-9deg) scale(1.08); background: var(--pink); }
.main-nav a, .site-footer nav a, .back-link { transition: color .2s ease, transform .2s ease; }
.nav-contact:hover, .text-link:hover, .all-projects-link:hover, .submit-link:hover { color: var(--indigo); }
.project-card { transition: transform .3s ease; }
.project-card:hover { transform: translateY(-5px); }
.project-card .project-art { transition: box-shadow .3s ease; }
.project-card:hover .project-art { box-shadow: 0 12px 25px rgba(53, 52, 95, .16); }
.project-card .project-arrow { transition: transform .25s ease; }
.project-card:hover .project-arrow { transform: translate(3px, -3px); }
.hero-controls button { transition: background-color .2s ease, transform .2s ease; }
.hero-controls button:active { transform: scale(.92); }
.filter-button { transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.filter-button:hover { transform: translateY(-2px); }
.contact-form input, .contact-form textarea, .contact-form select { transition: border-color .2s ease, box-shadow .2s ease; }
.contact-banner > a { transition: color .2s ease, transform .2s ease; }
.contact-banner > a:hover { display: inline-block; transform: translateY(-3px); color: var(--indigo); }
.banner-shape { animation: shape-drift 7s ease-in-out infinite alternate; }
@keyframes header-enter { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shape-drift { from { translate: 0 -5px; rotate: -2deg; } to { translate: 0 8px; rotate: 2deg; } }

@media (max-width: 760px) {
  .wrap { width: min(100% - 40px, 580px); }
  .site-header { min-height: 70px; padding: 14px 20px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 32px; }
  .menu-toggle { width: 42px; height: 42px; display: grid; align-content: center; justify-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 16px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: absolute; top: calc(100% - 1px); left: 0; right: 0; transform: none; display: none; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 23px; }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 10px 0; }
  .nav-contact img { width: 22px; }
  .home-hero { min-height: unset; padding-top: 25px; grid-template-columns: 1fr; gap: 19px; }
  .hero-copy { padding: 10px 0 0; }
  .hero-copy h1 { font-size: 59px; }
  .hero-intro { margin: 11px 0 15px; font-size: 18px; }
  .hero-photo { width: 100%; aspect-ratio: 1.2; }
  .hero-sticker { width: 76px; right: -12px; top: -16px; font-size: 17px; }
  .hero-photo figcaption { max-width: calc(100% - 144px); bottom: 17px; left: 10px; padding: 6px 8px; font-size: 10px; }
  .hero-controls { right: 8px; bottom: 8px; gap: 4px; padding: 4px; }
  .hero-controls button { width: 29px; height: 29px; }
  .hero-index { display: none; }
  .intro-section { grid-template-columns: 1fr; gap: 34px; padding-block: 82px 88px; }
  .portrait-wrap { width: min(75%, 290px); }
  .intro-copy h2, .section-heading h2 { font-size: 39px; }
  .featured-section { padding-block: 0 78px; }
  .section-heading { margin-bottom: 24px; }
  .home-hero, .intro-section, .featured-section { margin-bottom: 22px; }
  .featured-group { gap: 16px; padding-right: 16px; }
  .featured-group > .project-card { flex-basis: min(82vw, 360px); }
  .all-projects-link { margin-top: 21px; font-size: 20px; }
  .contact-banner { padding: 73px 20px 78px; }
  .contact-banner h2 { font-size: 45px; }
  .banner-shape { width: 110px; right: -22px; top: 17%; opacity: .45; }
  .site-footer { padding: 29px 20px 22px; grid-template-columns: 1fr; gap: 16px; }
  .site-footer nav { flex-wrap: wrap; gap: 10px 20px; }
  .site-footer > p { grid-column: auto; }
  .projects-page { padding-block: 43px 77px; }
  .page-heading { margin-bottom: 27px; }
  .page-heading h1 { font-size: 57px; }
  .filters { justify-content: flex-start; gap: 7px; margin-bottom: 24px; }
  .filter-button { padding: 7px 12px; font-size: 12px; }
  .project-grid { grid-template-columns: 1fr; gap: 25px; }
  .project-art { aspect-ratio: 1.55; background-size: 27% auto; }
  .project-card:nth-child(odd) .project-art { background-color: var(--indigo); }
  .project-card:nth-child(even) .project-art { background-color: var(--pink); }
  .project-art > img:first-child { width: 44%; }
  .art-note { font-size: clamp(19px, 6vw, 26px); }
  .project-info strong { font-size: 23px; }
  .project-detail { padding-block: 36px 64px; }
  .detail-kicker { margin: 22px 0 17px; font-size: 13px; }
  .detail-intro { grid-template-columns: 1fr; gap: 18px; }
  .detail-intro h1 { font-size: 39px; }
  .detail-cover { aspect-ratio: 1.25; }
  .project-facts { grid-template-columns: 1fr 1fr; gap: 9px; margin: 40px 0 48px; }
  .project-facts div { min-height: 91px; padding: 13px; }
  .project-facts dd { font-size: 19px; }
  .detail-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .next-project { padding-top: 69px; }
  .next-project h2 { font-size: 38px; }
  .contact-page { min-height: 0; padding-block: 53px 78px; }
  .contact-heading { margin-bottom: 35px; }
  .contact-heading h1 { font-size: 47px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form label { margin-bottom: 23px; }
  .contact-arrow { width: 25px; right: 4%; bottom: 12%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  body.home-page { animation: none; background-position: 0 0, 0 0; }
  body.has-reveal [data-reveal] { opacity: 1; transform: none; }
  .featured-track { animation: none !important; }
  .featured-group[aria-hidden="true"] { display: none; }
  .custom-cursor__wave { animation: none; display: none; }
}