/*
Theme Name: Fiverr Websites
Theme URI: https://fiverrwebsites.com/
Description: Hand-coded theme for fiverrwebsites.com. A domain sale page with a directory of the owner's other sites.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fiverrwebsites
*/

/* ---------------------------------------------------------------
   Tokens
   --------------------------------------------------------------- */

:root {
	--paper:        #FBFAF7;
	--paper-2:      #FFFFFF;
	--paper-3:      #F3F1EB;
	--ink:          #12161C;
	--ink-2:        #39424E;
	--muted:        #6B7480;
	--line:         rgba(18, 22, 28, .10);
	--line-2:       rgba(18, 22, 28, .18);
	--accent:       #14624A;
	--accent-700:   #0E4B39;
	--accent-tint:  #E7F1ED;
	--dark:         #101519;
	--dark-2:       #1A2127;
	--radius:       14px;
	--radius-sm:    9px;
	--radius-pill:  999px;
	--max:          1160px;
	--shadow:       0 1px 2px rgba(16, 21, 25, .04), 0 12px 28px -20px rgba(16, 21, 25, .32);
	--shadow-lift:  0 2px 4px rgba(16, 21, 25, .05), 0 26px 48px -26px rgba(16, 21, 25, .38);
	--font:         'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink-2);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1, h2, h3, h4 {
	margin: 0;
	color: var(--ink);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.022em;
}

h1 { font-size: clamp(2.15rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -.014em; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-700); }

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

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

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
	border-radius: 4px;
}

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

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

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	padding: 12px 20px;
	background: var(--ink);
	color: #fff;
	border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------------------------------------------------------------
   Shared pieces
   --------------------------------------------------------------- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: .74rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .13em;
	color: var(--accent);
}
.eyebrow::before {
	content: "";
	width: 22px; height: 2px;
	background: var(--accent);
	border-radius: 2px;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 7px 15px 7px 11px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-pill);
	background: var(--paper-2);
	font-size: .82rem;
	font-weight: 700;
	color: var(--ink);
	box-shadow: var(--shadow);
}
.pill .dot {
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-tint);
}
.pill .sep { color: var(--line-2); font-weight: 500; }
.pill .soft { color: var(--muted); font-weight: 600; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 26px;
	border: 1px solid transparent;
	border-radius: var(--radius-pill);
	font-size: .95rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease, border-color .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -14px rgba(20, 98, 74, .9); }
.btn-primary:hover { background: var(--accent-700); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--paper-2); color: var(--ink); border-color: var(--ink); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .32); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .6); }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding: 84px 0; }
.section-tight { padding: 60px 0; }
.section-head { max-width: 660px; margin-bottom: 40px; }
.section-head h2 { margin: 14px 0 12px; }
.section-head p { color: var(--muted); font-size: 1.03rem; margin: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------------------------------------------------------------
   Header
   --------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(251, 250, 247, .88);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
	display: grid;
	place-items: center;
	width: 36px; height: 36px;
	border-radius: 10px;
	background: var(--accent);
	color: #fff;
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: -.02em;
}
.brand-name { font-size: 1.03rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.brand-sub { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }

.site-nav ul { display: flex; align-items: center; gap: 30px; }
.site-nav a {
	position: relative;
	font-size: .93rem;
	font-weight: 700;
	color: var(--ink-2);
}
.site-nav a:hover { color: var(--ink); }
.site-nav .current-page > a,
.site-nav .current_page_item > a { color: var(--accent); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 11px 20px; font-size: .88rem; }

.nav-toggle {
	display: none;
	width: 42px; height: 42px;
	padding: 0;
	border: 1px solid var(--line-2);
	border-radius: 10px;
	background: var(--paper-2);
	cursor: pointer;
}
.nav-toggle span {
	display: block;
	width: 17px; height: 2px;
	margin: 3px auto;
	background: var(--ink);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */

.hero {
	position: relative;
	padding: 92px 0 76px;
	text-align: center;
	background:
		radial-gradient(58% 70% at 50% -12%, rgba(20, 98, 74, .09), transparent 64%),
		linear-gradient(180deg, #fff 0%, var(--paper) 100%);
	border-bottom: 1px solid var(--line);
}
.hero h1 { margin: 22px auto 20px; max-width: 15ch; }
.hero .lede {
	max-width: 62ch;
	margin: 0 auto 30px;
	font-size: 1.1rem;
	color: var(--ink-2);
}
.hero .btns { justify-content: center; }
.hero-note { margin-top: 20px; font-size: .84rem; color: var(--muted); }

.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	margin-top: 56px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.stat { padding: 24px 18px; background: var(--paper-2); text-align: center; }
.stat b {
	display: block;
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--ink);
	letter-spacing: -.03em;
	line-height: 1.1;
}
.stat span { display: block; margin-top: 5px; font-size: .8rem; font-weight: 600; color: var(--muted); }

/* ---------------------------------------------------------------
   Services
   --------------------------------------------------------------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.card {
	padding: 26px;
	background: var(--paper-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.service h3 { margin-bottom: 9px; }
.service p { font-size: .95rem; color: var(--muted); }
.service-num {
	display: inline-block;
	margin-bottom: 14px;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .13em;
	color: var(--accent);
}

/* ---------------------------------------------------------------
   Site cards
   --------------------------------------------------------------- */

.site-card {
	display: flex;
	flex-direction: column;
	padding: 26px;
	background: var(--paper-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.site-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-2); }

.site-card-top { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.site-mark {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 44px; height: 44px;
	border-radius: 11px;
	background: var(--accent-tint);
	color: var(--accent-700);
	font-size: .86rem;
	font-weight: 800;
	letter-spacing: -.01em;
}
.site-card-top h3 { font-size: 1.1rem; }
.site-kind { display: block; font-size: .76rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }

.site-card p { font-size: .95rem; color: var(--muted); }

.site-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	padding-top: 18px;
	font-size: .89rem;
	font-weight: 800;
	color: var(--accent);
	word-break: break-word;
}
.site-link svg { flex: 0 0 auto; transition: transform .16s ease; }
.site-card:hover .site-link svg { transform: translate(2px, -2px); }

/* ---------------------------------------------------------------
   Portfolio entries
   --------------------------------------------------------------- */

.entry-group { margin-bottom: 64px; }
.entry-group:last-child { margin-bottom: 0; }
.entry-group > h2 { margin-bottom: 10px; }
.entry-group > .group-intro { max-width: 62ch; margin-bottom: 34px; color: var(--muted); }

.entry {
	display: grid;
	grid-template-columns: 210px 1fr;
	gap: 34px;
	padding: 34px 0;
	border-top: 1px solid var(--line);
}
.entry:last-child { border-bottom: 1px solid var(--line); }

.entry-aside .site-mark { width: 52px; height: 52px; font-size: .95rem; border-radius: 13px; margin-bottom: 14px; }
.entry-aside h3 { font-size: 1.22rem; margin-bottom: 4px; }
.entry-aside .site-kind { margin-bottom: 0; }

.entry-body > p { color: var(--ink-2); }

.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.facts li {
	padding: 6px 13px;
	background: var(--paper-3);
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	font-size: .8rem;
	font-weight: 700;
	color: var(--ink-2);
}

.visit {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 22px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-pill);
	background: var(--paper-2);
	font-size: .91rem;
	font-weight: 800;
	color: var(--ink);
	transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.visit:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.visit svg { transition: transform .16s ease; }
.visit:hover svg { transform: translate(2px, -2px); }

/* ---------------------------------------------------------------
   Dark band
   --------------------------------------------------------------- */

.band {
	padding: 76px 0;
	background:
		radial-gradient(48% 70% at 82% 10%, rgba(20, 98, 74, .34), transparent 62%),
		var(--dark);
	color: rgba(255, 255, 255, .74);
	text-align: center;
}
.band h2 { color: #fff; margin-bottom: 14px; }
.band p { max-width: 58ch; margin: 0 auto 28px; }
.band .btns { justify-content: center; }
.band .eyebrow { color: #7FD3B6; }
.band .eyebrow::before { background: #7FD3B6; }

/* ---------------------------------------------------------------
   Page header + prose
   --------------------------------------------------------------- */

.page-head {
	padding: 66px 0 52px;
	background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
	border-bottom: 1px solid var(--line);
}
.page-head h1 { margin: 18px 0 16px; max-width: 18ch; }
.page-head .lede { max-width: 64ch; font-size: 1.06rem; color: var(--ink-2); margin: 0; }

.prose h2 { margin: 2.2rem 0 .9rem; }
.prose h3 { margin: 1.8rem 0 .7rem; }
.prose ul { margin: 0 0 1.2rem; padding-left: 1.15rem; list-style: disc; }
.prose li { margin-bottom: .45rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------
   Contact
   --------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; }

.form-card { padding: 32px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: .85rem; font-weight: 700; color: var(--ink); }
.field .req { color: var(--accent); }

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	background: var(--paper);
	color: var(--ink);
	font-family: inherit;
	font-size: .95rem;
	line-height: 1.5;
	transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	background: var(--paper-2);
	border-color: var(--accent);
	box-shadow: 0 0 0 4px var(--accent-tint);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-note { margin-top: 14px; font-size: .82rem; color: var(--muted); }

.notice {
	padding: 15px 18px;
	margin-bottom: 24px;
	border-radius: var(--radius-sm);
	font-size: .92rem;
	font-weight: 600;
}
.notice-ok { background: var(--accent-tint); border: 1px solid rgba(20, 98, 74, .28); color: var(--accent-700); }
.notice-bad { background: #FDEEEC; border: 1px solid rgba(180, 45, 30, .26); color: #98301F; }

.contact-side .card { margin-bottom: 18px; }
.contact-side .card:last-child { margin-bottom: 0; }
.contact-side h3 { margin-bottom: 10px; font-size: 1.05rem; }
.contact-side p { font-size: .93rem; color: var(--muted); }
.contact-side .big-link { font-size: 1.02rem; font-weight: 800; word-break: break-word; }

.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; overflow: hidden; }

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */

.site-footer { padding: 62px 0 30px; background: var(--dark); color: rgba(255, 255, 255, .6); font-size: .9rem; }
.site-footer a { color: rgba(255, 255, 255, .74); }
.site-footer a:hover { color: #fff; }

.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand:hover { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, .5); }
.footer-brand p { max-width: 42ch; }

.footer-col h4 { margin-bottom: 14px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; color: rgba(255, 255, 255, .45); }
.footer-col li { margin-bottom: 9px; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: .82rem; color: rgba(255, 255, 255, .45); }
.footer-bottom p { margin: 0; }
.disclaimer { max-width: 62ch; }

/* ---------------------------------------------------------------
   404 / fallback
   --------------------------------------------------------------- */

.center-block { padding: 110px 0; text-align: center; }
.center-block h1 { margin-bottom: 16px; }
.center-block p { max-width: 52ch; margin: 0 auto 28px; color: var(--muted); }
.center-block .btns { justify-content: center; }

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */

@media (max-width: 960px) {
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.contact-grid { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.entry { grid-template-columns: 1fr; gap: 20px; }
	.entry-aside { display: flex; align-items: center; gap: 14px; }
	.entry-aside .site-mark { margin-bottom: 0; }
}

@media (max-width: 780px) {
	body { font-size: 16px; }

	.nav-toggle { display: block; }

	.site-nav {
		position: absolute;
		top: 72px; left: 0; right: 0;
		display: none;
		padding: 10px 24px 20px;
		background: var(--paper-2);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-lift);
	}
	.nav-open .site-nav { display: block; }
	.site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav li { border-bottom: 1px solid var(--line); }
	.site-nav li:last-child { border-bottom: 0; }
	.site-nav a { display: block; padding: 14px 0; font-size: 1rem; }

	.header-cta .btn { display: none; }

	.hero { padding: 62px 0 56px; }
	.hero h1 { max-width: 100%; }
	.section { padding: 60px 0; }
	.band { padding: 60px 0; }

	.stats { grid-template-columns: repeat(2, 1fr); margin-top: 42px; }

	.grid-3, .grid-2 { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; gap: 0; }
	.form-card { padding: 24px; }

	.footer-top { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
	}
}
