/*
Theme Name: Yamisha 2026
Theme URI: https://yamisha.com
Author: Jonty Yamisha
Description: Single-page personal site for Jonty Yamisha, rebuilt from the 2026 Webflow design.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: yamisha
*/

/* ---------- Tokens ---------- */
:root {
  --main-blue: #1f3864;
  --main-orange: #eb8e27;
  --main-white: #ffffff;
  --color-n100: #222222;
  --color-n80: #444444;
  --border-grey: #e5e5e5;
  --padding-lg: 64px;
  --tb-padding-lg: 64px;
  --padding-med: 24px;
  --font: helvetica-neue-lt-pro, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--main-white);
  color: #000;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
img { max-width: 100%; vertical-align: middle; display: inline-block; border: 0; }
a { color: var(--main-orange); font-weight: 500; text-decoration: none; background-color: transparent; }
h1, h2, h3, h4 { color: var(--color-n100); margin-top: 0; font-family: var(--font); font-weight: 700; }
h2 { margin-bottom: 12px; font-size: 32px; line-height: 36px; }
h3 { margin-bottom: 16px; font-size: 28px; line-height: 30px; }
h4 { margin-bottom: 8px; font-size: 18px; line-height: 24px; }
p  { color: var(--color-n80); margin: 0 0 8px; font-size: 20px; line-height: 26px; }
em { font-style: italic; }

.hflex { display: flex; flex-direction: row; align-items: flex-start; }
.vflex { display: flex; flex-direction: column; align-items: flex-start; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ---------- Layout ---------- */
.section {
  display: flex; justify-content: center; align-items: center;
  padding: var(--tb-padding-lg) var(--padding-lg);
  background: var(--main-white);
}
.section.hero { background: var(--main-blue); }
.container {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; max-width: 1280px;
}

/* ---------- Hero ---------- */
.hero-row { gap: 60px; justify-content: space-between; width: 100%; }
.hero-main { gap: 40px; width: 100%; max-width: 75%; }
.hero-top { flex: 1 1 0%; align-self: stretch; }
.hero-intro { gap: 24px; }
.hero-hi { color: var(--main-white); margin-bottom: 0; }
.hero-name { color: var(--main-white); margin-bottom: 6px; font-size: 48px; line-height: 48px; }
.hero-tagline {
  color: var(--main-orange); margin-bottom: 0;
  font-size: 18px; font-weight: 500; line-height: 24px;
  letter-spacing: 1px; text-transform: uppercase;
}
.hero-text-content { gap: 16px; }
.hero-text { color: var(--main-white); margin-bottom: 0; }
.hero-image-wrapper { max-width: 40%; }
.hero-image { width: 100%; height: auto; }
/* The photo appears in three places; breakpoints choose which one shows. */
.hero-image-wrapper.is-tablet,
.hero-image-wrapper.is-mobile,
.hero-text-content.is-tablet { display: none; }

.button {
  display: inline-block; cursor: pointer; border: 0;
  background: var(--main-orange); color: var(--color-n100);
  border-radius: 300px; padding: 16px 40px;
  font-size: 20px; font-weight: 700; line-height: 24px;
  transition: filter .15s ease;
}
.button:hover { filter: brightness(1.08); }

/* ---------- Mission + logos ---------- */
.mission { gap: 40px; width: 100%; }
.mission-copy { flex: 1 1 0%; max-width: 75%; }
.mission-copy p { font-size: 18px; line-height: 24px; color: #000; margin: 0; }
.logo-bar { gap: 32px; flex: 1 1 0%; justify-content: space-between; align-items: center; width: 100%; }
.logo {
  flex: 1 1 0%; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: var(--padding-med); border: 1px solid var(--border-grey);
}
.logo img { object-fit: contain; display: block; height: 40px; width: auto; max-width: 100%; }

/* "Where I've worked" label above the logos */
.logos { gap: 16px; width: 100%; }
.logos .section-title { margin: 0; }


/* ---------- Beliefs / clients ---------- */
.split { gap: 32px; flex: 1 1 0%; justify-content: space-between; width: 100%; }
.section-title { color: var(--main-orange); text-transform: uppercase; font-size: 18px; font-weight: 700; line-height: 24px; margin: 0; flex: 0 0 auto; }
.beliefs { gap: 24px; width: 75%; }
.belief-text { margin-bottom: 0; font-size: 26px; }
.divider { background: var(--color-n100); width: 100%; height: 1px; }
.clients { gap: 24px; flex-flow: row; width: 75%; }
.client {
  flex: 1 1 0%; align-self: stretch; flex-flow: column;
  padding: 24px; border: 1px solid var(--border-grey); background: #fbfbfb;
}
.client-heading { margin-bottom: 4px; font-size: 22px; }
.client-text { font-size: 18px; line-height: 24px; }

/* ---------- Footer ---------- */
.footer {
  display: flex; justify-content: center; align-items: center;
  width: 100%; padding: 48px var(--padding-lg);
  background: var(--main-blue);
}
.footer-inner { gap: 16px; flex-flow: column; flex: 1 1 0%; }
.footer-top { flex: 1 1 0%; justify-content: space-between; align-self: stretch; width: 100%; }
.footer-col { gap: 8px; flex: 1 1 0%; }
.footer-col.is-right { gap: 16px; flex-flow: row; justify-content: flex-end; align-items: center; }
.footer-name { color: var(--main-white); font-size: 24px; margin-bottom: 12px; }
.footer-name span { color: var(--main-orange); }
.footer-heading { color: var(--main-white); margin-bottom: 0; font-size: 24px; line-height: 28px; }
.footer-icons { gap: 12px; }
.footer-icons a { display: inline-block; max-width: 100%; }
.footer-icons a:hover { opacity: .85; }
.footer-rule { background: var(--main-white); align-self: stretch; width: 100%; min-height: 1px; }
.footer-bottom { flex: 1 1 0%; justify-content: space-between; align-self: stretch; align-items: center; width: 100%; }
.footer-role { color: var(--main-white); text-align: center; }
.footer-role a { color: var(--main-white); font-weight: 500; text-decoration: underline; }
.footer-role a:hover { color: var(--main-orange); }
.copyright { color: var(--main-white); margin: 0; font-size: 16px; line-height: 20px; }

/* ---------- Generic pages (anything other than the home page) ---------- */
.page-body { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.page-body h1 { font-size: 36px; line-height: 40px; }

/* ---------- Tablet (≤ 991px) ---------- */
@media screen and (max-width: 991px) {
  :root { --padding-lg: 40px; --tb-padding-lg: 48px; --padding-med: 20px; }
  .container { max-width: 728px; }
  .hero-hi { font-size: 28px; line-height: 32px; }
  .hero-main { gap: 32px; align-self: flex-start; max-width: none; }
  .hero-top { gap: 40px; justify-content: space-between; }
  .hero-image-wrapper { display: none; }
  .hero-image-wrapper.is-tablet { display: block; max-width: 40%; }
  .hero-text-content { display: none; }
  .hero-text-content.is-tablet { display: flex; }
  .hero-text { font-size: 28px; line-height: 32px; }
  .mission-copy { max-width: none; }
  .mission-copy h2 { font-size: 28px; }
  .logo-bar { gap: 24px; }
  .split { flex-flow: column; }
  .beliefs { width: auto; }
  .belief-text { font-size: 24px; }
  .clients { width: auto; }
  .footer-top { display: grid; gap: 16px; grid-template-columns: .75fr .5fr; }
}

/* ---------- Large phone (≤ 767px) ---------- */
@media screen and (max-width: 767px) {
  .container { max-width: none; }
  .hero-hi { font-size: 24px; }
  .hero-main { gap: 12px; }
  .hero-image-wrapper.is-tablet { max-width: 20%; }
  .hero-text-content { display: flex; }
  .hero-text-content.is-tablet { display: none; }
  .hero-text { font-size: 24px; line-height: 28px; }
  .button { font-size: 18px; line-height: 18px; }
  .logo-bar { gap: 16px; }
  .beliefs { gap: 16px; }
  .split { gap: 24px; }
  .clients { flex-flow: column; }
  .client-text { font-size: 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-col.is-right { justify-content: flex-start; }
  .footer-heading { font-size: 20px; }
}

/* ---------- Small phone (≤ 479px) ---------- */
@media screen and (max-width: 479px) {
  :root { --padding-lg: 32px; --tb-padding-lg: 40px; --padding-med: 16px; }
  .hero-row { flex: 1 1 0%; align-self: stretch; }
  .hero-main { gap: 24px; flex: 1 1 0%; }
  .hero-image-wrapper, .hero-image-wrapper.is-tablet { display: none; }
  .hero-image-wrapper.is-mobile { display: block; max-width: 100%; }
  .hero-text-content { gap: 12px; }
  .hero-name { font-size: 42px; line-height: 42px; }
  .hero-tagline { font-size: 16px; line-height: 20px; }
  .hero-text { line-height: 30px; }
  .button { padding: 12px 32px; line-height: 20px; }
  .logo-bar { flex-flow: wrap; flex: 0 1 auto; }
  .logo { min-width: 150px; }
  .split { gap: 16px; }
  .belief-text { font-size: 20px; }
  .client-heading { font-size: 20px; }
  .client-text { font-size: 18px; }
  .footer-top { display: flex; flex-flow: column; gap: 24px; }
  .footer-name { margin-bottom: 0; }
  .footer-bottom { gap: 8px; flex-flow: column; align-items: flex-start; }
  .footer-role { text-align: left; }
}
