/* Shared footer wordmark. Keep the artwork in the existing footer space. */
#footer-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

#footer-preview > .shell {
  position: relative;
}

#footer-preview :is(.jy-footer-address, .jy-footer-bottom) {
  padding-inline-end: 64px;
}

@media (min-width: 1101px) {
  #footer-preview .jy-footer-grid {
    container-type: inline-size;
  }

  #footer-preview .jy-footer-social {
    position: relative;
  }

  #footer-preview .jy-footer-social::after {
    /* Five 44px icons and four 10px gaps form the social row. */
    --social-row-width: 260px;
    --wordmark-width: calc((100cqw - var(--social-row-width) - 10px) * .94);
    content: "";
    position: absolute;
    inset-inline-start: calc((100cqw + var(--social-row-width) - var(--wordmark-width)) / 2);
    inset-block-start: 50%;
    inline-size: var(--wordmark-width);
    aspect-ratio: 9 / 1;
    transform: translateY(-50%);
    background: url("assets/brand/chanstar-wordmark.svg") center / 100% auto no-repeat;
    opacity: .12;
    pointer-events: none;
  }
}

@media (max-width: 1100px) {
  #footer-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/brand/chanstar-wordmark.svg") center 78% / 94% auto no-repeat;
    opacity: .08;
    pointer-events: none;
  }
}

@media (max-width: 760px) {
  /* Mobile brand transition between footer navigation and address. */
  #footer-preview::before {
    content: none;
  }

  #footer-preview .jy-footer-address::after { content: none; }

  #footer-preview .jy-footer-address::before {
    content: "";
    display: block;
    align-self: flex-start;
    inline-size: 100%;
    aspect-ratio: 1247.7392578125 / 130.85458374023438;
    margin: 0 0 8px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%2210.913000106811523%208%201247.7392578125%20130.85458374023438%22%20role%3D%22img%22%20aria-label%3D%22CHANSTAR%22%3E%3Cpath%20d%3D%22M%2093.921%208.067%20C%2052.329%208.117%2C%2037.502%208.448%2C%2034.500%209.392%20C%2032.300%2010.085%2C%2029.423%2011.230%2C%2028.106%2011.938%20C%2026.789%2012.646%2C%2023.711%2015.069%2C%2021.266%2017.322%20C%2018.821%2019.576%2C%2015.624%2023.688%2C%2014.161%2026.460%20L%2011.500%2031.500%2011.206%2070.778%20L%2010.913%20110.055%2013.533%20115.895%20C%2014.975%20119.107%2C%2018.032%20123.572%2C%2020.327%20125.817%20C%2022.622%20128.062%2C%2027.200%20131.159%2C%2030.500%20132.699%20L%2036.500%20135.500%2092.365%20135.790%20C%20141.660%20136.046%2C%20148.510%20135.896%2C%20150.615%20134.517%20C%20152.945%20132.990%2C%20153%20132.621%2C%20153%20118.632%20C%20153%20106.027%2C%20152.781%20104.112%2C%20151.171%20102.655%20C%20149.528%20101.168%2C%20144.871%20101%2C%20105.187%20101%20L%2061.032%20101%2057.887%2098.190%20L%2054.742%2095.380%2054.922%2072.528%20C%2055.022%2059.933%2C%2055.542%2048.856%2C%2056.081%2047.848%20C%2056.619%2046.843%2C%2058.374%2045.341%2C%2059.980%2044.510%20C%2062.455%2043.231%2C%2069.595%2043%2C%20106.750%2043%20C%20139.522%2043%2C%20150.903%2042.697%2C%20151.800%2041.800%20C%20152.624%2040.976%2C%20153%2036.012%2C%20153%2025.955%20C%20153%2013.037%2C%20152.784%2011.115%2C%20151.171%209.655%20C%20149.514%208.155%2C%20144.147%208.006%2C%2093.921%208.067%20M%20187%208%20C%20169.677%208%2C%20168.180%208.144%2C%20166.528%209.969%20C%20164.870%2011.801%2C%20164.717%2016.101%2C%20164.337%2071.479%20L%20163.928%20131.019%20166.419%20133.510%20C%20168.886%20135.977%2C%20169.073%20136%2C%20186.732%20136%20C%20201.245%20136%2C%20204.968%20135.711%2C%20206.777%20134.443%20C%20208.945%20132.925%2C%20209%20132.403%2C%20209%20113.398%20C%20209%2094.039%2C%20209.016%2093.893%2C%20211.455%2091.455%20L%20213.909%2089%20239.232%2089%20C%20260.533%2089%2C%20264.908%2089.247%2C%20266.777%2090.557%20C%20268.945%2092.075%2C%20269%2092.597%2C%20269%20111.602%20C%20269%20130.961%2C%20269.016%20131.107%2C%20271.455%20133.545%20C%20273.879%20135.970%2C%20274.129%20136%2C%20291.955%20136%20C%20308.667%20136%2C%20310.148%20135.852%2C%20312%20134%20C%20313.956%20132.044%2C%20314%20130.667%2C%20314%2071.655%20C%20314%2014.464%2C%20313.904%2011.223%2C%20312.171%209.655%20C%20310.607%208.239%2C%20307.642%208%2C%20291.671%208%20C%20274.333%208%2C%20272.857%208.143%2C%20271%2010%20C%20269.134%2011.866%2C%20269%2013.333%2C%20269%2031.929%20C%20269%2048.712%2C%20268.752%2052.105%2C%20267.429%2053.429%20C%20266.080%2054.777%2C%20262.139%2055%2C%20239.620%2055%20C%20218.542%2055%2C%20213.001%2054.721%2C%20211.441%2053.581%20C%20209.640%2052.264%2C%20209.489%2050.710%2C%20209.353%2032.023%20C%20209.223%2014.344%2C%20208.990%2011.647%2C%20207.448%209.942%20C%20205.827%208.151%2C%20204.234%208%2C%20187%208%20M%20408.500%208.312%20C%20400.919%208.121%2C%20396.078%208.490%2C%20392.925%209.497%20C%20390.408%2010.301%2C%20386.692%2012.568%2C%20384.666%2014.536%20C%20382.641%2016.503%2C%20380.030%2020%2C%20378.866%2022.306%20C%20377.701%2024.613%2C%20364.712%2047.200%2C%20350.002%2072.500%20C%20335.291%2097.800%2C%20321.624%20121.200%2C%20319.630%20124.500%20C%20317.636%20127.800%2C%20316.004%20130.838%2C%20316.003%20131.250%20C%20316.001%20131.662%2C%20316.900%20132.900%2C%20318%20134%20C%20319.848%20135.848%2C%20321.333%20136%2C%20337.599%20136%20C%20351.330%20136%2C%20355.907%20135.663%2C%20358.424%20134.469%20C%20361.062%20133.217%2C%20364.034%20128.880%2C%20374.699%20110.719%20C%20381.875%2098.499%2C%20391.066%2082.719%2C%20395.123%2075.653%20C%20399.180%2068.588%2C%20403.215%2062.423%2C%20404.088%2061.955%20C%20404.962%2061.486%2C%20406.626%2061.351%2C%20407.785%2061.654%20C%20409.035%2061.981%2C%20411.476%2064.913%2C%20413.779%2068.853%20C%20415.916%2072.509%2C%20425.052%2088.276%2C%20434.082%20103.891%20C%20446.038%20124.567%2C%20451.315%20132.787%2C%20453.500%20134.138%20C%20456.122%20135.759%2C%20458.706%20135.993%2C%20474.027%20135.996%20C%20488.277%20135.999%2C%20491.971%20135.709%2C%20493.777%20134.443%20C%20495%20133.587%2C%20496%20132.159%2C%20496%20131.269%20C%20496%20130.380%2C%20492.673%20123.768%2C%20488.607%20116.576%20C%20484.541%20109.384%2C%20470.110%2084.150%2C%20456.538%2060.500%20C%20442.967%2036.850%2C%20430.881%2016.444%2C%20429.681%2015.153%20C%20428.482%2013.862%2C%20425.700%2011.857%2C%20423.500%2010.697%20C%20420.266%208.993%2C%20417.392%208.536%2C%20408.500%208.312%20M%20521.385%208.044%20C%20505.547%208.003%2C%20504.073%208.155%2C%20501.635%2010.073%20L%20499%2012.145%20499%2072.516%20L%20499%20132.887%20501.223%20134.443%20C%20503.027%20135.707%2C%20506.710%20136%2C%20520.788%20136%20C%20531.781%20136%2C%20538.931%20135.584%2C%20540.316%20134.865%20C%20541.517%20134.240%2C%20542.725%20133.528%2C%20543%20133.283%20C%20543.275%20133.037%2C%20543.725%20119.973%2C%20544%20104.251%20C%20544.350%2084.249%2C%20544.840%2075.552%2C%20545.633%2075.288%20C%20546.256%2075.081%2C%20559.226%2087.869%2C%20574.455%20103.706%20C%20589.685%20119.543%2C%20603.350%20133.175%2C%20604.823%20134%20C%20606.884%20135.155%2C%20611.993%20135.574%2C%20627.023%20135.822%20C%20645.726%20136.131%2C%20646.661%20136.055%2C%20649.273%20134%20L%20652%20131.855%20652%2071.927%20C%20652%2013.333%2C%20651.956%2011.956%2C%20650%2010%20C%20648.144%208.144%2C%20646.667%208%2C%20629.500%208%20C%20612.333%208%2C%20610.856%208.144%2C%20609%2010%20C%20607.092%2011.908%2C%20607%2013.333%2C%20607%2040.941%20C%20607%2061.494%2C%20606.670%2070.086%2C%20605.862%2070.585%20C%20605.183%2071.005%2C%20600.240%2066.698%2C%20593.593%2059.894%20C%20587.471%2053.627%2C%20574.371%2040.034%2C%20564.481%2029.686%20C%20550.575%2015.136%2C%20545.593%2010.556%2C%20542.500%209.480%20C%20539.709%208.509%2C%20533.325%208.075%2C%20521.385%208.044%20M%20745.250%208.067%20C%20705.194%208.117%2C%20689.273%208.466%2C%20685.929%209.367%20C%20683.415%2010.045%2C%20679.300%2011.806%2C%20676.785%2013.280%20C%20674.269%2014.755%2C%20671.017%2017.380%2C%20669.558%2019.114%20C%20668.098%2020.848%2C%20665.915%2024.119%2C%20664.707%2026.384%20C%20662.727%2030.092%2C%20662.476%2032.257%2C%20662.174%2048.209%20L%20661.839%2065.918%20665.083%2072.005%20C%20666.867%2075.352%2C%20670.018%2079.430%2C%20672.084%2081.067%20C%20674.150%2082.703%2C%20678.014%2085.045%2C%20680.670%2086.271%20C%20685.314%2088.414%2C%20686.911%2088.519%2C%20722.098%2089%20C%20751.081%2089.396%2C%20759.041%2089.786%2C%20760.348%2090.872%20C%20761.257%2091.627%2C%20762%2093.470%2C%20762%2094.967%20C%20762%2096.465%2C%20761.177%2098.435%2C%20760.171%2099.345%20C%20758.525%20100.834%2C%20753.746%20101%2C%20712.394%20101%20C%20672.425%20101%2C%20666.156%20101.203%2C%20664.223%20102.557%20C%20662.101%20104.043%2C%20662%20104.766%2C%20662%20118.534%20C%20662%20132.624%2C%20662.054%20132.990%2C%20664.384%20134.516%20C%20666.488%20135.895%2C%20673.493%20136.044%2C%20724.134%20135.789%20L%20781.500%20135.500%20787.143%20132.728%20C%20790.246%20131.203%2C%20794.602%20127.986%2C%20796.822%20125.577%20C%20799.042%20123.169%2C%20801.902%20119.242%2C%20803.179%20116.849%20C%20805.345%20112.790%2C%20805.500%20111.368%2C%20805.500%2095.500%20C%20805.500%2079.657%2C%20805.340%2078.178%2C%20803.147%2073.764%20C%20801.852%2071.159%2C%20799.001%2067.236%2C%20796.810%2065.045%20C%20794.620%2062.855%2C%20790.279%2059.811%2C%20787.164%2058.281%20L%20781.500%2055.500%20745.014%2055.192%20C%20713.290%2054.924%2C%20708.299%2054.675%2C%20706.764%2053.287%20C%20705.794%2052.409%2C%20705%2050.435%2C%20705%2048.902%20C%20705%2047.154%2C%20705.829%2045.532%2C%20707.223%2044.557%20C%20709.155%2043.203%2C%20715.403%2043%2C%20755.166%2043%20L%20800.887%2043%20802.443%2040.777%20C%20803.662%2039.037%2C%20804%2035.676%2C%20804%2025.277%20C%20804%2013.333%2C%20803.799%2011.799%2C%20802%2010%20C%20800.047%208.047%2C%20798.713%208.002%2C%20745.250%208.067%20M%20876.655%208%20C%20816.557%208%2C%20813.225%208.094%2C%20811.655%209.829%20C%20810.280%2011.348%2C%20810%2014.041%2C%20810%2025.757%20C%20810%2037.242%2C%20810.291%2040.149%2C%20811.571%2041.429%20C%20812.888%2042.746%2C%20816.183%2043%2C%20831.916%2043%20C%20848.834%2043%2C%20850.854%2043.181%2C%20852.345%2044.829%20C%20853.831%2046.471%2C%20854%2051.057%2C%20854%2089.772%20L%20854%20132.887%20856.223%20134.443%20C%20858.035%20135.713%2C%20861.780%20136%2C%20876.531%20136%20C%20889.619%20136%2C%20895.100%20135.647%2C%20896.363%20134.724%20C%20897.962%20133.555%2C%20898.154%20129.774%2C%20898.660%2089.474%20C%20899.005%2062.012%2C%20899.594%2045.031%2C%20900.228%2044.250%20C%20900.979%2043.327%2C%20906.398%2043%2C%20920.967%2043%20C%20938.804%2043%2C%20940.848%2042.825%2C%20942.345%2041.171%20C%20943.715%2039.657%2C%20944%2036.989%2C%20944%2025.671%20C%20944%2013.333%2C%20943.805%2011.805%2C%20942%2010%20C%20940.042%208.042%2C%20938.667%208%2C%20876.655%208%20M%201009%208.310%20C%201003.225%208.176%2C%20997.372%208.433%2C%20995.994%208.882%20C%20994.615%209.330%2C%20992.140%2010.400%2C%20990.494%2011.259%20C%20988.847%2012.118%2C%20986.314%2014.099%2C%20984.865%2015.661%20C%20983.415%2017.222%2C%20972.553%2035.150%2C%20960.727%2055.500%20C%20948.900%2075.850%2C%20934.227%20101.050%2C%20928.118%20111.500%20C%20922.010%20121.950%2C%20917.009%20131.232%2C%20917.006%20132.128%20C%20917.003%20133.023%2C%20917.641%20134.287%2C%20918.425%20134.938%20C%20919.444%20135.783%2C%20925.400%20136.032%2C%20939.323%20135.810%20C%20956.782%20135.532%2C%20959.012%20135.304%2C%20960.889%20133.603%20C%20962.040%20132.560%2C%20965.089%20128.060%2C%20967.664%20123.603%20C%20970.239%20119.146%2C%20975.574%20110.100%2C%20979.519%20103.500%20C%20983.464%2096.900%2C%20990.397%2085.084%2C%20994.925%2077.243%20C%20999.454%2069.401%2C%201003.951%2062.562%2C%201004.918%2062.044%20C%201005.885%2061.526%2C%201007.646%2061.356%2C%201008.832%2061.666%20C%201010.223%2062.030%2C%201012.472%2064.937%2C%201015.175%2069.865%20C%201017.479%2074.064%2C%201025.436%2088.075%2C%201032.858%20101%20C%201040.281%20113.925%2C%201047.444%20126.424%2C%201048.777%20128.776%20C%201050.110%20131.128%2C%201052.483%20133.715%2C%201054.050%20134.526%20C%201056.266%20135.672%2C%201061.099%20136%2C%201075.750%20136%20C%201089.078%20136%2C%201094.952%20135.648%2C%201095.800%20134.800%20C%201096.460%20134.140%2C%201097%20132.892%2C%201097%20132.027%20C%201097%20131.162%2C%201087.522%20113.815%2C%201075.938%2093.477%20C%201064.354%2073.140%2C%201050.317%2048.400%2C%201044.744%2038.500%20C%201039.171%2028.600%2C%201033.576%2019.110%2C%201032.310%2017.411%20C%201031.044%2015.712%2C%201027.644%2013.024%2C%201024.754%2011.438%20C%201020.028%208.843%2C%201018.444%208.529%2C%201009%208.310%20M%201168.523%208.221%20C%201113.223%207.972%2C%201106.256%208.114%2C%201104.250%209.528%20L%201102%2011.113%201102%2072.057%20C%201102%20131.667%2C%201102.044%20133.044%2C%201104%20135%20C%201105.850%20136.850%2C%201107.333%20137%2C%201123.777%20137%20C%201138.249%20137%2C%201141.968%20136.711%2C%201143.777%20135.443%20C%201145.917%20133.944%2C%201146.001%20133.285%2C%201146.015%20117.693%20C%201146.025%20106.670%2C%201146.432%20100.702%2C%201147.292%2099%20C%201148.486%2096.634%2C%201149.061%2096.484%2C%201158.027%2096.207%20C%201163.237%2096.046%2C%201168.475%2096.157%2C%201169.666%2096.455%20C%201170.921%2096.768%2C%201178.886%20105.629%2C%201188.607%20117.527%20C%201197.833%20128.819%2C%201206.309%20138.284%2C%201207.441%20138.560%20C%201208.573%20138.837%2C%201220.488%20138.936%2C%201233.917%20138.782%20C%201249.068%20138.607%2C%201258.454%20138.120%2C%201258.649%20137.500%20C%201258.822%20136.950%2C%201251.997%20127.525%2C%201243.482%20116.556%20C%201234.967%20105.586%2C%201228%2096.518%2C%201228%2096.403%20C%201228%2096.289%2C%201231.065%2095.264%2C%201234.810%2094.126%20C%201238.556%2092.989%2C%201243.527%2090.676%2C%201245.858%2088.988%20C%201248.189%2087.299%2C%201251.430%2083.814%2C%201253.061%2081.243%20C%201254.691%2078.673%2C%201256.467%2074.979%2C%201257.007%2073.035%20C%201257.547%2071.091%2C%201257.991%2062.204%2C%201257.994%2053.288%20C%201257.999%2039.330%2C%201257.712%2036.305%2C%201255.929%2031.541%20C%201254.694%2028.240%2C%201251.838%2023.796%2C%201248.851%2020.527%20C%201245.575%2016.943%2C%201241.544%2013.916%2C%201237.194%2011.774%20L%201230.545%208.500%201168.523%208.221%20M%201178.946%2043%20C%201149.251%2043%2C%201149.106%2043.010%2C%201147.557%2045.223%20C%201146.701%2046.445%2C%201146%2049.495%2C%201146%2052%20C%201146%2054.505%2C%201146.701%2057.555%2C%201147.557%2058.777%20C%201149.106%2060.989%2C%201149.262%2061%2C%201178.634%2061%20L%201208.154%2061%201211.202%2057.952%20C%201213.903%2055.251%2C%201214.186%2054.425%2C%201213.688%2050.712%20C%201213.340%2048.112%2C%201212.300%2045.852%2C%201210.952%2044.760%20C%201208.986%2043.168%2C%201205.934%2043%2C%201178.946%2043%22%20stroke%3D%22none%22%20fill%3D%22%231B1D1F%22%20fill-rule%3D%22evenodd%22%2F%3E%3Cpath%20d%3D%22M%20406%2086%20L%20434%20131%20L%20378%20131%20Z%22%20fill%3D%22%23FFB600%22%20stroke%3D%22%23FFB600%22%20stroke-width%3D%228%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M%201007%2086%20L%201035%20131%20L%20979%20131%20Z%22%20fill%3D%22%23FFB600%22%20stroke%3D%22%23FFB600%22%20stroke-width%3D%228%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
    opacity: .08;
    pointer-events: none;
  }

  #footer-preview .jy-footer-address { padding-inline-end: 0; }
  #footer-preview .jy-footer-nav summary { align-items: center; min-height: 44px; gap: 16px; }
  #footer-preview .jy-footer-nav summary > span { display: none; }
  #footer-preview .jy-footer-nav summary::after {
    content: "";
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e8edeb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%233b4642' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
    transition: transform .18s ease, background-color .18s ease;
  }
  #footer-preview .jy-footer-nav[open] summary::after { transform: rotate(180deg); }
  #footer-preview .jy-footer-nav summary:is(:hover, :active, :focus-visible)::after { background-color: #e8edeb; }
  @media (prefers-reduced-motion: reduce) {
    #footer-preview .jy-footer-nav summary::after { transition: none; }
  }

  #footer-preview .jy-footer-bottom {
    padding-inline-end: 44px;
  }

  #footer-preview .jy-footer-bottom > div {
    flex-wrap: wrap;
  }
}
