/*
Theme Name: Dobre Imię
Version: 0.3.1
Text Domain: dobre-imie
*/
:root {
  --ink: #1b1a18;
  --ink-soft: #24221f;
  --paper: #f2eee6;
  --paper-light: #faf8f3;
  --copper: #a97855;
  --copper-light: #c8a285;
  --stone: #8b847a;
  --line: rgba(27, 26, 24, 0.18);
  --line-light: rgba(242, 238, 230, 0.18);
  --serif: Baskerville, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --frame: min(100% - 96px, 1280px);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

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

button, input { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper-light);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--paper-light);
  border-bottom: 1px solid var(--line-light);
}

.site-header__inner {
  width: var(--frame);
  min-height: 118px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.brand img {
  width: 108px;
  height: auto;
}

.brand__descriptor {
  padding-left: 21px;
  border-left: 1px solid var(--line-light);
  display: grid;
  line-height: 1.15;
}

.brand__descriptor strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.brand__descriptor span {
  margin-top: 5px;
  color: rgba(250, 248, 243, 0.58);
  font-size: 9px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 34px);
}

.desktop-nav a {
  position: relative;
  color: rgba(250, 248, 243, 0.76);
  font-size: 12px;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  height: 1px;
  background: var(--copper-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta {
  min-width: 104px;
  padding: 13px 18px 12px;
  border: 1px solid rgba(250, 248, 243, 0.42);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--ink);
  background: var(--paper-light);
  border-color: var(--paper-light);
}

.menu-toggle,
.mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: 900px;
  color: var(--paper-light);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px) 50% 0 / 25% 100%,
    var(--ink);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(27,26,24,0) 48%, rgba(27,26,24,0.25) 65%, rgba(27,26,24,0.78) 100%);
  pointer-events: none;
}

.hero__rule {
  position: absolute;
  z-index: 3;
  top: 177px;
  left: 0;
  width: calc((100% - min(100% - 96px, 1280px)) / 2 + 57px);
  border-top: 1px solid rgba(242, 238, 230, 0.28);
}

.hero__rule::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper-light);
}

.hero__copy {
  position: relative;
  z-index: 4;
  width: var(--frame);
  margin: 0 auto;
  padding-top: 190px;
  padding-right: 51%;
}

.eyebrow,
.section-kicker {
  margin: 0 0 42px;
  color: var(--copper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow span,
.section-kicker span {
  display: inline-block;
  margin-right: 16px;
  color: var(--stone);
}

.hero__latin {
  max-width: 500px;
  margin: 0 0 26px;
  color: rgba(250, 248, 243, 0.58);
  font-size: 12px;
  letter-spacing: 0.18em;
  line-height: 1.75;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(55px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.99;
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-top: 46px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 27px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }

.button--copper {
  color: #fff;
  background: var(--copper);
}

.button--copper:hover,
.button--copper:focus-visible { background: #bb8762; }

.button--ink {
  color: var(--paper-light);
  background: var(--ink);
}

.button--ink:hover,
.button--ink:focus-visible { background: #2a2825; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: rgba(250, 248, 243, 0.84);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link svg,
.specialization > svg {
  width: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  transition: transform 180ms ease;
}

.text-link:hover svg,
.text-link:focus-visible svg,
.specialization:hover > svg { transform: translateX(5px); }

.hero__portrait {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 47.5%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(0.76) contrast(1.03);
}

.hero__portrait-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(27,26,24,0.66) 14%, rgba(27,26,24,0.08) 47%, rgba(27,26,24,0.25) 100%),
    linear-gradient(0deg, rgba(27,26,24,0.55) 0%, transparent 35%);
}

.hero__portrait figcaption {
  position: absolute;
  z-index: 4;
  right: max(48px, calc((100vw - 1280px) / 2));
  bottom: 92px;
  padding-left: 18px;
  border-left: 1px solid var(--copper-light);
  display: grid;
  line-height: 1.2;
}

.hero__portrait figcaption strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
}

.hero__portrait figcaption span {
  margin-top: 6px;
  color: rgba(250, 248, 243, 0.62);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  z-index: 4;
  bottom: 50px;
  left: max(48px, calc((100vw - 1280px) / 2));
  margin: 0;
  color: rgba(250, 248, 243, 0.42);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__scroll span {
  display: inline-block;
  width: 68px;
  margin-left: 16px;
  border-top: 1px solid rgba(250, 248, 243, 0.35);
  vertical-align: middle;
}

.about {
  position: relative;
  background: var(--paper);
}

.about::before {
  content: "DOBRE IMIĘ";
  position: absolute;
  top: 30px;
  right: 2.5vw;
  color: rgba(27, 26, 24, 0.03);
  font-family: var(--serif);
  font-size: clamp(80px, 10vw, 160px);
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.section-frame,
.values__frame {
  position: relative;
  width: var(--frame);
  margin: 0 auto;
}

.section-frame { padding: 125px 0 120px; }

.section-intro {
  display: grid;
  grid-template-columns: 26% minmax(0, 1fr);
  align-items: start;
  padding-bottom: 74px;
  border-bottom: 1px solid var(--line);
}

.section-intro .section-kicker { margin-top: 15px; }

.section-intro h2,
.values__heading h2 {
  max-width: 880px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 4.5vw, 67px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.about__story {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
  gap: clamp(72px, 9vw, 140px);
  padding: 90px 0 105px;
}

.about__copy {
  padding-top: 36px;
}

.about__copy p {
  margin: 0;
  color: #413d38;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.7;
}

.about__copy p + p { margin-top: 32px; }

.about__copy p:first-child::first-letter {
  float: left;
  margin: 7px 12px 0 0;
  color: var(--copper);
  font-size: 69px;
  line-height: 0.72;
}

.about__portraits {
  position: relative;
  min-height: 610px;
}

.portrait {
  position: absolute;
  margin: 0;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 20px 16px;
  color: var(--paper-light);
  background: linear-gradient(0deg, rgba(27,26,24,0.86), transparent);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.portrait--primary {
  top: 0;
  left: 0;
  width: 58%;
  height: 540px;
}

.portrait--secondary {
  right: 0;
  bottom: 0;
  width: 47%;
  height: 455px;
  border: 12px solid var(--paper);
}

.specializations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.specialization {
  position: relative;
  min-height: 215px;
  padding: 36px 64px 35px 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 34px;
  gap: 18px;
  align-items: start;
}

.specialization:nth-child(odd) {
  padding-right: 54px;
  border-right: 1px solid var(--line);
}

.specialization:nth-child(even) { padding-left: 54px; }

.specialization:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

.specialization__number {
  padding-top: 8px;
  color: var(--copper);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.specialization h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.12;
}

.specialization h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.specialization p {
  max-width: 405px;
  margin: 13px 0 0;
  color: #6d665e;
  font-size: 13px;
  line-height: 1.55;
}

.specialization > svg {
  align-self: center;
  color: var(--copper);
}

.values {
  color: var(--paper-light);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px) 50% 0 / 25% 100%,
    var(--ink-soft);
}

.values__frame { padding: 126px 0 132px; }

.values__heading {
  display: grid;
  grid-template-columns: 26% minmax(0, 1fr);
  align-items: start;
  padding-bottom: 75px;
  border-bottom: 1px solid var(--line-light);
}

.section-kicker--light {
  margin-top: 14px;
  color: var(--copper-light);
}

.section-kicker--light span { color: rgba(250,248,243,0.45); }

.values__heading h2 { max-width: 780px; }

.values__list {
  margin: 0;
  padding: 72px 0 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.values__list li {
  min-height: 300px;
  padding: 3px 34px 0;
  border-left: 1px solid var(--line-light);
}

.values__list li:first-child { padding-left: 0; border-left: 0; }
.values__list li:last-child { padding-right: 0; }

.values__list span {
  color: var(--copper-light);
  font-size: 11px;
  letter-spacing: 0.15em;
}

.values__list h3 {
  min-height: 74px;
  margin: 64px 0 22px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.05;
}

.values__list p {
  margin: 0;
  color: rgba(250, 248, 243, 0.62);
  font-size: 13px;
  line-height: 1.65;
}

.contact-prompt {
  color: var(--ink);
  background: var(--copper);
}

.contact-prompt__frame {
  position: relative;
  width: var(--frame);
  min-height: 340px;
  margin: 0 auto;
  padding: 78px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 70px;
  align-items: center;
  overflow: hidden;
}

.contact-prompt__frame::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 25.8%;
  border-left: 1px solid rgba(27, 26, 24, 0.16);
}

.contact-prompt__number {
  position: absolute;
  top: 50%;
  right: 4%;
  margin: 0;
  color: rgba(27, 26, 24, 0.06);
  font-family: var(--serif);
  font-size: 280px;
  line-height: 1;
  transform: translateY(-50%);
}

.contact-prompt h2 {
  position: relative;
  z-index: 1;
  max-width: 790px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 4.5vw, 68px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.contact-prompt__actions {
  position: relative;
  z-index: 1;
  min-width: 240px;
  display: grid;
  gap: 25px;
  justify-items: start;
}

.text-link--ink { color: var(--ink); }

.publications {
  background: var(--paper-light);
}

.publications__frame {
  width: var(--frame);
  margin: 0 auto;
  padding: 126px 0 136px;
}

.publications__heading {
  display: grid;
  grid-template-columns: 26% minmax(0, 1fr);
  align-items: start;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--line);
}

.publications__heading .section-kicker { margin-top: 14px; }

.publications__heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(50px, 5vw, 74px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.publication-featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  min-height: 540px;
  border-bottom: 1px solid var(--ink);
}

.publication-featured figure,
.publication-card figure {
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.publication-featured figure {
  min-height: 540px;
}

.publication-featured img,
.publication-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.02);
  transition: transform 400ms ease, filter 250ms ease;
}

.publication-featured:hover img,
.publication-card:hover img {
  transform: scale(1.025);
  filter: saturate(0.9) contrast(1.02);
}

.publication-featured__copy {
  position: relative;
  padding: 64px 0 54px 68px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.publication-featured time,
.publication-card time {
  color: var(--copper);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.publication-featured h3 {
  margin: 46px 0 24px;
  font-family: var(--serif);
  font-size: 39px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.publication-featured h3 a::after,
.publication-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.publication-featured p,
.publication-card p {
  margin: 0;
  color: #6d665e;
  font-size: 13px;
  line-height: 1.7;
}

.publication-featured__copy > svg {
  width: 38px;
  margin-top: auto;
  fill: none;
  stroke: var(--copper);
  stroke-width: 1;
}

.publication-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--ink);
}

.publication-card {
  position: relative;
  padding: 45px 40px 56px;
  border-left: 1px solid var(--line);
}

.publication-card:first-child {
  padding-left: 0;
  border-left: 0;
}

.publication-card:last-child { padding-right: 0; }

.publication-card figure {
  height: 225px;
  margin-bottom: 34px;
}

.publication-card h3 {
  min-height: 104px;
  margin: 26px 0 18px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.publication-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.contact-section {
  position: relative;
  color: var(--paper-light);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px) 50% 0 / 25% 100%,
    var(--ink);
}

.contact-section__frame {
  width: var(--frame);
  margin: 0 auto;
  padding: 126px 0 112px;
}

.contact-section__heading {
  display: grid;
  grid-template-columns: 26% minmax(0, 1fr);
  align-items: start;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--line-light);
}

.contact-section__heading .section-kicker { margin-top: 14px; }

.contact-section__heading h2 {
  max-width: 880px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 4.6vw, 68px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(310px, 0.85fr) minmax(420px, 1.35fr);
  border-bottom: 1px solid var(--line-light);
}

.contact-layout > * {
  min-width: 0;
  padding: 58px 48px 66px;
  border-left: 1px solid var(--line-light);
}

.contact-layout > :first-child {
  padding-left: 0;
  border-left: 0;
}

.contact-layout > :last-child { padding-right: 0; }

.contact-layout h3 {
  margin: 0 0 42px;
  color: var(--copper-light);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-shortcuts ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-shortcuts li { border-top: 1px solid var(--line-light); }
.contact-shortcuts li:last-child { border-bottom: 1px solid var(--line-light); }

.contact-shortcuts a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.2;
  transition: color 180ms ease, padding 180ms ease;
}

.contact-shortcuts a::after {
  content: none;
  margin-left: 16px;
  color: var(--copper-light);
  font-family: var(--sans);
  font-size: 13px;
}

.contact-shortcuts a:hover,
.contact-shortcuts a:focus-visible {
  padding-left: 6px;
  color: var(--copper-light);
}

.contact-details address {
  margin: 0;
  color: rgba(250,248,243,0.68);
  font-family: var(--serif);
  font-size: 21px;
  font-style: normal;
  line-height: 1.55;
}

.contact-phone {
  display: inline-block;
  margin-top: 42px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.15;
}

.contact-phone:hover,
.contact-phone:focus-visible { color: var(--copper-light); }

.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 54px;
}

.contact-socials a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-light);
  display: grid;
  place-items: center;
  color: rgba(250,248,243,0.72);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.contact-socials a:hover,
.contact-socials a:focus-visible {
  color: var(--ink);
  background: var(--copper-light);
  border-color: var(--copper-light);
}

.contact-form { display: grid; align-content: start; }

.contact-form > label:not(.contact-form__consent) {
  display: grid;
  gap: 9px;
  margin-bottom: 25px;
}

.contact-form > label > span {
  color: rgba(250,248,243,0.58);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
  width: 100%;
  height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(250,248,243,0.32);
  border-radius: 0;
  color: var(--paper-light);
  outline: 0;
  background: transparent;
  transition: border-color 180ms ease;
}

.contact-form input:focus { border-color: var(--copper-light); }

.contact-form__consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 10px 0 28px;
  cursor: pointer;
}

.contact-form__consent input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  accent-color: var(--copper);
}

.contact-form__consent span {
  color: rgba(250,248,243,0.52) !important;
  font-size: 9px !important;
  letter-spacing: 0.045em !important;
  line-height: 1.6;
  text-transform: none !important;
}

.contact-form .button { width: 190px; }
.contact-form .button:disabled { cursor: not-allowed; opacity: 0.38; transform: none; }

.site-footer {
  color: var(--paper-light);
  background: var(--ink);
}

.site-footer__frame {
  width: var(--frame);
  min-height: 150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 50px;
  align-items: center;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.site-footer__brand img { width: 82px; height: auto; }

.site-footer__brand > span {
  padding-left: 19px;
  border-left: 1px solid var(--line-light);
  display: grid;
  line-height: 1.15;
}

.site-footer__brand strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.site-footer__brand small,
.site-footer p,
.site-footer__top {
  color: rgba(250,248,243,0.46);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer__brand small { margin-top: 5px; }
.site-footer p { margin: 0; }

.site-footer__top {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-footer__top span { color: var(--copper-light); font-size: 18px; }

@media (max-width: 1160px) {
  :root { --frame: min(100% - 64px, 1040px); }

  .site-header__inner {
    grid-template-columns: 1fr auto auto;
    gap: 20px;
  }

  .brand__descriptor { display: none; }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: 11px; }
  .header-cta { min-width: 92px; }
  .hero__copy { padding-right: 48%; }
  .hero h1 { font-size: 58px; }
  .about__story { grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
  .values__list h3 { font-size: 27px; }

  .contact-prompt__frame { gap: 45px; }
  .publication-featured { grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr); }
  .publication-featured__copy { padding-left: 48px; }
  .publication-card { padding-right: 25px; padding-left: 25px; }
  .publication-card h3 { font-size: 24px; }

  .contact-layout { grid-template-columns: 0.75fr 0.85fr 1.25fr; }
  .contact-layout > * { padding-right: 30px; padding-left: 30px; }
  .contact-phone { font-size: 25px; }
}

@media (max-width: 900px) {
  :root { --frame: min(100% - 48px, 760px); }

  .site-header { position: absolute; }
  .site-header__inner { min-height: 92px; grid-template-columns: 1fr auto; }
  .brand img { width: 88px; }
  .desktop-nav, .header-cta { display: none; }

  .menu-toggle {
    width: 48px;
    height: 48px;
    padding: 13px 9px;
    border: 1px solid rgba(250,248,243,0.28);
    display: grid;
    align-content: center;
    gap: 7px;
    color: var(--paper-light);
    background: transparent;
  }

  .menu-toggle > span:not(.screen-reader-text) {
    display: block;
    width: 100%;
    border-top: 1px solid currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

  .mobile-nav {
    position: absolute;
    top: 92px;
    right: 0;
    left: 0;
    min-height: calc(100vh - 92px);
    padding: 36px 24px;
    color: var(--paper-light);
    background: rgba(27,26,24,0.98);
  }

  .mobile-nav:not([hidden]) { display: grid; align-content: start; }

  .mobile-nav a {
    padding: 17px 0;
    border-bottom: 1px solid var(--line-light);
    font-family: var(--serif);
    font-size: 27px;
  }

  .hero {
    min-height: 1120px;
    padding-bottom: 520px;
  }

  .hero::after { background: linear-gradient(0deg, rgba(27,26,24,0.35) 0%, var(--ink) 49%, transparent 72%); }
  .hero__rule { top: 143px; width: 24px; }
  .hero__copy { padding: 145px 0 0; }
  .hero__copy { width: var(--frame); }
  .hero h1 { max-width: 720px; font-size: 62px; }
  .hero__portrait { top: auto; bottom: 0; width: 100%; height: 550px; }
  .hero__portrait img { object-position: 50% 19%; }
  .hero__portrait-shade { background: linear-gradient(0deg, rgba(27,26,24,.55), transparent 48%), linear-gradient(180deg, var(--ink), transparent 34%); }
  .hero__portrait figcaption { right: 24px; bottom: 34px; }
  .hero__scroll { display: none; }

  .section-intro,
  .values__heading { grid-template-columns: 1fr; gap: 20px; }

  .section-intro .section-kicker,
  .section-kicker--light { margin-top: 0; margin-bottom: 12px; }

  .about__story { grid-template-columns: 1fr; gap: 68px; }
  .about__copy { max-width: 650px; padding-top: 0; }
  .about__portraits { min-height: 660px; }
  .portrait--primary { width: 62%; height: 600px; }
  .portrait--secondary { width: 47%; height: 470px; }
  .specializations { grid-template-columns: 1fr; }
  .specialization:nth-child(n) { min-height: 185px; padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .specialization:last-child { border-bottom: 0; }
  .values__list { grid-template-columns: repeat(2, 1fr); gap: 60px 0; }
  .values__list li:nth-child(3) { padding-left: 0; border-left: 0; }

  .contact-prompt__frame {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .contact-prompt__frame::before { left: 50%; }
  .contact-prompt__actions { grid-template-columns: auto auto; align-items: center; }
  .contact-prompt__number { right: 0; font-size: 230px; }

  .publications__heading { grid-template-columns: 1fr; gap: 20px; }
  .publications__heading .section-kicker { margin: 0 0 12px; }
  .publication-featured { grid-template-columns: 1fr; }
  .publication-featured figure { min-height: 440px; }
  .publication-featured__copy { min-height: 480px; padding: 50px 0; }
  .publication-list { grid-template-columns: 1fr; }
  .publication-card:nth-child(n) { padding: 50px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .publication-card:last-child { border-bottom: 0; }
  .publication-card figure { height: 390px; }
  .publication-card h3 { min-height: 0; font-size: 31px; }

  .contact-section__heading { grid-template-columns: 1fr; gap: 20px; }
  .contact-section__heading .section-kicker { margin: 0 0 12px; }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .contact-layout > *:nth-child(n) { padding: 50px 35px; }
  .contact-layout > :first-child { padding-left: 0; }
  .contact-layout > :nth-child(2) { padding-right: 0; }
  .contact-form { grid-column: 1 / -1; border-top: 1px solid var(--line-light); border-left: 0; padding-right: 0 !important; padding-left: 0 !important; }

  .site-footer__frame { grid-template-columns: 1fr auto; gap: 30px; padding: 30px 0; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 620px) {
  :root { --frame: calc(100% - 36px); }

  body { font-size: 15px; }
  .site-header__inner { min-height: 82px; }
  .brand img { width: 74px; }
  .menu-toggle { width: 44px; height: 44px; }
  .mobile-nav { top: 82px; min-height: calc(100vh - 82px); }

  .hero {
    min-height: 950px;
    padding-bottom: 400px;
  }

  .hero__copy { padding-top: 124px; }
  .eyebrow { margin-bottom: 29px; }
  .hero__latin { margin-bottom: 20px; font-size: 10px; line-height: 1.55; }
  .hero h1 { font-size: clamp(43px, 12vw, 54px); line-height: 0.98; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 24px; margin-top: 36px; }
  .button { width: 100%; }
  .hero__portrait { height: 430px; }
  .hero__portrait figcaption { right: 18px; bottom: 24px; }
  .hero__portrait figcaption strong { font-size: 18px; }

  .section-frame { padding: 83px 0 78px; }
  .section-intro { padding-bottom: 43px; }
  .section-intro h2,
  .values__heading h2 { font-size: clamp(40px, 11vw, 49px); }
  .about::before { display: none; }
  .about__story { gap: 52px; padding: 55px 0 76px; }
  .about__copy p { font-size: 18px; line-height: 1.62; }
  .about__copy p:first-child::first-letter { font-size: 58px; }
  .about__portraits { min-height: 505px; }
  .portrait--primary { width: 72%; height: 470px; }
  .portrait--secondary { width: 53%; height: 350px; border-width: 8px; }

  .specialization {
    grid-template-columns: 34px minmax(0, 1fr) 26px;
    gap: 11px;
  }

  .specialization h3 { font-size: 25px; }
  .specialization p { font-size: 12px; }
  .specialization > svg { width: 25px; }

  .values__frame { padding: 82px 0 88px; }
  .values__heading { padding-bottom: 45px; }
  .values__list { grid-template-columns: 1fr; gap: 0; padding-top: 18px; }
  .values__list li:nth-child(n) {
    min-height: 0;
    padding: 34px 0 38px;
    border-left: 0;
    border-bottom: 1px solid var(--line-light);
  }
  .values__list li:last-child { border-bottom: 0; }
  .values__list h3 { min-height: 0; margin: 23px 0 14px; font-size: 30px; }
  .values__list p { max-width: 340px; }

  .contact-prompt__frame {
    padding: 65px 0 70px;
  }

  .contact-prompt h2 { font-size: clamp(41px, 11vw, 52px); }
  .contact-prompt__actions { width: 100%; grid-template-columns: 1fr; }
  .contact-prompt__number { right: 0; font-size: 180px; }

  .publications__frame { padding: 82px 0 92px; }
  .publications__heading { padding-bottom: 43px; }
  .publications__heading h2 { font-size: 48px; }
  .publication-featured figure { min-height: 0; height: 330px; }
  .publication-featured__copy { min-height: 0; padding: 38px 0 48px; }
  .publication-featured h3 { margin: 24px 0 18px; font-size: 32px; }
  .publication-featured__copy > svg { margin-top: 30px; }
  .publication-card:nth-child(n) { padding: 42px 0 46px; }
  .publication-card figure { height: 225px; margin-bottom: 28px; }
  .publication-card h3 { margin-top: 20px; font-size: 28px; }
  .publication-card p { -webkit-line-clamp: 6; }

  .contact-section__frame { padding: 82px 0 70px; }
  .contact-section__heading { padding-bottom: 44px; }
  .contact-section__heading h2 { font-size: clamp(39px, 10.5vw, 48px); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-layout > *:nth-child(n) { padding: 42px 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .contact-layout > :first-child { border-top: 0; }
  .contact-layout h3 { margin-bottom: 28px; }
  .contact-details address { font-size: 19px; }
  .contact-phone { margin-top: 30px; font-size: 28px; }
  .contact-socials { margin-top: 38px; }
  .contact-form .button { width: 100%; }

  .site-footer__frame { min-height: 0; grid-template-columns: 1fr auto; gap: 24px 18px; padding: 34px 0; }
  .site-footer__brand > span { display: none; }
  .site-footer p { max-width: 245px; line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Local WordPress seed: accessible contrast and keyboard focus. */
a:focus-visible,button:focus-visible{outline:2px solid #c8a285;outline-offset:6px}
.hero__latin,.desktop-nav,.hero__scroll{color:#bbb6ae}
.values__list p{color:#bcb7af}
.button--copper{color:#1b1a18;background:#c08b65}
.contact-shortcuts a svg { width: 17px; height: 17px; flex: 0 0 17px; margin-left: 16px; fill: none; stroke: var(--copper-light); stroke-width: 1; }
.site-footer__top svg { width: 18px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1; }
.contact-form__note { margin: -20px 0 30px; color: #c6bfb5; font-size: 12px; line-height: 1.65; }
.contact-form > label > span { color: #c6bfb5; font-size: 11px; }
.contact-form__consent span { color: #c6bfb5 !important; font-size: 11px !important; letter-spacing: 0 !important; }
.contact-form input:disabled { opacity: .65; cursor: not-allowed; }
.contact-form .button:disabled { opacity: .65; }
.site-footer p, .site-footer small, .site-footer__top { color: #bbb4aa; }
.publication-card p { display: block; overflow: visible; }
.publication-featured time, .publication-card time { color: #815535; }
.publication-featured:focus-within, .publication-card:focus-within { outline: 2px solid #815535; outline-offset: 7px; }

/* Equal visual prominence for both partners; retain the staggered composition. */
.portrait--secondary { width: 60%; height: 564px; }
@media (min-width: 621px) and (max-width: 900px) {
  .portrait--secondary { width: 62%; height: 600px; }
}
@media (max-width: 620px) {
  .about__portraits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-height: 0; padding-bottom: 35px; }
  .about__portraits .portrait { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1 / 1.9; border: 0; }
  .about__portraits .portrait--secondary { transform: translateY(35px); }
  .portrait figcaption { font-size: 8px; letter-spacing: .06em; padding: 22px 8px 10px; }
  .portrait img { object-position: 50% 25%; }
}

