:root {
  --ink: #1d1d1b;
  --paper: #fbfaf7;
  --paper-warm: #eee9df;
  --dark: #20231f;
  --dark-2: #292d28;
  --white: #fffdf8;
  --accent: #e86d3d;
  --rule: rgba(29, 29, 27, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --logo: "Manrope", Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  /* A pasted URL is the commonest thing the editor adds that no line-break
     opportunity can absorb. Without this it runs off the side of the phone,
     dragging its container with it; main{overflow:hidden} then hides the
     evidence instead of preventing it. `anywhere`, not `break-word`, because
     .about-copy and .hero-text sit in grid tracks whose automatic minimum is
     the content's min-content width: break-word leaves that minimum intact, so
     the track still stretches and the column still leaves the screen. */
  overflow-wrap: anywhere;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.15rem 5vw;
  background: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
}
.nav-logo {
  font-family: var(--logo);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.nav-links > a {
  text-decoration: none;
}
.nav-links > a:hover,
.nav-links > a:focus-visible {
  color: var(--accent);
}
.nav-cta {
  border: 1px solid var(--ink);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
}
/* The arrow and the label are one phrase: breaking "← Back to / home" across
   two lines is worse than the row being one word wider. */
.nav-home {
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white) !important;
}
.nav-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 0.25rem;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--ink);
  margin: 5px;
}
.lang {
  position: relative;
}
.lang-btn {
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  padding: 0.42em 0.8em;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.lang-btn:hover,
.lang-btn:focus-visible {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.7rem);
  min-width: 10rem;
  padding: 0.45rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.lang-menu[hidden] {
  display: none;
}
.lang-menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  white-space: nowrap;
  text-decoration: none;
}
.lang-menu a:hover {
  background: var(--paper-warm);
  color: var(--accent);
}
main {
  overflow: hidden;
}
.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 5vw;
  padding: 8vw 9vw 7vw;
}
.hero-text {
  max-width: 680px;
}
.kicker {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.5vw, 6rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.055em;
}
.hero h1 em {
  color: var(--accent);
  font-style: italic;
}
.hero-sub {
  max-width: 600px;
  margin: 2rem 0;
  font-size: 1.1rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.hero-badges a,
.hero-badges span {
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  text-decoration: none;
}
.hero-badges a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.hero-social {
  display: flex;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.hero-social a {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.hero-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.hero-social svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}
.hero-social .linkedin-mark {
  fill: currentColor;
  stroke: none;
}
.hero-social .linkedin-mark .linkedin-fill {
  fill: currentColor;
  stroke: none;
}
.hero-figure {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0;
  justify-self: end;
}
.hero-figure img {
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center;
}
.hero-figure figcaption,
.about-figure figcaption {
  display: block;
  margin-top: 0.45rem;
  color: #69655e;
  font-size: 0.7rem;
  line-height: 1.2;
  text-align: right;
}
.hero-figure .hero-photo-credit {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 1;
  display: block;
  width: auto;
  margin: 0;
  text-align: right;
  color: #fff;
  font-size: 0.7rem;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.format-portfolio {
  padding: 0 9vw 8vw;
}
.format-portfolio-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}
.format-portfolio-head p {
  margin: 0;
}
.section-no {
  color: var(--accent);
  font-weight: bold;
}
.format-frame-wrap {
  height: 55vw;
  min-height: 420px;
  max-height: 760px;
  background: #e8e3da;
  overflow: hidden;
}
.format-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.format-story-link,
.about-linkedin,
.photo-more a {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  text-decoration-thickness: 1px;
}
.format-story-link {
  margin-top: 1rem;
}
.about,
.writing,
.podcasts,
.services {
  padding: 8vw 9vw;
}
.section-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 3rem;
}
.section-head h2 {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 8vw;
  align-items: start;
}
.about-copy {
  max-width: 680px;
}
.about-copy p {
  margin: 0 0 1.4rem;
}
.about-copy .lead {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  line-height: 1.1;
}
/* The service list the three landing pages close their About block with. It
   had no rules because it had never reached the DOM — updateAboutText()
   replaced .about-copy before the list was painted, on every page. Styled to
   match `.service ul`, which the markup already mirrors: a rule above, no
   bullets, an accent em-dash, the label on its own line. */
.facts {
  display: grid;
  gap: 1.1rem;
  margin: 2rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--rule);
  list-style: none;
  color: #69655e;
}
.facts li {
  position: relative;
  padding-left: 1.35rem;
}
.facts li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.facts span {
  display: block;
  color: var(--ink);
  font-weight: 700;
}
/* On the homepages the LinkedIn link follows a paragraph and inherits its
   1.4rem of bottom margin as separation. After the facts list there is none. */
.facts + .about-linkedin {
  margin-top: 1.6rem;
}
.video,
.photography {
  padding: 8vw 9vw;
  background: var(--dark);
  color: var(--white);
}
.section-head-light {
  border-color: rgba(255, 255, 255, 0.25);
}
.video-intro,
.photo-intro {
  margin-top: -1.7rem;
  margin-bottom: 2rem;
  color: #d6d2c9;
}
.video-list,
.photo-grid {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.video-list::-webkit-scrollbar,
.photo-grid::-webkit-scrollbar {
  display: none;
}
.video-item {
  flex: 0 0 78%;
  scroll-snap-align: start;
  background: #111;
}
.video-item iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}
.video-controls,
.photo-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}
.video-controls button,
.photo-controls button {
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.video-controls button:hover,
.photo-controls button:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.photo-item {
  position: relative;
  flex: 0 0 31%;
  margin: 0;
  scroll-snap-align: start;
  cursor: zoom-in;
}
.photo-item img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.photo-item figcaption {
  font-size: 0.72rem;
  color: #d6d2c9;
  padding-top: 0.6rem;
}
.photo-more {
  margin: 2rem 0 0;
  font-size: 0.95rem;
}
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 4vw;
  background: rgba(0, 0, 0, 0.9);
}
.photo-lightbox[hidden] {
  display: none;
}
.photo-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
}
.photo-lightbox button {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  border: 0;
  background: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
}
.reveal {
  opacity: 1;
  transform: none;
}
.articles-page {
  background: var(--paper);
}
.articles-hero {
  padding: 10vw 9vw 7vw;
  max-width: 900px;
}
.articles-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.8vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.articles-hero h1 em {
  color: var(--accent);
  font-style: italic;
}
.articles-hero p:last-child {
  max-width: 600px;
  font-size: 1.1rem;
  margin-top: 2rem;
}
.article-category {
  padding: 6vw 9vw 7vw;
  border-top: 1px solid var(--rule);
}
.article-category-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
}
.article-category-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.9vw, 3rem);
  font-weight: 400;
}
.article-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 0 0.5rem;
}
.article-carousel::-webkit-scrollbar {
  display: none;
}
.article-card {
  display: flex;
  flex: 0 0 calc((100% - 2.5rem) / 3);
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  text-decoration: none;
  background: var(--dark);
  color: var(--white);
  scroll-snap-align: start;
}
.article-card:nth-child(3n + 2) {
  background: var(--accent);
}
.article-card:nth-child(3n) {
  background: #6b7664;
}
.article-card:hover {
  transform: translateY(-4px);
  transition: transform 0.2s ease;
}
.article-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}
.article-card h3 {
  margin: 2rem 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
}
.article-card-source {
  font-size: 0.75rem;
}
.article-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}
.article-controls button {
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.article-controls button:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.article-controls span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.home-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}
.home-article-group {
  min-width: 0;
}
.home-article-group h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 0.8rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rule);
}
.home-article-list {
  display: grid;
  gap: 0.7rem;
  max-height: 17rem;
  overflow-y: auto;
  padding-right: 0.45rem;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.home-article-card {
  display: block;
  padding: 1rem;
  background: var(--paper-warm);
  text-decoration: none;
  border-left: 3px solid var(--accent);
}
.home-article-group:nth-child(1) .home-article-card {
  background: #276c73;
  color: var(--white);
  border-left-color: #276c73;
}
.home-article-group:nth-child(2) .home-article-card {
  background: #d9783d;
  color: var(--white);
  border-left-color: #d9783d;
}
.home-article-group:nth-child(3) .home-article-card {
  background: #5d7d55;
  color: var(--white);
  border-left-color: #5d7d55;
}
.home-article-card:hover {
  color: var(--white);
  filter: brightness(0.94);
}
.home-article-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.15;
}
.home-article-card small {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: inherit;
  font-weight: 400;
  opacity: 0.82;
}
.writing-selection-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--accent);
  font-weight: 700;
  text-decoration-thickness: 1px;
}
.podcast-intro {
  margin-top: -1.7rem;
  margin-bottom: 2rem;
  color: #69655e;
}
.podcast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.podcast-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0;
  background: transparent;
  text-decoration: none;
  border: 0;
  transition: transform 0.2s ease;
}
.podcast-card:hover {
  transform: translateY(-3px);
}
.podcast-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  flex: 0 0 92px;
}
.podcast-card span {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.1;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}
.service {
  padding: 0;
  background: transparent;
  color: var(--ink);
}
.service h3 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.1;
}
.service p {
  margin: 0 0 1.25rem;
  color: #69655e;
}
.service ul {
  margin: 0;
  padding: 1.1rem 0 0 1.35rem;
  border-top: 1px solid var(--rule);
  list-style: none;
  color: #69655e;
}
.service li {
  position: relative;
}
.service li::before {
  content: "—";
  position: absolute;
  left: -1.35rem;
  color: var(--accent);
}
.service li + li {
  margin-top: 0.35rem;
}
.contact {
  padding: 10vw 9vw;
  background: var(--accent);
  color: var(--white);
}
.contact .kicker {
  color: var(--white);
}
.contact h2 {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.8vw, 6rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.contact-details {
  display: grid;
  gap: 0.5rem;
  font-size: 1rem;
}
.contact-details a {
  text-decoration-thickness: 1px;
}
/* The three landing pages use .contact-links where the homepages use
   .contact-details, and it had no rules at all — so the anchors rendered as
   one run-on string ("…@gmail.comWhatsApp +34 611 14 78 31Instagram") on the
   two Spanish pages. They only looked right on multimedia-journalist because
   its anchors happen to sit on separate source lines and the collapsed
   newline gave them a 4px space. Styled here rather than left to whitespace,
   which the editor rewrites. */
.contact-links {
  display: grid;
  gap: 0.5rem;
  font-size: 1rem;
}
.contact-links a {
  justify-self: start;
  text-decoration-thickness: 1px;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 5vw;
  background: var(--dark);
  color: #d6d2c9;
  font-size: 0.72rem;
}
.footer a {
  color: var(--white);
}
.services {
  background: var(--paper);
  color: var(--ink);
}
.services .service {
  background: transparent;
}
@media (max-width: 850px) {
  .nav {
    padding: 1rem 5vw;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem 5vw 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links .lang {
    align-self: flex-start;
  }
  .nav-links .lang-menu {
    position: static;
    width: max-content;
    max-width: 100%;
    margin-top: 0.5rem;
    box-shadow: none;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 14vw;
  }
  .hero-figure {
    max-width: 560px;
    margin: 1rem auto 0;
  }
  .format-portfolio,
  .about,
  .writing,
  .podcasts,
  .services,
  .video,
  .photography {
    padding: 14vw 6vw;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-figure {
    max-width: 280px;
  }
  .video-item {
    flex-basis: 94%;
  }
  .photo-item {
    flex-basis: 78%;
  }
  .podcast-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  .podcast-card img {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }
  .footer {
    flex-direction: column;
  }
  .articles-hero,
  .article-category {
    padding: 14vw 6vw;
  }
  .article-category {
    padding-bottom: 16vw;
  }
  .article-card {
    flex-basis: 88%;
    min-height: 240px;
  }
  .home-article-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .home-article-list {
    max-height: 20rem;
  }
  .article-category-head {
    margin-bottom: 1.5rem;
  }
  .contact {
    padding: 16vw 6vw;
  }
  .contact h2 {
    font-size: clamp(2.6rem, 14vw, 4.5rem);
  }
}
.about-figure {
  max-width: 360px;
  justify-self: end;
}
.about-figure img {
  filter: grayscale(100%);
}
@media (max-width: 850px) {
  .about-figure {
    max-width: 220px;
    justify-self: start;
  }
}
@media (min-width: 851px) {
  .hero {
    align-items: center;
    padding-bottom: 7vw;
  }
  .hero-figure {
    align-self: center;
    display: block;
  }
  .hero-figure img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }
}
.hero-figure .hero-photo-credit {
  font-weight: 300;
  letter-spacing: 0.01em;
  opacity: 0.9;
}
.about-figure {
  position: relative;
}
.about-figure .photo-credit {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 1;
  width: auto;
  margin: 0;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: right;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  opacity: 0.9;
}
.hero-figure .hero-photo-credit,
.about-figure .photo-credit {
  position: static;
  right: auto;
  bottom: auto;
  z-index: auto;
  display: block;
  width: auto;
  margin-top: 0.45rem;
  color: #69655e;
  font-size: 0.7rem;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: right;
  text-shadow: none;
  opacity: 0.8;
}
.hero-figure .hero-photo-credit {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.62rem;
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  opacity: 0.85;
}
