.brandmark {
  display: block;
  flex: 0 0 auto;
  width: 3.25rem;
  aspect-ratio: 1;
  border-radius: 50%;
  /* The crowned initials sit at the top of the original Facebook cover. */
  background: #081321 url("konsult-naslovna.webp") 25% top / 1387% auto no-repeat;
}

.hero {
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2.75rem, 5.6vw, 5.5rem);
}

.studio-frame {
  position: relative;
  isolation: isolate;
  margin: 0 0.55rem 0.55rem 0;
}

.studio-frame::before {
  content: "";
  position: absolute;
  inset: 0.55rem -0.55rem -0.55rem 0.55rem;
  z-index: -1;
  border: 1px solid #b9975d;
}

.studio-view {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.22;
  background: #101b2a;
}

.studio-view img {
  position: absolute;
  inset: 0 0 0 auto;
  display: block;
  /* The photograph occupies the right-hand 46 percent of the supplied banner. */
  width: 218%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right 43%;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: "card copy";
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6.5rem);
}

.about-copy {
  grid-area: copy;
  max-width: 38rem;
}

.about-card {
  grid-area: card;
  justify-self: center;
  display: block;
  width: min(100%, 25.5rem);
  border-radius: 50%;
}

.about-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.about-card:hover {
  outline: 1px solid #9b7840;
  outline-offset: 0.35rem;
}

.floating {
  border-color: #b89a62;
}

.service-jumps {
  display: none;
}

.service-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3.4rem);
}

.service-group {
  min-width: 0;
  border-top: 2px solid #a38149;
}

.service-group h3 {
  padding: 1.15rem 0 1.05rem;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 400;
  line-height: 1.22;
}

.service-item {
  border-bottom: 1px solid var(--line);
}

.service-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.1rem;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.15rem;
  padding: 0.85rem 0.2rem 0.85rem 0;
  font-size: 1.05rem;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.service-item summary::-webkit-details-marker {
  display: none;
}

.service-item summary::after {
  content: "";
  justify-self: center;
  width: 0.75rem;
  height: 0.75rem;
  color: var(--gold);
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
}

.service-item[open] summary::after {
  background-size: 100% 1px, 0 0;
}

.service-item summary:hover,
.service-item[open] summary {
  color: var(--gold);
}

.service-hint {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-body {
  padding: 0 0.75rem 1rem 0;
}

.service-body p,
.other-service p {
  color: var(--muted);
}

.service-link {
  display: inline-block;
  padding: 0.5rem 0 0.3rem;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.3em;
  font-size: 1rem;
}

.other-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-left: 3px solid #a38149;
  background: #f4f1ea;
}

.other-service h3 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.other-service p {
  max-width: 65ch;
}

.other-service .button {
  flex-shrink: 0;
}

.topic-field {
  position: relative;
  display: block;
  margin-bottom: 1.1rem;
}

.topic-field::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: calc(50% - 0.3rem);
  width: 0.5rem;
  height: 0.5rem;
  border: solid var(--gold);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  pointer-events: none;
}

.contact .topic-field select {
  margin: 0;
  padding-right: 2.5rem;
  appearance: none;
  text-overflow: ellipsis;
}

.contact-grid > * {
  min-width: 0;
}

@media (max-width: 55rem) {
  .service-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .service-jumps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 1.1rem;
    margin: -1rem 0 1.5rem;
  }

  #usluge .service-jumps a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 0.25em;
    font-size: 0.95rem;
  }
}

@media (max-width: 45rem) {
  .other-service {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hero .button svg,
.floating svg {
  color: #e7c78a;
}

@media (max-width: 48rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .studio-view {
    aspect-ratio: 1.7;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "card";
    gap: 2rem;
  }
}

@media (max-width: 37.5rem) {
  .brandmark {
    width: 2.65rem;
  }

  .hero {
    padding: 1.5rem 0 2.25rem;
  }

  .hero-grid {
    gap: 1.4rem;
  }

  .studio-frame {
    grid-row: 1;
  }

  .studio-view {
    aspect-ratio: 1.7;
  }

  .studio-view img {
    object-position: right 31%;
  }

  .hero .eyebrow {
    margin-bottom: 0.85rem;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 11.5vw, 3.4rem);
    line-height: 1.05;
  }

  .hero .intro {
    margin: 1rem 0 1.2rem;
    line-height: 1.53;
  }

  .hero .actions {
    gap: 0.5rem 1rem;
  }

  .hero-note {
    margin-top: 0.8rem;
  }
}

.ethics {
  padding-top: 0;
}
.ethics-intro {
  max-width: 44rem;
  margin-top: 1.2rem;
  color: var(--muted);
}
.ethics-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem 3rem;
  margin: 2.25rem 0 0;
}
.ethics-principles > div {
  border-top: 1px solid #a38149;
  padding-top: 1.1rem;
}
.ethics-principles dt {
  font-size: 1.25rem;
  line-height: 1.35;
}
.ethics-principles dd {
  margin: 0.75rem 0 0;
  color: var(--muted);
}
.ethics-footer {
  margin-bottom: 0.8rem;
}
.ethics-footer a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
@media (max-width: 45rem) {
  .ethics-principles {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Final editorial and accessibility refinements. */
:root { --paper: #fdfdfc; }
.eyebrow { font-size: .875rem; }
.brand small { font-size: .875rem; }
.hero .intro strong { font-weight: 400; font-size: 1.35rem; line-height: 1.45; color: var(--ink); }
.hero .intro + .intro { margin-top: -0.5rem; }
.service-group:first-child { border-top-width: 3px; border-top-color: var(--gold); }
.contact .email { overflow-wrap: anywhere; padding: .3rem 0; }
.skip-link { position: absolute; left: 1rem; top: -5rem; padding: .75rem 1rem; background: white; z-index: 10; }
.skip-link:focus { top: 1rem; }
@media (max-width: 37.5rem) {
  .studio-frame { grid-row: auto; }
  .brand strong { font-size: 1rem; }
  header .wrap { gap: .5rem; }
  .brand { gap: .5rem; }
  .nav-contact { font-size: .875rem; }
}
