/**
 * Da Yang Studio V1
 * Scope: .dayang-studio-page / .dy-studio
 */

.dayang-studio-page {
	--dy-studio-paper: #f7f5f2;
	--dy-studio-ink: #222;
	--dy-studio-muted: #6f6f6f;
	--dy-studio-sand: #e9e4dc;
	--dy-studio-line: rgba(34,34,34,.16);
	--dy-studio-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--dy-studio-ui: Arial, Helvetica, sans-serif;
	background: var(--dy-studio-paper);
	color: var(--dy-studio-ink);
}

.dayang-studio-page .hero-section { display: none; }
.dayang-studio-page .site-main,
.dayang-studio-page .entry-content {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.dayang-studio-page .site-main > article,
.dayang-studio-page article.page,
.dayang-studio-page .entry-content > .dy-studio { margin-top: 0 !important; }
.dayang-studio-page .entry-content > .wp-block-group,
.dayang-studio-page .entry-content > .wp-block-cover { margin-block: 0 !important; }

.dy-studio {
	overflow: clip;
	background: var(--dy-studio-paper);
	color: var(--dy-studio-ink);
}

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

.dy-studio__shell {
	width: min(86vw, 1280px);
	margin-inline: auto;
}

.dy-studio h1,
.dy-studio h2,
.dy-studio h3 {
	margin-top: 0;
	color: inherit;
	font-family: var(--dy-studio-display);
	font-weight: 400;
	letter-spacing: -.04em;
	text-wrap: balance;
}

.dy-studio h2 { margin-bottom: 28px; font-size: clamp(40px, 4vw, 58px); line-height: 1; }
.dy-studio h3 { margin-bottom: 16px; font-size: clamp(28px, 2.5vw, 38px); line-height: 1.05; }
.dy-studio p { color: var(--dy-studio-muted); font-family: var(--dy-studio-ui); font-size: 18px; line-height: 1.72; }
.dy-studio figure { margin: 0; }
.dy-studio img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dy-studio a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.dy-studio [id] { scroll-margin-top: 96px; }

.dy-studio__kicker,
.dy-studio__material-number {
	margin: 0 0 22px !important;
	color: inherit !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.dy-studio__section { padding: 152px 0; }
.dy-studio__section-head { max-width: 790px; margin-bottom: 82px; }
.dy-studio__section-head h2 { margin-bottom: 0; }

/* Hero */
.dy-studio__hero {
	position: relative;
	min-height: 84vh !important;
	overflow: hidden;
	background: #171713;
	color: #fff;
}
.dy-studio__hero .wp-block-cover__background { z-index: 1; background: #151511 !important; opacity: .47 !important; }
.dy-studio__hero-image { z-index: 0; object-position: center; transform: scale(1.05); }
.dy-studio__hero .wp-block-cover__inner-container { z-index: 2; }
.dy-studio__hero-inner {
	position: relative;
	display: flex;
	min-height: 84vh;
	flex-direction: column;
	justify-content: flex-end;
	padding-block: 108px 84px;
}
.dy-studio__hero .dy-studio__kicker { color: rgba(255,255,255,.78) !important; }
.dy-studio__hero-title {
	max-width: 800px;
	margin-bottom: 26px;
	color: #fff !important;
	font-size: clamp(58px, 7vw, 92px);
	line-height: .9;
}
.dy-studio__hero-copy {
	max-width: 620px;
	margin: 0;
	color: rgba(255,255,255,.86) !important;
	font-size: 18px !important;
}
.dy-studio__scroll {
	position: absolute;
	right: 0;
	bottom: 44px;
	margin: 0;
	font-size: 12px !important;
}
.dy-studio__scroll a { display: inline-flex; align-items: center; gap: 14px; color: rgba(255,255,255,.74); letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.dy-studio__scroll span { font-size: 17px; }

/* Place */
.dy-studio__place { padding-block: 176px; }
.dy-studio__editorial-grid { align-items: flex-start; gap: clamp(70px, 11vw, 160px); margin-bottom: 0; }
.dy-studio__editorial-heading { flex-basis: 40% !important; }
.dy-studio__editorial-copy { flex-basis: 60% !important; max-width: 650px; padding-top: 50px; }
.dy-studio__editorial-copy p { margin: 0 0 24px; }
.dy-studio__editorial-copy p:last-child { margin-bottom: 0; }

/* Natural light */
.dy-studio__light { background: #fbfaf8; }
.dy-studio__split { align-items: center; gap: clamp(62px, 9vw, 132px); margin-bottom: 0; }
.dy-studio__light-media { flex-basis: 58% !important; }
.dy-studio__light-media figure { aspect-ratio: 6 / 7; overflow: hidden; background: #ddd7cf; }
.dy-studio__light-media img { object-position: center; }
.dy-studio__copy { flex-basis: 42% !important; max-width: 520px; }
.dy-studio__copy p { margin: 0 0 24px; }
.dy-studio__copy p:last-child { margin-bottom: 0; }

/* Materials */
.dy-studio__materials { background: var(--dy-studio-sand); }
.dy-studio__materials-grid { align-items: flex-start; gap: clamp(38px, 6vw, 88px); margin-bottom: 0; }
.dy-studio__material { margin: 0; }
.dy-studio__material--offset { margin-top: 92px; }
.dy-studio__material figure { aspect-ratio: 4 / 5; margin-bottom: 34px; overflow: hidden; background: #d8d1c7; }
.dy-studio__material--offset figure { aspect-ratio: 4 / 3; }
.dy-studio__material h3 { margin-bottom: 18px; }
.dy-studio__material > p:last-child { max-width: 510px; margin: 0; }

/* Tools and finish */
.dy-studio__tools { background: var(--dy-studio-ink); color: #fff; }
.dy-studio__tools-image { aspect-ratio: 16 / 8.5; overflow: hidden; background: #2a2925; }
.dy-studio__tools-image img { object-position: center; }
.dy-studio__tools-copy { align-items: flex-start; gap: clamp(62px, 10vw, 150px); margin: 70px 0 0; }
.dy-studio__tools-copy > .wp-block-column:first-child { flex-basis: 55% !important; }
.dy-studio__tools-text { flex-basis: 45% !important; max-width: 540px; }
.dy-studio__tools .dy-studio__kicker,
.dy-studio__tools h2 { color: #fff !important; }
.dy-studio__tools p { color: rgba(255,255,255,.7); }
.dy-studio__tools-text p { margin: 0 0 24px; }
.dy-studio__tools-text p:last-child { margin-bottom: 0; }

/* Atmosphere gallery */
.dy-studio__atmosphere { background: #fbfaf8; }
.dy-studio__gallery {
	display: grid;
	grid-template-columns: repeat(12,minmax(0,1fr));
	grid-template-rows: minmax(280px,34vw) minmax(220px,25vw);
	gap: clamp(18px,2.2vw,32px);
}
.dy-studio__gallery figure { overflow: hidden; background: #ddd7cf; }
.dy-studio__gallery-studio { grid-column: 1 / span 8; grid-row: 1; }
.dy-studio__gallery-resin-a { grid-column: 9 / span 4; grid-row: 1 / span 2; }
.dy-studio__gallery-resin-b { grid-column: 3 / span 6; grid-row: 2; }
.dy-studio__gallery-studio img { object-position: center; }

/* Philosophy */
.dy-studio__philosophy { padding: 180px 0; text-align: center; }
.dy-studio__philosophy-inner { display: flex; align-items: center; flex-direction: column; }
.dy-studio__philosophy blockquote { max-width: 1040px; margin: 0; padding: 0; border: 0; }
.dy-studio__philosophy blockquote p {
	margin: 0;
	color: var(--dy-studio-ink);
	font-family: var(--dy-studio-display);
	font-size: clamp(54px, 6.3vw, 88px);
	line-height: .97;
	letter-spacing: -.045em;
}
.dy-studio__philosophy cite { display: block; margin-top: 34px; color: var(--dy-studio-muted); font-family: var(--dy-studio-ui); font-size: 12px; font-style: normal; letter-spacing: .16em; text-transform: uppercase; }
.dy-studio__philosophy-copy { max-width: 640px; margin: 52px 0 0; }

/* Closing CTA */
.dy-studio__cta { padding: 116px 0; background: var(--dy-studio-ink); color: #fff; }
.dy-studio__cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.dy-studio__cta h2 { max-width: 660px; margin-bottom: 0; color: #fff; }
.dy-studio__cta .dy-studio__kicker { color: rgba(255,255,255,.62) !important; }
.dy-studio__buttons { flex-wrap: nowrap; gap: 12px; }
.dy-studio__button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 24px;
	border: 1px solid rgba(255,255,255,.72);
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-family: var(--dy-studio-ui);
	font-size: 13px;
	line-height: 1.25;
	letter-spacing: .1em;
	text-transform: uppercase;
	transition: background-color 250ms ease,color 250ms ease;
	white-space: nowrap;
}
.dy-studio__button--primary .wp-block-button__link { border-color: #fff; background: #fff; color: var(--dy-studio-ink); }
.dy-studio__button .wp-block-button__link:hover { background: #fff; color: var(--dy-studio-ink); }
.dy-studio__button--primary .wp-block-button__link:hover { background: transparent; color: #fff; }

/* Progressive reveal */
.dy-studio.is-enhanced .dy-studio__reveal,
.dy-studio.is-enhanced .dy-studio__image-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 700ms ease,transform 700ms ease;
}
.dy-studio.is-enhanced .dy-studio__image-reveal { transform: translateY(16px); }
.dy-studio.is-enhanced .is-visible { opacity: 1; transform: translateY(0); }

@media (max-width:900px) {
	.dy-studio__shell { width: min(88vw,760px); }
	.dy-studio__section { padding-block: 112px; }
	.dy-studio__hero,
	.dy-studio__hero-inner { min-height: 76vh !important; }
	.dy-studio__hero-inner { padding-block: 94px 72px; }
	.dy-studio__place { padding-block: 132px; }
	.dy-studio__editorial-grid,
	.dy-studio__split,
	.dy-studio__materials-grid,
	.dy-studio__tools-copy,
	.dy-studio__cta-inner { flex-wrap: wrap !important; }
	.dy-studio__editorial-grid > .wp-block-column,
	.dy-studio__split > .wp-block-column,
	.dy-studio__materials-grid > .wp-block-column,
	.dy-studio__tools-copy > .wp-block-column { flex-basis: 100% !important; }
	.dy-studio__editorial-grid,
	.dy-studio__split { gap: 52px; }
	.dy-studio__editorial-copy { max-width: 640px; padding-top: 0; }
	.dy-studio__light-media figure { aspect-ratio: 5 / 4; }
	.dy-studio__copy { max-width: 640px; }
	.dy-studio__materials-grid { gap: 70px; }
	.dy-studio__material--offset { margin-top: 0; }
	.dy-studio__tools-copy { gap: 44px; }
	.dy-studio__tools-text { max-width: 650px; }
	.dy-studio__cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width:640px) {
	.dy-studio__shell { width: auto; margin-inline: 22px; }
	.dy-studio__section { padding-block: 82px; }
	.dy-studio h2 { font-size: 40px; }
	.dy-studio h3 { font-size: 30px; }
	.dy-studio p { font-size: 16px; }
	.dy-studio__hero,
	.dy-studio__hero-inner { min-height: 68vh !important; }
	.dy-studio__hero-inner { padding-block: 72px 54px; }
	.dy-studio__hero-title { margin-bottom: 20px; font-size: clamp(48px,14vw,58px); }
	.dy-studio__hero-copy { max-width: 340px; font-size: 16px !important; }
	.dy-studio__hero-image { object-position: 58% center; transform: scale(1.08); }
	.dy-studio__scroll { display: none; }
	.dy-studio__place { padding-block: 96px; }
	.dy-studio__editorial-grid,
	.dy-studio__split { gap: 38px; }
	.dy-studio__section-head { margin-bottom: 56px; }
	.dy-studio__materials-grid { gap: 64px; }
	.dy-studio__material figure,
	.dy-studio__material--offset figure { aspect-ratio: 4 / 5; margin-bottom: 28px; }
	.dy-studio__tools-image { aspect-ratio: 4 / 5; }
	.dy-studio__tools-copy { margin-top: 44px; }
	.dy-studio__gallery { display: block; }
	.dy-studio__gallery figure { aspect-ratio: 4 / 3; margin-bottom: 20px; }
	.dy-studio__gallery figure:last-child { margin-bottom: 0; }
	.dy-studio__philosophy { padding-block: 108px; text-align: left; }
	.dy-studio__philosophy-inner { align-items: flex-start; }
	.dy-studio__philosophy blockquote p { font-size: 48px; }
	.dy-studio__philosophy-copy { margin-top: 40px; }
	.dy-studio__cta { padding-block: 84px; }
	.dy-studio__buttons { width: 100%; flex-direction: column; align-items: stretch; }
	.dy-studio__button,
	.dy-studio__button .wp-block-button__link { width: 100%; }
}

@media (prefers-reduced-motion:reduce) {
	.dy-studio__button .wp-block-button__link,
	.dy-studio.is-enhanced .dy-studio__reveal,
	.dy-studio.is-enhanced .dy-studio__image-reveal { transition: none; }
}
