.site-title, .wp-block-site-title, .site-title a, .wp-block-site-title a {
    text-transform: none !important;
}


/* Brand buttons: hover lift and accessible focus */
.button, .wp-block-button__link, .kb-button, button, input[type="submit"] {
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.button:hover, .wp-block-button__link:hover, .kb-button:hover, input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(14, 26, 43, 0.16);
}
.button:active, .wp-block-button__link:active, .kb-button:active, input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(14, 26, 43, 0.12);
}
a:focus-visible, .button:focus-visible, .wp-block-button__link:focus-visible, .kb-button:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #E94B8A;
  outline-offset: 3px;
}


/* Oxford Pink rule: pink text only on Midnight Navy. On light backgrounds pink is used for underlines, outlines and button fills with navy text. */
.entry-content a:not(.wp-block-button__link):not(.kb-button), .site-main a:not(.wp-block-button__link):not(.kb-button):not(.button) {
  color: #0E1A2B;
  text-decoration: underline;
  text-decoration-color: #E94B8A;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.entry-content a:not(.wp-block-button__link):not(.kb-button):hover, .site-main a:not(.wp-block-button__link):not(.kb-button):not(.button):hover {
  color: #0E1A2B;
  text-decoration-thickness: 2px;
}
.site-header .main-navigation .menu > li > a:hover, .site-header .main-navigation .menu > li.current-menu-item > a, .site-header .main-navigation .menu > li.current-menu-ancestor > a {
  color: #F6F3EE;
  text-decoration: underline;
  text-decoration-color: #E94B8A;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.button:hover, .wp-block-button__link:hover, .kb-button:hover, input[type="submit"]:hover,
.button:active, .wp-block-button__link:active, .kb-button:active, input[type="submit"]:active {
  color: #0E1A2B !important;
}
.button:active, .wp-block-button__link:active, .kb-button:active, input[type="submit"]:active {
  background-color: #E94B8A;
  border-color: #E94B8A;
}
/* Footer: Midnight Navy, so pink text is allowed here */
.site-footer a:hover, .site-footer .footer-navigation a:hover { color: #E94B8A; }

.site-footer .footer-wordmark { font-family: "DM Sans", sans-serif; font-weight: 600; font-size: 24px; color: #F6F3EE; margin: 0 0 0.25em; }
.site-footer .footer-wordmark-accent { color: #E94B8A; }
.site-footer .footer-tagline { color: #E7E0D5; font-size: 16px; margin: 0; }

/* Header: Midnight Navy to match the footer; space before content */
.page .content-area, .single .content-area { margin-top: 3rem; }

/* Footer menu: two columns of three, no headings. Column 1 using the site; column 2 data and terms */
.site-footer .footer-navigation .menu { display: grid !important; grid-template-columns: repeat(2, max-content); grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 3rem; row-gap: 0.6em; justify-content: end; }
.site-footer .footer-navigation .menu > li { margin: 0; text-align: left; justify-self: start; }
.site-footer .footer-navigation .menu > li > a { padding: 0 !important; }
@media (max-width: 767px) { .site-footer .footer-navigation .menu { justify-content: start; column-gap: 2rem; } }

/* Header site title: "can" in Oxford Pink, matching the footer wordmark. Real text stays for screen readers; the visible copy is decorative */
#masthead .site-branding .site-title { font-size: 0 !important; line-height: 1.2; }
#masthead .site-branding .site-title::before { content: "the things you\00a0" / ""; font-size: 26px; color: #F6F3EE; }
#masthead .site-branding .site-title::after { content: "can" / ""; font-size: 26px; color: #E94B8A; }

/* ===== Home page layout (ttyc-*) ===== */
.home .content-area { margin-top: 0 !important; margin-bottom: 0 !important; }
.home .entry-content > .alignfull { margin-top: 0; margin-bottom: 0; }
.ttyc-hero, .ttyc-section, .ttyc-cta { position: relative; padding-top: 6rem; padding-bottom: 6rem; }
.ttyc-hero > .wp-block-group__inner-container, .ttyc-section > .wp-block-group__inner-container, .ttyc-cta > .wp-block-group__inner-container { max-width: 1188px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.ttyc-dark { background: #0E1A2B; color: #F6F3EE; }
.ttyc-dark h1, .ttyc-dark h2, .ttyc-dark h3, .ttyc-dark p { color: #F6F3EE; }
.ttyc-stone { background: #E7E0D5; }
.ttyc-hero { padding-top: 7rem; padding-bottom: 10rem; text-align: center; }
.ttyc-hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.1; max-width: 16ch; margin: 0 auto 1.5rem; }
.ttyc-lead { font-size: 1.25rem; line-height: 1.55; max-width: 40ch; }
.ttyc-hero .ttyc-lead, .ttyc-centre .ttyc-lead { margin-left: auto; margin-right: auto; }
.ttyc-eyebrow { font-family: "Inter", sans-serif; font-size: 0.875rem !important; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem; }
.ttyc-dark .ttyc-eyebrow { color: #E94B8A; }
.ttyc-eyebrow-light { color: #4A5568; }
.ttyc-hero .wp-block-buttons, .ttyc-centre .wp-block-buttons, .ttyc-cta .wp-block-buttons { justify-content: center; margin-top: 2rem; }
.ttyc-centre { text-align: center; }
.ttyc-centre > .wp-block-group__inner-container > p { max-width: 720px; margin-left: auto; margin-right: auto; }
.ttyc-centre-head > .wp-block-group__inner-container > h2 { text-align: center; margin-bottom: 2.5rem; }
.ttyc-note { color: #4A5568; font-size: 1rem; }

/* Buttons on navy: pink fill with navy text; ghost outline in Bone */
.ttyc-dark .ttyc-btn-pink .wp-block-button__link { background: #E94B8A; color: #0E1A2B !important; border: 2px solid #E94B8A; }
.ttyc-dark .ttyc-btn-pink .wp-block-button__link:hover { background: #F6F3EE; border-color: #F6F3EE; }
.ttyc-dark .ttyc-btn-ghost .wp-block-button__link { background: transparent; color: #F6F3EE !important; border: 2px solid #F6F3EE; }
.ttyc-dark .ttyc-btn-ghost .wp-block-button__link:hover { background: #F6F3EE; color: #0E1A2B !important; }

/* Waves */
.ttyc-wave-bottom::after, .ttyc-wave-top::before { content: ""; position: absolute; left: 0; right: 0; height: clamp(40px, 6vw, 90px); background-repeat: no-repeat; background-size: 100% 100%; pointer-events: none; }
.ttyc-wave-bottom::after { bottom: -1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23F6F3EE' d='M0,64 C240,120 480,0 720,32 C960,64 1200,112 1440,48 L1440,120 L0,120 Z'/%3E%3C/svg%3E"); }
.ttyc-wave-top::before { top: -1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23F6F3EE' d='M0,0 L1440,0 L1440,56 C1200,112 960,16 720,48 C480,80 240,120 0,64 Z'/%3E%3C/svg%3E"); }
.ttyc-stone.ttyc-wave-top, .ttyc-cta { padding-top: 9rem; }
.ttyc-stone.ttyc-wave-bottom { padding-bottom: 9rem; }

/* Organic photo shape */
.ttyc-blob { margin: 0; }
.ttyc-blob img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; }
.ttyc-portrait img { width: 100%; aspect-ratio: 9 / 11; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 40px rgba(14, 26, 43, 0.14); }
.ttyc-section .wp-block-columns { gap: 4rem; }

/* Cards */
.ttyc-cards { gap: 2rem !important; }
.ttyc-card { background: #FFFDFC; border-radius: 16px; padding: 2.5rem; box-shadow: 0 12px 30px rgba(14, 26, 43, 0.08); border-top: 4px solid #E94B8A; }
.ttyc-card h3 { margin-top: 0; }
.ttyc-coach { padding-top: 3rem; }
.ttyc-editorial { padding-top: 2rem; }

@media (max-width: 781px) {
  .ttyc-hero, .ttyc-section, .ttyc-cta { padding-top: 4rem; padding-bottom: 4rem; }
  .ttyc-hero { padding-bottom: 6rem; }
  .ttyc-stone.ttyc-wave-top, .ttyc-cta { padding-top: 6rem; }
  .ttyc-stone.ttyc-wave-bottom { padding-bottom: 6rem; }
  .ttyc-section .wp-block-columns { gap: 2rem; }
  .ttyc-blob, .ttyc-portrait { max-width: 420px; margin: 0 auto; }
}

/* ===== Inner pages (same system as Home) ===== */
.content-area:has(.ttyc-hero) { margin-top: 0 !important; margin-bottom: 0 !important; }
.entry-content > .alignfull.ttyc-hero, .entry-content > .alignfull.ttyc-section, .entry-content > .alignfull.ttyc-cta { margin-top: 0; margin-bottom: 0; }
.ttyc-hero-page { padding-top: 5rem; padding-bottom: 8.5rem; }
.ttyc-hero-page h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); max-width: 20ch; }
.ttyc-hero-page .ttyc-lead { max-width: 46ch; }
.ttyc-prose > .wp-block-group__inner-container { max-width: 808px !important; }
.ttyc-prose h2:first-child { margin-top: 0; }
.ttyc-card-grid > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.ttyc-card { margin: 0 !important; height: 100%; box-sizing: border-box; }
.ttyc-card > .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
.ttyc-card > .wp-block-group__inner-container { display: flex; flex-direction: column; height: 100%; }
.ttyc-card .wp-block-buttons { margin-top: auto; padding-top: 1.5rem; }
.ttyc-wave-top.ttyc-from-stone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23E7E0D5' d='M0,0 L1440,0 L1440,56 C1200,112 960,16 720,48 C480,80 240,120 0,64 Z'/%3E%3C/svg%3E"); }
.ttyc-wave-footer { padding-bottom: 9rem !important; }
.ttyc-wave-footer::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 6vw, 90px); background-size: 100% 100%; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%230E1A2B' d='M0,64 C240,120 480,0 720,32 C960,64 1200,112 1440,48 L1440,120 L0,120 Z'/%3E%3C/svg%3E"); }
.ttyc-stone.ttyc-wave-footer::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%230E1A2B' d='M0,64 C240,120 480,0 720,32 C960,64 1200,112 1440,48 L1440,120 L0,120 Z'/%3E%3C/svg%3E"); }
/* Any button on navy: pink with navy text; a second button in the row is a Bone outline */
.ttyc-dark .wp-block-button .wp-block-button__link { background: #E94B8A; color: #0E1A2B !important; border: 2px solid #E94B8A; }
.ttyc-dark .wp-block-button .wp-block-button__link:hover { background: #F6F3EE; border-color: #F6F3EE; }
.ttyc-dark .wp-block-button + .wp-block-button .wp-block-button__link { background: transparent; color: #F6F3EE !important; border-color: #F6F3EE; }
.ttyc-dark .wp-block-button + .wp-block-button .wp-block-button__link:hover { background: #F6F3EE; color: #0E1A2B !important; }
@media (max-width: 781px) {
  .ttyc-hero-page { padding-top: 3.5rem; padding-bottom: 5.5rem; }
  .ttyc-wave-footer { padding-bottom: 6rem !important; }
}
/* Archive (blog) title area */
.entry-hero[class*="archive-hero-section"], .entry-hero[class*="archive-hero-section"] .entry-hero-container-inner { background: #0E1A2B !important; }
.entry-hero[class*="archive-hero-section"] { position: relative; padding-bottom: 60px; }
.entry-hero[class*="archive-hero-section"] h1, .entry-hero[class*="archive-hero-section"] .archive-description { color: #F6F3EE !important; }
.entry-hero[class*="archive-hero-section"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C360 0 720 60 1080 30 S1440 10 1440 10 V60 H0Z' fill='%23F6F3EE'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%; }
