/*
Theme Name: Tim Robbins Coming Soon
Theme URI: https://example.com/
Author: Custom
Description: A standalone animated coming-soon theme based on the supplied Tim Robbins homepage design.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tr-coming-soon
*/

:root { 
	--tr-gold: #e9b832;
	--tr-charcoal: #202020;
	--tr-black: #1C1B1B;
	--tr-tan: #A67946;
	--tr-green: #72A150;
	--tr-orange: #D3503B;
	--tr-purple: #C174BA;
}

@font-face {
	font-family: "SwingSnug";
	src:
		url("assets/fonts/swingsnug-webfont-regular.woff2") format("woff2"),
		url("assets/fonts/swingsnug-webfont-regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: block;
}

@font-face {
	font-family: "SwingSnug";
	src:
		url("assets/fonts/swingsnug-webfont-bold.woff2") format("woff2"),
		url("assets/fonts/swingsnug-webfont-bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: block;
}
@font-face {
	font-family: "Mijo";
	src: url("assets/fonts/Mijo-Regular.otf") format("opentype");
	font-weight: 400;
	font-style: normal;
	font-display: block;
}
@font-face {
	font-family: "Batman";
	src: url("assets/fonts/batman.otf") format("opentype");
	font-weight: 400;
	font-style: normal;
	font-display: block;
}


html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
	background: var(--tr-gold);
}

body {
	overflow-x: hidden;
}

body.admin-bar .tr-coming-soon {
	min-height: calc(100vh - 32px);
}

.tr-coming-soon,
.tr-coming-soon * {
	box-sizing: border-box;
}

.tr-coming-soon {
	min-height: 100vh;
	overflow: hidden;
	color: var(--tr-black);
	background: var(--tr-gold);
	font-family: Arial, Helvetica, sans-serif;
}

/* Header */
.tr-header {
	position: relative;
	z-index: 3;
	min-height: clamp(145px, 19vw, 169px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px 24px 4px;
	background: var(--tr-gold);
	clip-path: polygon(0 0, 100% 0%, 100% 100%, 58% 95%, 0 76%);
}

.tr-brand {
	margin-top: -10px;
	font-family: "Mijo", "Avenir Next", "Century Gothic", Arial, sans-serif;
	font-size: clamp(44px, 6.2vw, 63px);
	font-weight: 400;
	font-style: normal;
	letter-spacing: -0.055em;
	line-height: 1;
	white-space: nowrap;
}

/* Combined logo/construction artwork with angled yellow header */

.tr-hero-header {
	position: relative;
	z-index: 5;
	width: 100%;
	height: clamp(390px, 50vw, 720px);
	overflow: visible;
	background: transparent;
}

/* Yellow angled shape */
.tr-hero-header::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: clamp(170px, 18vw, 235px);
	background: var(--tr-gold);

	clip-path: polygon(
		0 0,
		100% 2%,
		100% 100%,
		58% 94%,
		0 75%
	);
}

.tr-hero-header-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	max-width: 1440px;
	margin: 0 auto;
}

.tr-hero-header-art {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 50%;
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    transform: translateX(-50%);
    pointer-events: none;
    user-select: none;
    max-width: 870px;
    height: auto;
}

/* Main area */
.tr-main {
	position: relative;
	z-index: 1;
	min-height: clamp(600px, 66vw, 820px);

	margin-top: -583px;
	padding-top: 379px;

	overflow: hidden;

	background:
		radial-gradient(
			circle at 22% 22%,
			rgba(255, 255, 255, 0.045),
			transparent 28%
		),
		radial-gradient(
			circle at 75% 70%,
			rgba(255, 255, 255, 0.035),
			transparent 30%
		),
		linear-gradient(
			100deg,
			#292929 0%,
			#202020 50%,
			#242424 100%
		);

	clip-path: polygon(
		0 5%,
		100% 14%,
		100% 94%,
		48% 97%,
		0 100%
	);
} 
.tr-uc {
    position: absolute;
    width: auto;
    height: auto;
    left: 50%;
    bottom: 31px;
    font-family: Mijo;
    font-style: normal;
    font-weight: 400;
    font-size: 52px;
    line-height: 102px;
    text-align: center;
    color: #E5B438;
    transform: translate(-50%, 0);
    z-index: 999999999;
    width: 100%;
}
.tr-main::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: .32;
	pointer-events: none;
	background-image:
		repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px),
		repeating-linear-gradient(90deg, rgba(0,0,0,.055) 0 1px, transparent 1px 5px);
}

.tr-background-words {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image: url("assets/images/tr-back.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	pointer-events: none;
}

.tr-content {
	position: relative;
	z-index: 2;
	width: min(1120px, 94vw);
	margin: 0 auto;
	padding: clamp(125px, 14vw, 190px) 0 90px;
}

.tr-launch {
	margin: 0 auto clamp(36px, 4vw, 55px);
	display: flex;
	justify-content: center;
	align-items: baseline;
	gap: clamp(10px, 1.4vw, 24px);
	white-space: nowrap;
	font-family: "SwingSnug", Impact, "Arial Narrow", sans-serif;
	font-size: clamp(42px, 5.6vw, 63px);
	font-weight: 900;
	line-height: .9;
	letter-spacing: -.035em;
	text-transform: none;
	transform: rotate(-2.1deg);
	color: var(--tr-gold);
	text-shadow: 0 4px 0 rgba(0,0,0,.3);
	font-variant-ligatures: common-ligatures contextual;
	font-feature-settings:
		"kern" 1,
		"liga" 1,
		"clig" 1,
		"calt" 1,
		"dlig" 1;
}

.tr-launch-month {
	color: var(--tr-gold);
}

.tr-muted-letter {
	color: #ded8cf;
}

/* Animated balls */
.tr-bubbles {
	position: relative;
	width: min(100%, 960px);
	height: clamp(300px, 30vw, 390px);
	margin: 0 auto;
}

.tr-bubble {
	--mouse-x: 0px;
	--mouse-y: 0px;
	position: absolute;
	aspect-ratio: 1;
	border-radius: 50%;
	translate: var(--mouse-x) var(--mouse-y);
	transition: translate .45s cubic-bezier(.22, 1, .36, 1);
	will-change: translate;
}

.tr-bubble-inner {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	border-radius: inherit;
	box-shadow: 0 14px 18px rgba(0,0,0,.2);
	transform-origin: center;
	will-change: transform;
}

.tr-bubble span {
	font-family: "Batman", Impact, "Arial Narrow", sans-serif;
	font-size: clamp(44px, 4.6vw, 66px);
	line-height: .9;
	letter-spacing: -.04em;
	transform: rotate(-3deg);
	font-style: normal;
	font-weight: 500;
	font-size: 93px;
	line-height: 72px;
	text-align: center;
	letter-spacing: -0.04em;
}

.tr-bubble-new {
	width: 27%;
	left: 0;
	top: 12%;
}

.tr-bubble-new .tr-bubble-inner {
	background: var(--tr-tan);
	animation: tr-float-one 6.8s ease-in-out infinite;
}

.tr-bubble-website {
	width: 26%;
	left: 24%;
	top: 24%;
}

.tr-bubble-website .tr-bubble-inner {
	background: var(--tr-green);
	animation: tr-float-two 7.6s ease-in-out infinite;
}

.tr-bubble-coming {
	width: 27%;
	left: 47%;
	top: 0;
}

.tr-bubble-coming .tr-bubble-inner {
	background: var(--tr-orange);
	animation: tr-float-three 6.4s ease-in-out infinite;
}

.tr-bubble-soon {
	width: 27%;
	left: 72%;
	top: 15%;
}

.tr-bubble-soon .tr-bubble-inner {
	background: var(--tr-purple);
	animation: tr-float-four 7.2s ease-in-out infinite;
}

@keyframes tr-float-one {
	0%, 100% { transform: translate3d(0,0,0) rotate(-1deg); }
	35% { transform: translate3d(8px,-14px,0) rotate(1.5deg); }
	70% { transform: translate3d(-5px,7px,0) rotate(-2deg); }
}

@keyframes tr-float-two {
	0%, 100% { transform: translate3d(0,0,0) rotate(1deg); }
	40% { transform: translate3d(-9px,12px,0) rotate(-1.5deg); }
	72% { transform: translate3d(7px,-8px,0) rotate(2deg); }
}

@keyframes tr-float-three {
	0%, 100% { transform: translate3d(0,0,0) rotate(-1deg); }
	32% { transform: translate3d(5px,13px,0) rotate(2deg); }
	68% { transform: translate3d(-8px,-10px,0) rotate(-1.5deg); }
}

@keyframes tr-float-four {
	0%, 100% { transform: translate3d(0,0,0) rotate(1deg); }
	38% { transform: translate3d(-7px,-11px,0) rotate(-2deg); }
	75% { transform: translate3d(8px,8px,0) rotate(1.5deg); }
}

/* Footer */
.tr-footer {
	min-height: 105px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: 22px clamp(30px, 8vw, 110px);
	background: var(--tr-gold);
	font-size: 13px;
	font-weight: 700;
}

.tr-footer p {
	margin: 0;
}

.tr-social {
	display: flex;
	align-items: center;
	gap: 17px;
}

.tr-social a {
	width: 19px;
	height: 19px;
	display: inline-flex;
	color: var(--tr-black);
	transition: opacity .2s ease, transform .2s ease;
}

.tr-social a:hover,
.tr-social a:focus-visible {
	opacity: .65;
	transform: translateY(-2px);
}

.tr-social svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}



/* Mobile */


@media screen and (min-width: 761px)  and (max-width: 1300px) {
	.tr-hero-header-art {
    max-width: 570px;
}

.tr-hero-header {
    height: clamp(390px, 71vw, 720px);
}
.tr-uc {
    left: 50%;
    line-height: 1.5;
    width: 100%;
    transform: translate(-50%, 0);
    font-size: 37px;
    bottom: 100px;
}
	}


@media (max-width: 760px) {
	html,
	body {
		min-height: 0;
		height: auto;
	}

	.tr-coming-soon {
		min-height: 0;
		height: auto;
	}
	.tr-header {
		min-height: 95px;
		clip-path: polygon(0 0, 100% 2%, 100% 100%, 63% 94%, 0 80%);
	}

	.tr-brand {
		font-size: clamp(34px, 9vw, 58px);
	}

	.tr-main {
		min-height: 645px;
		clip-path: polygon(0 4%, 100% 8%, 100% 97%, 40% 99%, 0 100%);
	}

	.tr-content {
		padding-top: 115px;
	}

	.tr-launch {
		max-width: 95%;
		flex-wrap: wrap;
		gap: 5px 12px;
		white-space: normal;
		text-align: center;
		font-size: clamp(40px, 10vw, 58px);
	}

	.tr-bubbles {
		width: min(430px, 95vw);
		height: 320px;
	}

	.tr-bubble {
		width: 45%;
	}

	.tr-bubble span {
		font-size: clamp(47px, 10vw, 55px);
	}

	.tr-bubble-new { left: 1%; top: 2%;z-index: 4; }
	.tr-bubble-website {         left: 44%;z-index: 3;
        top: 9%; }
	    .tr-bubble-coming {
        left: 6%;
        top: 42%;
        z-index: 2;
    }
	.tr-bubble-soon { left: 48%; top: 48%; }
	
		.tr-bubble-new .tr-bubble-inner {
		animation-name: tr-float-one-mobile;
	}

	.tr-bubble-website .tr-bubble-inner {
		animation-name: tr-float-two-mobile;
	}

	.tr-bubble-coming .tr-bubble-inner {
		animation-name: tr-float-three-mobile;
	}

	.tr-bubble-soon .tr-bubble-inner {
		animation-name: tr-float-four-mobile;
	}

	.tr-footer {
		min-height: 130px;
		flex-direction: column;
		justify-content: center;
		text-align: center;
	}
.tr-uc {
    left: 0;
    bottom: 71px;
       left: 50%;
    line-height: 1.5;
    width: 100%;
	font-size: 27px;
    transform: translate(-50%, 0);
}
.tr-hero-header-art {
    max-width: 90%;
}
.tr-hero-header::before {
    height: clamp(108px, 18vw, 235px);
}
}

@keyframes tr-float-one-mobile {
	0%,
	100% {
		transform: translate3d(0, 0, 0) rotate(-0.5deg);
	}

	35% {
		transform: translate3d(3px, -5px, 0) rotate(0.75deg);
	}

	70% {
		transform: translate3d(-2px, 3px, 0) rotate(-0.75deg);
	}
}

@keyframes tr-float-two-mobile {
	0%,
	100% {
		transform: translate3d(0, 0, 0) rotate(0.5deg);
	}

	40% {
		transform: translate3d(-3px, 4px, 0) rotate(-0.75deg);
	}

	72% {
		transform: translate3d(3px, -3px, 0) rotate(0.75deg);
	}
}

@keyframes tr-float-three-mobile {
	0%,
	100% {
		transform: translate3d(0, 0, 0) rotate(-0.5deg);
	}

	32% {
		transform: translate3d(2px, 4px, 0) rotate(0.75deg);
	}

	68% {
		transform: translate3d(-3px, -4px, 0) rotate(-0.75deg);
	}
}

@keyframes tr-float-four-mobile {
	0%,
	100% {
		transform: translate3d(0, 0, 0) rotate(0.5deg);
	}

	38% {
		transform: translate3d(-3px, -4px, 0) rotate(-0.75deg);
	}

	75% {
		transform: translate3d(3px, 3px, 0) rotate(0.75deg);
	}
}


@media screen and (max-width: 782px) {
	body.admin-bar .tr-coming-soon {
		min-height: calc(100vh - 46px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tr-bubble,
	.tr-bubble-inner,
	.tr-social a {
		animation: none !important;
		transition: none !important;
		translate: 0 0 !important;
		transform: none !important;
	}
}

