/* ACCESS Partner — page styles. Everything is scoped to #axp. */
/* page ground for this landing page only */
body { background: #141512 !important; }

/* everything is scoped to #axp so the theme can't reach in, and nothing leaks out */
#axp {
  --night: #141512; --raised: #22241f; --line: #3f3f37; --field: #4a4a41;
  --plaster: #eee6d1; --body: #d2cbb9; --muted: #a8a291; --hint: #7d786b; --sea: #62a9ed;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  position: relative; isolation: isolate;
  background: var(--night); color: var(--plaster);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-align: left;
}
#axp *, #axp *::before, #axp *::after {
  box-sizing: border-box; margin: 0; padding: 0; border: 0;
  font: inherit; color: inherit; letter-spacing: inherit; text-transform: none;
  text-decoration: none; background: none; box-shadow: none; list-style: none; float: none;
}
/* film grain over the page */
#axp::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#axp .col { max-width: 540px; margin: 0 auto; container-type: inline-size; }

/* type */
#axp .mono { font-family: var(--mono); font-weight: 500; font-size: 12px; line-height: 1.8; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
#axp .mono b { font-weight: 700; color: var(--plaster); }
#axp .cond { font-family: var(--sans); font-stretch: 62%; font-weight: 900; }
#axp .dot { color: var(--sea); }
#axp .h2 { font-family: var(--sans); font-stretch: 125%; font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -.015em; text-transform: uppercase; }
#axp .lead { font-size: 22px; line-height: 30px; font-weight: 500; }
#axp .p { font-size: 16px; line-height: 26px; color: var(--body); }
#axp .giving-note { font-size: 14px; line-height: 1.75; color: var(--body); }
#axp .security { color: var(--sea); }
#axp a:focus-visible, #axp button:focus-visible, #axp input:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; }

/* header, intro, photo */
#axp .top { height: 56px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
#axp .top .cond { font-size: 26px; letter-spacing: .01em; }
#axp .intro { padding: 16px 24px 28px; display: flex; flex-direction: column; gap: 12px; }
#axp .word { font-size: clamp(42px, 11cqi, 66px); line-height: .98; letter-spacing: -.01em; }
#axp .quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
#axp picture { display: block; }
#axp .hero { display: block; width: 100%; height: auto; }

/* sections */
#axp .sec { padding: 36px 24px; scroll-margin-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
#axp .soft { background: #222b30; border-top-color: #3d4a51; }
#axp .soft + .soft { margin-top: 12px; }
#axp .soft > .mono { color: var(--sea); }

/* buttons */
#axp .btn { min-height: 56px; width: 100%; padding: 12px 14px; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  font-family: var(--sans); font-weight: 700; font-size: 16px; line-height: 1.5; letter-spacing: 0; text-transform: none; text-align: center;
  transition: background-color .15s ease, color .15s ease; }
#axp .btn:active { transform: translateY(1px); }
#axp .btn-fill { background: var(--sea); color: var(--night); }
#axp .btn-fill:hover { background: #5aa1e6; }
#axp .btn-line { box-shadow: inset 0 0 0 2px var(--sea); color: var(--plaster); }
#axp .btn-line:hover { background: rgb(61 143 224 / .12); }
#axp .btn-light { box-shadow: inset 0 0 0 2px var(--plaster); color: var(--plaster); }
#axp .btn-light:hover, #axp .btn-light:focus-visible { background: var(--plaster); color: var(--night); }
#axp .btn-sm { min-height: 48px; width: auto; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { #axp .btn { transition: none; } }

/* monthly: goal, circles, amounts */
#axp .goal-row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }
#axp .goal-row strong { font-size: 27px; font-weight: 700; color: var(--sea); }
#axp .rings { display: grid; grid-template-columns: repeat(var(--cols, 10), minmax(0, 1fr)); gap: 11px; margin-top: 8px; width: 100%; }
#axp .rings span { aspect-ratio: 1; border-radius: 999px; border: 2px solid var(--sea); }
#axp .amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
#axp .amounts button { min-height: 48px; border-radius: 12px; border: 1px solid var(--field); cursor: pointer;
  font-family: var(--sans); font-stretch: 62%; font-weight: 900; font-size: 22px; color: var(--plaster); }
#axp .amounts button.other { font-family: var(--mono); font-stretch: 100%; font-weight: 700; font-size: 12px; letter-spacing: .08em; }
#axp .amounts button[aria-pressed="true"] { border: 2px solid var(--sea); background: rgb(61 143 224 / .14); }

/* projects */
#axp .cards { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
#axp .card { background: var(--raised); border-radius: 12px; padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
#axp .card img { width: 100%; height: auto; border-radius: 10px; object-fit: cover; }
#axp .card .body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#axp .card .tag { color: var(--sea); }
#axp .card h3 { font-size: 21px; line-height: 1.35; font-weight: 600; }
#axp .card p, #axp .needs { font-size: 16px; line-height: 1.65; color: var(--body); }
#axp .needs { padding-left: 20px; margin: 12px 0; }
#axp .needs li { list-style: disc; }
#axp .needs li::marker { color: var(--sea); }
#axp .needs li + li { margin-top: 6px; }
#axp .card .row { margin-top: 10px; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
#axp .card.plain .row { padding-top: 4px; }
#axp .card .btn-line { background: var(--sea); color: var(--night); box-shadow: none; }
#axp .amt { display: flex; flex-direction: column; }
/* hospitality: one card of tiles; the amount is the button */
#axp .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
#axp .tile { min-height: 112px; padding: 14px 12px; border-radius: 12px; border: 1.5px solid var(--sea); background: rgb(98 169 237 / .08);
  display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 2px; cursor: pointer; transition: background-color .15s ease; }
#axp .tile:hover { background: rgb(98 169 237 / .18); }
#axp .tile .t-word { color: var(--sea); font-weight: 700; }
#axp .tile .t-label { font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--plaster); white-space: nowrap; }
#axp .tile .t-amt { margin-top: auto; padding-top: 10px; font-family: var(--sans); font-stretch: 62%; font-weight: 900; font-size: 32px; line-height: 1; color: var(--sea); }
#axp .tile.any .t-amt { font-stretch: 100%; font-weight: 700; font-size: 17px; line-height: 1.3; }
#axp .hosp .giving-note { margin-top: 8px; }
/* mail a check */
#axp .check-link { align-self: flex-start; min-height: 44px; font-size: 15px; color: var(--sea); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#axp .check-link:hover { color: var(--plaster); }
#axp .check-box { border-radius: 12px; background: var(--night); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
#axp .check-box strong { font-size: 20px; line-height: 1.35; font-weight: 700; color: var(--plaster); }
#axp .check-box address { font-style: normal; font-size: 17px; line-height: 1.5; color: var(--plaster); }
#axp .amt .cond { font-size: 28px; line-height: .95; }

/* forms */
#axp label { display: flex; flex-direction: column; gap: 6px; }
#axp input { height: 52px; width: 100%; padding: 0 16px; border-radius: 12px; border: 1px solid var(--field); background: var(--raised);
  color: var(--plaster); font-family: var(--sans); font-size: 16px; letter-spacing: 0; -webkit-appearance: none; appearance: none; }
#axp input::placeholder { color: var(--hint); }
#axp form { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
#axp .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
#axp .ts { min-height: 65px; }
#axp .status { font-family: var(--mono); font-weight: 500; font-size: 12px; line-height: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
#axp .status:empty { display: none; }
#axp .status.err { color: #f0a07a; }
#axp button[disabled] { opacity: .6; cursor: wait; }
/* success notice: a filled sea panel with a check, so it reads as a message, not a button */
#axp .done { background: var(--sea); color: var(--night); border-radius: 14px; padding: 18px 20px; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: start; cursor: default; }
#axp .done .ic { grid-row: 1 / span 2; width: 28px; height: 28px; margin-top: 1px; }
#axp .done h3, #axp .done p { grid-column: 2; color: var(--night); }
#axp .done h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
#axp .done p { font-size: 15px; line-height: 23px; }

/* footer */
#axp .foot { padding: 40px 20px 56px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
#axp .foot .cond { font-size: 40px; line-height: .9; }
#axp .foot .mono { font-size: 14px; line-height: 1.75; }

/* dialogs: project sheet + visit form */
#axp dialog { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 480px; max-height: 92vh; margin: 0 auto; overflow: auto;
  background: var(--raised); color: var(--plaster); border-radius: 24px 24px 0 0; padding: 0; }
#axp dialog.center { inset: 0; margin: auto; width: calc(100% - 32px); max-width: 420px; height: fit-content; border-radius: 20px; }
#axp dialog::backdrop { background: rgb(20 21 18 / .78); }
#axp dialog[open] { animation: axp-up .28s ease-out; }
#axp dialog.center[open] { animation: axp-in .2s ease-out; }
@keyframes axp-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes axp-in { from { transform: scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #axp dialog[open] { animation: none; } }
#axp .sheet:focus { outline: none; }
#axp .sheet { padding: 10px 20px 28px; display: flex; flex-direction: column; gap: 14px; }
#axp .grab { align-self: center; width: 40px; height: 4px; border-radius: 999px; background: var(--field); }
#axp .sheet-top { display: flex; align-items: center; justify-content: space-between; }
#axp .x { width: 44px; height: 44px; margin-right: -10px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--plaster); }
#axp .sheet img { width: 100%; height: 130px; border-radius: 12px; object-fit: cover; }
#axp .sheet h2 { font-size: 26px; line-height: 30px; font-weight: 600; }
#axp .opt { border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
#axp .opt-main { border: 2px solid var(--sea); background: var(--night); }
#axp .opt-alt { border: 1px solid var(--field); }
#axp .opt .head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#axp .opt h3 { font-size: 17px; line-height: 22px; font-weight: 600; }
#axp .opt p { font-size: 15px; line-height: 22px; color: var(--body); }
#axp .opt .btn { margin-top: 8px; min-height: 52px; }
/* quiet invitation to a conversation, below the giving options */
#axp .ask { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 15px; color: var(--body); text-align: center; }
#axp .ask u { color: var(--sea); text-decoration: underline; text-underline-offset: 3px; }
#axp .ask:hover u { color: var(--plaster); }
#axp [hidden] { display: none !important; }

@media (min-width: 720px) {
  #axp .col { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}
@media (max-width: 380px) {
  #axp .quick-links { grid-template-columns: 1fr; }
  #axp .sec { padding: 30px 18px; }
  #axp .rings { gap: 8px; }
}
