/*
Theme Name: Atelier Studio
Theme URI: https://atelierstudiotheme.com/atelier-studio/
Author: Atelier Studio
Author URI: https://github.com/harshjadav003
Description: An image-led studio theme with flexible page layouts and Elementor support.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.8
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: atelier-studio
Tags: blog, photography, portfolio, custom-logo, custom-menu, featured-images, full-width-template
Copyright 2026 Atelier Studio.
*/

:root {
	--color-ink: #202722;
	--color-paper: #f5f4ef;
	--color-white: #fff;
	--color-green: #263d33;
	--color-green-light: #dce4dd;
	--color-clay: #ae6146;
	--color-muted: #727a73;
	--font-body: "DM Sans", sans-serif;
	--font-display: "Cormorant Garamond", Georgia, serif;
	--content-width: 1200px;
	--gutter: clamp(22px, 5vw, 76px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--color-ink);
	background: var(--color-paper);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
}

body,
button,
input,
select,
textarea {
	font-family: var(--font-body);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

a:hover {
	color: var(--color-clay);
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--color-clay);
	outline-offset: 4px;
}

.skip-link {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1000;
	padding: 10px 14px;
	transform: translateY(-160%);
	color: var(--color-white);
	background: var(--color-ink);
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: relative;
	z-index: 10;
	color: var(--color-white);
	background: var(--color-green);
}

.site-header-custom-image,
.site-header-custom-image .wp-custom-header,
.site-header-custom-image .wp-custom-header img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.site-header-custom-image {
	overflow: hidden;
	pointer-events: none;
}

.site-header-custom-image .wp-custom-header img {
	object-fit: cover;
}

.site-header-custom-image::after {
	position: absolute;
	inset: 0;
	background: rgba(38, 61, 51, .78);
	content: "";
}

.front-page .site-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background: transparent;
}

.header-inner {
	position: relative;
	z-index: 1;
	display: flex;
	min-height: 92px;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	width: min(100%, 1500px);
	margin: 0 auto;
	padding: 18px var(--gutter);
}

.site-branding {
	flex: 0 0 auto;
}

.brand-lockup {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	gap: 12px;
}

.brand-mark-link {
	display: flex;
	align-items: center;
	color: inherit;
}

.brand-text {
	display: block;
	color: inherit;
	text-decoration: none;
}

.brand-text:hover {
	color: inherit;
}

.brand-mark {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
}

.site-title {
	display: block;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 2px;
	line-height: 1.2;
	text-transform: uppercase;
}

.brand-lockup .custom-logo-link {
	display: flex;
	align-items: center;
}

.brand-lockup .custom-logo {
	max-width: 190px;
	max-height: 46px;
	object-fit: contain;
	object-position: left center;
}

.custom-logo-link {
	display: block;
}

.custom-logo {
	width: auto;
	max-height: 54px;
}

.site-description {
	display: block;
	margin: 6px 0 0;
	color: inherit;
	font-size: 11px;
	letter-spacing: 1px;
	opacity: .72;
	text-transform: uppercase;
}

.primary-navigation {
	display: flex;
	align-items: center;
}

.primary-navigation ul {
	display: flex;
	align-items: center;
	gap: clamp(18px, 3vw, 44px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-navigation a {
	color: var(--color-white);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1px;
	text-decoration: none;
	text-transform: uppercase;
}

.primary-navigation a:hover {
	color: #e6b39f;
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 0;
	color: var(--color-white);
	background: transparent;
	cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
	display: block;
	width: 18px;
	height: 1px;
	background: currentColor;
}

.menu-toggle span {
	position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
	position: absolute;
	left: 0;
	content: "";
}

.menu-toggle span::before {
	top: -6px;
}

.menu-toggle span::after {
	top: 6px;
}

.hero {
	position: relative;
	display: flex;
	min-height: min(860px, 88svh);
	align-items: flex-end;
	overflow: hidden;
	color: var(--color-white);
	background: #536057;
}

.hero-image,
.hero-shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero-image {
	object-fit: cover;
	object-position: center 54%;
}

.hero-shade {
	background: rgba(18, 28, 22, .38);
}

.hero-content {
	position: relative;
	z-index: 1;
	width: min(100%, 1500px);
	margin: 0 auto;
	padding: 170px var(--gutter) clamp(76px, 11vh, 132px);
	animation: rise-in .8s ease-out both;
}

.eyebrow {
	display: block;
	margin: 0 0 20px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2px;
	line-height: 1.5;
	text-transform: uppercase;
}

.hero h1,
.section-heading,
.page-title,
.entry-title {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: 0;
}

.hero h1 {
	max-width: 850px;
	margin: 0;
	font-size: clamp(58px, 8vw, 112px);
	line-height: .94;
}

.hero-copy {
	max-width: 440px;
	margin: 26px 0 0;
	color: rgba(255, 255, 255, .9);
	font-size: 15px;
}

.text-link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
	color: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-decoration: none;
	text-transform: uppercase;
}

.text-link::after {
	width: 36px;
	height: 1px;
	background: currentColor;
	content: "";
	transition: width .2s ease;
}

.text-link:hover::after {
	width: 52px;
}

.intro-section {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: clamp(40px, 10vw, 150px);
	max-width: var(--content-width);
	margin: 0 auto;
	padding: clamp(88px, 12vw, 164px) var(--gutter);
}

.intro-label {
	margin: 10px 0 0;
	color: var(--color-clay);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.8px;
	text-transform: uppercase;
}

.intro-copy .section-heading {
	max-width: 710px;
	margin: 0;
	font-size: clamp(40px, 5.5vw, 72px);
	line-height: 1.02;
}

.intro-copy p:not(.section-heading) {
	max-width: 580px;
	margin: 28px 0 0;
	color: var(--color-muted);
}

.intro-copy .text-link {
	color: var(--color-green);
}

.work-section {
	padding: clamp(76px, 10vw, 130px) var(--gutter);
	background: var(--color-green-light);
}

.section-inner {
	width: min(100%, var(--content-width));
	margin: 0 auto;
}

.section-topline {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 42px;
}

.section-topline .eyebrow {
	margin-bottom: 10px;
	color: var(--color-clay);
}

.section-topline .section-heading {
	margin: 0;
	font-size: clamp(42px, 6vw, 74px);
	line-height: 1;
}

.section-topline .text-link {
	margin: 0 0 8px;
	color: var(--color-green);
}

.project-grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr 1fr;
	align-items: start;
	gap: 26px;
}

.project:nth-child(2) {
	margin-top: 74px;
}

.project-image-wrap {
	position: relative;
	overflow: hidden;
	background: #c7c9c1;
}

.project-image-wrap img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}

.project:hover .project-image-wrap img {
	transform: scale(1.035);
}

.project:nth-child(2) .project-image-wrap img {
	 aspect-ratio: 4 / 5.5;
}

.project h3 {
	margin: 16px 0 2px;
	font-family: var(--font-display);
	font-size: 29px;
	font-weight: 500;
	line-height: 1.1;
}

.project p {
	margin: 5px 0 0;
	color: var(--color-muted);
	font-size: 12px;
	letter-spacing: .4px;
}

.services-section {
	padding: clamp(88px, 12vw, 154px) var(--gutter);
	color: var(--color-white);
	background: var(--color-green);
}

.services-layout {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: clamp(50px, 10vw, 144px);
}

.services-intro .eyebrow {
	color: #e6b39f;
}

.services-intro .section-heading {
	max-width: 480px;
	margin: 0;
	font-size: clamp(44px, 6vw, 76px);
	line-height: .98;
}

.services-intro p:last-child {
	max-width: 360px;
	margin: 24px 0 0;
	color: rgba(255, 255, 255, .72);
}

.service-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.service-list li {
	display: flex;
	min-height: 76px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid rgba(255, 255, 255, .28);
	font-family: var(--font-display);
	font-size: clamp(25px, 3vw, 38px);
}

.service-list li::after {
	color: #e6b39f;
	font-family: var(--font-body);
	font-size: 16px;
	content: "+";
}

.service-list li:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.contact-band {
	padding: clamp(78px, 10vw, 126px) var(--gutter);
	text-align: center;
}

.contact-band .eyebrow {
	color: var(--color-clay);
}

.contact-band .section-heading {
	max-width: 800px;
	margin: 0 auto;
	font-size: clamp(44px, 7vw, 84px);
	line-height: .98;
}

.contact-details {
	margin: 32px 0 0;
	font-size: 18px;
}

.contact-details a {
	color: var(--color-green);
	text-decoration: none;
}

.contact-plugin-note {
	margin: 12px auto 0;
	color: var(--color-muted);
	font-size: 13px;
}

.site-footer {
	padding: 60px var(--gutter) 24px;
	color: var(--color-white);
	background: #1e3028;
}

.footer-inner {
	width: min(100%, var(--content-width));
	margin: 0 auto;
}

.footer-top {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 40px;
	padding-bottom: 54px;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(3, minmax(130px, 1fr));
	gap: 35px;
	width: min(100%, 680px);
}

.footer-widgets .widget-title {
	margin: 0 0 12px;
	color: #e6b39f;
	font-size: 10px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.footer-widgets p,
.footer-widgets ul {
	margin: 0;
	padding: 0;
	color: rgba(255, 255, 255, .72);
	font-size: 13px;
	list-style: none;
}

.footer-widgets a {
	color: inherit;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .22);
	color: rgba(255, 255, 255, .62);
	font-size: 11px;
}

.footer-bottom p {
	margin: 0;
}

.content-shell {
	width: min(100% - (var(--gutter) * 2), 900px);
	min-height: 45vh;
	margin: 0 auto;
	padding: clamp(62px, 9vw, 112px) 0;
}

.page-title,
.entry-title {
	margin: 0 0 20px;
	font-size: clamp(42px, 6vw, 72px);
	line-height: 1.03;
}

.entry-title a {
	text-decoration: none;
}

.entry-meta {
	margin: 0 0 24px;
	color: var(--color-muted);
	font-size: 12px;
}

.entry-content > * + * {
	margin-top: 1.4em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.15;
}

.entry-content h2 {
	font-size: 38px;
}

.entry-content h3 {
	font-size: 30px;
}

.entry-content blockquote {
	margin-right: 0;
	margin-left: 0;
	padding-left: 24px;
	border-left: 2px solid var(--color-clay);
	font-family: var(--font-display);
	font-size: 27px;
}

.post-list {
	display: grid;
	gap: 48px;
}

.post-card {
	padding-bottom: 38px;
	border-bottom: 1px solid #d4d8d2;
}

.post-card .entry-title {
	font-size: clamp(34px, 5vw, 52px);
}

.post-thumbnail {
	display: block;
	margin: 0 0 24px;
}

.post-thumbnail img {
	width: 100%;
	max-height: 500px;
	object-fit: cover;
}

.pagination,
.post-navigation {
	margin-top: 48px;
}

.pagination .nav-links,
.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.elementor-page-shell {
	width: 100%;
	max-width: none;
	min-height: 50vh;
	margin: 0;
	padding: 0;
}

.elementor-page-shell > article {
	width: 100%;
}

.alignwide {
	max-width: var(--content-width);
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.wp-block-image img,
.wp-block-cover {
	border-radius: 0;
}

.wp-block-button__link {
	border-radius: 0;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
}

.wp-caption-text,
.gallery-caption,
.sticky,
.bypostauthor {
	font-size: .95em;
}

.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1em;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.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;
}

.widget-area {
	margin-top: 48px;
}

.widget {
	margin-bottom: 28px;
}

.widget .widget-title {
	margin: 0 0 12px;
	font-size: 12px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.site-footer .widget {
	margin-bottom: 0;
}

.error-404 .page-title {
	font-size: clamp(54px, 9vw, 100px);
}

@keyframes rise-in {
	from {
		transform: translateY(18px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@media (max-width: 760px) {
	.header-inner {
		min-height: 78px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.primary-navigation {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		padding: 8px var(--gutter) 24px;
		background: var(--color-green);
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-navigation ul {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.primary-navigation li {
		border-top: 1px solid rgba(255, 255, 255, .2);
	}

	.primary-navigation a {
		display: block;
		padding: 14px 0;
	}

	.front-page .primary-navigation {
		background: var(--color-green);
	}

	.hero {
		min-height: 82svh;
	}

	.hero-content {
		padding-top: 150px;
		padding-bottom: 72px;
	}

	.hero h1 {
		max-width: 620px;
		font-size: clamp(56px, 14vw, 82px);
	}

	.intro-section,
	.services-layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.intro-section {
		padding-top: 82px;
		padding-bottom: 88px;
	}

	.project-grid {
		grid-template-columns: 1fr 1fr;
		gap: 30px 16px;
	}

	.project:nth-child(2) {
		margin-top: 42px;
	}

	.project:nth-child(3) {
		grid-column: 1 / -1;
		width: 75%;
		margin-left: auto;
	}

	.section-topline {
		align-items: start;
		flex-direction: column;
	}

	.section-topline .text-link {
		margin-top: 0;
	}

	.footer-top {
		flex-direction: column;
	}

	.footer-widgets {
		grid-template-columns: repeat(2, minmax(120px, 1fr));
	}
}

@media (max-width: 480px) {
	.project-grid {
		grid-template-columns: 1fr;
	}

	.project:nth-child(2),
	.project:nth-child(3) {
		grid-column: auto;
		width: 100%;
		margin: 0;
	}

	.project-image-wrap img,
	.project:nth-child(2) .project-image-wrap img {
		aspect-ratio: 4 / 3;
	}

	.footer-widgets {
		grid-template-columns: 1fr 1fr;
	}

	.footer-bottom {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

.wp-block-quote.is-style-atelier-note {
	border-left: 2px solid var(--color-clay);
	color: var(--color-ink);
	font-family: var(--font-display);
	font-size: 1.75rem;
	line-height: 1.3;
	padding-left: 1.5rem;
}

.wp-block-quote.is-style-atelier-note cite {
	color: var(--color-muted);
	font-family: var(--font-body);
	font-size: .875rem;
}

.wp-block-group.atelier-studio-introduction {
	padding-block: 3rem;
}

.atelier-studio-introduction__eyebrow {
	color: var(--color-clay);
	font-size: .75rem;
	font-weight: 600;
}