/*
Theme Name: One World Strategies
Theme URI: https://example.com/one-world-strategies
Author: One World Strategies
Author URI: https://example.com
Description: A polished, responsive full-site editing theme for One World Strategies Business Coaching Consultancy. Includes editable starter pages, branded patterns, local imagery, and a built-in contact form.
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: one-world-strategies
Tags: block-patterns, full-site-editing, custom-logo, featured-images, wide-blocks, accessibility-ready
*/

:root {
  --ows-navy: #0b355b;
  --ows-navy-deep: #072a4b;
  --ows-blue: #0b86c9;
  --ows-gold: #d6a536;
  --ows-gold-dark: #b98119;
  --ows-cream: #fbf7ef;
  --ows-mist: #eaf4fa;
  --ows-ink: #1d2a38;
  --ows-muted: #5f6d79;
  --ows-line: #dce4e9;
  --ows-white: #ffffff;
  --ows-shadow: 0 20px 60px rgba(7, 42, 75, .12);
}

html { scroll-behavior: smooth; }
body {
  color: var(--ows-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body, button, input, textarea, select { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
a { transition: color .2s ease, opacity .2s ease, transform .2s ease, background .2s ease; }
main { overflow: hidden; }

/* Header */
.ows-header-shell {
  position: relative;
  z-index: 40;
  background: rgba(255,255,255,.96);
  border-top: 5px solid var(--ows-gold);
  border-bottom: 1px solid rgba(11,53,91,.10);
  box-shadow: 0 8px 32px rgba(7,42,75,.06);
}
.ows-header-shell > .wp-block-group { min-height: 94px; }
.ows-header-shell .wp-block-site-logo img {
  width: 138px;
  height: 76px;
  object-fit: cover;
  border-radius: 2px;
}
.ows-header-shell .wp-block-navigation { font-size: .83rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ows-header-shell .wp-block-navigation a { color: var(--ows-navy); text-decoration: none; }
.ows-header-shell .wp-block-navigation a:hover,
.ows-header-shell .wp-block-navigation .current-menu-item > a { color: var(--ows-gold-dark); }
.ows-header-shell .wp-block-button__link { padding: .72rem 1.15rem; }

/* Type and utility */
.ows-eyebrow {
  color: var(--ows-gold-dark);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.ows-display {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 7vw, 5.9rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .99;
  text-wrap: balance;
}
.ows-section-title {
  color: var(--ows-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.3vw, 3.8rem);
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
.ows-lead { font-size: clamp(1.08rem, 1.8vw, 1.32rem); line-height: 1.75; color: #3f4d59; }
.ows-narrow { max-width: 820px; }
.ows-gold { color: var(--ows-gold); }
.ows-navy { color: var(--ows-navy); }
.ows-white { color: white; }
.ows-rounded { border-radius: 10px; overflow: hidden; }
.ows-shadow { box-shadow: var(--ows-shadow); }
.ows-image-full img { width: 100%; height: 100%; object-fit: cover; }
.ows-section { padding-top: clamp(4.5rem, 8vw, 7.5rem); padding-bottom: clamp(4.5rem, 8vw, 7.5rem); }
.ows-section-sm { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.ows-button-outline .wp-block-button__link { background: transparent !important; color: white !important; border: 1px solid rgba(255,255,255,.55); }
.ows-button-outline .wp-block-button__link:hover { background: white !important; color: var(--ows-navy) !important; }
.wp-block-button__link { font-weight: 800; letter-spacing: .025em; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(7,42,75,.18); }

/* Heroes */
.ows-hero { position: relative; isolation: isolate; }
.ows-hero-home {
  background:
    radial-gradient(circle at 88% 18%, rgba(214,165,54,.19), transparent 24rem),
    linear-gradient(135deg, #fffdf8 0%, var(--ows-cream) 56%, #f5ecdb 100%);
  padding-top: clamp(6.5rem, 12vw, 11rem);
  padding-bottom: clamp(6.5rem, 12vw, 11rem);
}
.ows-hero-home:before {
  content: "";
  position: absolute;
  width: min(34vw, 410px);
  aspect-ratio: 1;
  right: -10%;
  bottom: -33%;
  border: 1px solid rgba(214,165,54,.24);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(214,165,54,.045), 0 0 0 100px rgba(214,165,54,.025);
  z-index: -1;
}
.ows-hero-home .ows-display { color: var(--ows-navy); max-width: 1100px; }
.ows-hero-home .ows-lead { max-width: 850px; }
.ows-hero-inner {
  background:
    linear-gradient(112deg, rgba(7,42,75,.98), rgba(11,53,91,.91)),
    radial-gradient(circle at 84% 22%, rgba(214,165,54,.28), transparent 30rem);
  color: white;
  padding-top: clamp(5.5rem, 10vw, 9rem);
  padding-bottom: clamp(5.5rem, 10vw, 9rem);
}
.ows-hero-inner .ows-display { max-width: 1050px; }
.ows-hero-inner .ows-lead { color: rgba(255,255,255,.78); max-width: 820px; }
.ows-cover-hero { min-height: clamp(520px, 70vh, 740px); }
.ows-cover-hero .wp-block-cover__background { background: linear-gradient(90deg, rgba(7,42,75,.96), rgba(7,42,75,.66), rgba(7,42,75,.16)) !important; opacity: 1 !important; }
.ows-cover-hero .wp-block-cover__inner-container { width: min(1120px, calc(100% - 2rem)); }
.ows-cover-hero .ows-display { color: #fff; max-width: 850px; }
.ows-cover-hero .ows-lead { color: rgba(255,255,255,.84); max-width: 680px; }

/* Brand promise */
.ows-promise-strip { background: var(--ows-gold); color: var(--ows-navy-deep); }
.ows-promise-strip p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.12rem, 2.3vw, 1.65rem); font-weight: 700; letter-spacing: -.015em; text-align: center; }

/* Service cards */
.ows-service-grid { gap: 0 !important; box-shadow: var(--ows-shadow); }
.ows-service-card {
  min-height: 320px;
  padding: clamp(1.7rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ows-service-card .ows-number { font-family: Georgia, serif; font-size: 2.4rem; font-weight: 700; opacity: .8; }
.ows-service-card h3 { font-family: Georgia, serif; font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.1; }
.ows-service-card p { line-height: 1.65; }
.ows-card-navy { background: var(--ows-navy); color: white; }
.ows-card-blue { background: var(--ows-blue); color: white; }
.ows-card-gold { background: var(--ows-gold); color: var(--ows-navy-deep); }
.ows-card-navy p, .ows-card-blue p { color: rgba(255,255,255,.76); }
.ows-card-gold p { color: rgba(7,42,75,.76); }

/* Split content */
.ows-split { gap: clamp(2.5rem, 7vw, 7rem) !important; }
.ows-split > .wp-block-column { min-width: 0; }
.ows-feature-image { min-height: 430px; height: 100%; }
.ows-feature-image img { min-height: 430px; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.ows-soft-panel { background: var(--ows-mist); padding: clamp(2rem, 5vw, 4.5rem); border-radius: 8px; }
.ows-cream-panel { background: #f8eac2; padding: clamp(2rem, 5vw, 4.5rem); border-radius: 8px; }
.ows-quote { border-left: 4px solid var(--ows-gold); padding-left: 1.35rem; font-family: Georgia, serif; font-size: 1.25rem; color: var(--ows-navy); }

/* Process */
.ows-process { position: relative; }
.ows-process:before { content: ""; position: absolute; left: 2rem; right: 2rem; top: 2.15rem; height: 1px; background: rgba(214,165,54,.45); }
.ows-process-step { position: relative; z-index: 1; }
.ows-process-step .ows-number {
  display: grid; place-items: center; width: 4.25rem; height: 4.25rem; border-radius: 50%;
  background: white; border: 2px solid var(--ows-gold); color: var(--ows-navy); font-weight: 850;
  box-shadow: 0 8px 24px rgba(7,42,75,.08); margin-bottom: 1.35rem;
}
.ows-process-step h3 { color: var(--ows-navy); font-family: Georgia, serif; font-size: 1.35rem; }
.ows-process-step p { color: var(--ows-muted); line-height: 1.65; }

/* Presence and CTA */
.ows-presence { background: var(--ows-navy); color: white; border-radius: 10px; overflow: hidden; box-shadow: var(--ows-shadow); }
.ows-presence > .wp-block-column { padding: clamp(2rem, 4vw, 3.5rem); }
.ows-presence > .wp-block-column:last-child { background: var(--ows-mist); color: var(--ows-navy); }
.ows-cta {
  background:
    radial-gradient(circle at 10% 10%, rgba(214,165,54,.22), transparent 26rem),
    var(--ows-navy-deep);
  color: white;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.ows-cta h2 { color: white; font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 4.5rem); letter-spacing: -.04em; line-height: 1.03; }
.ows-cta p { color: rgba(255,255,255,.74); }

/* Contact */
.ows-contact-card { background: white; border: 1px solid var(--ows-line); border-radius: 10px; padding: clamp(1.6rem, 4vw, 3rem); box-shadow: 0 18px 54px rgba(7,42,75,.09); }
.ows-contact-list { list-style: none; padding: 0; margin: 0; }
.ows-contact-list li { padding: .95rem 0; border-bottom: 1px solid var(--ows-line); }
.ows-contact-list li:last-child { border-bottom: 0; }
.ows-contact-form { display: grid; gap: 1rem; }
.ows-contact-form .ows-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ows-contact-form label { color: var(--ows-navy); display: block; font-size: .88rem; font-weight: 800; margin-bottom: .4rem; }
.ows-contact-form input,
.ows-contact-form textarea {
  width: 100%; box-sizing: border-box; border: 1px solid #cbd7df; border-radius: 5px; background: #fbfcfd;
  color: var(--ows-ink); font: inherit; padding: .88rem 1rem; outline: none;
}
.ows-contact-form input:focus,
.ows-contact-form textarea:focus { border-color: var(--ows-blue); box-shadow: 0 0 0 3px rgba(11,134,201,.12); background: #fff; }
.ows-contact-form textarea { min-height: 160px; resize: vertical; }
.ows-contact-form button {
  border: 0; border-radius: 3px; background: var(--ows-gold); color: var(--ows-navy-deep); cursor: pointer;
  font-weight: 850; padding: .95rem 1.4rem; justify-self: start;
}
.ows-contact-form button:hover { background: #e2b448; transform: translateY(-1px); }
.ows-form-notice { border-radius: 4px; padding: .9rem 1rem; margin-bottom: 1rem; }
.ows-form-success { background: #e9f8ef; border: 1px solid #9fd6b2; color: #175c33; }
.ows-form-error { background: #fff0ee; border: 1px solid #efaaa2; color: #8c2d22; }
.ows-hp { position: absolute !important; left: -10000px !important; }

/* Footer */
.ows-footer { background: #061f38; color: rgba(255,255,255,.72); }
.ows-footer-main { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.ows-footer h2, .ows-footer h3, .ows-footer .wp-block-site-title { color: white; }
.ows-footer .wp-block-site-logo img { width: 150px; height: 90px; object-fit: cover; }
.ows-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.ows-footer a:hover { color: var(--ows-gold); }
.ows-footer .wp-block-navigation { font-size: .92rem; }
.ows-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.25rem; padding-bottom: 1.25rem; font-size: .78rem; }

/* Default content */
.wp-block-post-content > *:not(.alignfull):not(.alignwide) { width: min(100% - 2rem, 1120px); margin-left: auto; margin-right: auto; }
.wp-block-post-content > .alignwide { width: min(100% - 2rem, 1360px); margin-left: auto; margin-right: auto; }
.wp-block-post-content > .alignfull { width: 100%; }
.wp-block-post-content > p:first-child { margin-top: 2rem; }

@media (max-width: 900px) {
  .ows-header-shell > .wp-block-group { min-height: 82px; }
  .ows-header-shell .wp-block-buttons { display: none; }
  .ows-header-shell .wp-block-site-logo img { width: 116px; height: 64px; }
  .ows-service-grid { box-shadow: none; gap: 1rem !important; }
  .ows-service-card { min-height: 250px; border-radius: 8px; }
  .ows-process { gap: 2rem !important; }
  .ows-process:before { display: none; }
  .ows-feature-image, .ows-feature-image img { min-height: 340px; }
}

@media (max-width: 700px) {
  .ows-display { font-size: clamp(2.5rem, 14vw, 4.3rem); }
  .ows-section-title { font-size: clamp(2rem, 10vw, 3rem); }
  .ows-hero-home, .ows-hero-inner { text-align: left; }
  .ows-hero-home .has-text-align-center, .ows-hero-inner .has-text-align-center { text-align: left !important; }
  .ows-hero-home .is-content-justification-center, .ows-hero-inner .is-content-justification-center { justify-content: flex-start; }
  .ows-contact-form .ows-field-row { grid-template-columns: 1fr; }
  .ows-cover-hero .wp-block-cover__background { background: rgba(7,42,75,.84) !important; }
  .ows-footer-main { text-align: left; }

  /* Make the WordPress mobile menu comfortable to tap. */
  .ows-header-shell .wp-block-navigation__responsive-container-open,
  .ows-header-shell .wp-block-navigation__responsive-container-close {
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
  }
  .ows-header-shell .wp-block-navigation__responsive-container.is-menu-open {
    padding: 5.5rem 1.5rem 2rem;
  }
  .ows-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
  .ows-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-page-list {
    align-items: stretch;
    gap: .2rem;
    width: 100%;
  }
  .ows-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
  .ows-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    width: 100%;
  }
  .ows-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    border-bottom: 1px solid rgba(255,255,255,.14);
    display: block;
    font-size: 1.05rem;
    padding: .85rem 0;
  }
}

@media (max-width: 480px) {
  body { overflow-x: hidden; }
  .ows-header-shell > .wp-block-group { min-height: 76px; }
  .ows-header-shell .wp-block-site-logo img { height: 58px; width: 104px; }
  .ows-service-card { min-height: 220px; padding: 1.5rem; }
  .ows-feature-image, .ows-feature-image img { min-height: 260px; }
  .ows-presence > .wp-block-column { padding: 1.5rem; }
  .ows-contact-card { padding: 1.25rem; }

  .ows-hero .wp-block-buttons,
  .ows-cover-hero .wp-block-buttons,
  .ows-cta .wp-block-buttons {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }
  .ows-hero .wp-block-button,
  .ows-cover-hero .wp-block-button,
  .ows-cta .wp-block-button,
  .ows-hero .wp-block-button__link,
  .ows-cover-hero .wp-block-button__link,
  .ows-cta .wp-block-button__link {
    text-align: center;
    width: 100%;
  }
  .ows-footer .wp-block-navigation-item__content { display: block; padding: .55rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
