/* Alpaca Farms states directory — sample 2 */
:root {
        --navy: #12394b;
        --hero-green: #154c3c;
        --green: #166448;
        --ink: #193b40;
        --muted: #52646a;
        --border: #d7e1e1;
        --orange: #af431c;
      }
      * { box-sizing: border-box; }
      body { margin: 0; color: var(--ink); background: #fff; font: 15px/1.6 system-ui, -apple-system, sans-serif; }
      a { color: inherit; text-underline-offset: 4px; }
      button, select { font: inherit; }
      button, a, select { -webkit-tap-highlight-color: transparent; }
      button { cursor: pointer; }
      .shell { width: min(1220px, calc(100% - 72px)); margin-inline: auto; }
      .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
      .skip { position: absolute; left: -9999px; }
      .skip:focus { left: 20px; top: 12px; z-index: 10; padding: 10px; background: #fff; }
      :focus-visible { outline: 3px solid #df751b; outline-offset: 4px; }
      .site-header { border-bottom: 1px solid var(--border); }
      .header-row { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
      .brand { text-decoration: none; font: bold 29px/1 Georgia, serif; letter-spacing: -.8px; color: var(--green); }
      .brand small { display: block; margin-top: 8px; font: 9px/1.4 system-ui, sans-serif; text-transform: uppercase; letter-spacing: 1.8px; }
      .header-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
      .header-nav a { text-decoration: none; }
      .header-nav [aria-current] { color: var(--green); font-weight: 700; }
      .hero { position: relative; isolation: isolate; margin-top: 24px; padding: 26px; overflow: hidden; border-radius: 5px; color: #fff; background: var(--hero-green); }
      .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; z-index: -1; }
      .hero-caption { position: absolute; right: 12px; bottom: 8px; margin: 0; font-size: 9px; color: white; background: #102d25e6; padding: 3px 7px; border-radius: 2px; }
      .hero-inner { width: min(730px, 66%); padding: 26px 30px; background: var(--hero-green); border-bottom: 5px solid #e4a233; border-radius: 3px; }
      .breadcrumb { display: flex; gap: 12px; color: #d2e1e7; font-size: 11px; margin-bottom: 22px; }
      .breadcrumb a { text-decoration: none; }
      .eyebrow { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 9px; color: var(--green); }
      .hero .eyebrow { color: #f1c15c; }
      h1, h2, h3, p { margin-top: 0; }
      h1 { font: 53px/1.08 Georgia, serif; letter-spacing: -1.7px; margin-bottom: 12px; }
      .hero-copy { max-width: 800px; font-size: 16px; line-height: 1.7; color: #e0ebed; margin-bottom: 25px; }
      .quick-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid #688a7b; }
      .quick-nav > label { width: 100%; font-weight: 700; color: white; font-size: 13px; }
      .state-nav { display: flex; gap: 8px; }
      .quick-nav .select-wrap { width: auto; flex: 1; }
      .select-wrap { position: relative; flex: 1; min-width: 0; }
      .select-wrap:after { content: ''; position: absolute; right: 17px; top: 45%; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); color: var(--ink); pointer-events: none; }
      select { appearance: none; width: 100%; min-height: 47px; border-radius: 4px; border: 1px solid #afc0c5; padding: 11px 36px 11px 14px; background: #fff; color: var(--ink); font-size: 13px; }
      .state-nav button { border: 0; border-radius: 4px; padding: 11px 20px; color: #fff; background: var(--green); font-weight: 750; font-size: 13px; }
      .quick-nav button { background: #e4a233; color: #20343d; padding-inline: 25px; }
      .quick-note { width: 100%; font-size: 11px; color: #d2e6db; margin-top: 2px; }
      .directory { padding-block: 34px 38px; }
      .directory-note { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
      .section-title { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 24px; }
      h2 { font: 34px/1.15 Georgia, serif; letter-spacing: -.7px; margin-bottom: 8px; color: var(--ink); }
      .section-title p { font-size: 13px; color: var(--muted); margin-bottom: 0; }
      .directory-label { display: inline-block; background: var(--green); color: #fff; border-radius: 20px; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: 1px; padding: 8px 16px; white-space: nowrap; }
      .states { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px 13px; }
      .states a { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 4px; min-height: 67px; padding: 10px 12px; font-size: 13px; font-weight: 650; text-decoration: none; transition: border-color .15s, background .15s; }
      .state-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
      .state-text small { font-size: 10px; line-height: 1.3; color: var(--muted); font-weight: 450; }
      .abbr { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; font-size: 9px; font-weight: 750; letter-spacing: .7px; color: var(--green); background: #e6f0e9; border-radius: 50%; }
      .states li:nth-child(3n+2) .abbr { color: #175d87; background: #e6eff7; }
      .states li:nth-child(3n) .abbr { color: #9a3e20; background: #f9ece3; }
      .states a:hover { border-color: var(--green); background: #f3f8f4; }



      .outings { background: #f3f7fa; border-block: 1px solid #d6e1e8; padding-block: 38px 42px; }
      .outings .eyebrow { color: #1e658b; }
      .outings .section-title > p { max-width: 350px; }
      .activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
      .activity-card { --accent: var(--green); background: white; border: 1px solid var(--border); border-top: 5px solid var(--accent); border-radius: 4px; padding: 19px 20px 21px; display: flex; flex-direction: column; }
      .berry { --accent: #a02e49; }
      .forest { --accent: #166448; }
      .blue { --accent: #205d95; }
      .orange { --accent: #b34b20; }
      .purple { --accent: #734693; }
      .teal { --accent: #087181; }
      .activity-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; color: var(--accent); }
      .activity-top > span { font-size: 9px; text-transform: uppercase; font-weight: 800; letter-spacing: 1.3px; }
      .activity-top svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
      .activity-card h3 { font: 25px/1.15 Georgia, serif; letter-spacing: -.4px; margin-bottom: 9px; }
      .activity-card > p { color: var(--muted); font-size: 12px; line-height: 1.65; margin-bottom: 19px; }
      .activity-form { margin-top: auto; }
      .activity-form button { background: var(--accent); padding-inline: 15px; }
      .activity-form select { font-size: 12px; min-height: 44px; padding-left: 10px; }
      .activity-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 6px 30px; align-items: center; }
      .activity-card:last-child .activity-top { grid-column: 1; margin: 0; }
      .activity-card:last-child h3 { grid-column: 1; margin: 0; }
      .activity-card:last-child > p { grid-column: 2; grid-row: 1 / 3; margin: 0; }
      .activity-card:last-child form { grid-column: 3; grid-row: 1 / 3; margin: 0; }
      .reading { padding-block: 38px; }
      .reading-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
      .story { border-left: 3px solid var(--green); padding-left: 18px; }
      .story:nth-child(2) { border-color: #1d6391; }
      .story:nth-child(3) { border-color: #ac4826; }
      .story h3 { font: 24px/1.2 Georgia, serif; margin-bottom: 8px; }
      .story h3 a { text-decoration: none; }
      .story h3 a:hover { text-decoration: underline; }
      .story p { font-size: 12px; color: var(--muted); margin: 0; }
      .further { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 30px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; }
      .further span { color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
      footer { background: var(--navy); color: #d4e2e8; padding-block: 25px; font-size: 11px; }
      .footer-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
      .footer-row a { color: #fff; font: 22px Georgia, serif; text-decoration: none; }
      #journey-sidebar { display: none; }

      @media (min-width: 1100px) {
        .states-layout {
          width: min(1220px, calc(100% - 72px));
          margin-inline: auto;
          display: grid;
          grid-template-columns: minmax(0, 1fr) 300px;
          column-gap: 24px;
        }
        .states-content .shell { width: 100%; }
        .states-content .outings { padding-inline: 20px; }
        .states-content .states { grid-template-columns: repeat(4, minmax(0, 1fr)); }
        #journey-sidebar {
          display: block;
          contain: size;
          overflow: clip;
          margin-block-start: 34px;
        }
      }

      @media (max-width: 1050px) {
        .shell { width: calc(100% - 44px); }
        .states { grid-template-columns: repeat(4, minmax(0, 1fr)); }
        .quick-note { display: none; }
        .activity-grid { gap: 14px; }
        .activity-card { padding-inline: 15px; }
        .activity-card h3 { font-size: 22px; }
        .activity-card:last-child { grid-template-columns: 1fr 1fr; }
        .activity-card:last-child > p { grid-column: 1; grid-row: auto; margin-top: 10px; }
        .activity-card:last-child form { grid-column: 2; grid-row: 1 / 4; }
      }
      @media (max-width: 760px) {
        .shell { width: calc(100% - 36px); }
        .header-row { min-height: 80px; }
        .brand { font-size: 25px; }
        .brand small { font-size: 8px; letter-spacing: 1px; }
        .header-nav { gap: 18px; font-size: 12px; }
        .header-nav a:last-child { display: none; }
        h1 { font-size: 43px; }
        .hero { padding: 0; overflow: visible; background: none; }
        .hero-image { position: static; height: 245px; border-radius: 5px 5px 0 0; object-position: center 52%; }
        .hero-inner { position: relative; width: calc(100% - 24px); margin: -48px auto 0; padding: 23px; }
        .hero-caption { position: static; display: block; width: max-content; max-width: 100%; margin: 7px 12px 0 auto; color: var(--muted); background: none; padding: 0; }
        .hero-copy { font-size: 14px; margin-bottom: 20px; }
        .quick-nav { gap: 12px; flex-wrap: wrap; }
        .quick-nav > label { width: 100%; font-size: 12px; }
        .quick-nav .select-wrap { width: auto; }
        .quick-nav button { padding-inline: 17px; }
        .section-title { display: block; margin-bottom: 20px; }
        h2 { font-size: 29px; }
        .directory-label { margin-top: 15px; }
        .states { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
        .states a { font-size: 12px; padding: 10px; gap: 8px; }
        .abbr { width: 25px; height: 25px; font-size: 8px; }
        .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .outings .section-title > p { margin-top: 12px; }
        .reading-grid { gap: 20px; }
        .story { padding-left: 12px; }
        .story h3 { font-size: 21px; }
      }
      @media (max-width: 540px) {
        .header-nav { gap: 0; }
        h1 { font-size: 38px; letter-spacing: -1px; }
        .eyebrow { font-size: 9px; letter-spacing: 1.5px; }
        .hero .breadcrumb { margin-bottom: 20px; }
        .states { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .states a { min-height: 55px; font-size: 12px; }

        .activity-grid { grid-template-columns: 1fr; gap: 16px; }
        .activity-card { padding: 18px 20px 20px; }
        .activity-card h3 { font-size: 26px; }
        .activity-card > p { font-size: 13px; }
        .activity-card:last-child { display: flex; gap: 0; }
        .activity-card:last-child .activity-top { margin-bottom: 9px; }
        .activity-card:last-child h3 { margin-bottom: 9px; }
        .activity-card:last-child > p { margin: 0 0 19px; }
        .activity-card:last-child form { margin-top: auto; }
        .reading-grid { grid-template-columns: 1fr; gap: 23px; }
        .further { gap: 12px 20px; }
        .further span { width: 100%; }
        .footer-row { flex-wrap: wrap; gap: 10px; }
        .footer-row > span:first-of-type { width: 100%; order: 3; }
      }
      @media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
    
      @media (min-width: 761px) and (max-width: 1050px) {
        .hero { padding: 20px; }
        .hero-inner { width: 76%; padding: 24px; }
        .hero h1 { font-size: 45px; }
      }
      @media (max-width: 540px) {
        .hero { margin-top: 18px; }
        .hero-image { height: 205px; }
        .hero-inner { padding: 21px 18px; }
        .hero .quick-nav .select-wrap { flex-basis: 100%; }
        .hero .quick-nav button { width: 100%; }
      }
