/* The Philosophy of Dress - site styles / fairform */
/* Tokens */
:root {
  --bg: #0a0a0a;
  --fg: #ededed;
  --fg-soft: #d8d8d8;
  --fg-softer: #cfcfcf;
  --muted: #8a8a8a;
  --rule: #2a2a2a;
  --serif: "EB Garamond", "Times New Roman", Times, serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
  --measure: 640px;
  --track-tight: 0.04em;
  --track: 0.12em;
  --track-wide: 0.22em;
  --track-widest: 0.28em;
  --step-0: 11px;
  --step-1: 12px;
  --step-2: 16px;
  --step-3: 18px;
  --step-4: 1.15rem;
  --step-5: 3.25rem;
  --space-1: 0.5rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.75rem;
  --space-6: 3.5rem;
}
/* Reset */
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html, body { min-height: 100%; }
img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
hr {
  border: 0;
}
/* Base */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  font-size: var(--step-3);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
::selection {
  background: var(--fg);
  color: var(--bg);
}
a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.2s ease, color 0.2s ease;
}
a:hover {
  border-color: var(--fg);
}
a:focus {
  outline: 1px solid var(--fg);
  outline-offset: 3px;
  border-color: transparent;
}
/* Layout */
.site {
  width: 100%;
}
.hero {
  margin: 8vh auto 0;
  padding: 0 24px;
  text-align: center;
  box-sizing: border-box;
}
.hero img {
  display: inline-block;
  width: 756px;
  height: 320px;
  max-width: calc(100% - 48px);
  object-fit: contain;
}
.main,
main.main {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  min-height: 0 !important;
  display: block;
  padding: 6vh 24px 10vh;
  max-width: var(--measure);
  margin: 0 auto;
  text-align: center;
  flex: 1 0 auto;
}
/* Typography */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--step-0);
  letter-spacing: var(--track-widest);
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--space-5);
}
.title {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: var(--step-5);
  line-height: 1.35;
  letter-spacing: var(--track-tight);
  margin: 0 0 var(--space-3);
  color: var(--fg);
  animation: none !important;
  opacity: 1 !important;
}
.title .hl {
  position: relative;
  display: inline-block;
  color: #111;
  padding: 0.02em 0.28em;
  z-index: 0;
}
.title .hl::before {
  content: "";
  position: absolute;
  inset: 0.05em -0.05em;
  background: #fff;
  transform: skewX(-14deg);
  z-index: -1;
}
.logline {
  font-size: var(--step-4);
  font-style: italic;
  color: var(--fg-softer);
  max-width: 38ch;
  margin: 0 auto var(--space-4);
}
.synopsis {
  max-width: 54ch;
  margin: 0 auto;
  color: var(--fg-soft);
}
/* Rule */
.rule {
  width: 40px;
  height: 1px;
  background: var(--rule);
  margin: var(--space-5) auto;
}
/* Credits */
.credits {
  margin-top: var(--space-6);
  font-family: var(--sans);
  font-size: var(--step-1);
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--muted);
  line-height: 2;
}
.credits p {
  margin: 0.15rem 0;
}
.credits .role {
  color: var(--muted);
}
.credits .name {
  color: var(--fg);
  letter-spacing: 0.08em;
}
/* Status */
.status {
  margin-top: var(--space-5);
  font-family: var(--sans);
  font-size: var(--step-0);
  letter-spacing: var(--track-widest);
  text-transform: uppercase;
  color: var(--muted);
}
.status .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--fg);
  border-radius: 50%;
  margin-right: 10px;
  transform: translateY(-2px);
  opacity: 0.8;
}
/* Contact */
.contact {
  margin-top: var(--space-6);
  font-family: var(--sans);
  font-size: var(--step-1);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
}
.contact .label {
  display: block;
  color: var(--muted);
  margin-bottom: var(--space-1);
}
.contact a {
  font-family: var(--serif);
  font-size: var(--step-2);
  letter-spacing: var(--track-tight);
  text-transform: none;
}
/* Footer */
.footer {
  flex-shrink: 0;
  margin-top: 4rem;
  padding: 3rem 24px 2rem;
  text-align: center;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: var(--track-widest);
  text-transform: uppercase;
  color: var(--muted);
}
.footer .mark {
  color: var(--fg);
}
/* Utilities */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
}
/* Motion — simple fade on body to avoid staggered-animation edge cases */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
body {
  animation: fadeIn 0.6s ease both;
}
/* Responsive */
@media (max-width: 520px) {
  .main {
    padding: 12vh 20px 6vh;
  }
  .title {
    font-size: 2.5rem;
  }
  .credits {
    letter-spacing: 0.1em;
  }
}
/* Print */
@media print {
  body {
    background: #fff;
    color: #111;
  }
  .eyebrow,
  .credits,
  .status,
  .contact .label,
  .footer {
    color: #555;
  }
  .synopsis,
  .logline {
    color: #222;
  }
  .rule {
    background: #bbb;
  }
  .credits .name,
  .footer .mark {
    color: #111;
  }
  .main > * {
    animation: none;
  }
  a {
    border-bottom: 0;
    color: #111;
  }
}