/* ==========================================================================
Reset
========================================================================== */

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	line-height: 1.5;
	font: inherit;
	vertical-align: baseline;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
}

html, body {
	height: 100%;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul { list-style: none; }

blockquote, q { quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }

table { border-collapse: collapse; border-spacing: 0; }

input, button, textarea, select { font: inherit; }

audio, canvas, iframe, img, svg, video {
	display: block;
	max-width: 100%;
}

img:not([src]) { visibility: hidden; }

a { color: inherit; text-decoration: none; }

strong, b { font-weight: bolder; }

/* ==========================================================================
Carlito Font
========================================================================== */

@font-face {
  font-family: "Carlito";
  src: url("../fonts/Carlito-Regular.woff2")
    format("woff2-variations");
  font-weight: 400;  
  font-style: normal;
}

/* ==========================================================================
Design Tokens
========================================================================== */

:root {
	--rosa:   #C9818A;
	--bg:     #F8F7F5;
	--text:   #1A1A18;
	--muted:  #8C8C88;
	--border: #E2E0DA;
	--font:   'Carlito', Helvetica, Arial, sans-serif;
}


/* ==========================================================================
Base
========================================================================== */

html, body {
	font-family: var(--font);
	background: var(--bg);
	color: var(--text);
	font-size: 100%;
	line-height: 1.5;
}

body {
	opacity: 1;
	transition: .5s opacity;
}

body.fade {
	opacity: 0;
	transition: none;
}

/* ==========================================================================
Animations
========================================================================== */

/* Animated Links */

.underline,
.nav-links ul li a {
  position: relative;
}

.underline::after, 
.nav-links ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--rosa);
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (hover: hover) and (pointer: fine) {
  .underline:hover::after,
  .nav-links ul li a:hover::after {
    left: auto;
    right: 0;
    width: 0;
  }
}

.yscroll {
	transform: translateY(30px); 
	transition: opacity 2s cubic-bezier(.22, 1, .36, 1), transform 2s cubic-bezier(.22, 1, .36, 1);
	opacity: .25;
}

.yscroll.visible {
  transform: translateY(0%); 
  opacity: 1;
}

/* ==========================================================================
Navigation
========================================================================== */

nav {
	position: fixed;
	top: 0; left: 0; right: 0;
	padding: 28px 48px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 100;
}

.nav-logo {
	font-size: 1.125em;
	letter-spacing: 0.05em;
	color: var(--text);
}

.nav-links ul {
	display: flex;
	gap: 20px;
	list-style: none;
}

.nav-links ul li a {
	font-size: .875em;
	color: var(--muted);
	transition: color 0.2s;
}

/* 
.nav-links ul li a:hover,
.nav-links ul li.current-menu-item a,
.nav-links ul li.current_page_item a,
.nav-links ul li.current-menu-ancestor a {
	color: var(--text);
} */


/* ==========================================================================
Footer
========================================================================== */

footer {
	position: fixed;
	bottom: 0; left: 0; right: 0;
	padding: 20px 48px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

footer a, footer span {
	font-size: .875em;
	color: var(--muted);
	transition: color 0.2s;
}

footer a:hover { color: var(--text); }


/* ==========================================================================
Page — Home
========================================================================== */

.page-home {
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.home-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1vw;
}

.rosa-square {
	display: block;
	width: 15vw;
	height: 15vw;
	background: var(--rosa);
	box-shadow: rgba(201, 130, 139, 0) 0px 50px 100px -20px, rgba(201, 130, 139, 0) 0px -20px 60px -30px;
	transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s;

}

.rosa-square:hover { 
	transform: scale(1.1);
	box-shadow: rgba(201, 130, 139, 0.35) 0px 50px 100px -20px, rgba(201, 130, 139, 0.3) 0px -20px 60px -30px;
 }

.home-text {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.home-name {
	font-size: 2.5vw;
	font-weight: 400;
	letter-spacing: 0.05em;
	color: var(--text);
}

.home-tagline {
	font-size: .875em;
	letter-spacing: 0.04em;
}

.home-email {
	font-size: .875em;
	color: var(--muted);
	letter-spacing: 0.03em;
	margin-top: 4px;
	border-bottom: 1px solid transparent;
	padding-bottom: 1px;
	transition: color 0.2s, border-color 0.2s;
}


/* ==========================================================================
Page — Behind the Square
========================================================================== */

.page-behind {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	padding: 120px 48px 100px;
	max-width: 860px;
	margin: 0 auto;
	width: 100%;
}

.behind-label {
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 72px;
}

.behind-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
}

.behind-col-title {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 24px;
}

.work-lines {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.work-line {
	font-size: 1em;
	color: var(--text);
	line-height: 1.5;
}

.person-card {
	display: flex;
	gap: 20px;
	padding: 20px;
	margin: -20px;
	transition: opacity 0.2s;
}

.person-card:hover { opacity: 0.7; }

.person-card-square {
	width: 28px;
	height: 28px;
	background: var(--rosa);
	flex-shrink: 0;
	margin-top: 3px;
}

.person-card-info { flex: 1; }

.person-card-name {
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.02em;
	margin-bottom: 8px;
}

.person-card-excerpt {
	font-size: .875em;
	line-height: 1.5;
}

.person-card-cta {
	display: inline-block;
	margin-top: 1em;
	font-size: 14px;
	letter-spacing: 0.05em;
}


/* ==========================================================================
Page — Profile
========================================================================== */

.page-profile {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	padding: 120px 48px 100px;
	max-width: 680px;
	margin: 0 auto;
	width: 100%;
}

.back-link {
	font-size: 13px;
	color: var(--muted);
	letter-spacing: 0.05em;
	margin-bottom: 56px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: color 0.2s;
}

.back-link:hover { color: var(--text); }

.profile-header {
	display: flex;
	gap: 20px;
	margin-bottom: 36px;
	align-items: flex-start;
}

.profile-sq {
	width: 40px;
	height: 40px;
	background: var(--rosa);
	flex-shrink: 0;
	margin-top: 4px;
}

.profile-name {
	font-size: 1.5em;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1;
	margin-bottom: 2px;
}

.profile-role {
	font-size: .875em;
	color: var(--muted);
	letter-spacing: 0.03em;
}

.profile-photo {
	width: 112px;
	height: 112px;
	background: var(--border);
	overflow: hidden;
	flex-shrink: 0;
}

.profile-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.profile-section {
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--border);
}

.profile-section:last-of-type { border-bottom: none; }

.profile-section-label {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: .875em;
}

.profile-section p {
	font-size: .875em;
	line-height: 1.9;
	margin-bottom: 8px;
}

.profile-section p:last-child { margin-bottom: 0; }

.profile-ext-link {
	display: flex;
	align-items: center;
	width: fit-content;
	margin-top: 20px;
	gap: 6px;
	font-size: 1em;
	color: var(--text);
	letter-spacing: 0.02em;
	padding-bottom: 2px;
}

/* ==========================================================================
Page — Contact
========================================================================== */

.page-contact {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 48px;
	max-width: 680px;
	margin: 0 auto;
	width: 100%;
}

.contact-email {
	display: flex;
	align-items: center;
	width: fit-content;
	font-size: 2em;
	line-height: 1.25;
	font-weight: 300;
	letter-spacing: 0.01em;
	padding-bottom: 3px;
}

.contact-note {
	margin-top: 20px;
	font-size: .875em;
	color: var(--muted);
	letter-spacing: 0.04em;
}


/* ==========================================================================
Page — Legal / Imprint
========================================================================== */

.page-legal {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	padding: 120px 48px 100px;
	max-width: 680px;
	margin: 0 auto;
	width: 100%;
}

.legal-title {
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 48px;
}

.legal-block { margin-bottom: 36px; }

.legal-block h3 {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 8px;
}

.legal-block p,
.legal-block address {
	font-size: .875em;
	color: var(--text);
	line-height: 2;
	font-style: normal;
}

.legal-block a {
	color: var(--text);
	border-bottom: 1px solid var(--border);
	padding-bottom: 1px;
	transition: border-color 0.2s;
}

.legal-block a:hover { border-color: var(--rosa); }

.legal-pending {
	font-size: 11px;
	color: var(--muted);
	font-style: italic;
}

hr.legal-rule {
	border: none;
	border-top: 1px solid var(--border);
	margin: 36px 0;
}

.legal-privacy-note {
	margin-top: 12px;
	font-size: .875em;
	color: var(--muted);
}

/* ==========================================================================
Page — Legal / Imprint
========================================================================== */

.privacy-policy p {
	margin-bottom: 2em;
}

.privacy-policy p:last-of-type {
	margin-bottom: 0;
}

/* ==========================================================================
Responsive
========================================================================== */

@media (max-width: 640px) {
	.rosa-square { width: 40vw; height: 40vw; }
	.home-name { font-size: 6vw; }
	nav { padding: 20px 24px; }
	.nav-links ul { gap: 20px; }

	.page-behind,
	.page-profile,
	.page-contact,
	.page-legal {
		padding-left: 24px;
		padding-right: 24px;
	}

	.behind-grid {
		grid-template-columns: 1fr;
		gap: 56px;
	}

	footer { padding: 16px 24px; }
}
