/*
Theme Name: Undeterred Pictures
Theme URI: https://undeterredpictures.com
Author: Undeterred Pictures
Description: A focused, editable portfolio theme for Undeterred Pictures and Ben Brooks.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: undeterred-pictures
*/

:root {
  color-scheme: dark;
  --black: #000;
  --white: #f2f0ec;
  --silver: #c5c2bd;
  --grey: #8f8b85;
  --line: #222;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  margin-top: 0 !important;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar { padding-top: 32px; }
a { color: inherit; }

.shell {
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.header-logo {
  width: min(420px, 56vw);
  height: auto;
  display: block;
}

.contact-link,
.section-label,
.role,
.project-genre {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .30em;
  text-transform: uppercase;
}

.contact-link {
  text-decoration: none;
  transition: opacity .2s ease;
}

.contact-link:hover,
.contact-link:focus-visible,
.email:hover,
.email:focus-visible,
.phone:hover,
.phone:focus-visible { opacity: .58; }

.hero {
  min-height: calc(100svh - 110px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 52px 0 94px;
}

.hero-logo {
  display: block;
  width: min(100%, 1080px);
  height: auto;
  margin: 0 auto 48px;
}

.motto {
  margin: 0 0 68px;
  font: 400 clamp(19px, 2.3vw, 30px)/1.35 Georgia, "Times New Roman", serif;
  letter-spacing: .03em;
}

.role {
  margin: 0 0 18px;
  color: var(--grey);
}

.person-name {
  margin: 0;
  font: 400 clamp(52px, 8vw, 100px)/.95 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}

.site-section {
  border-top: 1px solid var(--line);
  padding: clamp(88px, 11vw, 148px) 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(170px, .7fr) minmax(0, 1.65fr);
  gap: clamp(42px, 8vw, 130px);
  align-items: start;
}

.section-label {
  margin: 5px 0 0;
  color: var(--grey);
}

.statement {
  margin: 0;
  max-width: 790px;
  font: 400 clamp(31px, 4.3vw, 57px)/1.13 Georgia, "Times New Roman", serif;
  letter-spacing: -.03em;
}

.bio {
  margin: 35px 0 0;
  max-width: 710px;
  color: var(--silver);
  font-size: clamp(16px, 1.65vw, 20px);
  line-height: 1.65;
}

.film-title {
  margin: 0 0 31px;
  font: 400 clamp(60px, 10vw, 132px)/.86 Georgia, "Times New Roman", serif;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.film-copy {
  margin: 0;
  max-width: 790px;
  font: 400 clamp(22px, 2.8vw, 36px)/1.35 Georgia, "Times New Roman", serif;
  color: var(--silver);
}

.cast {
  margin: 38px 0 0;
  max-width: 760px;
  color: var(--grey);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.projects-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 45px;
}

.projects-head h2 {
  margin: 0;
  font: 400 clamp(38px, 5.5vw, 72px)/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}

.projects { border-top: 1px solid var(--line); }

.project {
  min-height: 124px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, .8fr);
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.project-title {
  margin: 0;
  font: 400 clamp(30px, 4.2vw, 54px)/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.project-genre {
  margin: 0;
  color: var(--grey);
  line-height: 1.55;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(82px, 10vw, 130px) 0 52px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(170px, .7fr) minmax(0, 1.65fr);
  gap: clamp(42px, 8vw, 130px);
}

.contact-name {
  margin: 0 0 8px;
  font: 400 clamp(42px, 6vw, 76px)/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.04em;
}

.contact-role {
  margin: 0 0 42px;
  color: var(--grey);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.email,
.phone {
  display: block;
  width: fit-content;
  text-decoration: none;
  overflow-wrap: anywhere;
  font: 400 clamp(21px, 3vw, 38px)/1.35 Georgia, "Times New Roman", serif;
  transition: opacity .2s ease;
}

.phone { margin-top: 5px; }

.copyright {
  margin: 100px 0 0;
  color: #67635e;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

@media (max-width: 782px) {
  body.admin-bar { padding-top: 46px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 30px, 1160px); }
  .site-header { height: 84px; }
  .header-logo { width: min(275px, 72vw); }
  .hero { min-height: calc(100svh - 84px); padding: 48px 0 76px; }
  .hero-logo { width: calc(100% + 15px); margin-left: -7.5px; margin-bottom: 38px; }
  .motto { margin-bottom: 56px; }
  .two-column,
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .project { grid-template-columns: 1fr; gap: 10px; min-height: 0; padding: 30px 0; }
  .projects-head { display: block; margin-bottom: 30px; }
  .projects-head .section-label { margin-bottom: 17px; }
  .copyright { margin-top: 75px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
