/*
 * Dnyaneshwar Govekar Theme
 * Clean replacement stylesheet — version 3.1
 */

:root {
  --navy: #082b50;
  --navy-dark: #031d37;
  --orange: #ee5a16;
  --green: #158447;
  --cream: #f8f4ec;
  --paper: #fffdf9;
  --white: #ffffff;
  --ink: #152943;
  --muted: #617084;
  --line: #dedbd3;
  --serif: "Merriweather", Georgia, serif;
  --sans: "Inter", Arial, system-ui, sans-serif;
  --shadow: 0 16px 40px rgba(8, 43, 80, 0.08);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 {
  margin: 0 0 0.65em;
  color: var(--navy);
  font-family: var(--serif);
  line-height: 1.18;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow-container { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 115px) 0; }
.screen-reader-text {
  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: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--navy);
  background: var(--white);
  border-radius: 4px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #f8ad1b; outline-offset: 3px; }

/* Header */
.utility-bar {
  color: var(--navy);
  background: #f6f4ef;
  border-bottom: 1px solid rgba(8, 43, 80, 0.08);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.utility-inner { display: flex; justify-content: space-between; gap: 20px; padding-block: 7px; }
.site-header {
  position: relative;
  z-index: 30;
  background: rgba(255, 253, 249, 0.98);
  border-bottom: 1px solid rgba(8, 43, 80, 0.1);
}
.header-inner { min-height: 92px; display: flex; align-items: center; gap: 36px; }
.site-branding { flex: 1; }
.custom-logo { width: auto; max-height: 62px; }
.wordmark {
  display: inline-flex;
  flex-direction: column;
  color: var(--navy);
  text-decoration: none;
  text-transform: uppercase;
}
.wordmark span, .footer-wordmark {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.wordmark::after, .footer-wordmark::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--orange) 0 32%, #fff 32% 65%, var(--green) 65%);
}
.wordmark small { order: 2; margin-top: 6px; font-size: 0.54rem; font-weight: 700; letter-spacing: 0.14em; }
.primary-nav .menu { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.primary-nav a {
  position: relative;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: var(--orange);
  transition: right 0.2s ease;
}
.primary-nav a:hover::after,
.primary-nav .current-menu-item a::after,
.primary-nav .current_page_item a::after { right: 0; }
.menu-toggle { display: none; width: 46px; height: 42px; padding: 10px; border: 0; background: transparent; }
.menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

/* Shared elements */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  color: var(--white);
  background: var(--orange);
  border: 0;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover { background: #d9480a; box-shadow: 0 10px 24px rgba(238, 90, 22, 0.22); transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 10px 18px; background: var(--navy); font-size: 0.68rem; }
.button-small:hover { background: var(--navy-dark); box-shadow: 0 10px 24px rgba(8, 43, 80, 0.2); }
.text-link { color: var(--navy); font-size: 0.74rem; font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--orange); }
.eyebrow {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 3px;
  margin: 0 12px 3px 0;
  background: linear-gradient(90deg, var(--orange) 0 48%, var(--green) 48%);
}

/* Homepage hero */
.mock-home-hero { position: relative; min-height: 545px; overflow: hidden; background: #f8f6f1; }
.mock-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,253,249,.99) 0%, rgba(255,253,249,.94) 40%, rgba(255,253,249,.28) 68%, rgba(255,253,249,.04) 100%),
    url('../images/taleigao-coast.webp') center / cover no-repeat;
}
.mock-hero-grid {
  position: relative;
  min-height: 545px;
  display: grid;
  grid-template-columns: 48% 35% 17%;
  align-items: end;
}
.mock-hero-copy { z-index: 2; align-self: center; padding: 56px 0 42px; }
.mock-hero-copy h1 {
  max-width: 680px;
  margin-bottom: 14px;
  font-size: clamp(3rem, 4.5vw, 4.7rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.mock-hero-copy h1 span { display: block; }
.mock-hero-copy h2 { max-width: 560px; margin-bottom: 14px; font-size: clamp(1.45rem, 2.2vw, 2.15rem); line-height: 1.22; }
.mock-hero-copy p { margin-bottom: 3px; }
.mock-hero-copy .hero-role { margin-top: 0; color: var(--navy); font-size: 0.95rem; font-weight: 700; }
.mock-hero-intro { max-width: 525px; padding-top: 10px; color: var(--muted); font-size: 0.92rem; line-height: 1.65; }
.mock-hero-copy .button { margin-top: 18px; }
.hero-signoff {
  position: relative;
  margin-top: 22px !important;
  padding-left: 58px;
  color: var(--muted);
  font-size: 0.63rem !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-signoff::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0 48%, var(--green) 48%);
}
.candidate-cutout {
  z-index: 1;
  height: 655px;
  align-self: end;
  overflow: visible;
  background: transparent;
}
.candidate-cutout img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 22px rgba(8, 43, 80, 0.13));
}
.hero-script {
  z-index: 2;
  align-self: start;
  margin-top: 56px;
  padding-left: 24px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.25;
  transform: rotate(-4deg);
}

/* Public profile strip */
.mock-facts { position: relative; z-index: 3; padding-block: 12px; background: var(--white); border-block: 1px solid var(--line); }
.mock-fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.mock-fact { min-height: 145px; display: flex; align-items: center; gap: 22px; padding: 30px 40px; }
.mock-fact + .mock-fact { border-left: 1px solid var(--line); }
.mock-fact .fact-icon { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; color: #8f8c84; font-size: 2rem; }
.mock-fact strong { display: block; color: var(--navy); font-family: var(--serif); font-size: clamp(1.8rem, 2.8vw, 2.75rem); line-height: 1.05; }
.mock-fact b { display: block; margin-top: 8px; color: var(--navy); font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase; }
.mock-fact small { display: block; max-width: 225px; margin-top: 6px; color: var(--muted); font-family: Georgia, serif; font-size: 0.76rem; line-height: 1.45; }

/* Public journey */
.mock-about { padding: 82px 0 74px; background: var(--white); }
.mock-about-head { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: start; gap: 75px; margin-bottom: 42px; }
.mock-about-head .eyebrow { margin-bottom: 10px; }
.mock-about-head h2 { margin: 0; font-size: clamp(2.1rem, 3.5vw, 3.25rem); line-height: 1.18; }
.mock-about-head > p { padding-top: 12px; color: #33465b; font-family: Georgia, serif; font-size: 0.92rem; line-height: 1.7; }
.mock-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mock-service-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 10px 28px rgba(8, 43, 80, 0.06); }
.mock-service-card > img { width: 100%; height: 155px; object-fit: cover; }
.mock-service-card > div { position: relative; min-height: 128px; padding: 20px 16px 18px 54px; }
.mock-service-card > div > span { position: absolute; top: 21px; left: 16px; color: #77766f; font-size: 1.35rem; }
.mock-service-card h3 { margin-bottom: 7px; font-size: 1rem; }
.mock-service-card p { margin: 0; color: var(--muted); font-family: Georgia, serif; font-size: 0.76rem; line-height: 1.55; }

/* Community band */
.mock-community { position: relative; min-height: 205px; overflow: hidden; margin-top: 18px; background: #f3eee5; }
.mock-community-image { position: absolute; inset: 0 auto 0 0; width: 31%; background-position: right center; background-size: cover; }
.mock-community-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 52%, #f3eee5); }
.mock-community-grid { min-height: 205px; display: grid; grid-template-columns: 28% 25% 30% 1fr; align-items: center; gap: 22px; }
.mock-community .eyebrow { margin-bottom: 9px; }
.mock-community h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.45rem); }
.mock-community-grid > p { margin: 0; color: #33465b; font-family: Georgia, serif; font-size: 0.84rem; line-height: 1.65; }
.mock-values { display: grid; gap: 6px; padding-left: 18px; color: var(--navy); border-left: 1px solid #aaa89f; font-size: 0.65rem; text-align: center; text-transform: uppercase; }

/* Cards and homepage news */
.mock-latest { padding: 72px 0 82px; background: var(--white); }
.mock-news-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.mock-news-head h2 { margin: 0; font-family: var(--sans); font-size: 0.9rem; letter-spacing: 0.13em; text-transform: uppercase; }
.mock-news-head a { color: var(--navy); font-size: 0.76rem; font-weight: 700; }
.mock-news-grid, .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 26px rgba(8, 43, 80, 0.05); }
.post-card-image { display: block; height: 205px; overflow: hidden; background: #e9ede8; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card-image img { transform: scale(1.035); }
.image-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(238,90,22,.18), rgba(255,255,255,.65), rgba(21,132,71,.2)); }
.post-card-body { min-height: 190px; padding: 20px 20px 22px; }
.post-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; color: var(--muted); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.post-meta a { color: var(--green); text-decoration: none; }
.post-card h3 { margin-bottom: 9px; font-size: 1.12rem; line-height: 1.3; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { color: var(--orange); }
.post-card-body > p { margin-bottom: 10px; color: var(--muted); font-family: Georgia, serif; font-size: 0.8rem; line-height: 1.55; }
.empty-state { grid-column: 1 / -1; padding: 50px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }

/* News archive */
.mock-news-hero { padding: 62px 0 48px; background: linear-gradient(90deg, #faf7f0 0%, rgba(250,247,240,.96) 55%, rgba(250,247,240,.72) 100%), url('../images/taleigao-coast.webp') right center / 48% auto no-repeat; }
.mock-news-hero .container { display: flex; justify-content: space-between; align-items: center; }
.mock-accent { display: block; width: 44px; height: 4px; margin-bottom: 16px; background: var(--orange); }
.mock-news-hero h1 { margin-bottom: 10px; font-size: clamp(2.7rem, 5vw, 4.5rem); }
.mock-news-hero p { color: var(--muted); }
.news-sketch { width: 230px; color: var(--navy); font-family: Georgia, serif; font-size: 1.4rem; font-style: italic; line-height: 1.25; text-align: center; transform: rotate(-4deg); }
.mock-news-page { padding: 38px 0 72px; background: #fbfaf6; }
.featured-story { display: grid; grid-template-columns: 64% 36%; overflow: hidden; margin-bottom: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 7px; box-shadow: var(--shadow); }
.featured-image { display: block; min-height: 355px; overflow: hidden; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 38px 32px; }
.featured-copy time, .featured-copy small { margin: 12px 0 8px; color: var(--muted); font-size: 0.68rem; text-transform: uppercase; }
.feature-label { display: inline-block; padding: 5px 12px; color: var(--white); background: var(--orange); border-radius: 3px; font-size: 0.63rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.featured-copy h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.12; }
.featured-copy h2 a { text-decoration: none; }
.archive-tools { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 36px; }
.category-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.category-nav ul { display: contents; }
.category-nav li { list-style: none; }
.category-nav a { display: block; padding: 9px 14px; color: var(--navy); border: 1px solid var(--line); border-radius: 4px; font-size: 0.66rem; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.category-nav a:hover, .category-nav .active, .category-nav .current-cat a { color: var(--white); background: var(--orange); border-color: var(--orange); }
.search-form { display: flex; min-width: 300px; }
.search-form label { flex: 1; }
.search-field, .search-form button { height: 46px; border: 1px solid var(--line); font: inherit; }
.search-field { width: 100%; padding: 0 14px; border-right: 0; border-radius: 4px 0 0 4px; }
.search-form button { padding: 0 16px; color: var(--white); background: var(--navy); border-color: var(--navy); border-radius: 0 4px 4px 0; font-weight: 700; cursor: pointer; }
.navigation.pagination { margin-top: 45px; }
.nav-links { display: flex; justify-content: center; gap: 8px; }
.page-numbers { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.page-numbers.current, .page-numbers:hover { color: var(--white); background: var(--navy); }
.mock-subscribe, .contact-subscribe { padding: 34px 0; background: linear-gradient(90deg, #fff2dd, #f4f4e9); border-top: 1px solid #f1dfc7; }
.mock-subscribe .container, .contact-subscribe .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.mock-subscribe .container > div { display: flex; align-items: center; gap: 24px; }
.newsletter-icon { display: grid; width: 62px; height: 62px; place-items: center; color: var(--navy); background: #ffdca9; border-radius: 50%; font-size: 1.7rem; }
.mock-subscribe h2, .contact-subscribe h2 { margin: 0 0 4px; font-size: 1.75rem; }
.mock-subscribe p, .contact-subscribe p { margin: 0; color: var(--muted); font-size: 0.8rem; }
.mock-subscribe form, .contact-subscribe form { display: flex; width: min(450px, 100%); }
.mock-subscribe input, .contact-subscribe input { flex: 1; min-width: 0; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px 0 0 4px; font: inherit; }
.mock-subscribe .button, .contact-subscribe .button { border-radius: 0 4px 4px 0; }

/* Standard pages and articles */
.page-hero { padding: clamp(78px, 10vw, 130px) 0; background: radial-gradient(circle at 80% 20%, rgba(238,90,22,.12), transparent 28%), linear-gradient(120deg, #fbf8f2, #eef3ee); }
.page-hero h1 { max-width: 920px; }
.compact-hero p:last-child, .contact-hero > .container > p:last-child { max-width: 720px; color: var(--muted); font-size: 1.06rem; }
.contact-hero h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 400; }
.article-header { padding: clamp(72px, 9vw, 115px) 0 50px; background: var(--cream); text-align: center; }
.article-header h1 { font-size: clamp(2.3rem, 5vw, 4.8rem); }
.article-byline { display: flex; justify-content: center; gap: 10px; color: var(--muted); font-size: 0.84rem; }
.article-image { margin-top: 55px; }
.article-image img { width: 100%; max-height: 680px; object-fit: cover; border-radius: var(--radius); }
.article-content { padding-block: 70px; color: #2d3d50; font-family: Georgia, serif; font-size: 1.1rem; line-height: 1.85; }
.article-content h2, .article-content h3 { margin-top: 1.5em; }
.article-content a { color: var(--orange); }
.article-content blockquote { margin: 2em 0; padding: 8px 0 8px 28px; color: var(--navy); border-left: 4px solid var(--orange); font-family: var(--serif); font-size: 1.32rem; }
.article-content figcaption { color: var(--muted); font-family: var(--sans); font-size: 0.75rem; }
.page-content { min-height: 45vh; }
.article-footer { padding-bottom: 80px; }
.tag-list a { display: inline-block; margin: 4px; padding: 6px 10px; background: var(--cream); border-radius: 4px; font-size: 0.75rem; text-decoration: none; }
.post-navigation { margin-top: 35px; padding-top: 25px; border-top: 1px solid var(--line); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { color: var(--navy); font-weight: 700; text-decoration: none; }
.comments-area { margin-top: 55px; padding-top: 35px; border-top: 1px solid var(--line); }
.comment-list { padding-left: 24px; }
.comment-list li { margin-bottom: 22px; }
.comment-form input:not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 4px; }
.comment-form .submit { padding: 12px 20px; color: var(--white); background: var(--navy); border: 0; border-radius: 4px; cursor: pointer; }
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* Contact */
.page-template-page-contact .contact-hero { padding: 62px 0; background: linear-gradient(90deg, rgba(255,252,246,.98) 0%, rgba(255,252,246,.89) 49%, rgba(255,252,246,.18) 100%), var(--contact-hero-image) center / cover no-repeat; }
.page-template-page-contact .contact-hero h1 { margin-bottom: 6px; font-size: clamp(3rem, 5.5vw, 5.2rem); }
.page-template-page-contact .section { padding: 48px 0; background: #fbfaf7; }
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
.contact-form-card, .info-card { padding: clamp(26px, 4vw, 42px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form-card > p { color: var(--muted); }
.contact-form { display: grid; gap: 18px; margin-top: 28px; }
.contact-form label { color: var(--navy); font-size: 0.84rem; font-weight: 700; }
.contact-form label > span { color: var(--orange); }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { width: 100%; margin-top: 7px; padding: 12px 14px; color: var(--ink); background: var(--white); border: 1px solid #cfd4d8; border-radius: 4px; font: inherit; font-weight: 400; }
.contact-form textarea { resize: vertical; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-label input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; }
.checkbox-label span { color: var(--muted) !important; font-weight: 400; }
.honeypot { position: absolute; left: -9999px; }
.form-notice { margin-top: 22px; padding: 13px 16px; border-radius: 4px; }
.form-notice.success { color: #0c6035; background: #e6f5ec; }
.form-notice.error { color: #8a3011; background: #fff0e8; }
.contact-sidebar { display: grid; gap: 24px; }
.info-card dl { margin: 0; }
.info-card dl > div { display: grid; grid-template-columns: 125px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.info-card dt { color: var(--navy); font-weight: 700; }
.info-card dd { margin: 0; color: var(--muted); }
.map-placeholder { min-height: 160px; display: grid; place-items: center; align-content: center; gap: 5px; color: var(--navy); background: linear-gradient(35deg, rgba(21,132,71,.08), rgba(8,43,80,.07)), repeating-linear-gradient(125deg, transparent 0 28px, rgba(255,255,255,.9) 28px 32px); border-radius: 4px; }
.map-placeholder span { color: #1879ce; font-size: 2rem; }
.map-placeholder b { padding: 7px 12px; background: var(--white); border-radius: 4px; font-size: 0.75rem; }
.social-circles { display: flex; gap: 14px; }
.social-circles span { display: grid; width: 42px; height: 42px; place-items: center; color: var(--navy); background: #f1f3f4; border-radius: 50%; font-weight: 700; }

/* Footer */
.site-footer { padding: 68px 0 20px; color: #dce5ee; background: var(--navy-dark); }
.site-footer p { margin: 7px 0; font-size: 0.78rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; align-items: start; }
.footer-wordmark { display: inline-block; color: var(--white); text-decoration: none; text-transform: uppercase; }
.footer-wordmark::after { margin-top: 8px; }
.footer-quote { color: var(--white); font-family: var(--serif); font-size: 1.15rem; font-style: italic; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 15px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--white); }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.social-links a { font-size: 0.75rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: 0.7rem; }

/* Tablet */
@media (max-width: 980px) {
  .header-inner { min-height: 80px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .primary-nav { position: fixed; inset: 113px 0 0; display: none; padding: 40px 20px; background: var(--paper); }
  .primary-nav.open { display: block; }
  .primary-nav .menu { width: min(600px, 100%); margin-inline: auto; flex-direction: column; align-items: flex-start; gap: 25px; }
  .primary-nav a { font-family: var(--serif); font-size: 1.45rem; text-transform: none; }
  .mock-hero-grid { grid-template-columns: 55% 45%; }
  .hero-script { display: none; }
  .candidate-cutout { height: 525px; }
  .mock-fact { padding-inline: 25px; }
  .mock-service-grid { grid-template-columns: repeat(2, 1fr); }
  .mock-community-grid { grid-template-columns: 26% 31% 43%; }
  .mock-values { display: none; }
  .mock-news-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 700px) {
  .container, .narrow-container { width: min(100% - 30px, 1180px); }
  .utility-inner { justify-content: center; }
  .utility-inner span:last-child { display: none; }
  .header-inner { gap: 10px; }
  .wordmark span { font-size: 0.96rem; }
  .wordmark small { display: none; }
  .primary-nav { inset-block-start: 108px; }
  .mock-home-hero, .mock-hero-grid { min-height: auto; }
  .mock-hero-bg { background: linear-gradient(rgba(255,253,249,.97), rgba(255,253,249,.84)), url('../images/taleigao-coast.webp') center / cover; }
  .mock-hero-grid { display: flex; flex-direction: column; }
  .mock-hero-copy { width: 100%; padding: 54px 0 20px; }
  .mock-hero-copy h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .candidate-cutout { width: min(410px, 100%); height: 485px; align-self: center; }
  .mock-facts { padding-block: 0; }
  .mock-fact-grid { grid-template-columns: 1fr; }
  .mock-fact { min-height: 120px; }
  .mock-fact + .mock-fact { border-top: 1px solid var(--line); border-left: 0; }
  .mock-about { padding: 62px 0 58px; }
  .mock-about-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 30px; }
  .mock-about-head > p { padding-top: 0; }
  .mock-service-grid, .mock-news-grid, .post-grid { grid-template-columns: 1fr; }
  .mock-service-grid { gap: 20px; }
  .mock-community { margin-top: 0; }
  .mock-community-image { position: relative; width: 100%; height: 190px; }
  .mock-community-image::after { background: linear-gradient(transparent, #f3eee5); }
  .mock-community-grid { display: block; min-height: auto; padding-block: 34px; }
  .mock-community-grid > div:first-child { display: none; }
  .mock-community-grid > p { margin-top: 18px; }
  .mock-latest { padding: 58px 0 66px; }
  .mock-news-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .mock-news-hero .container { display: block; }
  .news-sketch { display: none; }
  .featured-story { grid-template-columns: 1fr; }
  .featured-image { min-height: 230px; }
  .archive-tools { align-items: stretch; flex-direction: column; }
  .search-form { width: 100%; min-width: 0; }
  .mock-subscribe .container, .contact-subscribe .container { align-items: flex-start; flex-direction: column; }
  .mock-subscribe form, .contact-subscribe form { width: 100%; }
  .info-card dl > div { grid-template-columns: 1fr; gap: 3px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-quote { order: 3; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

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


/* About page */
.about-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    115deg,
    #fffdf9 0%,
    #f7f3eb 64%,
    #eef3ee 100%
  );
  border-bottom: 1px solid var(--line);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--orange) 0 33%,
    #fff 33% 66%,
    var(--green) 66%
  );
}

.about-hero-grid {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: clamp(50px, 8vw, 110px);
}

.about-hero-copy {
  align-self: center;
  max-width: 680px;
  padding: 76px 0;
}

.about-hero-copy h1 {
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 5.6vw, 5.6rem);
  line-height: 1.02;
}

.about-hero-lead {
  max-width: 620px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  line-height: 1.45;
}

.about-hero-copy > p:last-child {
  max-width: 590px;
  color: var(--muted);
  font-size: 0.98rem;
}

.about-hero-portrait {
  height: 540px;
  align-self: end;
}

.about-hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(
    0 20px 26px rgba(8, 43, 80, 0.14)
  );
}

.about-leadership {
  padding: 105px 0 70px;
  background: #fff;
}

.about-leadership-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr;
  align-items: start;
  gap: clamp(60px, 10vw, 145px);
}

.about-leadership h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2.35rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.16;
}

.about-prose {
  padding-top: 38px;
  color: #354a60;
  font-family: Georgia, serif;
  font-size: 1rem;
  line-height: 1.85;
}

.about-prose p:last-child {
  margin-bottom: 0;
}

.about-pillars {
  padding: 0 0 105px;
  background: #fff;
}

.about-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.about-pillar-grid article {
  padding: 38px 28px 0;
}

.about-pillar-grid article:first-child {
  padding-left: 0;
}

.about-pillar-grid article + article {
  border-left: 1px solid var(--line);
}

.about-pillar-grid span {
  display: block;
  margin-bottom: 25px;
  color: var(--orange);
  font-family: var(--serif);
  font-size: 0.78rem;
}

.about-pillar-grid article:nth-child(even) span {
  color: var(--green);
}

.about-pillar-grid h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.about-pillar-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.about-culture {
  padding: 105px 0;
  color: #e4ebf2;
  background: var(--navy-dark);
}

.about-culture-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(55px, 8vw, 110px);
}

.about-culture-image {
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.about-culture-image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.about-culture .eyebrow,
.about-culture h2 {
  color: #fff;
}

.about-culture h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 4vw, 3.9rem);
  font-weight: 400;
}

.about-culture-copy > p {
  color: #cdd8e2;
}

.about-culture-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 36px 0;
  padding-block: 28px;
  border-block: 1px solid rgba(255, 255, 255, 0.17);
}

.about-culture-facts strong {
  display: block;
  color: #fff;
  font-family: var(--serif);
  font-size: 2.25rem;
  line-height: 1;
}

.about-culture-facts span {
  display: block;
  margin-top: 8px;
  color: #cdd8e2;
  font-size: 0.68rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.about-clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-clean-list li {
  position: relative;
  padding: 9px 0 9px 24px;
  color: #dbe3ea;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.about-clean-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #ff9d70;
}

.about-journey {
  padding: 105px 0;
  background: #fbfaf7;
}

.about-section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 60px;
}

.about-section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.8vw, 3.7rem);
  font-weight: 400;
}

.about-section-heading > p {
  margin: 0;
  color: var(--muted);
  font-family: Georgia, serif;
  line-height: 1.75;
}

.about-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.about-timeline article {
  position: relative;
  padding: 44px 40px 0 0;
}

.about-timeline article + article {
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.about-timeline article::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
}

.about-timeline article + article::before {
  left: 40px;
}

.about-timeline article:nth-child(2)::before {
  background: var(--green);
}

.about-timeline b {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-family: var(--serif);
  font-size: 1.6rem;
}

.about-timeline article:nth-child(2) b {
  color: var(--green);
}

.about-timeline h3 {
  font-size: 1.08rem;
}

.about-timeline p {
  color: var(--muted);
  font-size: 0.86rem;
}

.about-recognition {
  padding: 100px 0;
  background: #fff;
}

.about-recognition-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: clamp(55px, 9vw, 130px);
}

.about-recognition h2 {
  font-size: clamp(2.15rem, 3.6vw, 3.45rem);
  font-weight: 400;
}

.about-recognition ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.about-recognition li {
  position: relative;
  padding: 20px 42px 20px 0;
  color: #34485d;
  border-bottom: 1px solid var(--line);
  font-family: Georgia, serif;
}

.about-recognition li::after {
  content: "✦";
  position: absolute;
  top: 20px;
  right: 4px;
  color: var(--orange);
}

.about-quote {
  padding: 95px 0;
  color: #fff;
  background: var(--navy);
  text-align: center;
}

.about-quote .container {
  width: min(900px, calc(100% - 40px));
}

.about-quote .eyebrow {
  color: #ffab84;
}

.about-quote blockquote {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.about-cta {
  padding: 70px 0;
  background: #f5efe5;
}

.about-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-cta .eyebrow {
  margin-bottom: 10px;
}

.about-cta h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.9rem);
}

.about-cta-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.about-secondary-link {
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: underline;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .about-hero-grid {
    min-height: 520px;
    grid-template-columns: 1.05fr 0.75fr;
    gap: 35px;
  }

  .about-hero-portrait {
    height: 490px;
  }

  .about-pillar-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 35px;
  }

  .about-pillar-grid article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .about-culture-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }

  .about-culture-image img {
    min-height: 580px;
  }
}

@media (max-width: 700px) {
  .about-hero-grid {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .about-hero-copy {
    padding: 62px 0 20px;
  }

  .about-hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .about-hero-portrait {
    width: min(410px, 100%);
    height: 480px;
    align-self: center;
  }

  .about-leadership {
    padding: 72px 0 50px;
  }

  .about-leadership-grid,
  .about-culture-grid,
  .about-section-heading,
  .about-recognition-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-prose {
    padding-top: 0;
  }

  .about-pillars {
    padding-bottom: 72px;
  }

  .about-pillar-grid {
    grid-template-columns: 1fr;
  }

  .about-pillar-grid article,
  .about-pillar-grid article:first-child,
  .about-pillar-grid article:nth-child(3) {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-culture,
  .about-journey,
  .about-recognition {
    padding: 72px 0;
  }

  .about-culture-image img {
    min-height: 280px;
  }

  .about-culture-facts {
    gap: 10px;
  }

  .about-culture-facts strong {
    font-size: 1.8rem;
  }

  .about-timeline {
    grid-template-columns: 1fr;
  }

  .about-timeline article,
  .about-timeline article + article {
    padding: 34px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-timeline article::before,
  .about-timeline article + article::before {
    top: -5px;
    left: 0;
  }

  .about-quote {
    padding: 72px 0;
  }

  .about-cta-inner,
  .about-cta-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}