/* ===== One Last Thank You program (Nov 11) =====
   Header button + landing page styles.
   Uses the live palette (teal / deep / gold / cream) and live fonts. */
:root {
  --olty-rose: #A8323E;      /* heart red taken from the printed card */
  --olty-blush: #F6E7E4;
  --olty-paper: #F8F5EC;     /* card stock colour from the print file */
}

/* —— Header: slim ribbon above the existing nav (desktop/tablet) —— */
.olty-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  padding: .4rem 1rem;
  background: linear-gradient(90deg, rgba(251,245,234,0) 0%, var(--cream) 18%, #fbf0e6 50%, var(--cream) 82%, rgba(251,245,234,0) 100%);
  border-bottom: 1px solid rgba(200,165,90,.28);
}
.olty-bar-note {
  font-family: var(--font);
  font-size: .86rem;
  color: var(--muted);
  letter-spacing: .01em;
  white-space: nowrap;
}
.olty-btn.btn {
  gap: .45rem;
  padding: .38rem 1.05rem .38rem .85rem;
  font-size: .9rem;
  background: var(--white);
  color: var(--deep);
  border: 1.5px solid var(--gold);
  box-shadow: 0 2px 0 rgba(200,165,90,.28);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.olty-btn.btn:hover,
.olty-btn.btn:focus-visible {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 0 rgba(14,90,99,.18), 0 0 0 4px rgba(200,165,90,.22);
  outline: none;
}
.olty-btn.btn[aria-current="page"] { background: var(--deep); border-color: var(--deep); color: var(--white); }
.olty-heart { width: 15px; height: 15px; flex: none; fill: var(--olty-rose); transition: fill .15s ease, transform .3s ease; }
.olty-btn.btn:hover .olty-heart,
.olty-btn.btn:focus-visible .olty-heart,
.olty-btn.btn[aria-current="page"] .olty-heart { fill: #f2b8bf; transform: scale(1.12); }

@media (max-width: 900px) {
  .olty-bar-note { display: none; }
}
/* Phones: sit in the empty space to the right of the logo, so the header gets no taller */
@media (max-width: 640px) {
  .olty-bar {
    position: absolute;
    top: .35rem;
    right: .75rem;
    padding: 0;
    background: none;
    border: 0;
    z-index: 2;
  }
  .olty-btn.btn {
    min-height: 32px;
    padding: .25rem .7rem .25rem .55rem !important;
    font-size: .76rem !important;
    letter-spacing: 0;
    gap: .32rem;
  }
  .olty-heart { width: 12px; height: 12px; }
}
@media (max-width: 480px) { .olty-bar { right: .625rem; } }
@media (max-width: 359px) {
  .olty-btn.btn { font-size: .66rem !important; padding: .25rem .5rem .25rem .42rem !important; gap: .22rem; }
  .olty-heart { width: 10px; height: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .olty-btn.btn, .olty-btn.btn:hover, .olty-heart { transition: none; transform: none !important; }
}

/* —— Landing page —— */
.olty-page main { display: block; }
.olty-hero {
  background:
    radial-gradient(ellipse 60% 55% at 78% 40%, rgba(246,231,228,.85) 0%, transparent 62%),
    radial-gradient(ellipse 70% 60% at 15% 0%, rgba(0,156,156,.07) 0%, transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #fdf9f2 100%);
  padding: 3.6rem 0 3.2rem;
}
.olty-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
.olty-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 .7rem;
}
.olty-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.35rem);
  line-height: 1.08;
  color: var(--deep);
  margin: 0 0 1rem;
  letter-spacing: .005em;
}
.olty-hero h1 .soft { display: block; font-weight: 600; font-size: .5em; color: var(--muted); letter-spacing: .03em; margin-top: .35rem; }
.olty-lead {
  font-size: 1.16rem;
  line-height: 1.7;
  color: #2d3a3a;
  max-width: 34rem;
  margin: 0 0 1.6rem;
}
.olty-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.olty-actions .btn { min-height: 46px; }

.olty-card-stage { position: relative; display: flex; justify-content: center; padding: 1rem 0; }
.olty-card-stage::before {
  content: "";
  position: absolute; inset: 8% 6%;
  background: radial-gradient(circle at 50% 45%, rgba(200,165,90,.22), transparent 68%);
  filter: blur(8px);
}
.olty-card-front {
  position: relative;
  width: min(100%, 330px);
  border-radius: 6px;
  background: var(--olty-paper);
  box-shadow: 0 2px 0 rgba(0,0,0,.04), 0 18px 40px rgba(14,90,99,.16), 0 4px 12px rgba(80,60,30,.08);
  transform: rotate(-2.2deg);
}
.olty-card-front figcaption {
  position: absolute; left: 50%; bottom: -2.3rem; transform: translateX(-50%) rotate(2.2deg);
  font-size: .85rem; color: var(--muted); white-space: nowrap; font-style: italic;
}

.olty-section { padding: 3.4rem 0; position: relative; }
.olty-section.paper { background: linear-gradient(180deg, #fff 0%, var(--olty-paper) 100%); }
.olty-section.wash { background: linear-gradient(180deg, var(--wash) 0%, #f6fbfa 100%); }
.olty-narrow { max-width: 44rem; margin-inline: auto; }
.olty-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  color: var(--ink);
  margin: 0 0 1rem;
  text-align: center;
  letter-spacing: .02em;
}
.olty-prose p { font-size: 1.08rem; line-height: 1.8; color: #2f3b3b; margin: 0 0 1.05rem; }
.olty-prose p.olty-quiet { color: var(--muted); font-style: italic; text-align: center; margin-top: 1.4rem; }

.olty-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2rem;
}
.olty-points .card { text-align: center; padding: 1.4rem 1.2rem 1.3rem; }
.olty-points .card h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.olty-points .card p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.olty-ico {
  width: 46px; height: 46px; margin: 0 auto .75rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--olty-blush);
  box-shadow: inset 0 0 0 1px rgba(168,50,62,.12);
}
.olty-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--olty-rose); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.olty-inside-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 2.6rem;
  align-items: center;
}
.olty-inside-img {
  width: 100%; max-width: 340px; margin-inline: auto;
  border-radius: 6px; background: var(--olty-paper);
  box-shadow: 0 16px 36px rgba(14,90,99,.14), 0 3px 10px rgba(80,60,30,.07);
}
.olty-pull {
  margin: 0;
  padding: 0 0 0 1.25rem;
  border-left: 3px solid var(--gold);
}
.olty-pull p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  line-height: 1.45;
  font-weight: 700;
  color: var(--deep);
  margin: 0 0 .8rem;
}
.olty-pull cite { font-style: normal; color: var(--muted); font-size: .95rem; }
.olty-spread {
  margin: 2.6rem auto 0; max-width: 640px;
}
.olty-spread img { width: 100%; border-radius: 6px; box-shadow: 0 12px 30px rgba(14,90,99,.12); background: var(--olty-paper); }
.olty-spread figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: .7rem; }

/* Request area */
.olty-request-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 2.4rem;
  align-items: start;
}
.olty-request-grid .section-title.left { margin-bottom: .6rem; }
.olty-mail {
  display: inline-flex; align-items: center; gap: .55rem;
  margin: .4rem 0 1rem;
  padding: .75rem 1.1rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-weight: 700; font-size: 1.05rem;
  text-decoration: none; color: var(--deep);
  word-break: break-all;
}
.olty-mail svg { width: 20px; height: 20px; flex: none; fill: var(--teal); }
.olty-mail:hover { border-color: var(--teal); color: var(--teal); }
.olty-form { display: grid; gap: .85rem; }
.olty-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.olty-form label { display: grid; gap: .35rem; font-weight: 700; font-size: .92rem; color: var(--deep); }
.olty-form label .opt { font-weight: 400; color: var(--muted); }
.olty-form input, .olty-form textarea, .olty-form select {
  width: 100%;
  font: inherit; font-weight: 400; color: var(--ink);
  padding: .65rem .8rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fcfefe;
}
.olty-form input:focus, .olty-form textarea:focus, .olty-form select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,156,156,.15); }
.olty-form textarea { min-height: 110px; resize: vertical; }
.olty-form select {
  appearance: none; -webkit-appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230E5A63' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 16px;
  cursor: pointer;
}
.olty-form select:invalid, .olty-form select option[value=""] { color: #7d8a8a; }
.olty-form select option { color: var(--ink); }
.olty-eligibility {
  display: flex; align-items: flex-start; gap: .55rem;
  margin: 0 0 1.1rem; padding: .7rem .9rem;
  background: rgba(200,165,90,.10);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  color: #3b4747; font-size: .97rem; line-height: 1.55;
}
.olty-eligibility p { margin: 0; }
.olty-eligibility .olty-special {
  margin-top: .45rem; padding-top: .45rem;
  border-top: 1px dashed rgba(200,165,90,.45);
  color: var(--muted); font-size: .93rem;
}
.olty-eligibility svg { width: 18px; height: 18px; flex: none; margin-top: .15rem; fill: none; stroke: var(--deep); stroke-width: 1.8; }
.olty-form .btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.olty-draft-note {
  font-size: .85rem; color: #7a5a1c;
  background: rgba(200,165,90,.12);
  border: 1px dashed rgba(200,165,90,.7);
  border-radius: 10px;
  padding: .55rem .75rem;
  margin: 0 0 .25rem;
}

.olty-closing { text-align: center; padding: 3rem 0 3.4rem; background: linear-gradient(180deg, #fdf9f2 0%, var(--cream) 100%); }
.olty-closing .olty-heart { width: 26px; height: 26px; margin: 0 auto .7rem; display: block; }
.olty-closing p { margin: 0 auto; max-width: 36rem; font-size: 1.1rem; color: #2f3b3b; }
.olty-closing .sig { margin-top: .6rem; color: var(--muted); font-size: .95rem; }

@media (max-width: 900px) {
  .olty-hero-grid, .olty-inside-grid, .olty-request-grid { grid-template-columns: 1fr; gap: 2rem; }
  .olty-card-stage { order: -1; }
  .olty-card-front { width: min(70%, 280px); }
  .olty-points { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
}
@media (max-width: 640px) {
  .olty-hero { padding: 2rem 0 2.4rem; }
  .olty-section { padding: 2.4rem 0; }
  .olty-lead { font-size: 1.05rem; }
  .olty-prose p { font-size: 1rem; line-height: 1.75; }
  .olty-actions .btn { flex: 1 1 100%; }
  .olty-form .row2 { grid-template-columns: 1fr; }
  .olty-mail { font-size: .98rem; width: 100%; justify-content: center; }
  .olty-card-front figcaption { bottom: -2rem; font-size: .8rem; }
  .olty-card-stage { order: 0; padding: .5rem 0 1.6rem; }
  .olty-card-front { width: min(62%, 240px); }
  .olty-inside-img { max-width: 290px; }
}

/* Sender form (en5ED4): reserve height so the layout doesn't jump while Sender paints */
.olty-form-shell .sender-form-field { min-height: 580px; }
.olty-form-shell .sender-form-field > div { display: block !important; width: fit-content; max-width: 100%; margin-inline: auto; }
.olty-form-shell .sender-form-field iframe { display: block; max-width: 100%; }
@media (max-width: 640px) { .olty-form-shell .sender-form-field { min-height: 680px; } }
.olty-form-fallback { margin: .9rem 0 0; font-size: .92rem; color: var(--muted); text-align: center; }
.olty-form-fallback a { font-weight: 700; }

/* v2 (Nov 11): Josh's copy updates — standalone line, outside-card note */
.olty-prose p.olty-know {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--deep);
  font-size: 1.18rem;
  margin: 1.35rem 0 1.45rem;
}
.olty-outside-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 2.4rem;
  align-items: center;
  margin: 2.6rem auto 0;
  max-width: 980px;
}
.olty-outside-grid .olty-spread { margin: 0; max-width: none; }
.olty-outside-note p {
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--deep);
  margin: 0;
}
@media (max-width: 900px) {
  .olty-outside-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* v5 (Nov 11): Josh's 12 copy/layout edits */
.olty-section h2:has(+ .olty-subhead) { margin-bottom: .4rem; }
.olty-prose p.olty-subhead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  text-align: center;
  color: var(--teal);
  margin: 0 0 1.35rem;
  letter-spacing: .01em;
  line-height: 1.45;
}
.olty-points .card p.olty-free-lines {
  text-align: left;
}
.olty-closing p {
  line-height: 1.7;
}
