/* Tenfold Filmmaker static site. Rebuilt from the Ghost (Fumio theme) site on 2026-11-03.
   Tokens match the live theme: white ground, black accent, 8px radius, 30px rounded, 1280 max. */
:root {
  --black: #000;
  --dark: #1a1a1a;
  --text: #1a1a1a;
  --text-acc: #4d4d4d;
  --grey: #999;
  --border: #ebebeb;
  --bg: #fff;
  --bg-acc: #f7f7f7;
  --radius: 8px;
  --rounded: 30px;
  --max: 1280px;
  --wide: 960px;
  --content: 680px;
  --header-h: 80px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(circle, #d9d9d9 1px, transparent 1px);
  background-size: 40px 40px;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrapper { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: var(--content); margin: 0 auto; }

/* header */
.header { height: var(--header-h); display: flex; align-items: center; background: #fff; position: relative; z-index: 20; }
.header .wrapper { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav > li { position: relative; }
.nav > li > button, .nav > li > a {
  background: none; border: 0; font: inherit; font-weight: 500; color: var(--text); cursor: pointer;
  padding: .5rem 0; display: inline-flex; align-items: center; gap: .3rem; text-decoration: none;
}
.nav > li > button::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav .sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: .5rem 0; list-style: none; margin: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.nav > li.open .sub { display: block; }
.nav .sub a { display: block; padding: .5rem 1rem; text-decoration: none; color: var(--text-acc); }
.nav .sub a:hover { background: var(--bg-acc); color: var(--text); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: #fff; cursor: pointer; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--black); margin: 3px auto; }

/* buttons + forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--black); color: #fff; border: 0; border-radius: var(--rounded);
  font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  padding: .95rem 2rem; cursor: pointer; text-decoration: none; transition: opacity .2s;
}
.btn:hover { opacity: .85; }
.btn:disabled { opacity: .6; cursor: default; }
.form { display: flex; flex-direction: column; gap: .75rem; max-width: 480px; }
.form input {
  font: inherit; width: 100%; padding: .95rem 1.1rem; border: 1px solid var(--border);
  border-radius: var(--rounded); background: #fff; color: var(--text);
}
.form input:focus { outline: 2px solid var(--black); outline-offset: 1px; }
.form .btn { width: 100%; }
.form.inline { flex-direction: row; background: var(--bg-acc); border-radius: var(--rounded); padding: 0; max-width: 420px; }
.form.inline input { background: transparent; border: 0; flex: 1; }
.form.inline .btn { width: auto; }
.form .msg { font-size: .95rem; color: var(--text-acc); display: none; }
.form.done .msg { display: block; }
.form.done .btn, .form.done input { display: none; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: 1.5rem 0 3rem; }
.hero__title { color: var(--black); }
.hero__desc { color: var(--text-acc); margin-bottom: 1.5rem; }
.hero__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3.5; object-fit: cover; }

/* sections */
.section { padding: 2rem 0; }
.section__mini { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--grey); font-weight: 700; padding-bottom: .75rem; border-bottom: 1px solid var(--border); margin: 0 0 1.5rem; }
.logos { display: flex; justify-content: space-between; align-items: center; gap: 2rem; list-style: none; margin: 0 0 1rem; padding: 0 0 1.5rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.logos li { flex: 1; min-width: 120px; display: flex; justify-content: center; }
.logos img { max-height: 44px; width: auto; max-width: 130px; object-fit: contain; }
.logos.large img { max-height: 90px; max-width: 220px; }

/* page (Ghost "page" layout) */
.page { padding: 2rem 0 4rem; }
.page__title { text-align: center; max-width: var(--wide); margin: 0 auto 1.5rem; }
.page__body { max-width: var(--content); margin: 0 auto; font-size: 1.15rem; }
.page__body h2, .page__body h3, .page__body h4 { margin-top: 1.5em; }
.page__body .center { text-align: center; }
.page__body hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
.page__body .form { margin: 1.5rem auto; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin: 0 0 1.5rem; }
.card img { border-radius: var(--radius); margin-bottom: 1rem; }
.card h4 { margin-top: 0; }
.center { text-align: center; }
.form.center { margin-left: auto; margin-right: auto; }

/* footer */
.footer { margin-top: 2rem; }
.footer__content { border-top: 1px solid var(--border); padding: 2.5rem 0 1rem; display: grid; grid-template-columns: 1.4fr 1fr .6fr; gap: 2rem; }
.footer__logo { height: 40px; width: auto; margin-bottom: .75rem; }
.footer__desc { color: var(--text-acc); margin-bottom: 1rem; }
.footer h5 { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-acc); margin: .5rem 0 .75rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 .4rem; }
.footer a { text-decoration: none; color: var(--text-acc); }
.footer a:hover { color: var(--text); }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.footer__copy { text-align: center; color: var(--text-acc); font-size: .9rem; padding: 2rem 0 2.5rem; }
.social a { display: inline-flex; align-items: center; gap: .4rem; }
.social svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .footer__content { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1rem 1rem; border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; }
  .nav .sub { position: static; border: 0; box-shadow: none; padding: 0 0 .5rem .75rem; }
  .nav > li.open .sub { display: block; }
  .menu-btn { display: block; }
  .logos { justify-content: center; }
}
@media (max-width: 600px) {
  .form.inline { flex-direction: column; background: none; }
  .form.inline input { background: #fff; border: 1px solid var(--border); }
  .form.inline .btn { width: 100%; }
}
