/* Novasite Studio — calm black / white / grey */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4f3f0;
  --bg-alt: #ebe9e3;
  --paper: #fbfaf7;
  --ink: #161616;
  --muted: #5c5c57;
  --faint: #8a8a84;
  --line: #d4d2cb;
  --line-strong: #1a1a1a;
  --focus: #161616;
  --danger: #8a1f1f;
  --ok: #1f6b3a;
  --font-serif: "Newsreader", "Georgia", "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
  --narrow: 720px;
  --space: 7rem;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-padding-top: 5.25rem; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .serif { font-family: var(--font-serif); font-weight: 550; letter-spacing: -0.02em; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}
.narrow { width: min(var(--narrow), calc(100% - 2.5rem)); margin-inline: auto; }

.kicker {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
.section { padding: var(--space) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 38rem; margin-bottom: 3rem; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
}
.section-head p { margin: 0; color: var(--muted); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
  gap: 1rem;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo span { font-weight: 500; color: var(--muted); font-size: 0.95em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--muted);
}
.nav-links a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.2;
}
.btn:hover { background: #000; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: transparent; }
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero */
.hero { padding: 5.5rem 0 5rem; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  max-width: 22ch;
}
.hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 2rem;
}
.hero-meta {
  margin-top: 2.25rem;
  font-size: 0.92rem;
  color: var(--faint);
  letter-spacing: 0.01em;
}

/* Work */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.work-card {
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}
.work-card:hover { border-color: var(--ink); }
.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-alt);
}
.work-card .body { padding: 1.15rem 1.15rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 0.2rem 0.45rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
  width: fit-content;
}
.work-card h3 { font-size: 1.35rem; margin: 0 0 0.4rem; }
.work-card p { margin: 0; color: var(--muted); font-size: 0.95rem; flex: 1; }
.work-card .more { margin-top: 0.9rem; font-size: 0.88rem; color: var(--ink); }
.note {
  margin-top: 1.75rem;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 42rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step { padding-top: 0.25rem; border-top: 1px solid var(--ink); }
.step h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  margin: 1rem 0 0.5rem;
}
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--faint);
  font-weight: 600;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem 1.35rem 1.6rem;
  display: flex;
  flex-direction: column;
}
.plan.featured { border-color: var(--ink); background: #fff; }
.plan h3 { font-size: 1.5rem; margin: 0 0 0.2rem; }
.plan .price {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  letter-spacing: -0.03em;
  margin: 0.6rem 0 0.3rem;
}
.plan .price small { font-family: var(--font-sans); font-size: 0.95rem; color: var(--muted); letter-spacing: 0; }
.plan .tagline { color: var(--muted); margin: 0 0 1.1rem; font-size: 0.95rem; }
.plan ul {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  flex: 1;
}
.plan li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.plan li::before { content: "–"; position: absolute; left: 0; color: var(--faint); }
.maintain {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  padding: 1.2rem 1.4rem;
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}
.maintain h3 { margin: 0 0 0.3rem; font-size: 1.3rem; }
.maintain p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.maintain .price { font-family: var(--font-serif); font-size: 1.8rem; margin: 0; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-grid h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}
.about-grid p { color: var(--muted); margin: 0 0 1rem; }
.about-grid p:last-child { margin-bottom: 0; }
.about-aside {
  border-top: 1px solid var(--ink);
  padding-top: 1.25rem;
}
.about-aside dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  margin-top: 1rem;
}
.about-aside dt:first-child { margin-top: 0; }
.about-aside dd { margin: 0.2rem 0 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2rem 1.1rem 0;
  font-weight: 550;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.05rem;
  color: var(--muted);
  font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  max-width: 40rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact-grid h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}
.contact-copy p { color: var(--muted); margin: 0 0 1rem; }
.mail-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 1.15rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
form { display: grid; gap: 0.85rem; }
label { display: grid; gap: 0.3rem; font-size: 0.9rem; font-weight: 500; }
label.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
input, select, textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
}
textarea { min-height: 8rem; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #b0aea8; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form-status { font-size: 0.95rem; margin: 0; min-height: 1.3em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }

/* Footer + legal */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer nav { display: flex; gap: 1.25rem; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

.legal-main { padding: 4.5rem 0 5rem; }
.legal-main h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.4rem;
}
.legal-main .stand { color: var(--faint); margin: 0 0 2.5rem; font-size: 0.92rem; }
.legal-main h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.5rem;
}
.legal-main p, .legal-main li { color: var(--ink); }
.legal-main p { margin: 0 0 0.8rem; }
.legal-main ul { padding-left: 1.15rem; }
.legal-main a { text-underline-offset: 0.18em; }

.back-link {
  display: inline-block;
  margin: 1.3rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: none;
}
.back-link:hover { color: var(--ink); }

@media (max-width: 900px) {
  :root { --space: 4.5rem; }
  .work-grid, .plans, .steps, .about-grid, .contact-grid, .form-row, .maintain {
    grid-template-columns: 1fr;
  }
  .hero { padding: 3.2rem 0 3.5rem; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.9rem;
  }
  body.nav-open .nav-links { display: flex; }
}

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 0.5rem 1rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }
.btn { transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.work-card { transition: border-color 0.25s ease, transform 0.25s ease; }
.work-card img { transition: transform 0.5s ease; }
.work-card:hover img { transform: scale(1.03); }
.nav-links a { transition: color 0.2s ease; }
.faq summary { transition: color 0.2s ease; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .work-card:hover img { transform: none; }
  .reveal { opacity: 1; transform: none; }
}
