/*
Theme Name: MudaMuda Bermuda
Theme URI: https://www.mudamudabermuda.com
Author: DevelopMyWeb
Author URI: https://www.developmyweb.com
Description: Custom theme for MudaMudaBermuda — professional web design and management in Bermuda. Serif-led editorial design with full-bleed island photography, the painted-houses colour stripe, and a warm cream/navy/coral palette.
Version: 1.3.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mudamuda
Tags: custom-menu, featured-images, one-column, two-columns
*/

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted, latin + latin-ext subsets)
   -------------------------------------------------------------------------- */

/* Bodoni Moda — logo lockup only */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/bodoni-moda-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/bodoni-moda-400-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Libre Caslon Text — headlines */
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/libre-caslon-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/libre-caslon-400-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/libre-caslon-400i.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/libre-caslon-400i-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/libre-caslon-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/libre-caslon-700-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Libre Franklin — body (variable, 400–700) */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/libre-franklin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/libre-franklin-var-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Lora italic — editorial accents */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lora-400i.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lora-400i-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* palette */
  --mm-cream: #F5F1E8;
  --mm-cream-2: #F3E9D9;
  --mm-navy: #16303B;
  --mm-navy-2: #12242D;
  --mm-ink: #1C333E;
  --mm-body: #33474F;
  --mm-muted: #5D6E74;
  --mm-coral: #E0697A;
  --mm-coral-dark: #CE5566;
  --mm-pink-soft: #F6B3BC;
  --mm-pink-pale: #F8CDD3;
  --mm-stripe-pink: #E88C96;
  --mm-stripe-teal: #4FB3BE;
  --mm-stripe-gold: #E8BC6A;
  --mm-stripe-blue: #7C9EC4;
  --mm-teal-pale: #8ED4DB;
  --mm-gold-pale: #F0D9A0;
  --mm-proof-bg: #E7F1EF;
  --mm-proof-border: #CFE3DF;
  --mm-teal-link: #17646E;
  --mm-rule: #C9BFA8;
  --mm-rule-cream: #E2D8C2;
  --mm-card-border: #E4DAC4;

  /* type */
  --mm-serif: 'Libre Caslon Text', Georgia, serif;
  --mm-sans: 'Libre Franklin', system-ui, -apple-system, sans-serif;
  --mm-accent: 'Lora', Georgia, serif;
  --mm-logo: 'Bodoni Moda', 'Didot', Georgia, serif;

  /* layout */
  --mm-max: 1280px;
  --mm-gutter: clamp(20px, 4.2vw, 56px);
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--mm-cream);
  color: var(--mm-body);
  font-family: var(--mm-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: #E0697A; color: #FFF7F2; }

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

a { color: var(--mm-teal-link); }

[id] { scroll-margin-top: 90px; }

.container {
  max-width: var(--mm-max);
  margin: 0 auto;
  padding-left: var(--mm-gutter);
  padding-right: var(--mm-gutter);
}

/* Accessibility helpers (WordPress conventions) */
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--mm-coral);
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  clip-path: none;
  width: auto;
  height: auto;
}

/* --------------------------------------------------------------------------
   4. Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mm-coral);
  color: #fff;
  font-family: var(--mm-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  padding: 15px 32px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: background .15s ease;
}
.btn:hover,
.btn:focus { background: var(--mm-coral-dark); color: #fff; }

.btn--sm { font-size: 14px; padding: 11px 22px; }
.btn--lg { font-size: 15.5px; padding: 16px 34px; }

.link-ghost {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(255,255,255,0.55);
}
.link-ghost:hover { color: #fff; text-decoration-color: #fff; }

.link-teal {
  font-size: 13px;
  color: var(--mm-teal-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(23,100,110,0.4);
}
.link-teal:hover { text-decoration-color: var(--mm-teal-link); }

/* --------------------------------------------------------------------------
   5. Brand lockup
   -------------------------------------------------------------------------- */

.brand { display: inline-flex; flex-direction: column; text-decoration: none; }
.brand__box {
  display: block;
  border: 1px solid rgba(255,255,255,0.9);
  border-bottom: none;
  padding: 9px 15px 8px;
  text-align: center;
}
.brand__name {
  font-family: var(--mm-logo);
  font-size: 16px;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  color: #fff;
  white-space: nowrap;
}
.brand__tag { display: flex; align-items: center; margin-top: -5px; }
.brand__tag::before,
.brand__tag::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.9); }
.brand__tag-text {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.34em;
  margin-right: -0.34em;
  color: #fff;
  line-height: 1;
  padding: 0 8px;
  white-space: nowrap;
}

.brand--sm .brand__box { padding: 8px 14px 7px; }
.brand--sm .brand__name { font-size: 14px; }
.brand--sm .brand__tag-text { font-size: 9px; padding: 0 7px; }

.custom-logo-link { display: inline-block; line-height: 0; }
.custom-logo { max-height: 56px; width: auto; }

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: relative;
  background: var(--mm-navy);
  color: #fff;
  z-index: 20;
}
.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100px;
}

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-nav .btn,
.site-nav .btn:hover { text-decoration: none; color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 2px;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: transform .15s ease, opacity .15s ease;
}
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .site-header__inner { height: 76px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--mm-navy-2);
    padding: 10px var(--mm-gutter) 28px;
    box-shadow: 0 18px 30px rgba(10,24,32,0.35);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: block; }
  .site-nav li { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .site-nav a { display: block; padding: 15px 2px; font-size: 15px; }
  .site-nav a:hover { text-decoration: none; }
  .site-nav .btn { display: inline-flex; margin-top: 20px; padding: 13px 26px; }
}

/* --------------------------------------------------------------------------
   7. Colour stripe & shared section pieces
   -------------------------------------------------------------------------- */

.stripe { display: grid; grid-template-columns: repeat(4, 1fr); height: 8px; }
.stripe span:nth-child(1) { background: var(--mm-stripe-pink); }
.stripe span:nth-child(2) { background: var(--mm-stripe-teal); }
.stripe span:nth-child(3) { background: var(--mm-stripe-gold); }
.stripe span:nth-child(4) { background: var(--mm-stripe-blue); }

.photo-credit {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.68);
}
.photo-credit--right { left: auto; right: var(--mm-gutter); bottom: 24px; text-align: right; }

.kicker {
  font-family: var(--mm-accent);
  font-style: italic;
  font-size: 18px;
  color: var(--mm-pink-pale);
  margin: 0 0 24px;
}

.tick { width: 44px; height: 3px; background: var(--mm-coral); margin: 0 auto 24px; }

.tick-pink { background: var(--mm-stripe-pink); }
.tick-teal { background: var(--mm-stripe-teal); }
.tick-gold { background: var(--mm-stripe-gold); }
.tick-blue { background: var(--mm-stripe-blue); }

.text-pink { color: var(--mm-stripe-pink); }
.text-teal { color: var(--mm-stripe-teal); }
.text-gold { color: var(--mm-stripe-gold); }
.text-blue { color: var(--mm-stripe-blue); }

.border-pink { border-color: var(--mm-stripe-pink); }
.border-teal { border-color: var(--mm-stripe-teal); }
.border-gold { border-color: var(--mm-stripe-gold); }
.border-blue { border-color: var(--mm-stripe-blue); }

/* Dark photo sections share this base */
.photo-section { position: relative; background-color: var(--mm-navy); background-size: cover; background-repeat: no-repeat; color: #fff; }
.photo-section::before { content: ""; position: absolute; inset: 0; }
.photo-section > .container { position: relative; z-index: 1; }

/* Image placeholders (swap for real photos/screenshots later) */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EDF3F1;
  border: 1px dashed #BFD8D4;
  color: #6F918E;
  font-size: 12px;
  text-align: center;
  padding: 4px;
}
.img-placeholder--circle { border-radius: 50%; }

/* --------------------------------------------------------------------------
   8. Front page — hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 900px;
  background: var(--mm-navy) url("assets/img/horseshoe-bay.jpg") center 32% / cover no-repeat;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,32,42,0.58) 0%, rgba(14,32,42,0.28) 45%, rgba(14,32,42,0.62) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding-top: 140px;
  padding-bottom: 110px;
}
.hero__content { text-align: center; max-width: 920px; margin: 0 auto; }
.hero__title {
  font-family: var(--mm-serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 28px;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(14,32,42,0.45);
}
.hero__title em { font-style: italic; color: var(--mm-pink-soft); }
.hero__lead {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
  max-width: 620px;
  margin: 0 auto 36px;
}
.hero__actions { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .hero { min-height: 0; }
  .hero__inner { padding-top: 120px; padding-bottom: 96px; }
  .hero__lead { font-size: 16.5px; }
}

/* --------------------------------------------------------------------------
   9. Front page — brand band
   -------------------------------------------------------------------------- */

.band-statement { display: flex; align-items: center; justify-content: center; gap: 26px; padding-top: 56px; padding-bottom: 56px; }
.band-statement::before,
.band-statement::after { content: ""; width: 52px; height: 1px; background: var(--mm-rule); flex: none; }
.band-statement p {
  font-family: var(--mm-serif);
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.45;
  color: var(--mm-ink);
  max-width: 760px;
  margin: 0;
  text-align: center;
  text-wrap: balance;
}
.band-statement em { font-family: var(--mm-accent); font-style: italic; color: var(--mm-coral-dark); }

@media (max-width: 720px) {
  .band-statement::before, .band-statement::after { display: none; }
}

/* --------------------------------------------------------------------------
   10. Section headers (shared)
   -------------------------------------------------------------------------- */

.section-head { text-align: center; margin-bottom: 64px; }
.section-head h2 {
  font-family: var(--mm-serif);
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.15;
  color: var(--mm-ink);
  margin: 0 0 18px;
  text-wrap: balance;
}
.section-head p { font-size: 16px; line-height: 1.6; color: var(--mm-muted); max-width: 540px; margin: 0 auto; }

/* --------------------------------------------------------------------------
   11. Services
   -------------------------------------------------------------------------- */

.section-services { background: var(--mm-cream-2); }
.section-services > .container { padding-top: 104px; padding-bottom: 110px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 58px 56px;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card h3 {
  font-family: var(--mm-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  color: var(--mm-ink);
  margin: 0 0 10px;
}
.service-card .service-card__tick { width: 54px; height: 5px; margin: 0 0 14px; }
.service-card p { font-size: 14.5px; line-height: 1.62; color: var(--mm-muted); margin: 0; max-width: 320px; }

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* --------------------------------------------------------------------------
   12. Why us
   -------------------------------------------------------------------------- */

.section-why { background-image: url("assets/img/sessions-house.jpg"); background-position: center 30%; }
.section-why::before { background: linear-gradient(100deg, rgba(16,36,46,0.85) 0%, rgba(16,36,46,0.66) 60%, rgba(16,36,46,0.5) 100%); }
.section-why > .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 120px;
}
.section-why h2 {
  font-family: var(--mm-serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  margin: 0 0 24px;
  text-wrap: balance;
}
.section-why .section-why__lead { font-size: 16.5px; line-height: 1.68; color: rgba(255,255,255,0.82); max-width: 480px; margin: 0; }

.why-list { display: flex; flex-direction: column; }
.why-list__item { border-top: 1px solid rgba(255,255,255,0.35); padding: 22px 4px; }
.why-list__item h3 { font-family: var(--mm-sans); font-size: 17px; font-weight: 600; margin: 0 0 7px; }
.why-list__item p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.75); margin: 0; max-width: 440px; }

@media (max-width: 980px) {
  .section-why > .container { grid-template-columns: 1fr; gap: 48px; padding-top: 88px; padding-bottom: 96px; }
}

/* --------------------------------------------------------------------------
   13. Proof — testimonials & client sites
   -------------------------------------------------------------------------- */

.section-proof { background: var(--mm-proof-bg); border-top: 1px solid var(--mm-proof-border); border-bottom: 1px solid var(--mm-proof-border); }
.section-proof > .container { padding-top: 88px; padding-bottom: 88px; }

.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 64px; }
.testimonial {
  background: rgba(255,255,255,0.62);
  border: 1px solid #C6DCD7;
  border-radius: 3px;
  padding: 40px 42px 36px;
}
.testimonial__mark { font-family: var(--mm-serif); font-size: 56px; line-height: 0.5; color: var(--mm-coral); margin-bottom: 22px; }
.testimonial blockquote {
  font-family: var(--mm-accent);
  font-style: italic;
  font-size: 19px;
  line-height: 1.65;
  color: #2A3F48;
  margin: 0;
}
.testimonial__who { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.testimonial__photo { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; }
.testimonial__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mm-cream-2);
  color: var(--mm-ink);
  font-family: var(--mm-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.testimonial__name { font-size: 14.5px; font-weight: 600; color: var(--mm-ink); }
.testimonial__role { font-size: 13px; color: #66827F; }

.proof-label { text-align: center; font-size: 13px; color: #66827F; margin-bottom: 22px; }

.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.site-card { background: #fff; border: 1px solid #BFD8D4; border-radius: 3px; overflow: hidden; }
.site-card__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #F2F8F7;
  border-bottom: 1px solid #DCEAE7;
}
.site-card__dot { width: 8px; height: 8px; border-radius: 50%; background: #D5E3E0; flex: none; }
.site-card__url { font-size: 12px; color: #6F918E; margin-left: 8px; }
.site-card__shot { display: block; width: 100%; height: 200px; object-fit: cover; }
.site-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.site-card__name { font-size: 14.5px; font-weight: 600; color: var(--mm-ink); }

@media (max-width: 980px) {
  .testimonials { grid-template-columns: 1fr; }
  .site-cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .testimonial { padding: 32px 28px 28px; }
}

/* --------------------------------------------------------------------------
   14. Bermuda
   -------------------------------------------------------------------------- */

.section-bermuda { background-image: url("assets/img/dockyard.jpg"); background-position: center 45%; }
.section-bermuda::before { background: linear-gradient(180deg, rgba(12,30,40,0.62) 0%, rgba(12,30,40,0.42) 45%, rgba(12,30,40,0.75) 100%); }
.section-bermuda > .container { padding-top: 130px; padding-bottom: 110px; text-align: center; }
.section-bermuda__intro { max-width: 820px; margin: 0 auto; }
.section-bermuda h2 {
  font-family: var(--mm-serif);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.15;
  margin: 0 0 22px;
  text-wrap: balance;
}
.section-bermuda__intro p { font-size: 16.5px; line-height: 1.68; color: rgba(255,255,255,0.85); margin: 0 auto; max-width: 640px; }

.bermuda-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 920px;
  margin: 60px auto 0;
  text-align: left;
}
.bermuda-points > div { border-top: 2px solid var(--mm-pink-soft); padding-top: 18px; }
.bermuda-points > div:nth-child(2) { border-top-color: var(--mm-teal-pale); }
.bermuda-points > div:nth-child(3) { border-top-color: var(--mm-gold-pale); }
.bermuda-points h3 { font-family: var(--mm-sans); font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.bermuda-points p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.78); margin: 0; }

@media (max-width: 720px) {
  .section-bermuda > .container { padding-top: 96px; padding-bottom: 96px; }
  .bermuda-points { grid-template-columns: 1fr; gap: 28px; }
}

/* --------------------------------------------------------------------------
   15. Process
   -------------------------------------------------------------------------- */

.section-process { background: var(--mm-navy); color: #fff; }
.section-process > .container { padding-top: 104px; padding-bottom: 110px; }
.section-process .section-head { margin-bottom: 60px; }
.section-process .section-head h2 { color: #fff; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.process-step__top { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.process-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mm-serif);
  font-size: 20px;
  flex: none;
}
.process-step__line { flex: 1; height: 1px; background: rgba(255,255,255,0.22); margin-right: 16px; }
.process-step:last-child .process-step__line { background: transparent; }
.process-step__body { padding-right: 40px; }
.process-step__body h3 { font-family: var(--mm-serif); font-weight: 400; font-size: 26px; margin: 0 0 10px; }
.process-step__body p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.72); margin: 0; max-width: 250px; }

@media (max-width: 980px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 44px 24px; }
  .process-step:nth-child(2) .process-step__line { background: transparent; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; gap: 36px; }
  .process-step__line { background: transparent; }
  .process-step__body { padding-right: 0; }
}

/* --------------------------------------------------------------------------
   16. CTA
   -------------------------------------------------------------------------- */

.section-cta { background-image: url("assets/img/pink-beach.jpg"); background-position: center 58%; }
.section-cta::before { background: linear-gradient(180deg, rgba(14,32,42,0.55) 0%, rgba(14,32,42,0.45) 50%, rgba(14,32,42,0.68) 100%); }
.section-cta > .container { padding-top: 150px; padding-bottom: 150px; text-align: center; }
.section-cta h2 {
  font-family: var(--mm-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.15;
  margin: 0 auto 36px;
  max-width: 760px;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(14,32,42,0.5);
}
.section-cta h2 em { font-style: italic; color: var(--mm-pink-soft); }
.section-cta__actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.section-cta__alt { font-size: 15px; color: rgba(255,255,255,0.82); }
.section-cta__alt a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,0.55);
}
.section-cta__alt a:hover { text-decoration-color: #fff; }

@media (max-width: 720px) {
  .section-cta > .container { padding-top: 110px; padding-bottom: 110px; }
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--mm-navy-2); color: #fff; }
.site-footer__main { padding-top: 68px; padding-bottom: 38px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer__about .brand { margin-bottom: 18px; }
.site-footer__about p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.6); max-width: 300px; margin: 0; }

.site-footer__col { display: flex; flex-direction: column; gap: 11px; }
.site-footer__heading { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.5); margin: 0 0 6px; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 11px; list-style: none; margin: 0; padding: 0; }
.site-footer__col a,
.site-footer__col span { font-size: 14px; color: rgba(255,255,255,0.78); text-decoration: none; }
.site-footer__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__col a.site-footer__cta {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,0.4);
}
.site-footer__col a.site-footer__cta:hover { text-decoration-color: #fff; }

.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; flex-wrap: wrap; }
.site-footer__copy { font-size: 12.5px; color: rgba(255,255,255,0.42); }
.site-footer__powered { display: flex; align-items: center; gap: 12px; }
.site-footer__powered span { font-size: 12.5px; color: rgba(255,255,255,0.42); }
.site-footer__powered img { height: 20px; width: auto; display: block; opacity: 0.65; }
.site-footer__copy a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,0.25);
}
.site-footer__copy a:hover { color: rgba(255,255,255,0.8); text-decoration-color: rgba(255,255,255,0.6); }

@media (max-width: 980px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* --------------------------------------------------------------------------
   18. Interior pages — hero band
   -------------------------------------------------------------------------- */

.page-hero { background: var(--mm-navy); color: #fff; }
.page-hero > .container { padding-top: 96px; padding-bottom: 76px; text-align: center; }
.page-hero .kicker { margin-bottom: 18px; }
.page-hero h1 {
  font-family: var(--mm-serif);
  font-weight: 400;
  font-size: clamp(34px, 3.9vw, 56px);
  line-height: 1.14;
  margin: 0;
  text-wrap: balance;
}
.page-hero h1 em { font-style: italic; color: var(--mm-pink-soft); }
.page-hero__lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 22px auto 0;
}

/* --------------------------------------------------------------------------
   19. Interior pages — generic content (page.php, posts)
   -------------------------------------------------------------------------- */

.section-content > .container { padding-top: 88px; padding-bottom: 96px; }
.section-content .container--narrow { max-width: 820px; }

.entry-content { font-size: 16.5px; line-height: 1.7; color: var(--mm-body); }
.entry-content > * { margin-top: 0; margin-bottom: 1.5em; }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--mm-serif);
  font-weight: 400;
  color: var(--mm-ink);
  line-height: 1.2;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}
.entry-content h2 { font-size: 32px; }
.entry-content h3 { font-size: 25px; }
.entry-content h4 { font-size: 20px; }
.entry-content a { color: var(--mm-teal-link); text-underline-offset: 3px; }
.entry-content blockquote {
  font-family: var(--mm-accent);
  font-style: italic;
  font-size: 20px;
  line-height: 1.6;
  color: #2A3F48;
  border-left: 3px solid var(--mm-coral);
  margin: 2em 0;
  padding: 4px 0 4px 26px;
}
.entry-content ul,
.entry-content ol { padding-left: 24px; }
.entry-content li { margin-bottom: 8px; }
.entry-content img { border-radius: 3px; }
.entry-content hr { border: 0; border-top: 1px solid var(--mm-rule-cream); margin: 2.5em 0; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .wp-caption-text,
.entry-content figcaption { font-size: 13.5px; color: var(--mm-muted); margin-top: 8px; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content .alignleft { float: left; margin: 6px 28px 16px 0; }
.entry-content .alignright { float: right; margin: 6px 0 16px 28px; }

/* --------------------------------------------------------------------------
   20. Services page template
   -------------------------------------------------------------------------- */

.service-rows { max-width: 1000px; margin: 0 auto; }
.service-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 36px;
  padding: 52px 0;
  border-top: 1px solid var(--mm-rule-cream);
}
.service-row:first-child { border-top: 0; padding-top: 0; }
.service-row__num {
  font-family: var(--mm-serif);
  font-size: 40px;
  line-height: 1;
  padding-top: 4px;
}
.service-row h2 {
  font-family: var(--mm-serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.2;
  color: var(--mm-ink);
  margin: 0 0 12px;
}
.service-row__tick { width: 54px; height: 5px; margin: 0 0 18px; }
.service-row__desc { font-size: 16px; line-height: 1.65; color: var(--mm-muted); max-width: 620px; margin: 0 0 22px; }
.service-row ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
}
.service-row li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--mm-body);
}
.service-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 3px;
  background: currentColor;
  opacity: 0.85;
}
.service-row li.li-pink::before { background: var(--mm-stripe-pink); }
.service-row li.li-teal::before { background: var(--mm-stripe-teal); }
.service-row li.li-gold::before { background: var(--mm-stripe-gold); }
.service-row li.li-blue::before { background: var(--mm-stripe-blue); }

@media (max-width: 720px) {
  .service-row { grid-template-columns: 1fr; gap: 10px; padding: 40px 0; }
  .service-row__num { font-size: 30px; }
  .service-row ul { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   21. About page template
   -------------------------------------------------------------------------- */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.story-grid__pull {
  font-family: var(--mm-accent);
  font-style: italic;
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.55;
  color: var(--mm-ink);
  margin: 0;
  border-top: 3px solid var(--mm-coral);
  padding-top: 26px;
}
.story-grid__text p { font-size: 16.5px; line-height: 1.7; color: var(--mm-muted); margin: 0 0 1.4em; }
.story-grid__text p:last-child { margin-bottom: 0; }

.why-grid-light {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 48px;
  max-width: 1080px;
  margin: 72px auto 0;
}
.why-grid-light > div { border-top: 1px solid var(--mm-rule); padding-top: 20px; }
.why-grid-light h3 { font-size: 17px; font-weight: 600; color: var(--mm-ink); margin: 0 0 8px; }
.why-grid-light p { font-size: 14.5px; line-height: 1.62; color: var(--mm-muted); margin: 0; max-width: 440px; }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-grid-light { grid-template-columns: 1fr; gap: 28px; }
}

/* --------------------------------------------------------------------------
   22. Contact page template
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.contact-info h2 {
  font-family: var(--mm-serif);
  font-weight: 400;
  font-size: 30px;
  color: var(--mm-ink);
  margin: 0 0 16px;
}
.contact-info > p { font-size: 16px; line-height: 1.65; color: var(--mm-muted); margin: 0 0 34px; max-width: 380px; }
.contact-info dl { margin: 0; }
.contact-info dt {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mm-muted);
  margin-bottom: 5px;
}
.contact-info dd { margin: 0 0 24px; font-size: 16.5px; color: var(--mm-ink); }
.contact-info dd a { color: var(--mm-teal-link); text-underline-offset: 3px; }
.contact-info__note {
  font-family: var(--mm-accent);
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--mm-coral-dark);
  border-top: 1px solid var(--mm-rule-cream);
  padding-top: 22px;
  margin-top: 10px;
  max-width: 360px;
}

.contact-form-card {
  background: #FFFDF8;
  border: 1px solid var(--mm-card-border);
  border-radius: 3px;
  padding: 40px 42px 44px;
}
.contact-form-card h2 {
  font-family: var(--mm-serif);
  font-weight: 400;
  font-size: 24px;
  color: var(--mm-ink);
  margin: 0 0 26px;
}
.form-field { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--mm-body); margin-bottom: 7px; }
.form-field .req { color: var(--mm-coral-dark); }
.form-field input,
.form-field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #D8CFBB;
  border-radius: 2px;
  padding: 12px 14px;
  font-family: var(--mm-sans);
  font-size: 15px;
  color: var(--mm-ink);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--mm-coral);
  box-shadow: 0 0 0 3px rgba(224,105,122,0.15);
}
.form-field textarea { min-height: 150px; resize: vertical; }
.contact-form-card .btn { margin-top: 6px; }
.form-disclaimer { font-size: 12.5px; color: var(--mm-muted); margin: 14px 0 0; }

.form-notice {
  border-radius: 2px;
  padding: 14px 18px;
  font-size: 14.5px;
  margin-bottom: 26px;
  border: 1px solid;
}
.form-notice--ok { background: #EAF4EC; border-color: #BDDCC5; color: #295C39; }
.form-notice--error { background: #FBEDEA; border-color: #EFC5BD; color: #8C3A2B; }

.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Contact Form 7 (optional plugin). The README's ready-made CF7 form template
   reuses the form-field classes above; these rules cover the extra markup CF7
   wraps around it (control wraps, validation tips, response banner). */
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7-not-valid-tip { display: block; margin-top: 7px; font-size: 13px; color: #8C3A2B; }
.wpcf7 .wpcf7-form-control.wpcf7-not-valid { border-color: var(--mm-coral-dark); }
.wpcf7-spinner { margin: 0 0 0 12px; }
.wpcf7 form .wpcf7-response-output {
  margin: 22px 0 0;
  padding: 14px 18px;
  font-size: 14.5px;
  border: 1px solid;
  border-radius: 2px;
}
.wpcf7 form.sent .wpcf7-response-output { background: #EAF4EC; border-color: #BDDCC5; color: #295C39; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { background: #FBEDEA; border-color: #EFC5BD; color: #8C3A2B; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-form-card { padding: 30px 24px 34px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* --------------------------------------------------------------------------
   23. Blog index / archives / search
   -------------------------------------------------------------------------- */

.post-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.post-card {
  background: #FFFDF8;
  border: 1px solid var(--mm-card-border);
  border-radius: 3px;
  padding: 36px 40px;
}
.post-card__meta {
  font-family: var(--mm-accent);
  font-style: italic;
  font-size: 14.5px;
  color: var(--mm-coral-dark);
  margin-bottom: 10px;
}
.post-card h2 { font-family: var(--mm-serif); font-weight: 400; font-size: 27px; line-height: 1.25; margin: 0 0 12px; }
.post-card h2 a { color: var(--mm-ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--mm-coral-dark); }
.post-card__excerpt { font-size: 15px; line-height: 1.65; color: var(--mm-muted); margin: 0 0 16px; }
.post-card .link-teal { font-size: 14px; }

.no-results { max-width: 820px; margin: 0 auto; text-align: center; }
.no-results h2 { font-family: var(--mm-serif); font-weight: 400; color: var(--mm-ink); }

.pagination { max-width: 820px; margin: 44px auto 0; text-align: center; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--mm-rule);
  border-radius: 2px;
  font-size: 14px;
  color: var(--mm-body);
  text-decoration: none;
}
.pagination .page-numbers.current { background: var(--mm-navy); border-color: var(--mm-navy); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--mm-coral); color: var(--mm-coral-dark); }

/* Single post width */
.single-post .entry-content,
.page .entry-content { max-width: 820px; margin-left: auto; margin-right: auto; }
.entry-header { max-width: 820px; margin: 0 auto 36px; }

/* --------------------------------------------------------------------------
   24. 404
   -------------------------------------------------------------------------- */

.error-404-hero > .container { padding-top: 150px; padding-bottom: 150px; }
.error-404-hero .btn { margin-top: 12px; }
