/* ==================================================================
   /ads-landing and its thank-you page /thanks/ads.
   The Wix ads landing page, same copy and order, set in the site system.
   site.css supplies .wrap, .btn and .btn-outline. The .ty-* block matches
   the thank-you block in pages/book-thanks.css, trade.css and millwork.css,
   so every thank-you page looks the same.
   Breakpoints follow site.css: phone < 768, tablet 768 to 1023, desktop 1024+.
   ================================================================== */

/* ------------------------------------------------------------ heading, welcome line, form */
.al { padding-block: 72px 96px; }
.al-wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.al-title {
  font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em;
  font-size: clamp(40px, calc(1rem + 3.4vw), 64px); line-height: 1.06;
}
.al-lede { max-width: 640px; font-size: 20px; line-height: 32px; }

.al-form { width: 100%; max-width: 640px; margin-top: 8px; text-align: left; }
/* The Digital Rolodex form draws its own fields inside the iframe; this is
   the frame around it. min-height holds the space while it loads. */
.al-embed { min-height: 778px; padding: 12px; background: var(--drd-cream); border: 1px solid var(--line); }
.al-embed iframe { display: block; width: 100%; }
.al-noscript { padding: 24px 12px; font-family: var(--font-label); font-size: 15px; line-height: 22px; }

/* Shown in place of the form once it's sent (the Wix form's own message) */
.al-thanks { padding: 64px 32px; background: var(--drd-stone); text-align: center; }
.al-thanks:focus { outline: none; }
.al-thanks:focus-visible { outline: 2px solid var(--drd-espresso); outline-offset: 3px; }
.al-thanks-text { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 40px; letter-spacing: -.01em; }

.al-phone { gap: 12px; min-width: 240px; }
.al-phone-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }

/* ------------------------------------------------------------ the photos */
.al-work { padding-bottom: 136px; }
.al-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.al-grid li { aspect-ratio: 1; overflow: hidden; background: var(--drd-stone); }
.al-grid img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1023px) {
  .al-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .al { padding-block: 40px 64px; }
  .al-wrap { gap: 20px; }
  .al-title { font-size: 40px; line-height: 44px; }
  .al-lede { font-size: 17px; line-height: 28px; }
  .al-form { margin-top: 4px; }
  .al-embed { padding: 0; border: 0; }
  .al-thanks { padding: 48px 20px; }
  .al-thanks-text { font-size: 28px; line-height: 36px; }
  .al-phone { width: 100%; }
  .al-work { padding-bottom: 88px; }
  .al-grid { gap: 12px; }
}

/* ------------------------------------------------------------ /thanks/ads */
.ty { padding-block: 72px 112px; }
.ty-wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.ty-emblem { width: 280px; height: auto; margin-bottom: 12px; }
.ty-eyebrow {
  font-family: var(--font-label); font-weight: 500; font-size: 12px; line-height: 16px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--drd-taupe);
}
.ty-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, calc(1rem + 2.2vw), 48px); line-height: 1.17; letter-spacing: -.01em; }
.ty-btn { min-width: 240px; min-height: 52px; margin-top: 4px; padding: 0 28px; white-space: nowrap; }

@media (max-width: 767px) {
  .ty { padding-block: 48px 72px; }
  .ty-emblem { width: 240px; }
  .ty-btn { width: 100%; max-width: 320px; }
}
