/*
  Timing Perfection — Grand Opening Modal | Style alignment edition
  Matches the 2026 PHP homepage (css/home.css):
  #080808 black | #D4AF37 gold | #EFD278 champagne | #F3EFE7 cream
  Georgia headings, Arial/Helvetica body text, square editorial CTAs.
  The teal JPH color is intentionally NOT used for the main-site event modal.
  CSS only: form actions, PHP processing, and Mailchimp settings are unchanged.
*/
body.tp-go-locked { overflow: hidden !important; }
.tp-go-modal[hidden], .tp-go-success[hidden], .tp-go-form[hidden] { display: none !important; }
.tp-go-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  padding: 22px; overflow-y: auto; overscroll-behavior: contain;
  background: rgba(3,3,3,.84); backdrop-filter: blur(8px);
}
.tp-go-dialog {
  --go-black: #080808;
  --go-charcoal: #171717;
  --go-gold: #D4AF37;
  --go-gold-light: #EFD278;
  --go-gold-dark: #8C6A24;
  --go-cream: #F3EFE7;
  --go-body: Arial, Helvetica, sans-serif;
  --go-display: Georgia, 'Times New Roman', serif;
  position: relative;
  display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  width: min(920px,100%); max-height: calc(100dvh - 44px); overflow: auto;
  border: 1px solid rgba(212,175,55,.52);
  background: var(--go-cream); color: #111;
  box-shadow: 0 32px 90px rgba(0,0,0,.48);
  font-family: var(--go-body); line-height: 1.65;
  outline: 0;
}
.tp-go-story {
  position: relative; overflow: hidden; padding: 56px 42px 54px;
  background:
    linear-gradient(100deg,rgba(8,8,8,.97) 0%,rgba(8,8,8,.87) 56%,rgba(8,8,8,.68) 100%),
    url('../img/grand-opening/studio-background.jpg') center / cover no-repeat;
  color: #FAFAF8;
}
.tp-go-story::after {
  content: 'TP'; position: absolute; right: -25px; bottom: -41px;
  font: italic 170px/1 Georgia,serif;
  color: rgba(255,255,255,.045); pointer-events: none;
}

.tp-go-logo-badge {
  width: fit-content; margin: 0 0 18px; padding: 12px 14px;
  background: rgba(243,239,231,.96); border: 1px solid rgba(212,175,55,.55);
  box-shadow: 0 10px 28px rgba(0,0,0,.24);
}
.tp-go-logo { display: block; width: min(290px, 100%); height: auto; }

.tp-go-eyebrow {
  margin: 0 0 20px;
  font: 400 11px/1.55 Arial,Helvetica,sans-serif;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--go-gold-light);
}
.tp-go-rule {
  display: block; width: 50px; height: 1px;
  margin: 0 0 24px; background: var(--go-gold);
}
.tp-go-story h2 {
  margin: 0 0 16px;
  font: 400 clamp(42px,5vw,64px)/.97 Georgia,'Times New Roman',serif;
  letter-spacing: -.045em; color: #FAFAF8;
}
.tp-go-story h2 em { font-weight: 400; color: var(--go-gold-light); }
.tp-go-story p:not(.tp-go-eyebrow) {
  max-width: 340px; margin: 0;
  font: 400 14px/1.8 Arial,Helvetica,sans-serif;
  color: #DEDDD8;
}
.tp-go-date-callout {
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: stretch;
  gap: 16px; margin-top: 26px; padding: 18px 18px 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(212,175,55,.35);
}
.tp-go-date-sep { width: 1px; background: rgba(212,175,55,.3); }
.tp-go-date-kicker {
  display: block; margin-bottom: 6px; color: var(--go-gold-light);
  font: 600 10px/1.4 Arial,Helvetica,sans-serif; letter-spacing: 1.8px; text-transform: uppercase;
}
.tp-go-date-block strong,.tp-go-location-block strong {
  display: block; color: #FAFAF8; font: 400 clamp(24px,2.9vw,34px)/1.04 Georgia,'Times New Roman',serif;
}
.tp-go-date-block small,.tp-go-location-block small {
  display: block; margin-top: 5px; color: #D4D0C6; font: 400 12px/1.5 Arial,Helvetica,sans-serif;
}
.tp-go-event-details {
  display: grid; gap: 10px;
  margin-top: 12px; padding-top: 14px;
  border-top: 1px solid rgba(212,175,55,.25);
}
.tp-go-map {
  width: max-content; color: var(--go-gold-light);
  font: 600 10px/1.5 Arial,Helvetica,sans-serif;
  text-transform: uppercase; letter-spacing: 1.5px;
  text-decoration: none; border: 1px solid rgba(239,210,120,.6); padding: 9px 12px;
}
.tp-go-map:hover { color: #fff; }
.tp-go-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 52px 48px 44px;
}
.tp-go-content h3 {
  margin: 0 0 12px;
  font: 400 clamp(29px,3vw,39px)/1.1 Georgia,'Times New Roman',serif;
  letter-spacing: -.045em; color: #111;
}
.tp-go-form-panel > .tp-go-eyebrow { color: #94701F; }
.tp-go-intro {
  margin: 0 0 27px;
  font: 400 14px/1.8 Arial,Helvetica,sans-serif;
  color: #565656;
}
.tp-go-close {
  position: absolute; top: 15px; right: 16px; z-index: 2;
  width: 35px; height: 35px;
  display: grid; place-items: center;
  border: 1px solid rgba(13,13,13,.2); border-radius: 0;
  background: var(--go-cream); color: #111;
  font: 400 25px/1 Arial,Helvetica,sans-serif;
  cursor: pointer;
}
.tp-go-close:hover { background: #fff; border-color: var(--go-gold-dark); }
.tp-go-form { display: grid; gap: 13px; margin: 0; }
.tp-go-field { display: grid; gap: 6px; }
.tp-go-field label {
  color: #343434;
  font: 600 10px/1.3 Arial,Helvetica,sans-serif;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.tp-go-field input {
  display: block; width: 100%; min-height: 48px;
  padding: 12px 13px;
  background: #fff; border: 1px solid #D7D0C6; border-radius: 0;
  color: #171717;
  font: 400 14px Arial,Helvetica,sans-serif; box-shadow: none;
}
.tp-go-field input::placeholder { color: #96918A; }
.tp-go-field input:focus-visible,
.tp-go-consent input:focus-visible,
.tp-go-close:focus-visible,
.tp-go-submit:focus-visible,
.tp-go-map:focus-visible,
.tp-go-privacy a:focus-visible {
  outline: 2px solid var(--go-gold-dark); outline-offset: 3px;
}
.tp-go-consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 5px 0 2px;
  font: 400 12px/1.6 Arial,Helvetica,sans-serif;
  color: #56564E;
  cursor: pointer; letter-spacing: 0; text-transform: none;
}
.tp-go-consent input {
  width: 17px; min-width: 17px; height: 17px; min-height: 0;
  margin-top: 1px; accent-color: var(--go-gold);
}
.tp-go-consent a,.tp-go-privacy a {
  color: #80611C; text-decoration: underline; text-underline-offset: 2px;
}
.tp-go-submit {
  width: 100%; min-height: 52px;
  margin-top: 4px; padding: 14px;
  border: 1px solid var(--go-gold); border-radius: 0;
  background: var(--go-gold); color: #080808;
  font: 600 10px/1.3 Arial,Helvetica,sans-serif;
  text-transform: uppercase; letter-spacing: 2px;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
}
.tp-go-submit:hover { background: var(--go-gold-light); border-color: var(--go-gold-light); }
.tp-go-submit[disabled] { opacity: .65; cursor: wait; }
.tp-go-feedback {
  margin: 0; color: #99302C;
  font: 400 12px/1.5 Arial,Helvetica,sans-serif;
}
.tp-go-feedback:empty { display: none; }
.tp-go-privacy {
  margin: 10px 0 0;
  font: 400 11px/1.55 Arial,Helvetica,sans-serif; color: #66635F;
}
.tp-go-success { text-align: left; }
.tp-go-check {
  width: 55px; height: 55px; margin-bottom: 18px;
  display: grid; place-items: center;
  border: 1px solid var(--go-gold-dark); border-radius: 50%;
  color: var(--go-gold-dark); font: 400 29px/1 Arial,Helvetica,sans-serif;
}
.tp-go-success p {
  margin: 14px 0 26px;
  font: 400 14px/1.7 Arial,Helvetica,sans-serif; color: #51534E;
}
.tp-go-honeypot {
  position: absolute !important; left: -99999px !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
}
.tp-go-reopen { cursor: pointer; font-family: inherit; }
.tp-go-form-panel.tp-go-complete > .tp-go-eyebrow,
.tp-go-form-panel.tp-go-complete > h3,
.tp-go-form-panel.tp-go-complete > .tp-go-intro { display: none; }
@media (max-width: 710px) {
  .tp-go-modal { padding: 12px; }
  .tp-go-dialog { grid-template-columns: 1fr; max-height: calc(100dvh - 24px); }
  .tp-go-story { padding: 30px 24px 25px; }
  .tp-go-story h2 { max-width: 430px; font-size: clamp(35px,9vw,47px); margin-bottom: 14px; }
  .tp-go-story p:not(.tp-go-eyebrow) { font-size: 12px; }
  .tp-go-rule { margin-bottom: 15px; }
  .tp-go-eyebrow { margin-bottom: 12px; font-size: 10px; letter-spacing: 2.5px; }
  .tp-go-event-details { margin-top: 17px; padding-top: 14px; grid-template-columns: 1fr 1fr; gap: 10px; }
  .tp-go-event-details strong { font-size: 17px; }
  .tp-go-event-details small { font-size: 11px; }
  .tp-go-map { grid-column: 1/-1; }
  .tp-go-content { padding: 27px 24px 30px; }
  .tp-go-content h3 { font-size: 28px; }
  .tp-go-intro { margin-bottom: 17px; }
  .tp-go-close { top: 10px; right: 10px; }
}
@media (max-width: 380px) {
  .tp-go-story { padding: 25px 20px 20px; }
  .tp-go-content { padding: 23px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-go-submit { transition: none; }
  .tp-go-modal,.tp-go-dialog { scroll-behavior: auto; }
}

/* Flyer content edition | faithful to the existing TP homepage palette and type. */
.tp-go-dialog { width: min(1040px, 100%); grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); }
.tp-go-story { padding: 39px 42px 34px; }
.tp-go-story h2 { margin-bottom: 14px; font-size: clamp(42px, 4.6vw, 60px); }
.tp-go-story p.tp-go-story-intro { max-width: 410px; line-height: 1.65; font-size: 13px; }
.tp-go-story .tp-go-rule { margin-bottom: 17px; }
.tp-go-story .tp-go-eyebrow { margin-bottom: 13px; }
.tp-go-event-details { grid-template-columns: 1fr 1fr; gap: 8px 15px; margin-top: 19px; padding-top: 17px; }
.tp-go-event-details > div { gap: 3px; }
.tp-go-detail-label { font-size: 9px; letter-spacing: 1.15px; }
.tp-go-event-details strong { font-size: 21px; }
.tp-go-event-details small { font-size: 11px; }
.tp-go-map { grid-column: 1 / -1; margin-top: 3px; }
.tp-go-highlights { display: grid; gap: 8px; margin-top: 22px; }
.tp-go-highlight {
  position: relative; display: grid; grid-template-columns: 48px minmax(0,1fr);
  gap: 14px; align-items: start;
  padding: 13px 14px; background: rgba(212,175,55,.10);
  border: 1px solid rgba(212,175,55,.28);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.tp-go-highlight-icon {
  width: 36px; height: 36px; display: inline-grid; place-items: center;
  color: var(--go-gold-light); padding-top: 0; border: 1px solid rgba(239,210,120,.42);
  background: rgba(8,8,8,.26);
}
.tp-go-highlight-icon svg {
  width: 24px; height: 24px; display: block;
  stroke: currentColor; fill: none; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.tp-go-highlight strong { display: block; font: 700 12px/1.5 Arial,Helvetica,sans-serif; color: #F0D57E; text-transform: uppercase; letter-spacing: .6px; }
.tp-go-highlight small { display: block; margin-top: 2px; font: 400 11px/1.5 Arial,Helvetica,sans-serif; color: #DEDDD8; }
.tp-go-content { padding: 44px 42px 32px; }
.tp-go-form-panel { max-width: 420px; }
.tp-go-content h3 { font-size: clamp(29px, 3vw, 38px); }
.tp-go-intro { margin-bottom: 21px; }
.tp-go-optional { font-weight: 400; text-transform: none; letter-spacing: 0; }
.tp-go-offerings {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.9fr);
  gap: 24px; align-items: center;
  padding: 23px 42px 26px; border-top: 1px solid rgba(212,175,55,.5);
  background: #141414; color: #F3EFE7;
}
.tp-go-offerings-heading h3 { margin: 5px 0 0; font: 400 27px/1.08 Georgia,'Times New Roman',serif; letter-spacing: -.04em; }
.tp-go-offerings-kicker { display: block; font: 600 9px/1.45 Arial,Helvetica,sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: #EFD278; }
.tp-go-offerings-copy { margin: 10px 0 0; max-width: 260px; color: #C8C2B4; font: 400 12px/1.55 Arial,Helvetica,sans-serif; }
.tp-go-offerings-list {
  list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px 20px; margin: 0; padding: 0;
}
.tp-go-offerings-list li { position: relative; display: flex; align-items: flex-start; gap: 9px; padding: 0; color: #E3DED2; font: 400 12px/1.45 Arial,Helvetica,sans-serif; }
.tp-go-offering-icon { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 1px; fill: none; stroke: #D4AF37; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 880px) {
  .tp-go-story { padding: 34px 30px; }
  .tp-go-content { padding: 34px 30px; }
  .tp-go-offerings { gap: 18px; padding: 24px 30px; }
  .tp-go-offerings-heading h3 { font-size: 24px; }
  .tp-go-highlight { grid-template-columns: 28px minmax(0,1fr); gap: 8px; }
}
@media (max-width: 710px) {
  .tp-go-dialog { grid-template-columns: 1fr; }
  .tp-go-story { padding: 29px 24px 25px; }
  .tp-go-story h2 { font-size: clamp(37px, 9vw, 48px); }
  .tp-go-story .tp-go-event-details { grid-template-columns: 1fr 1fr; margin-top: 16px; gap: 8px 12px; }
  .tp-go-event-details strong { font-size: 18px; }
  .tp-go-highlight { padding: 9px 10px; }
  .tp-go-highlights { margin-top: 16px; gap: 7px; }
  .tp-go-content { padding: 27px 24px 30px; }
  .tp-go-offerings { grid-template-columns: 1fr; padding: 24px; gap: 15px; }
  .tp-go-offerings-list { grid-template-columns: 1fr 1fr; gap: 9px 15px; }
  .tp-go-offerings-heading h3 { font-size: 27px; }
}
@media (max-width: 390px) {
  .tp-go-story { padding: 26px 20px 22px; }
  .tp-go-content { padding: 25px 20px 28px; }
  .tp-go-offerings { padding: 22px 20px; }
  .tp-go-offerings-list { grid-template-columns: 1fr; }
  .tp-go-detail-label { font-size: 8.5px; }
}

/* Mobile signup shortcut; the anchor scrolls the form into view without JavaScript. */
.tp-go-jump { display: none; }
@media (max-width: 710px) {
  .tp-go-jump { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 12px;
    color: #EFD278; font: 600 10px/1.5 Arial,Helvetica,sans-serif; text-decoration: none;
    letter-spacing: 1.5px; text-transform: uppercase; border: 1px solid rgba(239,210,120,.6); background: rgba(255,255,255,.03); }
  .tp-go-jump:focus-visible { outline: 2px solid #EFD278; outline-offset: 4px; }
}


@media (max-width: 960px) {
  .tp-go-logo { width: min(250px, 100%); }
  .tp-go-date-callout { gap: 12px; padding: 15px; }
  .tp-go-date-block strong, .tp-go-location-block strong { font-size: 24px; }
  .tp-go-offerings-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 710px) {
  .tp-go-logo-badge { margin-bottom: 14px; padding: 10px 12px; }
  .tp-go-logo { width: min(225px, 100%); }
  .tp-go-date-callout { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .tp-go-date-sep { width: auto; height: 1px; }
  .tp-go-date-block strong,.tp-go-location-block strong { font-size: 22px; }
  .tp-go-highlight { grid-template-columns: 42px minmax(0,1fr); }
  .tp-go-highlight-icon { width: 32px; height: 32px; }
  .tp-go-highlight-icon svg { width: 21px; height: 21px; }
  .tp-go-offerings-list { grid-template-columns: 1fr 1fr; }
  .tp-go-offerings-copy { max-width: none; }
}
@media (max-width: 430px) {
  .tp-go-offerings-list { grid-template-columns: 1fr; }
}

/* Explicit isolation from the Drive site's general input and button rules. */
.tp-go-dialog .tp-go-form input:not([type="checkbox"]){ border-radius:0; }
.tp-go-dialog .tp-go-form input[type="checkbox"]{ border-radius:0; }
.tp-go-dialog .tp-go-date-block strong{ font-size:clamp(22px,2.6vw,30px); }
.tp-go-reopen { font-family:Arial,Helvetica,sans-serif; cursor:pointer; }
.tp-go-offerings .tp-go-offerings-copy { max-width:270px; }
@media (max-width:710px) {
  .tp-go-offerings-list li { gap:9px; }
  .tp-go-date-block strong{ font-size:24px; }
  .tp-go-dialog .tp-go-close { top:10px; right:10px; }
}

/* Brand mark and event details refinement from rendered desktop/mobile QA. */
.tp-go-logo-badge{width:min(324px,100%);}
.tp-go-logo{width:100%;max-width:100%;height:auto;}
.tp-go-date-block strong,.tp-go-location-block strong{font-size:clamp(21px,2.15vw,26px);}
@media(max-width:710px){
 .tp-go-logo-badge{width:min(242px,100%);}
 .tp-go-date-block strong,.tp-go-location-block strong{font-size:23px;}
}

/* Direct Mailchimp embed is intentionally styled with local classes rather than
   Mailchimp classic CSS so it inherits Timing Perfection’s existing palette. */
.tp-go-submit-note {
  margin: -1px 0 0;
  color: #66635F;
  font: 400 11px/1.6 Arial,Helvetica,sans-serif;
}
.tp-go-dialog .tp-go-form .tp-go-field input { width: 100%; }
.tp-go-dialog .tp-go-form button.tp-go-submit { appearance: none; }

/* In-modal Mailchimp subscription state and optional network fallback. */
.tp-go-fallback-link {
  display: inline-block;
  width: fit-content;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #80611c;
  text-decoration: underline;
  text-underline-offset: 3px;
  font: 600 12px/1.55 Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.tp-go-fallback-link[hidden] { display: none !important; }
.tp-go-fallback-link:focus-visible { outline: 2px solid #80611c; outline-offset: 3px; }
.tp-go-success-signature { font-family: Georgia, 'Times New Roman', serif !important; font-style: italic !important; }
