@font-face {
    font-family: 'CursiveTypewriter-Regular';
    src: url('fonts/CursiveTypewriter-Regular.woff2') format('woff2'),
        url('fonts/CursiveTypewriter-Regular.woff') format('woff'),
        url('fonts/CursiveTypewriter-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


:root{
    --linen:      #e6e0ce;
    --linen-deep: #d8d1bb;
    --ink:        #26221e;
    --indigo:     #3a5670;
    --moss:       #6e7b47;
    --burgundy:   #700038;
    --lavender:   #a36adf;

    --display: "CursiveTypewriter-Regular", cursive;
    --body:    "Karla", system-ui, sans-serif;

    --gutter: clamp(1.25rem, 5vw, 4rem);
  }

  *{ box-sizing: border-box; }

  html{ scroll-behavior: smooth; }

  body{
    margin: 0;
    background-color: var(--linen);
    background: url('images/linen-tile-new.jpg') repeat top center;
    color: var(--ink);
    font-family: var(--body);
    font-size: clamp(1rem, .95rem + .2vw, 1.0625rem);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }

  a{ color: inherit; }

  .wrap{
    width: min(72rem, 100% - var(--gutter) * 2);
    margin-inline: auto;
  }

  /* ---------- navigation ---------- */
  .site-nav{
    padding: clamp(1.25rem, 4vw, 2.25rem) 0 0;
  }
  .site-nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: clamp(1.25rem, 5vw, 2rem);
    row-gap: clamp(1.25rem, 1vw, 2rem);
  }
  .site-nav a{
    font-size: 2.2rem;
    font-family: var(--display);
    text-decoration: none;
    padding-bottom: .2rem;
    border-bottom: 2px dashed transparent;
    transition: border-color .2s, color .2s;
  }
  .site-nav a:hover,
  .site-nav a:focus-visible{
    color: var(--burgundy);
    border-bottom-color: var(--burgundy);
  }

  /* ---------- wreath + title ---------- */
  /* The container matches the artwork's 1150 x 1203 ratio, so every
     percentage below is measured against the image itself.
     Trailerstays locked inside the stitched frame at any width. */
  .title-and-trailer {
    position: relative;
    width: 100%;
    max-width: 52rem;
    margin: clamp(1.5rem, 5vw, 3rem) auto 0;
    aspect-ratio: 1150 / 1203;
    background: url('images/wildfur-title.png') no-repeat center / 100% 100%;
  }

  /* Centered in pink background frame. */
  .trailer {
    position: absolute;
    left: 48.6%;
    top: 73.1%;
    transform: translate(-50%, -50%);
    width: 70%;
    aspect-ratio: 16 / 9;
  }
  .trailer iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
  }


  /* The title is stitched into the artwork: the h1  tag is for search engines
     and screen readers only. */
  .film-title{
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  /* ---------- premiere ---------- */
  .premiere{
    text-align: center;
    margin: clamp(2rem, 5vw, 3rem) auto clamp(3rem, 8vw, 5rem);
  }
  .premiere p{
    margin: 0 0 1.25rem;
    font-family: var(--display);
    font-size: 2rem;
    line-height: 1.35;
  }
  .premiere em{
    display: block;
    font-family: var(--display);
    font-style: normal;
    font-size: 2.5rem;
    color: var(--burgundy);
  }
  .ticket-link{
    display: inline-block;
    padding: .7rem 2rem;
    background: var(--burgundy);
    color: var(--linen);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--burgundy);
    box-shadow: 4px 4px 0 rgba(38,34,30,.25);
    transition: transform .15s, box-shadow .15s;
  }
  .ticket-link:hover,
  .ticket-link:focus-visible{
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 rgba(38,34,30,.25);
  }

  /* ---------- content sections ---------- */
  .seam{
    border: 0;
    border-top: 1px dashed whitesmoke;
    margin: 0;
  }
  .section{
    padding: clamp(2.5rem, 7vw, 4.5rem) 0;
    max-width: 44rem;
    margin-inline: auto;
  }
  .section h2{
    margin: 0 0 1.25rem;
    font-family: var(--display);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.15;
  }
  .section p{ margin: 0 0 1rem; max-width: 40rem; }
  .section p:last-child{ margin-bottom: 0; }

  /* ---------- stitched fabric patches ---------- */
  #about,
  #bio{
    font-weight: 600;
    --band: clamp(1.1rem, 3.5vw, 2rem);
    border-style: solid;
    border-image-repeat: stretch;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3.5vw, 2.25rem);
    margin-block: clamp(2rem, 6vw, 3.5rem);
  }

  #about{
    border-width: var(--band) calc(var(--band) * 1.1) calc(var(--band) * 1.35) calc(var(--band) * 1.1);
    border-image-source: url('images/green-patch-trans.png');
    border-image-slice: 55 60 75 60 fill;
  }

  #bio{
    border-width: var(--band) calc(var(--band) * 1.05) calc(var(--band) * 1.1) var(--band);
    border-image-source: url('images/blue-patch-trans.png');
    border-image-slice: 55 58 60 55 fill;
  }

  .contact-list{
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .contact-list a{
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 2px dashed var(--indigo);
    padding-bottom: .2rem;
  }
  .contact-list a:hover,
  .contact-list a:focus-visible{ color: var(--indigo); }

  .events{
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .events li{
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: .25rem 1.5rem;
    padding: 1.1rem 0;
    border-top: 1px solid rgba(38,34,30,.4);
  }
  .events li:last-child{ border-bottom: 1px solid rgba(38,34,30,.4); }
  .events time{
    font-family: var(--display);
    font-size: 2rem;
  }
  .events strong{ font-weight: 600; }
  .events small{
    display: block;
    color: rgba(38,34,30,.7);
  }

  .crow {
    margin: 0 auto;
    max-width: 240px;
    img {
      width: 100%;
    }
  }

  .site-foot{
    padding: 2.5rem 0 3.5rem;
    text-align: center;
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(38,34,30,.6);
  }

  @media (max-width: 34rem){
    .events li{ grid-template-columns: 1fr; }
  }

  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior: auto; }
    *{ transition-duration: .01ms !important; }
  }