/* ── Home ── */

.home-body {
  background: var(--bg);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  padding: 0 4rem 0 7rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
}

/* Top bar — 3 colonnes style Swiss */
.hero-topbar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  padding-top: 5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(14,14,14,0.1);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.hero-topbar:hover {
  opacity: 0.7;
}

.hero-topbar-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-topbar-center {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 280px;
}

.hero-topbar-right {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}

/* Central name block — Swiss bold */
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  padding: 0 0 2rem;
  gap: 1.5rem;
  position: relative;
}

.hero-name {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
}

.hero-name-line {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 10rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
  display: block;
  text-shadow: 0 0 0 currentColor, 0 0 0 currentColor, 0 0 0 currentColor, 0 0 0 currentColor;
  transition: letter-spacing 0.6s cubic-bezier(.25,.46,.45,.94),
              transform 0.4s cubic-bezier(.25,.46,.45,.94),
              text-shadow 0.6s cubic-bezier(.25,.46,.45,.94);
  transform-origin: left center;
}

.hero-name-line:hover {
  letter-spacing: 0.05em;
  transform: scaleY(1.03);
  text-shadow: -0.8px -0.8px 0 currentColor, 0.8px -0.8px 0 currentColor, -0.8px 0.8px 0 currentColor, 0.8px 0.8px 0 currentColor;
}

.hero-name-line .title-strike {
  overflow: hidden;
}

.hero-name-line:hover .title-strike path {
  stroke-dashoffset: 0;
}

.hero-name-line.red {
  color: var(--accent-red);
}

/* Right side — photo only */
.hero-right {
  display: flex !important;
  flex-direction: column;
  align-self: center;
  position: relative;
}

/* Sub content under name */
.hero-sub-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
  max-width: 380px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
}

/* Hero photo */
.hero-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 70vh;
  overflow: hidden;
  margin-bottom: -2rem;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 15%;
  filter: grayscale(100%);
  display: block;
}

.hero-signature {
  position: absolute;
  bottom: -10rem;
  right: 0.5rem;
  width: 58%;
  height: auto;
  z-index: 2;
}

/* Hero sub — hidden (layout géré autrement) */
.hero-sub { display: none; }

/* Hero bottom strip */
.hero-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(14,14,14,0.08);
}

.hero-strip-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hero-strip-value {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text);
}

/* ── Latest Works ── */
.latest-works {
  padding: 6rem 4rem;
  background: var(--bg-alt);
  position: relative;
}

.rubrique {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.rubrique::before {
  content: '—';
  color: var(--accent-red);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(14,14,14,0.08);
}

.latest-works .section-header {
  flex-direction: row-reverse;
}

.latest-works .section-title {
  text-align: right;
  transform-origin: right center;
}

.section-title-link {
  text-decoration: none;
  color: inherit;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--text);
  text-shadow: 0 0 0 currentColor, 0 0 0 currentColor, 0 0 0 currentColor, 0 0 0 currentColor;
  transition: letter-spacing 0.5s cubic-bezier(.25,.46,.45,.94),
              transform 0.4s cubic-bezier(.25,.46,.45,.94),
              text-shadow 0.5s cubic-bezier(.25,.46,.45,.94);
  display: inline-block;
  transform-origin: left center;
}

.section-title:hover {
  letter-spacing: 0.04em;
  transform: scaleY(1.04);
  text-shadow: -0.7px -0.7px 0 currentColor, 0.7px -0.7px 0 currentColor, -0.7px 0.7px 0 currentColor, 0.7px 0.7px 0 currentColor;
}

.section-title span {
  color: var(--accent-red);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.work-card {
  position: relative;
  overflow: hidden;
  background: #d8d5ce;
  height: 480px;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.8s cubic-bezier(.25,.46,.45,.94), filter 0.5s;
}

.work-card:hover img {
  transform: scale(1.07);
  filter: grayscale(30%);
}

/* Glassmorphism overlay */
.work-card-info {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(248,248,246,0.18);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid rgba(248,248,246,0.3);
  color: var(--white);
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.35s, transform 0.35s;
}

.work-card:hover .work-card-info {
  opacity: 1;
  transform: translateY(0);
}

.work-card-info h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  mix-blend-mode: normal;
}

/* Placeholder photo */
.work-placeholder {
  border: 1px dashed rgba(14,14,14,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  animation: shimmer 2.5s ease-in-out infinite;
}

.work-placeholder::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(14,14,14,0.15);
  border-radius: 50%;
}

.work-placeholder::after {
  content: '[ Photo ]';
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(14,14,14,0.2);
}

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

.section-cta {
  margin-top: 3rem;
  display: flex;
  justify-content: flex-end;
}

/* ── About ── */
.about-section {
  padding: 0 4rem 8rem;
}

.about-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(14,14,14,0.08);
  margin-bottom: 5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
  align-items: start;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}


/* Portrait about */
.about-photo-slot {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.about-photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  filter: grayscale(100%);
}

/* About heading — plus sobre que le Anton */
.about-heading {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: 0;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 0.75rem;
}

.about-text {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
}

.about-text-secondary {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(14,14,14,0.1);
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(14,14,14,0.08);
}

.about-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.about-detail-value {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--text);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .about-section { padding: 0 1.5rem 5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-photo-slot { aspect-ratio: 4/3; }
}

@media (max-width: 480px) {
  .about-top { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ── Latest Journal ── */
.latest-journal {
  padding: 3rem 4rem 6rem;
  position: relative;
}

.journal-list {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
}

.journal-item {
  display: grid;
  grid-template-columns: 72px 8rem 1fr 6rem;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(20,20,20,0.08);
  text-decoration: none;
  color: var(--text);
  transition: padding-left 0.3s ease;
}

.journal-thumb {
  width: 72px;
  height: 54px;
  overflow: hidden;
  background: rgba(14,14,14,0.06);
}

.journal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
  transition: transform 0.5s cubic-bezier(.25,.46,.45,.94), filter 0.4s;
}

.journal-thumb img[data-color="true"] { filter: none; }

.journal-item:hover .journal-thumb img {
  transform: scale(1.08);
  filter: grayscale(20%);
}

.journal-item:last-child {
  border-bottom: 1px solid rgba(20,20,20,0.08);
}

.journal-item:hover {
  padding-left: 1rem;
}

.journal-item:hover .journal-title {
  color: var(--accent-red);
  text-shadow: -0.5px -0.5px 0 currentColor, 0.5px -0.5px 0 currentColor, -0.5px 0.5px 0 currentColor, 0.5px 0.5px 0 currentColor;
}

.journal-date {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--text-light);
  text-transform: uppercase;
}

.journal-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.005em;
  line-height: 1;
  text-shadow: 0 0 0 currentColor, 0 0 0 currentColor, 0 0 0 currentColor, 0 0 0 currentColor;
  transition: color 0.2s, text-shadow 0.5s cubic-bezier(.25,.46,.45,.94);
}

.journal-arrow {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: right;
  transition: transform 0.2s;
}

.journal-item:hover .journal-arrow {
  transform: translateX(6px);
  color: var(--accent-red);
}

.journal-empty {
  padding: 3rem 0;
  color: var(--text-light);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero { padding: 0 1.5rem; }

  .hero-topbar {
    grid-template-columns: 1fr 1fr;
    padding-top: 5.5rem;
    padding-bottom: 1rem;
  }

  .hero-topbar-center { display: none; }
  .hero-topbar-right { align-items: flex-end; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 1.5rem 0 2rem;
    gap: 1.5rem;
  }

  .hero-img-wrap {
    display: block;
    min-height: 55vw;
    max-height: 70vw;
  }

  .hero-signature {
    width: 38%;
    bottom: -4rem;
  }

  .work-card { height: 240px; }

  .latest-works { padding: 4rem 1.5rem; }
  .latest-journal { padding: 4rem 1.5rem; }

  .journal-item {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .journal-thumb { display: none; }
  .journal-date { grid-column: 1 / -1; }
  .journal-arrow { grid-row: 1; grid-column: 2; }
  .journal-title { grid-column: 1; }
}

@media (max-width: 480px) {
  .hero-topbar { grid-template-columns: 1fr; gap: 0.25rem; }
  .hero-topbar-right { display: none; }

  .hero-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .works-grid { grid-template-columns: 1fr; }
  .work-card { height: 260px; }
}
