:root {
  /* colors */
  --copper: #C4622D;
  --copper-dark: #a04e29;
  --copper-lt: rgba(196, 98, 45, 0.27);
  --copper-xlt: rgba(196, 98, 45, 0.09);
  --ink: #1a0f0a;
  --ink-soft: #241208;
  --parchment: #FAF8F4;
  --sand: #F0EBE2;
  --muted: #9A8E82;
  --line: #E2DAD0;
  --secondary: #1A0F0A;

  /* typography */
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body: 'DM Sans', sans-serif;
  --f-menu: 'DM Sans', sans-serif;
  --body-font-size: 16px;
  --menu-font-size: 12px;
  --heading-scale: 1;

  /* spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 7.5rem;

  /* layout */
  --site-width: 1280px;
  --boxed-bg-color: #1A0F0A;
  --boxed-body-bg: #120b07;
  --content-bg: #1A0F0A;
  --container-padding: 40px;

  /* animations */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s;
  --transition-normal: 0.3s;
  --transition-slow: 0.4s;

  /* z-index */
  --z-noise: 1;
  --z-content: 2;
  --z-nav: 500;
  --z-mobile-menu: 490;
  --z-cursor: 10000;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--boxed-body-bg, var(--ink));
  color: var(--parchment);
  font-family: var(--f-body);
  font-size: var(--body-font-size);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

.screen-reader-text:focus {
  left: 1rem;
  top: 1rem;
  z-index: 99999;
  background: #fff;
  color: #000;
  padding: .5rem .75rem;
}

.container {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* === UTILITY CLASSES === */

.accent-line {
  width: 40px;
  height: 1px;
  background: var(--copper);
}

.accent-line--thick {
  height: 2px;
  margin-bottom: 14px;
}

.accent-line--decoration {
  margin-bottom: 32px;
}

.arrow-icon {
  width: 24px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.arrow-icon::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.glass-effect {
  background: rgba(26, 15, 10, 0.88);
  backdrop-filter: blur(16px);
}

.glass-border {
  border: 1px solid rgba(196, 98, 45, 0.12);
}

.hover-lift {
  transition: transform var(--transition-normal) var(--ease-out), box-shadow var(--transition-normal) ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}

.hover-lift-sm {
  transition: transform var(--transition-fast) var(--ease-out);
}

.hover-lift-sm:hover {
  transform: translateY(-2px);
}

.hover-highlight {
  transition: color var(--transition-normal);
}

.hover-highlight:hover {
  color: var(--copper);
}

.text-highlight {
  color: var(--copper);
  font-style: italic;
}

.text-muted {
  color: var(--muted);
}

.text-light {
  color: rgba(250, 248, 244, 0.78);
}

.text-soft {
  color: rgba(250, 248, 244, 0.65);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.grid-gap-light {
  background: rgba(255, 255, 255, 0.04);
}

/* === END UTILITIES === */

.t-label {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper);
}

.section-heading,
.hero-headline,
.article-title,
.diff-headline,
.about-heading {
  font-family: var(--f-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.section-heading {
  font-size: clamp(calc(2.5rem * var(--heading-scale)), 5vw, calc(4rem * var(--heading-scale)));
  margin: .75rem 0 0;
}

.section-desc {
  max-width: 38rem;
  color: var(--muted);
}

.section-desc--light {
  color: rgba(250, 248, 244, 0.78);
}

.btn-primary,
.form-submit,
.sidebar-cta-btn,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 1rem 2rem;
  border: 1px solid var(--button-primary-border, var(--copper));
  background: var(--button-primary-bg, var(--copper));
  color: var(--button-primary-text, var(--ink));
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  transition: transform var(--transition-fast) var(--ease-out), background var(--transition-normal) ease, color var(--transition-normal) ease, border-color var(--transition-normal) ease;
  cursor: pointer;
}

.btn-primary:hover,
.form-submit:hover,
.sidebar-cta-btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--button-primary-hover-bg, #d4774a);
  color: var(--button-primary-hover-text, var(--ink));
  border-color: var(--button-primary-hover-bg, #d4774a);
}

.btn-primary--inverse {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--parchment);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--button-ghost-text, var(--muted));
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  transition: color var(--transition-normal);
  cursor: pointer;
}

.btn-ghost:hover {
  color: var(--button-ghost-hover-text, var(--copper));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
  z-index: var(--z-noise);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
}

nav,
.site-main,
footer {
  position: relative;
  z-index: var(--z-content);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  inset: 0 auto auto 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: var(--z-cursor);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--copper);
}

.cursor-ring {
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 1px solid var(--copper);
  transition: width var(--transition-normal) ease, height var(--transition-normal) ease, margin var(--transition-normal) ease, border-color var(--transition-normal) ease;
}

.cursor-ring.hovered {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-color: var(--copper-lt);
}

nav {
  position: fixed;
  inset: 0 0 auto;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 28px 0;
  transition: padding var(--transition-slow), background var(--transition-slow), backdrop-filter var(--transition-slow);
}

.scrolled {
  padding: 16px 0;
  background: rgba(26, 15, 10, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 98, 45, 0.12);
}

.nav-inner {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  min-width: 0;
  max-width: 250px;
  width: 100%;
  flex-shrink: 0;
}

.nav-logo>* {
  max-width: 100%;
}

.custom-logo {
  width: min(100%, var(--header-logo-width, 132px));
  max-height: none;
  display: block;
}

.site-branding-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.site-branding-name {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--parchment);
  line-height: 1;
}

.site-branding-sub {
  color: var(--muted);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

#mainNav .nav-links,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

#mainNav .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  min-width: 0;
  flex-wrap: wrap;
  position: relative;
}

#mainNav .nav-links>li,
.mobile-menu-list>li {
  list-style: none;
  position: relative;
}

#mainNav .nav-links a {
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
  position: relative;
}

#mainNav .nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width .4s var(--ease-out);
}

#mainNav .nav-links a:hover {
  color: var(--parchment);
}

#mainNav .nav-links a:hover::after {
  width: 100%;
}

#mainNav .nav-links .menu-item-has-children {
  padding-right: 18px;
}

#mainNav .nav-links .menu-item-has-children>a::before {
  content: "";
  position: absolute;
  right: -16px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: .8;
  transition: transform .3s ease;
}

#mainNav .nav-links .menu-item-has-children:hover>a::before,
#mainNav .nav-links .menu-item-has-children:focus-within>a::before {
  transform: translateY(-35%) rotate(225deg);
}

#mainNav .nav-submenu {
  position: absolute;
  top: calc(100% + 0);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  background: rgba(22, 13, 9, .96);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 22px 40px rgba(0, 0, 0, .22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease;
  z-index: 30;
}

#mainNav .nav-submenu li {
  list-style: none;
}

#mainNav .nav-submenu a {
  display: block;
  padding: 10px 18px;
  font-size: .68rem;
  letter-spacing: .14em;
  color: rgba(250, 248, 244, .75);
}

#mainNav .nav-submenu a::after {
  display: none;
}

#mainNav .nav-submenu a:hover {
  color: var(--parchment);
  background: rgba(255, 255, 255, .04);
}

#mainNav .nav-links .menu-item-has-children:hover>.nav-submenu,
#mainNav .nav-links .menu-item-has-children:focus-within>.nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-cta {
  justify-self: end;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 24px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition-normal), color var(--transition-normal);
}

.nav-cta svg {
  width: 16px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--parchment);
  transition: transform var(--transition-normal), opacity var(--transition-normal), background var(--transition-normal);
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background: rgba(26, 15, 10, 0.96);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform var(--transition-normal) ease, opacity var(--transition-normal) ease;
  z-index: var(--z-mobile-menu);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-menu-list,
.mobile-menu-list .nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  padding: 2rem;
}

.mobile-menu-list>li>a,
.mobile-menu-list>li>.mobile-submenu-head>a {
  display: block;
  color: var(--parchment);
  text-decoration: none;
  font-family: var(--f-display);
  font-size: clamp(1.45rem, 3.6vw, 2.2rem);
  text-align: left;
}

.mobile-menu-list .menu-item-has-children>.nav-submenu {
  position: static;
  min-width: 0;
  margin-top: .75rem;
  padding: 0 0 0 1rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  display: none;
}

.mobile-menu-list .menu-item-has-children.is-open>.nav-submenu {
  display: block;
}

.mobile-menu-list .nav-submenu a {
  padding: .55rem 0;
  font-size: .9rem;
  color: rgba(250, 248, 244, .7);
  background: transparent;
}

.mobile-submenu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-submenu-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: transparent;
  color: var(--parchment);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-submenu-toggle::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s ease;
}

.mobile-menu-list .menu-item-has-children.is-open>.mobile-submenu-head .mobile-submenu-toggle::before {
  transform: rotate(225deg);
}

#hero,
.page-hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
}

#hero {
  padding: 10rem 0 5rem;
  overflow: visible;
}

.page-hero {
  overflow: hidden;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 40%, rgba(196, 98, 45, .06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-bg-w {
  position: absolute;
  right: -3vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.hero-bg-w:not(.hero-bg-w--image) {
  font-family: var(--f-display);
  font-size: min(44vw, 680px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(196, 98, 45, .12);
}

.hero-bg-w--image {
  width: clamp(220px, 44vw, 680px);
  max-width: 80vw;
  aspect-ratio: 1 / 1;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

.hero-rule,
.article-hero-rule {
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--copper), transparent);
  opacity: .4;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: var(--space-lg);
}

.hero-eyebrow::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--copper);
}

.hero-headline {
  max-width: 820px;
  font-size: clamp(3.2rem, 7vw, 7.5rem);
  margin: 0;
  line-height: 1.02;
  letter-spacing: -.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--copper);
}

.hero-sub {
  max-width: 420px;
  color: var(--muted);
  margin: 32px 0 0;
  font-size: .95rem;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.hero-scroll {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  text-transform: uppercase;
  font-size: .6rem;
  letter-spacing: .2em;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: .6;
  }

  50% {
    transform: scaleY(.7);
    opacity: 1;
  }
}

.ticker-wrap {
  background: var(--copper);
  overflow: hidden;
  padding: .9rem 0;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--ink);
}

.ticker-track span::before {
  content: "◆";
  font-size: .45rem;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

#sobre,
#areas,
#equipa,
#newsletter,
#contacto,
.archive-listing,
.page-content {
  padding: 7.5rem 0;
}

#sobre {
  background: var(--parchment);
  color: var(--ink);
}

.accent-top {
  width: 40px;
  height: 2px;
  background: var(--copper);
  margin-bottom: 14px;
}

.about-grid,
.newsletter-grid,
.contact-grid,
.content-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2xl);
}

.about-number {
  font-family: var(--f-display);
  font-size: 7rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(196, 98, 45, .25);
}

.about-heading {
  color: var(--ink);
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: .5rem 0 0;
}

.about-heading em {
  color: var(--copper);
  font-style: italic;
}

.about-right .t-label {
  color: var(--copper);
}

.about-body {
  color: #4a4238;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.about-sig-line {
  width: 40px;
  height: 1px;
  background: var(--copper);
}

.about-sig-name {
  font-family: var(--f-display);
  color: var(--copper);
  font-style: italic;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  margin-top: 3rem;
}

.stat-cell {
  background: var(--sand);
  padding: 2rem;
  transition: background-color var(--transition-normal) ease, box-shadow var(--transition-normal) ease;
}

.stat-cell:hover {
  background: #f5f0e8;
  box-shadow: inset 0 0 0 1px rgba(196, 98, 45, 0.08);
}

.stat-num {
  font-family: var(--f-display);
  font-size: 2.8rem;
  color: var(--copper);
  line-height: 1;
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  color: var(--muted);
  margin-top: .5rem;
}

#areas,
#equipa,
.article-shell,
.archive-listing,
.page-content,
.site-main--default,
.site-main--archive {
  background: var(--content-bg);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}

.services-list {
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.service-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 1.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color var(--transition-normal) ease, border-color var(--transition-normal) ease;
}

.service-num,
.article-author-name {
  font-family: var(--f-display);
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.service-item:hover .service-title,
.service-item:hover .service-toggle-label,
.service-item:hover .service-arrow {
  color: var(--copper);
}

.service-copy {
  min-width: 0;
}

.service-title {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  color: var(--parchment);
  transition: color .3s ease;
}

.service-desc {
  color: var(--muted);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .35s ease, margin-top .35s ease;
  max-width: 860px;
  margin-top: 0;
}

.service-item.open .service-desc {
  opacity: 1;
  margin-top: 1rem;
}

.service-desc>*:first-child {
  margin-top: 0;
}

.service-desc>*:last-child {
  margin-bottom: 0;
}

.service-desc p,
.service-desc li {
  color: rgba(250, 248, 244, .78);
}

.service-desc ul,
.service-desc ol {
  margin: 1rem 0;
  padding-left: 1.2rem;
}

.service-desc li+li {
  margin-top: .45rem;
}

.service-desc strong,
.service-desc b {
  color: var(--parchment);
}

.service-desc em,
.service-desc i {
  font-style: italic;
}

.service-desc a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: .18em;
}

.service-toggle {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: 0;
  margin-top: .15rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.service-toggle-label {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .68rem;
  color: rgba(250, 248, 244, .55);
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transform: translateX(6px);
  transition: color .3s ease, opacity .25s ease, max-width .25s ease, transform .25s ease;
}

.service-item:hover .service-toggle-label,
.service-toggle:focus-visible .service-toggle-label {
  opacity: 1;
  max-width: 7rem;
  transform: translateX(0);
}

.service-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(250, 248, 244, .55);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}

.service-toggle:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}

.service-item.open .service-arrow {
  background: var(--copper);
  color: var(--ink);
  border-color: var(--copper);
  transform: rotate(90deg);
}

.service-item.open .service-toggle-label {
  color: var(--copper);
}

#diferenciais,
#projecto {
  padding: 120px 0;
  background: var(--copper);
  position: relative;
  overflow: hidden;
}

#diferenciais::before,
#projecto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0, 0, 0, .25), transparent);
}

.diff-content,
#projecto .container {
  position: relative;
  z-index: 2;
}

#diferenciais .t-label {
  color: rgba(250, 248, 244, .7);
  letter-spacing: .22em;
}

#diferenciais .t-label::before {
  background: rgba(255, 255, 255, .5);
}

.diff-headline {
  max-width: 740px;
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--parchment);
  margin-top: 16px;
}

.diff-headline em {
  font-style: italic;
  color: rgba(255, 255, 255, .75);
}

.diff-pillars {
  display: grid;
  grid-template-columns: repeat(var(--diff-grid-cols, 4), minmax(0, 1fr));
  gap: 1px;
  background: rgba(0, 0, 0, 0.15);
  margin-top: 72px;
}

.pillar {
  background: rgba(0, 0, 0, 0.08);
  padding: 40px 36px;
  min-height: 100%;
  min-width: 0;
  transition: background var(--transition-normal) ease, transform var(--transition-normal) ease, box-shadow var(--transition-normal) ease;
}

.pillar:hover {
  background: rgba(0, 0, 0, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(250, 248, 244, .35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: .75rem;
  color: var(--parchment);
}

.pillar-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--parchment);
  line-height: 1.2;
  margin-bottom: 14px;
}

.pillar-text {
  font-size: .85rem;
  color: rgba(250, 248, 244, .65);
  line-height: 1.75;
}

.team-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  margin-top: 3rem;
}

.team-card,
.post-card {
  background: var(--ink-soft);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal) ease, box-shadow var(--transition-normal) ease;
}

.team-card {
  aspect-ratio: 3 / 4;
}

.team-card:hover,
.post-card:hover {
  transform: translateY(-2px);
}

.team-photo,
.post-card-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--ink-soft), var(--ink));
}

.post-card-media {
  position: relative;
  aspect-ratio: 16/9;
}

.team-photo img,
.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo-placeholder,
.post-card-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  font-family: var(--f-display);
  font-size: 6rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(196, 98, 45, .2);
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 15, 10, .92) 0%, rgba(26, 15, 10, .3) 50%, transparent 100%);
}

.team-initial {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--copper);
  font-family: var(--f-display);
}

.team-info {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .25s ease, transform .25s ease;
}

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

.team-card:hover .team-initial {
  opacity: 0;
}

.team-name {
  font-family: var(--f-display);
  font-size: 1.2rem;
  margin: 0;
}

.team-role {
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .65rem;
  margin-top: .25rem;
}

.team-email {
  display: block;
  margin-top: .6rem;
  color: rgba(250, 248, 244, .6);
}

.post-card {
  display: flex;
  flex-direction: column;
  isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s ease, background-color .35s ease;
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.post-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card-media {
  overflow: hidden;
  background: #241208;
}

.post-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .36));
  transition: background .35s ease, opacity .35s ease;
  pointer-events: none;
}

.post-card-media img,
.post-card-placeholder {
  transition: transform .45s var(--ease-out), filter .35s ease;
}

.post-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 4px 10px;
  font-weight: 500;
  background: rgba(196, 98, 45, .6);
  color: #fff;
  border: 1px solid rgba(196, 98, 45, .8);
  transition: transform .35s ease, background-color .35s ease, border-color .35s ease;
}

.post-card-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: background .35s ease;
}

.post-card-date {
  display: inline-block;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .65rem;
  margin-bottom: 12px;
}

.post-card-title {
  margin: 0 0 20px;
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.25;
  color: var(--parchment);
  flex: 1;
  transition: color .35s ease, transform .35s ease;
}

.post-card-excerpt {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: .82rem;
  line-height: 1.7;
  transition: color .35s ease;
}

.post-card-more {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap .3s var(--ease-out);
}

.post-card:hover .post-card-more {
  gap: 16px;
}

.post-card:hover .post-card-media::after {
  background: linear-gradient(180deg, rgba(196, 98, 45, .06), rgba(0, 0, 0, .5));
}

.post-card:hover .post-card-media img,
.post-card:hover .post-card-placeholder {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.post-card:hover .post-card-badge {
  transform: translateY(-2px);
  background: rgba(196, 98, 45, .24);
  border-color: rgba(196, 98, 45, .55);
}

.post-card:hover .post-card-title {
  color: #fff7f0;
  transform: translateY(-2px);
}

.post-card:hover .post-card-excerpt {
  color: rgba(250, 248, 244, .82);
}

.post-card-more-arrow {
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--copper);
  position: relative;
}

.post-card-more-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--copper);
  border-top: 1px solid var(--copper);
  transform: rotate(45deg);
}

.post-card--empty {
  display: block;
}

.post-grid--more {
  gap: 2px;
  background: rgba(255, 255, 255, .04);
  margin-top: 3.5rem;
}

.post-card--more {
  background: var(--ink);
}

.post-card--more .post-card-link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.post-card--more .post-card-media {
  aspect-ratio: 16 / 9;
}

.post-card--more .post-card-body {
  padding: 24px 24px 28px;
}

.post-card--more .post-card-badge {
  font-size: .58rem;
  letter-spacing: .16em;
  padding: 7px 10px;
}

.post-card--more .post-card-title {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.3;
  margin-top: 0;
}

.post-card--more .post-card-date {
  font-size: .65rem;
}

.post-card--more .post-card-excerpt {
  display: none;
}

#noticias {
  padding: 7.5rem 0;
  background: var(--ink);
  border-top: 1px solid rgba(196, 98, 45, .12);
}

.news-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 64px;
}

.news-see-all-link {
  color: var(--copper);
  text-transform: uppercase;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.news-see-all-link:hover {
  gap: 12px;
}

.news-section-heading {
  margin-top: 12px;
  color: var(--parchment);
}

.news-section-heading em {
  color: var(--copper);
  font-style: italic;
}

.news-section-desc {
  max-width: 360px;
  font-size: .88rem;
  line-height: 1.8;
}

#newsletter {
  background: var(--ink-soft);
  padding: 100px 0 0;
}

.nl-header {
  margin-bottom: 64px;
}

.nl-title {
  font-family: var(--f-display);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -.02em;
  color: var(--parchment);
  margin-top: 16px;
}

.nl-title em {
  font-style: italic;
  color: var(--copper);
}

.nl-desc {
  margin-top: 20px;
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 540px;
}

.nl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(196, 98, 45, .15);
}

.nl-card {
  padding: 36px 0;
  border-bottom: 1px solid rgba(196, 98, 45, .12);
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: pointer;
  transition: padding-left .35s var(--ease-out);
  position: relative;
}

.nl-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  min-height: 100%;
  padding-left: 20px;
  transition: padding-left .35s var(--ease-out);
}

.nl-grid .nl-card:nth-child(odd) {
  padding-right: 56px;
  border-right: 1px solid rgba(196, 98, 45, .1);
}

.nl-grid .nl-card:nth-child(even) {
  padding-left: 56px;
}

.nl-card:hover .nl-card-link {
  padding-left: 34px;
}

.nl-card::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  background: var(--copper);
  opacity: 0;
  transition: opacity .35s;
}

.nl-grid .nl-card:nth-child(even)::before {
  left: 55px;
}

.nl-card:hover::before {
  opacity: 1;
}

.nl-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.nl-card-num {
  font-family: var(--f-display);
  font-size: .9rem;
  font-weight: 300;
  color: var(--copper);
  opacity: .45;
  transition: opacity .3s;
  min-width: 24px;
}

.nl-card:hover .nl-card-num {
  opacity: 1;
}

.nl-card-date {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nl-card-title {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--parchment);
  margin-bottom: 14px;
  transition: color .3s;
}

.nl-card:hover .nl-card-title {
  color: var(--copper);
}

.nl-card-excerpt {
  font-size: .83rem;
  line-height: 1.75;
  color: var(--muted);
  flex: 1;
}

.nl-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: transparent;
  margin-top: 18px;
  transition: color .35s var(--ease-out), gap .35s var(--ease-out);
}

.nl-card-arrow .arr-line {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--copper);
  position: relative;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .35s, transform .35s var(--ease-out), width .35s var(--ease-out);
}

.nl-card-arrow .arr-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--copper);
  border-top: 1px solid var(--copper);
  transform: rotate(45deg);
}

.nl-card:hover .nl-card-arrow {
  color: var(--copper);
  gap: 12px;
}

.nl-card:hover .nl-card-arrow .arr-line {
  opacity: 1;
  transform: translateX(0);
  width: 24px;
}

.nl-form-area {
  display: flex;
  flex-direction: column;
}

.nl-form-area--left {
  align-items: flex-start;
}

.nl-form-area--center {
  align-items: center;
}

.nl-form-area--right {
  align-items: flex-end;
}

.nl-separator {
  height: 2px;
  background: linear-gradient(to right, transparent 0%, var(--copper) 15%, var(--copper) 85%, transparent 100%);
  margin: 72px 0 0;
  opacity: .7;
  width: 33%;
  min-width: 220px;
}

.nl-form-shell {
  width: 70%;
  padding: 28px 0 64px;
}

.nl-form-title {
  margin: 0 0 28px;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  font-weight: 400;
  color: var(--parchment);
  line-height: 1.1;
}

.nl-form-wrap {
  padding: 0;
}

.nl-form-wrap--panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nl-form-wrap--panel .form-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
}

.nl-form-btn {
  align-self: flex-start;
  gap: 12px;
  min-height: 58px;
  padding: 16px 40px;
  font-weight: 500;
  letter-spacing: .22em;
}

.nl-form-btn:hover {
  background: var(--button-primary-hover-bg, #D4774A);
}

.nl-form-wrap--panel .form-group--submit {
  justify-content: flex-end;
}

.newsletter-form--shortcode .wpcf7-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.newsletter-form--shortcode .wpcf7-form > p {
  margin: 0;
}

.newsletter-form--shortcode .wpcf7-form > p:last-child {
  align-self: end;
}

.nl-empty {
  grid-column: 1 / -1;
  padding: 36px 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .nl-form-area {
    align-items: stretch;
  }

  .nl-form-shell {
    width: 100%;
  }

  .nl-form-wrap--panel .form-row,
  .newsletter-form--shortcode .wpcf7-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .nl-grid {
    grid-template-columns: 1fr;
  }

  .nl-grid .nl-card:nth-child(odd),
  .nl-grid .nl-card:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .nl-grid .nl-card:nth-child(odd):hover,
  .nl-grid .nl-card:nth-child(even):hover,
  .nl-card:hover {
    padding-left: 0;
    padding-right: 0;
  }

  .nl-card-link,
  .nl-card:hover .nl-card-link {
    padding-left: 0;
  }

  .nl-card::before,
  .nl-grid .nl-card:nth-child(even)::before {
    left: -1px;
  }
}

#contacto {
  background: var(--ink);
  padding: 120px 0;
  position: relative;
}

#contacto::before {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -20px;
  width: 100%;
  height: 100%;
  background-image: var(--contact-bg-image, none);
  background-size: var(--contact-bg-size, 100%);
  background-position: bottom right;
  background-repeat: no-repeat;
  pointer-events: none;
  user-select: none;
  opacity: var(--contact-bg-opacity, 0.05);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.contact-section-heading {
  margin-top: 12px;
  color: var(--parchment);
  max-width: 620px;
}

.contact-section-heading em {
  color: var(--copper);
  font-style: italic;
}

.contact-section-desc {
  margin-top: 20px;
  max-width: 500px;
  font-size: .88rem;
  line-height: 1.8;
}

.contact-info-items {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(196, 98, 45, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.newsletter-form,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.newsletter-form--shortcode,
.contact-form--shortcode {
  width: 100%;
}

.newsletter-form--shortcode form,
.contact-form--shortcode form,
.newsletter-form--shortcode .wpcf7,
.contact-form--shortcode .wpcf7,
.newsletter-form--shortcode .wpforms-container,
.contact-form--shortcode .wpforms-container {
  width: 100%;
}

.newsletter-form--shortcode input,
.newsletter-form--shortcode select,
.newsletter-form--shortcode textarea,
.contact-form--shortcode input,
.contact-form--shortcode select,
.contact-form--shortcode textarea {
  width: 100%;
}

.newsletter-form--shortcode .wpcf7,
.contact-form--shortcode .wpcf7 {
  width: 100%;
}

.newsletter-form--shortcode .wpcf7-form,
.contact-form--shortcode .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.newsletter-form--shortcode .wpcf7-form p,
.contact-form--shortcode .wpcf7-form p {
  margin: 0;
}

.newsletter-form--shortcode .wpcf7-form-control-wrap,
.contact-form--shortcode .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.newsletter-form--shortcode .wpcf7 input[type="text"],
.newsletter-form--shortcode .wpcf7 input[type="email"],
.newsletter-form--shortcode .wpcf7 input[type="tel"],
.newsletter-form--shortcode .wpcf7 select,
.newsletter-form--shortcode .wpcf7 textarea,
.contact-form--shortcode .wpcf7 input[type="text"],
.contact-form--shortcode .wpcf7 input[type="email"],
.contact-form--shortcode .wpcf7 input[type="tel"],
.contact-form--shortcode .wpcf7 select,
.contact-form--shortcode .wpcf7 textarea {
  width: 100%;
  min-height: 60px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: rgba(255, 255, 255, .03);
  color: var(--parchment);
  font-size: .9rem;
  font-weight: 300;
  outline: none;
  appearance: none;
  border-radius: 0;
  box-shadow: none;
  transition: border-color .3s, background .3s, color .3s;
}

.newsletter-form--shortcode .wpcf7 input[type="text"]:focus,
.newsletter-form--shortcode .wpcf7 input[type="email"]:focus,
.newsletter-form--shortcode .wpcf7 input[type="tel"]:focus,
.newsletter-form--shortcode .wpcf7 select:focus,
.newsletter-form--shortcode .wpcf7 textarea:focus,
.contact-form--shortcode .wpcf7 input[type="text"]:focus,
.contact-form--shortcode .wpcf7 input[type="email"]:focus,
.contact-form--shortcode .wpcf7 input[type="tel"]:focus,
.contact-form--shortcode .wpcf7 select:focus,
.contact-form--shortcode .wpcf7 textarea:focus {
  border-color: var(--copper);
  background: rgba(255, 255, 255, .05);
}

.newsletter-form--shortcode .wpcf7 textarea,
.contact-form--shortcode .wpcf7 textarea {
  min-height: 148px;
  resize: vertical;
}

.newsletter-form--shortcode .wpcf7 input::placeholder,
.newsletter-form--shortcode .wpcf7 textarea::placeholder,
.contact-form--shortcode .wpcf7 input::placeholder,
.contact-form--shortcode .wpcf7 textarea::placeholder {
  color: rgba(250, 248, 244, .34);
}

.newsletter-form--shortcode .wpcf7 select,
.contact-form--shortcode .wpcf7 select {
  padding-right: 52px;
  background-image: linear-gradient(45deg, transparent 50%, rgba(250, 248, 244, .55) 50%), linear-gradient(135deg, rgba(250, 248, 244, .55) 50%, transparent 50%);
  background-position: calc(100% - 26px) calc(50% - 3px), calc(100% - 20px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.newsletter-form--shortcode .wpcf7-submit,
.contact-form--shortcode .wpcf7-submit {
  background: var(--copper);
  color: var(--ink);
  border: none;
  font-family: var(--f-body);
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  min-height: 58px;
  padding: 16px 40px;
  cursor: pointer;
  white-space: nowrap;
  align-self: end;
  transition: background .3s, transform .3s var(--ease-out);
  margin-bottom: 1px;
}

.newsletter-form--shortcode .wpcf7-submit:hover,
.contact-form--shortcode .wpcf7-submit:hover {
  transform: translateY(-2px);
  background: #D4774A;
  color: var(--ink);
}

.newsletter-form--shortcode .wpcf7-spinner,
.contact-form--shortcode .wpcf7-spinner {
  margin: 0 0 0 12px;
}

.newsletter-form--shortcode .wpcf7-not-valid-tip,
.contact-form--shortcode .wpcf7-not-valid-tip {
  margin-top: .5rem;
  color: #ffb4a1;
  font-size: .75rem;
}

.newsletter-form--shortcode .wpcf7-response-output,
.contact-form--shortcode .wpcf7-response-output {
  margin: .5rem 0 0;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(196, 98, 45, .2);
  background: var(--copper-xlt);
  color: var(--parchment);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label,
.contact-info-label,
.sidebar-label {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .68rem;
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 60px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: rgba(255, 255, 255, .03);
  color: var(--parchment);
  font-size: .9rem;
  font-weight: 300;
  appearance: none;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  transition: border-color .3s, background .3s, color .3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--copper);
  background: rgba(255, 255, 255, .05);
}

.form-select {
  cursor: pointer;
  padding-right: 52px;
  background-image: linear-gradient(45deg, transparent 50%, rgba(250, 248, 244, .55) 50%), linear-gradient(135deg, rgba(250, 248, 244, .55) 50%, transparent 50%);
  background-position: calc(100% - 26px) calc(50% - 3px), calc(100% - 20px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-select option {
  background: var(--ink-soft);
}

.form-textarea {
  min-height: 148px;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(250, 248, 244, .34);
}

.contact-form-wrap .form-submit {
  align-self: flex-start;
  gap: 12px;
  min-height: 58px;
  padding: 16px 40px;
  font-weight: 500;
  letter-spacing: .22em;
}

.form-submit-arrow {
  display: inline-block;
  transition: transform .3s var(--ease-out);
}

.contact-form-wrap .form-submit:hover .form-submit-arrow {
  transform: translateX(4px);
}

.form-notice {
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(196, 98, 45, .2);
  background: var(--copper-xlt);
}

.form-notice--error {
  border-color: rgba(255, 255, 255, .15);
}

.contact-info-value {
  font-size: 0.92rem;
  color: var(--parchment);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.contact-info-value:hover {
  color: var(--copper);
}

.article-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  align-items: flex-end;

}

.article-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--ink-soft), var(--ink));
}

.article-hero-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.article-hero-visual-mark {
  width: 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: clamp(10rem, 18vw, 18rem);
  color: rgba(250, 248, 244, .1);
  line-height: 1;
  letter-spacing: -.08em;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 35%, rgba(26, 15, 10, .6) 65%, rgba(26, 15, 10, .2) 100%);
}

.article-hero-content {
  position: relative;
  z-index: 2;
  min-width: 1200px !important;
  padding-top: 140px;
  padding-right: 40px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 28px 0;
  align-items: center;
  flex-wrap: wrap;
}

.article-tag {
  background: var(--copper);
  color: var(--ink);
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .6rem;
  font-weight: 500;
}

.article-date,
.article-read-time {
  color: var(--muted);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.article-read-time {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-read-time::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--muted);
}

.article-title {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0 0 28px;
}

.article-lead {
  max-width: 860px;
  color: rgba(250, 248, 244, .7);
  font-size: 1.05rem;
  line-height: 1.75;
  padding-bottom: 40px;
}

.article-author-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.article-author-badge {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--copper);
  color: var(--parchment);
  flex-shrink: 0;
}

.article-author-name {
  font-size: 1rem;
  font-style: italic;
  color: var(--parchment);
}

.article-author-role {
  color: var(--copper);
  text-transform: uppercase;
  font-size: .65rem;
  letter-spacing: .15em;
  margin-top: 2px;
}

.article-shell {
  background: var(--ink);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 0;
  align-items: start;
}

.article-body {
  padding: 80px 64px 80px 0;
  border-right: 1px solid rgba(255, 255, 255, .05);
}

.article-sidebar {
  padding: 80px 0 80px 48px;
  position: sticky;
  top: 100px;
  align-self: start;
}

.article-body p {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(250, 248, 244, .8);
  margin-bottom: 28px;
  font-weight: 300;
}

.article-body h2 {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--parchment);
  letter-spacing: -.01em;
  margin: 52px 0 20px;
}

.article-body h2 em {
  font-style: italic;
  color: var(--copper);
}

.article-body h3 {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--parchment);
  margin: 36px 0 14px;
  letter-spacing: .01em;
}

.article-body strong {
  color: var(--parchment);
  font-weight: 500;
}

.article-body em {
  color: rgba(250, 248, 244, .9);
}

.article-body blockquote,
.article-body .wp-block-quote {
  border-left: 2px solid var(--copper);
  padding: 20px 0 20px 32px;
  margin: 44px 0;
}

.article-body blockquote p,
.article-body .wp-block-quote p {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-style: italic;
  font-weight: 300;
  color: var(--parchment) !important;
  line-height: 1.45;
  margin-bottom: 12px !important;
}

.article-body blockquote cite,
.article-body .wp-block-quote cite {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper);
  font-style: normal;
}

.article-image {
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}

.article-image-inner {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.article-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-image-caption {
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-top: 12px;
  margin-top: 12px;
}

.article-footer-row {
  margin-top: 56px;
  padding-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.article-tag-pill {
  border: 1px solid rgba(196, 98, 45, .3);
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .62rem;
  padding: .35rem .75rem;
  transition: background .3s, color .3s;
}

.article-tag-pill:hover {
  background: var(--copper);
  color: var(--ink);
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-share-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .65rem;
}

.share-btn,
.footer-social {
  width: var(--footer-social-box-size, 42px);
  min-width: var(--footer-social-box-size, 42px);
  height: var(--footer-social-box-size, 42px);
  border: 1px solid rgba(255, 255, 255, .1);
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  padding: 0;
  margin: var(--footer-social-icon-margin, 0);
  box-sizing: border-box;
  overflow: visible;
  flex-shrink: 0;
}

.share-btn:hover,
.footer-social:hover {
  border-color: var(--copper);
  color: var(--copper);
}

.share-btn svg,
#back-top svg {
  width: var(--footer-social-icon-size, 16px);
  height: var(--footer-social-icon-size, 16px);
  max-width: 100%;
  max-height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social svg {
  width: var(--footer-social-icon-size, 24px);
  height: var(--footer-social-icon-size, 24px);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-btn.is-copied {
  color: var(--copper);
  border-color: var(--copper);
}

.sidebar-section {
  margin-bottom: 48px;
}

.sidebar-cta {
  background: var(--copper-xlt);
  border: 1px solid rgba(196, 98, 45, .2);
  padding: 28px 24px;
}

.sidebar-label {
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(196, 98, 45, .2);
}

.sidebar-cta-text {
  font-family: var(--f-display);
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--parchment);
  margin: 0 0 16px;
}

.sidebar-cta-text em {
  color: var(--copper);
  font-style: italic;
}

.sidebar-cta-btn {
  gap: 10px;
  font-size: .68rem;
  letter-spacing: .16em;
  padding: 12px 20px;
  font-weight: 500;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-item a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  transition: color .3s;
}

.toc-item a:hover {
  color: var(--parchment);
}

.toc-num {
  font-family: var(--f-display);
  font-size: .9rem;
  color: var(--copper);
  opacity: .5;
  flex-shrink: 0;
  margin-top: 1px;
}

.related-card {
  display: block;
  text-decoration: none;
  padding: 16px 0;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: padding-left var(--transition-normal) var(--ease-out);
}

.related-card:hover {
  padding-left: 8px;
}

.related-card-thumb {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 12px;
}

.related-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card-tag {
  color: var(--copper);
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 6px;
  display: block;
}

.related-card-title {
  margin-top: .4rem;
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.35;
  transition: color .3s;
}

.related-card:hover .related-card-title {
  color: var(--parchment);
}

.related-card-date {
  font-size: .65rem;
  color: rgba(154, 142, 130, .5);
  margin-top: 6px;
  display: block;
}

#mais-noticias {
  background: var(--ink-soft);
  padding: 100px 0;
  border-top: 1px solid rgba(196, 98, 45, .1);
}

.page-hero.page-hero--editorial {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 140px;
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid rgba(196, 98, 45, .12);
}

.page-hero.page-hero--editorial::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 90% 30%, rgba(196, 98, 45, .07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-rule-left {
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--copper) 30%, var(--copper) 70%, transparent);
  opacity: .4;
  z-index: 1;
}

.page-hero-bg-letter {
  position: absolute;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-display);
  font-size: min(38vw, 560px);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px rgba(196, 98, 45, .07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.page-hero.page-hero--editorial .page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}

.breadcrumb a:hover {
  color: var(--copper);
}

.breadcrumb-sep {
  color: rgba(196, 98, 45, .4);
}

.page-headline {
  font-family: var(--f-display);
  font-size: clamp(2.7rem, 4.8vw, 4.8rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0;
}

.page-headline em {
  font-style: italic;
  color: var(--copper);
}

.page-sub {
  margin-top: 24px;
  max-width: 900px;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.8;
}

.page-sub p {
  margin: 0;
}

.filter-bar {
  background: var(--ink-soft);
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  padding: 0;
  position: sticky;
  top: 72px;
  z-index: 40;
}

.filter-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-inner::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-body);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 20px 28px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .3s, border-color .3s;
  text-decoration: none;
}

.filter-btn:hover {
  color: var(--parchment);
}

.filter-btn.active {
  color: var(--copper);
  border-bottom-color: var(--copper);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  padding: 0 4px;
  background: rgba(196, 98, 45, .15);
  color: var(--copper);
  font-size: .55rem;
  letter-spacing: 0;
  margin-left: 6px;
}

.featured-wrap {
  padding: 80px 0 0;
}

.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255, 255, 255, .04);
  transition: transform .4s var(--ease-out);
}

.featured-article:hover {
  transform: translateY(-3px);
}

.featured-img {
  aspect-ratio: 4/3;
  background: var(--ink-soft);
  overflow: hidden;
  position: relative;
  display: block;
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}

.featured-article:hover .featured-img img {
  transform: scale(1.04);
}

.featured-img-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--copper);
  color: var(--ink);
  padding: 5px 12px;
  font-weight: 500;
  z-index: 2;
}

.featured-body {
  background: var(--ink-soft);
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-label {
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 4px;
}

.featured-date {
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.featured-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--parchment);
  margin: 20px 0 24px;
  transition: color .3s;
}

.featured-title a {
  color: inherit;
  text-decoration: none;
}

.featured-article:hover .featured-title {
  color: var(--copper);
}

.featured-excerpt {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.8;
  flex: 1;
  margin: 0;
}

.featured-footer {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  flex-wrap: wrap;
}

.featured-tag {
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  text-decoration: none;
  transition: color .3s, border-color .3s;
}

.featured-tag:hover {
  color: var(--parchment);
  border-color: rgba(196, 98, 45, .32);
}

.sec-divider {
  padding: 72px 0 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.sec-divider-label {
  margin-bottom: 10px;
}

.sec-divider-heading {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--parchment);
  letter-spacing: -.01em;
  margin: 0;
}

.sec-divider-heading em {
  font-style: italic;
  color: var(--copper);
}

.sec-divider-line {
  flex: 1;
  min-width: 60px;
  height: 1px;
  background: linear-gradient(to right, rgba(196, 98, 45, .3), transparent);
  margin-bottom: 12px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: rgba(255, 255, 255, .04);
}

.articles-grid>.post-card--empty {
  grid-column: 1 / -1;
}

.news-card {
  background: var(--ink-soft);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .35s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}

.news-card-img {
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #241208;
  position: relative;
  display: block;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}

.news-card:hover .news-card-img img {
  transform: scale(1.04);
}

.news-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 4px 10px;
  font-weight: 500;
}

.badge-solid {
  background: var(--copper);
  color: var(--ink);
}

.badge-outline {
  background: rgba(196, 98, 45, .12);
  color: var(--copper);
  border: 1px solid rgba(196, 98, 45, .3);
}

.news-card-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-date {
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 10px;
  display: block;
}

.news-card-title {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--parchment);
  line-height: 1.28;
  flex: 1;
  margin: 0 0 16px;
  transition: color .3s;
}

.news-card-title a {
  color: inherit;
  text-decoration: none;
}

.news-card:hover .news-card-title {
  color: var(--copper);
}

.news-card-excerpt {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.72;
  margin: 0 0 20px;
}

.archive-listing--news {
  padding-top: 0;
}

.archive-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.archive-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: static;
  min-width: 0;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(196, 98, 45, .22);
  background: rgba(255, 255, 255, .02);
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  transition: border-color .3s ease, color .3s ease, background .3s ease, transform .3s var(--ease-out);
}

.archive-pagination a.page-numbers:hover {
  color: var(--parchment);
  border-color: var(--copper);
  background: rgba(196, 98, 45, .08);
  transform: translateY(-2px);
}

.archive-pagination .page-numbers.current {
  color: var(--ink);
  background: var(--copper);
  border-color: var(--copper);
}

.archive-pagination .page-numbers.dots {
  min-width: auto;
  border: 0;
  background: transparent;
  padding: 0 4px;
}

.archive-listing--404 {
  padding-top: 2.5rem;
}

.page-hero {
  min-height: auto;
  padding: 10rem 0 3rem;
  background: linear-gradient(180deg, rgba(196, 98, 45, .06), transparent), var(--ink);
}

.site-main--page .page-content,
.site-main--404 {
  background: var(--ink-soft);
}

.archive-description {
  max-width: 42rem;
  margin-top: 1rem;
  color: rgba(250, 248, 244, .72);
}

.prose>*+* {
  margin-top: 1.2rem;
}

.prose h2,
.prose h3 {
  font-family: var(--f-display);
  line-height: 1.15;
  font-weight: 300;
}

.prose h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.prose h3 {
  font-size: 1.4rem;
}

.prose p,
.prose li {
  color: rgba(250, 248, 244, .82);
}

#sobre .prose p,
#sobre .prose li,
.site-main--page .prose p,
.site-main--page .prose li {
  color: rgba(250, 248, 244, .82);
}

.site-main--page .entry-content,
.site-main--default .entry-content {
  color: var(--parchment);
}

.widget+.widget {
  margin-top: 2rem;
}

.widget-title {
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--copper);
}

footer {
  background: var(--ink-soft);
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .04);
}

.footer-logo-image {
  width: min(100%, var(--footer-logo-width, 124px));
  max-height: none;
  height: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  list-style: none;
  flex-wrap: wrap;
  min-width: 0;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  transition: color .3s;
}

.footer-links a:hover {
  color: var(--copper);
}

.footer-logo {
  display: flex;
  align-items: center;
  max-width: 200px;
  width: 100%;
}

.footer-logo a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  width: 100%;
}

.footer-social-list {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(154, 142, 130, .4);
  font-size: .72rem;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .04);
}

.footer-logo .custom-logo,
.footer-logo-image {
  max-width: 100%;
}

.footer-credit {
  font-size: .65rem;
}

.footer-credit a {
  color: rgba(196, 98, 45, .7);
  text-decoration: none;
  transition: color .3s;
}

.footer-credit a:hover {
  color: var(--copper);
}

#read-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 2px;
  width: 0;
  background: var(--copper);
  z-index: 60;
}

#back-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--copper);
  border: 0;
  color: var(--ink);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 60;
}

#back-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal,
.reveal-left,
.reveal-scale {
  opacity: 0;
  transition: opacity var(--transition-slow) var(--ease-out), transform var(--transition-slow) var(--ease-out);
}

.reveal {
  transform: translateY(28px);
}

.reveal-left {
  transform: translateX(-32px);
}

.reveal-scale {
  transform: scale(0.96);
}

.reveal.in,
.reveal-left.in,
.reveal-scale.in {
  opacity: 1;
  transform: none;
}

.stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow) var(--ease-out), transform var(--transition-slow) var(--ease-out);
}

.stagger.in>* {
  opacity: 1;
  transform: none;
}

/* === PROJECT SECTION WITH MEDIA === */

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--project-grid-gap, 0);
  align-items: center;
}

.video-image-wrapper {
  position: relative;
}

.video-image {
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-normal) ease;
}

.video-image:hover {
  transform: scale(1.02);
}

.video-image iframe,
.video-image video,
.video-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition-normal) ease;
  border-radius: 8px;
}

.video-image:hover .video-play-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.video-play-overlay::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border: 3px solid #FAF8F4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal) ease;
}

.video-image:hover .video-play-overlay::after {
  width: 70px;
  height: 70px;
  box-shadow: 0 0 0 6px rgba(250, 248, 244, 0.2);
}

.video-play-overlay::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 18px solid #FAF8F4;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
  z-index: 2;
}

/* Project Modal */

.project-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal) ease, visibility var(--transition-normal) ease;
  padding: 20px;
}

.project-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.project-modal-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  animation: modalSlideIn var(--transition-normal) var(--ease-out);
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.project-modal-body {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
}

.project-modal-iframe,
.project-modal-body iframe,
.project-modal-body video,
.project-modal-body img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.project-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(250, 248, 244, 0.1);
  border: none;
  border-radius: 50%;
  color: #FAF8F4;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-normal) ease;
  backdrop-filter: blur(8px);
}

.project-modal-close:hover {
  background: rgba(250, 248, 244, 0.25);
  transform: scale(1.1);
}

.project-modal-close svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

/* === END PROJECT SECTION === */

@media (max-width: 1024px) {

  .featured-article {
    grid-template-columns: 1fr;
  }

  .featured-body {
    padding: 36px 32px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .article-layout,
  .about-grid,
  .newsletter-grid,
  .contact-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .article-body {
    border-right: 0;
    padding-right: 0;
    padding: 64px 0;
  }

  .article-sidebar {
    position: static;
    padding-top: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .team-grid,
  .post-grid,
  .footer-widgets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {

  #mainNav .nav-links,
  .nav-cta,
  #mainNav .nav-submenu {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-inner {
    grid-template-columns: 1fr auto;
  }

  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .hero-rule-left,
  .page-hero-bg-letter {
    display: none;
  }

  .hero-rule,
  .article-hero-rule,
  .hero-scroll {
    display: none;
  }

  #hero {
    min-height: auto;
    padding: 9rem 0 4rem;
  }

  .article-hero-content {
    padding-top: 140px;
    padding-right: 0;
  }

  .article-title {
    font-size: 2rem;
  }

  .article-hero-visual-mark {
    width: 70%;
    font-size: 8rem;
  }

  #contacto::before {
    display: none;
  }

  .form-row,
  .about-stats,
  .team-grid,
  .post-grid,
  .articles-grid,
  .diff-pillars,
  .footer-widgets,
  .project-grid,
  .content-layout.has-sidebar {
    grid-template-columns: 1fr;
  }

  .project-modal-content {
    max-width: 100%;
  }

  .project-modal-body {
    aspect-ratio: 16/9;
  }

  .service-item {
    grid-template-columns: 44px 1fr;
    gap: 1rem;
  }

  .service-copy {
    grid-column: 2;
  }

  .service-toggle {
    grid-column: 2;
    justify-self: start;
    margin-top: 0;
  }

  .footer-inner,
  .footer-copy,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    display: flex;
  }

  .filter-btn {
    padding: 16px 20px;
  }

  .featured-wrap {
    padding-top: 56px;
  }
}

@media (max-width: 560px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

.content-layout.has-sidebar {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.content-layout.has-sidebar.sidebar-left {
  grid-template-columns: 320px minmax(0, 1fr);
}

.content-layout.has-sidebar.sidebar-left>.article-sidebar,
.content-layout.has-sidebar.sidebar-left>aside {
  order: -1;
}

.entry-sections>section:first-child {
  padding-top: 0;
}

.entry-sections>section:last-child {
  padding-bottom: 0;
}
