.brand.brand-full .brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.brand.brand-full .brand-copy strong {
  font-family: "Playfair Display", serif;
  font-size: 1.62rem;
  font-weight: 700;
  letter-spacing: .035em;
}

.brand.brand-full .brand-copy small {
  font-family: "Playfair Display", serif;
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: none;
}

.topbar .brand.brand-full {
  min-width: 17rem;
}

.brand-with-mark {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: .8rem;
  line-height: 1;
}

.brand-with-mark > img {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.hero-art.hero-photos {
  position: relative;
  display: block;
  min-height: 43rem;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #eadab9, #b98b45);
}

.hero-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: .5rem solid #f7f1eb;
  box-shadow: 0 28px 70px rgba(40, 28, 24, .28);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-photo-main {
  top: 7%;
  right: 8%;
  width: 58%;
  height: 78%;
  border-radius: 12rem 12rem 1.5rem 1.5rem;
  transform: rotate(2deg);
}

.hero-photo-small {
  bottom: 8%;
  left: 4%;
  width: 48%;
  height: 50%;
  border-radius: 1.25rem;
  transform: rotate(-4deg);
}

.hero-photo-small img {
  object-position: 50% 42%;
}

.hero-result-card {
  position: absolute;
  top: 8%;
  left: 6%;
  z-index: 3;
  max-width: 13rem;
  padding: 1rem 1.1rem;
  color: #281c18;
  background: rgba(247, 241, 235, .94);
  border-radius: .9rem;
  box-shadow: 0 15px 40px rgba(40, 28, 24, .18);
  border: 1px solid rgba(176, 128, 50, .45);
}

.hero-result-card strong,
.hero-result-card span { display: block; }
.hero-result-card strong { font-family: "Playfair Display", serif; font-size: 1.05rem; }
.hero-result-card span { margin-top: .35rem; font-size: .72rem; line-height: 1.4; }

.hero-photos .floating-card {
  z-index: 4;
}

.portfolio {
  padding: 7rem 6vw;
  background: #f7f1eb;
}

.portfolio-head {
  margin-bottom: 2.25rem;
}

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

.portfolio-grid figure {
  position: relative;
  min-height: 28rem;
  margin: 0;
  overflow: hidden;
  background: #e8ded6;
  border-radius: 1.25rem;
  box-shadow: 0 18px 45px rgba(40, 28, 24, .1);
  border: 1px solid rgba(176, 128, 50, .25);
}

.portfolio-grid img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}

.portfolio-grid figure:hover img {
  transform: scale(1.035);
}

.portfolio-grid figcaption {
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  left: .8rem;
  padding: .85rem 1rem;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  background: rgba(40, 28, 24, .76);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: .75rem;
  backdrop-filter: blur(8px);
}

.eyebrow,
.service-grid article > span {
  color: #9b6d24;
}

.hero h1 em {
  color: #9b6d24;
}

.btn:not(.btn-outline) {
  background: #8a6228;
  border-color: #8a6228;
}

.certificate-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(20rem, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
  padding: 7rem 8vw;
  background: linear-gradient(135deg, #fbf8f2, #f1e6d3);
}

.certificate-copy {
  max-width: 35rem;
}

.certificate-copy h2 {
  margin: .5rem 0 1.2rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 1.05;
}

.certificate-copy p:last-child {
  max-width: 31rem;
  line-height: 1.75;
}

.certificate-card {
  width: min(100%, 42rem);
  margin: 0 auto;
  padding: clamp(.65rem, 1.5vw, 1.25rem);
  background: #fff;
  border: 1px solid rgba(155, 109, 36, .35);
  border-radius: 1rem;
  box-shadow: 0 22px 60px rgba(40, 28, 24, .14);
}

.certificate-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .5rem;
}

@media (max-width: 980px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .certificate-section { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .portfolio { padding: 5rem 1.25rem; }
  .portfolio-grid { gap: .8rem; }
  .portfolio-grid figure,
  .portfolio-grid img { min-height: 18rem; }
  .portfolio-grid figcaption { right: .5rem; bottom: .5rem; left: .5rem; padding: .65rem .7rem; font-size: .78rem; }
  .brand.brand-full .brand-copy strong { font-size: 1.14rem; }
  .brand.brand-full .brand-copy small { font-size: .86rem; }
  .topbar .brand.brand-full { min-width: 11.5rem; }
  .brand-with-mark { gap: .5rem; }
  .brand-with-mark > img { width: 2.5rem; height: 2.5rem; }
  .certificate-section { padding: 5rem 1.25rem; gap: 2rem; }
  .hero-art.hero-photos { min-height: 31rem; }
  .hero-photo-main { right: 5%; width: 62%; height: 73%; }
  .hero-photo-small { left: 3%; width: 49%; height: 46%; }
  .hero-result-card { top: 5%; left: 4%; max-width: 10rem; padding: .75rem; }
  .hero-result-card strong { font-size: .9rem; }
}
