/*
Theme Name: Azor Research
Author: Azor Research
Description: A precise, editorial WordPress theme for Azor Research, with cyan and white geometry and accessible typography.
Version: 1.0.1
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: azor-research
Tags: blog, custom-logo, custom-menu, featured-images, one-column, two-columns
*/

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --az-cyan: #00b9d8;
  --az-white: #fff;
  --az-ink: #10262c;
  --az-muted: #50656b;
  --az-rule: #d5e2e5;
  --az-wash: #f3f9fa;
  --az-content: 1240px;
  --az-gutter: clamp(24px, 5vw, 80px);
  --az-space: clamp(72px, 8vw, 128px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--az-ink);
  background: var(--az-white);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--az-ink);
  background: #9ce8f5;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--az-ink);
  outline-offset: 5px;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

p {
  margin-bottom: 1.3em;
}

p:last-child {
  margin-bottom: 0;
}

.az-wrap {
  width: min(calc(100% - var(--az-gutter) * 2), var(--az-content));
  margin-inline: auto;
}

.az-skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  color: var(--az-white);
  background: var(--az-ink);
  transform: translateY(-180%);
}

.az-skip-link:focus {
  transform: translateY(0);
}

.az-header {
  position: relative;
  z-index: 20;
  height: 100px;
  background: var(--az-white);
}

.az-header > .az-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 40px;
}

.az-brand {
  display: inline-block;
  flex: 0 0 auto;
  line-height: 1;
}

.az-brand img {
  width: 250px;
  height: auto;
}

.az-nav,
.az-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3vw, 48px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.az-nav a {
  position: relative;
  display: inline-block;
  padding-block: 12px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: 0.055em;
  text-decoration: none;
}

.az-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 3px;
  background: var(--az-cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.az-nav a:hover::after,
.az-nav a[aria-current="page"]::after,
.az-nav .current-menu-item > a::after,
.az-nav .current_page_item > a::after {
  transform: scaleX(1);
}

.az-menu-toggle {
  display: none;
  padding: 9px 0 9px 16px;
  border: 0;
  color: var(--az-ink);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.az-main {
  min-height: 55vh;
}

.az-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  min-height: 650px;
  padding-block: clamp(72px, 7vw, 112px);
  background: var(--az-cyan);
  isolation: isolate;
}

.az-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc((100vw - 100%) / -2);
  background: var(--az-cyan);
  content: "";
}

.az-hero > .az-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  grid-column: 1 / -1;
}

.az-hero:not(.az-wrap) {
  padding-inline: max(var(--az-gutter), calc((100vw - var(--az-content)) / 2));
}

.az-hero:has(> .az-wrap) {
  padding-inline: 0;
}

.az-hero:has(> .az-wrap)::before {
  inset: 0;
}

.az-eyebrow {
  display: block;
  margin: 0 0 26px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.az-eyebrow::before {
  display: inline-block;
  width: 21px;
  height: 8px;
  margin-right: 12px;
  background: currentColor;
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
  content: "";
  vertical-align: 1px;
}

.az-display {
  max-width: 920px;
  margin-bottom: 28px;
  font-size: clamp(46px, 5.9vw, 86px);
  font-weight: 650;
  line-height: 1.035;
  letter-spacing: -0.065em;
}

.az-lede {
  max-width: 590px;
  margin-bottom: 0;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.7;
  letter-spacing: -0.015em;
}

.az-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 38px;
}

.az-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 54px;
  padding: 14px 22px;
  border: 1px solid var(--az-cyan);
  border-radius: 0;
  color: var(--az-ink);
  background: var(--az-cyan);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.az-button::after {
  content: "↗";
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
}

.az-button:hover,
.wp-block-button__link:hover {
  border-color: #7cdeee;
  background: #7cdeee;
  text-decoration: none;
}

.az-button--white {
  border-color: var(--az-white);
  background: var(--az-white);
}

.az-button--white:hover {
  border-color: var(--az-ink);
  background: var(--az-white);
}

.az-button--outline {
  border-color: var(--az-ink);
  background: transparent;
}

.az-button--outline:hover {
  border-color: var(--az-ink);
  background: var(--az-white);
}

.az-hero-art {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 0.92;
  justify-self: end;
  overflow: hidden;
}

.az-hero-art::before,
.az-hero-art::after {
  position: absolute;
  inset: 5% 0 5%;
  background: var(--az-white);
  content: "";
}

.az-hero-art::before {
  clip-path: polygon(45% 0, 64% 0, 20% 100%, 0 100%);
}

.az-hero-art::after {
  clip-path: polygon(68% 0, 100% 100%, 77% 100%, 68% 72%, 36% 72%, 45% 51%, 61% 51%, 56% 29%);
}

.az-hero-art > * {
  display: none;
}

.az-band {
  padding-block: 26px;
  border-bottom: 1px solid var(--az-rule);
  background: var(--az-white);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.az-band > .az-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
}

.az-band p {
  margin: 0;
}

.az-section {
  padding-block: var(--az-space);
}

.az-section + .az-section {
  border-top: 1px solid var(--az-rule);
}

.az-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.az-section-heading h2 {
  max-width: 690px;
  margin-bottom: 0;
  font-size: clamp(32px, 3.5vw, 49px);
}

.az-section-heading > p {
  max-width: 370px;
  margin-bottom: 0;
  color: var(--az-muted);
  font-size: 15px;
}

.az-section-heading .az-eyebrow {
  margin-bottom: 18px;
}

.az-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--az-ink);
}

.az-service {
  position: relative;
  min-width: 0;
  padding: 38px 32px 4px;
  border-left: 1px solid var(--az-rule);
}

.az-service:first-child {
  padding-left: 0;
  border-left: 0;
}

.az-service:last-child {
  padding-right: 0;
}

.az-service::before {
  display: block;
  width: 30px;
  height: 27px;
  margin-bottom: 30px;
  background: var(--az-cyan);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  content: "";
}

.az-service:nth-child(2)::before {
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.az-service:nth-child(3)::before {
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.az-service h3 {
  max-width: 280px;
  margin-bottom: 18px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.az-service p {
  color: var(--az-muted);
  font-size: 15px;
  line-height: 1.85;
}

.az-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}

.az-split h2 {
  margin-bottom: 28px;
  font-size: clamp(34px, 3.5vw, 51px);
}

.az-split > div > p:not(.az-eyebrow) {
  max-width: 520px;
  color: var(--az-muted);
  font-size: 16px;
}

.az-panel {
  position: relative;
  min-height: 380px;
  padding: clamp(32px, 4vw, 64px);
  overflow: hidden;
  background: var(--az-cyan);
}

.az-panel::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 105px;
  height: 105px;
  background: var(--az-white);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  content: "";
}

.az-panel h3 {
  max-width: 400px;
  margin-bottom: 24px;
  font-size: clamp(27px, 2.7vw, 38px);
  line-height: 1.25;
}

.az-panel p {
  max-width: 360px;
  font-size: 15px;
}

.az-panel ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.az-panel li {
  padding-left: 4px;
  margin-bottom: 12px;
}

.az-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 32px;
}

.az-post-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-width: 0;
  padding-top: 24px;
  border-top: 3px solid var(--az-cyan);
}

.az-post-card > a:has(img) {
  display: block;
  width: 100%;
  margin: -24px 0 24px;
  overflow: hidden;
}

.az-post-card img {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
}

.az-post-meta {
  margin: 0 0 20px;
  color: var(--az-muted);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.6;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.az-post-meta a {
  text-decoration: none;
}

.az-post-card h2,
.az-post-card h3 {
  margin-bottom: 18px;
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.az-post-card h2 a,
.az-post-card h3 a {
  text-decoration: none;
}

.az-post-card h2 a:hover,
.az-post-card h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--az-cyan);
}

.az-post-card > p:not(.az-post-meta) {
  margin-bottom: 24px;
  color: var(--az-muted);
  font-size: 14px;
  line-height: 1.85;
}

.az-post-card .az-text-link {
  margin-top: auto;
}

.az-text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--az-cyan);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
}

.az-text-link::after {
  content: "↗";
  font-size: 18px;
  font-weight: 500;
}

.az-text-link:hover {
  border-color: var(--az-ink);
  text-decoration: none;
}

.az-contact {
  position: relative;
  padding-block: clamp(64px, 7vw, 104px);
  overflow: hidden;
  background: var(--az-cyan);
}

.az-contact > .az-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.az-contact h2 {
  max-width: 800px;
  margin-bottom: 20px;
  font-size: clamp(36px, 4.3vw, 62px);
  line-height: 1.1;
}

.az-contact p {
  max-width: 600px;
  font-size: 16px;
}

.az-contact .az-button {
  flex-shrink: 0;
}

.az-footer {
  padding-block: 60px 28px;
  background: var(--az-white);
  font-size: 12px;
}

.az-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 52px;
}

.az-footer .az-brand img {
  width: 210px;
  margin-bottom: 23px;
}

.az-footer p {
  max-width: 300px;
  color: var(--az-muted);
  font-size: 12px;
  line-height: 1.8;
}

.az-footer h2,
.az-footer h3,
.az-footer h4 {
  margin-bottom: 18px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.az-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.az-footer li {
  margin-bottom: 10px;
}

.az-footer a {
  text-decoration: none;
}

.az-footer a:hover {
  text-decoration: underline;
  text-decoration-color: var(--az-cyan);
}

.az-footer > .az-wrap:not(.az-footer-grid) > .az-footer-legal,
.az-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--az-rule);
  color: var(--az-muted);
  font-size: 10px;
  line-height: 1.7;
}

.az-footer-bottom p {
  max-width: none;
  margin: 0;
  font-size: inherit;
}

.az-page-hero {
  position: relative;
  padding-block: clamp(68px, 8vw, 116px);
  border-top: 1px solid var(--az-rule);
  border-bottom: 1px solid var(--az-rule);
  overflow: hidden;
  background: var(--az-wash);
}

.az-page-hero::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(70px, 15vw, 240px);
  background: var(--az-cyan);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  content: "";
}

.az-page-hero > .az-wrap {
  position: relative;
  z-index: 1;
}

.az-page-hero .az-display,
.az-page-hero h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(46px, 6.4vw, 88px);
}

.az-page-hero .az-lede {
  max-width: 690px;
  padding-right: 20px;
  color: var(--az-muted);
}

.az-prose,
.az-article-body {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.9;
  overflow-wrap: break-word;
}

.az-prose > :first-child,
.az-article-body > :first-child {
  margin-top: 0;
}

.az-prose h2,
.az-article-body h2 {
  margin-top: 2em;
  margin-bottom: 0.75em;
  font-size: clamp(28px, 3vw, 39px);
}

.az-prose h3,
.az-article-body h3 {
  margin-top: 1.9em;
  margin-bottom: 0.8em;
  font-size: clamp(23px, 2.3vw, 29px);
}

.az-prose h4,
.az-article-body h4 {
  margin-top: 1.8em;
  font-size: 21px;
}

.az-prose p,
.az-article-body p {
  margin-bottom: 1.5em;
}

.az-prose a,
.az-article-body a {
  text-decoration-color: var(--az-cyan);
  text-decoration-thickness: 2px;
}

.az-prose a:hover,
.az-article-body a:hover {
  text-decoration-color: var(--az-ink);
}

.az-prose ul,
.az-prose ol,
.az-article-body ul,
.az-article-body ol {
  padding-left: 1.4em;
  margin-bottom: 1.7em;
}

.az-prose li,
.az-article-body li {
  padding-left: 0.25em;
  margin-bottom: 0.6em;
}

.az-prose li::marker,
.az-article-body li::marker {
  color: var(--az-ink);
  font-weight: 700;
}

.az-prose blockquote,
.az-article-body blockquote,
.wp-block-quote {
  padding: 8px 0 8px 28px;
  margin: 2em 0;
  border-left: 4px solid var(--az-cyan);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.035em;
}

.az-prose blockquote p:last-child,
.az-article-body blockquote p:last-child {
  margin-bottom: 0;
}

.az-prose cite,
.az-article-body cite {
  display: block;
  margin-top: 18px;
  color: var(--az-muted);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
}

.az-prose hr,
.az-article-body hr {
  margin: 3em 0;
  border: 0;
  border-top: 1px solid var(--az-rule);
}

.az-prose figure,
.az-article-body figure {
  margin: 2em 0;
}

.az-prose figcaption,
.az-article-body figcaption {
  margin-top: 12px;
  color: var(--az-muted);
  font-size: 12px;
  line-height: 1.7;
}

.az-prose table,
.az-article-body table {
  width: 100%;
  margin-block: 2em;
  border-collapse: collapse;
  font-size: 14px;
}

.az-prose th,
.az-prose td,
.az-article-body th,
.az-article-body td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--az-rule);
  text-align: left;
  vertical-align: top;
}

.az-prose th,
.az-article-body th {
  border-top: 2px solid var(--az-cyan);
  background: var(--az-wash);
  font-weight: 800;
}

.az-prose pre,
.az-article-body pre {
  max-width: 100%;
  padding: 24px;
  overflow: auto;
  background: var(--az-wash);
  font-size: 14px;
  line-height: 1.7;
}

.az-article-header {
  max-width: 960px;
  margin-inline: auto;
  padding-block: clamp(64px, 7vw, 112px) 52px;
}

.az-article-header h1 {
  margin-bottom: 32px;
  font-size: clamp(39px, 5.2vw, 72px);
  line-height: 1.1;
}

.az-article-header .az-post-meta {
  margin-bottom: 26px;
}

.az-article-header > img {
  width: 100%;
  max-height: 560px;
  margin-top: 44px;
  object-fit: cover;
}

.az-article-body {
  padding-bottom: 70px;
}

.az-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  max-width: 760px;
  padding-block: 28px 80px;
  margin-inline: auto;
  border-top: 1px solid var(--az-rule);
  font-size: 13px;
  font-weight: 750;
}

.az-post-nav a {
  max-width: 46%;
}

.az-blog-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}

.az-blog-intro h2 {
  margin-bottom: 0;
  font-size: clamp(29px, 3vw, 41px);
}

.az-blog-intro p {
  max-width: 400px;
  margin-bottom: 0;
  color: var(--az-muted);
  font-size: 14px;
}

.az-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 64px;
  font-size: 13px;
  font-weight: 750;
}

.az-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.az-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--az-rule);
  text-decoration: none;
}

.az-pagination a:hover,
.az-pagination .current {
  border-color: var(--az-cyan);
  background: var(--az-cyan);
}

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

.alignwide {
  width: min(100vw - var(--az-gutter) * 2, 1000px);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.wp-block-image img {
  height: auto;
}

.wp-block-separator {
  border: 0;
  border-top: 1px solid var(--az-rule);
}

@media (min-width: 1600px) {
  .az-hero {
    min-height: 720px;
  }
}

@media (max-width: 1050px) {
  .az-hero,
  .az-hero > .az-wrap {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 36px;
  }

  .az-hero {
    min-height: 600px;
  }

  .az-display {
    font-size: clamp(44px, 6.3vw, 66px);
  }

  .az-service {
    padding-inline: 24px;
  }

  .az-section-heading {
    align-items: start;
  }

  .az-contact > .az-wrap {
    align-items: start;
    flex-direction: column;
    gap: 28px;
  }

  .az-post-grid {
    gap: 40px 24px;
  }
}

@media (max-width: 760px) {
  :root {
    --az-gutter: 24px;
    --az-space: 72px;
  }

  .az-header {
    height: 84px;
  }

  .az-header > .az-wrap {
    gap: 24px;
  }

  .az-brand img {
    width: 202px;
  }

  .az-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
  }

  .az-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 12px var(--az-gutter) 24px;
    border-top: 1px solid var(--az-rule);
    border-bottom: 1px solid var(--az-rule);
    background: var(--az-white);
  }

  .az-nav.is-open,
  .az-header.is-open .az-nav {
    display: block;
  }

  .az-nav ul {
    display: block;
  }

  .az-nav a {
    display: block;
    padding-block: 14px;
    font-size: 14px;
  }

  .az-nav a::after {
    right: auto;
    width: 28px;
    bottom: 5px;
  }

  .az-hero,
  .az-hero > .az-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .az-hero {
    min-height: 0;
    padding-block: 64px 56px;
  }

  .az-eyebrow {
    margin-bottom: 22px;
    font-size: 10px;
  }

  .az-display {
    max-width: 650px;
    margin-bottom: 24px;
    font-size: clamp(44px, 9.5vw, 66px);
    line-height: 1.06;
  }

  .az-lede {
    max-width: 520px;
    font-size: 17px;
  }

  .az-actions {
    gap: 12px;
    margin-top: 30px;
  }

  .az-button {
    min-height: 52px;
    padding-inline: 18px;
  }

  .az-hero-art {
    width: 170px;
    max-width: 38%;
    margin-top: -4px;
  }

  .az-band {
    padding-block: 22px;
    font-size: 9px;
    letter-spacing: 0.09em;
  }

  .az-band > .az-wrap {
    justify-content: start;
    gap: 10px 22px;
  }

  .az-section-heading,
  .az-blog-intro {
    flex-direction: column;
    align-items: start;
    gap: 24px;
    margin-bottom: 38px;
  }

  .az-section-heading h2 {
    font-size: clamp(30px, 6.5vw, 42px);
  }

  .az-section-heading > p {
    max-width: 520px;
  }

  .az-service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .az-service,
  .az-service:first-child,
  .az-service:last-child {
    padding: 30px 0;
    border-left: 0;
    border-bottom: 1px solid var(--az-rule);
  }

  .az-service:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .az-service::before {
    width: 24px;
    height: 22px;
    margin-bottom: 22px;
  }

  .az-service h3 {
    max-width: none;
    margin-bottom: 14px;
    font-size: 25px;
  }

  .az-service p {
    max-width: 540px;
    margin-bottom: 0;
  }

  .az-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .az-panel {
    min-height: 330px;
    padding: 36px 30px 60px;
  }

  .az-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }

  .az-post-card h2,
  .az-post-card h3 {
    font-size: 24px;
  }

  .az-contact {
    padding-block: 64px;
  }

  .az-contact h2 {
    font-size: clamp(34px, 7vw, 48px);
  }

  .az-footer {
    padding-top: 44px;
  }

  .az-footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    padding-bottom: 34px;
  }

  .az-footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .az-page-hero {
    padding-block: 64px;
  }

  .az-page-hero::after {
    width: 62px;
  }

  .az-page-hero .az-display,
  .az-page-hero h1 {
    padding-right: 22px;
    font-size: clamp(43px, 9vw, 66px);
  }

  .az-page-hero .az-lede {
    padding-right: 28px;
  }

  .az-article-header {
    padding-top: 56px;
    padding-bottom: 36px;
  }

  .az-article-header h1 {
    font-size: clamp(36px, 7.8vw, 54px);
  }

  .az-article-body {
    padding-bottom: 48px;
  }

  .az-post-nav {
    padding-bottom: 60px;
  }

  .az-prose blockquote,
  .az-article-body blockquote {
    padding-left: 22px;
    font-size: 24px;
  }

  .az-pagination {
    margin-top: 48px;
  }
}

@media (max-width: 480px) {
  :root {
    --az-gutter: 22px;
  }

  .az-brand img {
    width: 184px;
  }

  .az-menu-toggle {
    padding-left: 0;
    font-size: 11px;
  }

  .az-hero {
    padding-top: 54px;
  }

  .az-display {
    font-size: 44px;
  }

  .az-hero-art {
    width: 138px;
    max-width: 42%;
  }

  .az-actions .az-button {
    gap: 20px;
    font-size: 11px;
  }

  .az-post-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .az-post-card h2,
  .az-post-card h3 {
    font-size: 27px;
  }

  .az-footer-grid {
    gap: 28px 20px;
  }

  .az-footer > .az-wrap:not(.az-footer-grid) > .az-footer-legal,
  .az-footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Native WordPress block editor and full-site editing integration. */
.wp-site-blocks {
  padding: 0;
}

.wp-site-blocks > * + *,
.wp-site-blocks > .wp-block-template-part + *,
.az-main > * + * {
  margin-block-start: 0;
}

body .az-wrap {
  max-width: var(--az-content);
  margin-inline: auto;
}

.az-header .az-wrap,
.az-hero .az-wrap,
.az-contact .az-wrap,
.az-footer .az-wrap {
  margin-block-start: 0;
  margin-block-end: 0;
}

.az-brand.wp-block-site-logo,
.az-brand.wp-block-site-logo a {
  display: block;
  line-height: 0;
}

.az-brand.wp-block-site-logo {
  margin: 0;
}

.az-brand.wp-block-site-logo img {
  width: 250px;
  max-width: 100%;
  height: auto;
}

.az-hero-copy > * + * {
  margin-block-start: 0;
}

.az-hero-copy > .az-actions {
  margin-block-start: 38px;
}

.az-hero > .az-wrap > *,
.az-split > *,
.az-service-grid > * {
  min-width: 0;
  margin-block-start: 0;
}

.az-service-grid.wp-block-columns,
.az-split.wp-block-columns {
  margin-bottom: 0;
}

.az-section-heading.wp-block-group,
.az-blog-intro.wp-block-group {
  margin-block-start: 0;
}

.az-service > * + *,
.az-panel > * + *,
.az-post-card > * + * {
  margin-block-start: 0;
}

.az-service h3,
.az-panel h3 {
  margin-block-start: 0;
}

.az-actions.wp-block-buttons {
  align-items: center;
  gap: 16px 24px;
}

.wp-block-button.az-button {
  display: inline-flex;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.wp-block-button.az-button::after {
  display: none;
}

.wp-block-button.az-button > .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 54px;
  padding: 14px 22px;
  border: 1px solid var(--az-cyan);
  border-radius: 0;
  color: var(--az-ink);
  background: var(--az-cyan);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.wp-block-button.az-button > .wp-block-button__link::after {
  content: "↗";
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
}

.wp-block-button.az-button > .wp-block-button__link:hover {
  border-color: #7cdeee;
  background: #7cdeee;
}

.wp-block-button.az-button--white > .wp-block-button__link {
  border-color: var(--az-white);
  background: var(--az-white);
}

.wp-block-button.az-button--outline > .wp-block-button__link {
  border-color: var(--az-ink);
  background: transparent;
}

.wp-block-button.az-button--white > .wp-block-button__link:hover,
.wp-block-button.az-button--outline > .wp-block-button__link:hover {
  border-color: var(--az-ink);
  background: var(--az-white);
}

.az-nav.wp-block-navigation {
  position: static;
  display: flex;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  font-family: "Manrope", Arial, sans-serif;
}

.az-nav .wp-block-navigation__container {
  column-gap: clamp(28px, 3vw, 48px);
  row-gap: 0;
}

.az-nav .wp-block-navigation-item__content {
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: 0.055em;
}

.az-nav .wp-block-navigation__responsive-container-open,
.az-nav .wp-block-navigation__responsive-container-close {
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--az-ink);
  background: transparent;
}

.az-nav .wp-block-navigation__responsive-container-close::after,
.az-nav .wp-block-navigation__responsive-container-open::after {
  display: none;
}

.az-nav .wp-block-navigation__responsive-container.is-menu-open {
  padding: 100px var(--az-gutter) 40px;
  color: var(--az-ink);
  background: var(--az-white);
}

.az-nav .wp-block-navigation__responsive-container.is-menu-open::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  height: 140px;
  background: var(--az-cyan);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  content: "";
}

.az-nav .is-menu-open .wp-block-navigation__responsive-container-close {
  top: 20px;
  right: 0;
}

.az-nav .is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: flex-start;
  padding-top: 12px;
}

.az-nav .is-menu-open .wp-block-navigation__container {
  align-items: flex-start;
  width: 100%;
  gap: 12px;
}

.az-nav .is-menu-open .wp-block-navigation-item {
  width: 100%;
  border-bottom: 1px solid var(--az-rule);
}

.az-nav .is-menu-open .wp-block-navigation-item__content {
  padding-block: 18px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 32px;
  font-weight: 550;
  letter-spacing: -0.045em;
}

.az-post-grid.wp-block-post-template {
  display: grid;
  padding: 0;
  margin: 0;
  list-style: none;
}

.az-post-grid > .wp-block-post {
  display: flex;
  min-width: 0;
  margin: 0;
}

.az-post-grid > .wp-block-post > .az-post-card {
  width: 100%;
}

.az-post-card .wp-block-post-title {
  margin-block: 0 18px;
}

.az-post-card .wp-block-post-date,
.az-post-card .wp-block-post-terms {
  color: var(--az-muted);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.6;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.az-post-card .wp-block-post-excerpt {
  color: var(--az-muted);
  font-size: 14px;
  line-height: 1.85;
}

.az-post-card .wp-block-post-excerpt__excerpt {
  margin-block: 0 24px;
}

.az-post-card .wp-block-post-excerpt__more-text {
  margin-block: 0;
}

.az-post-card .wp-block-post-excerpt__more-link,
.az-post-card .wp-block-read-more {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--az-cyan);
  color: var(--az-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
}

.az-post-card .wp-block-post-excerpt__more-link::after,
.az-post-card .wp-block-read-more::after {
  content: "↗";
  font-size: 18px;
  font-weight: 500;
}

.az-post-card .wp-block-post-excerpt__more-link:hover,
.az-post-card .wp-block-read-more:hover {
  border-bottom-color: var(--az-ink);
}

.az-post-card .wp-block-post-featured-image {
  width: 100%;
  margin: -24px 0 24px;
}

.az-post-card .wp-block-post-featured-image img {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
}

.az-pagination.wp-block-query-pagination {
  gap: 20px;
}

.az-pagination .wp-block-query-pagination-numbers {
  display: flex;
  gap: 10px;
  margin: 0;
}

.az-pagination .wp-block-query-pagination-next,
.az-pagination .wp-block-query-pagination-previous {
  margin: 0;
  text-decoration: none;
}

.az-footer {
  border-top: 3px solid var(--az-cyan);
}

.az-footer .az-nav.wp-block-navigation {
  display: block;
}

.az-footer .az-nav .wp-block-navigation__container {
  display: block;
}

.az-footer .az-nav a {
  padding-block: 5px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.az-footer .az-nav a::after {
  display: none;
}

.az-footer .wp-block-site-logo img {
  width: 210px;
}

.az-prose.wp-block-post-content > *,
.az-article-body.wp-block-post-content > * {
  max-width: 100%;
}

.az-prose.wp-block-post-content > .alignwide,
.az-article-body.wp-block-post-content > .alignwide {
  max-width: none;
}

/* Starter page groups retain their layout when edited as native blocks. */
.az-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr);
  align-items: end;
  gap: 18px 64px;
}

.az-section-heading > .az-eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--az-ink);
  font-size: 11px;
  line-height: 1.5;
}

.az-section-heading > h2 {
  grid-column: 1;
  grid-row: 2;
}

.az-section-heading > p:not(.az-eyebrow) {
  grid-column: 2;
  grid-row: 2;
}

.az-band {
  padding-block: var(--az-space);
  border-top: 1px solid var(--az-rule);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  text-transform: none;
}

.az-band > .az-wrap.az-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 112px);
}

.az-band .az-eyebrow {
  margin-bottom: 26px;
}

.az-band .az-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.az-band .az-split .az-panel > p {
  max-width: 380px;
  margin: 0;
  color: var(--az-ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.az-band .az-split .az-panel > p + p {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgb(16 38 44 / 22%);
}

.az-post-card .wp-block-read-more::after,
p.az-text-link::after {
  display: none;
}

p.az-text-link {
  margin-top: 40px;
}

p.az-text-link a {
  text-decoration: none;
}

.az-contact .az-actions {
  margin: 0;
  flex-shrink: 0;
}

.az-contact .az-contact-copy > * + * {
  margin-block-start: 0;
}

.az-contact .az-contact-copy > .az-eyebrow {
  margin-bottom: 26px;
  font-size: 11px;
}

.az-footer-grid {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.az-footer .az-footer-brand h3 {
  margin-bottom: 20px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.045em;
  text-transform: none;
}

.az-footer-links > .az-eyebrow {
  margin-bottom: 18px;
  color: var(--az-ink);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.13em;
}

.az-footer-links > .az-eyebrow::before {
  display: none;
}

.az-footer-links > p:not(.az-eyebrow) {
  margin-block: 0 10px;
}

body .az-wrap.az-article-header {
  max-width: 960px;
}

body .az-wrap.az-article-body,
body .az-wrap.az-post-nav {
  max-width: 760px;
}

.az-article-body > .wp-block-post-content {
  margin-block-start: 0;
}

@media (min-width: 761px) {
  .az-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none;
  }

  .az-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    position: relative;
    display: block;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .az-section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .az-section-heading > .az-eyebrow {
    font-size: 10px;
  }

  .az-section-heading > h2,
  .az-section-heading > p:not(.az-eyebrow) {
    grid-column: 1;
    grid-row: auto;
  }

  .az-band > .az-wrap.az-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .az-footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .az-footer-grid > :first-child {
    grid-column: 1;
  }

  .az-brand.wp-block-site-logo img {
    width: 202px;
  }

  .az-nav .wp-block-navigation__responsive-container-open {
    display: flex;
  }

  .az-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none;
  }

  .az-nav .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed;
    inset: 0;
    display: flex;
  }

  .az-nav .is-menu-open .wp-block-navigation__responsive-dialog {
    width: 100%;
  }

  .az-hero-copy > .az-actions {
    margin-block-start: 30px;
  }

  .az-actions.wp-block-buttons {
    gap: 12px;
  }

  .wp-block-button.az-button > .wp-block-button__link {
    min-height: 52px;
    padding-inline: 18px;
  }

  .az-service-grid.wp-block-columns,
  .az-split.wp-block-columns {
    display: grid;
  }

  .az-footer .az-nav .wp-block-navigation__responsive-container {
    position: static;
    display: block;
  }

  .az-footer .az-nav .wp-block-navigation__responsive-container-open {
    display: none;
  }
}

@media (max-width: 480px) {
  .az-brand.wp-block-site-logo img {
    width: 184px;
  }

  .wp-block-button.az-button > .wp-block-button__link {
    gap: 20px;
    font-size: 11px;
  }
}

@media print {
  .az-header,
  .az-footer,
  .az-contact,
  .az-hero-art,
  .az-post-nav,
  .az-menu-toggle,
  .az-actions {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .az-wrap {
    width: 100%;
  }

  .az-page-hero,
  .az-hero,
  .az-section {
    min-height: 0;
    padding: 24pt 0;
    background: #fff;
    border: 0;
  }

  .az-page-hero::after,
  .az-hero::before {
    display: none;
  }

  a {
    text-decoration: underline;
  }

  h1,
  h2,
  h3,
  img {
    break-after: avoid;
    break-inside: avoid;
  }
}
