/*!
Theme Name: mickydweb
Theme URI: http://underscores.me/
Author: Mickydweb Design
Author URI: http://www.mickydweb.com
Description: Website specifically for Mickydweb Design
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mickydweb-design
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

mickydweb is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */


/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */


/* Elements
--------------------------------------------- */


/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */


/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


.bypostauthor {
	display: block;
}



/* Media
--------------------------------------------- */
.wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */



/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Mickydweb Design — dark theme aligned with brand */
:root {
  --bg-deep: #060608;
  --bg-elevated: #0e0e12;
  --bg-card: #12121a;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text: #e8e9ed;
  --text-muted: #989aa4;
  --cyan: #00b4ff;
  --cyan-dim: rgba(0, 180, 255, 0.15);
  --purple: #a855f7;
  --purple-dim: rgba(168, 85, 247, 0.12);
  --accent-warm: #f97316;
  --accent-red: #ef4444;
  --radius-lg: 16px;
  --radius-md: 12px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --shadow-glow: 0 0 80px rgba(0, 180, 255, 0.12);
  --brand-logo-h: clamp(120px, 28vw, 230px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15em 0.4em;
  border-radius: 6px;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  background: rgba(6, 6, 8, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  min-height: 4rem;
  padding: 0.65rem 0;
}

.brand {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  line-height: 0;
  transform: translateY(calc(var(--brand-logo-h) * 0.46));
}

.brand-logo {
  width: auto;
  height: var(--brand-logo-h);
  max-height: none;
  max-width: min(580px, calc(100vw - 15rem));
  display: block;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 5;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.site-nav {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav-link-icon {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link-icon:hover,
.nav-link-icon.is-current {
  color: var(--text);
  text-decoration: none;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #020203;
  background: var(--cyan);
  border-radius: 999px;
}

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

.nav-list a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-list a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

.nav-list a[aria-current="page"]:hover {
  color: var(--cyan);
}

.nav-list a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-list > li.nav-cta {
  flex-shrink: 0;
}

/* Menu Contact button (link gets btn classes via theme filter) */
.site-nav .nav-list a.btn-primary.nav-cta,
.site-nav .nav-list > li.nav-cta > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  color: #000;
  background: linear-gradient(135deg, var(--cyan), #22d3ee);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 4px 24px var(--cyan-dim);
  text-decoration: none;
}

.site-nav .nav-list a.btn-primary.nav-cta:hover,
.site-nav .nav-list > li.nav-cta > a:hover {
  color: #000;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 8px 32px rgba(0, 180, 255, 0.35);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  color: #020203;
  background: linear-gradient(135deg, var(--cyan), #22d3ee);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 4px 24px var(--cyan-dim);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 8px 32px rgba(0, 180, 255, 0.35);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  border-color: rgba(168, 85, 247, 0.45);
  background: var(--purple-dim);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding-top: max(3rem, calc(var(--brand-logo-h) * 0.52 + 2rem));
  padding-bottom: clamp(4rem, 12vw, 7rem);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 140vw);
  height: min(500px, 80vw);
  background: radial-gradient(ellipse at center, rgba(0, 180, 255, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 70% 40%, rgba(168, 85, 247, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

/* Services */
.services {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-elevated) 50%, var(--bg-deep) 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: rgba(0, 180, 255, 0.25);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.service-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--cyan);
  background: var(--cyan-dim);
  border-radius: 10px;
}

.service-card.service-card-highlight,
li.service-card-highlight {
  border-color: rgba(249, 115, 22, 0.25);
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(249, 115, 22, 0.06) 100%);
}

.service-card.service-card-highlight .service-icon,
li.service-card-highlight .service-icon {
  color: var(--accent-warm);
  background: rgba(249, 115, 22, 0.15);
}

.service-card.service-card-highlight:hover,
li.service-card-highlight:hover {
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 0 60px rgba(249, 115, 22, 0.08);
}

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.process-steps li {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.process-steps h3 {
  margin: 0.5rem 0 0.5rem;
  font-size: 1.05rem;
}

.process-steps p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--purple);
}

/* Contact */
.contact {
  border-top: 1px solid var(--border-subtle);
  padding-bottom: max(clamp(3rem, 8vw, 5rem), calc(var(--brand-logo-h) * 0.52 + 2.5rem));
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.contact-copy p {
  margin: 0;
  color: var(--text-muted);
}

.contact-panel {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(160deg, var(--bg-card), rgba(0, 180, 255, 0.04));
}

.contact-email {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-email a {
  color: var(--text);
  word-break: break-all;
}

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

.contact-note a {
  color: var(--cyan);
  font-weight: 500;
}

.contact-note a:hover {
  color: var(--text);
}

/* Pricing page */
.page-pricing {
  position: relative;
  overflow-x: clip;
  padding-top: max(2rem, calc(var(--brand-logo-h) * 0.35));
}

.pricing-page-section {
  position: relative;
  z-index: 1;
}

.pricing-page-inner {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.pricing-page-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pricing-page-lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 960px) {
  .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 560px) and (max-width: 959px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pricing-card:hover {
  border-color: rgba(0, 180, 255, 0.25);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.pricing-card-featured {
  border-color: rgba(249, 115, 22, 0.35);
  background: linear-gradient(165deg, var(--bg-card) 0%, rgba(249, 115, 22, 0.08) 100%);
  box-shadow: 0 0 60px rgba(249, 115, 22, 0.1);
}

.pricing-badge {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

.pricing-card-name {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.pricing-card-price {
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.pricing-price {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pricing-period {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-price-quote {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--cyan);
}

.pricing-card-desc {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-features {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  flex-grow: 1;
}

.pricing-features li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.pricing-card-featured .pricing-features li::before {
  color: var(--accent-warm);
}

.pricing-card-cta {
  margin-top: auto;
}

.pricing-footnote {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 40rem;
  margin-inline: auto;
}

.pricing-page-head {
  margin-bottom: 2.5rem;
}

.pricing-empty-notice {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
}

/* Portfolio page */
.page-portfolio {
  position: relative;
  overflow-x: clip;
  padding-top: max(2rem, calc(var(--brand-logo-h) * 0.35));
}

.portfolio-page-section {
  position: relative;
  z-index: 1;
}

.portfolio-page-inner {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.portfolio-page-head {
  margin-bottom: 2.5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.portfolio-card {
  min-width: 0;
}

.portfolio-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.portfolio-card-link:hover {
  border-color: rgba(0, 180, 255, 0.35);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.portfolio-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

.portfolio-card-image-placeholder {
  min-height: 200px;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.08), rgba(168, 85, 247, 0.08));
}

.portfolio-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem 1.35rem;
}

.portfolio-card-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.portfolio-card-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.portfolio-card-cta {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
}

.portfolio-card-link:hover .portfolio-card-cta {
  text-decoration: underline;
}

.portfolio-empty-notice {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
}

/* 404 + search utility pages */
.page-utility {
  position: relative;
  overflow-x: clip;
  padding-top: max(2rem, calc(var(--brand-logo-h) * 0.35));
}

.utility-page-section {
  position: relative;
  z-index: 1;
}

.utility-page-inner {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.utility-page-head {
  margin-bottom: 2rem;
}

.utility-page-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.utility-page-lead {
  margin: 0;
  max-width: 42rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.utility-page-actions,
.utility-search-bar {
  margin-bottom: 2rem;
}

.utility-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
  max-width: 36rem;
}

.utility-search-field {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.utility-search-field:focus {
  outline: none;
  border-color: rgba(0, 180, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.15);
}

.utility-search-submit {
  flex-shrink: 0;
}

.utility-page-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.search-results {
  display: grid;
  gap: 1rem;
}

.search-result-card {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-result-card:hover {
  border-color: rgba(0, 180, 255, 0.25);
  box-shadow: var(--shadow-glow);
}

.search-result-title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.search-result-title a {
  color: var(--text);
  text-decoration: none;
}

.search-result-title a:hover {
  color: var(--cyan);
}

.search-result-meta {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.search-result-excerpt {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.search-result-excerpt p {
  margin: 0;
}

.search-result-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
}

.search-result-link:hover {
  text-decoration: underline;
}

.utility-pagination {
  margin-top: 2rem;
}

.utility-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.utility-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.utility-pagination .page-numbers:hover,
.utility-pagination .page-numbers.current {
  color: var(--text);
  border-color: rgba(0, 180, 255, 0.35);
  background: rgba(0, 180, 255, 0.08);
}

.utility-empty {
  margin-top: 1rem;
}

.utility-empty p {
  color: var(--text-muted);
}

/* Contact page + form */
.page-contact {
  position: relative;
  overflow-x: clip;
  padding-top: max(2rem, calc(var(--brand-logo-h) * 0.35));
}

.contact-hero-glow {
  position: absolute;
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 140vw);
  height: min(420px, 70vw);
  background: radial-gradient(ellipse at center, rgba(0, 180, 255, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 75% 35%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.contact-page-section {
  position: relative;
  z-index: 1;
}

.contact-page-inner {
  width: min(1140px, 100% - 2.5rem);
}

.contact-page-head {
  margin-bottom: 2rem;
}

.contact-page-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.contact-page-lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.contact-page-after {
  margin: 1.5rem 0 0;
}

.contact-form {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(165deg, var(--bg-card), rgba(0, 180, 255, 0.05));
  box-shadow: var(--shadow-glow);
}

/* reCAPTCHA v3 (Contact Form 7) */
.page-contact .wpcf7 .wpcf7-recaptcha {
  margin: 0;
}

.page-contact .form-recaptcha-notice {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.page-contact .form-recaptcha-notice a {
  color: var(--cyan);
  text-decoration: underline;
}

.page-contact .form-recaptcha-notice a:hover {
  color: var(--text);
}

/* Hide default badge when disclosure text is shown (allowed by Google policy). */
.page-contact .grecaptcha-badge {
  visibility: hidden;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.form-hint {
  font-weight: 400;
  color: var(--text-muted);
}

.req {
  color: var(--accent-warm);
  font-weight: 600;
}

.form-input,
.form-textarea,
.form-select {
  font: inherit;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}

.form-textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23989aa4' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-input.is-invalid,
.form-textarea.is-invalid {
  border-color: rgba(239, 68, 68, 0.65);
}

.field-error {
  margin: 0;
  font-size: 0.85rem;
  color: #fca5a5;
}

.form-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.form-footnote {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-footnote a {
  font-weight: 500;
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.form-alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.form-alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.form-alert-info {
  background: rgba(0, 180, 255, 0.08);
  border: 1px solid rgba(0, 180, 255, 0.35);
  color: #bae6fd;
}

.contact-form-wrap {
  margin-top: 0;
}

/* Contact Form 7 on contact page */
.page-contact .wpcf7-form.contact-form {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(165deg, var(--bg-card), rgba(0, 180, 255, 0.05));
  box-shadow: var(--shadow-glow);
}

.page-contact .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
}

.page-contact .wpcf7-form .wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-contact .wpcf7-form textarea.wpcf7-form-control {
  resize: vertical;
  min-height: 8rem;
}

.page-contact .wpcf7-form select.wpcf7-form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23989aa4' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.page-contact .wpcf7-form .wpcf7-form-control:focus {
  outline: none;
  border-color: rgba(0, 180, 255, 0.55);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}

.page-contact .wpcf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  color: #000;
  background: linear-gradient(135deg, var(--cyan), #22d3ee);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 4px 24px var(--cyan-dim);
}

.page-contact .wpcf7-form .wpcf7-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 8px 32px rgba(0, 180, 255, 0.35);
}

.page-contact .wpcf7-response-output {
  margin: 1.25rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}

.page-contact .wpcf7 form.invalid .wpcf7-response-output,
.page-contact .wpcf7 form.unaccepted .wpcf7-response-output,
.page-contact .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
}

.page-contact .wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}

.page-contact .wpcf7-not-valid-tip {
  font-size: 0.85rem;
  color: #fca5a5;
  margin-top: 0.35rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 40;
  overflow: visible;
  padding: 0 0 0.25rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: calc(var(--brand-logo-h) * 0.52 + 0.75rem);
  padding-bottom: 0.25rem;
}

.footer-brand {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 2;
  line-height: 0;
  transform: translate(-50%, calc(var(--brand-logo-h) * -0.46));
}

.footer-brand:hover {
  text-decoration: none;
}

.footer-brand:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 6px;
  border-radius: 12px;
}

.footer-logo {
  width: auto;
  height: var(--brand-logo-h);
  max-height: none;
  max-width: min(580px, calc(100vw - 2.5rem));
  display: block;
  opacity: 0.95;
}

.footer-tag {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Mobile nav */
@media (max-width: 768px) {
  :root {
    --brand-logo-h: clamp(96px, 36vw, 150px);
  }

  .brand-logo {
    max-width: calc(100vw - 5.5rem);
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 130;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 4.25rem;
    z-index: 120;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1.5rem;
    background: rgba(6, 6, 8, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-cta {
    text-align: center;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

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

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

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

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

.pricing-grid > li {
  min-width: 0;
}

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

  .btn-primary:hover,
  .service-card:hover {
    transform: none;
  }
}
