/* emmafioreweb.com · Wind Vane */
:root {
  --bg: #1c1f28;
  --ink: #f0ece7;
  --soft: #b2aaa2;
  --accent: #5fa3a6;
  --line: #2f333c;
  --panel: #242732;
  --display: "Vina Sans", "Arial Narrow", Impact, sans-serif;
  --body: "Poltawski Nowy", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.72;
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
.shell { max-width: 1188px; margin: 0 auto; padding: 0 24px; }
.shell-wide { max-width: 1248px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px 24px; min-height: 74px; padding-top: 10px; padding-bottom: 10px;
  flex-wrap: wrap;
}
.wordmark {
  font-family: var(--display); font-size: 19px; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.main-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; }
.main-nav a {
  font-family: var(--body); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.main-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.main-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.nav-vane { display: flex; color: var(--soft); }
.btn {
  display: inline-block; background: var(--accent); color: var(--bg);
  font-family: var(--body); font-weight: 500; font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none; padding: 11px 16px;
  border: 1px solid var(--accent); white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.hero-side .btn { padding: 13px 20px; font-size: 11px; }
.main-nav a.btn { color: var(--bg); border-bottom: none; padding: 8px 12px; }
.main-nav a.btn:hover { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.vane { display: block; }
.vane .ball { fill: var(--accent); }

/* hero */
.hero { padding-top: 34px; }
.hero-top { display: block; }
.kicker-row { display: flex; justify-content: space-between; gap: 16px; }
.kicker {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--soft); line-height: 1.2;
}
.rule-row { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.hero-rule { flex: 1; height: 1px; background: var(--line); }
.hero-vane { flex: none; color: var(--soft); }
.hero-row {
  display: grid; grid-template-columns: 300fr 480fr 300fr; gap: 20px;
  align-items: end; max-width: 1120px; margin: 26px auto 0;
}
.hero-row figure { margin: 0; border: 1px solid var(--line); overflow: hidden; aspect-ratio: 1 / 1; }
.hero-row img { display: block; width: 100%; height: 100%; object-fit: cover; }
.h-left img { object-position: 50% 30%; }
.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 36px; margin-top: 30px;
}
.hero-title {
  font-family: var(--display); font-weight: 400; font-size: 96px; line-height: .92;
  letter-spacing: .01em; text-transform: uppercase; margin: 0;
}
.hero-title span { display: block; }
.hero-side { display: flex; align-items: flex-end; gap: 26px; }
.hero-lead { margin: 0; max-width: 34ch; font-size: 16px; line-height: 1.62; color: var(--soft); }

/* sections */
.section { padding-top: 62px; }
.sec-head {
  display: flex; align-items: baseline; gap: 16px;
  border-top: 1px solid var(--line); padding-top: 13px; margin-bottom: 20px;
}
.sec-no {
  font-family: var(--display); font-size: 13px; letter-spacing: .12em;
  line-height: 1; color: var(--accent); margin: 0;
}
.sec-head h2 {
  font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1;
  letter-spacing: .01em; text-transform: uppercase; margin: 0;
}
.sec-sub { margin-left: auto; font-size: 11px; letter-spacing: .04em; color: var(--soft); }
.sec-note { margin: -6px 0 18px; max-width: 56ch; font-size: 14px; line-height: 1.6; color: var(--soft); }

/* 01 partners */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1108px; }
.pcard { position: relative; height: 116px; margin-top: 8px; }
.ptag {
  position: absolute; top: -8px; left: 14px; width: 36px; height: 16px; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--line);
  font-family: var(--display); font-size: 9px; letter-spacing: .1em; color: var(--soft);
}
.ptag-first { color: var(--accent); border-color: rgba(95, 163, 166, .55); }
.pbox {
  display: flex; flex-direction: column; align-items: center; height: 100%;
  border: 1px solid var(--line); background: var(--panel);
  padding: 12px 12px 9px; text-decoration: none;
}
.pbox img { width: 128px; height: 77px; object-fit: contain; opacity: .92; }
.pbox:hover img { opacity: 1; }
.pbox:hover { border-color: var(--soft); }
.pname {
  margin-top: auto; font-size: 8px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--soft);
}

/* 02 quick profile */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1108px; }
.fact {
  border: 1px solid var(--line); height: 84px; padding: 8px 14px;
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
}
.fact b {
  font-family: var(--display); font-weight: 400; font-size: 20px;
  letter-spacing: .02em; text-transform: uppercase; line-height: 1.1;
}
.fact span { font-size: 8px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }

/* 03 about */
.about { display: grid; grid-template-columns: 480px minmax(0, 1fr); gap: 56px; align-items: start; }
.about-fig { margin: 0; position: relative; }
.about-fig img { display: block; width: 480px; height: 480px; object-fit: cover; border: 1px solid var(--line); }
.about-vane { position: absolute; top: -28px; left: -16px; color: var(--soft); }
.about-h {
  font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.02;
  letter-spacing: .01em; text-transform: uppercase; margin: 0 0 14px;
}
.about-cols { columns: 2; column-gap: 30px; font-size: 16px; }
.about-cols p { margin: 0 0 1em; break-inside: avoid; }
.notes { margin: 20px 0 0; font-size: 12px; line-height: 1.55; color: var(--soft); max-width: 64ch; }

/* 04 career log */
.log { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1108px; }
.cell { border: 1px solid var(--line); min-height: 120px; padding: 12px 14px; }
.cell .y {
  display: block; font-family: var(--display); font-size: 11px; letter-spacing: .08em;
  color: var(--soft); margin-bottom: 6px;
}
.cell.hot .y { color: var(--accent); }
.cell p { margin: 0; font-size: 13px; line-height: 1.45; }
.cell.blank { display: flex; align-items: center; justify-content: center; color: var(--soft); }

/* 05 gallery */
.gal { display: grid; grid-template-columns: 400fr 180fr 180fr 180fr 180fr; gap: 16px; max-width: 1184px; align-items: start; }
.gal figure { position: relative; margin: 0; border: 1px solid var(--line); }
.gal figure::before {
  content: ""; position: absolute; top: -8px; left: -8px; width: 5px; height: 5px;
  background: var(--ink); z-index: 2;
}
.gal img { display: block; width: 100%; height: 100%; object-fit: cover; }
.g-main { aspect-ratio: 1 / 1; }
.g-thumb { aspect-ratio: 361 / 640; }

/* 06 social */
.social {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto);
  grid-auto-flow: column; column-gap: 56px;
}
.social a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.social .plat { font-size: 8px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.social .handle { font-size: 12px; color: var(--ink); }
.social a:hover .handle { color: var(--accent); }
.social a:hover { border-bottom-color: var(--soft); }
.figure-note { margin: 26px 0 0; text-align: right; font-size: 11px; letter-spacing: .04em; color: var(--soft); }

/* footer */
.site-footer { margin-top: 84px; padding-bottom: 26px; }
.footer-rule { display: flex; align-items: center; gap: 10px; }
.footer-rule .rule-line { flex: 1; height: 1px; background: var(--line); }
.footer-rule .rule-tail { width: 66px; height: 1px; background: var(--line); }
.footer-rule .vane { color: var(--soft); }
.footer-grid {
  display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 20px;
  align-items: start; padding-top: 22px;
}
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.brand-name { font-family: var(--display); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.brand-line { font-size: 11px; color: var(--soft); }
.language-nav { display: flex; flex-wrap: wrap; justify-content: center; font-size: 11px; }
.language-nav a { color: var(--soft); text-decoration: none; padding: 0 2px; }
.language-nav a + a::before { content: " / "; color: var(--line); }
.language-nav a:hover { color: var(--ink); }
.language-nav a[aria-current="page"] { color: var(--accent); }
.footer-legal { margin: 0; font-size: 11px; color: var(--soft); text-align: right; }
.footer-fine { margin: 18px 0 0; font-size: 11px; line-height: 1.7; color: var(--soft); }

/* subpages */
.page-top { padding: 62px 0 34px; border-bottom: 1px solid var(--line); }
.eyebrow {
  margin: 0; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.page-top h1 {
  font-family: var(--display); font-weight: 400; font-size: 72px; line-height: .95;
  letter-spacing: .01em; text-transform: uppercase; margin: 10px 0 0;
}
.page-top .lead { margin: 16px 0 0; max-width: 62ch; font-size: 17px; line-height: 1.65; color: var(--soft); }
.prose { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; padding-top: 44px; }
.prose-block { margin-bottom: 34px; }
.prose-block h2 {
  font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.05;
  letter-spacing: .02em; text-transform: uppercase; margin: 0 0 10px;
}
.prose-block p { margin: 0 0 1em; max-width: 56ch; }
.rail { border: 1px solid var(--line); background: var(--panel); padding: 18px 18px 14px; }
.rail h2 {
  margin: 0 0 12px; font-family: var(--body); font-weight: 500; font-size: 8px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--soft);
}
.rail dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px 12px; margin: 0; font-size: 12px; }
.rail dt { color: var(--soft); }
.rail dd { margin: 0; }
.table-wrap { margin: 4px 0 34px; overflow-x: auto; }
.film-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.film-table th {
  text-align: left; font-size: 8px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--soft); font-weight: 400; border-bottom: 1px solid var(--line);
  padding: 0 12px 8px 0;
}
.film-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.career-log { list-style: none; margin: 0; padding: 0; }
.career-log li { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.career-log .when { font-family: var(--display); font-size: 11px; letter-spacing: .08em; color: var(--soft); padding-top: 2px; }
.career-log .what { font-size: 14px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-list summary {
  font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1.25;
  text-transform: none; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-family: var(--display); }
.faq-list details[open] summary::after { content: "·"; }
.faq-list .answer p { margin: 8px 0 0; max-width: 56ch; color: var(--soft); font-size: 15px; }

/* 404 */
.notfound { padding: 110px 0 130px; }
.notfound h1 {
  font-family: var(--display); font-weight: 400; font-size: 84px; line-height: .95;
  text-transform: uppercase; margin: 10px 0 0;
}
.notfound .lead { margin: 16px 0 26px; color: var(--soft); max-width: 52ch; }

@media (max-width: 1080px) {
  .hero-row { gap: 16px; }
  .hero-title { font-size: 76px; }
  .hero-lead { max-width: 30ch; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ptag { top: 6px; left: 8px; }
  .pbox { padding-top: 16px; }
  .about { grid-template-columns: 400px minmax(0, 1fr); gap: 40px; }
  .about-fig img { width: 400px; height: 400px; }
  .gal { gap: 12px; }
  .prose { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
}

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 34px; }
  .about-fig img { width: 100%; max-width: 480px; height: auto; aspect-ratio: 1 / 1; }
  .about-vane { top: -22px; left: -6px; }
}

@media (max-width: 860px) {
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-side { flex-wrap: wrap; }
  .prose { grid-template-columns: 1fr; gap: 34px; }
  .rail { max-width: 420px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .shell, .shell-wide { padding: 0 18px; }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 8px; padding: 14px 0 12px; }
  .main-nav { gap: 2px 14px; }
  .main-nav a { font-size: 9.5px; letter-spacing: .1em; }
  .main-nav a.btn { padding: 7px 10px; }
  .nav-vane { display: none; }
  .hero { padding-top: 24px; }
  .hero-row { grid-template-columns: 1fr; gap: 0; }
  .h-left, .h-right { display: none; }
  .h-mid { aspect-ratio: 1 / 1; }
  .hero-title { font-size: 58px; }
  .hero-lead { max-width: 38ch; }
  .section { padding-top: 46px; }
  .sec-sub { display: none; }
  .sec-head h2 { font-size: 26px; }
  .pgrid { grid-template-columns: 1fr; }
  .ptag { top: -8px; left: 12px; }
  .pbox { padding-top: 12px; }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { height: 78px; }
  .about { grid-template-columns: 1fr; gap: 30px; }
  .about-fig img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .about-vane { top: -22px; left: -6px; }
  .about-cols { columns: 1; }
  .about-h { font-size: 24px; }
  .log { grid-template-columns: 1fr; }
  .cell { min-height: 0; }
  .cell.blank { display: none; }
  .gal { grid-template-columns: 1fr 1fr; gap: 10px; }
  .g-main { grid-column: 1 / -1; }
  .g-thumb { aspect-ratio: 361 / 640; }
  .social { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; column-gap: 0; }
  .figure-note { text-align: left; }
  .site-footer { margin-top: 56px; }
  .footer-rule .rule-tail { width: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 14px; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
  .page-top { padding: 40px 0 26px; }
  .page-top h1 { font-size: 46px; }
  .page-top .lead { font-size: 16px; }
  .prose { padding-top: 30px; }
  .career-log li { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; }
  .notfound { padding: 70px 0 90px; }
  .notfound h1 { font-size: 52px; }
}

/* partner logo plate: guarantee legibility of supplied marks on any ground */
a img[src*="/assets/partners/"] {
  background: #f4efe6;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
}
