/*!
Theme Name: Tamesis Digital
Theme URI: https://www.tamesisdigital.com/
Author: Tamesis Digital
Description: Native blocks, editable navigation and accessible presentation for Tamesis Digital.
Version: 1.0.0
Requires at least: 6.9
Tested up to: 7.1
Requires PHP: 8.2
Text Domain: tamesis
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
@font-face {
  font-family: Rubik;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/rubik-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: Rubik;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/rubik-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: Rubik;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/rubik-latin-700-normal.woff2") format("woff2");
}
:root {
  --td-gutter: clamp(24px, 4vw, 64px);
  --td-grid-gap: clamp(24px, 2.5vw, 40px);
  --td-section-space: clamp(48px, 5.5vw, 88px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  overflow-wrap: break-word;
  color-scheme: light;
}

.wp-site-blocks {
  padding: 0;
}

.wp-site-blocks > *,
.wp-block-post-content > *,
.wp-block-group > * {
  margin-block: 0;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
}

h1 {
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

h2,
h3 {
  text-wrap: balance;
}

h3 {
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

a {
  color: inherit;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-color: #e90187;
  text-decoration-thickness: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}

img {
  max-width: 100%;
  height: auto;
}

.td-wrap {
  width: calc(100% - var(--td-gutter) * 2);
  max-width: 1440px;
  padding-inline: 0;
  margin-inline: auto;
}

.td-dark {
  background: #180f2a;
  color: #ffffff;
}

.wp-block-post-content > .td-dark:first-child {
  background: linear-gradient(180deg, #180f2a 0%, #211933 25%, #261e38 60%, #29223c 100%);
}

.td-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 24px;
}

.td-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--td-grid-gap);
  padding-block: 24px 28px;
}

header.wp-block-template-part {
  background: #180f2a;
}

header.wp-block-template-part > .td-dark {
  background: #180f2a;
}

.td-header-brand {
  position: relative;
  flex-shrink: 0;
  padding-bottom: 20px;
}

.td-years-tab {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 6px 12px;
  border-radius: 2px;
  background: #f4a6cc;
  color: #180f2a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-6deg);
}

.td-logo {
  padding: 20px;
  margin-left: -20px;
  flex-shrink: 0;
  line-height: 1;
}

.td-logo a {
  display: block;
}

.td-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.td-nav {
  font-size: 16px;
}

.td-nav .wp-block-navigation__container {
  gap: clamp(18px, 2.4vw, 36px);
  flex-wrap: nowrap;
}

.td-nav .wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  text-decoration: none;
  text-underline-offset: 8px;
}

.td-nav .wp-block-navigation-item__content:hover,
.td-nav .current-menu-item > a,
.td-nav .td-menu-ancestor > a,
.td-nav [aria-current=page] {
  color: #f4a6cc;
  text-decoration: underline;
  text-decoration-color: #e90187;
  text-decoration-thickness: 2px;
}

.td-nav a:active {
  color: #ffffff;
  text-decoration-thickness: 3px;
}

.td-nav .td-talk a::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("assets/images/speech-bubble.svg") center/contain no-repeat;
}

.td-hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--td-grid-gap);
  align-items: end;
  padding-block: 64px 72px;
}

.td-hero > :first-child {
  grid-column: 1/span 7;
}

.td-hero h1 {
  max-width: 14ch;
}

.td-hero h1 em {
  color: #e90187;
  font-style: normal;
}

.td-intro {
  max-width: 55ch;
  font-size: 18px;
  line-height: 1.65;
  margin-top: 28px;
}

.td-actions {
  margin-top: 32px;
}

.td-action .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 24px;
  background: #cf0077;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  border: 0;
  border-radius: 3px;
  min-height: 56px;
  text-decoration: none;
}

.td-action .wp-block-button__link::after,
.td-link a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.td-action .wp-block-button__link:hover {
  background: #ae0064;
  color: #ffffff;
}

.td-action .wp-block-button__link:active {
  background: #ffffff;
  color: #180f2a;
  box-shadow: inset 0 0 0 2px #180f2a;
}

.td-action .wp-block-button__link:focus-visible {
  outline: 3px solid #180f2a;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px #ffffff;
}

.td-hero-ai {
  margin-top: 20px;
}

.td-hero-ai a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f4a6cc;
  padding-block: 4px;
  font-weight: 400;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.td-hero-ai a:hover,
.td-hero-ai a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.td-side {
  grid-column: 9/-1;
  padding-left: 24px;
  border-left: 2px solid #f4a6cc;
  padding-bottom: 6px;
}

.td-side p {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.td-side .td-small {
  margin-top: 24px;
  font-size: 16px;
  color: #f4a6cc;
  letter-spacing: normal;
  line-height: 1.7;
}

.td-services,
.td-work,
.td-page-section {
  padding-block: var(--td-section-space);
}

.td-heading,
.td-ai-intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--td-grid-gap);
  align-items: end;
  margin-bottom: 40px;
}

.td-heading > :first-child,
.td-ai-intro > :first-child {
  grid-column: 1/span 7;
}

.td-heading > p,
.td-ai-intro > p {
  grid-column: 9/-1;
  font-size: 16px;
  line-height: 1.7;
  color: #544c63;
}

.td-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--td-grid-gap);
}

.td-service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 3px solid #e90187;
  padding-top: 24px;
}

.td-grid > .wp-block-group > .wp-block-heading + p {
  margin-top: 16px;
}

.td-number {
  font-size: 14px;
  font-weight: 500;
  color: #544c63;
  display: block;
  margin-bottom: 24px;
}

.td-service p,
.td-ai p {
  font-size: 16px;
  line-height: 1.7;
  color: #544c63;
}

.td-link {
  margin-top: 24px;
}

.td-link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.td-service .td-link {
  margin-top: auto;
  padding-top: 26px;
}

.td-link a:hover {
  color: #180f2a;
  text-decoration-color: #e90187;
}

.td-link a:active {
  color: #000;
  text-decoration-color: #180f2a;
}

.td-dark .td-link a:hover {
  color: #f4a6cc;
}

.td-ai {
  background: #fff2f8;
  padding-block: var(--td-section-space);
}

.td-ai .td-label {
  font-size: 14px;
  color: #180f2a;
}

.td-ai .wp-block-heading + .td-grid {
  margin-top: 40px;
}

.td-ai .td-grid > .wp-block-group {
  border-top: 2px solid #f4a6cc;
  padding-top: 32px;
}

.td-ai h3 {
  font-size: 24px;
}

.td-ai > .td-wrap > .td-link {
  margin-top: 36px;
}

.td-ai .td-small {
  font-size: 14px;
  max-width: 85ch;
  margin-top: 28px;
}

.td-feature {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--td-grid-gap);
  margin-top: 40px;
  align-items: center;
}

.td-feature > :first-child {
  grid-column: 1/span 5;
}

.td-feature > :nth-child(2) {
  grid-column: 7/-1;
}

.td-feature h3 {
  font-size: clamp(26px, 2.4vw, 36px);
  max-width: 24ch;
}

.td-ai-evidence {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--td-grid-gap);
  align-items: center;
}

.td-ai-evidence > .td-copy {
  grid-column: 1/span 7;
  max-width: none;
}

.td-ai-evidence > .td-art {
  grid-column: 9/-1;
}

@media (max-width: 900px) {
  .td-ai-evidence {
    grid-template-columns: 1fr;
  }
  .td-ai-evidence > .td-copy,
  .td-ai-evidence > .td-art {
    grid-column: auto;
  }
}
.td-art {
  margin: 0;
  min-width: 0;
}

.td-art img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dedbe3;
}

.td-rw-image,
.td-image-trim-top {
  overflow: hidden;
  border: 1px solid #dedbe3;
}

.td-rw-image img,
.td-image-trim-top img {
  border: 0;
  clip-path: inset(1px 0 0);
}

.td-feature p {
  font-size: 16px;
  line-height: 1.7;
  color: #544c63;
  max-width: 60ch;
}

.td-feature p + p {
  margin-top: 18px;
}

.td-feature .td-tag {
  display: inline-block;
  background: #fff2f8;
  color: #180f2a;
  font-size: 14px;
  padding: 5px 10px;
  margin-bottom: 20px;
}

.td-process {
  padding-block: var(--td-section-space);
  border-top: 1px solid #dedbe3;
}

.td-ai + .td-process {
  border-top: 0;
}

.td-process .td-grid {
  margin-top: 40px;
}

.td-process h3 {
  font-size: 24px;
}

.td-process p {
  font-size: 16px;
  line-height: 1.7;
  color: #544c63;
}

.td-end {
  padding-block: 64px 28px;
}

.td-end-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--td-grid-gap);
  align-items: end;
}

.td-end-row > :first-child {
  grid-column: 1/span 7;
}

.td-end-row .td-actions {
  grid-column: 8/-1;
  justify-self: end;
  margin-top: 0;
}

.td-end h2 {
  max-width: 18ch;
}

.td-footer {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--td-grid-gap);
  font-size: 16px;
  line-height: 1.7;
  color: #f4a6cc;
  margin-top: 56px;
  padding-block: 32px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1490196078);
}

.td-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-column: 1/span 5;
}

.td-footer-explore {
  grid-column: 6/span 3;
}

.td-footer-details {
  grid-column: 9/-1;
}

.td-footer .td-footer-name {
  font-size: 22px;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 12px;
}

.td-footer-heading {
  font-size: 14px;
  font-weight: 500;
  color: #f4a6cc;
  margin-bottom: 12px;
}

.td-footer a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.td-footer a:hover {
  color: #f4a6cc;
  text-decoration-color: #e90187;
}

.td-footer-menu {
  font-size: 16px;
}

.td-footer-menu .wp-block-navigation-item {
  color: #ffffff;
}

.td-footer-menu .wp-block-navigation__container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 8px 24px;
  align-items: flex-start;
}

.td-footer-menu .wp-block-navigation-item__content {
  color: #ffffff;
  text-decoration: none;
  padding-block: 2px;
}

.td-footer-menu .wp-block-navigation-item__content:is(:hover, :focus-visible) {
  color: #f4a6cc;
  text-decoration: underline;
  text-decoration-color: #e90187;
}

.td-footer-legal {
  margin-top: auto;
  padding-top: 24px;
  font-size: 14px;
  text-align: left;
}

.td-footer-details p + p {
  margin-top: 10px;
}

.td-footer-details a {
  overflow-wrap: anywhere;
}

.td-footer-standalone {
  padding-top: 24px;
}

.td-footer-standalone .td-footer {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.td-page-hero {
  padding-block: 64px 72px;
}

.td-page-hero h1 {
  max-width: 19ch;
  font-size: clamp(40px, 4.8vw, 72px);
}

.td-page-hero p:not(.td-label) {
  max-width: 65ch;
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.7;
}

.td-page-section + .td-page-section {
  border-top: 1px solid #dedbe3;
}

.td-page-section > .wp-block-heading + p {
  margin-top: 24px;
  max-width: 75ch;
}

.td-copy {
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.75;
}

.td-page-section > .td-copy:only-child {
  max-width: 78ch;
  margin-inline: auto;
}

.td-copy > p + p,
.td-copy > h2 + p,
.td-copy > h3 + p {
  margin-top: 22px;
}

.td-copy > h2:not(:first-child),
.td-copy > h3:not(:first-child) {
  margin-top: 36px;
}

.td-copy ul {
  padding-left: 24px;
  margin-block: 24px;
}

.td-copy li + li {
  margin-top: 14px;
}

.td-privacy > .td-wrap > .td-copy {
  max-width: 78ch;
  margin-inline: auto;
}

.td-page-hero p.td-privacy-date {
  font-size: 14px;
  color: #f4a6cc;
}

.td-privacy code {
  font-size: 0.95em;
  overflow-wrap: anywhere;
}

.td-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--td-grid-gap);
}

.td-two > .td-copy {
  max-width: 60ch;
}

.wp-block-post-content > .td-dark:first-child + .td-page-section > .td-copy:only-child {
  max-width: none;
  margin-inline: 0;
}

.td-experience-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: var(--td-grid-gap);
}

.td-experience-grid > .wp-block-heading {
  grid-column: 1/span 4;
}

.td-experience-grid > .td-copy {
  grid-column: 5/-1;
  max-width: none;
}

@media (max-width: 900px) {
  .td-experience-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .td-experience-grid > .wp-block-heading,
  .td-experience-grid > .td-copy {
    grid-column: auto;
  }
}
.td-client-story {
  background: #fff2f8;
}

.td-client-story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--td-grid-gap);
  align-items: start;
}

.td-client-story-grid > .td-copy {
  grid-column: 1/span 5;
}

.td-client-story .td-label {
  margin-bottom: 20px;
}

.td-client-story .td-copy > p:not(.td-label) {
  color: #544c63;
}

.td-client-quote {
  grid-column: 7/-1;
  margin: 0;
  border: 0;
  border-inline-start: 2px solid #e90187;
  padding-inline-start: 28px;
}

.td-client-quote p {
  font-size: clamp(20px, 1.8vw, 26px);
  font-style: normal;
  line-height: 1.55;
  text-wrap: pretty;
}

.td-client-quote cite {
  display: block;
  margin-top: 24px;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.6;
  color: #544c63;
}

@media (max-width: 900px) {
  .td-client-story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .td-client-story-grid > .td-copy,
  .td-client-quote {
    grid-column: auto;
  }
}
.td-projects {
  margin-top: 40px;
}

.td-project-intro {
  max-width: 100ch;
  margin-top: 20px;
  color: #544c63;
  line-height: 1.7;
  text-wrap: balance;
}

.td-project-card {
  border-top: 0;
  padding-top: 0;
}

.td-project-ribbon {
  overflow: hidden;
}

.td-project-ribbon figcaption {
  position: absolute;
  top: 32px;
  right: -48px;
  z-index: 1;
  width: 192px;
  max-width: none;
  margin: 0;
  padding: 6px 10px;
  transform: rotate(45deg);
  background: #180f2a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
}

.td-project-image {
  position: relative;
  flex: none;
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: 24px;
}

.td-project-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border: 1px solid #dedbe3;
}

.td-project-image-full img {
  object-fit: contain;
}

.td-client-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--td-grid-gap);
  align-items: center;
  margin-top: 40px;
}

.td-client-logo img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: contain;
}

.td-contact-details h2 {
  margin-bottom: 24px;
}

.td-contact-details p + p {
  margin-top: 20px;
}

.td-footer-details .td-contact-note {
  font-size: 14px;
}

.td-contact-details a {
  overflow-wrap: anywhere;
}

.td-pullquote {
  border-left: 2px solid #e90187;
  padding-left: 28px;
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.4;
  max-width: 24ch;
}

@media (min-width: 601px) and (max-width: 760px) {
  .td-site-header {
    gap: 20px;
  }
  .td-nav {
    font-size: 14px;
  }
  .td-nav .wp-block-navigation__container {
    gap: 16px;
  }
  .td-hero > :first-child {
    grid-column: 1/-1;
    max-width: 760px;
  }
  .td-side {
    display: none;
  }
  .td-heading,
  .td-ai-intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .td-heading > :first-child,
  .td-heading > p,
  .td-ai-intro > :first-child,
  .td-ai-intro > p {
    grid-column: auto;
  }
  .td-grid h3 {
    font-size: 21px;
  }
  .td-end-row > :first-child {
    grid-column: 1/span 6;
  }
  .td-end-row .td-actions {
    grid-column: 7/-1;
  }
  .td-action .wp-block-button__link {
    padding-inline: 18px;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .td-site-header {
    flex-direction: column;
    gap: 16px;
    padding-block: 20px 28px;
  }
  .td-logo {
    margin-left: 0;
  }
  .td-nav {
    width: 100%;
    font-size: 14px;
  }
  .td-nav .wp-block-navigation__container {
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }
  .td-hero,
  .td-grid,
  .td-heading,
  .td-ai-intro,
  .td-feature,
  .td-two,
  .td-end-row {
    grid-template-columns: 1fr;
  }
  .td-hero > :first-child,
  .td-heading > :first-child,
  .td-heading > p,
  .td-ai-intro > :first-child,
  .td-ai-intro > p,
  .td-feature > :first-child,
  .td-feature > :nth-child(2),
  .td-end-row > :first-child,
  .td-end-row .td-actions {
    grid-column: auto;
  }
  .td-hero {
    gap: 0;
    padding-block: 40px 48px;
  }
  .td-hero h1 {
    max-width: 13ch;
  }
  .td-intro {
    font-size: 17px;
  }
  .td-side {
    display: none;
  }
  .td-heading,
  .td-ai-intro {
    gap: 24px;
    margin-bottom: 32px;
  }
  .td-grid {
    gap: 36px;
  }
  .td-service {
    padding-top: 24px;
  }
  .td-service .td-link {
    padding-top: 24px;
  }
  .td-feature {
    gap: 28px;
    margin-top: 32px;
  }
  .td-feature > :first-child {
    max-width: 480px;
  }
  .td-end-row {
    gap: 28px;
  }
  .td-end-row .td-actions {
    justify-self: start;
  }
  .td-page-hero {
    padding-block: 40px 48px;
  }
  .td-page-hero p:not(.td-label) {
    font-size: 17px;
  }
  .td-copy {
    font-size: 16px;
  }
  .td-end {
    padding-top: 48px;
  }
}
@media (max-width: 760px) {
  .td-client-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 420px) {
  .td-client-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .td-footer {
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
    gap: 32px 24px;
  }
  .td-footer-brand {
    grid-column: 1/-1;
  }
  .td-footer-explore {
    grid-column: 1;
  }
  .td-footer-details {
    grid-column: 2;
  }
}
@media (max-width: 700px) {
  .td-footer {
    grid-template-columns: 1fr;
  }
  .td-footer-brand,
  .td-footer-explore,
  .td-footer-details {
    grid-column: auto;
  }
  .td-footer-menu .wp-block-navigation__container {
    gap: 12px 24px;
  }
}
@media (max-width: 360px) {
  .td-nav .wp-block-navigation__container {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    column-gap: 28px;
    row-gap: 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
@media (min-width: 901px) {
  .td-ai-case-study > .td-copy {
    grid-column: 1/span 6;
  }
  .td-ai-case-study > .td-art {
    grid-column: 8/-1;
  }
}
.td-ai-working > .td-wrap > .td-copy {
  margin-top: 24px;
}

.td-ai-working-grid {
  margin-top: 40px;
}

.td-ai-working-model p + p {
  margin-top: 20px;
}

.td-ai-working-close {
  max-width: 75ch;
  margin-top: 32px;
}

.td-ai-faqs {
  margin-top: 32px;
}

.td-ai-faq {
  border-top: 1px solid #dedbe3;
  padding-block: 24px;
}

.td-ai-faq:last-child {
  border-bottom: 1px solid #dedbe3;
}

.td-ai-faq > summary {
  cursor: pointer;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.4;
  font-weight: 500;
}

.td-ai-faq > summary::marker {
  color: #cf0077;
}

.td-ai-faq > summary:focus-visible {
  outline: 3px solid #180f2a;
  outline-offset: 5px;
}

.td-ai-faq > p {
  margin-top: 20px;
}
