/*
	Theme Name: Bespoke Seating
	Theme URI: https://bespokeseatingltd.co.uk/
	Description: Custom WP theme for Bespoke Seating
	Version: 0.1
	Author: Creative Direction
	Author URI: https://creativedirection.info
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: "capitolium-2", serif;
	font-weight: 400;
	font-size:19px;
/*	letter-spacing: -2px;*/
	line-height:1.55em;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
h1, h2 {
	font-family: "larken", sans-serif;
	font-weight: 300;
	line-height:1.1em;
	margin-bottom:0;
	letter-spacing:-0.015em;
}
h1 {
	font-size:3.7em;
	margin-bottom:0.3em;
	margin-top:0.3em;
}
h2 {
	font-size:2.6em;
	margin-bottom:0.35em;
}
h3 {
	font-family: "capitolium-2", serif;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-size:1em;
	font-weight: 300;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
.pad-2em {
	padding:2em;
}

.inner {
	width:90%;
	position: relative;
	margin: 0 auto;
	max-width:1660px;
}
.inner-ish {
	width:75%;
	position: relative;
	margin: 0 auto;
	max-width:1024px;
}
.inner-narrow {
	width:60%;
	position: relative;
	margin: 0 auto;
	max-width:1024px;
}
/* header */
.header {
	position: fixed;
	width: 100%;
	padding:1.5em 0;
	z-index:2;
	transition:0.6s all;
}
.scrolled .header {
	opacity: 0;
	pointer-events: none;
}
.header .inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.scrolled .header .inner {
	visibility:hidden;
	transition: 0.8s all;
}
/* logo */
.logo {
	max-width:200px;
	width:200px;
}
.logo-img {

}
/* nav */
.nav {
	font-family: "capitolium-2", serif;
	font-weight: 500;
	font-style: normal;
/*	font-weight: 700;*/
	font-size: 0.8em;
	letter-spacing: 0.25em;
}
.nav ul {
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	display: flex;
	gap:2em;
}
.nav ul li {
	list-style: none;
}
.nav ul li a {
	color:#EDE8E2;
}
/* footer */
.footer {
/*	background: rgb(57,44,43);*/
background: url(img/wavy-line.svg), linear-gradient(0deg, rgba(57,44,43,1) 0%, rgba(80,62,60,1) 100%);
/*	background-image: url(img/wavy-line.svg);*/
	padding:4em 0;
	color:#9F9786;
	position: relative;
}

.footer::before {
	content:'';
	display: block;
	height:15vw;
	width:20vw;
	position: absolute;
	z-index:0;
	bottom:0;
/*	left:-50px;*/
/*	background-image: url(img/footer-watermark.svg);*/
	background-size: cover;
	background-position: right;
	background-repeat: no-repeat;
	mix-blend-mode: multiply;
}

.footer h3 {
	color:#EDE8E2;
}

.footer h2 {
	margin-bottom:1em;
}

.footer h2, .footer h3 {
	text-align: center;
}

.footer input, .footer select, .gform-body input {
	background-color: rgba(0, 0, 0, 1); !important;
	border:0;
	border-bottom:1px solid #9F9786;
	color:#9F9786;
	padding:1.5em !important;
}

.footer input[type="submit"], .wp-element-button, .gform-footer input[type="submit"] {
	padding:1.5em 6em !important;
	background-color: #EDE8E2 !important;
	color:#173F3D;
	text-transform: uppercase;
	font-weight: bold;
	border-bottom: 0;
	font-family: "capitolium-2", serif;
	letter-spacing: 0.3em;
	font-size:0.77em;
	margin: 0 auto;
	margin-top:2em;
	position: relative;
	border-radius:0;
	border:0;
}

.footer .wp-block-button {
	display: table;
	margin:0 auto;
}

.footer .wp-element-button {
	margin:0 auto;
}

.footer-contact {
	text-align: center;
	margin:3em 0 5em 0;
	font-family: "capitolium-2", serif;
	display: flex;
	gap:3em;
	justify-content: center;
}
.footer-contact a {
	color:#EDE8E2;
	margin-left:1em;
}

.footer-bottom {
	border-top:1px solid #9F9786;
	color:#EDE8E2;
	padding-top: 2em;
	display: flex;
	justify-content: space-between;
	margin-top:2em;
}

.footer-bottom a {
	color:#9F9786;
}
.footer-bottom a:not(.design-credit a) {
	margin-left:3em;
}

.has-shadow img {
	box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.16);
}

.outlined-text {
	position: relative;
	display: inline-block;
	color: transparent;
/*	overflow: hidden;*/
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-decoration: none;
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: #9F9786;
	opacity:0.5;
	font-size:10em;
	line-height:1.3em;
	margin: 0;
	font-family: "capitolium-2", serif;
	letter-spacing: -0.05em;
	font-variation-settings: 'wght' 800, 'wdth' 50, 'slnt' 0;
	position: absolute;
}
.has-divider {
	position: relative;
}
.has-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    background: #9F9786;
    width: 1px;
    height: 100px;
    top: 0;
    transform: translateY(-50%);
    z-index: 2;
}

#the-story {
	background-repeat: no-repeat;
	background-position: center top 100px;
	background-size: 50%;
	background-image: url(img/icon.svg);
}

.pheasant {
	margin-right:-25%;
}

.pheasant::before {
	height:298px;
	width:244px;
	content:'';
	display: block;
	position: absolute;
	left:0;
	margin-top:100px;
/*	background-image: url(img/feather2.webp);*/
	background-size: contain;
	background-repeat: no-repeat;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

#shooting .wp-block-column, #stunt-driving .wp-block-column {
	position: relative;
}

#shooting .outlined-text {
	bottom:0;
	left:7%;
	margin-top: 0;
	line-height:1em;

}
#sailing .outlined-text {
	top:0;
	left:5%;
	margin-top: 0;
	transform:translateY(-55%);
}

#stunt-driving .outlined-text {
	top:0;
	right:4%;
	margin-top: 0;
	transform:translateY(-55%);
}

#how-we-can-help {
	border:1px solid #9F9786;
}

.wp-block-verse {
	font-family: "capitolium-2", serif;
	font-weight: 500;
	font-style: normal;
	font-size: 1.8em;
	line-height: 1.5em;
}
.has-compass {
	position: relative;
}
.has-compass::after {
	content:'';
	display: block;
	height:200px;
	width:200px;
/*	background-image: url(img/compass.svg);*/
	background-size: contain;
	position: absolute;
	bottom:0;
	right:10%;
	transform: translateY(65%);
	background-repeat: no-repeat;
	opacity:0;
	transition:0.6s all;
}

.has-compass:has(.aos-animate)::after {
	opacity:1;
}

.wp-block-columns {
	margin-bottom: 0;
}
:where(.wp-block-group.has-background) {
	padding:0;
}



/* STAFF BLOCK */
.staff-container {
	padding:30px;
	position: relative;
}
.staff-pic {
	position: relative;
	cursor: pointer;
}
.staff-pic img {
	display: block;
    margin: 0 0 1em;
    opacity:0.8;
    transition:0.6s all;
}

.staff-pic img:hover {
	opacity:1;
}
.staff-copy:not(.wp-admin .staff-copy) {
	display: none;
}
.staff-copy h3, .modal-content h3 {
	text-align: center;
	color:#fff;
}

.staff-expand {
	position: absolute;
	bottom: 20px;
	right: 20px;
	height: 30px;
	width: 30px;
}
.staff-pic .staff-expand svg * {
	transition: 0.6s all;
}
.staff-pic:hover .staff-expand svg circle {
	fill: #ccc;
}
.staff-pic:hover .staff-expand svg path {
	stroke: #fff;
}

.team-name {

}

.team-job-title {
	font-size:0.8em;
	color:#565656;
}

.social-icons {
	text-align: center;
	margin-bottom: 50px;
}
.social-icon {
	margin:0 1em;
}

.social-icon svg {
	width:30px;
	height:Auto;
}


/* MODAL STUFF */
.modal-container {
	position: fixed;
	height: 100vh;
	width: 100vw;
	top: 0;
	left: 0;
	background-color: #000;
	display: block;
	z-index: 9999;
	display: none;
}

.modal-inner {
	display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.modal-content {
	width: 60%;
	display: block;
	color:#979797;
}

.modal-close {
	position: absolute;
	top: 60px;
	right: 7.5%;
	line-height: 1;
	font-size: 50px;
	cursor: pointer;
	z-index: 2;
	color:#fff;
}



/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media only screen and (max-width:900px) {
	.nav {
		display: none;
	}
}
@media only screen and (max-width:768px) {
	.hide-mobile {
		display: none;
	}

	.pad-2em {
		padding:1em;
	}
	.inner, .inner-narrow, .inner-narrower, .inner-ish {
		width:90%;
	}
	h1 {
		margin:0;
		font-size:2.5em;
	}
	h2 {
		font-size:2.2em;
		margin-bottom:1em;
	}
	h3 {
		margin-bottom: 1em;
	}
	p {
		margin-top: 0;
	}
	.logo {
		width:150px;
		margin: 0 auto;
	}
	.pheasant {
		margin-right: 0;
	}
	.wp-block-verse {
		font-size:1.6em;
	}

	.footer-bottom, .footer-bottom div:first-of-type {
		display: flex;
		flex-direction: column;
	}
	.footer-bottom a:not(.design-credit a) {
		margin-left: 0;
	}
	.footer-bottom div:first-of-type {
		margin-bottom: 2em;
	}

	.outlined-text {
		font-size:3em;
	}
	.footer-contact {
		flex-direction: column;
	}
	.footer::before {
		background-size: contain;
		background-position: bottom left;
		width:75vw;
		height:75vw;
	}


	.icons-container {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr);
		gap:1em;
	}
	.icons-container > div:last-child {
		grid-column: 1 / 3 !important;
	}

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#041219;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#041219;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#041219;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
