/* haaaa.app — baseline rebuild of the 2022–23 WordPress site (Fitly theme by
   MeanThemes + child theme + customiser colours). Values below were measured
   from the archived pages' computed styles; see website-recovery/REPORT.html. */

:root {
  --text: #455a64;
  --bg: #ecf1f4;
  --white: #fff;
  --accent: #ea425b;        /* customiser colour: contact bar, mobile menu */
  --link: #ff5252;          /* theme red: links, red buttons, pager */
  --green: #8bc34a;
  --blue: #448aff;
  --muted: #96adb9;
  --header: #232d32;        /* #455a64 under a 50% black overlay */
  --voices: #233239;
  --footer: #7f7f7f;        /* 50% black over the white page */
  --panel: #f7f9fa;
  --ph: #cfd8dc;
  --font: "Montserrat", "Helvetica", Arial, sans-serif;  /* Montserrat was declared but never loaded */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 10px; line-height: 1.3; font-weight: 700; }
h1 { font-size: 48px; margin-bottom: 0; }
h2 { font-size: 38px; }
h3 { font-size: 32px; }
h4 { font-size: 26px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 0 2em; padding: 20px 0 30px; }
.center { text-align: center; }
.icon { width: 1em; height: 1em; vertical-align: -0.125em; fill: currentColor; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 100; left: 8px; top: 8px; background: #fff; padding: 8px 12px; }
.min-wrap { max-width: 920px; margin: 0 auto; }

main { background: #fff; display: block; }

/* ---------- header */
.contact-bar { background: var(--accent); color: #fff; font-size: 14px; padding: 7px 30px; min-height: 40px; }
.contact-bar a { color: #fff; }
.masthead { display: flex; align-items: center; justify-content: space-between; background: var(--header); color: #fff; min-height: 69px; padding: 0 30px; position: relative; z-index: 20; }
.masthead a { color: #fff; transition: opacity .25s; }
.masthead a:hover { opacity: .7; text-decoration: none; }
.logo img { display: block; width: 140px; }
#nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
#nav a { display: block; padding: 21.6px 5px; font-size: 16px; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 28px; padding: 8px; cursor: pointer; }

/* ---------- buttons */
.button, .btn-xs, .pager a, .pager span {
  display: inline-block; border-radius: 4px; color: #fff; font-weight: 600; line-height: 1.6;
  padding: 13.6px 28.8px 16px; box-shadow: inset 0 -3px 0 0 rgba(0,0,0,.3); position: relative;
  border: 0; font-family: inherit; font-size: 16px; cursor: pointer; text-align: center;
}
.button:hover, .pager a:hover { top: 2px; box-shadow: none; color: #fff; text-decoration: none; }
.button.green { background: var(--green); }
.button.blue { background: var(--blue); }
.button.red { background: var(--link); }
.button.grey { background: var(--text); }
.post-content .button { margin-bottom: 16px; }
.post-content .button + .button { margin-left: 15px; }

/* ---------- home hero */
.hero { position: relative; min-height: 731px; background: #455a64 center / cover no-repeat; color: #fff; display: flex; flex-direction: column; }
.hero-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 48px 32px 24px; }
.hero h1 { line-height: 1.1; }
.hero h2 { font-size: 25px; font-weight: 400; line-height: 1.1; }
.hero-bottom { position: relative; display: flex; align-items: center; gap: 32px; padding: 48px 32px; background: rgba(0,0,0,.5); }
.hero-tagline { flex: 0 1 304px; }
.hero-tagline h3 { margin: 0; }
.hero-buttons { flex: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.hero-buttons .button { padding: 16.8px 32px; }

/* ---------- 6 Polynesian languages */
.voices { display: flex; background: var(--voices); color: #fff; }
.voices-info { flex: 0 0 35%; padding: 30px; }
.voices-info h2 { margin-top: 20px; }
.post-content .voices-grid { margin: 32px 0; }
.voices-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.voices-grid li { position: relative; height: 225px; background: center / cover no-repeat; }
.voices-grid a { position: absolute; inset: 0; color: #fff; font-size: 14px; }
.voices-grid a:hover { text-decoration: none; }
.voices-grid h3 { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 20px; font-size: 21px; background: rgba(0,0,0,.5); z-index: 2; }
.voice-more { position: absolute; inset: 0; padding: 20px; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .25s; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.voices-grid a:hover .voice-more, .voices-grid a:focus-visible .voice-more { opacity: 1; }
.btn-xs { background: #455a64; font-size: 11px; padding: .65em 1em 1em; }

/* ---------- page title band (featured image) */
.page-band { position: relative; height: 700px; background: var(--text) center / cover no-repeat; color: #fff; display: flex; align-items: flex-end; }
.page-band.no-img { height: 300px; }
.band-text { width: 100%; padding: 48px; background: rgba(0,0,0,.5); }
.band-text h1 { margin: 0; }
.sub-title { font-size: 25px; font-weight: 400; line-height: 1.3; margin: 0; }
.page-title { padding: 48px 0 0; }
.page-title h1 { line-height: 1.3; }
.page-title .sub-title { margin-bottom: 16px; }
.post-content { padding: 48px 0; }
.page-title + .post-content { padding-top: 0; }
.post-content ul { padding: 20px 0 30px; }
.post-content figure { margin: 16px 0; }

.bullets ul { list-style: none; }
.bullets li { background: url(/assets/img/tick-green@2x.png) 0 .5em / 16px 13px no-repeat; margin-left: -16px; padding: 4px 0 4px 24px; }
.bullets.red li { background-image: url(/assets/img/tick-red@2x.png); }

/* ---------- people (WP Team Pro grid) */
.people { margin: 32px 0; }
.people h2 { font-size: 24px; font-weight: 400; line-height: 28px; color: #333; margin-bottom: 25px; }
.people ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); }
.people li { margin: 12px; text-align: center; }
.people a { color: inherit; display: block; }
.people a:hover { text-decoration: none; }
.people a:hover h3 { color: var(--link); }
.people img, .people .ph { width: 128px; height: 128px; object-fit: cover; margin: 0 auto; display: block; }
.people-circle img, .people-circle .ph { border-radius: 50%; }
.people h3 { font-size: 18px; font-weight: 600; line-height: 24px; color: #333; margin: 12px 0 0; }
.people p { font-size: 15px; line-height: 18px; color: #333; margin: 4px 0 0; }

/* ---------- team list (About, team category) */
.team-list { margin: 32px 0; }
.team-item { display: flex; gap: 30px; margin-top: 48px; align-items: flex-start; }
.team-item:nth-of-type(even) { flex-direction: row-reverse; }
.team-image { flex: 0 0 32%; }
.team-item:nth-of-type(even) .team-image { text-align: right; }
.team-image img, .team-image .ph { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; }
.team-image img { display: inline-block; }
.team-content { flex: 1; }
.team-content h3 { font-size: 29px; margin: 0; }
.team-content h4 { font-size: 20px; }

/* ---------- pricing (Responsive Pricing Table) */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin: 60px 0; text-align: center; }
.plan { display: flex; flex-direction: column; background: #333; border-radius: 8px; overflow: hidden; }
.plan .title { background: #222; color: #fff; font-size: 26px; font-weight: 400; line-height: 35px; padding: 14px 18px; margin: 0; }
.plan .recurrence { color: #d3d3d3; font-size: 14px; line-height: 18px; padding: 20px 40px 0; margin: 0; text-transform: uppercase; }
.plan .price { color: #fff; font-size: 77px; line-height: 1; padding: 6px 10px; margin: 0; }
.plan .subtitle { color: var(--plan); font-size: 16px; line-height: 20px; padding: 10px 30px 20px; margin: 0; }
.plan .description { color: #999; font-size: 12px; line-height: 20px; padding: 0 30px 20px; margin: 0; }
.plan ul { list-style: none; margin: 0; padding: 10px 20px; background: #f5f5f5; flex: 1; }
.plan li { color: #000; font-size: 15px; line-height: 24px; padding: 5px 16px; border-bottom: 1px solid #e5e5e5; }
.plan li:last-child { border-bottom: 0; }
.plan-cta { background: var(--plan); color: #fff; font-size: 18px; padding: 15px 25px; }
.plan-cta:hover { color: #fff; opacity: .9; text-decoration: none; }

/* ---------- download page */
.download-hero { min-height: 640px; background: #455a64; color: #fff; padding: 48px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.download-hero h4 { margin-bottom: 24px; }
.download-hero figure { margin: 8px 0; }
.download-hero img { height: 60px; width: auto; }

/* ---------- news / archives */
.archive-header { background: #fff; padding: 200px 40px 160px; text-align: center; }
.archive-header h1 { line-height: 1.3; }
.blog-grid { background: var(--panel); padding: 80px 20px; text-align: center; display: flex; flex-wrap: wrap; justify-content: center; }
.blog-item { width: 260px; padding: 20px 10px; position: relative; }
.blog-item > a:first-child { display: block; }
.blog-item > a:first-child:hover { text-decoration: none; }
.blog-item img, .blog-item .ph { display: block; width: 240px; height: 240px; object-fit: cover; margin-bottom: 10px; }
.blog-item h2 { font-size: 17px; line-height: 1.3; max-width: 80%; margin: 0 auto; color: var(--link); }
.blog-item time { font-size: 13px; color: var(--muted); }
.cat { position: absolute; top: 40px; right: 10px; background: var(--green); color: #fff; font-size: 11px; text-transform: uppercase; padding: .45em .95em; border-radius: 3px; }
.cat:hover { background: var(--muted); color: #fff; text-decoration: none; }
.archive-layout { display: flex; border-top: 1px solid rgba(0,0,0,.08); padding: 32px 0 30px; }
.archive-layout h4 { flex: 0 0 13em; }
.archive-layout ul { padding: 0 0 30px; }

/* ---------- single post */
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); padding-bottom: 20px; flex-wrap: wrap; }
.post-meta .by a { color: var(--muted); }
.share { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 6px; font-size: 24px; }
.share a { display: block; line-height: 1; }
.share .twitter { color: #55acee; } .share .facebook { color: #3c599f; } .share .pinterest { color: #cb2027; }
.share a:hover { opacity: .7; }

/* ---------- prev / next */
.pager { display: flex; justify-content: space-between; background: var(--panel); padding: 70px max(40px, calc((100% - 920px) / 2)); }
.pager a, .pager span { background: var(--link); font-weight: 400; }
.pager .inactive { background: var(--muted); opacity: .5; cursor: default; }

/* ---------- team member / element page */
.member { display: flex; gap: 32px; align-items: center; padding: 35px 20px; }
.member-photo { flex: 0 0 32%; }
.member-photo img, .member-photo .ph { width: 128px; height: 128px; object-fit: cover; display: block; }
.member-circle .member-photo img, .member-circle .member-photo .ph { border-radius: 50%; }
.member-info { flex: 1; text-align: center; }
.member h1 { font-size: 18px; font-weight: 600; line-height: 24px; color: #333; }
.member-role { font-size: 15px; color: #333; margin: 4px 0 0; }
.member-social { list-style: none; margin: 10px 0 0; padding: 0; display: flex; justify-content: center; }
.member-social a { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 5px; background: #e4405f; color: #fff; font-size: 15px; }

/* ---------- forms (replace the broken Contact Form 7 shortcodes) */
.enquiry label { display: block; font-weight: 600; margin-bottom: 4px; }
.enquiry input, .enquiry textarea, .enquiry select { width: 100%; font: inherit; color: inherit; padding: 10px 12px; border: 2px solid #cfd8dc; border-radius: 4px; background: #fff; }
.enquiry input:focus, .enquiry textarea:focus, .enquiry select:focus { outline: none; border-color: var(--blue); }
.form-note { font-size: 14px; color: var(--muted); }

/* ---------- placeholders for images the archive never captured */
.ph { display: inline-flex; align-items: center; justify-content: center; background: var(--ph); color: #607d8b; font-weight: 700; font-size: 32px; }
.ph-wide { display: flex; width: 100%; aspect-ratio: 4 / 3; font-size: 13px; font-weight: 400; }
.ph-wide::after { content: "Image not archived"; }

/* ---------- footer */
.site-footer { background: var(--footer); color: #fff; padding: 60px 40px; display: flex; justify-content: space-between; gap: 40px; }
.site-footer a { color: #fff; }
.site-footer a:hover { opacity: .5; text-decoration: none; }
.motto { flex: 0 0 30%; font-size: 22px; font-weight: 700; line-height: 1.3; margin: 0; }
.footer-details { text-align: right; font-size: 14px; }
.footer-details p { margin: 0 0 9px; }
.to-top { display: inline-block; padding-top: 10px; }

/* ---------- responsive */
@media (max-width: 983px) {
  .post-content { padding: 48px 32px; }
  .page-title { padding: 48px 32px 0; }
}
@media (max-width: 1199px) {
  .people ul { grid-template-columns: repeat(min(var(--cols, 4), 3), 1fr); }
}
@media (max-width: 1023px) {
  .voices { flex-direction: column; }
  .voices-info { padding: 30px 30px 10px; }
  .voices-grid { grid-template-columns: repeat(2, 1fr); }
  .page-band { height: 400px; }
  .hero { min-height: 600px; }
}
@media (max-width: 919px) {
  .menu-toggle { display: block; }
  #nav { display: none; }
  .menu-open #nav { display: block; position: fixed; inset: 0; z-index: -1; background: var(--accent); padding: 90px 20px 50px; overflow: auto; }
  .menu-open .masthead { position: fixed; top: 0; left: 0; right: 0; background: transparent; }
  .menu-open #nav ul { display: block; border-top: 1px solid rgba(255,255,255,.5); font-size: 20px; }
  .menu-open #nav li { border-bottom: 1px solid rgba(255,255,255,.5); }
  .menu-open #nav a { padding: 15px; font-size: 20px; }
  .hero-bottom { flex-direction: column; align-items: stretch; }
  .hero-tagline { flex: none; }
  .hero-buttons { justify-content: center; }
  .plans { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .site-footer { flex-direction: column; text-align: center; gap: 16px; }
  .footer-details { text-align: center; }
  .archive-header { padding: 100px 20px 80px; }
}
@media (max-width: 699px) {
  body { font-size: 15px; }
  h1, .band-text h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
  h4 { font-size: 21px; }
  .contact-bar, .masthead { padding-left: 16px; padding-right: 16px; }
  .hero-main, .hero-bottom { padding-left: 16px; padding-right: 16px; }
  .hero-buttons .button { flex: 1 1 100%; }
  .page-band { height: 300px; }
  .band-text { padding: 24px 16px; }
  .sub-title, .hero h2 { font-size: 20px; }
  .post-content { padding: 32px 16px; }
  .page-title { padding: 32px 16px 0; }
  .post-content .button { display: block; margin: 0 0 12px; }
  .post-content .button + .button { margin-left: 0; }
  .people ul { grid-template-columns: repeat(2, 1fr); }
  .people li { margin: 12px 4px; }
  .team-item, .team-item:nth-of-type(even) { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .team-image, .team-item:nth-of-type(even) .team-image { flex: none; text-align: center; }
  .hero { min-height: 0; }
  .hero-main { min-height: 340px; padding-top: 40px; }
  .voices-grid { grid-template-columns: 1fr; }
  .voices-grid li { height: 180px; }
  .archive-layout { flex-direction: column; }
  .archive-layout h4 { flex: none; }
  .member { flex-direction: column; text-align: center; }
  .member-photo { flex: none; }
  .pager { padding: 40px 16px; }
  .site-footer { padding: 40px 16px; }
  .download-hero { min-height: 420px; padding: 48px 16px; }
}
@media (max-width: 380px) {
  .people ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
