:root {
  --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;
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body: 'DM Sans', sans-serif;
  --f-menu: 'DM Sans', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --site-width: 1280px;
  --body-font-size: 16px;
  --menu-font-size: 12px;
  --heading-scale: 1;
  --boxed-bg-color: #1A0F0A;
  --boxed-body-bg: #120b07;
  --content-bg: #1A0F0A;
}

*, *::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 40px;
}
.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: .75rem;
  padding: 1rem 2rem;
  border: 1px solid var(--copper);
  background: var(--copper);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 600;
  transition: transform .25s var(--ease-out), background .25s ease, color .25s ease;
}
.btn-primary:hover, .form-submit:hover, .sidebar-cta-btn:hover, .nav-cta:hover {
  transform: translateY(-2px);
  background: #d4774a;
}
.btn-primary--inverse {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--parchment);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
}
.btn-ghost .arrow {
  width: 24px;
  height: 1px;
  background: currentColor;
  position: relative;
}
.btn-ghost .arrow::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);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: .4;
  pointer-events: none;
  z-index: 1;
  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: 2; }

.cursor-dot, .cursor-ring {
  position: fixed;
  inset: 0 auto auto 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 10000;
}
.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 .2s ease, height .2s ease, margin .2s ease, border-color .2s 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: 500;
  padding: 28px 0;
  transition: padding .4s, background .4s, backdrop-filter .4s;
}
.scrolled {
  padding: 16px 0;
  background: rgba(26, 15, 10, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 98, 45, .12);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}
.custom-logo {
  width: auto;
  max-height: 32px;
  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;
}
.nav-links, .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width .4s var(--ease-out);
}
.nav-links a:hover { color: var(--parchment); }
.nav-links a:hover::after { width: 100%; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-cta {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper);
  border: 1px solid var(--copper);
  padding: 10px 24px;
  text-decoration: none;
  transition: background .3s, color .3s;
  background: transparent;
}
.nav-cta:hover {
  background: var(--copper);
  color: var(--ink);
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--parchment);
  transition: transform .3s, opacity .3s, background .3s;
}
.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, .96);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform .3s ease, opacity .3s ease;
  z-index: 490;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mob-link {
  display: block;
  color: var(--parchment);
  text-decoration: none;
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
}

#hero, .page-hero, .article-hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
#hero {
  padding: 10rem 0 5rem;
}
.hero-bg-w {
  position: absolute;
  right: -3vw;
  top: 50%;
  transform: translateY(-50%);
  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-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;
}
.hero-content {
  padding-bottom: 2rem;
}
.hero-headline {
  max-width: 820px;
  font-size: clamp(3.2rem, 7vw, 7.5rem);
  margin: 0;
}
.hero-sub {
  max-width: 440px;
  color: var(--muted);
  margin: 2rem 0 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 3rem; }
.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: .62rem;
  letter-spacing: .2em;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--muted), transparent);
}
.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);
}
.about-grid, .newsletter-grid, .contact-grid, .content-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5rem;
}
.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); }
.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; }
.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,.06);
  cursor: pointer;
}
.service-num, .article-author-name { font-family: var(--f-display); }
.service-title { font-family: var(--f-display); font-size: clamp(1.4rem, 2.5vw, 2rem); margin: 0; }
.service-desc {
  color: var(--muted);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .3s ease, opacity .3s ease, margin-top .3s ease;
}
.service-item.open .service-desc { max-height: 180px; opacity: 1; margin-top: .8rem; }
.service-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.service-item.open .service-arrow { background: var(--copper); color: var(--ink); border-color: var(--copper); }

#diferenciais, #projecto {
  padding: 7.5rem 0;
  background: var(--copper);
  position: relative;
}
#diferenciais::before, #projecto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,0,0,.24), transparent);
}
.diff-content, #projecto .container { position: relative; z-index: 1; }
.diff-headline { max-width: 740px; font-size: clamp(2.5rem, 5vw, 4rem); }
.diff-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(0,0,0,.15);
  margin-top: 4rem;
}
.pillar { background: rgba(0,0,0,.08); padding: 2.5rem 2rem; }
.pillar-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(250,248,244,.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}
.pillar-title { font-family: var(--f-display); font-size: 1.6rem; margin-bottom: .75rem; }
.pillar-text { color: rgba(250,248,244,.74); }

.team-grid, .post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: rgba(255,255,255,.04);
  margin-top: 3rem;
}
.team-card, .post-card {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.team-card { aspect-ratio: 3 / 4; }
.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-link { display: block; height: 100%; }
.post-card-body { padding: 1.75rem; }
.post-card-date {
  display: inline-block;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .65rem;
  margin-bottom: .75rem;
}
.post-card-title {
  margin: 0 0 1rem;
  font-family: var(--f-display);
  font-size: 1.4rem;
  line-height: 1.25;
}
.post-card-excerpt { color: var(--muted); margin: 0 0 1.25rem; }
.post-card-more {
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
}
.post-card--empty { display: block; }

#noticias { padding: 7.5rem 0; background: var(--ink); border-top: 1px solid rgba(196,98,45,.12); }
#newsletter { background: var(--ink-soft); }
.newsletter-form, .contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-label, .contact-info-label, .sidebar-label {
  display: block;
  margin-bottom: .45rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .68rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: .95rem 1rem;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: var(--parchment);
}
.form-textarea { min-height: 160px; resize: vertical; }
.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-items {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.contact-info-value { color: var(--parchment); }

.article-hero {
  min-height: 85vh;
  padding-bottom: 5rem;
}
.article-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--ink-soft), var(--ink));
}
.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;
  max-width: 900px;
  padding-top: 12rem;
}
.breadcrumb-line {
  display: flex;
  gap: .6rem;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .65rem;
  margin-bottom: 2rem;
}
.article-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.article-tag {
  background: var(--copper);
  color: var(--ink);
  padding: .25rem .75rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .62rem;
}
.article-date, .article-read-time { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.article-title { font-size: clamp(2.4rem, 5vw, 4.6rem); margin: 0 0 1.5rem; }
.article-lead { max-width: 720px; color: rgba(250,248,244,.75); font-size: 1.05rem; }
.article-author-row { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.article-author-badge {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--copper);
}
.article-author-role { color: var(--copper); text-transform: uppercase; font-size: .65rem; letter-spacing: .15em; }
.article-shell { background: var(--ink); }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 0 3rem;
}
.article-body {
  padding: 5rem 0;
  border-right: 1px solid rgba(255,255,255,.05);
  padding-right: 4rem;
}
.article-sidebar {
  padding: 5rem 0 5rem 0;
  margin-left: 0;
  padding-left: 0;
  position: sticky;
  top: 120px;
  align-self: start;
}
.article-image {
  margin: 3rem 0;
}
.article-image-inner {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.article-image-caption {
  color: var(--muted);
  font-size: .75rem;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: .8rem;
  margin-top: .8rem;
}
.article-footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  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;
}
.article-share { display: flex; align-items: center; gap: .75rem; }
.article-share-label { color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: .66rem; }
.share-btn, .footer-social {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.1);
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  padding: 0;
}
.share-btn svg, .footer-social svg, #back-top svg {
  width: 14px;
  height: 14px;
  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 + .sidebar-section { margin-top: 2.5rem; }
.sidebar-cta {
  background: var(--copper-xlt);
  border: 1px solid rgba(196,98,45,.2);
  padding: 1.8rem;
}
.sidebar-cta-text {
  font-family: var(--f-display);
  font-size: 1.2rem;
  margin: 0 0 1rem;
}
.related-card {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.related-card-tag { color: var(--copper); font-size: .6rem; text-transform: uppercase; letter-spacing: .16em; }
.related-card-title { margin-top: .4rem; font-family: var(--f-display); font-size: 1rem; }

.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);
}
.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);
  padding: 36px 0;
  border-top: 1px solid rgba(196,98,45,.12);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.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 {
  max-height: 40px;
  width: auto;
}
.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  transition: color .3s;
}
.footer-links a:hover { color: var(--parchment); }
.footer-logo {
  display: flex;
  align-items: center;
}
.footer-logo a {
  display: inline-flex;
  align-items: center;
}
.footer-inner > div:last-child a:hover {
  border-color: var(--copper) !important;
  color: var(--copper) !important;
}
.footer-copy {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(154,142,130,.55);
  font-size: .76rem;
  padding-top: 18px;
}
.footer-copy a:hover {
  color: var(--copper) !important;
}
#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 .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal { transform: translateY(28px); }
.reveal-left { transform: translateX(-32px); }
.reveal-scale { transform: scale(.96); }
.reveal.in, .reveal-left.in, .reveal-scale.in { opacity: 1; transform: none; }
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.stagger.in > * { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .article-layout, .about-grid, .newsletter-grid, .contact-grid, .content-layout {
    grid-template-columns: 1fr;
  }
  .article-body {
    border-right: 0;
    padding-right: 0;
  }
  .article-sidebar {
    position: static;
    padding-top: 0;
  }
  .team-grid, .post-grid, .diff-pillars, .footer-widgets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .hero-rule, .article-hero-rule, .hero-scroll { display: none; }
  #hero { min-height: auto; padding: 9rem 0 4rem; }
  .form-row, .about-stats, .team-grid, .post-grid, .diff-pillars, .footer-widgets, .content-layout.has-sidebar {
    grid-template-columns: 1fr;
  }
  .service-item {
    grid-template-columns: 44px 1fr;
  }
  .service-arrow { display: none; }
  .footer-inner,
  .footer-copy,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
}
.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;
}
