/* antoninaanselmo.com — pixel-faithful rebuild of the Wix site.
   Palette: pure black on white. Fonts: Questrial / Roboto Thin / Mulish (Avenir sub). */

:root {
  --black: #000000;
  --white: #ffffff;
  --line: #dcdcdc;
  --font-head: 'Questrial', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-nav: 'Mulish', 'Helvetica Neue', Arial, sans-serif;
  --content: 980px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 8px;
  top: 8px;
  z-index: 200;
  background: #000;
  color: #fff;
  padding: 8px 14px;
}

/* ---------- Header ---------- */
.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}
.brand {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--black);
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 175px;
}
.nav a {
  font-family: var(--font-nav);
  font-weight: 300;
  font-size: 14px;
  line-height: 35px;
  color: var(--black);
  letter-spacing: 0.01em;
}
.nav a:hover { opacity: 0.55; }
.nav a[aria-current="page"] { border-bottom: 1px solid var(--black); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: none;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--black); display: block; }

.mobile-nav {
  display: none;
  flex-direction: column;
  text-align: center;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  font-family: var(--font-nav);
  font-weight: 300;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

/* ---------- Sections / page shell ---------- */
main { min-height: 50vh; }
.section {
  max-width: var(--content);
  margin: 0 auto;
  padding: 40px 24px 30px;
}

.page-title {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 29px;
  letter-spacing: 10.15px;
  /* pull letter-spacing off the last glyph so text stays centered */
  text-indent: 10.15px;
  color: var(--black);
  margin: 22px 0 26px;
}

/* ---------- About ---------- */
.about-lede {
  font-family: var(--font-body);
  font-weight: 100;
  font-size: 15px;
  line-height: 25.5px;
  text-align: center;
  max-width: 710px;
  margin: 0 auto 34px;
}

/* Gallery slider (Wix Pro Gallery look) */
.gallery { max-width: 820px; margin: 0 auto; }
.gallery-stage {
  position: relative;
  aspect-ratio: 819 / 421;
  background: #000;
  overflow: hidden;
}
.gallery-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-stage img.active { opacity: 1; }
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #000;
  z-index: 2;
}
.gallery-arrow.prev { left: 14px; }
.gallery-arrow.next { right: 14px; }
.gallery-arrow:hover { background: #fff; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.gallery-thumbs button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  aspect-ratio: 6 / 5;
  overflow: hidden;
}
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button[aria-current="true"] { outline: 2px solid #000; outline-offset: -2px; }

/* ---------- Skills ---------- */
.skills-title { letter-spacing: 10.15px; text-indent: 10.15px; }
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 90px;
  max-width: 760px;
  margin: 40px auto 0;
}
.skill-block h3 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 18px;
  margin: 0 0 14px;
}
.skill-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.skill-block li {
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 2.5px;
  padding: 3px 0 3px 18px;
  position: relative;
}
.skill-block li::before {
  content: "•";
  position: absolute;
  left: 0;
  letter-spacing: 0;
}
.skills-grid .op { grid-column: 1; }

/* ---------- Portfolio ---------- */
.portfolio-wrap {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #efefef;
  box-shadow: 0 1px 14px rgba(0, 0, 0, 0.05);
}
.project-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 34px 40px;
  border-bottom: 1px solid var(--line);
}
.project-row:last-child { border-bottom: 0; }
.project-info h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 12px;
}
.project-info p {
  font-family: var(--font-head);
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 10px;
}
.project-info .cat { margin-bottom: 10px; }
.project-media {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.project-media img { max-height: 210px; width: auto; }

/* Portfolio image slider (Content Creation, Mon Ami) */
.pf-slider { width: 100%; max-width: 400px; }
.pf-stage {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #000;
  overflow: hidden;
}
.pf-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.pf-stage img.active { opacity: 1; }
.pf-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #000;
  z-index: 2;
}
.pf-arrow.prev { left: 8px; }
.pf-arrow.next { right: 8px; }
.pf-arrow:hover { background: #fff; }
.pf-count {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  z-index: 2;
}
.doc-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  text-align: center;
  max-width: 150px;
}
.doc-tile img { width: 110px; height: auto; }
.doc-tile span { color: #555; word-break: break-word; }
.media-caption {
  width: 100%;
  text-align: center;
  font-family: var(--font-head);
  font-size: 12px;
  color: #333;
  margin-top: 6px;
}

/* ---------- Contact ---------- */
.contact-heading {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 35px;
  color: var(--black);
  margin: 30px 0 40px;
}
.contact-heading::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: #000;
  margin-right: 14px;
  vertical-align: middle;
}
.contact-card {
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid #efefef;
  box-shadow: 0 1px 14px rgba(0, 0, 0, 0.05);
  padding: 60px 70px 70px;
}
.contact-form { display: block; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-form label {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--black);
  margin-bottom: 26px;
}
.contact-form .lbl { display: block; margin-bottom: 8px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--black);
  background: var(--white);
  border: none;
  border-bottom: 1px solid #8a8a8a;
  padding: 6px 4px;
  border-radius: 0;
}
.contact-form textarea { resize: vertical; min-height: 70px; }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-bottom-color: #000; }
.btn-send {
  margin-top: 14px;
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 22px;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 11px 26px;
  cursor: pointer;
}
.btn-send:hover { background: #222; }
.hidden-field { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 26px 40px 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-head);
  font-size: 14px;
}
.foot-copy { line-height: 1.5; }
.foot-contact {
  display: flex;
  gap: 60px;
  text-align: center;
  flex: 1;
  justify-content: center;
}
.foot-contact .label { display: block; margin-bottom: 6px; }
.foot-follow { text-align: center; }
.foot-follow .label { display: block; margin-bottom: 10px; }
.social {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.social a { line-height: 0; }
.social svg { width: 18px; height: 18px; fill: #000; }

/* ---------- Responsive ---------- */
@media (max-width: 780px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header { padding: 24px 20px 10px; justify-content: space-between; }
  .mobile-nav.open { display: flex; }
  .skills-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .skills-grid .op { grid-column: 1; }
  .skill-block li { display: inline-block; text-align: left; }
  .project-row { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .contact-card { padding: 36px 24px 44px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer { flex-direction: column; align-items: center; text-align: center; gap: 22px; }
  .foot-contact { flex-direction: column; gap: 18px; }
}
