/* =====================================================================
   WORDDIVA WRITING - site stylesheet
   Rebuilt from the original Divi/WordPress theme as plain CSS.
   ===================================================================== */

:root {
  --orange: #f16334;
  --orange-2: #f46624;
  --orange-hover: #d9531f;
  --text: #666666;
  --heading: #333333;
  --light: #f7f7f7;
  --input-bg: #eeeeee;
  --black: #000000;
  --white: #ffffff;
  --body-font: "Open Sans", Arial, sans-serif;
  --head-font: "Montserrat", Helvetica, Arial, Lucida, sans-serif;
  --container: 1080px;
  --header-h: 80px;
  --header-h-small: 56px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--orange-hover); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding-bottom: 10px;
  color: var(--heading);
  font-family: var(--body-font);
  font-weight: 500;
  line-height: 1.1;
}
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
ul { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--orange); color: #fff; padding: 8px 14px; z-index: 2000; border-radius: 3px;
}
.skip-link:focus { left: 8px; color: #fff; }

.container {
  width: 80%;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.container--narrow { max-width: 800px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
  transition: box-shadow .3s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  transition: height .3s ease;
}
.site-header.is-scrolled .container { height: var(--header-h-small); }
.site-header.is-scrolled { box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.site-logo { display: block; line-height: 0; }
.site-logo img {
  height: 43px;
  width: auto;
  transition: height .3s ease;
}
.site-header.is-scrolled .site-logo img { height: 34px; }

.site-nav ul { display: flex; align-items: center; }
.site-nav li { padding-right: 22px; }
.site-nav li:last-child { padding-right: 0; }
.site-nav a {
  display: block;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  color: rgba(0, 0, 0, .6);
  padding: 8px 0;
  transition: color .3s ease, opacity .3s ease;
}
.site-nav a:hover { color: rgba(0, 0, 0, .6); opacity: .7; }
.site-nav a[aria-current="page"],
.site-nav li.is-active a { color: var(--orange); opacity: 1; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 8px; margin-right: -8px;
  color: var(--orange);
  line-height: 0;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-top: 3px solid var(--orange);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
    display: none;
    padding: 5%;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav li { padding: 0; border-bottom: 1px solid rgba(0, 0, 0, .05); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a { padding: 12px 0; font-size: 15px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
  line-height: 1.7;
  transition: all .3s ease;
  text-decoration: none;
}
.btn--solid {
  background: var(--orange);
  color: var(--white) !important;
  border: 0;
  font-family: var(--head-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 32px;
}
.btn--solid:hover { background: var(--orange-hover); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(241, 99, 52, .3); }
.btn--outline {
  background: transparent;
  color: var(--orange) !important;
  border: 2px solid var(--orange);
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 20px;
  padding: 6px 20px;
}
.btn--outline:hover { background: var(--orange); color: var(--white) !important; }
.btn--center { display: block; text-align: center; }
.btn--center .btn { display: inline-block; }

/* ---------- Dividers ---------- */
.divider {
  width: 23px;
  border: 0;
  border-top: 3px solid var(--orange-2);
  margin: 0 0 28px;
  height: 0;
}
.divider--center { margin-left: auto; margin-right: auto; }
.divider--right { margin-left: auto; margin-right: 0; }
.divider--white { border-top-color: var(--white); }
.divider--full {
  width: 100%;
  border-top: 1px solid var(--black);
  margin: 12px 0 26px;
}

/* ---------- Section titles ---------- */
.section-title {
  font-family: var(--head-font);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 30px;
  line-height: 1.5;
  color: var(--heading);
  padding-bottom: 5px;
}
.section-title--center { text-align: center; }
.section-title--right { text-align: right; }

/* ---------- Hero (page banners) ---------- */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 6% 0;
}
.hero__inner { max-width: 700px; margin: 0 auto; }
.hero__title {
  font-family: var(--head-font);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 48px;
  letter-spacing: 3px;
  line-height: 1.3;
  color: var(--white);
  padding-bottom: 10px;
}
.hero__subtitle {
  font-family: var(--head-font);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.35;
  color: var(--white);
  margin: 0;
}
.hero--about {
  background-image: linear-gradient(3deg, #ffffff 12%, rgba(0, 0, 0, .4) 12%), url("/images/hero-about.jpg");
  background-position: right center;
}
.hero--portfolio {
  background-image: linear-gradient(3deg, #ffffff 12%, rgba(0, 0, 0, .4) 12%), url("/images/hero-portfolio.jpg");
  background-position: right center;
  min-height: 317px;
}
.hero--blog {
  background-image: linear-gradient(3deg, #ffffff 12%, rgba(0, 0, 0, .45) 12%), url("/images/hero-blog.jpg");
  background-position: center;
  min-height: 317px;
}

/* Home hero */
.hero--home {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url("/images/hero-home.jpg");
  background-position: center bottom;
  min-height: 507px;
  display: flex;
  align-items: center;
  padding: 60px 0 70px;
}
.hero--home .hero__inner { max-width: 1080px; }
.hero--home .hero__logo {
  width: 300px;
  max-width: 80%;
  margin: 0 auto 10px;
}
.hero--home .hero__title {
  font-size: 32px;
  letter-spacing: 3px;
  line-height: 1.3;
  text-transform: none;
  padding-bottom: 6px;
}
.hero--home .hero__subtitle {
  font-family: var(--head-font);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 3px;
  line-height: 1.3;
  margin-bottom: 60px;
}

/* ---------- Generic sections ---------- */
.section { padding: 90px 0; }
.section--light { background: var(--light); }
.section--services { padding: 39px 0 90px; }

/* Two column rows (services, about) */
.row {
  display: flex;
  align-items: center;
  gap: 5.5%;
  padding: 27px 0;
}
.row > * { flex: 1 1 0; min-width: 0; }
.row--top { align-items: flex-start; }
.row--reverse { flex-direction: row-reverse; }
.row__image img { width: 100%; }
.row__text h2.service-title,
.service-title {
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.1;
  color: var(--heading);
  padding-bottom: 10px;
}
.service p { font-size: 14px; line-height: 1.7; }
.service .btn { margin-top: 10px; }

@media (max-width: 980px) {
  .row, .row--reverse { flex-direction: column; gap: 30px; }
  .row > * { width: 100%; }
  .row__image { order: -1; }
}

/* ---------- Contact form section (Let's Write Something!) ---------- */
.section--contact {
  background-image: linear-gradient(180deg, #ffffff 0%, rgba(0, 0, 0, 0) 100%), url("/images/contact-bg.jpg");
  background-size: cover;
  background-position: center top;
  padding: 90px 0;
}
.section--contact .form-wrap {
  display: flex;
  justify-content: flex-end;
  padding-top: 27px;
}
.section--contact .contact-form { width: 47.25%; }
@media (max-width: 980px) {
  .section--contact .contact-form { width: 100%; }
}

.contact-form .field { margin-bottom: 16px; }
.contact-form .input {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 0;
  padding: 16px;
  font-family: var(--head-font);
  font-weight: 300;
  font-size: 16px;
  color: #444;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form .input::placeholder { color: #999; opacity: 1; }
.contact-form .input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(241, 99, 52, .15);
}
.contact-form select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.contact-form select.input:invalid,
.contact-form select.input.is-placeholder { color: #999; }
.contact-form textarea.input { min-height: 150px; resize: vertical; }
.contact-form .form-actions { display: flex; justify-content: flex-end; }
.contact-form .btn--submit {
  background: var(--orange);
  color: var(--white);
  border: 8px solid var(--orange);
  border-radius: 3px;
  font-family: var(--head-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  cursor: pointer;
  transition: all .3s ease;
}
.contact-form .btn--submit:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.contact-form .btn--submit[disabled] { opacity: .6; cursor: wait; }
.form-message {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 3px;
  font-size: 14px;
  display: none;
}
.form-message.is-error { display: block; background: #fdecea; color: #b3261e; }
.form-message.is-success { display: block; background: #e8f5e9; color: #1b5e20; }
.honeypot { position: absolute; left: -9999px; top: -9999px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 54px 0 0;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--orange); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5.5%;
  padding: 27px 0;
}
/* Pages carrying the main "Let's Write Something!" form drop the footer form,
   because Netlify's reCAPTCHA only works on one form per page. */
.footer-grid--no-form { grid-template-columns: repeat(3, 1fr); }
.footer-logo { width: 225px; max-width: 100%; margin-bottom: 20px; }
.footer-heading {
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.footer-heading--lg { font-size: 22px; }
.footer-title {
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
  color: var(--white);
  padding-bottom: 10px;
}
.footer-tagline { font-size: 14px; color: var(--white); }

.footer-nav ul { display: flex; flex-wrap: wrap; margin: 0 -11px; }
.footer-nav li { padding: 0 11px; margin-top: 8px; }
.footer-nav a { font-size: 14px; font-weight: 500; line-height: 1; padding-bottom: 8px; display: block; }
.footer-nav a[aria-current="page"] { color: var(--orange); }

.footer-blurb { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.footer-blurb svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; fill: var(--white); }
.footer-blurb h4 {
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  color: var(--white);
  padding-bottom: 6px;
}
.footer-blurb p { font-size: 14px; }
.footer-blurb a { color: var(--orange); }
.footer-blurb a:hover { color: var(--white); }

.social { display: flex; gap: 8px; margin-top: 4px; }
.social a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 3px;
  color: var(--white);
  transition: transform .2s ease, opacity .2s ease;
}
.social a:hover { transform: translateY(-2px); opacity: .9; color: var(--white); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.social--facebook { background: #3b5998; }
.social--x { background: #000; border: 1px solid rgba(255, 255, 255, .5); }
.social--rss { background: #ff8a3c; }

.footer-form .input {
  width: 100%;
  background: var(--input-bg);
  border: 0;
  border-radius: 0;
  padding: 14px 16px;
  font-family: var(--body-font);
  font-size: 14px;
  color: #444;
  margin-bottom: 15px;
}
.footer-form .input::placeholder { color: #999; opacity: 1; }
.footer-form .input:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.footer-form textarea.input { min-height: 120px; resize: vertical; }
/* Netlify-injected reCAPTCHA. Space is reserved so the button doesn't jump
   when the widget loads; js/main.js scales it to fit narrow columns. */
.footer-form .recaptcha,
.contact-form .recaptcha {
  min-height: 78px;
  margin-bottom: 15px;
  transform-origin: 0 0;
}
/* In the main form, sit the checkbox on the right, directly above the
   right-aligned Submit button, and shrink toward that edge on tiny screens. */
.contact-form .recaptcha {
  display: flex;
  justify-content: flex-end;
  transform-origin: 100% 0;
}
.footer-form .btn--footer-submit {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 3px;
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.7;
  padding: 6px 20px;
  cursor: pointer;
  transition: all .3s ease;
}
.footer-form .btn--footer-submit:hover { background: var(--orange-hover); }
.footer-form .form-message { color: var(--white); }
.footer-form .form-message.is-error { background: rgba(255, 255, 255, .1); color: #ffb4a8; }
.footer-form .form-message.is-success { background: rgba(255, 255, 255, .1); color: #a5e6ab; }

.footer-bottom {
  text-align: center;
  padding: 20px 0 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 5.5%; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Portfolio ---------- */
.section--portfolio { background: var(--light); padding: 0 0 60px; margin-top: 4px; }
.section--portfolio .container { padding-top: 77px; }

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 40px;
}
.portfolio-filters button {
  background: #f9f9f9;
  border: 1px solid #f0f0f0;
  border-radius: 3px;
  color: var(--text);
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  padding: 10px 20px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.portfolio-filters button:hover { color: var(--orange); background: #fff; }
.portfolio-filters button.is-active {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}
.portfolio-filters button .count {
  font-size: 11px;
  opacity: .65;
  margin-left: 4px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 59px 5.5%;
}
.portfolio-item {
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeLeft .6s cubic-bezier(.77, 0, .175, 1) forwards;
}
.portfolio-item.is-hidden { display: none; }
@keyframes fadeLeft {
  to { opacity: 1; transform: none; }
}
.portfolio-item__image {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 400 / 284;
}
.portfolio-item__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
}
.portfolio-item__image::after {
  content: "";
  position: absolute; inset: 0;
  background: #f16232;
  opacity: 0;
  transition: opacity .3s ease;
}
.portfolio-item__image svg {
  position: absolute;
  top: 50%; left: 50%;
  width: 32px; height: 32px;
  transform: translate(-50%, -50%) scale(.8);
  fill: var(--white);
  opacity: 0;
  z-index: 2;
  transition: all .3s ease;
}
.portfolio-item__image:hover::after,
.portfolio-item__image:focus-visible::after { opacity: 1; }
.portfolio-item__image:hover svg,
.portfolio-item__image:focus-visible svg { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.portfolio-item__image:hover img { transform: scale(1.04); }
.portfolio-item__title {
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  color: var(--heading);
  margin-top: 10px;
  padding-bottom: 0;
}
.portfolio-item__title a { color: var(--heading); }
.portfolio-item__title a:hover { color: var(--orange); }
.portfolio-item__excerpt {
  font-size: 18px;
  line-height: 1.32;
  color: var(--black);
  margin-top: 6px;
}
.portfolio-item__excerpt a {
  display: inline-block;
  margin-top: 2px;
  font-weight: 700;
  color: var(--orange);
}
.portfolio-item__excerpt a:hover { color: var(--orange-hover); text-decoration: underline; }
.portfolio-empty { text-align: center; padding: 40px 0; font-size: 16px; }

@media (max-width: 980px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 5%; }
}
@media (max-width: 767px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 5%; }
  .portfolio-item__excerpt, .portfolio-item__title { font-size: 16px; }
}
@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* Quote section (portfolio page) */
.section--quote {
  background-image: linear-gradient(105deg, rgba(43, 135, 218, 0) 55%, #ffffff 55%), url("/images/quote-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 110px 0;
}
.quote-box {
  margin-left: auto;
  width: 64.8%;
  max-width: 800px;
  background: var(--white);
  padding: 110px 0 110px 80px;
  font-family: var(--head-font);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.8;
  color: var(--heading);
}
.quote-box p { margin: 0 0 1em; }
@media (max-width: 980px) {
  .section--quote { background-image: linear-gradient(105deg, rgba(43, 135, 218, 0) 35%, #ffffff 35%), url("/images/quote-bg.jpg"); }
  .quote-box { width: 90%; padding: 60px 30px; font-size: 24px; }
}
@media (max-width: 600px) {
  .quote-box { width: 100%; padding: 40px 20px; font-size: 20px; }
}

/* ---------- Project page ---------- */
.project { padding: 60px 0 90px; }
.project__header { margin-bottom: 30px; }
.project__title {
  font-family: var(--head-font);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.2;
  padding-bottom: 6px;
}
.project__category { font-size: 14px; }
.project__category a { text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.project__image {
  box-shadow: 0 10px 40px rgba(0, 0, 0, .12);
  margin-bottom: 40px;
  background: #fff;
}
.project__image img { width: 100%; }
.project__description { font-size: 18px; color: var(--heading); margin-bottom: 24px; }
.project__meta { margin-top: 40px; font-size: 14px; }
.project__meta strong { color: var(--heading); display: block; }
.project__nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(0, 0, 0, .1);
  margin-top: 40px;
  padding-top: 24px;
  font-weight: 600;
}
.project__nav a { color: var(--heading); }
.project__nav a:hover { color: var(--orange); }
.project__nav .next { margin-left: auto; text-align: right; }
.project__back { margin-bottom: 30px; display: inline-block; font-weight: 600; }
.project__file-note { color: var(--text); font-style: italic; }

/* ---------- About page ---------- */
.section--about { padding: 48px 0 110px; }
.section--about .row { align-items: center; padding-bottom: 0; }
.about-photo img { max-height: 579px; width: auto; margin: 0 auto; }
.about-text { max-width: 90%; font-size: 16px; line-height: 1.8; }
.about-name em { font-style: italic; }

/* Testimonials slider */
.section--testimonials { background: var(--light); padding: 90px 0; }
.slider { position: relative; margin: 0 auto; }
.slider__track { position: relative; overflow: hidden; }
.slider__slide {
  display: none;
  text-align: center;
  padding: 0 8% 60px;
  font-family: var(--head-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}
.slider__slide.is-active { display: block; animation: fadeIn .6s ease; }
.slider__slide p { margin-bottom: 1.4em; }
.slider__slide strong { font-weight: 700; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.slider__arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: none; border: 0; cursor: pointer;
  color: var(--heading);
  padding: 10px;
  opacity: 0;
  transition: opacity .3s ease, color .2s ease;
}
.slider__arrow svg { width: 28px; height: 28px; fill: currentColor; }
.slider__arrow--prev { left: -10px; }
.slider__arrow--next { right: -10px; }
.slider:hover .slider__arrow, .slider__arrow:focus-visible { opacity: 1; }
.slider__arrow:hover { color: var(--orange); }
.slider__dots { display: flex; justify-content: center; gap: 10px; margin-top: -30px; }
.slider__dots button {
  width: 7px; height: 7px;
  border-radius: 7px;
  border: 0; padding: 0;
  background: var(--heading);
  opacity: .5;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}
.slider__dots button.is-active { opacity: 1; transform: scale(1.3); }
.section--testimonials .btn--center { margin-top: 50px; }
@media (max-width: 767px) {
  .slider__slide { padding: 0 0 50px; }
  .slider__arrow { display: none; }
}

/* Areas of expertise (orange split panel) */
.section--expertise { padding: 90px 0 0; }
.expertise {
  display: flex;
  margin-top: -89px;
}
.expertise__image {
  flex: 1 1 50%;
  min-height: 500px;
  background-image: linear-gradient(105deg, rgba(43, 135, 218, 0) 80%, #f46624 80%), url("/images/expertise-bg.jpg");
  background-size: cover;
  background-position: center;
}
.expertise__panel {
  flex: 1 1 50%;
  background: var(--orange-2);
  color: var(--white);
  padding: 170px 10%;
}
.expertise__panel .section-title { color: var(--white); font-weight: 400; }
.expertise__panel .section-title strong { font-weight: 600; }
.expertise__panel .divider { margin-bottom: 20px; }
.expertise__panel ul { list-style: disc; padding: 0 0 16px 16px; }
.expertise__panel li {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--white);
  margin-bottom: 4px;
}
@media (max-width: 980px) {
  .expertise { flex-direction: column; margin-top: 0; }
  .expertise__image { min-height: 320px; background-image: linear-gradient(180deg, rgba(43, 135, 218, 0) 85%, #f46624 85%), url("/images/expertise-bg.jpg"); }
  .expertise__panel { padding: 60px 8%; }
}

/* ---------- Contact page ---------- */
.section--contact-intro {
  background-image: linear-gradient(105deg, #f7f7f7 65%, #ffffff 65%);
  padding: 10px 0 90px;
}
.section--contact-intro .container { width: 89%; max-width: 1233px; }
.contact-intro {
  display: flex;
  align-items: flex-start;
  gap: 5.5%;
  padding: 27px 0;
}
.contact-intro__text {
  flex: 0 0 73.6%;
  padding: 50px 5% 50px 10%;
}
.contact-intro__text h1 {
  font-family: var(--head-font);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 48px;
  letter-spacing: 3px;
  line-height: 1.3;
  padding-bottom: 10px;
}
.contact-intro__lead {
  font-family: var(--head-font);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 27px;
}
.contact-intro__lead p { margin: 0; }
.blurb { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 27px; }
.blurb svg { width: 20px; height: 20px; flex: 0 0 20px; fill: #2a2a2a; margin-top: 4px; }
.blurb h4 {
  font-family: var(--head-font);
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  padding-bottom: 10px;
}
.blurb p { font-size: 16px; line-height: 1.8; }
.blurb a { color: var(--text); }
.blurb a:hover { color: var(--orange); }
.contact-intro__photo { flex: 1 1 0; min-width: 0; padding-top: 50px; }
.contact-intro__photo img {
  width: 100%;
  max-width: 283px;
  height: auto;
  aspect-ratio: 900 / 1353;
  object-fit: cover;
  margin: 0 auto;
  box-shadow: 6px 6px 18px 0 rgba(0, 0, 0, .3);
}
@media (max-width: 980px) {
  .section--contact-intro { background-image: linear-gradient(180deg, #f7f7f7 75%, #ffffff 75%); }
  .contact-intro { flex-direction: column; }
  .contact-intro__text { flex: 1 1 auto; padding: 30px 0 10px; }
  .contact-intro__text h1 { font-size: 34px; }
  .contact-intro__photo { padding-top: 10px; }
  .contact-intro__photo img { max-width: 320px; margin: 0; }
}

/* ---------- Blog ---------- */
.section--blog { padding: 60px 0 90px; }
.post-card {
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  padding: 0 0 40px;
  margin-bottom: 40px;
}
.post-card:last-child { border-bottom: 0; margin-bottom: 0; }
.post-card__title {
  font-family: var(--head-font);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.3;
}
.post-card__title a { color: var(--heading); }
.post-card__title a:hover { color: var(--orange); }
.post-meta { font-size: 13px; color: #999; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.post-meta a { color: var(--orange); }
.post-card__excerpt { font-size: 16px; line-height: 1.8; }
.read-more { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }

.post { padding: 60px 0 90px; }
.post__title {
  font-family: var(--head-font);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.25;
}
.post__content { font-size: 16px; line-height: 1.8; }
.post__content h2 {
  font-family: var(--head-font);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.3;
  margin-top: 40px;
  padding-bottom: 12px;
}
.post__content h3 {
  font-family: var(--head-font);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 20px;
}
.post__content p { margin-bottom: 1.4em; }
.post__content ul { list-style: disc; padding-left: 24px; margin-bottom: 1.4em; }
.post__content li { margin-bottom: 10px; }
.post__content a { text-decoration: underline; text-underline-offset: 2px; }
.post__footer { margin-top: 50px; border-top: 1px solid rgba(0, 0, 0, .08); padding-top: 24px; font-weight: 600; }

/* ---------- Thanks / 404 ---------- */
.section--simple { padding: 90px 0; text-align: center; min-height: 50vh; }
.section--simple h1 { font-family: var(--head-font); font-weight: 600; font-size: 40px; }
.section--simple p { font-size: 18px; max-width: 600px; margin: 0 auto 30px; }

/* ---------- Scroll reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .portfolio-item { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive typography ---------- */
@media (max-width: 767px) {
  .hero__title { font-size: 28px; letter-spacing: 2px; }
  .hero__subtitle { font-size: 18px; }
  .hero--home { min-height: 420px; padding: 40px 0 50px; }
  .hero--home .hero__title { font-size: 26px; }
  .hero--home .hero__subtitle { font-size: 17px; letter-spacing: 2px; margin-bottom: 40px; }
  .section-title { font-size: 24px; }
  .service-title { font-size: 24px; }
  .section { padding: 60px 0; }
  .section--services { padding: 30px 0 60px; }
  .section--contact { padding: 60px 0; }
  .container { width: 88%; }
  .btn--outline { font-size: 17px; }
  .project__title, .post__title { font-size: 30px; }
}
