/*
 * DroneATC — WordPress layer
 * ---------------------------------------------------------------------------
 * Loaded after base.css (the original DroneATC design system) and adds the
 * WordPress templates: header/footer chrome, blog, single posts, comments,
 * search, 404, forms and accessibility helpers.
 *
 * Colours come from the same tokens as the design pack:
 *   ink #07141d · panel #0e2936 · cyan #55e5ff · amber #ffb35b · paper #f4f7f6
 */

/* =========================================================================
   1. Layout grid
   -------------------------------------------------------------------------
   Every block aligns to the same left edge: a 1240px column centred in the
   viewport with 24px gutters. Use .wrap for the column and .measure for
   long-form text.
   ========================================================================= */

.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;
}

.screen-reader-text:focus {
	position: fixed !important;
	top: 1rem;
	left: 1rem;
	z-index: 200;
	width: auto;
	height: auto;
	clip: auto;
	padding: .75rem 1rem;
	background: #fff;
	color: var(--ink);
	font-weight: 600;
}

.skip-link {
	position: fixed;
	top: -5rem;
	left: 1rem;
	z-index: 300;
	padding: .75rem 1rem;
	background: #fff;
	color: var(--ink);
	border-radius: 2px;
	font-size: .85rem;
	font-weight: 700;
}

.skip-link:focus {
	top: 1rem;
}

:focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 3px;
}

.wrap {
	width: 100%;
	max-width: calc(var(--max) + 48px);
	margin: 0 auto;
	padding: 0 24px;
}

.wrap--content {
	padding-top: 72px;
	padding-bottom: 96px;
}

.wrap--narrow {
	max-width: calc(var(--max) + 48px);
}

.measure {
	max-width: 880px;
}

.measure--wide {
	max-width: 1040px;
}

/* =========================================================================
   2. Header
   ========================================================================= */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 90;
	max-width: none;
	height: auto;
	margin: 0;
	padding: 0;
	display: block;
	background: linear-gradient(180deg, rgba(4, 14, 20, .92), rgba(4, 14, 20, .55) 70%, transparent);
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	transition: background .25s ease, border-color .25s ease;
}

.site-header.is-stuck,
body:not(.home) .site-header {
	background: rgba(5, 18, 26, .96);
	border-bottom-color: rgba(85, 229, 255, .18);
	backdrop-filter: blur(10px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	width: 100%;
	max-width: calc(var(--max) + 48px);
	margin: 0 auto;
	padding: 0 24px;
	height: 88px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	font-weight: 800;
	font-size: 1.02rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
}

.brand__text > span {
	color: var(--cyan);
}

.brand-mark,
.brand__mark {
	position: relative;
	width: 32px;
	height: 32px;
	flex: none;
	border: 1px solid var(--cyan);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(85, 229, 255, .16), transparent 62%);
}

.brand__mark::before,
.brand__mark::after {
	content: "";
	position: absolute;
	background: rgba(85, 229, 255, .55);
}

.brand__mark::before {
	width: 1px;
	height: 100%;
	left: 50%;
}

.brand__mark::after {
	height: 1px;
	width: 100%;
	top: 50%;
}

.brand__mark i {
	position: absolute;
	right: 5px;
	top: 6px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--amber);
	box-shadow: 0 0 10px var(--amber);
}

.site-header .site-nav {
	margin-left: auto;
}

.site-header .site-nav .nav-list,
.footer-list,
.legal-list {
	display: flex;
	align-items: center;
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header .site-nav .nav-list {
	flex-wrap: wrap;
	justify-content: flex-end;
}

.site-header .site-nav .nav-link {
	color: #c6d5db;
	font-size: .88rem;
	transition: color .2s ease;
}

.site-header .site-nav .nav-link:hover,
.site-header .site-nav .nav-link:focus-visible,
.site-header .site-nav .nav-link.is-current {
	color: var(--cyan);
}

.site-header .site-nav .nav-item {
	position: relative;
}

.site-header .site-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	padding: .5rem 0;
	margin: .6rem 0 0;
	list-style: none;
	background: #08222e;
	border: 1px solid rgba(85, 229, 255, .2);
	box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: .18s ease;
}

.site-header .site-nav li:hover > .sub-menu,
.site-header .site-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.site-header .site-nav .sub-menu a {
	display: block;
	padding: .5rem 1rem;
	font-size: .84rem;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-left: auto;
}

/* The nav takes the free space, so the cluster stays glued to the right edge. */
.site-nav + .site-header__actions {
	margin-left: 0;
	gap: 1.8rem;
}

.header-cta {
	font-size: .86rem;
	padding: .65rem 1rem;
	border: 1px solid rgba(255, 255, 255, .32);
	border-radius: 2px;
	color: #fff;
	white-space: nowrap;
	transition: .2s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
	border-color: var(--cyan);
	color: var(--cyan);
}

.nav-toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 2px;
	cursor: pointer;
}

.nav-toggle__bar {
	position: absolute;
	left: 12px;
	width: 20px;
	height: 1.5px;
	background: #fff;
	transition: .2s ease;
}

.nav-toggle__bar:nth-child(2) { top: 16px; }
.nav-toggle__bar:nth-child(3) { top: 21px; }
.nav-toggle__bar:nth-child(4) { top: 26px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(4) { transform: translateY(-5px) rotate(-45deg); }

/* Search form in the header */
.site-header .search-form {
	position: relative;
	display: flex;
	align-items: center;
}

.site-header .search-form__field {
	width: 40px;
	padding: .5rem .6rem;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 2px;
	background: rgba(8, 34, 46, .6);
	color: #fff;
	font-size: .8rem;
	transition: width .25s ease, border-color .2s ease;
}

.site-header .search-form__field:focus {
	width: 190px;
	border-color: var(--cyan);
	outline: none;
}

.site-header .search-form__submit {
	position: absolute;
	right: 2px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--cyan);
	cursor: pointer;
}

body.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

/* =========================================================================
   3. Hero offset for the fixed header
   ========================================================================= */

.home .hero {
	padding-top: 172px;
}

.single .single__header,
.page-hero {
	padding-top: 148px;
}

/* =========================================================================
   4. Social links
   ========================================================================= */

.social-list {
	display: flex;
	align-items: center;
	gap: .55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-link {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	color: #9db2bc;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 50%;
	transition: .2s ease;
}

.social-link:hover,
.social-link:focus-visible {
	color: var(--ink);
	background: var(--cyan);
	border-color: var(--cyan);
	transform: translateY(-2px);
}

.social-list--header {
	margin-right: .4rem;
}

.social-list--header .social-link {
	width: 32px;
	height: 32px;
}

/* =========================================================================
   5. Page hero (inner pages)
   ========================================================================= */

.page-hero {
	position: relative;
	padding: 150px 0 76px;
	background:
		radial-gradient(circle at 78% 30%, rgba(27, 112, 135, .22), transparent 42%),
		linear-gradient(135deg, #06121a 0%, #091b25 60%, #06121a 100%);
	border-bottom: 1px solid rgba(85, 229, 255, .14);
}

.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(85, 229, 255, .16) 1px, transparent 1px),
		linear-gradient(90deg, rgba(85, 229, 255, .16) 1px, transparent 1px);
	background-size: 64px 64px;
	opacity: .14;
	mask-image: linear-gradient(to bottom, black, transparent 75%);
	pointer-events: none;
}

.page-hero__inner {
	position: relative;
	z-index: 2;
}

.page-hero__title {
	margin: .8rem 0 1.2rem;
	font-size: clamp(2.4rem, 5vw, 4.2rem);
	line-height: 1.03;
	letter-spacing: -.05em;
	color: #fff;
}

.page-hero__lede {
	max-width: 640px;
	color: #b8c9d0;
	font-size: 1.08rem;
	line-height: 1.65;
}

.page-hero__lede p {
	margin: 0 0 .8rem;
}

.page-hero__search {
	margin-top: 1.8rem;
	max-width: 460px;
}

.page-hero--error .page-hero__title {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	color: var(--cyan);
}

/* =========================================================================
   6. Breadcrumbs
   ========================================================================= */

.breadcrumbs {
	margin-bottom: 1.4rem;
}

.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .74rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #7f98a3;
}

.breadcrumbs__item + .breadcrumbs__item::before {
	content: "/";
	margin-right: .5rem;
	color: rgba(127, 152, 163, .5);
}

.breadcrumbs a {
	color: #a8bcc5;
}

.breadcrumbs a:hover {
	color: var(--cyan);
}

/* WordPress prints both the published and the updated date; only show the
   original publication date, as on the design pack. */
.entry-date.updated {
	display: none;
}

/* =========================================================================
   7. Blog cards
   ========================================================================= */

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
	gap: 2px;
	background: #dbe5e7;
	border: 1px solid #dbe5e7;
}

.card-grid--compact {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
	display: flex;
	flex-direction: column;
	background: var(--paper);
	transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: 0 24px 60px rgba(7, 20, 29, .14);
	z-index: 2;
}

.card__media {
	display: block;
	overflow: hidden;
	background: #0b202c;
	line-height: 0;
}

.card__image {
	width: 100%;
	height: 100%;
	max-height: 220px;
	object-fit: cover;
	transition: transform .45s ease;
}

.card:hover .card__image {
	transform: scale(1.04);
}

.card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: .7rem;
	padding: 1.6rem 1.5rem 1.8rem;
	color: var(--ink);
}

.card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .8rem;
	font: .68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #64818b;
}

.card__title {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.22;
	letter-spacing: -.02em;
}

.card__title a {
	color: var(--ink);
	transition: color .18s ease;
}

.card__title a:hover {
	color: #0a6d80;
}

.card__excerpt {
	margin: 0;
	color: #55696f;
	font-size: .92rem;
	line-height: 1.6;
}

.card__more {
	margin-top: auto;
	padding-top: .4rem;
	font-size: .8rem;
	font-weight: 700;
	color: #0a6d80;
	letter-spacing: .04em;
}

.result-count {
	margin: 0 0 1.6rem;
	font: .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #64818b;
}

/* =========================================================================
   8. Single post & page
   ========================================================================= */

.single__header {
	padding-bottom: 48px;
	background:
		radial-gradient(circle at 82% 20%, rgba(27, 112, 135, .2), transparent 45%),
		linear-gradient(135deg, #06121a 0%, #091b25 100%);
}

.single__title {
	margin: .9rem 0 1.2rem;
	font-size: clamp(2.2rem, 4.6vw, 3.6rem);
	line-height: 1.06;
	letter-spacing: -.045em;
	color: #fff;
}

.single__lede {
	max-width: 720px;
	color: #b8c9d0;
	font-size: 1.12rem;
	line-height: 1.6;
}

.single__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.2rem;
	margin-top: 1.6rem;
	font-size: .76rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #8fa8b2;
}

.single__meta a {
	color: var(--cyan);
}

.single__media {
	margin: 0;
	max-height: 440px;
	overflow: hidden;
	background: #06141c;
}

.single__image {
	width: 100%;
	height: 100%;
	max-height: 440px;
	object-fit: cover;
	object-position: center 46%;
	display: block;
}

.icon-wrap {
	margin-top: 3rem;
	display: flex;
}

.icon {
	color: var(--cyan);
	flex: none;
}

@media (max-width: 680px) {
	.icon-wrap {
		margin-top: 2rem;
	}
}

.single__band {
	background: var(--paper);
	color: #213640;
	border-top: 1px solid #dbe5e7;
}

.single__band .wrap--content {
	padding-top: 68px;
	padding-bottom: 80px;
}

.single__band .comments-area {
	border-top-color: #cfdbdd;
}

.single__body {
	color: #213640;
	font-size: 1.03rem;
	line-height: 1.75;
}

.single__tags {
	margin-top: 3rem;
}

.entry-terms {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: 1.2rem;
}

.chip {
	display: inline-flex;
	align-items: center;
	padding: .3rem .7rem;
	border: 1px solid rgba(10, 109, 128, .28);
	border-radius: 2px;
	font-size: .72rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #0a6d80;
	background: rgba(85, 229, 255, .1);
}

.chip:hover {
	background: var(--cyan);
	border-color: var(--cyan);
}

.single__share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: 2.5rem;
	padding-top: 1.6rem;
	border-top: 1px solid #dbe5e7;
}

.single__share-label {
	font-size: .74rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #64818b;
}

.share-list {
	display: flex;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.share-link {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid #cfdbdd;
	border-radius: 50%;
	background: #fff;
	color: #35505a;
	cursor: pointer;
	transition: .18s ease;
}

.share-link:hover,
.share-link:focus-visible {
	color: var(--ink);
	background: var(--cyan);
	border-color: var(--cyan);
}

.post-nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1px;
	margin-top: 3rem;
	background: #dbe5e7;
	border: 1px solid #dbe5e7;
}

.post-nav__link {
	display: grid;
	gap: .4rem;
	padding: 1.4rem 1.5rem;
	background: var(--paper);
	color: var(--ink);
	transition: background .18s ease;
}

.post-nav__link:hover {
	background: #fff;
}

.post-nav__link--next {
	text-align: right;
}

.post-nav__label {
	font-size: .68rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #64818b;
}

.post-nav__title {
	font-weight: 700;
	line-height: 1.3;
}

.author-box {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 1.2rem;
	margin-top: 3rem;
	padding: 1.6rem;
	background: #fff;
	border: 1px solid #dbe5e7;
}

.author-box__avatar {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--cyan);
	font-size: 1.5rem;
	font-weight: 800;
}

.author-box__name {
	margin: 0 0 .3rem;
	font-weight: 800;
	color: var(--ink);
}

.author-box__bio {
	margin: 0 0 .6rem;
	color: #55696f;
	font-size: .92rem;
}

.author-box__link {
	font-size: .84rem;
	font-weight: 700;
	color: #0a6d80;
}

.related {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 1px solid #dbe5e7;
}

.related__title {
	margin: .6rem 0 1.8rem;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	letter-spacing: -.03em;
	color: var(--ink);
}

/* Prose / block content */
.single__body > * + * {
	margin-top: 1.4em;
}

.single__body h2 {
	margin-top: 2.4em;
	font-size: clamp(1.6rem, 2.6vw, 2.1rem);
	line-height: 1.2;
	letter-spacing: -.03em;
	color: var(--ink);
}

.single__body h3 {
	margin-top: 2em;
	font-size: 1.3rem;
	color: var(--ink);
}

.single__body a {
	color: #0a6d80;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.single__body a:hover {
	color: var(--cyan-dark, #055260);
}

.single__body ul,
.single__body ol {
	padding-left: 1.3em;
}

.single__body li + li {
	margin-top: .5em;
}

.single__body blockquote {
	margin: 2em 0;
	padding: .4em 0 .4em 1.4em;
	border-left: 3px solid var(--cyan);
	font-size: 1.1rem;
	color: #35505a;
}

.single__body blockquote p {
	margin: 0 0 .6em;
}

.single__body img,
.single__body figure {
	max-width: 100%;
	height: auto;
}

.single__body figure {
	margin: 2.4em 0;
}

.single__body figcaption {
	margin-top: .7rem;
	font-size: .8rem;
	color: #64818b;
}

.single__body hr {
	border: 0;
	border-top: 1px solid #dbe5e7;
	margin: 2.5em 0;
}

.single__body code {
	padding: .15em .4em;
	background: #e6eded;
	font-size: .9em;
}

.single__body pre {
	overflow-x: auto;
	padding: 1.2rem;
	background: var(--ink);
	color: #d7e7ec;
	font-size: .86rem;
}

.single__body table {
	width: 100%;
	border-collapse: collapse;
	font-size: .92rem;
}

.single__body th,
.single__body td {
	padding: .7rem .8rem;
	border: 1px solid #dbe5e7;
	text-align: left;
}

.single__body th {
	background: #e9f0f0;
	font-size: .78rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #3d545d;
}

.alignwide {
	margin-left: -8vw;
	margin-right: -8vw;
	max-width: calc(100% + 16vw);
}

.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
}

.alignleft {
	float: left;
	margin: .4em 1.6em 1em 0;
}

.alignright {
	float: right;
	margin: .4em 0 1em 1.6em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.blocks-gallery-caption {
	margin-top: .6rem;
	font-size: .8rem;
	color: #64818b;
}

.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	align-items: center;
	margin-top: 2rem;
	font-size: .85rem;
}

.page-links a,
.page-links > span:not(:first-child) {
	display: inline-grid;
	place-items: center;
	min-width: 34px;
	height: 34px;
	padding: 0 .6rem;
	border: 1px solid #cfdbdd;
	background: #fff;
}

.page-links .current {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}

/* =========================================================================
   9. Pagination
   ========================================================================= */

.pagination {
	margin-top: 3rem;
}

.pagination__list {
	display: flex;
	flex-wrap: wrap;
	gap: 1px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #dbe5e7;
	border: 1px solid #dbe5e7;
}

.pagination__item {
	flex: 1;
	background: var(--paper);
	text-align: center;
}

.pagination__item a,
.pagination__item span {
	display: block;
	padding: .9rem .5rem;
	font-size: .82rem;
	letter-spacing: .06em;
	color: #35505a;
}

.pagination__item a:hover {
	background: #fff;
	color: #0a6d80;
}

.pagination__item .current {
	background: var(--ink);
	color: #fff;
}

/* =========================================================================
   10. Forms
   ========================================================================= */

.form {
	background: #fff;
	padding: 2rem;
	box-shadow: 0 24px 70px rgba(13, 45, 58, .13);
	color: var(--ink);
}

.form--card {
	border: 1px solid #dbe5e7;
}

.form__title {
	margin: 1.2rem 0 .4rem;
	font-size: 1.4rem;
}

.form__fields {
	display: grid;
	gap: 1rem;
}

.field {
	display: grid;
	gap: .45rem;
}

.field label {
	color: #52666e;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.field__required {
	color: #c4462f;
}

.field__help {
	font-size: .74rem;
	color: #7d919a;
	text-transform: none;
	letter-spacing: 0;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="url"],
.form input[type="search"],
.form select,
.form textarea {
	width: 100%;
	min-height: 48px;
	padding: .75rem;
	border: 1px solid #cbd9dc;
	background: #f9fbfb;
	color: var(--ink);
	border-radius: 0;
	font-size: .95rem;
	letter-spacing: 0;
	text-transform: none;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.form textarea {
	min-height: 120px;
	resize: vertical;
}

.form select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #5a7078 50%), linear-gradient(135deg, #5a7078 50%, transparent 50%);
	background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
	outline: none;
	border-color: var(--cyan);
	box-shadow: 0 0 0 3px rgba(85, 229, 255, .35);
}

.field--trap {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.field--consent {
	margin-top: .4rem;
}

.consent {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: .7rem;
	align-items: start;
	color: #52666e !important;
	font-size: .82rem !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	line-height: 1.5;
	cursor: pointer;
}

.consent input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.consent__box {
	position: relative;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	border: 1px solid #b9cbcf;
	background: #f9fbfb;
	transition: .15s ease;
}

.consent input:checked + .consent__box {
	background: var(--cyan);
	border-color: var(--cyan);
}

.consent input:checked + .consent__box::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 6px;
	height: 11px;
	border: solid var(--ink);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.consent input:focus-visible + .consent__box {
	box-shadow: 0 0 0 3px rgba(85, 229, 255, .5);
}

.consent a {
	color: #0a6d80;
}

.form-button {
	position: relative;
	width: 100%;
	margin-top: 1.4rem;
	border: 0;
	gap: .8rem;
}

.form-button.is-loading {
	pointer-events: none;
	opacity: .75;
}

.form-button__spinner {
	display: none;
	width: 15px;
	height: 15px;
	border: 2px solid rgba(4, 17, 24, .3);
	border-top-color: #041118;
	border-radius: 50%;
	animation: datc-spin .7s linear infinite;
}

.form-button.is-loading .form-button__spinner {
	display: inline-block;
}

@keyframes datc-spin {
	to { transform: rotate(360deg); }
}

.form__note {
	margin: .9rem 0 0;
	font-size: .76rem;
	line-height: 1.5;
	color: #7d919a;
}

.form-feedback {
	display: none;
	margin-top: 1rem;
	padding: 1rem 1.1rem;
	border-left: 3px solid #c4462f;
	background: #fdf1ef;
	color: #7a2a1c;
	font-size: .88rem;
}

.form-feedback.is-visible {
	display: block;
}

.form-feedback.is-success {
	border-left-color: #28a65e;
	background: #eafff2;
	color: #155d32;
}

.form-feedback__text {
	margin: 0;
}

.form-errors {
	margin: .6rem 0 0;
	padding-left: 1.1rem;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
	border-color: #d0503a;
	box-shadow: 0 0 0 3px rgba(208, 80, 58, .18);
}

/* =========================================================================
   11. Contact page
   ========================================================================= */

.contact-layout {
	display: grid;
	grid-template-columns: 1.25fr .75fr;
	gap: 3.5rem;
	align-items: start;
}

.contact-layout__form .form {
	margin-top: 2rem;
}

.contact-details {
	position: sticky;
	top: 120px;
	padding: 2rem;
	background: var(--ink);
	color: #cfe0e6;
	border: 1px solid rgba(85, 229, 255, .2);
}

.contact-details__title {
	margin: .7rem 0 1.6rem;
	font-size: 1.5rem;
	color: #fff;
	letter-spacing: -.02em;
}

.contact-details__list {
	margin: 0;
}

.contact-details__row {
	padding: .9rem 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.contact-details__row dt {
	font-size: .68rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #7f98a3;
}

.contact-details__row dd {
	margin: .3rem 0 0;
	color: #fff;
	word-break: break-word;
}

.contact-details__row a:hover {
	color: var(--cyan);
}

.contact-details__social {
	margin-top: 1.6rem;
	padding-top: 1.2rem;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.contact-details__label {
	margin: 0 0 .7rem;
	font-size: .68rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #7f98a3;
}

.contact-details .social-link {
	border-color: rgba(255, 255, 255, .16);
	color: #b8c9d0;
}

/* =========================================================================
   12. Footer
   ========================================================================= */

.site-footer {
	display: block;
	width: 100%;
	max-width: calc(var(--max) + 48px);
	margin: 0 auto;
	padding: 3rem 24px 2.5rem;
	color: #91a8b2;
	font-size: .82rem;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.1fr;
	gap: 2.5rem;
	padding-bottom: 2.2rem;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.site-footer__tagline {
	margin: .9rem 0 0;
	max-width: 30ch;
	color: #7f98a3;
}

.site-footer .footer-list,
.site-footer .legal-list {
	flex-direction: column;
	align-items: flex-start;
	gap: .6rem;
}

.site-footer a:hover {
	color: var(--cyan);
}

.site-footer__meta {
	display: grid;
	justify-items: end;
	gap: .8rem;
	text-align: right;
}

.site-footer__email {
	color: #fff;
	font-weight: 700;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.6rem;
}

.site-footer .legal-list {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 1.2rem;
	font-size: .76rem;
}

.site-footer__copy {
	margin: 0;
	font-size: .76rem;
	color: #6d868f;
}

.site-footer__note {
	margin: 1.2rem 0 0;
	padding-top: 1.2rem;
	border-top: 1px solid rgba(255, 255, 255, .07);
	font-size: .72rem;
	line-height: 1.6;
	color: #5f7880;
}

.closing--compact {
	padding-top: 72px;
	padding-bottom: 72px;
}

/* =========================================================================
   13. Empty states, 404, comments
   ========================================================================= */

.empty-state {
	padding: 3rem 0;
	text-align: center;
	color: #3d545d;
}

.empty-state__title {
	margin: .8rem 0;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	letter-spacing: -.03em;
	color: var(--ink);
}

.empty-state__text {
	max-width: 46ch;
	margin: 0 auto 2rem;
	color: #55696f;
}

.empty-state__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem;
	justify-content: center;
	align-items: center;
}

.empty-state__actions .search-form {
	max-width: 340px;
}

.error-links {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	justify-content: center;
	margin: 2.4rem 0 0;
	padding: 0;
	list-style: none;
}

.error-links a {
	display: inline-block;
	padding: .5rem .9rem;
	border: 1px solid #cfdbdd;
	background: #fff;
	color: #35505a;
	font-size: .82rem;
}

.error-links a:hover {
	border-color: var(--cyan);
	background: var(--cyan);
	color: var(--ink);
}

.search-form {
	position: relative;
	display: flex;
	align-items: stretch;
	width: 100%;
}

.search-form__field {
	width: 100%;
	min-height: 46px;
	padding: .7rem 3rem .7rem .9rem;
	border: 1px solid rgba(255, 255, 255, .22);
	background: rgba(8, 34, 46, .7);
	color: #fff;
	font-size: .9rem;
}

.search-form__field::placeholder {
	color: rgba(200, 215, 222, .6);
}

.search-form__field:focus {
	outline: none;
	border-color: var(--cyan);
}

.search-form__submit {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	background: transparent;
	border: 0;
	color: var(--cyan);
	cursor: pointer;
}

.wrap--content .search-form__field,
.empty-state .search-form__field {
	border-color: #cfdbdd;
	background: #fff;
	color: var(--ink);
}

.comments-area {
	margin-top: 4rem;
	padding-top: 2.5rem;
	border-top: 1px solid #dbe5e7;
}

.comments-title {
	font-size: 1.4rem;
	color: var(--ink);
	letter-spacing: -.02em;
}

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

.comment-list .children {
	list-style: none;
	margin-left: 1.6rem;
	padding-left: 1.2rem;
	border-left: 2px solid #dbe5e7;
}

.comment-body {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 1rem;
	padding: 1.4rem 0;
	border-bottom: 1px solid #e6eded;
}

.comment-author img {
	border-radius: 50%;
	display: block;
}

.comment-meta {
	margin-bottom: .4rem;
	font-size: .84rem;
}

.comment-metadata {
	color: #64818b;
	font-size: .76rem;
}

.comment-form {
	margin-top: 2rem;
	padding: 1.8rem;
	background: var(--paper);
	border: 1px solid #dbe5e7;
}

.comment-form label {
	display: block;
	margin-bottom: .4rem;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #52666e;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: .7rem;
	border: 1px solid #cbd9dc;
	background: #fff;
	font-size: .92rem;
}

.comment-form .submit {
	display: inline-flex;
	padding: .9rem 1.4rem;
	background: var(--ink);
	color: #fff;
	border: 0;
	border-radius: 2px;
	font-weight: 700;
	font-size: .85rem;
	cursor: pointer;
}

.comment-form .submit:hover {
	background: #0e2936;
}

.comment-notes,
.no-comments {
	font-size: .82rem;
	color: #64818b;
}

/* =========================================================================
   14. Responsive
   ========================================================================= */

@media (max-width: 980px) {
	.site-header__inner {
		height: 76px;
	}

	.nav-toggle {
		display: block;
	}

	.site-header .site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		margin: 0;
		padding: 0 18px 18px;
		background: rgba(5, 18, 26, .98);
		border-bottom: 1px solid rgba(85, 229, 255, .18);
		display: none;
	}

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

	.site-header .site-nav .nav-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding-top: .6rem;
	}

	.site-header .site-nav .nav-link {
		display: block;
		padding: .75rem 0;
		font-size: .95rem;
		border-bottom: 1px solid rgba(255, 255, 255, .07);
	}

	.site-header .site-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: transparent;
		border: 0;
		box-shadow: none;
		padding-left: .8rem;
	}

	.site-header__actions {
		gap: .7rem;
	}

	.site-header__actions .search-form {
		display: none;
	}

	.home .hero {
		padding-top: 132px;
	}

	.single__header,
	.page-hero {
		padding-top: 128px;
	}

	.contact-layout {
		grid-template-columns: 1fr;
	}

	.contact-details {
		position: static;
	}

	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__meta {
		grid-column: 1 / -1;
		justify-items: start;
		text-align: left;
	}

	.alignwide {
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
	}
}

@media (max-width: 680px) {
	.site-header__inner {
		padding: 0 18px;
	}

	.header-cta {
		display: none;
	}

	.wrap {
		padding: 0 18px;
	}

	.wrap--content {
		padding-top: 48px;
		padding-bottom: 64px;
	}

	.single__header,
	.page-hero {
		padding-top: 118px;
		padding-bottom: 52px;
	}

	.form {
		padding: 1.2rem;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.site-footer {
		padding: 2.5rem 18px 2rem;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.card-grid {
		grid-template-columns: 1fr;
	}

	.author-box {
		grid-template-columns: 1fr;
	}

	.post-nav__link--next {
		text-align: left;
	}

	.comment-body {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.closing,
	.related,
	.single__share,
	.comments-area {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}
}

/* probe */

