/*
Theme Name: Pete Duffy (MTC)
Theme URI: https://peteduffy.co.uk
Author: Marketing The Change
Author URI: https://marketingthechange.com
Description: Block theme for Pete Duffy, independent SEO advisor, Liverpool. Sister brand to Marketing The Change and Liverpool Web Designers. Editorial personal-brand aesthetic: Bone off-white, Ink text, sparing Ochre accent. Source Serif Pro 600 headlines, Inter body, IBM Plex Mono prices. 6px rounded rectangle buttons.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Tested up to: 6.6
License: Proprietary
Text Domain: peteduffy-mtc
Tags: block-theme, one-column, custom-colors, custom-logo, editor-style, wide-blocks, block-styles
*/

:root {
  --pd-shadow-card-hover: 0 4px 12px rgba(19,23,32,0.06);
  --pd-radius-button: 6px;
  --pd-radius-card: 4px;
  --pd-radius-chip: 4px;
}

html { scroll-behavior: smooth; }
body { background-color: #F6F1E7; color: #131720; }

/* Skip link */
.skip-link:focus {
  background: #131720;
  color: #F6F1E7;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  outline: 2px solid #B9873F;
  outline-offset: 2px;
}

/* Buttons: 6px slightly-rounded rectangle only. No pill. No amber. */
.wp-block-button__link,
.wp-element-button,
button.wp-block-search__button {
  border-radius: 6px !important;
  font-weight: 600;
  padding: 12px 24px;
  min-height: 44px;
  transition: background-color 150ms ease;
}
.wp-block-button.is-style-pd-primary .wp-block-button__link {
  background-color: #131720;
  color: #F6F1E7;
}
.wp-block-button.is-style-pd-primary .wp-block-button__link:hover,
.wp-block-button.is-style-pd-primary .wp-block-button__link:focus {
  background-color: #000000;
  outline: 2px solid #B9873F;
  outline-offset: 2px;
}
.wp-block-button.is-style-pd-secondary .wp-block-button__link {
  background-color: transparent;
  color: #3E748A;
  border: none;
  padding: 12px 0;
  text-decoration: underline;
  font-weight: 500;
}
.wp-block-button.is-style-pd-secondary .wp-block-button__link:hover {
  color: #B9873F;
}

/* Eyebrow label in Ochre uppercase */
.pd-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #B9873F;
  margin-bottom: 8px;
}

/* Price in Plex Mono */
.pd-price {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 22px;
  font-weight: 600;
  color: #131720;
}

/* Service card */
.pd-service-card {
  background: #F6F1E7;
  border: 1px solid #DED8CB;
  border-radius: 4px;
  padding: 32px;
  transition: box-shadow 150ms ease;
}
.pd-service-card:hover { box-shadow: var(--pd-shadow-card-hover); }

/* Advisor note */
.pd-advisor-note {
  background: #F6F1E7;
  border-left: 3px solid #B9873F;
  padding: 20px 24px;
  font-family: 'Source Serif Pro', Georgia, serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: #131720;
  margin: 32px 0;
}

/* Sister-brand callout band */
.pd-sister-callout {
  background: #131720;
  color: #F6F1E7;
  padding: 24px 32px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
.pd-sister-callout a {
  color: #B9873F;
  text-decoration: underline;
  font-weight: 600;
}
.pd-sister-callout a:hover { color: #F6F1E7; }

/* Pull quote (Source Serif italic) */
.pd-pullquote {
  font-family: 'Source Serif Pro', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.4;
  color: #131720;
  border-top: 2px solid #B9873F;
  border-bottom: 2px solid #B9873F;
  padding: 32px 0;
  margin: 40px 0;
  text-align: center;
  max-width: 680px;
}

/* Paper card image treatment */
.img-paper-card {
  padding: 12px;
  background: #F6F1E7;
  border: 1px solid #DED8CB;
  border-radius: 4px;
  display: inline-block;
  max-width: 100%;
}
.img-paper-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

/* Trust strip */
.pd-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid #DED8CB;
  border-bottom: 1px solid #DED8CB;
}
.pd-trust-strip__tile { font-family: 'Inter', sans-serif; }
.pd-trust-strip__tile .pd-eyebrow { color: #6E7784; }
@media (max-width: 782px) {
  .pd-trust-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Signature */
.pd-signature {
  font-family: 'Source Serif Pro', Georgia, serif;
  font-style: italic;
  font-size: 24px;
  color: #B9873F;
}

/* Body max column */
.entry-content > p,
.entry-content > h2,
.entry-content > h3,
.entry-content > ul,
.entry-content > ol { max-width: 680px; }

/* Links on body */
a { color: #3E748A; text-decoration: underline; }
a:hover { color: #B9873F; }

/* Focus states */
:focus-visible { outline: 2px solid #B9873F; outline-offset: 2px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
